criteo-api-retailmedia-sdk 0.0.250409__py3-none-any.whl → 0.0.250425__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 (44) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +3 -147
  3. criteo_api_retailmedia_preview/api/analytics_api.py +1 -1
  4. criteo_api_retailmedia_preview/api/campaign_api.py +0 -421
  5. criteo_api_retailmedia_preview/api_client.py +1 -1
  6. criteo_api_retailmedia_preview/configuration.py +1 -1
  7. criteo_api_retailmedia_preview/model/account_fees_update_request.py +4 -0
  8. criteo_api_retailmedia_preview/model/async_accounts_report.py +6 -6
  9. criteo_api_retailmedia_preview/model/async_campaigns_report.py +4 -4
  10. criteo_api_retailmedia_preview/model/async_line_items_report.py +4 -4
  11. criteo_api_retailmedia_preview/model/async_offsite_report.py +25 -18
  12. criteo_api_retailmedia_preview/model/brand_id_search_request.py +7 -1
  13. criteo_api_retailmedia_preview/model/brand_id_search_result.py +7 -1
  14. criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +8 -1
  15. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +8 -1
  16. criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +7 -1
  17. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +6 -6
  18. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +2 -2
  19. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +4 -4
  20. criteo_api_retailmedia_preview/model/sync_line_items_report.py +4 -4
  21. criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +8 -1
  22. criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_private_market_account_fees.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +9 -3
  23. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +8 -1
  24. criteo_api_retailmedia_preview/models/__init__.py +1 -17
  25. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/METADATA +3 -3
  26. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/RECORD +28 -44
  27. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/WHEEL +1 -1
  28. criteo_api_retailmedia_preview/model/common_error.py +0 -301
  29. criteo_api_retailmedia_preview/model/common_warning.py +0 -301
  30. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
  31. criteo_api_retailmedia_preview/model/grant_consent_input.py +0 -269
  32. criteo_api_retailmedia_preview/model/grant_consent_model.py +0 -279
  33. criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +0 -273
  34. criteo_api_retailmedia_preview/model/input_keywords.py +0 -265
  35. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +0 -279
  36. criteo_api_retailmedia_preview/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +0 -287
  37. criteo_api_retailmedia_preview/model/keywords.py +0 -297
  38. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +0 -269
  39. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +0 -281
  40. criteo_api_retailmedia_preview/model/recommended_keywords_result.py +0 -266
  41. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +0 -277
  42. criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +0 -266
  43. criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +0 -274
  44. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/top_level.txt +0 -0
@@ -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.250409".\
398
+ "SDK Package Version: 0.0.250425".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -62,6 +62,10 @@ class AccountFeesUpdateRequest(ModelNormal):
62
62
  }
63
63
 
64
64
  validations = {
65
+ ('account_ids',): {
66
+ 'max_items': 25,
67
+ 'min_items': 1,
68
+ },
65
69
  }
66
70
 
67
71
  additional_properties_type = None
@@ -161,9 +161,9 @@ class AsyncAccountsReport(ModelNormal):
161
161
  'CAPOUT': "capout",
162
162
  },
163
163
  ('sales_channel',): {
164
- 'ALL': "all",
165
- 'OFFLINE': "offline",
166
164
  'ONLINE': "online",
165
+ 'OFFLINE': "offline",
166
+ 'ALL': "all",
167
167
  },
168
168
  ('search_term_targetings',): {
169
169
  'UNKNOWN': "unknown",
@@ -294,13 +294,13 @@ class AsyncAccountsReport(ModelNormal):
294
294
  Animal class but this time we won't travel
295
295
  through its discriminator because we passed in
296
296
  _visited_composed_classes = (Animal,)
297
- aggregation_level (str): Level of aggregation, if no dimensions/metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
297
+ aggregation_level (str): Level of aggregation, if no dimensions and metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
298
298
  campaign_type (str): 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
299
299
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
300
300
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
301
301
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
302
302
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
303
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
303
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
304
304
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
305
305
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
306
306
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
@@ -399,13 +399,13 @@ class AsyncAccountsReport(ModelNormal):
399
399
  Animal class but this time we won't travel
400
400
  through its discriminator because we passed in
401
401
  _visited_composed_classes = (Animal,)
402
- aggregation_level (str): Level of aggregation, if no dimensions/metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
402
+ aggregation_level (str): Level of aggregation, if no dimensions and metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
403
403
  campaign_type (str): 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
404
404
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
405
405
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
406
406
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
407
407
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
408
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
408
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
409
409
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
410
410
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
411
411
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
@@ -157,9 +157,9 @@ class AsyncCampaignsReport(ModelNormal):
157
157
  'CAPOUT': "capout",
158
158
  },
159
159
  ('sales_channel',): {
160
- 'ALL': "all",
161
- 'OFFLINE': "offline",
162
160
  'ONLINE': "online",
161
+ 'OFFLINE': "offline",
162
+ 'ALL': "all",
163
163
  },
164
164
  ('search_term_targetings',): {
165
165
  'UNKNOWN': "unknown",
@@ -296,7 +296,7 @@ class AsyncCampaignsReport(ModelNormal):
296
296
  id (str): Campaign id to report on. [optional] # noqa: E501
297
297
  ids ([str]): Campaign ids to report on. [optional] # noqa: E501
298
298
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
299
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
299
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
300
300
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
301
301
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
302
302
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
@@ -400,7 +400,7 @@ class AsyncCampaignsReport(ModelNormal):
400
400
  id (str): Campaign id to report on. [optional] # noqa: E501
401
401
  ids ([str]): Campaign ids to report on. [optional] # noqa: E501
402
402
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
403
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
403
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
404
404
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
405
405
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
406
406
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
@@ -157,9 +157,9 @@ class AsyncLineItemsReport(ModelNormal):
157
157
  'CAPOUT': "capout",
158
158
  },
159
159
  ('sales_channel',): {
160
- 'ALL': "all",
161
- 'OFFLINE': "offline",
162
160
  'ONLINE': "online",
161
+ 'OFFLINE': "offline",
162
+ 'ALL': "all",
163
163
  },
164
164
  ('search_term_targetings',): {
165
165
  'UNKNOWN': "unknown",
@@ -296,7 +296,7 @@ class AsyncLineItemsReport(ModelNormal):
296
296
  id (str): Line Item id to report on. [optional] # noqa: E501
297
297
  ids ([str]): Line Item ids to report on. [optional] # noqa: E501
298
298
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
299
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
299
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
300
300
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
301
301
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
302
302
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
@@ -400,7 +400,7 @@ class AsyncLineItemsReport(ModelNormal):
400
400
  id (str): Line Item id to report on. [optional] # noqa: E501
401
401
  ids ([str]): Line Item ids to report on. [optional] # noqa: E501
402
402
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
403
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
403
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
404
404
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
405
405
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
406
406
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
@@ -67,17 +67,17 @@ class AsyncOffsiteReport(ModelNormal):
67
67
  'LINEITEMNAME': "lineItemName",
68
68
  'RETAILERID': "retailerId",
69
69
  'RETAILERNAME': "retailerName",
70
- 'CREATIVEID': "creativeId",
71
- 'CREATIVENAME': "creativeName",
72
70
  'BILLINGTYPE': "billingType",
73
- 'BUYTYPENAME': "buyTypeName",
74
71
  'ENVIRONMENT': "environment",
75
72
  'ADFORMATSIZE': "adFormatSize",
76
73
  'SSP': "ssp",
77
74
  'PUBLISHER': "publisher",
78
75
  'INVENTORYTYPE': "inventoryType",
79
76
  'MEDIATYPE': "mediaType",
77
+ 'BUYTYPE': "buyType",
80
78
  'SALESCHANNEL': "salesChannel",
79
+ 'CREATIVEID': "creativeId",
80
+ 'CREATIVENAME': "creativeName",
81
81
  },
82
82
  ('metrics',): {
83
83
  'AUDIENCE': "audience",
@@ -101,8 +101,8 @@ class AsyncOffsiteReport(ModelNormal):
101
101
  'VIDEOSPLAYEDTO50': "videosPlayedTo50",
102
102
  'VIDEOSPLAYEDTO75': "videosPlayedTo75",
103
103
  'VIDEOSPLAYEDTO100': "videosPlayedTo100",
104
- 'STARTINGRATE': "startingRate",
105
- 'COMPLETIONRATE': "completionRate",
104
+ 'VIDEOSTARTINGRATE': "videoStartingRate",
105
+ 'VIDEOCOMPLETIONRATE': "videoCompletionRate",
106
106
  'VIDEOCPC': "videoCPC",
107
107
  'VIDEOCPCV': "videoCPCV",
108
108
  'VISITS': "visits",
@@ -131,15 +131,16 @@ class AsyncOffsiteReport(ModelNormal):
131
131
  'JSON-NEWLINE': "json-newline",
132
132
  'CSV': "csv",
133
133
  },
134
- ('media_types',): {
135
- 'ALL': "all",
136
- 'DISPLAY': "display",
134
+ ('media_type',): {
135
+ 'UNKNOWN': "unknown",
137
136
  'VIDEO': "video",
137
+ 'DISPLAY': "display",
138
+ 'ALL': "all",
138
139
  },
139
140
  ('sales_channel',): {
140
- 'ALL': "all",
141
- 'OFFLINE': "offline",
142
141
  'ONLINE': "online",
142
+ 'OFFLINE': "offline",
143
+ 'ALL': "all",
143
144
  },
144
145
  ('view_attribution_window',): {
145
146
  'NONE': "none",
@@ -151,6 +152,12 @@ class AsyncOffsiteReport(ModelNormal):
151
152
  }
152
153
 
153
154
  validations = {
155
+ ('dimensions',): {
156
+ 'min_items': 1,
157
+ },
158
+ ('metrics',): {
159
+ 'min_items': 1,
160
+ },
154
161
  }
155
162
 
156
163
  @cached_property
@@ -186,7 +193,7 @@ class AsyncOffsiteReport(ModelNormal):
186
193
  'creative_ids': ([str],), # noqa: E501
187
194
  'format': (str,), # noqa: E501
188
195
  'line_item_ids': ([str],), # noqa: E501
189
- 'media_types': (str,), # noqa: E501
196
+ 'media_type': (str,), # noqa: E501
190
197
  'retailer_ids': ([str],), # noqa: E501
191
198
  'sales_channel': (str,), # noqa: E501
192
199
  'timezone': (str,), # noqa: E501
@@ -211,7 +218,7 @@ class AsyncOffsiteReport(ModelNormal):
211
218
  'creative_ids': 'creativeIds', # noqa: E501
212
219
  'format': 'format', # noqa: E501
213
220
  'line_item_ids': 'lineItemIds', # noqa: E501
214
- 'media_types': 'mediaTypes', # noqa: E501
221
+ 'media_type': 'mediaType', # noqa: E501
215
222
  'retailer_ids': 'retailerIds', # noqa: E501
216
223
  'sales_channel': 'salesChannel', # noqa: E501
217
224
  'timezone': 'timezone', # noqa: E501
@@ -270,13 +277,13 @@ class AsyncOffsiteReport(ModelNormal):
270
277
  campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
271
278
  campaign_type (str): 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
272
279
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
273
- creative_ids ([str]): Filter creative ids. [optional] # noqa: E501
280
+ creative_ids ([str]): Creative ids to filter. [optional] # noqa: E501
274
281
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
275
282
  line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
276
- media_types (str): Filter by media type. [optional] if omitted the server will use the default value of "all" # noqa: E501
283
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
277
284
  retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
278
285
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
279
- timezone (str): Time zone : see Criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
286
+ timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
280
287
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
281
288
  """
282
289
 
@@ -379,13 +386,13 @@ class AsyncOffsiteReport(ModelNormal):
379
386
  campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
380
387
  campaign_type (str): 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
381
388
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
382
- creative_ids ([str]): Filter creative ids. [optional] # noqa: E501
389
+ creative_ids ([str]): Creative ids to filter. [optional] # noqa: E501
383
390
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
384
391
  line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
385
- media_types (str): Filter by media type. [optional] if omitted the server will use the default value of "all" # noqa: E501
392
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
386
393
  retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
387
394
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
388
- timezone (str): Time zone : see Criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
395
+ timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
389
396
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
390
397
  """
391
398
 
@@ -68,7 +68,13 @@ class BrandIdSearchRequest(ModelNormal):
68
68
  },
69
69
  }
70
70
 
71
- additional_properties_type = None
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
72
78
 
73
79
  _nullable = False
74
80
 
@@ -60,7 +60,13 @@ class BrandIdSearchResult(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- additional_properties_type = None
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
64
70
 
65
71
  _nullable = True
66
72
 
@@ -64,7 +64,14 @@ class EntityResourceBrandIdSearchResult(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
76
  _nullable = False
70
77
 
@@ -68,7 +68,14 @@ class EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadat
68
68
  validations = {
69
69
  }
70
70
 
71
- additional_properties_type = None
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
+ lazy_import()
78
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
72
79
 
73
80
  _nullable = False
74
81
 
@@ -60,7 +60,13 @@ class PagingOffsetLimitMetadata(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- additional_properties_type = None
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
64
70
 
65
71
  _nullable = True
66
72
 
@@ -105,9 +105,9 @@ class SkuSlimDataPreview(ModelNormal):
105
105
  'updated_at': (datetime,), # noqa: E501
106
106
  'category': (str,), # noqa: E501
107
107
  'global_category_id': (str,), # noqa: E501
108
- 'gtin': (str,), # noqa: E501
108
+ 'gtin': (str, none_type,), # noqa: E501
109
109
  'image_url': (str,), # noqa: E501
110
- 'mpn': (str,), # noqa: E501
110
+ 'mpn': (str, none_type,), # noqa: E501
111
111
  'name': (str,), # noqa: E501
112
112
  'retailer_brand_id': (str,), # noqa: E501
113
113
  'retailer_brand_name': (str,), # noqa: E501
@@ -186,9 +186,9 @@ class SkuSlimDataPreview(ModelNormal):
186
186
  _visited_composed_classes = (Animal,)
187
187
  category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
188
188
  global_category_id (str): The global category Id.. [optional] # noqa: E501
189
- gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
189
+ gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
190
190
  image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
191
- mpn (str): The MPN for the product if available.. [optional] # noqa: E501
191
+ mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
192
192
  name (str): A short product name.. [optional] # noqa: E501
193
193
  retailer_brand_id (str): The retailer brand id associated to the product.. [optional] # noqa: E501
194
194
  retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
@@ -293,9 +293,9 @@ class SkuSlimDataPreview(ModelNormal):
293
293
  _visited_composed_classes = (Animal,)
294
294
  category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
295
295
  global_category_id (str): The global category Id.. [optional] # noqa: E501
296
- gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
296
+ gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
297
297
  image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
298
- mpn (str): The MPN for the product if available.. [optional] # noqa: E501
298
+ mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
299
299
  name (str): A short product name.. [optional] # noqa: E501
300
300
  retailer_brand_id (str): The retailer brand id associated to the product.. [optional] # noqa: E501
301
301
  retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
@@ -103,9 +103,9 @@ class SyncAttributedTransactionsReport(ModelNormal):
103
103
  'ATTRIBUTEDSALES': "attributedSales",
104
104
  },
105
105
  ('sales_channel',): {
106
- 'ALL': "all",
107
- 'OFFLINE': "offline",
108
106
  'ONLINE': "online",
107
+ 'OFFLINE': "offline",
108
+ 'ALL': "all",
109
109
  },
110
110
  ('view_attribution_window',): {
111
111
  'NONE': "none",
@@ -116,9 +116,9 @@ class SyncCampaignsReport(ModelNormal):
116
116
  'SERVEDCATEGORY': "servedCategory",
117
117
  },
118
118
  ('sales_channel',): {
119
- 'ALL': "all",
120
- 'OFFLINE': "offline",
121
119
  'ONLINE': "online",
120
+ 'OFFLINE': "offline",
121
+ 'ALL': "all",
122
122
  },
123
123
  ('view_attribution_window',): {
124
124
  'NONE': "none",
@@ -238,7 +238,7 @@ class SyncCampaignsReport(ModelNormal):
238
238
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
239
239
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
240
240
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
241
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
241
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
242
242
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
243
243
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
244
244
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
@@ -340,7 +340,7 @@ class SyncCampaignsReport(ModelNormal):
340
340
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
341
341
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
342
342
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
343
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
343
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
344
344
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
345
345
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
346
346
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
@@ -116,9 +116,9 @@ class SyncLineItemsReport(ModelNormal):
116
116
  'SERVEDCATEGORY': "servedCategory",
117
117
  },
118
118
  ('sales_channel',): {
119
- 'ALL': "all",
120
- 'OFFLINE': "offline",
121
119
  'ONLINE': "online",
120
+ 'OFFLINE': "offline",
121
+ 'ALL': "all",
122
122
  },
123
123
  ('view_attribution_window',): {
124
124
  'NONE': "none",
@@ -241,7 +241,7 @@ class SyncLineItemsReport(ModelNormal):
241
241
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
242
242
  line_item_ids ([str]): Line Item ids to filter. [optional] # noqa: E501
243
243
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
244
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
244
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
245
245
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
246
246
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
247
247
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
@@ -344,7 +344,7 @@ class SyncLineItemsReport(ModelNormal):
344
344
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
345
345
  line_item_ids ([str]): Line Item ids to filter. [optional] # noqa: E501
346
346
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
347
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
347
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
348
348
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
349
349
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
350
350
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
@@ -64,7 +64,14 @@ class ValueResourceBrandIdSearchRequest(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
76
  _nullable = False
70
77
 
@@ -30,13 +30,15 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
+ from criteo_api_retailmedia_preview.model.metadata import Metadata
33
34
  from criteo_api_retailmedia_preview.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
34
35
  from criteo_api_retailmedia_preview.model.value_resource_private_market_account_fees import ValueResourcePrivateMarketAccountFees
36
+ globals()['Metadata'] = Metadata
35
37
  globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
36
38
  globals()['ValueResourcePrivateMarketAccountFees'] = ValueResourcePrivateMarketAccountFees
37
39
 
38
40
 
39
- class ValueResourceCollectionOutcomePrivateMarketAccountFees(ModelNormal):
41
+ class ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata(ModelNormal):
40
42
  """NOTE: This class is auto generated by OpenAPI Generator.
41
43
  Ref: https://openapi-generator.tech
42
44
 
@@ -84,6 +86,7 @@ class ValueResourceCollectionOutcomePrivateMarketAccountFees(ModelNormal):
84
86
  return {
85
87
  'data': ([ValueResourcePrivateMarketAccountFees], none_type,), # noqa: E501
86
88
  'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
89
+ 'metadata': (Metadata,), # noqa: E501
87
90
  'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
88
91
  }
89
92
 
@@ -95,6 +98,7 @@ class ValueResourceCollectionOutcomePrivateMarketAccountFees(ModelNormal):
95
98
  attribute_map = {
96
99
  'data': 'data', # noqa: E501
97
100
  'errors': 'errors', # noqa: E501
101
+ 'metadata': 'metadata', # noqa: E501
98
102
  'warnings': 'warnings', # noqa: E501
99
103
  }
100
104
 
@@ -108,7 +112,7 @@ class ValueResourceCollectionOutcomePrivateMarketAccountFees(ModelNormal):
108
112
  @classmethod
109
113
  @convert_js_args_to_python_args
110
114
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111
- """ValueResourceCollectionOutcomePrivateMarketAccountFees - a model defined in OpenAPI
115
+ """ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata - a model defined in OpenAPI
112
116
 
113
117
  Keyword Args:
114
118
  _check_type (bool): if True, values for parameters in openapi_types
@@ -143,6 +147,7 @@ class ValueResourceCollectionOutcomePrivateMarketAccountFees(ModelNormal):
143
147
  _visited_composed_classes = (Animal,)
144
148
  data ([ValueResourcePrivateMarketAccountFees], none_type): [optional] # noqa: E501
145
149
  errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
150
+ metadata (Metadata): [optional] # noqa: E501
146
151
  warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
147
152
  """
148
153
 
@@ -196,7 +201,7 @@ class ValueResourceCollectionOutcomePrivateMarketAccountFees(ModelNormal):
196
201
 
197
202
  @convert_js_args_to_python_args
198
203
  def __init__(self, *args, **kwargs): # noqa: E501
199
- """ValueResourceCollectionOutcomePrivateMarketAccountFees - a model defined in OpenAPI
204
+ """ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata - a model defined in OpenAPI
200
205
 
201
206
  Keyword Args:
202
207
  _check_type (bool): if True, values for parameters in openapi_types
@@ -231,6 +236,7 @@ class ValueResourceCollectionOutcomePrivateMarketAccountFees(ModelNormal):
231
236
  _visited_composed_classes = (Animal,)
232
237
  data ([ValueResourcePrivateMarketAccountFees], none_type): [optional] # noqa: E501
233
238
  errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
239
+ metadata (Metadata): [optional] # noqa: E501
234
240
  warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
235
241
  """
236
242
 
@@ -64,7 +64,14 @@ class ValueResourceInputBrandIdSearchRequest(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
76
  _nullable = False
70
77