criteo-api-retailmedia-sdk 0.0.241029__py3-none-any.whl → 0.0.250205__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 (99) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +23 -324
  3. criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
  4. criteo_api_retailmedia_preview/api/balance_api.py +0 -159
  5. criteo_api_retailmedia_preview/api/campaign_api.py +226 -859
  6. criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +0 -1
  7. criteo_api_retailmedia_preview/api_client.py +4 -4
  8. criteo_api_retailmedia_preview/configuration.py +1 -1
  9. criteo_api_retailmedia_preview/model/async_accounts_report.py +44 -0
  10. criteo_api_retailmedia_preview/model/async_campaigns_report.py +44 -0
  11. criteo_api_retailmedia_preview/model/{retail_media_contactlist_amendment_attributes.py → async_fill_rate_report.py} +80 -31
  12. criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → async_fill_rate_report_request.py} +8 -8
  13. criteo_api_retailmedia_preview/model/{http_validation_error.py → async_fill_rate_report_resource.py} +13 -9
  14. criteo_api_retailmedia_preview/model/async_line_items_report.py +44 -0
  15. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
  16. criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → brand_id_search_request.py} +21 -20
  17. criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
  18. criteo_api_retailmedia_preview/model/category.py +3 -3
  19. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
  20. criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
  21. criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
  22. criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
  23. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
  24. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
  25. criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
  26. criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  27. criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
  28. criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
  29. criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
  30. criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
  31. criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → entity_resource_collection_outcome_brand_id_search_result.py} +17 -24
  32. criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_of_retail_media_account.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
  33. criteo_api_retailmedia_preview/model/{entity_resource_of_retail_media_account.py → entity_resource_of_retail_media_child_account.py} +9 -9
  34. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
  35. criteo_api_retailmedia_preview/model/{external_retail_media_account.py → external_retail_media_child_account.py} +4 -8
  36. criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
  37. criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
  38. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
  39. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
  40. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
  41. criteo_api_retailmedia_preview/model/message.py +5 -5
  42. criteo_api_retailmedia_preview/model/offset_page_metadata.py +279 -0
  43. criteo_api_retailmedia_preview/model/outcome.py +268 -0
  44. criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  45. criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
  46. criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
  47. criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  48. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  49. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
  50. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment.py +31 -18
  51. criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
  52. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +296 -0
  53. criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
  54. criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
  55. criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
  56. criteo_api_retailmedia_preview/model/{external_brand.py → sku_min_bid.py} +18 -22
  57. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
  58. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
  59. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
  60. criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
  61. criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
  62. criteo_api_retailmedia_preview/model/{location_inner.py → text_variable_value.py} +9 -11
  63. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
  64. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
  65. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +266 -0
  66. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +266 -0
  67. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +262 -0
  68. criteo_api_retailmedia_preview/model/{external_text_variable_value.py → value_resource_input_cpc_min_bids_request.py} +13 -14
  69. criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_of_seller_search.py} +8 -8
  70. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
  71. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → value_resource_of_seller_search.py} +13 -9
  72. criteo_api_retailmedia_preview/model/{proposal_status_model_response.py → value_resource_outcome_cpc_min_bids_response.py} +19 -19
  73. criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  74. criteo_api_retailmedia_preview/models/__init__.py +39 -54
  75. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/METADATA +14 -5
  76. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/RECORD +78 -93
  77. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/WHEEL +1 -1
  78. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
  79. criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
  80. criteo_api_retailmedia_preview/model/botmessage.py +0 -329
  81. criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
  82. criteo_api_retailmedia_preview/model/creative_v2_response.py +0 -281
  83. criteo_api_retailmedia_preview/model/external_account.py +0 -330
  84. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
  85. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_account_and_account.py +0 -285
  86. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +0 -285
  87. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +0 -285
  88. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
  89. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
  90. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
  91. criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
  92. criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
  93. criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +0 -277
  94. criteo_api_retailmedia_preview/model/resource_of_creative_v2.py +0 -277
  95. criteo_api_retailmedia_preview/model/retail_media_account.py +0 -301
  96. criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -274
  97. criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
  98. criteo_api_retailmedia_preview/model/validation_error.py +0 -287
  99. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/top_level.txt +0 -0
@@ -55,6 +55,18 @@ class AsyncLineItemsReport(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
+ ('search_term_types',): {
59
+ 'None': None,
60
+ 'UNKNOWN': "unknown",
61
+ 'SEARCHED': "searched",
62
+ 'ENTERED': "entered",
63
+ },
64
+ ('search_term_targetings',): {
65
+ 'None': None,
66
+ 'UNKNOWN': "unknown",
67
+ 'AUTOMATIC': "automatic",
68
+ 'MANUAL': "manual",
69
+ },
58
70
  ('campaign_type',): {
59
71
  'None': None,
60
72
  'ALL': "all",
@@ -84,6 +96,7 @@ class AsyncLineItemsReport(ModelNormal):
84
96
  'ATTRIBUTEDTRANSACTIONS': "attributedTransactions",
85
97
  'ENVIRONMENT': "environment",
86
98
  'SERVEDCATEGORY': "servedCategory",
99
+ 'CAPOUT': "capout",
87
100
  },
88
101
  ('click_attribution_window',): {
89
102
  'None': None,
@@ -122,9 +135,18 @@ class AsyncLineItemsReport(ModelNormal):
122
135
  'ENVIRONMENT': "environment",
123
136
  'PAGETYPENAME': "pageTypeName",
124
137
  'PAGECATEGORY': "pageCategory",
138
+ 'SERVEDCATEGORY': "servedCategory",
125
139
  'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
126
140
  'KEYWORD': "keyword",
127
141
  'SEARCHTERM': "searchTerm",
142
+ 'SEARCHTERMTYPE': "searchTermType",
143
+ 'SEARCHTERMTARGETING': "searchTermTargeting",
144
+ 'CREATIVEID': "creativeId",
145
+ 'CREATIVENAME': "creativeName",
146
+ 'CREATIVETYPEID': "creativeTypeId",
147
+ 'CREATIVETYPENAME': "creativeTypeName",
148
+ 'CREATIVETEMPLATEID': "creativeTemplateId",
149
+ 'CREATIVETEMPLATENAME': "creativeTemplateName",
128
150
  },
129
151
  ('metrics',): {
130
152
  'None': None,
@@ -149,6 +171,20 @@ class AsyncLineItemsReport(ModelNormal):
149
171
  'VIDEOSPLAYEDTO100': "videosPlayedTo100",
150
172
  'VIDEOPLAYINGRATE': "videoPlayingRate",
151
173
  'VIDEOCOMPLETIONRATE': "videoCompletionRate",
174
+ 'VIDEOIMPRESSIONS': "videoImpressions",
175
+ 'VIDEOMUTED': "videoMuted",
176
+ 'VIDEOUNMUTED': "videoUnmuted",
177
+ 'VIDEOPAUSED': "videoPaused",
178
+ 'VIDEORESUMED': "videoResumed",
179
+ 'VIDEOAVGINTERACTIONRATE': "videoAvgInteractionRate",
180
+ 'VIDEOVIEWABILITY': "videoViewability",
181
+ 'VIDEOSTARTINGRATE': "videoStartingRate",
182
+ 'VIDEOCPC': "videoCPC",
183
+ 'VIDEOCPCV': "videoCPCV",
184
+ 'NEWTOBRANDATTRIBUTEDSALES': "newToBrandAttributedSales",
185
+ 'NEWTOBRANDATTRIBUTEDSALESRATE': "newToBrandAttributedSalesRate",
186
+ 'NEWTOBRANDATTRIBUTEDUNITS': "newToBrandAttributedUnits",
187
+ 'NEWTOBRANDATTRIBUTEDUNITSRATE': "newToBrandAttributedUnitsRate",
152
188
  'UNIQUEVISITORS': "uniqueVisitors",
153
189
  'FREQUENCY': "frequency",
154
190
  },
@@ -182,6 +218,8 @@ class AsyncLineItemsReport(ModelNormal):
182
218
  'end_date': (datetime,), # noqa: E501
183
219
  'ids': ([str], none_type,), # noqa: E501
184
220
  'id': (str, none_type,), # noqa: E501
221
+ 'search_term_types': ([str], none_type,), # noqa: E501
222
+ 'search_term_targetings': ([str], none_type,), # noqa: E501
185
223
  'campaign_type': (str, none_type,), # noqa: E501
186
224
  'sales_channel': (str, none_type,), # noqa: E501
187
225
  'format': (str, none_type,), # noqa: E501
@@ -203,6 +241,8 @@ class AsyncLineItemsReport(ModelNormal):
203
241
  'end_date': 'endDate', # noqa: E501
204
242
  'ids': 'ids', # noqa: E501
205
243
  'id': 'id', # noqa: E501
244
+ 'search_term_types': 'searchTermTypes', # noqa: E501
245
+ 'search_term_targetings': 'searchTermTargetings', # noqa: E501
206
246
  'campaign_type': 'campaignType', # noqa: E501
207
247
  'sales_channel': 'salesChannel', # noqa: E501
208
248
  'format': 'format', # noqa: E501
@@ -261,6 +301,8 @@ class AsyncLineItemsReport(ModelNormal):
261
301
  _visited_composed_classes = (Animal,)
262
302
  ids ([str], none_type): Line Item ids to report on. [optional] # noqa: E501
263
303
  id (str, none_type): Line Item id to report on. [optional] # noqa: E501
304
+ search_term_types ([str], none_type): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
305
+ search_term_targetings ([str], none_type): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
264
306
  campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
265
307
  sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
266
308
  format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
@@ -363,6 +405,8 @@ class AsyncLineItemsReport(ModelNormal):
363
405
  _visited_composed_classes = (Animal,)
364
406
  ids ([str], none_type): Line Item ids to report on. [optional] # noqa: E501
365
407
  id (str, none_type): Line Item id to report on. [optional] # noqa: E501
408
+ search_term_types ([str], none_type): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
409
+ search_term_targetings ([str], none_type): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
366
410
  campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
367
411
  sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
368
412
  format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
@@ -75,7 +75,7 @@ class BalanceResponseV2Response(ModelNormal):
75
75
  lazy_import()
76
76
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
77
 
78
- _nullable = False
78
+ _nullable = True
79
79
 
80
80
  @cached_property
81
81
  def openapi_types():
@@ -29,12 +29,8 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
29
29
  from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
- def lazy_import():
33
- from criteo_api_retailmedia_preview.model.sku_search_result import SkuSearchResult
34
- globals()['SkuSearchResult'] = SkuSearchResult
35
32
 
36
-
37
- class ResourceOfSkuSearchResult(ModelNormal):
33
+ class BrandIdSearchRequest(ModelNormal):
38
34
  """NOTE: This class is auto generated by OpenAPI Generator.
39
35
  Ref: https://openapi-generator.tech
40
36
 
@@ -59,6 +55,12 @@ class ResourceOfSkuSearchResult(ModelNormal):
59
55
  """
60
56
 
61
57
  allowed_values = {
58
+ ('brand_type',): {
59
+ 'None': None,
60
+ 'UC': "uc",
61
+ 'RETAILER': "retailer",
62
+ 'ALL': "all",
63
+ },
62
64
  }
63
65
 
64
66
  validations = {
@@ -78,11 +80,10 @@ class ResourceOfSkuSearchResult(ModelNormal):
78
80
  openapi_types (dict): The key is attribute name
79
81
  and the value is attribute type.
80
82
  """
81
- lazy_import()
82
83
  return {
83
- 'attributes': (SkuSearchResult,), # noqa: E501
84
- 'id': (str, none_type,), # noqa: E501
85
- 'type': (str, none_type,), # noqa: E501
84
+ 'retailer_ids': ([int], none_type,), # noqa: E501
85
+ 'name': (str, none_type,), # noqa: E501
86
+ 'brand_type': (str, none_type,), # noqa: E501
86
87
  }
87
88
 
88
89
  @cached_property
@@ -91,9 +92,9 @@ class ResourceOfSkuSearchResult(ModelNormal):
91
92
 
92
93
 
93
94
  attribute_map = {
94
- 'attributes': 'attributes', # noqa: E501
95
- 'id': 'id', # noqa: E501
96
- 'type': 'type', # noqa: E501
95
+ 'retailer_ids': 'retailerIds', # noqa: E501
96
+ 'name': 'name', # noqa: E501
97
+ 'brand_type': 'brandType', # noqa: E501
97
98
  }
98
99
 
99
100
  read_only_vars = {
@@ -104,7 +105,7 @@ class ResourceOfSkuSearchResult(ModelNormal):
104
105
  @classmethod
105
106
  @convert_js_args_to_python_args
106
107
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
107
- """ResourceOfSkuSearchResult - a model defined in OpenAPI
108
+ """BrandIdSearchRequest - a model defined in OpenAPI
108
109
 
109
110
  Keyword Args:
110
111
  _check_type (bool): if True, values for parameters in openapi_types
@@ -137,9 +138,9 @@ class ResourceOfSkuSearchResult(ModelNormal):
137
138
  Animal class but this time we won't travel
138
139
  through its discriminator because we passed in
139
140
  _visited_composed_classes = (Animal,)
140
- attributes (SkuSearchResult): [optional] # noqa: E501
141
- id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
142
- type (str, none_type): [optional] # noqa: E501
141
+ retailer_ids ([int], none_type): IDs of the retailers we want to limit the search to. [optional] # noqa: E501
142
+ name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
143
+ brand_type (str, none_type): The type of brand, primarily where this brand belongs: UC, Retailer or All (both). [optional] # noqa: E501
143
144
  """
144
145
 
145
146
  _check_type = kwargs.pop('_check_type', True)
@@ -192,7 +193,7 @@ class ResourceOfSkuSearchResult(ModelNormal):
192
193
 
193
194
  @convert_js_args_to_python_args
194
195
  def __init__(self, *args, **kwargs): # noqa: E501
195
- """ResourceOfSkuSearchResult - a model defined in OpenAPI
196
+ """BrandIdSearchRequest - a model defined in OpenAPI
196
197
 
197
198
  Keyword Args:
198
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -225,9 +226,9 @@ class ResourceOfSkuSearchResult(ModelNormal):
225
226
  Animal class but this time we won't travel
226
227
  through its discriminator because we passed in
227
228
  _visited_composed_classes = (Animal,)
228
- attributes (SkuSearchResult): [optional] # noqa: E501
229
- id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
230
- type (str, none_type): [optional] # noqa: E501
229
+ retailer_ids ([int], none_type): IDs of the retailers we want to limit the search to. [optional] # noqa: E501
230
+ name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
231
+ brand_type (str, none_type): The type of brand, primarily where this brand belongs: UC, Retailer or All (both). [optional] # noqa: E501
231
232
  """
232
233
 
233
234
  _check_type = kwargs.pop('_check_type', True)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalRetailer(ModelNormal):
33
+ class BrandIdSearchResult(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -55,26 +55,12 @@ class ExternalRetailer(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('campaign_eligibilities',): {
59
- 'UNKNOWN': "unknown",
60
- 'AUCTION': "auction",
61
- 'PREFERRED': "preferred",
62
- },
63
58
  }
64
59
 
65
60
  validations = {
66
- ('name',): {
67
- 'max_length': 100,
68
- },
69
61
  }
70
62
 
71
- @cached_property
72
- def additional_properties_type():
73
- """
74
- This must be a method because a model may have properties that are
75
- of type self, this must run after the class is loaded
76
- """
77
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
78
64
 
79
65
  _nullable = False
80
66
 
@@ -89,8 +75,10 @@ class ExternalRetailer(ModelNormal):
89
75
  and the value is attribute type.
90
76
  """
91
77
  return {
78
+ 'id': (str,), # noqa: E501
92
79
  'name': (str,), # noqa: E501
93
- 'campaign_eligibilities': ([str],), # noqa: E501
80
+ 'brand_type': (str,), # noqa: E501
81
+ 'retailer_ids': ([int],), # noqa: E501
94
82
  }
95
83
 
96
84
  @cached_property
@@ -99,8 +87,10 @@ class ExternalRetailer(ModelNormal):
99
87
 
100
88
 
101
89
  attribute_map = {
90
+ 'id': 'id', # noqa: E501
102
91
  'name': 'name', # noqa: E501
103
- 'campaign_eligibilities': 'campaignEligibilities', # noqa: E501
92
+ 'brand_type': 'brandType', # noqa: E501
93
+ 'retailer_ids': 'retailerIds', # noqa: E501
104
94
  }
105
95
 
106
96
  read_only_vars = {
@@ -110,11 +100,14 @@ class ExternalRetailer(ModelNormal):
110
100
 
111
101
  @classmethod
112
102
  @convert_js_args_to_python_args
113
- def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501
114
- """ExternalRetailer - a model defined in OpenAPI
103
+ def _from_openapi_data(cls, id, name, brand_type, retailer_ids, *args, **kwargs): # noqa: E501
104
+ """BrandIdSearchResult - a model defined in OpenAPI
115
105
 
116
106
  Args:
117
- name (str):
107
+ id (str): The brand id
108
+ name (str): The name of the brand
109
+ brand_type (str): The type of the brand
110
+ retailer_ids ([int]): The retailer ids associated to the brand
118
111
 
119
112
  Keyword Args:
120
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -147,7 +140,6 @@ class ExternalRetailer(ModelNormal):
147
140
  Animal class but this time we won't travel
148
141
  through its discriminator because we passed in
149
142
  _visited_composed_classes = (Animal,)
150
- campaign_eligibilities ([str]): [optional] # noqa: E501
151
143
  """
152
144
 
153
145
  _check_type = kwargs.pop('_check_type', True)
@@ -179,7 +171,10 @@ class ExternalRetailer(ModelNormal):
179
171
  self._configuration = _configuration
180
172
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
181
173
 
174
+ self.id = id
182
175
  self.name = name
176
+ self.brand_type = brand_type
177
+ self.retailer_ids = retailer_ids
183
178
  for var_name, var_value in kwargs.items():
184
179
  if var_name not in self.attribute_map and \
185
180
  self._configuration is not None and \
@@ -200,11 +195,14 @@ class ExternalRetailer(ModelNormal):
200
195
  ])
201
196
 
202
197
  @convert_js_args_to_python_args
203
- def __init__(self, name, *args, **kwargs): # noqa: E501
204
- """ExternalRetailer - a model defined in OpenAPI
198
+ def __init__(self, id, name, brand_type, retailer_ids, *args, **kwargs): # noqa: E501
199
+ """BrandIdSearchResult - a model defined in OpenAPI
205
200
 
206
201
  Args:
207
- name (str):
202
+ id (str): The brand id
203
+ name (str): The name of the brand
204
+ brand_type (str): The type of the brand
205
+ retailer_ids ([int]): The retailer ids associated to the brand
208
206
 
209
207
  Keyword Args:
210
208
  _check_type (bool): if True, values for parameters in openapi_types
@@ -237,7 +235,6 @@ class ExternalRetailer(ModelNormal):
237
235
  Animal class but this time we won't travel
238
236
  through its discriminator because we passed in
239
237
  _visited_composed_classes = (Animal,)
240
- campaign_eligibilities ([str]): [optional] # noqa: E501
241
238
  """
242
239
 
243
240
  _check_type = kwargs.pop('_check_type', True)
@@ -267,7 +264,10 @@ class ExternalRetailer(ModelNormal):
267
264
  self._configuration = _configuration
268
265
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
269
266
 
267
+ self.id = id
270
268
  self.name = name
269
+ self.brand_type = brand_type
270
+ self.retailer_ids = retailer_ids
271
271
  for var_name, var_value in kwargs.items():
272
272
  if var_name not in self.attribute_map and \
273
273
  self._configuration is not None and \
@@ -85,7 +85,7 @@ class Category(ModelNormal):
85
85
  and the value is attribute type.
86
86
  """
87
87
  return {
88
- 'text': (str,), # noqa: E501
88
+ 'text': (str, none_type,), # noqa: E501
89
89
  }
90
90
 
91
91
  @cached_property
@@ -138,7 +138,7 @@ class Category(ModelNormal):
138
138
  Animal class but this time we won't travel
139
139
  through its discriminator because we passed in
140
140
  _visited_composed_classes = (Animal,)
141
- text (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
141
+ text (str, none_type): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
142
142
  """
143
143
 
144
144
  _check_type = kwargs.pop('_check_type', True)
@@ -224,7 +224,7 @@ class Category(ModelNormal):
224
224
  Animal class but this time we won't travel
225
225
  through its discriminator because we passed in
226
226
  _visited_composed_classes = (Animal,)
227
- text (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
227
+ text (str, none_type): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
228
228
  """
229
229
 
230
230
  _check_type = kwargs.pop('_check_type', True)
@@ -98,14 +98,9 @@ class ChangeDetailsV1(ModelNormal):
98
98
 
99
99
  @classmethod
100
100
  @convert_js_args_to_python_args
101
- def _from_openapi_data(cls, previous_value, current_value, change_value, *args, **kwargs): # noqa: E501
101
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
102
102
  """ChangeDetailsV1 - a model defined in OpenAPI
103
103
 
104
- Args:
105
- previous_value (str, none_type): Previous value of a property of the insertion order.
106
- current_value (str, none_type): Current value of a property of the insertion order.
107
- change_value (str, none_type): Change detail of a property of the insertion order.
108
-
109
104
  Keyword Args:
110
105
  _check_type (bool): if True, values for parameters in openapi_types
111
106
  will be type checked and a TypeError will be
@@ -137,6 +132,9 @@ class ChangeDetailsV1(ModelNormal):
137
132
  Animal class but this time we won't travel
138
133
  through its discriminator because we passed in
139
134
  _visited_composed_classes = (Animal,)
135
+ previous_value (str, none_type): Previous value of a property of the insertion order.. [optional] # noqa: E501
136
+ current_value (str, none_type): Current value of a property of the insertion order.. [optional] # noqa: E501
137
+ change_value (str, none_type): Change detail of a property of the insertion order.. [optional] # noqa: E501
140
138
  """
141
139
 
142
140
  _check_type = kwargs.pop('_check_type', True)
@@ -168,9 +166,6 @@ class ChangeDetailsV1(ModelNormal):
168
166
  self._configuration = _configuration
169
167
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
170
168
 
171
- self.previous_value = previous_value
172
- self.current_value = current_value
173
- self.change_value = change_value
174
169
  for var_name, var_value in kwargs.items():
175
170
  if var_name not in self.attribute_map and \
176
171
  self._configuration is not None and \
@@ -191,14 +186,9 @@ class ChangeDetailsV1(ModelNormal):
191
186
  ])
192
187
 
193
188
  @convert_js_args_to_python_args
194
- def __init__(self, previous_value, current_value, change_value, *args, **kwargs): # noqa: E501
189
+ def __init__(self, *args, **kwargs): # noqa: E501
195
190
  """ChangeDetailsV1 - a model defined in OpenAPI
196
191
 
197
- Args:
198
- previous_value (str, none_type): Previous value of a property of the insertion order.
199
- current_value (str, none_type): Current value of a property of the insertion order.
200
- change_value (str, none_type): Change detail of a property of the insertion order.
201
-
202
192
  Keyword Args:
203
193
  _check_type (bool): if True, values for parameters in openapi_types
204
194
  will be type checked and a TypeError will be
@@ -230,6 +220,9 @@ class ChangeDetailsV1(ModelNormal):
230
220
  Animal class but this time we won't travel
231
221
  through its discriminator because we passed in
232
222
  _visited_composed_classes = (Animal,)
223
+ previous_value (str, none_type): Previous value of a property of the insertion order.. [optional] # noqa: E501
224
+ current_value (str, none_type): Current value of a property of the insertion order.. [optional] # noqa: E501
225
+ change_value (str, none_type): Change detail of a property of the insertion order.. [optional] # noqa: E501
233
226
  """
234
227
 
235
228
  _check_type = kwargs.pop('_check_type', True)
@@ -259,9 +252,6 @@ class ChangeDetailsV1(ModelNormal):
259
252
  self._configuration = _configuration
260
253
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
261
254
 
262
- self.previous_value = previous_value
263
- self.current_value = current_value
264
- self.change_value = change_value
265
255
  for var_name, var_value in kwargs.items():
266
256
  if var_name not in self.attribute_map and \
267
257
  self._configuration is not None and \
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalChoiceVariableValue(ModelNormal):
33
+ class ChoiceVariableValue(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -60,13 +60,7 @@ class ExternalChoiceVariableValue(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- @cached_property
64
- def additional_properties_type():
65
- """
66
- This must be a method because a model may have properties that are
67
- of type self, this must run after the class is loaded
68
- """
69
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
70
64
 
71
65
  _nullable = False
72
66
 
@@ -101,7 +95,7 @@ class ExternalChoiceVariableValue(ModelNormal):
101
95
  @classmethod
102
96
  @convert_js_args_to_python_args
103
97
  def _from_openapi_data(cls, chosen_options, *args, **kwargs): # noqa: E501
104
- """ExternalChoiceVariableValue - a model defined in OpenAPI
98
+ """ChoiceVariableValue - a model defined in OpenAPI
105
99
 
106
100
  Args:
107
101
  chosen_options ([str]): The chosen options
@@ -190,7 +184,7 @@ class ExternalChoiceVariableValue(ModelNormal):
190
184
 
191
185
  @convert_js_args_to_python_args
192
186
  def __init__(self, chosen_options, *args, **kwargs): # noqa: E501
193
- """ExternalChoiceVariableValue - a model defined in OpenAPI
187
+ """ChoiceVariableValue - a model defined in OpenAPI
194
188
 
195
189
  Args:
196
190
  chosen_options ([str]): The chosen options
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalColorVariableValue(ModelNormal):
33
+ class ColorVariableValue(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -65,15 +65,9 @@ class ExternalColorVariableValue(ModelNormal):
65
65
  },
66
66
  }
67
67
 
68
- @cached_property
69
- def additional_properties_type():
70
- """
71
- This must be a method because a model may have properties that are
72
- of type self, this must run after the class is loaded
73
- """
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
68
+ additional_properties_type = None
75
69
 
76
- _nullable = False
70
+ _nullable = True
77
71
 
78
72
  @cached_property
79
73
  def openapi_types():
@@ -106,7 +100,7 @@ class ExternalColorVariableValue(ModelNormal):
106
100
  @classmethod
107
101
  @convert_js_args_to_python_args
108
102
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
109
- """ExternalColorVariableValue - a model defined in OpenAPI
103
+ """ColorVariableValue - a model defined in OpenAPI
110
104
 
111
105
  Keyword Args:
112
106
  _check_type (bool): if True, values for parameters in openapi_types
@@ -192,7 +186,7 @@ class ExternalColorVariableValue(ModelNormal):
192
186
 
193
187
  @convert_js_args_to_python_args
194
188
  def __init__(self, *args, **kwargs): # noqa: E501
195
- """ExternalColorVariableValue - a model defined in OpenAPI
189
+ """ColorVariableValue - a model defined in OpenAPI
196
190
 
197
191
  Keyword Args:
198
192
  _check_type (bool): if True, values for parameters in openapi_types
@@ -29,12 +29,8 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
29
29
  from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
- def lazy_import():
33
- from criteo_api_retailmedia_preview.model.sku_search_request_body import SkuSearchRequestBody
34
- globals()['SkuSearchRequestBody'] = SkuSearchRequestBody
35
32
 
36
-
37
- class SkuSearchRequest(ModelNormal):
33
+ class CpcMinBidsRequest(ModelNormal):
38
34
  """NOTE: This class is auto generated by OpenAPI Generator.
39
35
  Ref: https://openapi-generator.tech
40
36
 
@@ -78,9 +74,8 @@ class SkuSearchRequest(ModelNormal):
78
74
  openapi_types (dict): The key is attribute name
79
75
  and the value is attribute type.
80
76
  """
81
- lazy_import()
82
77
  return {
83
- 'data': (SkuSearchRequestBody,), # noqa: E501
78
+ 'sku_ids': ([str],), # noqa: E501
84
79
  }
85
80
 
86
81
  @cached_property
@@ -89,7 +84,7 @@ class SkuSearchRequest(ModelNormal):
89
84
 
90
85
 
91
86
  attribute_map = {
92
- 'data': 'data', # noqa: E501
87
+ 'sku_ids': 'skuIds', # noqa: E501
93
88
  }
94
89
 
95
90
  read_only_vars = {
@@ -99,11 +94,11 @@ class SkuSearchRequest(ModelNormal):
99
94
 
100
95
  @classmethod
101
96
  @convert_js_args_to_python_args
102
- def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
103
- """SkuSearchRequest - a model defined in OpenAPI
97
+ def _from_openapi_data(cls, sku_ids, *args, **kwargs): # noqa: E501
98
+ """CpcMinBidsRequest - a model defined in OpenAPI
104
99
 
105
100
  Args:
106
- data (SkuSearchRequestBody):
101
+ sku_ids ([str]): Sku id list for which minimum bid amounts are requested.
107
102
 
108
103
  Keyword Args:
109
104
  _check_type (bool): if True, values for parameters in openapi_types
@@ -167,7 +162,7 @@ class SkuSearchRequest(ModelNormal):
167
162
  self._configuration = _configuration
168
163
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
169
164
 
170
- self.data = data
165
+ self.sku_ids = sku_ids
171
166
  for var_name, var_value in kwargs.items():
172
167
  if var_name not in self.attribute_map and \
173
168
  self._configuration is not None and \
@@ -188,11 +183,11 @@ class SkuSearchRequest(ModelNormal):
188
183
  ])
189
184
 
190
185
  @convert_js_args_to_python_args
191
- def __init__(self, data, *args, **kwargs): # noqa: E501
192
- """SkuSearchRequest - a model defined in OpenAPI
186
+ def __init__(self, sku_ids, *args, **kwargs): # noqa: E501
187
+ """CpcMinBidsRequest - a model defined in OpenAPI
193
188
 
194
189
  Args:
195
- data (SkuSearchRequestBody):
190
+ sku_ids ([str]): Sku id list for which minimum bid amounts are requested.
196
191
 
197
192
  Keyword Args:
198
193
  _check_type (bool): if True, values for parameters in openapi_types
@@ -254,7 +249,7 @@ class SkuSearchRequest(ModelNormal):
254
249
  self._configuration = _configuration
255
250
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
256
251
 
257
- self.data = data
252
+ self.sku_ids = sku_ids
258
253
  for var_name, var_value in kwargs.items():
259
254
  if var_name not in self.attribute_map and \
260
255
  self._configuration is not None and \