criteo-api-retailmedia-sdk 0.0.240207__py3-none-any.whl → 0.0.240404__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 (70) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
  3. criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
  4. criteo_api_retailmedia_preview/api/campaign_api.py +443 -974
  5. criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
  6. criteo_api_retailmedia_preview/api_client.py +4 -4
  7. criteo_api_retailmedia_preview/apis/__init__.py +1 -0
  8. criteo_api_retailmedia_preview/configuration.py +1 -1
  9. criteo_api_retailmedia_preview/model/{creative202210.py → async_accounts_report.py} +149 -95
  10. criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
  11. criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
  12. criteo_api_retailmedia_preview/model/async_campaigns_report.py +57 -53
  13. criteo_api_retailmedia_preview/model/async_line_items_report.py +57 -54
  14. criteo_api_retailmedia_preview/model/{text_variable_value.py → batch_accepted_response.py} +11 -11
  15. criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → change_details.py} +27 -26
  16. criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → custom_attribute.py} +17 -11
  17. criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
  18. criteo_api_retailmedia_preview/model/{files_variable_value.py → external_line_item_capping_v2.py} +22 -13
  19. criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
  20. criteo_api_retailmedia_preview/model/{page_type_environment.py → external_line_item_page_v2.py} +40 -29
  21. criteo_api_retailmedia_preview/model/{creative_create_model202207.py → external_preferred_line_item_create_model_v2.py} +79 -31
  22. criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
  23. criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
  24. criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → fail_response.py} +21 -23
  25. criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → input_resource_of_preferred_line_item_create_model_v2.py} +12 -18
  26. criteo_api_retailmedia_preview/model/{choice_variable_specification.py → insertion_order_history_change_data_capture.py} +49 -29
  27. criteo_api_retailmedia_preview/model/installment.py +273 -0
  28. criteo_api_retailmedia_preview/model/loyalty_points.py +271 -0
  29. criteo_api_retailmedia_preview/model/metadata.py +273 -0
  30. criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
  31. criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
  32. criteo_api_retailmedia_preview/model/preferred_line_item_update_model_v2_request.py +269 -0
  33. criteo_api_retailmedia_preview/model/{creative202210_response.py → preferred_line_item_v2_paged_list_response.py} +22 -16
  34. criteo_api_retailmedia_preview/model/{creative202210_list_response.py → preferred_line_item_v2_response.py} +16 -16
  35. criteo_api_retailmedia_preview/model/price.py +267 -0
  36. criteo_api_retailmedia_preview/model/product.py +626 -0
  37. criteo_api_retailmedia_preview/model/{template_variable.py → product_importer_error.py} +37 -48
  38. criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
  39. criteo_api_retailmedia_preview/model/{template_list_response.py → product_shipping.py} +33 -21
  40. criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
  41. criteo_api_retailmedia_preview/model/{color_variable_value.py → product_shipping_weight.py} +13 -20
  42. criteo_api_retailmedia_preview/model/product_tax.py +283 -0
  43. criteo_api_retailmedia_preview/model/{choice_variable_value.py → product_unit_pricing_base_measure.py} +13 -15
  44. criteo_api_retailmedia_preview/model/{text_variable_specification.py → product_unit_pricing_measure.py} +11 -7
  45. criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
  46. criteo_api_retailmedia_preview/model/{creative_update_model202207.py → products_custom_batch_request_entry.py} +43 -35
  47. criteo_api_retailmedia_preview/model/{choice_option.py → report_detail_error.py} +41 -23
  48. criteo_api_retailmedia_preview/model/report_detail_errors.py +281 -0
  49. criteo_api_retailmedia_preview/model/{template_variable_value.py → report_ok_response.py} +58 -43
  50. criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_preferred_line_item_update_model_v2.py} +9 -9
  51. criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_preferred_line_item_v2.py} +9 -9
  52. criteo_api_retailmedia_preview/model/retail_media_brands.py +257 -0
  53. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +37 -37
  54. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +51 -47
  55. criteo_api_retailmedia_preview/model/sync_line_items_report.py +53 -50
  56. criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
  57. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.py +262 -0
  58. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brands.py +262 -0
  59. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +262 -0
  60. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
  61. criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
  62. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
  63. criteo_api_retailmedia_preview/models/__init__.py +48 -31
  64. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/METADATA +3 -3
  65. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/RECORD +67 -49
  66. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/WHEEL +1 -1
  67. criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
  68. criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +0 -287
  69. criteo_api_retailmedia_preview/model/template_response.py +0 -281
  70. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/top_level.txt +0 -0
@@ -30,11 +30,13 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_preview.model.section import Section
34
- globals()['Section'] = Section
33
+ from criteo_api_retailmedia_preview.model.external_line_item_capping_v2 import ExternalLineItemCappingV2
34
+ from criteo_api_retailmedia_preview.model.external_line_item_page_v2 import ExternalLineItemPageV2
35
+ globals()['ExternalLineItemCappingV2'] = ExternalLineItemCappingV2
36
+ globals()['ExternalLineItemPageV2'] = ExternalLineItemPageV2
35
37
 
36
38
 
37
- class Template(ModelNormal):
39
+ class ExternalPreferredLineItemV2(ModelNormal):
38
40
  """NOTE: This class is auto generated by OpenAPI Generator.
39
41
  Ref: https://openapi-generator.tech
40
42
 
@@ -59,21 +61,30 @@ class Template(ModelNormal):
59
61
  """
60
62
 
61
63
  allowed_values = {
62
- ('creative_format',): {
63
- 'UNKNOWN': "Unknown",
64
- 'FLAGSHIP': "FlagShip",
65
- 'SHOWCASE': "Showcase",
66
- 'SPONSOREDPRODUCTS': "SponsoredProducts",
67
- 'BUTTERFLY': "Butterfly",
68
- 'BUNDLEBOOST': "BundleBoost",
69
- 'IAB': "IAB",
70
- 'CUSTOM': "CUSTOM",
71
- 'DISPLAYPANEL': "DisplayPanel",
72
- 'DIGITALSHELFTALKER': "DigitalShelfTalker",
64
+ ('status',): {
65
+ 'UNKNOWN': "unknown",
66
+ 'ACTIVE': "active",
67
+ 'SCHEDULED': "scheduled",
68
+ 'DRAFT': "draft",
69
+ 'PAUSED': "paused",
70
+ 'BUDGETHIT': "budgetHit",
71
+ 'ENDED': "ended",
72
+ 'ARCHIVED': "archived",
73
+ 'NOFUNDS': "noFunds",
74
+ },
75
+ ('pacing',): {
76
+ 'None': None,
77
+ 'UNKNOWN': "unknown",
78
+ 'STANDARD': "standard",
79
+ 'ACCELERATED': "accelerated",
73
80
  },
74
81
  }
75
82
 
76
83
  validations = {
84
+ ('name',): {
85
+ 'max_length': 255,
86
+ 'min_length': 0,
87
+ },
77
88
  }
78
89
 
79
90
  @cached_property
@@ -99,18 +110,21 @@ class Template(ModelNormal):
99
110
  """
100
111
  lazy_import()
101
112
  return {
102
- 'creative_format': (str,), # noqa: E501
103
113
  'name': (str,), # noqa: E501
104
- 'sku_collection_min': (int,), # noqa: E501
105
- 'sku_per_collection_min': (int,), # noqa: E501
106
- 'all_collections_mandatory': (bool,), # noqa: E501
114
+ 'start_date': (date,), # noqa: E501
115
+ 'end_date': (date,), # noqa: E501
116
+ 'status': (str,), # noqa: E501
117
+ 'target_retailer_id': (str,), # noqa: E501
118
+ 'campaign_id': (str,), # noqa: E501
107
119
  'created_at': (datetime,), # noqa: E501
108
120
  'updated_at': (datetime,), # noqa: E501
109
- 'sections': ([Section],), # noqa: E501
110
- 'retailer_id': (int,), # noqa: E501
111
- 'sku_collection_max': (int, none_type,), # noqa: E501
112
- 'sku_per_collection_max': (int, none_type,), # noqa: E501
113
- 'displayable_skus_max': (int, none_type,), # noqa: E501
121
+ 'pacing': (str, none_type,), # noqa: E501
122
+ 'capping': (ExternalLineItemCappingV2,), # noqa: E501
123
+ 'page': (ExternalLineItemPageV2,), # noqa: E501
124
+ 'budget': (float, none_type,), # noqa: E501
125
+ 'budget_spent': (float, none_type,), # noqa: E501
126
+ 'budget_remaining': (float, none_type,), # noqa: E501
127
+ 'creative_id': (str, none_type,), # noqa: E501
114
128
  }
115
129
 
116
130
  @cached_property
@@ -119,18 +133,21 @@ class Template(ModelNormal):
119
133
 
120
134
 
121
135
  attribute_map = {
122
- 'creative_format': 'creativeFormat', # noqa: E501
123
136
  'name': 'name', # noqa: E501
124
- 'sku_collection_min': 'skuCollectionMin', # noqa: E501
125
- 'sku_per_collection_min': 'skuPerCollectionMin', # noqa: E501
126
- 'all_collections_mandatory': 'allCollectionsMandatory', # noqa: E501
137
+ 'start_date': 'startDate', # noqa: E501
138
+ 'end_date': 'endDate', # noqa: E501
139
+ 'status': 'status', # noqa: E501
140
+ 'target_retailer_id': 'targetRetailerId', # noqa: E501
141
+ 'campaign_id': 'campaignId', # noqa: E501
127
142
  'created_at': 'createdAt', # noqa: E501
128
143
  'updated_at': 'updatedAt', # noqa: E501
129
- 'sections': 'sections', # noqa: E501
130
- 'retailer_id': 'retailerId', # noqa: E501
131
- 'sku_collection_max': 'skuCollectionMax', # noqa: E501
132
- 'sku_per_collection_max': 'skuPerCollectionMax', # noqa: E501
133
- 'displayable_skus_max': 'displayableSkusMax', # noqa: E501
144
+ 'pacing': 'pacing', # noqa: E501
145
+ 'capping': 'capping', # noqa: E501
146
+ 'page': 'page', # noqa: E501
147
+ 'budget': 'budget', # noqa: E501
148
+ 'budget_spent': 'budgetSpent', # noqa: E501
149
+ 'budget_remaining': 'budgetRemaining', # noqa: E501
150
+ 'creative_id': 'creativeId', # noqa: E501
134
151
  }
135
152
 
136
153
  read_only_vars = {
@@ -140,18 +157,18 @@ class Template(ModelNormal):
140
157
 
141
158
  @classmethod
142
159
  @convert_js_args_to_python_args
143
- def _from_openapi_data(cls, creative_format, name, sku_collection_min, sku_per_collection_min, all_collections_mandatory, created_at, updated_at, sections, *args, **kwargs): # noqa: E501
144
- """Template - a model defined in OpenAPI
160
+ def _from_openapi_data(cls, name, start_date, end_date, status, target_retailer_id, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501
161
+ """ExternalPreferredLineItemV2 - a model defined in OpenAPI
145
162
 
146
163
  Args:
147
- creative_format (str): The kind of creative this template can be used to build.
148
- name (str): The name of the template
149
- sku_collection_min (int): TODO: what is it ?
150
- sku_per_collection_min (int): TODO: what is it ?
151
- all_collections_mandatory (bool): TODO: what is it ?
152
- created_at (datetime): The time at which the template was created
153
- updated_at (datetime): The time at which the template was updated
154
- sections ([Section]): The sections holding various template variables
164
+ name (str):
165
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
166
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
167
+ status (str): Line Item Status Enum
168
+ target_retailer_id (str):
169
+ campaign_id (str):
170
+ created_at (datetime):
171
+ updated_at (datetime):
155
172
 
156
173
  Keyword Args:
157
174
  _check_type (bool): if True, values for parameters in openapi_types
@@ -184,10 +201,13 @@ class Template(ModelNormal):
184
201
  Animal class but this time we won't travel
185
202
  through its discriminator because we passed in
186
203
  _visited_composed_classes = (Animal,)
187
- retailer_id (int): The retailer associated to the template. [optional] # noqa: E501
188
- sku_collection_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
189
- sku_per_collection_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
190
- displayable_skus_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
204
+ pacing (str, none_type): [optional] # noqa: E501
205
+ capping (ExternalLineItemCappingV2): [optional] # noqa: E501
206
+ page (ExternalLineItemPageV2): [optional] # noqa: E501
207
+ budget (float, none_type): [optional] # noqa: E501
208
+ budget_spent (float, none_type): [optional] # noqa: E501
209
+ budget_remaining (float, none_type): [optional] # noqa: E501
210
+ creative_id (str, none_type): External creative Id. [optional] # noqa: E501
191
211
  """
192
212
 
193
213
  _check_type = kwargs.pop('_check_type', True)
@@ -219,14 +239,14 @@ class Template(ModelNormal):
219
239
  self._configuration = _configuration
220
240
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
221
241
 
222
- self.creative_format = creative_format
223
242
  self.name = name
224
- self.sku_collection_min = sku_collection_min
225
- self.sku_per_collection_min = sku_per_collection_min
226
- self.all_collections_mandatory = all_collections_mandatory
243
+ self.start_date = start_date
244
+ self.end_date = end_date
245
+ self.status = status
246
+ self.target_retailer_id = target_retailer_id
247
+ self.campaign_id = campaign_id
227
248
  self.created_at = created_at
228
249
  self.updated_at = updated_at
229
- self.sections = sections
230
250
  for var_name, var_value in kwargs.items():
231
251
  if var_name not in self.attribute_map and \
232
252
  self._configuration is not None and \
@@ -247,18 +267,18 @@ class Template(ModelNormal):
247
267
  ])
248
268
 
249
269
  @convert_js_args_to_python_args
250
- def __init__(self, creative_format, name, sku_collection_min, sku_per_collection_min, all_collections_mandatory, created_at, updated_at, sections, *args, **kwargs): # noqa: E501
251
- """Template - a model defined in OpenAPI
270
+ def __init__(self, name, start_date, end_date, status, target_retailer_id, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501
271
+ """ExternalPreferredLineItemV2 - a model defined in OpenAPI
252
272
 
253
273
  Args:
254
- creative_format (str): The kind of creative this template can be used to build.
255
- name (str): The name of the template
256
- sku_collection_min (int): TODO: what is it ?
257
- sku_per_collection_min (int): TODO: what is it ?
258
- all_collections_mandatory (bool): TODO: what is it ?
259
- created_at (datetime): The time at which the template was created
260
- updated_at (datetime): The time at which the template was updated
261
- sections ([Section]): The sections holding various template variables
274
+ name (str):
275
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
276
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
277
+ status (str): Line Item Status Enum
278
+ target_retailer_id (str):
279
+ campaign_id (str):
280
+ created_at (datetime):
281
+ updated_at (datetime):
262
282
 
263
283
  Keyword Args:
264
284
  _check_type (bool): if True, values for parameters in openapi_types
@@ -291,10 +311,13 @@ class Template(ModelNormal):
291
311
  Animal class but this time we won't travel
292
312
  through its discriminator because we passed in
293
313
  _visited_composed_classes = (Animal,)
294
- retailer_id (int): The retailer associated to the template. [optional] # noqa: E501
295
- sku_collection_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
296
- sku_per_collection_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
297
- displayable_skus_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
314
+ pacing (str, none_type): [optional] # noqa: E501
315
+ capping (ExternalLineItemCappingV2): [optional] # noqa: E501
316
+ page (ExternalLineItemPageV2): [optional] # noqa: E501
317
+ budget (float, none_type): [optional] # noqa: E501
318
+ budget_spent (float, none_type): [optional] # noqa: E501
319
+ budget_remaining (float, none_type): [optional] # noqa: E501
320
+ creative_id (str, none_type): External creative Id. [optional] # noqa: E501
298
321
  """
299
322
 
300
323
  _check_type = kwargs.pop('_check_type', True)
@@ -324,14 +347,14 @@ class Template(ModelNormal):
324
347
  self._configuration = _configuration
325
348
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
326
349
 
327
- self.creative_format = creative_format
328
350
  self.name = name
329
- self.sku_collection_min = sku_collection_min
330
- self.sku_per_collection_min = sku_per_collection_min
331
- self.all_collections_mandatory = all_collections_mandatory
351
+ self.start_date = start_date
352
+ self.end_date = end_date
353
+ self.status = status
354
+ self.target_retailer_id = target_retailer_id
355
+ self.campaign_id = campaign_id
332
356
  self.created_at = created_at
333
357
  self.updated_at = updated_at
334
- self.sections = sections
335
358
  for var_name, var_value in kwargs.items():
336
359
  if var_name not in self.attribute_map and \
337
360
  self._configuration is not None and \
@@ -30,11 +30,13 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_preview.model.external_catalog_status import ExternalCatalogStatus
34
- globals()['ExternalCatalogStatus'] = ExternalCatalogStatus
33
+ from criteo_api_retailmedia_preview.model.product_importer_error import ProductImporterError
34
+ from criteo_api_retailmedia_preview.model.product_importer_warning import ProductImporterWarning
35
+ globals()['ProductImporterError'] = ProductImporterError
36
+ globals()['ProductImporterWarning'] = ProductImporterWarning
35
37
 
36
38
 
37
- class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
39
+ class FailResponse(ModelNormal):
38
40
  """NOTE: This class is auto generated by OpenAPI Generator.
39
41
  Ref: https://openapi-generator.tech
40
42
 
@@ -87,9 +89,8 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
87
89
  """
88
90
  lazy_import()
89
91
  return {
90
- 'id': (str,), # noqa: E501
91
- 'type': (str,), # noqa: E501
92
- 'attributes': (ExternalCatalogStatus,), # noqa: E501
92
+ 'errors': ([ProductImporterError],), # noqa: E501
93
+ 'warnings': ([ProductImporterWarning],), # noqa: E501
93
94
  }
94
95
 
95
96
  @cached_property
@@ -98,9 +99,8 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
98
99
 
99
100
 
100
101
  attribute_map = {
101
- 'id': 'id', # noqa: E501
102
- 'type': 'type', # noqa: E501
103
- 'attributes': 'attributes', # noqa: E501
102
+ 'errors': 'errors', # noqa: E501
103
+ 'warnings': 'warnings', # noqa: E501
104
104
  }
105
105
 
106
106
  read_only_vars = {
@@ -110,12 +110,12 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
110
110
 
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
- def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501
114
- """JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus - a model defined in OpenAPI
113
+ def _from_openapi_data(cls, errors, warnings, *args, **kwargs): # noqa: E501
114
+ """FailResponse - a model defined in OpenAPI
115
115
 
116
116
  Args:
117
- id (str):
118
- type (str):
117
+ errors ([ProductImporterError]): List of errors
118
+ warnings ([ProductImporterWarning]): List of warnings
119
119
 
120
120
  Keyword Args:
121
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +148,6 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
148
148
  Animal class but this time we won't travel
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
- attributes (ExternalCatalogStatus): [optional] # noqa: E501
152
151
  """
153
152
 
154
153
  _check_type = kwargs.pop('_check_type', True)
@@ -180,8 +179,8 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
180
179
  self._configuration = _configuration
181
180
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
182
181
 
183
- self.id = id
184
- self.type = type
182
+ self.errors = errors
183
+ self.warnings = warnings
185
184
  for var_name, var_value in kwargs.items():
186
185
  if var_name not in self.attribute_map and \
187
186
  self._configuration is not None and \
@@ -202,12 +201,12 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
202
201
  ])
203
202
 
204
203
  @convert_js_args_to_python_args
205
- def __init__(self, id, type, *args, **kwargs): # noqa: E501
206
- """JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus - a model defined in OpenAPI
204
+ def __init__(self, errors, warnings, *args, **kwargs): # noqa: E501
205
+ """FailResponse - a model defined in OpenAPI
207
206
 
208
207
  Args:
209
- id (str):
210
- type (str):
208
+ errors ([ProductImporterError]): List of errors
209
+ warnings ([ProductImporterWarning]): List of warnings
211
210
 
212
211
  Keyword Args:
213
212
  _check_type (bool): if True, values for parameters in openapi_types
@@ -240,7 +239,6 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
240
239
  Animal class but this time we won't travel
241
240
  through its discriminator because we passed in
242
241
  _visited_composed_classes = (Animal,)
243
- attributes (ExternalCatalogStatus): [optional] # noqa: E501
244
242
  """
245
243
 
246
244
  _check_type = kwargs.pop('_check_type', True)
@@ -270,8 +268,8 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
270
268
  self._configuration = _configuration
271
269
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
272
270
 
273
- self.id = id
274
- self.type = type
271
+ self.errors = errors
272
+ self.warnings = warnings
275
273
  for var_name, var_value in kwargs.items():
276
274
  if var_name not in self.attribute_map and \
277
275
  self._configuration is not None and \
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_preview.model.external_catalog_request_preview import ExternalCatalogRequestPreview
34
- globals()['ExternalCatalogRequestPreview'] = ExternalCatalogRequestPreview
33
+ from criteo_api_retailmedia_preview.model.external_preferred_line_item_create_model_v2 import ExternalPreferredLineItemCreateModelV2
34
+ globals()['ExternalPreferredLineItemCreateModelV2'] = ExternalPreferredLineItemCreateModelV2
35
35
 
36
36
 
37
- class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
37
+ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -88,7 +88,7 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
88
88
  lazy_import()
89
89
  return {
90
90
  'type': (str,), # noqa: E501
91
- 'attributes': (ExternalCatalogRequestPreview,), # noqa: E501
91
+ 'attributes': (ExternalPreferredLineItemCreateModelV2,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -108,11 +108,8 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
108
108
 
109
109
  @classmethod
110
110
  @convert_js_args_to_python_args
111
- def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501
112
- """JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview - a model defined in OpenAPI
113
-
114
- Args:
115
- type (str):
111
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
112
+ """InputResourceOfPreferredLineItemCreateModelV2 - a model defined in OpenAPI
116
113
 
117
114
  Keyword Args:
118
115
  _check_type (bool): if True, values for parameters in openapi_types
@@ -145,7 +142,8 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
145
142
  Animal class but this time we won't travel
146
143
  through its discriminator because we passed in
147
144
  _visited_composed_classes = (Animal,)
148
- attributes (ExternalCatalogRequestPreview): [optional] # noqa: E501
145
+ type (str): [optional] # noqa: E501
146
+ attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501
149
147
  """
150
148
 
151
149
  _check_type = kwargs.pop('_check_type', True)
@@ -177,7 +175,6 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
177
175
  self._configuration = _configuration
178
176
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
179
177
 
180
- self.type = type
181
178
  for var_name, var_value in kwargs.items():
182
179
  if var_name not in self.attribute_map and \
183
180
  self._configuration is not None and \
@@ -198,11 +195,8 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
198
195
  ])
199
196
 
200
197
  @convert_js_args_to_python_args
201
- def __init__(self, type, *args, **kwargs): # noqa: E501
202
- """JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview - a model defined in OpenAPI
203
-
204
- Args:
205
- type (str):
198
+ def __init__(self, *args, **kwargs): # noqa: E501
199
+ """InputResourceOfPreferredLineItemCreateModelV2 - a model defined in OpenAPI
206
200
 
207
201
  Keyword Args:
208
202
  _check_type (bool): if True, values for parameters in openapi_types
@@ -235,7 +229,8 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
235
229
  Animal class but this time we won't travel
236
230
  through its discriminator because we passed in
237
231
  _visited_composed_classes = (Animal,)
238
- attributes (ExternalCatalogRequestPreview): [optional] # noqa: E501
232
+ type (str): [optional] # noqa: E501
233
+ attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501
239
234
  """
240
235
 
241
236
  _check_type = kwargs.pop('_check_type', True)
@@ -265,7 +260,6 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
265
260
  self._configuration = _configuration
266
261
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
267
262
 
268
- self.type = type
269
263
  for var_name, var_value in kwargs.items():
270
264
  if var_name not in self.attribute_map and \
271
265
  self._configuration is not None and \
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_preview.model.choice_option import ChoiceOption
34
- globals()['ChoiceOption'] = ChoiceOption
33
+ from criteo_api_retailmedia_preview.model.change_details import ChangeDetails
34
+ globals()['ChangeDetails'] = ChangeDetails
35
35
 
36
36
 
37
- class ChoiceVariableSpecification(ModelNormal):
37
+ class InsertionOrderHistoryChangeDataCapture(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -59,19 +59,25 @@ class ChoiceVariableSpecification(ModelNormal):
59
59
  """
60
60
 
61
61
  allowed_values = {
62
+ ('change_type',): {
63
+ 'BALANCECREATED': "BalanceCreated",
64
+ 'BALANCEADDED': "BalanceAdded",
65
+ 'BALANCEREMOVED': "BalanceRemoved",
66
+ 'BALANCEUNCAPPED': "BalanceUncapped",
67
+ 'BALANCECAPPED': "BalanceCapped",
68
+ 'ENDDATE': "EndDate",
69
+ 'STARTDATE': "StartDate",
70
+ 'BALANCENAME': "BalanceName",
71
+ 'PONUMBER': "PoNumber",
72
+ 'VALUEADD': "ValueAdd",
73
+ 'SALESFORCEID': "SalesforceId",
74
+ },
62
75
  }
63
76
 
64
77
  validations = {
65
78
  }
66
79
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
80
+ additional_properties_type = None
75
81
 
76
82
  _nullable = False
77
83
 
@@ -87,9 +93,11 @@ class ChoiceVariableSpecification(ModelNormal):
87
93
  """
88
94
  lazy_import()
89
95
  return {
90
- 'options': ([ChoiceOption],), # noqa: E501
91
- 'max_selected': (int, none_type,), # noqa: E501
92
- 'min_selected': (int, none_type,), # noqa: E501
96
+ 'date_of_modification': (datetime,), # noqa: E501
97
+ 'modified_by_user': (str,), # noqa: E501
98
+ 'change_type': (str,), # noqa: E501
99
+ 'change_details': (ChangeDetails,), # noqa: E501
100
+ 'memo': (str, none_type,), # noqa: E501
93
101
  }
94
102
 
95
103
  @cached_property
@@ -98,9 +106,11 @@ class ChoiceVariableSpecification(ModelNormal):
98
106
 
99
107
 
100
108
  attribute_map = {
101
- 'options': 'options', # noqa: E501
102
- 'max_selected': 'maxSelected', # noqa: E501
103
- 'min_selected': 'minSelected', # noqa: E501
109
+ 'date_of_modification': 'dateOfModification', # noqa: E501
110
+ 'modified_by_user': 'modifiedByUser', # noqa: E501
111
+ 'change_type': 'changeType', # noqa: E501
112
+ 'change_details': 'changeDetails', # noqa: E501
113
+ 'memo': 'memo', # noqa: E501
104
114
  }
105
115
 
106
116
  read_only_vars = {
@@ -110,11 +120,14 @@ class ChoiceVariableSpecification(ModelNormal):
110
120
 
111
121
  @classmethod
112
122
  @convert_js_args_to_python_args
113
- def _from_openapi_data(cls, options, *args, **kwargs): # noqa: E501
114
- """ChoiceVariableSpecification - a model defined in OpenAPI
123
+ def _from_openapi_data(cls, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501
124
+ """InsertionOrderHistoryChangeDataCapture - a model defined in OpenAPI
115
125
 
116
126
  Args:
117
- options ([ChoiceOption]): The available options
127
+ date_of_modification (datetime): Date when data change has occured.
128
+ modified_by_user (str): User name who modified the insertion order.
129
+ change_type (str): Represent the type of change states of the history.
130
+ change_details (ChangeDetails):
118
131
 
119
132
  Keyword Args:
120
133
  _check_type (bool): if True, values for parameters in openapi_types
@@ -147,8 +160,7 @@ class ChoiceVariableSpecification(ModelNormal):
147
160
  Animal class but this time we won't travel
148
161
  through its discriminator because we passed in
149
162
  _visited_composed_classes = (Animal,)
150
- max_selected (int, none_type): The maximum number of selectable options. [optional] # noqa: E501
151
- min_selected (int, none_type): The minimum number of selectable options. [optional] # noqa: E501
163
+ memo (str, none_type): Memo associate with the insertion order modification.. [optional] # noqa: E501
152
164
  """
153
165
 
154
166
  _check_type = kwargs.pop('_check_type', True)
@@ -180,7 +192,10 @@ class ChoiceVariableSpecification(ModelNormal):
180
192
  self._configuration = _configuration
181
193
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
182
194
 
183
- self.options = options
195
+ self.date_of_modification = date_of_modification
196
+ self.modified_by_user = modified_by_user
197
+ self.change_type = change_type
198
+ self.change_details = change_details
184
199
  for var_name, var_value in kwargs.items():
185
200
  if var_name not in self.attribute_map and \
186
201
  self._configuration is not None and \
@@ -201,11 +216,14 @@ class ChoiceVariableSpecification(ModelNormal):
201
216
  ])
202
217
 
203
218
  @convert_js_args_to_python_args
204
- def __init__(self, options, *args, **kwargs): # noqa: E501
205
- """ChoiceVariableSpecification - a model defined in OpenAPI
219
+ def __init__(self, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501
220
+ """InsertionOrderHistoryChangeDataCapture - a model defined in OpenAPI
206
221
 
207
222
  Args:
208
- options ([ChoiceOption]): The available options
223
+ date_of_modification (datetime): Date when data change has occured.
224
+ modified_by_user (str): User name who modified the insertion order.
225
+ change_type (str): Represent the type of change states of the history.
226
+ change_details (ChangeDetails):
209
227
 
210
228
  Keyword Args:
211
229
  _check_type (bool): if True, values for parameters in openapi_types
@@ -238,8 +256,7 @@ class ChoiceVariableSpecification(ModelNormal):
238
256
  Animal class but this time we won't travel
239
257
  through its discriminator because we passed in
240
258
  _visited_composed_classes = (Animal,)
241
- max_selected (int, none_type): The maximum number of selectable options. [optional] # noqa: E501
242
- min_selected (int, none_type): The minimum number of selectable options. [optional] # noqa: E501
259
+ memo (str, none_type): Memo associate with the insertion order modification.. [optional] # noqa: E501
243
260
  """
244
261
 
245
262
  _check_type = kwargs.pop('_check_type', True)
@@ -269,7 +286,10 @@ class ChoiceVariableSpecification(ModelNormal):
269
286
  self._configuration = _configuration
270
287
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
271
288
 
272
- self.options = options
289
+ self.date_of_modification = date_of_modification
290
+ self.modified_by_user = modified_by_user
291
+ self.change_type = change_type
292
+ self.change_details = change_details
273
293
  for var_name, var_value in kwargs.items():
274
294
  if var_name not in self.attribute_map and \
275
295
  self._configuration is not None and \