criteo-api-retailmedia-sdk 0.0.250710__py3-none-any.whl → 0.0.250724__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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1.py +14 -6
- criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py +18 -8
- criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py +14 -6
- criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py +18 -8
- criteo_api_retailmedia_preview/model/rm_events_create_v1.py +18 -10
- criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py +18 -10
- {criteo_api_retailmedia_sdk-0.0.250710.dist-info → criteo_api_retailmedia_sdk-0.0.250724.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250710.dist-info → criteo_api_retailmedia_sdk-0.0.250724.dist-info}/RECORD +13 -13
- {criteo_api_retailmedia_sdk-0.0.250710.dist-info → criteo_api_retailmedia_sdk-0.0.250724.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250710.dist-info → criteo_api_retailmedia_sdk-0.0.250724.dist-info}/top_level.txt +0 -0
|
@@ -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.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/0.0.250724/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.
|
|
398
|
+
"SDK Package Version: 0.0.250724".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -107,9 +107,13 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
107
107
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
+
def _from_openapi_data(cls, channel, ids, *args, **kwargs): # noqa: E501
|
|
111
111
|
"""RmAudienceComputeSizesEntityV1 - a model defined in OpenAPI
|
|
112
112
|
|
|
113
|
+
Args:
|
|
114
|
+
channel (str): Channel to compute the sizes for.
|
|
115
|
+
ids ([str]): List of ids of the segments whose size is requested.
|
|
116
|
+
|
|
113
117
|
Keyword Args:
|
|
114
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
115
119
|
will be type checked and a TypeError will be
|
|
@@ -141,8 +145,6 @@ class RmAudienceComputeSizesEntityV1(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,)
|
|
144
|
-
channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
|
|
145
|
-
ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
|
|
146
148
|
"""
|
|
147
149
|
|
|
148
150
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -174,6 +176,8 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
174
176
|
self._configuration = _configuration
|
|
175
177
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
178
|
|
|
179
|
+
self.channel = channel
|
|
180
|
+
self.ids = ids
|
|
177
181
|
for var_name, var_value in kwargs.items():
|
|
178
182
|
if var_name not in self.attribute_map and \
|
|
179
183
|
self._configuration is not None and \
|
|
@@ -194,9 +198,13 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
194
198
|
])
|
|
195
199
|
|
|
196
200
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
201
|
+
def __init__(self, channel, ids, *args, **kwargs): # noqa: E501
|
|
198
202
|
"""RmAudienceComputeSizesEntityV1 - a model defined in OpenAPI
|
|
199
203
|
|
|
204
|
+
Args:
|
|
205
|
+
channel (str): Channel to compute the sizes for.
|
|
206
|
+
ids ([str]): List of ids of the segments whose size is requested.
|
|
207
|
+
|
|
200
208
|
Keyword Args:
|
|
201
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
202
210
|
will be type checked and a TypeError will be
|
|
@@ -228,8 +236,6 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
228
236
|
Animal class but this time we won't travel
|
|
229
237
|
through its discriminator because we passed in
|
|
230
238
|
_visited_composed_classes = (Animal,)
|
|
231
|
-
channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
|
|
232
|
-
ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
|
|
233
239
|
"""
|
|
234
240
|
|
|
235
241
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -259,6 +265,8 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
259
265
|
self._configuration = _configuration
|
|
260
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
261
267
|
|
|
268
|
+
self.channel = channel
|
|
269
|
+
self.ids = ids
|
|
262
270
|
for var_name, var_value in kwargs.items():
|
|
263
271
|
if var_name not in self.attribute_map and \
|
|
264
272
|
self._configuration is not None and \
|
|
@@ -115,9 +115,14 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
@classmethod
|
|
117
117
|
@convert_js_args_to_python_args
|
|
118
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
+
def _from_openapi_data(cls, algebra, channel, retailer_id, *args, **kwargs): # noqa: E501
|
|
119
119
|
"""RmAudienceEstimateSizeEntityV1 - a model defined in OpenAPI
|
|
120
120
|
|
|
121
|
+
Args:
|
|
122
|
+
algebra (RmAlgebraNodeV1):
|
|
123
|
+
channel (str): Channel to estimate the size
|
|
124
|
+
retailer_id (str): Retailer id of the audience
|
|
125
|
+
|
|
121
126
|
Keyword Args:
|
|
122
127
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
123
128
|
will be type checked and a TypeError will be
|
|
@@ -149,9 +154,6 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
|
|
|
149
154
|
Animal class but this time we won't travel
|
|
150
155
|
through its discriminator because we passed in
|
|
151
156
|
_visited_composed_classes = (Animal,)
|
|
152
|
-
algebra (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
153
|
-
channel (str): Channel to estimate the size. [optional] # noqa: E501
|
|
154
|
-
retailer_id (str): Retailer id of the audience. [optional] # noqa: E501
|
|
155
157
|
"""
|
|
156
158
|
|
|
157
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -183,6 +185,9 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
|
|
|
183
185
|
self._configuration = _configuration
|
|
184
186
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
185
187
|
|
|
188
|
+
self.algebra = algebra
|
|
189
|
+
self.channel = channel
|
|
190
|
+
self.retailer_id = retailer_id
|
|
186
191
|
for var_name, var_value in kwargs.items():
|
|
187
192
|
if var_name not in self.attribute_map and \
|
|
188
193
|
self._configuration is not None and \
|
|
@@ -203,9 +208,14 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
|
|
|
203
208
|
])
|
|
204
209
|
|
|
205
210
|
@convert_js_args_to_python_args
|
|
206
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
211
|
+
def __init__(self, algebra, channel, retailer_id, *args, **kwargs): # noqa: E501
|
|
207
212
|
"""RmAudienceEstimateSizeEntityV1 - a model defined in OpenAPI
|
|
208
213
|
|
|
214
|
+
Args:
|
|
215
|
+
algebra (RmAlgebraNodeV1):
|
|
216
|
+
channel (str): Channel to estimate the size
|
|
217
|
+
retailer_id (str): Retailer id of the audience
|
|
218
|
+
|
|
209
219
|
Keyword Args:
|
|
210
220
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
211
221
|
will be type checked and a TypeError will be
|
|
@@ -237,9 +247,6 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
|
|
|
237
247
|
Animal class but this time we won't travel
|
|
238
248
|
through its discriminator because we passed in
|
|
239
249
|
_visited_composed_classes = (Animal,)
|
|
240
|
-
algebra (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
241
|
-
channel (str): Channel to estimate the size. [optional] # noqa: E501
|
|
242
|
-
retailer_id (str): Retailer id of the audience. [optional] # noqa: E501
|
|
243
250
|
"""
|
|
244
251
|
|
|
245
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -269,6 +276,9 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
|
|
|
269
276
|
self._configuration = _configuration
|
|
270
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
271
278
|
|
|
279
|
+
self.algebra = algebra
|
|
280
|
+
self.channel = channel
|
|
281
|
+
self.retailer_id = retailer_id
|
|
272
282
|
for var_name, var_value in kwargs.items():
|
|
273
283
|
if var_name not in self.attribute_map and \
|
|
274
284
|
self._configuration is not None and \
|
|
@@ -107,9 +107,13 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
|
|
|
107
107
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
+
def _from_openapi_data(cls, channel, ids, *args, **kwargs): # noqa: E501
|
|
111
111
|
"""RmAudienceSegmentComputeSizeEntityV1 - a model defined in OpenAPI
|
|
112
112
|
|
|
113
|
+
Args:
|
|
114
|
+
channel (str): Channel to compute the sizes for.
|
|
115
|
+
ids ([str]): List of ids of the segments whose size is requested.
|
|
116
|
+
|
|
113
117
|
Keyword Args:
|
|
114
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
115
119
|
will be type checked and a TypeError will be
|
|
@@ -141,8 +145,6 @@ class RmAudienceSegmentComputeSizeEntityV1(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,)
|
|
144
|
-
channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
|
|
145
|
-
ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
|
|
146
148
|
"""
|
|
147
149
|
|
|
148
150
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -174,6 +176,8 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
|
|
|
174
176
|
self._configuration = _configuration
|
|
175
177
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
178
|
|
|
179
|
+
self.channel = channel
|
|
180
|
+
self.ids = ids
|
|
177
181
|
for var_name, var_value in kwargs.items():
|
|
178
182
|
if var_name not in self.attribute_map and \
|
|
179
183
|
self._configuration is not None and \
|
|
@@ -194,9 +198,13 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
|
|
|
194
198
|
])
|
|
195
199
|
|
|
196
200
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
201
|
+
def __init__(self, channel, ids, *args, **kwargs): # noqa: E501
|
|
198
202
|
"""RmAudienceSegmentComputeSizeEntityV1 - a model defined in OpenAPI
|
|
199
203
|
|
|
204
|
+
Args:
|
|
205
|
+
channel (str): Channel to compute the sizes for.
|
|
206
|
+
ids ([str]): List of ids of the segments whose size is requested.
|
|
207
|
+
|
|
200
208
|
Keyword Args:
|
|
201
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
202
210
|
will be type checked and a TypeError will be
|
|
@@ -228,8 +236,6 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
|
|
|
228
236
|
Animal class but this time we won't travel
|
|
229
237
|
through its discriminator because we passed in
|
|
230
238
|
_visited_composed_classes = (Animal,)
|
|
231
|
-
channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
|
|
232
|
-
ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
|
|
233
239
|
"""
|
|
234
240
|
|
|
235
241
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -259,6 +265,8 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
|
|
|
259
265
|
self._configuration = _configuration
|
|
260
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
261
267
|
|
|
268
|
+
self.channel = channel
|
|
269
|
+
self.ids = ids
|
|
262
270
|
for var_name, var_value in kwargs.items():
|
|
263
271
|
if var_name not in self.attribute_map and \
|
|
264
272
|
self._configuration is not None and \
|
|
@@ -115,9 +115,14 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
@classmethod
|
|
117
117
|
@convert_js_args_to_python_args
|
|
118
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
+
def _from_openapi_data(cls, channel, events, retailer_id, *args, **kwargs): # noqa: E501
|
|
119
119
|
"""RmAudienceSegmentEstimateSizeEntityV1 - a model defined in OpenAPI
|
|
120
120
|
|
|
121
|
+
Args:
|
|
122
|
+
channel (str): Channel to estimate the size
|
|
123
|
+
events (RmEventsEstimationV1):
|
|
124
|
+
retailer_id (str): Retailer id of the segment
|
|
125
|
+
|
|
121
126
|
Keyword Args:
|
|
122
127
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
123
128
|
will be type checked and a TypeError will be
|
|
@@ -149,9 +154,6 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
|
|
|
149
154
|
Animal class but this time we won't travel
|
|
150
155
|
through its discriminator because we passed in
|
|
151
156
|
_visited_composed_classes = (Animal,)
|
|
152
|
-
channel (str): Channel to estimate the size. [optional] # noqa: E501
|
|
153
|
-
events (RmEventsEstimationV1): [optional] # noqa: E501
|
|
154
|
-
retailer_id (str): Retailer id of the segment. [optional] # noqa: E501
|
|
155
157
|
"""
|
|
156
158
|
|
|
157
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -183,6 +185,9 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
|
|
|
183
185
|
self._configuration = _configuration
|
|
184
186
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
185
187
|
|
|
188
|
+
self.channel = channel
|
|
189
|
+
self.events = events
|
|
190
|
+
self.retailer_id = retailer_id
|
|
186
191
|
for var_name, var_value in kwargs.items():
|
|
187
192
|
if var_name not in self.attribute_map and \
|
|
188
193
|
self._configuration is not None and \
|
|
@@ -203,9 +208,14 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
|
|
|
203
208
|
])
|
|
204
209
|
|
|
205
210
|
@convert_js_args_to_python_args
|
|
206
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
211
|
+
def __init__(self, channel, events, retailer_id, *args, **kwargs): # noqa: E501
|
|
207
212
|
"""RmAudienceSegmentEstimateSizeEntityV1 - a model defined in OpenAPI
|
|
208
213
|
|
|
214
|
+
Args:
|
|
215
|
+
channel (str): Channel to estimate the size
|
|
216
|
+
events (RmEventsEstimationV1):
|
|
217
|
+
retailer_id (str): Retailer id of the segment
|
|
218
|
+
|
|
209
219
|
Keyword Args:
|
|
210
220
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
211
221
|
will be type checked and a TypeError will be
|
|
@@ -237,9 +247,6 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
|
|
|
237
247
|
Animal class but this time we won't travel
|
|
238
248
|
through its discriminator because we passed in
|
|
239
249
|
_visited_composed_classes = (Animal,)
|
|
240
|
-
channel (str): Channel to estimate the size. [optional] # noqa: E501
|
|
241
|
-
events (RmEventsEstimationV1): [optional] # noqa: E501
|
|
242
|
-
retailer_id (str): Retailer id of the segment. [optional] # noqa: E501
|
|
243
250
|
"""
|
|
244
251
|
|
|
245
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -269,6 +276,9 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
|
|
|
269
276
|
self._configuration = _configuration
|
|
270
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
271
278
|
|
|
279
|
+
self.channel = channel
|
|
280
|
+
self.events = events
|
|
281
|
+
self.retailer_id = retailer_id
|
|
272
282
|
for var_name, var_value in kwargs.items():
|
|
273
283
|
if var_name not in self.attribute_map and \
|
|
274
284
|
self._configuration is not None and \
|
|
@@ -103,12 +103,12 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
103
103
|
and the value is attribute type.
|
|
104
104
|
"""
|
|
105
105
|
return {
|
|
106
|
+
'lookback_days': (str,), # noqa: E501
|
|
107
|
+
'shopper_activity': (str,), # noqa: E501
|
|
106
108
|
'brand_ids': ([str],), # noqa: E501
|
|
107
109
|
'category_ids': ([str],), # noqa: E501
|
|
108
|
-
'lookback_days': (str,), # noqa: E501
|
|
109
110
|
'max_price': (float,), # noqa: E501
|
|
110
111
|
'min_price': (float,), # noqa: E501
|
|
111
|
-
'shopper_activity': (str,), # noqa: E501
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
@cached_property
|
|
@@ -117,12 +117,12 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
attribute_map = {
|
|
120
|
+
'lookback_days': 'lookbackDays', # noqa: E501
|
|
121
|
+
'shopper_activity': 'shopperActivity', # noqa: E501
|
|
120
122
|
'brand_ids': 'brandIds', # noqa: E501
|
|
121
123
|
'category_ids': 'categoryIds', # noqa: E501
|
|
122
|
-
'lookback_days': 'lookbackDays', # noqa: E501
|
|
123
124
|
'max_price': 'maxPrice', # noqa: E501
|
|
124
125
|
'min_price': 'minPrice', # noqa: E501
|
|
125
|
-
'shopper_activity': 'shopperActivity', # noqa: E501
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
read_only_vars = {
|
|
@@ -132,9 +132,13 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
132
132
|
|
|
133
133
|
@classmethod
|
|
134
134
|
@convert_js_args_to_python_args
|
|
135
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
135
|
+
def _from_openapi_data(cls, lookback_days, shopper_activity, *args, **kwargs): # noqa: E501
|
|
136
136
|
"""RmEventsCreateV1 - a model defined in OpenAPI
|
|
137
137
|
|
|
138
|
+
Args:
|
|
139
|
+
lookback_days (str): Number of days of the lookback windows
|
|
140
|
+
shopper_activity (str): Types of shopper activity.
|
|
141
|
+
|
|
138
142
|
Keyword Args:
|
|
139
143
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
140
144
|
will be type checked and a TypeError will be
|
|
@@ -168,10 +172,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
168
172
|
_visited_composed_classes = (Animal,)
|
|
169
173
|
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
170
174
|
category_ids ([str]): Choose the categories your segment might be interested in. [optional] # noqa: E501
|
|
171
|
-
lookback_days (str): Number of days of the lookback windows. [optional] # noqa: E501
|
|
172
175
|
max_price (float): Reach people who’ve shown interest in products with a maximum price. [optional] # noqa: E501
|
|
173
176
|
min_price (float): Reach people who’ve shown interest in products with a minimum price. [optional] # noqa: E501
|
|
174
|
-
shopper_activity (str): Types of shopper activity.. [optional] # noqa: E501
|
|
175
177
|
"""
|
|
176
178
|
|
|
177
179
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -203,6 +205,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
203
205
|
self._configuration = _configuration
|
|
204
206
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
205
207
|
|
|
208
|
+
self.lookback_days = lookback_days
|
|
209
|
+
self.shopper_activity = shopper_activity
|
|
206
210
|
for var_name, var_value in kwargs.items():
|
|
207
211
|
if var_name not in self.attribute_map and \
|
|
208
212
|
self._configuration is not None and \
|
|
@@ -223,9 +227,13 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
223
227
|
])
|
|
224
228
|
|
|
225
229
|
@convert_js_args_to_python_args
|
|
226
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
230
|
+
def __init__(self, lookback_days, shopper_activity, *args, **kwargs): # noqa: E501
|
|
227
231
|
"""RmEventsCreateV1 - a model defined in OpenAPI
|
|
228
232
|
|
|
233
|
+
Args:
|
|
234
|
+
lookback_days (str): Number of days of the lookback windows
|
|
235
|
+
shopper_activity (str): Types of shopper activity.
|
|
236
|
+
|
|
229
237
|
Keyword Args:
|
|
230
238
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
231
239
|
will be type checked and a TypeError will be
|
|
@@ -259,10 +267,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
259
267
|
_visited_composed_classes = (Animal,)
|
|
260
268
|
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
261
269
|
category_ids ([str]): Choose the categories your segment might be interested in. [optional] # noqa: E501
|
|
262
|
-
lookback_days (str): Number of days of the lookback windows. [optional] # noqa: E501
|
|
263
270
|
max_price (float): Reach people who’ve shown interest in products with a maximum price. [optional] # noqa: E501
|
|
264
271
|
min_price (float): Reach people who’ve shown interest in products with a minimum price. [optional] # noqa: E501
|
|
265
|
-
shopper_activity (str): Types of shopper activity.. [optional] # noqa: E501
|
|
266
272
|
"""
|
|
267
273
|
|
|
268
274
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -292,6 +298,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
292
298
|
self._configuration = _configuration
|
|
293
299
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
294
300
|
|
|
301
|
+
self.lookback_days = lookback_days
|
|
302
|
+
self.shopper_activity = shopper_activity
|
|
295
303
|
for var_name, var_value in kwargs.items():
|
|
296
304
|
if var_name not in self.attribute_map and \
|
|
297
305
|
self._configuration is not None and \
|
|
@@ -103,12 +103,12 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
103
103
|
and the value is attribute type.
|
|
104
104
|
"""
|
|
105
105
|
return {
|
|
106
|
+
'lookback_days': (str,), # noqa: E501
|
|
107
|
+
'shopper_activity': (str,), # noqa: E501
|
|
106
108
|
'brand_ids': ([str],), # noqa: E501
|
|
107
109
|
'category_ids': ([str],), # noqa: E501
|
|
108
|
-
'lookback_days': (str,), # noqa: E501
|
|
109
110
|
'max_price': (float,), # noqa: E501
|
|
110
111
|
'min_price': (float,), # noqa: E501
|
|
111
|
-
'shopper_activity': (str,), # noqa: E501
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
@cached_property
|
|
@@ -117,12 +117,12 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
attribute_map = {
|
|
120
|
+
'lookback_days': 'lookbackDays', # noqa: E501
|
|
121
|
+
'shopper_activity': 'shopperActivity', # noqa: E501
|
|
120
122
|
'brand_ids': 'brandIds', # noqa: E501
|
|
121
123
|
'category_ids': 'categoryIds', # noqa: E501
|
|
122
|
-
'lookback_days': 'lookbackDays', # noqa: E501
|
|
123
124
|
'max_price': 'maxPrice', # noqa: E501
|
|
124
125
|
'min_price': 'minPrice', # noqa: E501
|
|
125
|
-
'shopper_activity': 'shopperActivity', # noqa: E501
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
read_only_vars = {
|
|
@@ -132,9 +132,13 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
132
132
|
|
|
133
133
|
@classmethod
|
|
134
134
|
@convert_js_args_to_python_args
|
|
135
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
135
|
+
def _from_openapi_data(cls, lookback_days, shopper_activity, *args, **kwargs): # noqa: E501
|
|
136
136
|
"""RmEventsEstimationV1 - a model defined in OpenAPI
|
|
137
137
|
|
|
138
|
+
Args:
|
|
139
|
+
lookback_days (str):
|
|
140
|
+
shopper_activity (str):
|
|
141
|
+
|
|
138
142
|
Keyword Args:
|
|
139
143
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
140
144
|
will be type checked and a TypeError will be
|
|
@@ -168,10 +172,8 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
168
172
|
_visited_composed_classes = (Animal,)
|
|
169
173
|
brand_ids ([str]): [optional] # noqa: E501
|
|
170
174
|
category_ids ([str]): [optional] # noqa: E501
|
|
171
|
-
lookback_days (str): [optional] # noqa: E501
|
|
172
175
|
max_price (float): [optional] # noqa: E501
|
|
173
176
|
min_price (float): [optional] # noqa: E501
|
|
174
|
-
shopper_activity (str): [optional] # noqa: E501
|
|
175
177
|
"""
|
|
176
178
|
|
|
177
179
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -203,6 +205,8 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
203
205
|
self._configuration = _configuration
|
|
204
206
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
205
207
|
|
|
208
|
+
self.lookback_days = lookback_days
|
|
209
|
+
self.shopper_activity = shopper_activity
|
|
206
210
|
for var_name, var_value in kwargs.items():
|
|
207
211
|
if var_name not in self.attribute_map and \
|
|
208
212
|
self._configuration is not None and \
|
|
@@ -223,9 +227,13 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
223
227
|
])
|
|
224
228
|
|
|
225
229
|
@convert_js_args_to_python_args
|
|
226
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
230
|
+
def __init__(self, lookback_days, shopper_activity, *args, **kwargs): # noqa: E501
|
|
227
231
|
"""RmEventsEstimationV1 - a model defined in OpenAPI
|
|
228
232
|
|
|
233
|
+
Args:
|
|
234
|
+
lookback_days (str):
|
|
235
|
+
shopper_activity (str):
|
|
236
|
+
|
|
229
237
|
Keyword Args:
|
|
230
238
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
231
239
|
will be type checked and a TypeError will be
|
|
@@ -259,10 +267,8 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
259
267
|
_visited_composed_classes = (Animal,)
|
|
260
268
|
brand_ids ([str]): [optional] # noqa: E501
|
|
261
269
|
category_ids ([str]): [optional] # noqa: E501
|
|
262
|
-
lookback_days (str): [optional] # noqa: E501
|
|
263
270
|
max_price (float): [optional] # noqa: E501
|
|
264
271
|
min_price (float): [optional] # noqa: E501
|
|
265
|
-
shopper_activity (str): [optional] # noqa: E501
|
|
266
272
|
"""
|
|
267
273
|
|
|
268
274
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -292,6 +298,8 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
292
298
|
self._configuration = _configuration
|
|
293
299
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
294
300
|
|
|
301
|
+
self.lookback_days = lookback_days
|
|
302
|
+
self.shopper_activity = shopper_activity
|
|
295
303
|
for var_name, var_value in kwargs.items():
|
|
296
304
|
if var_name not in self.attribute_map and \
|
|
297
305
|
self._configuration is not None and \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: criteo-api-retailmedia-sdk
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.250724
|
|
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.
|
|
38
|
+
pip install criteo-api-retailmedia-sdk==0.0.250724
|
|
39
39
|
```
|
|
40
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.
|
|
40
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.250724`)
|
|
41
41
|
|
|
42
42
|
Then import the package:
|
|
43
43
|
```python
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
criteo_api_retailmedia_preview/__init__.py,sha256=
|
|
2
|
-
criteo_api_retailmedia_preview/api_client.py,sha256=
|
|
1
|
+
criteo_api_retailmedia_preview/__init__.py,sha256=o03FuEhO38QPCJaeR-H5GlDxdywcdxgmbPcwkA-1_aY,1023
|
|
2
|
+
criteo_api_retailmedia_preview/api_client.py,sha256=vBePjrnR-_jYEhcS1JQffJlL69NuQQ7a_kZwWIIe9uU,39425
|
|
3
3
|
criteo_api_retailmedia_preview/api_client_builder.py,sha256=GA_82AyTtGhe8KsCV4WRibYrDshmKbXDRLdELNYmBEo,1504
|
|
4
|
-
criteo_api_retailmedia_preview/configuration.py,sha256=
|
|
4
|
+
criteo_api_retailmedia_preview/configuration.py,sha256=3Mu9VAZ-iUzP0VSlF4EgUAvbZnLjg5Funs8FPMMU8Zk,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
|
|
@@ -222,7 +222,7 @@ criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py,sha256=SRb4hbsscfTZ6C
|
|
|
222
222
|
criteo_api_retailmedia_preview/model/rm_audience_bulk_create_input_v1.py,sha256=Nlo3ih6wnMcuD0IOLUCsjidox7-KpBT37DvHqV3EyNg,11790
|
|
223
223
|
criteo_api_retailmedia_preview/model/rm_audience_bulk_delete_input_v1.py,sha256=HAswn01HPywZqnMvY3K1fULHXwb4yDwsb-0eGW9HOdA,11790
|
|
224
224
|
criteo_api_retailmedia_preview/model/rm_audience_bulk_update_input_v1.py,sha256=mq9b1ByFaADhXEFj_Fmbfx5_x9yxt3X7nOIocltSQ7s,11790
|
|
225
|
-
criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1.py,sha256=
|
|
225
|
+
criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1.py,sha256=LJoXC--wjp-5RIqvEpGNOLwqWhEl7MNwtkajl-Ay2gs,12002
|
|
226
226
|
criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1_resource.py,sha256=0bYuKmwukkoOT3fhGDvf-ncoQPP0rr8CEE5oad_SBSg,12011
|
|
227
227
|
criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_input_v1.py,sha256=O6LGlLR-pQbh8oHUe6ZrL2cx3jsG8Jlxa5RrH4y6iJA,11833
|
|
228
228
|
criteo_api_retailmedia_preview/model/rm_audience_create_entity_v1.py,sha256=MS0F8KMQf9efz9c4v14LJq--1Oc_pryIppp5vfGrnqw,12572
|
|
@@ -232,7 +232,7 @@ criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py,sha256=h6ZZdePd277
|
|
|
232
232
|
criteo_api_retailmedia_preview/model/rm_audience_entity_v1_list_response.py,sha256=iH2H98-6q1RCRCq_9w7IEEsg0jzDQEjHUE9jITun9xc,12508
|
|
233
233
|
criteo_api_retailmedia_preview/model/rm_audience_entity_v1_resource.py,sha256=ZtnG_BZx4LzXwgOCzHA3q5hihV0uGEG1lySKMz9Jq_Y,12159
|
|
234
234
|
criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py,sha256=-o-Y8pIssVJJzM7bey3M8j9xQy_seiiMTN6_mxqpiQQ,13017
|
|
235
|
-
criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py,sha256=
|
|
235
|
+
criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py,sha256=zdHm2UXQRnu1pA5aYTQy61a6l2SsrLUf-K2ZliVHyyE,12485
|
|
236
236
|
criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1_resource.py,sha256=HDq0H9baNRhIiOTjSFQr-4iQK-pyVLjweEtrHPaabOM,12011
|
|
237
237
|
criteo_api_retailmedia_preview/model/rm_audience_estimate_size_input_v1.py,sha256=AH4OgqOgDxXQor1yhNog4COe4ujiIapc2Fpt4SrdUVM,11833
|
|
238
238
|
criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py,sha256=R92Nl6J75FZ_yM55hvDPFpd-vP9_DXQap9mmdczhe_w,12141
|
|
@@ -242,7 +242,7 @@ criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py,sha256=3h
|
|
|
242
242
|
criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py,sha256=62Wafd7nSO_wCTY991srnRpFr3hw-i2H2lzxWCDBCjY,11861
|
|
243
243
|
criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py,sha256=PbP3b5zKdH2MMLZkY7ZhM1hOGosTbP_Of8kOwoc-ZU8,11861
|
|
244
244
|
criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py,sha256=bSxqfDwfYHHpQwUv0tzKt_EVsrTWD58NH2j4ElbPhsY,11861
|
|
245
|
-
criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py,sha256=
|
|
245
|
+
criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py,sha256=wkvtANs0-AT8NHbsb6zch_WhmcdES1d6j1JMH_S7erI,12020
|
|
246
246
|
criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1_resource.py,sha256=GtfuG6gFS9fzo0fCK2tqChwkyDN7Nj28P_adeiyLJBs,12072
|
|
247
247
|
criteo_api_retailmedia_preview/model/rm_audience_segment_compute_sizes_input_v1.py,sha256=jzqszibzXOGZMt4-UKmR1KedbqoZmAldnGF-4Y35Zn0,11897
|
|
248
248
|
criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py,sha256=oRSZCM7NWphMonQYzHd3NlBv0q2w6mQxAZg1pQF2T4w,12994
|
|
@@ -252,7 +252,7 @@ criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py,sha256=FDl
|
|
|
252
252
|
criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py,sha256=QMWh5rQzE-DwEiMjGsJ56tx0Fc8GK9EUHlkHKikd53w,12579
|
|
253
253
|
criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_resource.py,sha256=s8zTsTfXW0GR5lUcTBVlxdiLz9PjHcXZdllOdVvYUXc,12230
|
|
254
254
|
criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py,sha256=xXlTpqgHtiPjHRGu09EWUSOrLTdJfHaRvtDYTfHg44Y,13159
|
|
255
|
-
criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py,sha256=
|
|
255
|
+
criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py,sha256=eK5-XohLAgD17Y7CEuqoz0u5IPPRjhkGue8tn5UDzS8,12528
|
|
256
256
|
criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1_resource.py,sha256=-tvxmAmA2NPSsgKzK0cuUprFPVLeat96G9ku0YitFTA,12082
|
|
257
257
|
criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_input_v1.py,sha256=GSHJlVZaacJqA4XYSOgfyRW7DfxPQOG9lj6LT_eEYwA,11904
|
|
258
258
|
criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py,sha256=uORV2p6HaLrrCq0XnppLb37x0IxXGkoy2gF7lN30Isk,12600
|
|
@@ -282,8 +282,8 @@ criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py,sha
|
|
|
282
282
|
criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py,sha256=UbB6G-gcL8PEkyJ_FhhKiY65JednM3TV7sx5fUvCzi8,12290
|
|
283
283
|
criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py,sha256=QU9VbWOdkr7-KtO4Z35yJpyhZLmHcHDeW5gzSEo8y6g,12589
|
|
284
284
|
criteo_api_retailmedia_preview/model/rm_contact_list_v1.py,sha256=uKa4mdsFK5e0tqKcUVgYlROL0u0YVG3isk6zYfBdqbM,12763
|
|
285
|
-
criteo_api_retailmedia_preview/model/rm_events_create_v1.py,sha256=
|
|
286
|
-
criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py,sha256=
|
|
285
|
+
criteo_api_retailmedia_preview/model/rm_events_create_v1.py,sha256=eEMbdTiJqLorgYHjLyEl3imdvswU2s9JteB6OVbc16o,14029
|
|
286
|
+
criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py,sha256=2lbAYmenocqGbjzicA_eqAy--OfUwWCKnQyM5IX5OWc,13397
|
|
287
287
|
criteo_api_retailmedia_preview/model/rm_events_update_v1.py,sha256=Qcn8rCU5dkb3gUPP4AP7ZE0fi74rMPag8Eq7CUp0FXA,13753
|
|
288
288
|
criteo_api_retailmedia_preview/model/rm_events_v1.py,sha256=JUaJhI27SCN978Lq7fvwlo6ed8YhBA1ne_23T1ri68o,13735
|
|
289
289
|
criteo_api_retailmedia_preview/model/rmca_common_problem.py,sha256=AadP0jTKtGESPZrNEzlgcmc4aI2NyLoGZ2-cRPs_i8w,14551
|
|
@@ -369,7 +369,7 @@ criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review
|
|
|
369
369
|
criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py,sha256=Af_a5NYKq-u83q7yOxX2qcBTfzTN2XZg3v864eb134Q,11816
|
|
370
370
|
criteo_api_retailmedia_preview/model/video_variable_value.py,sha256=MutQTssNekmvLKDmu2kTKk0ZrijtpRwYToR_-nlo3SM,12078
|
|
371
371
|
criteo_api_retailmedia_preview/models/__init__.py,sha256=elT7iTczC2UqjWg38dp56mNbfs29YJ7yNOTVOvBvLXY,38600
|
|
372
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
373
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
374
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
375
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
372
|
+
criteo_api_retailmedia_sdk-0.0.250724.dist-info/METADATA,sha256=U1B2VFI9_9qV-1cQsTF87WJLrf0TlmTPjnh8DeVrdlY,1848
|
|
373
|
+
criteo_api_retailmedia_sdk-0.0.250724.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
374
|
+
criteo_api_retailmedia_sdk-0.0.250724.dist-info/top_level.txt,sha256=mR8aaWgc27pZ23OyoxxkhvUuHPeOkKiUaNQ-RiAivhc,31
|
|
375
|
+
criteo_api_retailmedia_sdk-0.0.250724.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|