criteo-api-retailmedia-sdk 0.0.240626__py3-none-any.whl → 0.0.240808__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 (81) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +50 -343
  3. criteo_api_retailmedia_preview/api/audience_api.py +835 -58
  4. criteo_api_retailmedia_preview/api/balance_api.py +1134 -0
  5. criteo_api_retailmedia_preview/api/campaign_api.py +175 -168
  6. criteo_api_retailmedia_preview/api_client.py +4 -4
  7. criteo_api_retailmedia_preview/apis/__init__.py +1 -0
  8. criteo_api_retailmedia_preview/configuration.py +1 -1
  9. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +277 -0
  10. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brand_account_creation.py → add_funds_to_balance_v2_request.py} +16 -9
  11. criteo_api_retailmedia_preview/model/application_summary_model_response.py +0 -4
  12. criteo_api_retailmedia_preview/model/async_accounts_report.py +2 -0
  13. criteo_api_retailmedia_preview/model/async_campaigns_report.py +2 -0
  14. criteo_api_retailmedia_preview/model/async_line_items_report.py +2 -0
  15. criteo_api_retailmedia_preview/model/{insertion_order_history_change_data_capture.py → balance_history_change_data_capture_v1.py} +11 -11
  16. criteo_api_retailmedia_preview/model/balance_response_v2.py +351 -0
  17. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +281 -0
  18. criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +271 -0
  19. criteo_api_retailmedia_preview/model/change_dates_of_balance_v2_request.py +269 -0
  20. criteo_api_retailmedia_preview/model/{change_details.py → change_details_v1.py} +3 -3
  21. criteo_api_retailmedia_preview/model/change_details_v2.py +275 -0
  22. criteo_api_retailmedia_preview/model/common_problem.py +2 -2
  23. criteo_api_retailmedia_preview/model/create_balance_v2.py +302 -0
  24. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brands.py → create_balance_v2_request.py} +16 -9
  25. criteo_api_retailmedia_preview/model/external_catalog_status.py +312 -0
  26. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +303 -0
  27. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py +285 -0
  28. criteo_api_retailmedia_preview/model/json_api_body_without_id_of_seller_catalog_request_and_seller_catalog_request.py +279 -0
  29. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +8 -6
  30. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +8 -6
  31. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +8 -6
  32. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +269 -0
  33. criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +287 -0
  34. criteo_api_retailmedia_preview/model/{retail_media_brands.py → nillable_string.py} +14 -8
  35. criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +276 -0
  36. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture.py → page_of_insertion_order_history_change_data_capture_v2.py} +8 -8
  37. criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +287 -0
  38. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +6 -4
  39. criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +277 -0
  40. criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py +277 -0
  41. criteo_api_retailmedia_preview/model/resource_of_change_dates_of_balance_v2.py +277 -0
  42. criteo_api_retailmedia_preview/model/resource_of_create_balance_v2.py +277 -0
  43. criteo_api_retailmedia_preview/model/resource_of_update_balance_model_v2.py +277 -0
  44. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +6 -6
  45. criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py +269 -0
  46. criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py +269 -0
  47. criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py +269 -0
  48. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +281 -0
  49. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brand_account_creation.py → rm_audience_segment_create_entity_v1_resource.py} +16 -9
  50. criteo_api_retailmedia_preview/model/rm_audience_segment_delete_entity_v1_resource.py +271 -0
  51. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +323 -0
  52. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +281 -0
  53. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_resource.py +277 -0
  54. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +287 -0
  55. criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +281 -0
  56. criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_resource.py +271 -0
  57. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +277 -0
  58. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +273 -0
  59. criteo_api_retailmedia_preview/model/rm_audience_segment_search_input_v1.py +269 -0
  60. criteo_api_retailmedia_preview/model/{retail_media_brand_account_creation.py → rm_audience_segment_search_metadata_v1.py} +22 -16
  61. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +277 -0
  62. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1_resource.py +277 -0
  63. criteo_api_retailmedia_preview/model/rm_contact_list_create_v1.py +270 -0
  64. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +271 -0
  65. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py +277 -0
  66. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +281 -0
  67. criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +286 -0
  68. criteo_api_retailmedia_preview/model/rm_user_behavior_v1.py +303 -0
  69. criteo_api_retailmedia_preview/model/seller_catalog_request.py +269 -0
  70. criteo_api_retailmedia_preview/model/seller_identifier.py +275 -0
  71. criteo_api_retailmedia_preview/model/sku_data_preview.py +8 -6
  72. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +8 -6
  73. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +2 -0
  74. criteo_api_retailmedia_preview/model/sync_line_items_report.py +2 -0
  75. criteo_api_retailmedia_preview/model/update_balance_model_v2.py +279 -0
  76. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brands.py → update_balance_model_v2_request.py} +17 -14
  77. criteo_api_retailmedia_preview/models/__init__.py +54 -9
  78. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/METADATA +3 -3
  79. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/RECORD +81 -35
  80. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/WHEEL +1 -1
  81. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.240626"
11
+ __version__ = "0.0.240808"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_preview.api_client import ApiClient
@@ -22,13 +22,11 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
22
22
  validate_and_convert_types
23
23
  )
24
24
  from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
25
+ from criteo_api_retailmedia_preview.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
25
26
  from criteo_api_retailmedia_preview.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount
26
27
  from criteo_api_retailmedia_preview.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller
27
28
  from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller
28
- from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_brand_account_creation import ValueResourceInputOfRetailMediaBrandAccountCreation
29
- from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_brands import ValueResourceInputOfRetailMediaBrands
30
29
  from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation
31
- from criteo_api_retailmedia_preview.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands
32
30
 
33
31
 
34
32
  class AccountsApi(object):
@@ -42,83 +40,22 @@ class AccountsApi(object):
42
40
  if api_client is None:
43
41
  api_client = ApiClient()
44
42
  self.api_client = api_client
45
- self.add_brands_endpoint = _Endpoint(
46
- settings={
47
- 'response_type': (ValueResourceOfRetailMediaBrands,),
48
- 'auth': [
49
- 'oauth',
50
- 'oauth'
51
- ],
52
- 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/brands/add',
53
- 'operation_id': 'add_brands',
54
- 'http_method': 'POST',
55
- 'servers': None,
56
- },
57
- params_map={
58
- 'all': [
59
- 'account_id',
60
- 'value_resource_input_of_retail_media_brands',
61
- ],
62
- 'required': [
63
- 'account_id',
64
- ],
65
- 'nullable': [
66
- ],
67
- 'enum': [
68
- ],
69
- 'validation': [
70
- ]
71
- },
72
- root_map={
73
- 'validations': {
74
- },
75
- 'allowed_values': {
76
- },
77
- 'openapi_types': {
78
- 'account_id':
79
- (str,),
80
- 'value_resource_input_of_retail_media_brands':
81
- (ValueResourceInputOfRetailMediaBrands,),
82
- },
83
- 'attribute_map': {
84
- 'account_id': 'accountId',
85
- },
86
- 'location_map': {
87
- 'account_id': 'path',
88
- 'value_resource_input_of_retail_media_brands': 'body',
89
- },
90
- 'collection_format_map': {
91
- }
92
- },
93
- headers_map={
94
- 'accept': [
95
- 'application/json'
96
- ],
97
- 'content_type': [
98
- 'application/json-patch+json',
99
- 'application/json',
100
- 'text/json',
101
- 'application/*+json'
102
- ]
103
- },
104
- api_client=api_client
105
- )
106
- self.create_private_market_demand_brand_account_endpoint = _Endpoint(
43
+ self.create_private_market_demand_seller_account_endpoint = _Endpoint(
107
44
  settings={
108
45
  'response_type': (ResourceOutcomeOfRetailMediaAccount,),
109
46
  'auth': [
110
47
  'oauth',
111
48
  'oauth'
112
49
  ],
113
- 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/create-brand-account',
114
- 'operation_id': 'create_private_market_demand_brand_account',
50
+ 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/create-seller-account',
51
+ 'operation_id': 'create_private_market_demand_seller_account',
115
52
  'http_method': 'POST',
116
53
  'servers': None,
117
54
  },
118
55
  params_map={
119
56
  'all': [
120
57
  'account_id',
121
- 'value_resource_input_of_retail_media_brand_account_creation',
58
+ 'value_resource_input_of_retail_media_seller_account_creation',
122
59
  ],
123
60
  'required': [
124
61
  'account_id',
@@ -138,15 +75,15 @@ class AccountsApi(object):
138
75
  'openapi_types': {
139
76
  'account_id':
140
77
  (str,),
141
- 'value_resource_input_of_retail_media_brand_account_creation':
142
- (ValueResourceInputOfRetailMediaBrandAccountCreation,),
78
+ 'value_resource_input_of_retail_media_seller_account_creation':
79
+ (ValueResourceInputOfRetailMediaSellerAccountCreation,),
143
80
  },
144
81
  'attribute_map': {
145
82
  'account_id': 'accountId',
146
83
  },
147
84
  'location_map': {
148
85
  'account_id': 'path',
149
- 'value_resource_input_of_retail_media_brand_account_creation': 'body',
86
+ 'value_resource_input_of_retail_media_seller_account_creation': 'body',
150
87
  },
151
88
  'collection_format_map': {
152
89
  }
@@ -164,26 +101,25 @@ class AccountsApi(object):
164
101
  },
165
102
  api_client=api_client
166
103
  )
167
- self.create_private_market_demand_seller_account_endpoint = _Endpoint(
104
+ self.get_api_v1_external_accounts_endpoint = _Endpoint(
168
105
  settings={
169
- 'response_type': (ResourceOutcomeOfRetailMediaAccount,),
106
+ 'response_type': (JsonApiPageResponseOfAccount,),
170
107
  'auth': [
171
108
  'oauth',
172
109
  'oauth'
173
110
  ],
174
- 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/create-seller-account',
175
- 'operation_id': 'create_private_market_demand_seller_account',
176
- 'http_method': 'POST',
111
+ 'endpoint_path': '/preview/retail-media/accounts',
112
+ 'operation_id': 'get_api_v1_external_accounts',
113
+ 'http_method': 'GET',
177
114
  'servers': None,
178
115
  },
179
116
  params_map={
180
117
  'all': [
181
- 'account_id',
182
- 'value_resource_input_of_retail_media_seller_account_creation',
183
- ],
184
- 'required': [
185
- 'account_id',
118
+ 'limit_to_id',
119
+ 'page_index',
120
+ 'page_size',
186
121
  ],
122
+ 'required': [],
187
123
  'nullable': [
188
124
  ],
189
125
  'enum': [
@@ -197,31 +133,34 @@ class AccountsApi(object):
197
133
  'allowed_values': {
198
134
  },
199
135
  'openapi_types': {
200
- 'account_id':
201
- (str,),
202
- 'value_resource_input_of_retail_media_seller_account_creation':
203
- (ValueResourceInputOfRetailMediaSellerAccountCreation,),
136
+ 'limit_to_id':
137
+ ([str],),
138
+ 'page_index':
139
+ (int,),
140
+ 'page_size':
141
+ (int,),
204
142
  },
205
143
  'attribute_map': {
206
- 'account_id': 'accountId',
144
+ 'limit_to_id': 'limitToId',
145
+ 'page_index': 'pageIndex',
146
+ 'page_size': 'pageSize',
207
147
  },
208
148
  'location_map': {
209
- 'account_id': 'path',
210
- 'value_resource_input_of_retail_media_seller_account_creation': 'body',
149
+ 'limit_to_id': 'query',
150
+ 'page_index': 'query',
151
+ 'page_size': 'query',
211
152
  },
212
153
  'collection_format_map': {
154
+ 'limit_to_id': 'multi',
213
155
  }
214
156
  },
215
157
  headers_map={
216
158
  'accept': [
217
- 'application/json'
218
- ],
219
- 'content_type': [
220
- 'application/json-patch+json',
159
+ 'text/plain',
221
160
  'application/json',
222
- 'text/json',
223
- 'application/*+json'
224
- ]
161
+ 'text/json'
162
+ ],
163
+ 'content_type': [],
225
164
  },
226
165
  api_client=api_client
227
166
  )
@@ -284,67 +223,6 @@ class AccountsApi(object):
284
223
  },
285
224
  api_client=api_client
286
225
  )
287
- self.remove_brands_endpoint = _Endpoint(
288
- settings={
289
- 'response_type': (ValueResourceOfRetailMediaBrands,),
290
- 'auth': [
291
- 'oauth',
292
- 'oauth'
293
- ],
294
- 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/brands/remove',
295
- 'operation_id': 'remove_brands',
296
- 'http_method': 'POST',
297
- 'servers': None,
298
- },
299
- params_map={
300
- 'all': [
301
- 'account_id',
302
- 'value_resource_input_of_retail_media_brands',
303
- ],
304
- 'required': [
305
- 'account_id',
306
- ],
307
- 'nullable': [
308
- ],
309
- 'enum': [
310
- ],
311
- 'validation': [
312
- ]
313
- },
314
- root_map={
315
- 'validations': {
316
- },
317
- 'allowed_values': {
318
- },
319
- 'openapi_types': {
320
- 'account_id':
321
- (str,),
322
- 'value_resource_input_of_retail_media_brands':
323
- (ValueResourceInputOfRetailMediaBrands,),
324
- },
325
- 'attribute_map': {
326
- 'account_id': 'accountId',
327
- },
328
- 'location_map': {
329
- 'account_id': 'path',
330
- 'value_resource_input_of_retail_media_brands': 'body',
331
- },
332
- 'collection_format_map': {
333
- }
334
- },
335
- headers_map={
336
- 'accept': [
337
- 'application/json'
338
- ],
339
- 'content_type': [
340
- 'application/json-patch+json',
341
- 'application/json',
342
- 'text/json',
343
- 'application/*+json'
344
- ]
345
- },
346
- api_client=api_client
347
- )
348
226
  self.update_sellers_endpoint = _Endpoint(
349
227
  settings={
350
228
  'response_type': (ValueResourceCollectionOutcomeOfRetailMediaSeller,),
@@ -407,109 +285,25 @@ class AccountsApi(object):
407
285
  api_client=api_client
408
286
  )
409
287
 
410
- def add_brands(
411
- self,
412
- account_id,
413
- **kwargs
414
- ):
415
- """add_brands # noqa: E501
416
-
417
- Add brands to an account # noqa: E501
418
- This method makes a synchronous HTTP request by default. To make an
419
- asynchronous HTTP request, please pass async_req=True
420
-
421
- >>> thread = api.add_brands(account_id, async_req=True)
422
- >>> result = thread.get()
423
-
424
- Args:
425
- account_id (str): the account id to update
426
-
427
- Keyword Args:
428
- value_resource_input_of_retail_media_brands (ValueResourceInputOfRetailMediaBrands): brands to associate to account. [optional]
429
- _return_http_data_only (bool): response data without head status
430
- code and headers. Default is True.
431
- _preload_content (bool): if False, the urllib3.HTTPResponse object
432
- will be returned without reading/decoding response data.
433
- Default is True.
434
- _request_timeout (int/float/tuple): timeout setting for this request. If
435
- one number provided, it will be total request timeout. It can also
436
- be a pair (tuple) of (connection, read) timeouts.
437
- Default is None.
438
- _check_input_type (bool): specifies if type checking
439
- should be done one the data sent to the server.
440
- Default is True.
441
- _check_return_type (bool): specifies if type checking
442
- should be done one the data received from the server.
443
- Default is True.
444
- _spec_property_naming (bool): True if the variable names in the input data
445
- are serialized names, as specified in the OpenAPI document.
446
- False if the variable names in the input data
447
- are pythonic names, e.g. snake case (default)
448
- _content_type (str/None): force body content-type.
449
- Default is None and content-type will be predicted by allowed
450
- content-types and body.
451
- _host_index (int/None): specifies the index of the server
452
- that we want to use.
453
- Default is read from the configuration.
454
- _request_auths (list): set to override the auth_settings for an a single
455
- request; this effectively ignores the authentication
456
- in the spec for a single request.
457
- Default is None
458
- async_req (bool): execute request asynchronously
459
-
460
- Returns:
461
- ValueResourceOfRetailMediaBrands
462
- If the method is called asynchronously, returns the request
463
- thread.
464
- """
465
- kwargs['async_req'] = kwargs.get(
466
- 'async_req', False
467
- )
468
- kwargs['_return_http_data_only'] = kwargs.get(
469
- '_return_http_data_only', True
470
- )
471
- kwargs['_preload_content'] = kwargs.get(
472
- '_preload_content', True
473
- )
474
- kwargs['_request_timeout'] = kwargs.get(
475
- '_request_timeout', None
476
- )
477
- kwargs['_check_input_type'] = kwargs.get(
478
- '_check_input_type', True
479
- )
480
- kwargs['_check_return_type'] = kwargs.get(
481
- '_check_return_type', True
482
- )
483
- kwargs['_spec_property_naming'] = kwargs.get(
484
- '_spec_property_naming', False
485
- )
486
- kwargs['_content_type'] = kwargs.get(
487
- '_content_type')
488
- kwargs['_host_index'] = kwargs.get('_host_index')
489
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
490
- kwargs['account_id'] = \
491
- account_id
492
- return self.add_brands_endpoint.call_with_http_info(**kwargs)
493
-
494
- def create_private_market_demand_brand_account(
288
+ def create_private_market_demand_seller_account(
495
289
  self,
496
290
  account_id,
497
291
  **kwargs
498
292
  ):
499
- """create_private_market_demand_brand_account # noqa: E501
293
+ """create_private_market_demand_seller_account # noqa: E501
500
294
 
501
- Creates a new child Demand Brand Account for the provided parent private market account # noqa: E501
295
+ Creates a new child Demand Seller Account for the provided parent private market account # noqa: E501
502
296
  This method makes a synchronous HTTP request by default. To make an
503
297
  asynchronous HTTP request, please pass async_req=True
504
298
 
505
- >>> thread = api.create_private_market_demand_brand_account(account_id, async_req=True)
299
+ >>> thread = api.create_private_market_demand_seller_account(account_id, async_req=True)
506
300
  >>> result = thread.get()
507
301
 
508
302
  Args:
509
303
  account_id (str): Account Id for the parent private market account
510
304
 
511
305
  Keyword Args:
512
- value_resource_input_of_retail_media_brand_account_creation (ValueResourceInputOfRetailMediaBrandAccountCreation): Initial creation and configuration options for the new account. [optional]
306
+ value_resource_input_of_retail_media_seller_account_creation (ValueResourceInputOfRetailMediaSellerAccountCreation): Initial creation and configuration options for the new account. [optional]
513
307
  _return_http_data_only (bool): response data without head status
514
308
  code and headers. Default is True.
515
309
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -573,27 +367,26 @@ class AccountsApi(object):
573
367
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
574
368
  kwargs['account_id'] = \
575
369
  account_id
576
- return self.create_private_market_demand_brand_account_endpoint.call_with_http_info(**kwargs)
370
+ return self.create_private_market_demand_seller_account_endpoint.call_with_http_info(**kwargs)
577
371
 
578
- def create_private_market_demand_seller_account(
372
+ def get_api_v1_external_accounts(
579
373
  self,
580
- account_id,
581
374
  **kwargs
582
375
  ):
583
- """create_private_market_demand_seller_account # noqa: E501
376
+ """get_api_v1_external_accounts # noqa: E501
584
377
 
585
- Creates a new child Demand Seller Account for the provided parent private market account # noqa: E501
378
+ Gets page of account objects that the current user can access # noqa: E501
586
379
  This method makes a synchronous HTTP request by default. To make an
587
380
  asynchronous HTTP request, please pass async_req=True
588
381
 
589
- >>> thread = api.create_private_market_demand_seller_account(account_id, async_req=True)
382
+ >>> thread = api.get_api_v1_external_accounts(async_req=True)
590
383
  >>> result = thread.get()
591
384
 
592
- Args:
593
- account_id (str): Account Id for the parent private market account
594
385
 
595
386
  Keyword Args:
596
- value_resource_input_of_retail_media_seller_account_creation (ValueResourceInputOfRetailMediaSellerAccountCreation): Initial creation and configuration options for the new account. [optional]
387
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
388
+ 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
389
+ 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
597
390
  _return_http_data_only (bool): response data without head status
598
391
  code and headers. Default is True.
599
392
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -626,7 +419,7 @@ class AccountsApi(object):
626
419
  async_req (bool): execute request asynchronously
627
420
 
628
421
  Returns:
629
- ResourceOutcomeOfRetailMediaAccount
422
+ JsonApiPageResponseOfAccount
630
423
  If the method is called asynchronously, returns the request
631
424
  thread.
632
425
  """
@@ -655,16 +448,14 @@ class AccountsApi(object):
655
448
  '_content_type')
656
449
  kwargs['_host_index'] = kwargs.get('_host_index')
657
450
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
658
- kwargs['account_id'] = \
659
- account_id
660
- return self.create_private_market_demand_seller_account_endpoint.call_with_http_info(**kwargs)
451
+ return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
661
452
 
662
453
  def grant_consent(
663
454
  self,
664
455
  account_id,
665
456
  **kwargs
666
457
  ):
667
- """grant_consent # noqa: E501
458
+ """ # noqa: E501
668
459
 
669
460
  Grant consent to a business application on behalf of a Private Market demand account # noqa: E501
670
461
  This method makes a synchronous HTTP request by default. To make an
@@ -743,90 +534,6 @@ class AccountsApi(object):
743
534
  account_id
744
535
  return self.grant_consent_endpoint.call_with_http_info(**kwargs)
745
536
 
746
- def remove_brands(
747
- self,
748
- account_id,
749
- **kwargs
750
- ):
751
- """remove_brands # noqa: E501
752
-
753
- Remove a brand from an account # noqa: E501
754
- This method makes a synchronous HTTP request by default. To make an
755
- asynchronous HTTP request, please pass async_req=True
756
-
757
- >>> thread = api.remove_brands(account_id, async_req=True)
758
- >>> result = thread.get()
759
-
760
- Args:
761
- account_id (str): the account id to update
762
-
763
- Keyword Args:
764
- value_resource_input_of_retail_media_brands (ValueResourceInputOfRetailMediaBrands): [optional]
765
- _return_http_data_only (bool): response data without head status
766
- code and headers. Default is True.
767
- _preload_content (bool): if False, the urllib3.HTTPResponse object
768
- will be returned without reading/decoding response data.
769
- Default is True.
770
- _request_timeout (int/float/tuple): timeout setting for this request. If
771
- one number provided, it will be total request timeout. It can also
772
- be a pair (tuple) of (connection, read) timeouts.
773
- Default is None.
774
- _check_input_type (bool): specifies if type checking
775
- should be done one the data sent to the server.
776
- Default is True.
777
- _check_return_type (bool): specifies if type checking
778
- should be done one the data received from the server.
779
- Default is True.
780
- _spec_property_naming (bool): True if the variable names in the input data
781
- are serialized names, as specified in the OpenAPI document.
782
- False if the variable names in the input data
783
- are pythonic names, e.g. snake case (default)
784
- _content_type (str/None): force body content-type.
785
- Default is None and content-type will be predicted by allowed
786
- content-types and body.
787
- _host_index (int/None): specifies the index of the server
788
- that we want to use.
789
- Default is read from the configuration.
790
- _request_auths (list): set to override the auth_settings for an a single
791
- request; this effectively ignores the authentication
792
- in the spec for a single request.
793
- Default is None
794
- async_req (bool): execute request asynchronously
795
-
796
- Returns:
797
- ValueResourceOfRetailMediaBrands
798
- If the method is called asynchronously, returns the request
799
- thread.
800
- """
801
- kwargs['async_req'] = kwargs.get(
802
- 'async_req', False
803
- )
804
- kwargs['_return_http_data_only'] = kwargs.get(
805
- '_return_http_data_only', True
806
- )
807
- kwargs['_preload_content'] = kwargs.get(
808
- '_preload_content', True
809
- )
810
- kwargs['_request_timeout'] = kwargs.get(
811
- '_request_timeout', None
812
- )
813
- kwargs['_check_input_type'] = kwargs.get(
814
- '_check_input_type', True
815
- )
816
- kwargs['_check_return_type'] = kwargs.get(
817
- '_check_return_type', True
818
- )
819
- kwargs['_spec_property_naming'] = kwargs.get(
820
- '_spec_property_naming', False
821
- )
822
- kwargs['_content_type'] = kwargs.get(
823
- '_content_type')
824
- kwargs['_host_index'] = kwargs.get('_host_index')
825
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
826
- kwargs['account_id'] = \
827
- account_id
828
- return self.remove_brands_endpoint.call_with_http_info(**kwargs)
829
-
830
537
  def update_sellers(
831
538
  self,
832
539
  account_id,