criteo-api-retailmedia-sdk 2023.7.0.240626__py3-none-any.whl → 2023.7.0.240808__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 (20) hide show
  1. {criteo_api_retailmedia_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/RECORD +20 -18
  3. {criteo_api_retailmedia_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2023_07/__init__.py +1 -1
  5. criteo_api_retailmedia_v2023_07/api/__init__.py +1 -1
  6. criteo_api_retailmedia_v2023_07/api/accounts_api.py +182 -0
  7. criteo_api_retailmedia_v2023_07/api/balance_api.py +347 -0
  8. criteo_api_retailmedia_v2023_07/api/campaign_api.py +10 -458
  9. criteo_api_retailmedia_v2023_07/api_client.py +5 -5
  10. criteo_api_retailmedia_v2023_07/apis/__init__.py +3 -1
  11. criteo_api_retailmedia_v2023_07/configuration.py +1 -1
  12. criteo_api_retailmedia_v2023_07/model/application_summary_model_response.py +0 -4
  13. criteo_api_retailmedia_v2023_07/model/async_campaigns_report.py +2 -0
  14. criteo_api_retailmedia_v2023_07/model/async_line_items_report.py +2 -0
  15. criteo_api_retailmedia_v2023_07/model/common_problem.py +2 -2
  16. criteo_api_retailmedia_v2023_07/model/external_balance202110.py +14 -2
  17. criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_account.py +8 -6
  18. criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_brand.py +8 -6
  19. criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_retailer.py +8 -6
  20. {criteo_api_retailmedia_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/top_level.txt +0 -0
@@ -61,6 +61,12 @@ class ExternalBalance202110(ModelNormal):
61
61
  'ACTIVE': "active",
62
62
  'ENDED': "ended",
63
63
  },
64
+ ('private_market_billing_type',): {
65
+ 'NOTAPPLICABLE': "NotApplicable",
66
+ 'BILLBYRETAILER': "BillByRetailer",
67
+ 'BILLBYCRITEO': "BillByCriteo",
68
+ 'UNKNOWN': "Unknown",
69
+ },
64
70
  }
65
71
 
66
72
  validations = {
@@ -97,6 +103,7 @@ class ExternalBalance202110(ModelNormal):
97
103
  'status': (str,), # noqa: E501
98
104
  'created_at': (datetime,), # noqa: E501
99
105
  'updated_at': (datetime,), # noqa: E501
106
+ 'private_market_billing_type': (str,), # noqa: E501
100
107
  'end_date': (date, none_type,), # noqa: E501
101
108
  }
102
109
 
@@ -116,6 +123,7 @@ class ExternalBalance202110(ModelNormal):
116
123
  'status': 'status', # noqa: E501
117
124
  'created_at': 'createdAt', # noqa: E501
118
125
  'updated_at': 'updatedAt', # noqa: E501
126
+ 'private_market_billing_type': 'privateMarketBillingType', # noqa: E501
119
127
  'end_date': 'endDate', # noqa: E501
120
128
  }
121
129
 
@@ -126,7 +134,7 @@ class ExternalBalance202110(ModelNormal):
126
134
 
127
135
  @classmethod
128
136
  @convert_js_args_to_python_args
129
- def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, start_date, status, created_at, updated_at, *args, **kwargs): # noqa: E501
137
+ def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, start_date, status, created_at, updated_at, private_market_billing_type, *args, **kwargs): # noqa: E501
130
138
  """ExternalBalance202110 - a model defined in OpenAPI
131
139
 
132
140
  Args:
@@ -140,6 +148,7 @@ class ExternalBalance202110(ModelNormal):
140
148
  status (str):
141
149
  created_at (datetime):
142
150
  updated_at (datetime):
151
+ private_market_billing_type (str): Billing type for Private Market.
143
152
 
144
153
  Keyword Args:
145
154
  _check_type (bool): if True, values for parameters in openapi_types
@@ -214,6 +223,7 @@ class ExternalBalance202110(ModelNormal):
214
223
  self.status = status
215
224
  self.created_at = created_at
216
225
  self.updated_at = updated_at
226
+ self.private_market_billing_type = private_market_billing_type
217
227
  for var_name, var_value in kwargs.items():
218
228
  if var_name not in self.attribute_map and \
219
229
  self._configuration is not None and \
@@ -234,7 +244,7 @@ class ExternalBalance202110(ModelNormal):
234
244
  ])
235
245
 
236
246
  @convert_js_args_to_python_args
237
- def __init__(self, name, po_number, memo, deposited, spent, remaining, start_date, status, created_at, updated_at, *args, **kwargs): # noqa: E501
247
+ def __init__(self, name, po_number, memo, deposited, spent, remaining, start_date, status, created_at, updated_at, private_market_billing_type, *args, **kwargs): # noqa: E501
238
248
  """ExternalBalance202110 - a model defined in OpenAPI
239
249
 
240
250
  Args:
@@ -248,6 +258,7 @@ class ExternalBalance202110(ModelNormal):
248
258
  status (str):
249
259
  created_at (datetime):
250
260
  updated_at (datetime):
261
+ private_market_billing_type (str): Billing type for Private Market.
251
262
 
252
263
  Keyword Args:
253
264
  _check_type (bool): if True, values for parameters in openapi_types
@@ -320,6 +331,7 @@ class ExternalBalance202110(ModelNormal):
320
331
  self.status = status
321
332
  self.created_at = created_at
322
333
  self.updated_at = updated_at
334
+ self.private_market_billing_type = private_market_billing_type
323
335
  for var_name, var_value in kwargs.items():
324
336
  if var_name not in self.attribute_map and \
325
337
  self._configuration is not None and \
@@ -93,10 +93,10 @@ class JsonApiPageResponseOfAccount(ModelNormal):
93
93
  """
94
94
  lazy_import()
95
95
  return {
96
+ 'metadata': (PageMetadata,), # noqa: E501
96
97
  'data': ([JsonApiBodyWithIdOfInt64AndAccountAndAccount],), # noqa: E501
97
98
  'errors': ([CommonError],), # noqa: E501
98
99
  'warnings': ([CommonWarning],), # noqa: E501
99
- 'metadata': (PageMetadata,), # noqa: E501
100
100
  }
101
101
 
102
102
  @cached_property
@@ -105,10 +105,10 @@ class JsonApiPageResponseOfAccount(ModelNormal):
105
105
 
106
106
 
107
107
  attribute_map = {
108
+ 'metadata': 'metadata', # noqa: E501
108
109
  'data': 'data', # noqa: E501
109
110
  'errors': 'errors', # noqa: E501
110
111
  'warnings': 'warnings', # noqa: E501
111
- 'metadata': 'metadata', # noqa: E501
112
112
  }
113
113
 
114
114
  read_only_vars = {
@@ -118,10 +118,11 @@ class JsonApiPageResponseOfAccount(ModelNormal):
118
118
 
119
119
  @classmethod
120
120
  @convert_js_args_to_python_args
121
- def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
121
+ def _from_openapi_data(cls, metadata, data, *args, **kwargs): # noqa: E501
122
122
  """JsonApiPageResponseOfAccount - a model defined in OpenAPI
123
123
 
124
124
  Args:
125
+ metadata (PageMetadata):
125
126
  data ([JsonApiBodyWithIdOfInt64AndAccountAndAccount]):
126
127
 
127
128
  Keyword Args:
@@ -157,7 +158,6 @@ class JsonApiPageResponseOfAccount(ModelNormal):
157
158
  _visited_composed_classes = (Animal,)
158
159
  errors ([CommonError]): [optional] # noqa: E501
159
160
  warnings ([CommonWarning]): [optional] # noqa: E501
160
- metadata (PageMetadata): [optional] # noqa: E501
161
161
  """
162
162
 
163
163
  _check_type = kwargs.pop('_check_type', True)
@@ -189,6 +189,7 @@ class JsonApiPageResponseOfAccount(ModelNormal):
189
189
  self._configuration = _configuration
190
190
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
191
191
 
192
+ self.metadata = metadata
192
193
  self.data = data
193
194
  for var_name, var_value in kwargs.items():
194
195
  if var_name not in self.attribute_map and \
@@ -210,10 +211,11 @@ class JsonApiPageResponseOfAccount(ModelNormal):
210
211
  ])
211
212
 
212
213
  @convert_js_args_to_python_args
213
- def __init__(self, data, *args, **kwargs): # noqa: E501
214
+ def __init__(self, metadata, data, *args, **kwargs): # noqa: E501
214
215
  """JsonApiPageResponseOfAccount - a model defined in OpenAPI
215
216
 
216
217
  Args:
218
+ metadata (PageMetadata):
217
219
  data ([JsonApiBodyWithIdOfInt64AndAccountAndAccount]):
218
220
 
219
221
  Keyword Args:
@@ -249,7 +251,6 @@ class JsonApiPageResponseOfAccount(ModelNormal):
249
251
  _visited_composed_classes = (Animal,)
250
252
  errors ([CommonError]): [optional] # noqa: E501
251
253
  warnings ([CommonWarning]): [optional] # noqa: E501
252
- metadata (PageMetadata): [optional] # noqa: E501
253
254
  """
254
255
 
255
256
  _check_type = kwargs.pop('_check_type', True)
@@ -279,6 +280,7 @@ class JsonApiPageResponseOfAccount(ModelNormal):
279
280
  self._configuration = _configuration
280
281
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
281
282
 
283
+ self.metadata = metadata
282
284
  self.data = data
283
285
  for var_name, var_value in kwargs.items():
284
286
  if var_name not in self.attribute_map and \
@@ -93,10 +93,10 @@ class JsonApiPageResponseOfBrand(ModelNormal):
93
93
  """
94
94
  lazy_import()
95
95
  return {
96
+ 'metadata': (PageMetadata,), # noqa: E501
96
97
  'data': ([JsonApiBodyWithIdOfInt64AndBrandAndBrand],), # noqa: E501
97
98
  'errors': ([CommonError],), # noqa: E501
98
99
  'warnings': ([CommonWarning],), # noqa: E501
99
- 'metadata': (PageMetadata,), # noqa: E501
100
100
  }
101
101
 
102
102
  @cached_property
@@ -105,10 +105,10 @@ class JsonApiPageResponseOfBrand(ModelNormal):
105
105
 
106
106
 
107
107
  attribute_map = {
108
+ 'metadata': 'metadata', # noqa: E501
108
109
  'data': 'data', # noqa: E501
109
110
  'errors': 'errors', # noqa: E501
110
111
  'warnings': 'warnings', # noqa: E501
111
- 'metadata': 'metadata', # noqa: E501
112
112
  }
113
113
 
114
114
  read_only_vars = {
@@ -118,10 +118,11 @@ class JsonApiPageResponseOfBrand(ModelNormal):
118
118
 
119
119
  @classmethod
120
120
  @convert_js_args_to_python_args
121
- def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
121
+ def _from_openapi_data(cls, metadata, data, *args, **kwargs): # noqa: E501
122
122
  """JsonApiPageResponseOfBrand - a model defined in OpenAPI
123
123
 
124
124
  Args:
125
+ metadata (PageMetadata):
125
126
  data ([JsonApiBodyWithIdOfInt64AndBrandAndBrand]):
126
127
 
127
128
  Keyword Args:
@@ -157,7 +158,6 @@ class JsonApiPageResponseOfBrand(ModelNormal):
157
158
  _visited_composed_classes = (Animal,)
158
159
  errors ([CommonError]): [optional] # noqa: E501
159
160
  warnings ([CommonWarning]): [optional] # noqa: E501
160
- metadata (PageMetadata): [optional] # noqa: E501
161
161
  """
162
162
 
163
163
  _check_type = kwargs.pop('_check_type', True)
@@ -189,6 +189,7 @@ class JsonApiPageResponseOfBrand(ModelNormal):
189
189
  self._configuration = _configuration
190
190
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
191
191
 
192
+ self.metadata = metadata
192
193
  self.data = data
193
194
  for var_name, var_value in kwargs.items():
194
195
  if var_name not in self.attribute_map and \
@@ -210,10 +211,11 @@ class JsonApiPageResponseOfBrand(ModelNormal):
210
211
  ])
211
212
 
212
213
  @convert_js_args_to_python_args
213
- def __init__(self, data, *args, **kwargs): # noqa: E501
214
+ def __init__(self, metadata, data, *args, **kwargs): # noqa: E501
214
215
  """JsonApiPageResponseOfBrand - a model defined in OpenAPI
215
216
 
216
217
  Args:
218
+ metadata (PageMetadata):
217
219
  data ([JsonApiBodyWithIdOfInt64AndBrandAndBrand]):
218
220
 
219
221
  Keyword Args:
@@ -249,7 +251,6 @@ class JsonApiPageResponseOfBrand(ModelNormal):
249
251
  _visited_composed_classes = (Animal,)
250
252
  errors ([CommonError]): [optional] # noqa: E501
251
253
  warnings ([CommonWarning]): [optional] # noqa: E501
252
- metadata (PageMetadata): [optional] # noqa: E501
253
254
  """
254
255
 
255
256
  _check_type = kwargs.pop('_check_type', True)
@@ -279,6 +280,7 @@ class JsonApiPageResponseOfBrand(ModelNormal):
279
280
  self._configuration = _configuration
280
281
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
281
282
 
283
+ self.metadata = metadata
282
284
  self.data = data
283
285
  for var_name, var_value in kwargs.items():
284
286
  if var_name not in self.attribute_map and \
@@ -93,10 +93,10 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
93
93
  """
94
94
  lazy_import()
95
95
  return {
96
+ 'metadata': (PageMetadata,), # noqa: E501
96
97
  'data': ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer],), # noqa: E501
97
98
  'errors': ([CommonError],), # noqa: E501
98
99
  'warnings': ([CommonWarning],), # noqa: E501
99
- 'metadata': (PageMetadata,), # noqa: E501
100
100
  }
101
101
 
102
102
  @cached_property
@@ -105,10 +105,10 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
105
105
 
106
106
 
107
107
  attribute_map = {
108
+ 'metadata': 'metadata', # noqa: E501
108
109
  'data': 'data', # noqa: E501
109
110
  'errors': 'errors', # noqa: E501
110
111
  'warnings': 'warnings', # noqa: E501
111
- 'metadata': 'metadata', # noqa: E501
112
112
  }
113
113
 
114
114
  read_only_vars = {
@@ -118,10 +118,11 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
118
118
 
119
119
  @classmethod
120
120
  @convert_js_args_to_python_args
121
- def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
121
+ def _from_openapi_data(cls, metadata, data, *args, **kwargs): # noqa: E501
122
122
  """JsonApiPageResponseOfRetailer - a model defined in OpenAPI
123
123
 
124
124
  Args:
125
+ metadata (PageMetadata):
125
126
  data ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer]):
126
127
 
127
128
  Keyword Args:
@@ -157,7 +158,6 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
157
158
  _visited_composed_classes = (Animal,)
158
159
  errors ([CommonError]): [optional] # noqa: E501
159
160
  warnings ([CommonWarning]): [optional] # noqa: E501
160
- metadata (PageMetadata): [optional] # noqa: E501
161
161
  """
162
162
 
163
163
  _check_type = kwargs.pop('_check_type', True)
@@ -189,6 +189,7 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
189
189
  self._configuration = _configuration
190
190
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
191
191
 
192
+ self.metadata = metadata
192
193
  self.data = data
193
194
  for var_name, var_value in kwargs.items():
194
195
  if var_name not in self.attribute_map and \
@@ -210,10 +211,11 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
210
211
  ])
211
212
 
212
213
  @convert_js_args_to_python_args
213
- def __init__(self, data, *args, **kwargs): # noqa: E501
214
+ def __init__(self, metadata, data, *args, **kwargs): # noqa: E501
214
215
  """JsonApiPageResponseOfRetailer - a model defined in OpenAPI
215
216
 
216
217
  Args:
218
+ metadata (PageMetadata):
217
219
  data ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer]):
218
220
 
219
221
  Keyword Args:
@@ -249,7 +251,6 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
249
251
  _visited_composed_classes = (Animal,)
250
252
  errors ([CommonError]): [optional] # noqa: E501
251
253
  warnings ([CommonWarning]): [optional] # noqa: E501
252
- metadata (PageMetadata): [optional] # noqa: E501
253
254
  """
254
255
 
255
256
  _check_type = kwargs.pop('_check_type', True)
@@ -279,6 +280,7 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
279
280
  self._configuration = _configuration
280
281
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
281
282
 
283
+ self.metadata = metadata
282
284
  self.data = data
283
285
  for var_name, var_value in kwargs.items():
284
286
  if var_name not in self.attribute_map and \