criteo-api-retailmedia-sdk 0.0.241029__py3-none-any.whl → 0.0.250129__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 (91) 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/balance_api.py +0 -159
  4. criteo_api_retailmedia_preview/api/campaign_api.py +127 -921
  5. criteo_api_retailmedia_preview/api/catalog_api.py +161 -0
  6. criteo_api_retailmedia_preview/api_client.py +4 -4
  7. criteo_api_retailmedia_preview/configuration.py +1 -1
  8. criteo_api_retailmedia_preview/model/async_accounts_report.py +40 -0
  9. criteo_api_retailmedia_preview/model/async_campaigns_report.py +40 -0
  10. criteo_api_retailmedia_preview/model/async_line_items_report.py +40 -0
  11. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
  12. criteo_api_retailmedia_preview/model/brand_id_search_request.py +271 -0
  13. criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
  14. criteo_api_retailmedia_preview/model/category.py +3 -3
  15. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
  16. criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
  17. criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
  18. criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
  19. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
  20. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
  21. criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
  22. criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  23. criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
  24. criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
  25. criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
  26. criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
  27. criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → entity_resource_collection_outcome_brand_id_search_result.py} +17 -24
  28. 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
  29. criteo_api_retailmedia_preview/model/{entity_resource_of_retail_media_account.py → entity_resource_of_retail_media_child_account.py} +9 -9
  30. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
  31. criteo_api_retailmedia_preview/model/{external_retail_media_account.py → external_retail_media_child_account.py} +4 -8
  32. criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
  33. criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
  34. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
  35. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
  36. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
  37. criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → offset_page_metadata.py} +25 -15
  38. criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → outcome.py} +15 -17
  39. criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  40. criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
  41. criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
  42. criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  43. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  44. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
  45. criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
  46. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +296 -0
  47. criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
  48. criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
  49. criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
  50. criteo_api_retailmedia_preview/model/{external_brand.py → sku_min_bid.py} +18 -22
  51. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
  52. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
  53. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
  54. criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
  55. criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
  56. criteo_api_retailmedia_preview/model/{external_text_variable_value.py → text_variable_value.py} +5 -11
  57. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
  58. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
  59. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +266 -0
  60. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +266 -0
  61. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +262 -0
  62. criteo_api_retailmedia_preview/model/value_resource_input_cpc_min_bids_request.py +262 -0
  63. criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_of_seller_search.py} +8 -8
  64. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
  65. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → value_resource_of_seller_search.py} +13 -9
  66. criteo_api_retailmedia_preview/model/{proposal_status_model_response.py → value_resource_outcome_cpc_min_bids_response.py} +19 -19
  67. criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  68. criteo_api_retailmedia_preview/models/__init__.py +36 -49
  69. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/METADATA +14 -5
  70. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/RECORD +72 -85
  71. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/WHEEL +1 -1
  72. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
  73. criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
  74. criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
  75. criteo_api_retailmedia_preview/model/creative_v2_response.py +0 -281
  76. criteo_api_retailmedia_preview/model/external_account.py +0 -330
  77. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
  78. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_account_and_account.py +0 -285
  79. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +0 -285
  80. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +0 -285
  81. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
  82. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
  83. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
  84. criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
  85. criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
  86. criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +0 -277
  87. criteo_api_retailmedia_preview/model/resource_of_creative_v2.py +0 -277
  88. criteo_api_retailmedia_preview/model/retail_media_account.py +0 -301
  89. criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -274
  90. criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
  91. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.241029"
11
+ __version__ = "0.0.250129"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_preview.api_client import ApiClient
@@ -21,13 +21,11 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
21
21
  none_type,
22
22
  validate_and_convert_types
23
23
  )
24
- from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_account import EntityResourceCollectionOutcomeOfRetailMediaAccount
24
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account import EntityResourceCollectionOutcomeOfRetailMediaChildAccount
25
25
  from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
26
- from criteo_api_retailmedia_preview.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
27
- from criteo_api_retailmedia_preview.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount
28
- from criteo_api_retailmedia_preview.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller
26
+ from criteo_api_retailmedia_preview.model.outcome import Outcome
29
27
  from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller
30
- from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation
28
+ from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_search import ValueResourceInputOfSellerSearch
31
29
 
32
30
 
33
31
  class AccountsApi(object):
@@ -41,70 +39,9 @@ class AccountsApi(object):
41
39
  if api_client is None:
42
40
  api_client = ApiClient()
43
41
  self.api_client = api_client
44
- self.create_private_market_demand_seller_account_endpoint = _Endpoint(
45
- settings={
46
- 'response_type': (ResourceOutcomeOfRetailMediaAccount,),
47
- 'auth': [
48
- 'oauth',
49
- 'oauth'
50
- ],
51
- 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/create-seller-account',
52
- 'operation_id': 'create_private_market_demand_seller_account',
53
- 'http_method': 'POST',
54
- 'servers': None,
55
- },
56
- params_map={
57
- 'all': [
58
- 'account_id',
59
- 'value_resource_input_of_retail_media_seller_account_creation',
60
- ],
61
- 'required': [
62
- 'account_id',
63
- ],
64
- 'nullable': [
65
- ],
66
- 'enum': [
67
- ],
68
- 'validation': [
69
- ]
70
- },
71
- root_map={
72
- 'validations': {
73
- },
74
- 'allowed_values': {
75
- },
76
- 'openapi_types': {
77
- 'account_id':
78
- (str,),
79
- 'value_resource_input_of_retail_media_seller_account_creation':
80
- (ValueResourceInputOfRetailMediaSellerAccountCreation,),
81
- },
82
- 'attribute_map': {
83
- 'account_id': 'accountId',
84
- },
85
- 'location_map': {
86
- 'account_id': 'path',
87
- 'value_resource_input_of_retail_media_seller_account_creation': 'body',
88
- },
89
- 'collection_format_map': {
90
- }
91
- },
92
- headers_map={
93
- 'accept': [
94
- 'application/json'
95
- ],
96
- 'content_type': [
97
- 'application/json-patch+json',
98
- 'application/json',
99
- 'text/json',
100
- 'application/*+json'
101
- ]
102
- },
103
- api_client=api_client
104
- )
105
42
  self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint = _Endpoint(
106
43
  settings={
107
- 'response_type': (EntityResourceCollectionOutcomeOfRetailMediaAccount,),
44
+ 'response_type': (EntityResourceCollectionOutcomeOfRetailMediaChildAccount,),
108
45
  'auth': [
109
46
  'oauth',
110
47
  'oauth'
@@ -164,69 +101,6 @@ class AccountsApi(object):
164
101
  },
165
102
  api_client=api_client
166
103
  )
167
- self.get_api_v1_external_accounts_endpoint = _Endpoint(
168
- settings={
169
- 'response_type': (JsonApiPageResponseOfAccount,),
170
- 'auth': [
171
- 'oauth',
172
- 'oauth'
173
- ],
174
- 'endpoint_path': '/preview/retail-media/accounts',
175
- 'operation_id': 'get_api_v1_external_accounts',
176
- 'http_method': 'GET',
177
- 'servers': None,
178
- },
179
- params_map={
180
- 'all': [
181
- 'limit_to_id',
182
- 'page_index',
183
- 'page_size',
184
- ],
185
- 'required': [],
186
- 'nullable': [
187
- ],
188
- 'enum': [
189
- ],
190
- 'validation': [
191
- ]
192
- },
193
- root_map={
194
- 'validations': {
195
- },
196
- 'allowed_values': {
197
- },
198
- 'openapi_types': {
199
- 'limit_to_id':
200
- ([str],),
201
- 'page_index':
202
- (int,),
203
- 'page_size':
204
- (int,),
205
- },
206
- 'attribute_map': {
207
- 'limit_to_id': 'limitToId',
208
- 'page_index': 'pageIndex',
209
- 'page_size': 'pageSize',
210
- },
211
- 'location_map': {
212
- 'limit_to_id': 'query',
213
- 'page_index': 'query',
214
- 'page_size': 'query',
215
- },
216
- 'collection_format_map': {
217
- 'limit_to_id': 'multi',
218
- }
219
- },
220
- headers_map={
221
- 'accept': [
222
- 'text/plain',
223
- 'application/json',
224
- 'text/json'
225
- ],
226
- 'content_type': [],
227
- },
228
- api_client=api_client
229
- )
230
104
  self.grant_consent_endpoint = _Endpoint(
231
105
  settings={
232
106
  'response_type': None,
@@ -286,26 +160,23 @@ class AccountsApi(object):
286
160
  },
287
161
  api_client=api_client
288
162
  )
289
- self.update_sellers_endpoint = _Endpoint(
163
+ self.search_sellers_endpoint = _Endpoint(
290
164
  settings={
291
165
  'response_type': (ValueResourceCollectionOutcomeOfRetailMediaSeller,),
292
166
  'auth': [
293
167
  'oauth',
294
168
  'oauth'
295
169
  ],
296
- 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/sellers',
297
- 'operation_id': 'update_sellers',
298
- 'http_method': 'PUT',
170
+ 'endpoint_path': '/preview/retail-media/accounts/sellers/search',
171
+ 'operation_id': 'search_sellers',
172
+ 'http_method': 'POST',
299
173
  'servers': None,
300
174
  },
301
175
  params_map={
302
176
  'all': [
303
- 'account_id',
304
- 'value_resource_collection_input_of_retail_media_seller',
305
- ],
306
- 'required': [
307
- 'account_id',
177
+ 'value_resource_input_of_seller_search',
308
178
  ],
179
+ 'required': [],
309
180
  'nullable': [
310
181
  ],
311
182
  'enum': [
@@ -319,24 +190,22 @@ class AccountsApi(object):
319
190
  'allowed_values': {
320
191
  },
321
192
  'openapi_types': {
322
- 'account_id':
323
- (str,),
324
- 'value_resource_collection_input_of_retail_media_seller':
325
- (ValueResourceCollectionInputOfRetailMediaSeller,),
193
+ 'value_resource_input_of_seller_search':
194
+ (ValueResourceInputOfSellerSearch,),
326
195
  },
327
196
  'attribute_map': {
328
- 'account_id': 'accountId',
329
197
  },
330
198
  'location_map': {
331
- 'account_id': 'path',
332
- 'value_resource_collection_input_of_retail_media_seller': 'body',
199
+ 'value_resource_input_of_seller_search': 'body',
333
200
  },
334
201
  'collection_format_map': {
335
202
  }
336
203
  },
337
204
  headers_map={
338
205
  'accept': [
339
- 'application/json'
206
+ 'text/plain',
207
+ 'application/json',
208
+ 'text/json'
340
209
  ],
341
210
  'content_type': [
342
211
  'application/json-patch+json',
@@ -348,90 +217,6 @@ class AccountsApi(object):
348
217
  api_client=api_client
349
218
  )
350
219
 
351
- def create_private_market_demand_seller_account(
352
- self,
353
- account_id,
354
- **kwargs
355
- ):
356
- """create_private_market_demand_seller_account # noqa: E501
357
-
358
- Creates a new child Demand Seller Account for the provided parent private market account # noqa: E501
359
- This method makes a synchronous HTTP request by default. To make an
360
- asynchronous HTTP request, please pass async_req=True
361
-
362
- >>> thread = api.create_private_market_demand_seller_account(account_id, async_req=True)
363
- >>> result = thread.get()
364
-
365
- Args:
366
- account_id (str): Account Id for the parent private market account
367
-
368
- Keyword Args:
369
- value_resource_input_of_retail_media_seller_account_creation (ValueResourceInputOfRetailMediaSellerAccountCreation): Initial creation and configuration options for the new account. [optional]
370
- _return_http_data_only (bool): response data without head status
371
- code and headers. Default is True.
372
- _preload_content (bool): if False, the urllib3.HTTPResponse object
373
- will be returned without reading/decoding response data.
374
- Default is True.
375
- _request_timeout (int/float/tuple): timeout setting for this request. If
376
- one number provided, it will be total request timeout. It can also
377
- be a pair (tuple) of (connection, read) timeouts.
378
- Default is None.
379
- _check_input_type (bool): specifies if type checking
380
- should be done one the data sent to the server.
381
- Default is True.
382
- _check_return_type (bool): specifies if type checking
383
- should be done one the data received from the server.
384
- Default is True.
385
- _spec_property_naming (bool): True if the variable names in the input data
386
- are serialized names, as specified in the OpenAPI document.
387
- False if the variable names in the input data
388
- are pythonic names, e.g. snake case (default)
389
- _content_type (str/None): force body content-type.
390
- Default is None and content-type will be predicted by allowed
391
- content-types and body.
392
- _host_index (int/None): specifies the index of the server
393
- that we want to use.
394
- Default is read from the configuration.
395
- _request_auths (list): set to override the auth_settings for an a single
396
- request; this effectively ignores the authentication
397
- in the spec for a single request.
398
- Default is None
399
- async_req (bool): execute request asynchronously
400
-
401
- Returns:
402
- ResourceOutcomeOfRetailMediaAccount
403
- If the method is called asynchronously, returns the request
404
- thread.
405
- """
406
- kwargs['async_req'] = kwargs.get(
407
- 'async_req', False
408
- )
409
- kwargs['_return_http_data_only'] = kwargs.get(
410
- '_return_http_data_only', True
411
- )
412
- kwargs['_preload_content'] = kwargs.get(
413
- '_preload_content', True
414
- )
415
- kwargs['_request_timeout'] = kwargs.get(
416
- '_request_timeout', None
417
- )
418
- kwargs['_check_input_type'] = kwargs.get(
419
- '_check_input_type', True
420
- )
421
- kwargs['_check_return_type'] = kwargs.get(
422
- '_check_return_type', True
423
- )
424
- kwargs['_spec_property_naming'] = kwargs.get(
425
- '_spec_property_naming', False
426
- )
427
- kwargs['_content_type'] = kwargs.get(
428
- '_content_type')
429
- kwargs['_host_index'] = kwargs.get('_host_index')
430
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
431
- kwargs['account_id'] = \
432
- account_id
433
- return self.create_private_market_demand_seller_account_endpoint.call_with_http_info(**kwargs)
434
-
435
220
  def get_api_external_v1_account_private_market_child_accounts_by_account_id(
436
221
  self,
437
222
  account_id,
@@ -484,7 +269,7 @@ class AccountsApi(object):
484
269
  async_req (bool): execute request asynchronously
485
270
 
486
271
  Returns:
487
- EntityResourceCollectionOutcomeOfRetailMediaAccount
272
+ EntityResourceCollectionOutcomeOfRetailMediaChildAccount
488
273
  If the method is called asynchronously, returns the request
489
274
  thread.
490
275
  """
@@ -517,87 +302,6 @@ class AccountsApi(object):
517
302
  account_id
518
303
  return self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint.call_with_http_info(**kwargs)
519
304
 
520
- def get_api_v1_external_accounts(
521
- self,
522
- **kwargs
523
- ):
524
- """get_api_v1_external_accounts # noqa: E501
525
-
526
- Gets page of account objects that the current user can access # noqa: E501
527
- This method makes a synchronous HTTP request by default. To make an
528
- asynchronous HTTP request, please pass async_req=True
529
-
530
- >>> thread = api.get_api_v1_external_accounts(async_req=True)
531
- >>> result = thread.get()
532
-
533
-
534
- Keyword Args:
535
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
536
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
537
- page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
538
- _return_http_data_only (bool): response data without head status
539
- code and headers. Default is True.
540
- _preload_content (bool): if False, the urllib3.HTTPResponse object
541
- will be returned without reading/decoding response data.
542
- Default is True.
543
- _request_timeout (int/float/tuple): timeout setting for this request. If
544
- one number provided, it will be total request timeout. It can also
545
- be a pair (tuple) of (connection, read) timeouts.
546
- Default is None.
547
- _check_input_type (bool): specifies if type checking
548
- should be done one the data sent to the server.
549
- Default is True.
550
- _check_return_type (bool): specifies if type checking
551
- should be done one the data received from the server.
552
- Default is True.
553
- _spec_property_naming (bool): True if the variable names in the input data
554
- are serialized names, as specified in the OpenAPI document.
555
- False if the variable names in the input data
556
- are pythonic names, e.g. snake case (default)
557
- _content_type (str/None): force body content-type.
558
- Default is None and content-type will be predicted by allowed
559
- content-types and body.
560
- _host_index (int/None): specifies the index of the server
561
- that we want to use.
562
- Default is read from the configuration.
563
- _request_auths (list): set to override the auth_settings for an a single
564
- request; this effectively ignores the authentication
565
- in the spec for a single request.
566
- Default is None
567
- async_req (bool): execute request asynchronously
568
-
569
- Returns:
570
- JsonApiPageResponseOfAccount
571
- If the method is called asynchronously, returns the request
572
- thread.
573
- """
574
- kwargs['async_req'] = kwargs.get(
575
- 'async_req', False
576
- )
577
- kwargs['_return_http_data_only'] = kwargs.get(
578
- '_return_http_data_only', True
579
- )
580
- kwargs['_preload_content'] = kwargs.get(
581
- '_preload_content', True
582
- )
583
- kwargs['_request_timeout'] = kwargs.get(
584
- '_request_timeout', None
585
- )
586
- kwargs['_check_input_type'] = kwargs.get(
587
- '_check_input_type', True
588
- )
589
- kwargs['_check_return_type'] = kwargs.get(
590
- '_check_return_type', True
591
- )
592
- kwargs['_spec_property_naming'] = kwargs.get(
593
- '_spec_property_naming', False
594
- )
595
- kwargs['_content_type'] = kwargs.get(
596
- '_content_type')
597
- kwargs['_host_index'] = kwargs.get('_host_index')
598
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
599
- return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
600
-
601
305
  def grant_consent(
602
306
  self,
603
307
  account_id,
@@ -682,25 +386,22 @@ class AccountsApi(object):
682
386
  account_id
683
387
  return self.grant_consent_endpoint.call_with_http_info(**kwargs)
684
388
 
685
- def update_sellers(
389
+ def search_sellers(
686
390
  self,
687
- account_id,
688
391
  **kwargs
689
392
  ):
690
- """update_sellers # noqa: E501
393
+ """search_sellers # noqa: E501
691
394
 
692
- replace the sellers assoiated with an account # noqa: E501
395
+ Get the sellers mapped to provided accounts # noqa: E501
693
396
  This method makes a synchronous HTTP request by default. To make an
694
397
  asynchronous HTTP request, please pass async_req=True
695
398
 
696
- >>> thread = api.update_sellers(account_id, async_req=True)
399
+ >>> thread = api.search_sellers(async_req=True)
697
400
  >>> result = thread.get()
698
401
 
699
- Args:
700
- account_id (str): the account id to update
701
402
 
702
403
  Keyword Args:
703
- value_resource_collection_input_of_retail_media_seller (ValueResourceCollectionInputOfRetailMediaSeller): sellers to associate. [optional]
404
+ value_resource_input_of_seller_search (ValueResourceInputOfSellerSearch): . [optional]
704
405
  _return_http_data_only (bool): response data without head status
705
406
  code and headers. Default is True.
706
407
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -762,7 +463,5 @@ class AccountsApi(object):
762
463
  '_content_type')
763
464
  kwargs['_host_index'] = kwargs.get('_host_index')
764
465
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
765
- kwargs['account_id'] = \
766
- account_id
767
- return self.update_sellers_endpoint.call_with_http_info(**kwargs)
466
+ return self.search_sellers_endpoint.call_with_http_info(**kwargs)
768
467
 
@@ -21,7 +21,6 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
21
21
  none_type,
22
22
  validate_and_convert_types
23
23
  )
24
- from criteo_api_retailmedia_preview.model.add_funds_to_balance_v2_request import AddFundsToBalanceV2Request
25
24
  from criteo_api_retailmedia_preview.model.balance_response_v2_response import BalanceResponseV2Response
26
25
  from criteo_api_retailmedia_preview.model.change_dates_of_balance_v2_request import ChangeDatesOfBalanceV2Request
27
26
  from criteo_api_retailmedia_preview.model.create_balance_v2_request import CreateBalanceV2Request
@@ -317,73 +316,6 @@ class BalanceApi(object):
317
316
  },
318
317
  api_client=api_client
319
318
  )
320
- self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint = _Endpoint(
321
- settings={
322
- 'response_type': (BalanceResponseV2Response,),
323
- 'auth': [
324
- 'oauth',
325
- 'oauth'
326
- ],
327
- 'endpoint_path': '/preview/retail-media/accounts/{account-id}/balances/{balance-id}/add-funds',
328
- 'operation_id': 'post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id',
329
- 'http_method': 'POST',
330
- 'servers': None,
331
- },
332
- params_map={
333
- 'all': [
334
- 'account_id',
335
- 'balance_id',
336
- 'add_funds_to_balance_v2_request',
337
- ],
338
- 'required': [
339
- 'account_id',
340
- 'balance_id',
341
- 'add_funds_to_balance_v2_request',
342
- ],
343
- 'nullable': [
344
- ],
345
- 'enum': [
346
- ],
347
- 'validation': [
348
- ]
349
- },
350
- root_map={
351
- 'validations': {
352
- },
353
- 'allowed_values': {
354
- },
355
- 'openapi_types': {
356
- 'account_id':
357
- (str,),
358
- 'balance_id':
359
- (str,),
360
- 'add_funds_to_balance_v2_request':
361
- (AddFundsToBalanceV2Request,),
362
- },
363
- 'attribute_map': {
364
- 'account_id': 'account-id',
365
- 'balance_id': 'balance-id',
366
- },
367
- 'location_map': {
368
- 'account_id': 'path',
369
- 'balance_id': 'path',
370
- 'add_funds_to_balance_v2_request': 'body',
371
- },
372
- 'collection_format_map': {
373
- }
374
- },
375
- headers_map={
376
- 'accept': [
377
- 'text/plain',
378
- 'application/json',
379
- 'text/json'
380
- ],
381
- 'content_type': [
382
- 'application/json'
383
- ]
384
- },
385
- api_client=api_client
386
- )
387
319
  self.post_api_v2_external_account_balances_by_account_id_endpoint = _Endpoint(
388
320
  settings={
389
321
  'response_type': (BalanceResponseV2Response,),
@@ -863,97 +795,6 @@ class BalanceApi(object):
863
795
  update_balance_model_v2_request
864
796
  return self.patch_api_v2_external_account_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
865
797
 
866
- def post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(
867
- self,
868
- account_id,
869
- balance_id,
870
- add_funds_to_balance_v2_request,
871
- **kwargs
872
- ):
873
- """post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id # noqa: E501
874
-
875
- Add funds to a balance for the given account id # noqa: E501
876
- This method makes a synchronous HTTP request by default. To make an
877
- asynchronous HTTP request, please pass async_req=True
878
-
879
- >>> thread = api.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(account_id, balance_id, add_funds_to_balance_v2_request, async_req=True)
880
- >>> result = thread.get()
881
-
882
- Args:
883
- account_id (str): The account of the balance
884
- balance_id (str): The balance to add funds to
885
- add_funds_to_balance_v2_request (AddFundsToBalanceV2Request): An object that represents the available options of adding funds to a balance.
886
-
887
- Keyword Args:
888
- _return_http_data_only (bool): response data without head status
889
- code and headers. Default is True.
890
- _preload_content (bool): if False, the urllib3.HTTPResponse object
891
- will be returned without reading/decoding response data.
892
- Default is True.
893
- _request_timeout (int/float/tuple): timeout setting for this request. If
894
- one number provided, it will be total request timeout. It can also
895
- be a pair (tuple) of (connection, read) timeouts.
896
- Default is None.
897
- _check_input_type (bool): specifies if type checking
898
- should be done one the data sent to the server.
899
- Default is True.
900
- _check_return_type (bool): specifies if type checking
901
- should be done one the data received from the server.
902
- Default is True.
903
- _spec_property_naming (bool): True if the variable names in the input data
904
- are serialized names, as specified in the OpenAPI document.
905
- False if the variable names in the input data
906
- are pythonic names, e.g. snake case (default)
907
- _content_type (str/None): force body content-type.
908
- Default is None and content-type will be predicted by allowed
909
- content-types and body.
910
- _host_index (int/None): specifies the index of the server
911
- that we want to use.
912
- Default is read from the configuration.
913
- _request_auths (list): set to override the auth_settings for an a single
914
- request; this effectively ignores the authentication
915
- in the spec for a single request.
916
- Default is None
917
- async_req (bool): execute request asynchronously
918
-
919
- Returns:
920
- BalanceResponseV2Response
921
- If the method is called asynchronously, returns the request
922
- thread.
923
- """
924
- kwargs['async_req'] = kwargs.get(
925
- 'async_req', False
926
- )
927
- kwargs['_return_http_data_only'] = kwargs.get(
928
- '_return_http_data_only', True
929
- )
930
- kwargs['_preload_content'] = kwargs.get(
931
- '_preload_content', True
932
- )
933
- kwargs['_request_timeout'] = kwargs.get(
934
- '_request_timeout', None
935
- )
936
- kwargs['_check_input_type'] = kwargs.get(
937
- '_check_input_type', True
938
- )
939
- kwargs['_check_return_type'] = kwargs.get(
940
- '_check_return_type', True
941
- )
942
- kwargs['_spec_property_naming'] = kwargs.get(
943
- '_spec_property_naming', False
944
- )
945
- kwargs['_content_type'] = kwargs.get(
946
- '_content_type')
947
- kwargs['_host_index'] = kwargs.get('_host_index')
948
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
949
- kwargs['account_id'] = \
950
- account_id
951
- kwargs['balance_id'] = \
952
- balance_id
953
- kwargs['add_funds_to_balance_v2_request'] = \
954
- add_funds_to_balance_v2_request
955
- return self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
956
-
957
798
  def post_api_v2_external_account_balances_by_account_id(
958
799
  self,
959
800
  account_id,