criteo-api-retailmedia-sdk 0.0.250728__py3-none-any.whl → 0.0.250811__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 (27) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/campaign_api.py +11 -351
  3. criteo_api_retailmedia_preview/api_client.py +1 -1
  4. criteo_api_retailmedia_preview/configuration.py +1 -1
  5. criteo_api_retailmedia_preview/model/{sku_slim_data_v2_list_response.py → entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata.py} +23 -24
  6. criteo_api_retailmedia_preview/model/flight_leg.py +16 -16
  7. criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +14 -18
  8. criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +12 -9
  9. criteo_api_retailmedia_preview/model/{sku_search_request_slim_preview_request.py → value_resource_input_of_sponsored_products_line_item_create_request_model.py} +9 -16
  10. criteo_api_retailmedia_preview/model/{sku_search_request_slim_v2_preview_request.py → value_resource_of_sponsored_products_line_item_create_request_model.py} +14 -17
  11. criteo_api_retailmedia_preview/models/__init__.py +3 -15
  12. {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250811.dist-info}/METADATA +3 -3
  13. {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250811.dist-info}/RECORD +15 -27
  14. criteo_api_retailmedia_preview/model/brand.py +0 -267
  15. criteo_api_retailmedia_preview/model/category.py +0 -267
  16. criteo_api_retailmedia_preview/model/page_of_sponsored_products_line_item.py +0 -276
  17. criteo_api_retailmedia_preview/model/resource_of_sku_search_request_slim_preview.py +0 -277
  18. criteo_api_retailmedia_preview/model/resource_of_sku_search_request_slim_v2_preview.py +0 -277
  19. criteo_api_retailmedia_preview/model/resource_of_sku_slim_data_preview.py +0 -277
  20. criteo_api_retailmedia_preview/model/resource_of_sku_slim_data_v2.py +0 -277
  21. criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +0 -275
  22. criteo_api_retailmedia_preview/model/sku_search_request_slim_v2_preview.py +0 -273
  23. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +0 -347
  24. criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +0 -281
  25. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +0 -321
  26. {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250811.dist-info}/WHEEL +0 -0
  27. {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250811.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.250728"
11
+ __version__ = "0.0.250811"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_preview.api_client import ApiClient
@@ -32,11 +32,11 @@ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_bra
32
32
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204 import EntityResourceCollectionOutcomeCategory202204
33
33
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204_metadata import EntityResourceCollectionOutcomeCategory202204Metadata
34
34
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
35
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata import EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
35
36
  from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_status_v2 import EntityResourceOutcomeOfCatalogStatusV2
36
37
  from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_sponsored_products_line_item import EntityResourceOutcomeOfSponsoredProductsLineItem
37
38
  from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
38
39
  from criteo_api_retailmedia_preview.model.outcome import Outcome
39
- from criteo_api_retailmedia_preview.model.page_of_sponsored_products_line_item import PageOfSponsoredProductsLineItem
40
40
  from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
41
41
  from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
42
42
  from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
@@ -53,15 +53,11 @@ from criteo_api_retailmedia_preview.model.seller_preview_response import SellerP
53
53
  from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
54
54
  from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
55
55
  from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
56
- from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_request import SkuSearchRequestSlimPreviewRequest
57
- from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
58
- from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
59
- from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
60
- from criteo_api_retailmedia_preview.model.sponsored_products_line_item_create_request_model import SponsoredProductsLineItemCreateRequestModel
61
56
  from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
62
57
  from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
63
58
  from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
64
59
  from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
60
+ from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_create_request_model import ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel
65
61
  from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
66
62
  from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
67
63
  from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
@@ -295,7 +291,7 @@ class CampaignApi(object):
295
291
  params_map={
296
292
  'all': [
297
293
  'campaign_id',
298
- 'sponsored_products_line_item_create_request_model',
294
+ 'value_resource_input_of_sponsored_products_line_item_create_request_model',
299
295
  ],
300
296
  'required': [
301
297
  'campaign_id',
@@ -315,15 +311,15 @@ class CampaignApi(object):
315
311
  'openapi_types': {
316
312
  'campaign_id':
317
313
  (str,),
318
- 'sponsored_products_line_item_create_request_model':
319
- (SponsoredProductsLineItemCreateRequestModel,),
314
+ 'value_resource_input_of_sponsored_products_line_item_create_request_model':
315
+ (ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel,),
320
316
  },
321
317
  'attribute_map': {
322
318
  'campaign_id': 'campaignId',
323
319
  },
324
320
  'location_map': {
325
321
  'campaign_id': 'path',
326
- 'sponsored_products_line_item_create_request_model': 'body',
322
+ 'value_resource_input_of_sponsored_products_line_item_create_request_model': 'body',
327
323
  },
328
324
  'collection_format_map': {
329
325
  }
@@ -1195,7 +1191,7 @@ class CampaignApi(object):
1195
1191
  },
1196
1192
  'openapi_types': {
1197
1193
  'line_item_id':
1198
- (str,),
1194
+ (int,),
1199
1195
  },
1200
1196
  'attribute_map': {
1201
1197
  'line_item_id': 'lineItemId',
@@ -1216,7 +1212,7 @@ class CampaignApi(object):
1216
1212
  )
1217
1213
  self.get_auction_line_items_by_campaign_id_v2_endpoint = _Endpoint(
1218
1214
  settings={
1219
- 'response_type': (PageOfSponsoredProductsLineItem,),
1215
+ 'response_type': (EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata,),
1220
1216
  'auth': [
1221
1217
  'oauth',
1222
1218
  'oauth'
@@ -1878,165 +1874,6 @@ class CampaignApi(object):
1878
1874
  },
1879
1875
  api_client=api_client
1880
1876
  )
1881
- self.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id_endpoint = _Endpoint(
1882
- settings={
1883
- 'response_type': (SkuSlimDataPreviewListResponse,),
1884
- 'auth': [
1885
- 'oauth',
1886
- 'oauth'
1887
- ],
1888
- 'endpoint_path': '/preview/retail-media/catalogs/sku-search/accounts/{account-id}/retailers/{retailer-id}',
1889
- 'operation_id': 'post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id',
1890
- 'http_method': 'POST',
1891
- 'servers': None,
1892
- },
1893
- params_map={
1894
- 'all': [
1895
- 'account_id',
1896
- 'retailer_id',
1897
- 'limit',
1898
- 'offset',
1899
- 'sku_search_request_slim_preview_request',
1900
- ],
1901
- 'required': [
1902
- 'account_id',
1903
- 'retailer_id',
1904
- ],
1905
- 'nullable': [
1906
- ],
1907
- 'enum': [
1908
- ],
1909
- 'validation': [
1910
- 'limit',
1911
- ]
1912
- },
1913
- root_map={
1914
- 'validations': {
1915
- ('limit',): {
1916
-
1917
- 'inclusive_maximum': 1500,
1918
- 'inclusive_minimum': 1,
1919
- },
1920
- },
1921
- 'allowed_values': {
1922
- },
1923
- 'openapi_types': {
1924
- 'account_id':
1925
- (str,),
1926
- 'retailer_id':
1927
- (str,),
1928
- 'limit':
1929
- (int,),
1930
- 'offset':
1931
- (int,),
1932
- 'sku_search_request_slim_preview_request':
1933
- (SkuSearchRequestSlimPreviewRequest,),
1934
- },
1935
- 'attribute_map': {
1936
- 'account_id': 'account-id',
1937
- 'retailer_id': 'retailer-id',
1938
- 'limit': 'limit',
1939
- 'offset': 'offset',
1940
- },
1941
- 'location_map': {
1942
- 'account_id': 'path',
1943
- 'retailer_id': 'path',
1944
- 'limit': 'query',
1945
- 'offset': 'query',
1946
- 'sku_search_request_slim_preview_request': 'body',
1947
- },
1948
- 'collection_format_map': {
1949
- }
1950
- },
1951
- headers_map={
1952
- 'accept': [
1953
- 'application/json'
1954
- ],
1955
- 'content_type': [
1956
- 'application/json'
1957
- ]
1958
- },
1959
- api_client=api_client
1960
- )
1961
- self.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id_endpoint = _Endpoint(
1962
- settings={
1963
- 'response_type': (SkuSlimDataV2ListResponse,),
1964
- 'auth': [
1965
- 'oauth',
1966
- 'oauth'
1967
- ],
1968
- 'endpoint_path': '/preview/retail-media/catalogs/sku/search/retailers/{retailer-id}',
1969
- 'operation_id': 'post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id',
1970
- 'http_method': 'POST',
1971
- 'servers': None,
1972
- },
1973
- params_map={
1974
- 'all': [
1975
- 'retailer_id',
1976
- 'limit',
1977
- 'offset',
1978
- 'x_origin_account',
1979
- 'sku_search_request_slim_v2_preview_request',
1980
- ],
1981
- 'required': [
1982
- 'retailer_id',
1983
- ],
1984
- 'nullable': [
1985
- ],
1986
- 'enum': [
1987
- ],
1988
- 'validation': [
1989
- 'limit',
1990
- ]
1991
- },
1992
- root_map={
1993
- 'validations': {
1994
- ('limit',): {
1995
-
1996
- 'inclusive_maximum': 1500,
1997
- 'inclusive_minimum': 1,
1998
- },
1999
- },
2000
- 'allowed_values': {
2001
- },
2002
- 'openapi_types': {
2003
- 'retailer_id':
2004
- (str,),
2005
- 'limit':
2006
- (int,),
2007
- 'offset':
2008
- (int,),
2009
- 'x_origin_account':
2010
- (str,),
2011
- 'sku_search_request_slim_v2_preview_request':
2012
- (SkuSearchRequestSlimV2PreviewRequest,),
2013
- },
2014
- 'attribute_map': {
2015
- 'retailer_id': 'retailer-id',
2016
- 'limit': 'limit',
2017
- 'offset': 'offset',
2018
- 'x_origin_account': 'X-Origin-Account',
2019
- },
2020
- 'location_map': {
2021
- 'retailer_id': 'path',
2022
- 'limit': 'query',
2023
- 'offset': 'query',
2024
- 'x_origin_account': 'header',
2025
- 'sku_search_request_slim_v2_preview_request': 'body',
2026
- },
2027
- 'collection_format_map': {
2028
- }
2029
- },
2030
- headers_map={
2031
- 'accept': [
2032
- 'application/json'
2033
- ],
2034
- 'content_type': [
2035
- 'application/json'
2036
- ]
2037
- },
2038
- api_client=api_client
2039
- )
2040
1877
  self.post_api_v2_external_account_creatives_by_account_id_endpoint = _Endpoint(
2041
1878
  settings={
2042
1879
  'response_type': (Creative2Response,),
@@ -2995,7 +2832,7 @@ class CampaignApi(object):
2995
2832
  campaign_id (str): The given campaign id
2996
2833
 
2997
2834
  Keyword Args:
2998
- sponsored_products_line_item_create_request_model (SponsoredProductsLineItemCreateRequestModel): The line item settings to create a line item with. [optional]
2835
+ value_resource_input_of_sponsored_products_line_item_create_request_model (ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel): The line item settings to create a line item with. [optional]
2999
2836
  _return_http_data_only (bool): response data without head status
3000
2837
  code and headers. Default is True.
3001
2838
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4264,7 +4101,7 @@ class CampaignApi(object):
4264
4101
  >>> result = thread.get()
4265
4102
 
4266
4103
  Args:
4267
- line_item_id (str): The id of the line item
4104
+ line_item_id (int): The id of the line item
4268
4105
 
4269
4106
  Keyword Args:
4270
4107
  _return_http_data_only (bool): response data without head status
@@ -4385,7 +4222,7 @@ class CampaignApi(object):
4385
4222
  async_req (bool): execute request asynchronously
4386
4223
 
4387
4224
  Returns:
4388
- PageOfSponsoredProductsLineItem
4225
+ EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
4389
4226
  If the method is called asynchronously, returns the request
4390
4227
  thread.
4391
4228
  """
@@ -5172,183 +5009,6 @@ class CampaignApi(object):
5172
5009
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5173
5010
  return self.post_api_v1_external_catalogs_sku_search_endpoint.call_with_http_info(**kwargs)
5174
5011
 
5175
- def post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(
5176
- self,
5177
- account_id,
5178
- retailer_id,
5179
- **kwargs
5180
- ):
5181
- """post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id # noqa: E501
5182
-
5183
- Endpoint to search skus by text, account and retailer with an option to filter by brands id's. # noqa: E501
5184
- This method makes a synchronous HTTP request by default. To make an
5185
- asynchronous HTTP request, please pass async_req=True
5186
-
5187
- >>> thread = api.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(account_id, retailer_id, async_req=True)
5188
- >>> result = thread.get()
5189
-
5190
- Args:
5191
- account_id (str): The account for which skus should be searched for.
5192
- retailer_id (str): The client id/retailer id for which skus should be searched for.
5193
-
5194
- Keyword Args:
5195
- limit (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
5196
- offset (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
5197
- sku_search_request_slim_preview_request (SkuSearchRequestSlimPreviewRequest): . [optional]
5198
- _return_http_data_only (bool): response data without head status
5199
- code and headers. Default is True.
5200
- _preload_content (bool): if False, the urllib3.HTTPResponse object
5201
- will be returned without reading/decoding response data.
5202
- Default is True.
5203
- _request_timeout (int/float/tuple): timeout setting for this request. If
5204
- one number provided, it will be total request timeout. It can also
5205
- be a pair (tuple) of (connection, read) timeouts.
5206
- Default is None.
5207
- _check_input_type (bool): specifies if type checking
5208
- should be done one the data sent to the server.
5209
- Default is True.
5210
- _check_return_type (bool): specifies if type checking
5211
- should be done one the data received from the server.
5212
- Default is True.
5213
- _spec_property_naming (bool): True if the variable names in the input data
5214
- are serialized names, as specified in the OpenAPI document.
5215
- False if the variable names in the input data
5216
- are pythonic names, e.g. snake case (default)
5217
- _content_type (str/None): force body content-type.
5218
- Default is None and content-type will be predicted by allowed
5219
- content-types and body.
5220
- _host_index (int/None): specifies the index of the server
5221
- that we want to use.
5222
- Default is read from the configuration.
5223
- _request_auths (list): set to override the auth_settings for an a single
5224
- request; this effectively ignores the authentication
5225
- in the spec for a single request.
5226
- Default is None
5227
- async_req (bool): execute request asynchronously
5228
-
5229
- Returns:
5230
- SkuSlimDataPreviewListResponse
5231
- If the method is called asynchronously, returns the request
5232
- thread.
5233
- """
5234
- kwargs['async_req'] = kwargs.get(
5235
- 'async_req', False
5236
- )
5237
- kwargs['_return_http_data_only'] = kwargs.get(
5238
- '_return_http_data_only', True
5239
- )
5240
- kwargs['_preload_content'] = kwargs.get(
5241
- '_preload_content', True
5242
- )
5243
- kwargs['_request_timeout'] = kwargs.get(
5244
- '_request_timeout', None
5245
- )
5246
- kwargs['_check_input_type'] = kwargs.get(
5247
- '_check_input_type', True
5248
- )
5249
- kwargs['_check_return_type'] = kwargs.get(
5250
- '_check_return_type', True
5251
- )
5252
- kwargs['_spec_property_naming'] = kwargs.get(
5253
- '_spec_property_naming', False
5254
- )
5255
- kwargs['_content_type'] = kwargs.get(
5256
- '_content_type')
5257
- kwargs['_host_index'] = kwargs.get('_host_index')
5258
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5259
- kwargs['account_id'] = \
5260
- account_id
5261
- kwargs['retailer_id'] = \
5262
- retailer_id
5263
- return self.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id_endpoint.call_with_http_info(**kwargs)
5264
-
5265
- def post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id(
5266
- self,
5267
- retailer_id,
5268
- **kwargs
5269
- ):
5270
- """post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id # noqa: E501
5271
-
5272
- Endpoint to search skus by text for a retailer with an option to filter by brands id's. # noqa: E501
5273
- This method makes a synchronous HTTP request by default. To make an
5274
- asynchronous HTTP request, please pass async_req=True
5275
-
5276
- >>> thread = api.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id(retailer_id, async_req=True)
5277
- >>> result = thread.get()
5278
-
5279
- Args:
5280
- retailer_id (str): The client id/retailer id for which skus should be searched for.
5281
-
5282
- Keyword Args:
5283
- limit (int): The maximum number of results to return with each call. Must be greater than zero and less than 1500. 10,000 records deep is the max limit.. [optional] if omitted the server will use the default value of 100
5284
- offset (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
5285
- x_origin_account (str): The account id of the initiator of the call.. [optional]
5286
- sku_search_request_slim_v2_preview_request (SkuSearchRequestSlimV2PreviewRequest): . [optional]
5287
- _return_http_data_only (bool): response data without head status
5288
- code and headers. Default is True.
5289
- _preload_content (bool): if False, the urllib3.HTTPResponse object
5290
- will be returned without reading/decoding response data.
5291
- Default is True.
5292
- _request_timeout (int/float/tuple): timeout setting for this request. If
5293
- one number provided, it will be total request timeout. It can also
5294
- be a pair (tuple) of (connection, read) timeouts.
5295
- Default is None.
5296
- _check_input_type (bool): specifies if type checking
5297
- should be done one the data sent to the server.
5298
- Default is True.
5299
- _check_return_type (bool): specifies if type checking
5300
- should be done one the data received from the server.
5301
- Default is True.
5302
- _spec_property_naming (bool): True if the variable names in the input data
5303
- are serialized names, as specified in the OpenAPI document.
5304
- False if the variable names in the input data
5305
- are pythonic names, e.g. snake case (default)
5306
- _content_type (str/None): force body content-type.
5307
- Default is None and content-type will be predicted by allowed
5308
- content-types and body.
5309
- _host_index (int/None): specifies the index of the server
5310
- that we want to use.
5311
- Default is read from the configuration.
5312
- _request_auths (list): set to override the auth_settings for an a single
5313
- request; this effectively ignores the authentication
5314
- in the spec for a single request.
5315
- Default is None
5316
- async_req (bool): execute request asynchronously
5317
-
5318
- Returns:
5319
- SkuSlimDataV2ListResponse
5320
- If the method is called asynchronously, returns the request
5321
- thread.
5322
- """
5323
- kwargs['async_req'] = kwargs.get(
5324
- 'async_req', False
5325
- )
5326
- kwargs['_return_http_data_only'] = kwargs.get(
5327
- '_return_http_data_only', True
5328
- )
5329
- kwargs['_preload_content'] = kwargs.get(
5330
- '_preload_content', True
5331
- )
5332
- kwargs['_request_timeout'] = kwargs.get(
5333
- '_request_timeout', None
5334
- )
5335
- kwargs['_check_input_type'] = kwargs.get(
5336
- '_check_input_type', True
5337
- )
5338
- kwargs['_check_return_type'] = kwargs.get(
5339
- '_check_return_type', True
5340
- )
5341
- kwargs['_spec_property_naming'] = kwargs.get(
5342
- '_spec_property_naming', False
5343
- )
5344
- kwargs['_content_type'] = kwargs.get(
5345
- '_content_type')
5346
- kwargs['_host_index'] = kwargs.get('_host_index')
5347
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5348
- kwargs['retailer_id'] = \
5349
- retailer_id
5350
- return self.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id_endpoint.call_with_http_info(**kwargs)
5351
-
5352
5012
  def post_api_v2_external_account_creatives_by_account_id(
5353
5013
  self,
5354
5014
  account_id,
@@ -76,7 +76,7 @@ class ApiClient(object):
76
76
  self.default_headers[header_name] = header_value
77
77
  self.cookie = cookie
78
78
  # Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/0.0.250728/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.250811/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: Preview\n"\
398
- "SDK Package Version: 0.0.250728".\
398
+ "SDK Package Version: 0.0.250811".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -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.problem_details import ProblemDetails
34
- from criteo_api_retailmedia_preview.model.resource_of_sku_slim_data_v2 import ResourceOfSkuSlimDataV2
35
- globals()['ProblemDetails'] = ProblemDetails
36
- globals()['ResourceOfSkuSlimDataV2'] = ResourceOfSkuSlimDataV2
33
+ from criteo_api_retailmedia_preview.model.entity_resource_of_sponsored_products_line_item import EntityResourceOfSponsoredProductsLineItem
34
+ from criteo_api_retailmedia_preview.model.metadata import Metadata
35
+ from criteo_api_retailmedia_preview.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
36
+ globals()['EntityResourceOfSponsoredProductsLineItem'] = EntityResourceOfSponsoredProductsLineItem
37
+ globals()['Metadata'] = Metadata
38
+ globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
37
39
 
38
40
 
39
- class SkuSlimDataV2ListResponse(ModelNormal):
41
+ class EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata(ModelNormal):
40
42
  """NOTE: This class is auto generated by OpenAPI Generator.
41
43
  Ref: https://openapi-generator.tech
42
44
 
@@ -66,14 +68,7 @@ class SkuSlimDataV2ListResponse(ModelNormal):
66
68
  validations = {
67
69
  }
68
70
 
69
- @cached_property
70
- def additional_properties_type():
71
- """
72
- This must be a method because a model may have properties that are
73
- of type self, this must run after the class is loaded
74
- """
75
- lazy_import()
76
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
71
+ additional_properties_type = None
77
72
 
78
73
  _nullable = False
79
74
 
@@ -89,9 +84,10 @@ class SkuSlimDataV2ListResponse(ModelNormal):
89
84
  """
90
85
  lazy_import()
91
86
  return {
92
- 'data': ([ResourceOfSkuSlimDataV2],), # noqa: E501
93
- 'errors': ([ProblemDetails],), # noqa: E501
94
- 'warnings': ([ProblemDetails],), # noqa: E501
87
+ 'data': ([EntityResourceOfSponsoredProductsLineItem], none_type,), # noqa: E501
88
+ 'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
89
+ 'metadata': (Metadata,), # noqa: E501
90
+ 'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
95
91
  }
96
92
 
97
93
  @cached_property
@@ -102,6 +98,7 @@ class SkuSlimDataV2ListResponse(ModelNormal):
102
98
  attribute_map = {
103
99
  'data': 'data', # noqa: E501
104
100
  'errors': 'errors', # noqa: E501
101
+ 'metadata': 'metadata', # noqa: E501
105
102
  'warnings': 'warnings', # noqa: E501
106
103
  }
107
104
 
@@ -115,7 +112,7 @@ class SkuSlimDataV2ListResponse(ModelNormal):
115
112
  @classmethod
116
113
  @convert_js_args_to_python_args
117
114
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
- """SkuSlimDataV2ListResponse - a model defined in OpenAPI
115
+ """EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata - a model defined in OpenAPI
119
116
 
120
117
  Keyword Args:
121
118
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,9 +145,10 @@ class SkuSlimDataV2ListResponse(ModelNormal):
148
145
  Animal class but this time we won't travel
149
146
  through its discriminator because we passed in
150
147
  _visited_composed_classes = (Animal,)
151
- data ([ResourceOfSkuSlimDataV2]): [optional] # noqa: E501
152
- errors ([ProblemDetails]): [optional] # noqa: E501
153
- warnings ([ProblemDetails]): [optional] # noqa: E501
148
+ data ([EntityResourceOfSponsoredProductsLineItem], none_type): [optional] # noqa: E501
149
+ errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
150
+ metadata (Metadata): [optional] # noqa: E501
151
+ warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
154
152
  """
155
153
 
156
154
  _check_type = kwargs.pop('_check_type', True)
@@ -203,7 +201,7 @@ class SkuSlimDataV2ListResponse(ModelNormal):
203
201
 
204
202
  @convert_js_args_to_python_args
205
203
  def __init__(self, *args, **kwargs): # noqa: E501
206
- """SkuSlimDataV2ListResponse - a model defined in OpenAPI
204
+ """EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata - a model defined in OpenAPI
207
205
 
208
206
  Keyword Args:
209
207
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,9 +234,10 @@ class SkuSlimDataV2ListResponse(ModelNormal):
236
234
  Animal class but this time we won't travel
237
235
  through its discriminator because we passed in
238
236
  _visited_composed_classes = (Animal,)
239
- data ([ResourceOfSkuSlimDataV2]): [optional] # noqa: E501
240
- errors ([ProblemDetails]): [optional] # noqa: E501
241
- warnings ([ProblemDetails]): [optional] # noqa: E501
237
+ data ([EntityResourceOfSponsoredProductsLineItem], none_type): [optional] # noqa: E501
238
+ errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
239
+ metadata (Metadata): [optional] # noqa: E501
240
+ warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
242
241
  """
243
242
 
244
243
  _check_type = kwargs.pop('_check_type', True)
@@ -56,16 +56,16 @@ class FlightLeg(ModelNormal):
56
56
 
57
57
  allowed_values = {
58
58
  ('day_of_week',): {
59
- 'SUNDAY': "Sunday",
60
- 'MONDAY': "Monday",
61
- 'TUESDAY': "Tuesday",
62
- 'WEDNESDAY': "Wednesday",
63
- 'THURSDAY': "Thursday",
64
- 'FRIDAY': "Friday",
65
- 'SATURDAY': "Saturday",
66
- 'EVERYDAY': "Everyday",
67
- 'WEEKDAYS': "Weekdays",
68
- 'WEEKENDS': "Weekends",
59
+ 'SUNDAY': "sunday",
60
+ 'MONDAY': "monday",
61
+ 'TUESDAY': "tuesday",
62
+ 'WEDNESDAY': "wednesday",
63
+ 'THURSDAY': "thursday",
64
+ 'FRIDAY': "friday",
65
+ 'SATURDAY': "saturday",
66
+ 'EVERYDAY': "everyday",
67
+ 'WEEKDAYS': "weekdays",
68
+ 'WEEKENDS': "weekends",
69
69
  },
70
70
  }
71
71
 
@@ -88,8 +88,8 @@ class FlightLeg(ModelNormal):
88
88
  """
89
89
  return {
90
90
  'day_of_week': (str,), # noqa: E501
91
- 'end_time': (datetime,), # noqa: E501
92
- 'start_time': (datetime,), # noqa: E501
91
+ 'end_time': (str,), # noqa: E501
92
+ 'start_time': (str,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -115,8 +115,8 @@ class FlightLeg(ModelNormal):
115
115
 
116
116
  Args:
117
117
  day_of_week (str): Enum for the days of the week.
118
- end_time (datetime):
119
- start_time (datetime):
118
+ end_time (str):
119
+ start_time (str):
120
120
 
121
121
  Keyword Args:
122
122
  _check_type (bool): if True, values for parameters in openapi_types
@@ -208,8 +208,8 @@ class FlightLeg(ModelNormal):
208
208
 
209
209
  Args:
210
210
  day_of_week (str): Enum for the days of the week.
211
- end_time (datetime):
212
- start_time (datetime):
211
+ end_time (str):
212
+ start_time (str):
213
213
 
214
214
  Keyword Args:
215
215
  _check_type (bool): if True, values for parameters in openapi_types