criteo-api-retailmedia-sdk 0.0.240808__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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +45 -198
- criteo_api_retailmedia_preview/api/analytics_api.py +3 -3
- criteo_api_retailmedia_preview/api/audience_api.py +89 -232
- criteo_api_retailmedia_preview/api/balance_api.py +0 -159
- criteo_api_retailmedia_preview/api/campaign_api.py +246 -1604
- criteo_api_retailmedia_preview/api/catalog_api.py +161 -0
- criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +186 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/async_accounts_report.py +40 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +40 -0
- criteo_api_retailmedia_preview/model/async_line_items_report.py +40 -0
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
- criteo_api_retailmedia_preview/model/{creative_v2_response.py → bot_message.py} +17 -21
- criteo_api_retailmedia_preview/model/botmessage.py +329 -0
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +271 -0
- criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
- criteo_api_retailmedia_preview/model/category.py +3 -3
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
- criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
- criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
- criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
- criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
- criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
- criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
- criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
- criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_campaign_budget_overrides.py → entity_resource_collection_outcome_brand_id_search_result.py} +16 -16
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_list_response.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
- criteo_api_retailmedia_preview/model/{resource_of_add_funds_to_balance_v2.py → entity_resource_of_retail_media_child_account.py} +14 -14
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
- criteo_api_retailmedia_preview/model/{external_account.py → external_retail_media_child_account.py} +39 -56
- criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/model/http_validation_error.py +269 -0
- criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/inbot_discussion.py +272 -0
- criteo_api_retailmedia_preview/model/{external_brand.py → inbot_discussion_body_model.py} +17 -15
- criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py +279 -0
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
- criteo_api_retailmedia_preview/model/{external_text_variable_value.py → location_inner.py} +3 -7
- criteo_api_retailmedia_preview/model/message.py +273 -0
- criteo_api_retailmedia_preview/model/message_body_model.py +275 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_retailer_and_retailer.py → message_data_instance_model.py} +16 -22
- criteo_api_retailmedia_preview/model/message_error.py +275 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_segment_customer_list.py → offset_page_metadata.py} +21 -17
- criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → outcome.py} +15 -17
- criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
- criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
- criteo_api_retailmedia_preview/model/product.py +4 -0
- criteo_api_retailmedia_preview/model/product_recommendation.py +305 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_account_and_account.py → report_detail_warning.py} +21 -21
- criteo_api_retailmedia_preview/model/report_detail_warnings.py +281 -0
- criteo_api_retailmedia_preview/model/report_ok_response.py +31 -17
- criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
- criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
- criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +275 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_resource.py → rm_audience_entity_v1.py} +45 -24
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2_resource.py → rm_audience_entity_v1_resource.py} +8 -8
- criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py} +14 -8
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +271 -0
- criteo_api_retailmedia_preview/model/{resource_of_creative_v2.py → rm_audience_search_entity_v1_resource.py} +11 -15
- criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → rm_audience_search_input_v1.py} +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +271 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +17 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +7 -7
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +5 -5
- criteo_api_retailmedia_preview/model/{rm_user_behavior_v1.py → rm_events_v1.py} +3 -3
- criteo_api_retailmedia_preview/model/{retail_media_account.py → sdk_api_rest_common_problem.py} +41 -42
- criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
- criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
- criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
- criteo_api_retailmedia_preview/model/sku_min_bid.py +269 -0
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
- criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
- criteo_api_retailmedia_preview/model/text_variable_value.py +257 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_brand_and_brand.py → validation_error.py} +19 -17
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_of_campaign_budget_overrides.py → value_resource_cpc_min_bids_request.py} +10 -10
- criteo_api_retailmedia_preview/model/{value_resource_of_line_item_budget_overrides.py → value_resource_cpc_min_bids_response.py} +10 -10
- criteo_api_retailmedia_preview/model/{value_resource_input_of_line_item_budget_overrides.py → value_resource_input_brand_id_search_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_cpc_min_bids_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_input_of_campaign_budget_overrides.py → value_resource_input_of_seller_search.py} +8 -8
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_line_item_budget_overrides.py → value_resource_outcome_cpc_min_bids_response.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/models/__init__.py +60 -69
- {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/RECORD +105 -113
- {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
- criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
- criteo_api_retailmedia_preview/model/campaign_budget_overrides.py +0 -276
- criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py +0 -283
- criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py +0 -283
- criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
- criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py +0 -281
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
- criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
- criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
- criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
- criteo_api_retailmedia_preview/model/line_item_budget_overrides.py +0 -276
- criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py +0 -283
- criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
- criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
- criteo_api_retailmedia_preview/model/proposal_status_model_response.py +0 -274
- criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -270
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py +0 -291
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py +0 -291
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_list_response.py +0 -281
- criteo_api_retailmedia_preview/model/rm_legacy_audience_user_behavior_details_v2.py +0 -279
- criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v1.py +0 -306
- criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py +0 -311
- criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +0 -262
- {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -21,12 +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_child_account import EntityResourceCollectionOutcomeOfRetailMediaChildAccount
|
|
24
25
|
from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
|
|
25
|
-
from criteo_api_retailmedia_preview.model.
|
|
26
|
-
from criteo_api_retailmedia_preview.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount
|
|
27
|
-
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
|
|
28
27
|
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller
|
|
29
|
-
from criteo_api_retailmedia_preview.model.
|
|
28
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_search import ValueResourceInputOfSellerSearch
|
|
30
29
|
|
|
31
30
|
|
|
32
31
|
class AccountsApi(object):
|
|
@@ -40,22 +39,23 @@ class AccountsApi(object):
|
|
|
40
39
|
if api_client is None:
|
|
41
40
|
api_client = ApiClient()
|
|
42
41
|
self.api_client = api_client
|
|
43
|
-
self.
|
|
42
|
+
self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint = _Endpoint(
|
|
44
43
|
settings={
|
|
45
|
-
'response_type': (
|
|
44
|
+
'response_type': (EntityResourceCollectionOutcomeOfRetailMediaChildAccount,),
|
|
46
45
|
'auth': [
|
|
47
46
|
'oauth',
|
|
48
47
|
'oauth'
|
|
49
48
|
],
|
|
50
|
-
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/
|
|
51
|
-
'operation_id': '
|
|
52
|
-
'http_method': '
|
|
49
|
+
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/private-market-child-accounts',
|
|
50
|
+
'operation_id': 'get_api_external_v1_account_private_market_child_accounts_by_account_id',
|
|
51
|
+
'http_method': 'GET',
|
|
53
52
|
'servers': None,
|
|
54
53
|
},
|
|
55
54
|
params_map={
|
|
56
55
|
'all': [
|
|
57
56
|
'account_id',
|
|
58
|
-
'
|
|
57
|
+
'offset',
|
|
58
|
+
'limit',
|
|
59
59
|
],
|
|
60
60
|
'required': [
|
|
61
61
|
'account_id',
|
|
@@ -75,15 +75,20 @@ class AccountsApi(object):
|
|
|
75
75
|
'openapi_types': {
|
|
76
76
|
'account_id':
|
|
77
77
|
(str,),
|
|
78
|
-
'
|
|
79
|
-
(
|
|
78
|
+
'offset':
|
|
79
|
+
(int,),
|
|
80
|
+
'limit':
|
|
81
|
+
(int,),
|
|
80
82
|
},
|
|
81
83
|
'attribute_map': {
|
|
82
84
|
'account_id': 'accountId',
|
|
85
|
+
'offset': 'offset',
|
|
86
|
+
'limit': 'limit',
|
|
83
87
|
},
|
|
84
88
|
'location_map': {
|
|
85
89
|
'account_id': 'path',
|
|
86
|
-
'
|
|
90
|
+
'offset': 'query',
|
|
91
|
+
'limit': 'query',
|
|
87
92
|
},
|
|
88
93
|
'collection_format_map': {
|
|
89
94
|
}
|
|
@@ -92,74 +97,6 @@ class AccountsApi(object):
|
|
|
92
97
|
'accept': [
|
|
93
98
|
'application/json'
|
|
94
99
|
],
|
|
95
|
-
'content_type': [
|
|
96
|
-
'application/json-patch+json',
|
|
97
|
-
'application/json',
|
|
98
|
-
'text/json',
|
|
99
|
-
'application/*+json'
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
api_client=api_client
|
|
103
|
-
)
|
|
104
|
-
self.get_api_v1_external_accounts_endpoint = _Endpoint(
|
|
105
|
-
settings={
|
|
106
|
-
'response_type': (JsonApiPageResponseOfAccount,),
|
|
107
|
-
'auth': [
|
|
108
|
-
'oauth',
|
|
109
|
-
'oauth'
|
|
110
|
-
],
|
|
111
|
-
'endpoint_path': '/preview/retail-media/accounts',
|
|
112
|
-
'operation_id': 'get_api_v1_external_accounts',
|
|
113
|
-
'http_method': 'GET',
|
|
114
|
-
'servers': None,
|
|
115
|
-
},
|
|
116
|
-
params_map={
|
|
117
|
-
'all': [
|
|
118
|
-
'limit_to_id',
|
|
119
|
-
'page_index',
|
|
120
|
-
'page_size',
|
|
121
|
-
],
|
|
122
|
-
'required': [],
|
|
123
|
-
'nullable': [
|
|
124
|
-
],
|
|
125
|
-
'enum': [
|
|
126
|
-
],
|
|
127
|
-
'validation': [
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
root_map={
|
|
131
|
-
'validations': {
|
|
132
|
-
},
|
|
133
|
-
'allowed_values': {
|
|
134
|
-
},
|
|
135
|
-
'openapi_types': {
|
|
136
|
-
'limit_to_id':
|
|
137
|
-
([str],),
|
|
138
|
-
'page_index':
|
|
139
|
-
(int,),
|
|
140
|
-
'page_size':
|
|
141
|
-
(int,),
|
|
142
|
-
},
|
|
143
|
-
'attribute_map': {
|
|
144
|
-
'limit_to_id': 'limitToId',
|
|
145
|
-
'page_index': 'pageIndex',
|
|
146
|
-
'page_size': 'pageSize',
|
|
147
|
-
},
|
|
148
|
-
'location_map': {
|
|
149
|
-
'limit_to_id': 'query',
|
|
150
|
-
'page_index': 'query',
|
|
151
|
-
'page_size': 'query',
|
|
152
|
-
},
|
|
153
|
-
'collection_format_map': {
|
|
154
|
-
'limit_to_id': 'multi',
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
headers_map={
|
|
158
|
-
'accept': [
|
|
159
|
-
'text/plain',
|
|
160
|
-
'application/json',
|
|
161
|
-
'text/json'
|
|
162
|
-
],
|
|
163
100
|
'content_type': [],
|
|
164
101
|
},
|
|
165
102
|
api_client=api_client
|
|
@@ -223,26 +160,23 @@ class AccountsApi(object):
|
|
|
223
160
|
},
|
|
224
161
|
api_client=api_client
|
|
225
162
|
)
|
|
226
|
-
self.
|
|
163
|
+
self.search_sellers_endpoint = _Endpoint(
|
|
227
164
|
settings={
|
|
228
165
|
'response_type': (ValueResourceCollectionOutcomeOfRetailMediaSeller,),
|
|
229
166
|
'auth': [
|
|
230
167
|
'oauth',
|
|
231
168
|
'oauth'
|
|
232
169
|
],
|
|
233
|
-
'endpoint_path': '/preview/retail-media/
|
|
234
|
-
'operation_id': '
|
|
235
|
-
'http_method': '
|
|
170
|
+
'endpoint_path': '/preview/retail-media/accounts/sellers/search',
|
|
171
|
+
'operation_id': 'search_sellers',
|
|
172
|
+
'http_method': 'POST',
|
|
236
173
|
'servers': None,
|
|
237
174
|
},
|
|
238
175
|
params_map={
|
|
239
176
|
'all': [
|
|
240
|
-
'
|
|
241
|
-
'value_resource_collection_input_of_retail_media_seller',
|
|
242
|
-
],
|
|
243
|
-
'required': [
|
|
244
|
-
'account_id',
|
|
177
|
+
'value_resource_input_of_seller_search',
|
|
245
178
|
],
|
|
179
|
+
'required': [],
|
|
246
180
|
'nullable': [
|
|
247
181
|
],
|
|
248
182
|
'enum': [
|
|
@@ -256,24 +190,22 @@ class AccountsApi(object):
|
|
|
256
190
|
'allowed_values': {
|
|
257
191
|
},
|
|
258
192
|
'openapi_types': {
|
|
259
|
-
'
|
|
260
|
-
(
|
|
261
|
-
'value_resource_collection_input_of_retail_media_seller':
|
|
262
|
-
(ValueResourceCollectionInputOfRetailMediaSeller,),
|
|
193
|
+
'value_resource_input_of_seller_search':
|
|
194
|
+
(ValueResourceInputOfSellerSearch,),
|
|
263
195
|
},
|
|
264
196
|
'attribute_map': {
|
|
265
|
-
'account_id': 'accountId',
|
|
266
197
|
},
|
|
267
198
|
'location_map': {
|
|
268
|
-
'
|
|
269
|
-
'value_resource_collection_input_of_retail_media_seller': 'body',
|
|
199
|
+
'value_resource_input_of_seller_search': 'body',
|
|
270
200
|
},
|
|
271
201
|
'collection_format_map': {
|
|
272
202
|
}
|
|
273
203
|
},
|
|
274
204
|
headers_map={
|
|
275
205
|
'accept': [
|
|
276
|
-
'
|
|
206
|
+
'text/plain',
|
|
207
|
+
'application/json',
|
|
208
|
+
'text/json'
|
|
277
209
|
],
|
|
278
210
|
'content_type': [
|
|
279
211
|
'application/json-patch+json',
|
|
@@ -285,25 +217,26 @@ class AccountsApi(object):
|
|
|
285
217
|
api_client=api_client
|
|
286
218
|
)
|
|
287
219
|
|
|
288
|
-
def
|
|
220
|
+
def get_api_external_v1_account_private_market_child_accounts_by_account_id(
|
|
289
221
|
self,
|
|
290
222
|
account_id,
|
|
291
223
|
**kwargs
|
|
292
224
|
):
|
|
293
|
-
"""
|
|
225
|
+
"""get_api_external_v1_account_private_market_child_accounts_by_account_id # noqa: E501
|
|
294
226
|
|
|
295
|
-
|
|
227
|
+
Gets page of private market child accounts that are associated with the given account # noqa: E501
|
|
296
228
|
This method makes a synchronous HTTP request by default. To make an
|
|
297
229
|
asynchronous HTTP request, please pass async_req=True
|
|
298
230
|
|
|
299
|
-
>>> thread = api.
|
|
231
|
+
>>> thread = api.get_api_external_v1_account_private_market_child_accounts_by_account_id(account_id, async_req=True)
|
|
300
232
|
>>> result = thread.get()
|
|
301
233
|
|
|
302
234
|
Args:
|
|
303
|
-
account_id (str): Account Id
|
|
235
|
+
account_id (str): Account Id
|
|
304
236
|
|
|
305
237
|
Keyword Args:
|
|
306
|
-
|
|
238
|
+
offset (int): The (zero-based) offset into the collection of accounts. The default is 0.. [optional] if omitted the server will use the default value of 0
|
|
239
|
+
limit (int): The number of accounts to be returned. The default is 25.. [optional] if omitted the server will use the default value of 25
|
|
307
240
|
_return_http_data_only (bool): response data without head status
|
|
308
241
|
code and headers. Default is True.
|
|
309
242
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -336,7 +269,7 @@ class AccountsApi(object):
|
|
|
336
269
|
async_req (bool): execute request asynchronously
|
|
337
270
|
|
|
338
271
|
Returns:
|
|
339
|
-
|
|
272
|
+
EntityResourceCollectionOutcomeOfRetailMediaChildAccount
|
|
340
273
|
If the method is called asynchronously, returns the request
|
|
341
274
|
thread.
|
|
342
275
|
"""
|
|
@@ -367,88 +300,7 @@ class AccountsApi(object):
|
|
|
367
300
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
368
301
|
kwargs['account_id'] = \
|
|
369
302
|
account_id
|
|
370
|
-
return self.
|
|
371
|
-
|
|
372
|
-
def get_api_v1_external_accounts(
|
|
373
|
-
self,
|
|
374
|
-
**kwargs
|
|
375
|
-
):
|
|
376
|
-
"""get_api_v1_external_accounts # noqa: E501
|
|
377
|
-
|
|
378
|
-
Gets page of account objects that the current user can access # noqa: E501
|
|
379
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
380
|
-
asynchronous HTTP request, please pass async_req=True
|
|
381
|
-
|
|
382
|
-
>>> thread = api.get_api_v1_external_accounts(async_req=True)
|
|
383
|
-
>>> result = thread.get()
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
Keyword Args:
|
|
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
|
|
390
|
-
_return_http_data_only (bool): response data without head status
|
|
391
|
-
code and headers. Default is True.
|
|
392
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
393
|
-
will be returned without reading/decoding response data.
|
|
394
|
-
Default is True.
|
|
395
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
396
|
-
one number provided, it will be total request timeout. It can also
|
|
397
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
398
|
-
Default is None.
|
|
399
|
-
_check_input_type (bool): specifies if type checking
|
|
400
|
-
should be done one the data sent to the server.
|
|
401
|
-
Default is True.
|
|
402
|
-
_check_return_type (bool): specifies if type checking
|
|
403
|
-
should be done one the data received from the server.
|
|
404
|
-
Default is True.
|
|
405
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
406
|
-
are serialized names, as specified in the OpenAPI document.
|
|
407
|
-
False if the variable names in the input data
|
|
408
|
-
are pythonic names, e.g. snake case (default)
|
|
409
|
-
_content_type (str/None): force body content-type.
|
|
410
|
-
Default is None and content-type will be predicted by allowed
|
|
411
|
-
content-types and body.
|
|
412
|
-
_host_index (int/None): specifies the index of the server
|
|
413
|
-
that we want to use.
|
|
414
|
-
Default is read from the configuration.
|
|
415
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
416
|
-
request; this effectively ignores the authentication
|
|
417
|
-
in the spec for a single request.
|
|
418
|
-
Default is None
|
|
419
|
-
async_req (bool): execute request asynchronously
|
|
420
|
-
|
|
421
|
-
Returns:
|
|
422
|
-
JsonApiPageResponseOfAccount
|
|
423
|
-
If the method is called asynchronously, returns the request
|
|
424
|
-
thread.
|
|
425
|
-
"""
|
|
426
|
-
kwargs['async_req'] = kwargs.get(
|
|
427
|
-
'async_req', False
|
|
428
|
-
)
|
|
429
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
430
|
-
'_return_http_data_only', True
|
|
431
|
-
)
|
|
432
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
433
|
-
'_preload_content', True
|
|
434
|
-
)
|
|
435
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
436
|
-
'_request_timeout', None
|
|
437
|
-
)
|
|
438
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
439
|
-
'_check_input_type', True
|
|
440
|
-
)
|
|
441
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
442
|
-
'_check_return_type', True
|
|
443
|
-
)
|
|
444
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
445
|
-
'_spec_property_naming', False
|
|
446
|
-
)
|
|
447
|
-
kwargs['_content_type'] = kwargs.get(
|
|
448
|
-
'_content_type')
|
|
449
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
450
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
451
|
-
return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
|
|
303
|
+
return self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
452
304
|
|
|
453
305
|
def grant_consent(
|
|
454
306
|
self,
|
|
@@ -534,25 +386,22 @@ class AccountsApi(object):
|
|
|
534
386
|
account_id
|
|
535
387
|
return self.grant_consent_endpoint.call_with_http_info(**kwargs)
|
|
536
388
|
|
|
537
|
-
def
|
|
389
|
+
def search_sellers(
|
|
538
390
|
self,
|
|
539
|
-
account_id,
|
|
540
391
|
**kwargs
|
|
541
392
|
):
|
|
542
|
-
"""
|
|
393
|
+
"""search_sellers # noqa: E501
|
|
543
394
|
|
|
544
|
-
|
|
395
|
+
Get the sellers mapped to provided accounts # noqa: E501
|
|
545
396
|
This method makes a synchronous HTTP request by default. To make an
|
|
546
397
|
asynchronous HTTP request, please pass async_req=True
|
|
547
398
|
|
|
548
|
-
>>> thread = api.
|
|
399
|
+
>>> thread = api.search_sellers(async_req=True)
|
|
549
400
|
>>> result = thread.get()
|
|
550
401
|
|
|
551
|
-
Args:
|
|
552
|
-
account_id (str): the account id to update
|
|
553
402
|
|
|
554
403
|
Keyword Args:
|
|
555
|
-
|
|
404
|
+
value_resource_input_of_seller_search (ValueResourceInputOfSellerSearch): . [optional]
|
|
556
405
|
_return_http_data_only (bool): response data without head status
|
|
557
406
|
code and headers. Default is True.
|
|
558
407
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -614,7 +463,5 @@ class AccountsApi(object):
|
|
|
614
463
|
'_content_type')
|
|
615
464
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
616
465
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
617
|
-
kwargs
|
|
618
|
-
account_id
|
|
619
|
-
return self.update_sellers_endpoint.call_with_http_info(**kwargs)
|
|
466
|
+
return self.search_sellers_endpoint.call_with_http_info(**kwargs)
|
|
620
467
|
|
|
@@ -507,7 +507,7 @@ class AnalyticsApi(object):
|
|
|
507
507
|
):
|
|
508
508
|
"""generate_async_accounts_report # noqa: E501
|
|
509
509
|
|
|
510
|
-
Returns an asynchronous Accounts Report # noqa: E501
|
|
510
|
+
Returns an asynchronous Accounts Report This endpoint is subject to specific rate limits. # noqa: E501
|
|
511
511
|
This method makes a synchronous HTTP request by default. To make an
|
|
512
512
|
asynchronous HTTP request, please pass async_req=True
|
|
513
513
|
|
|
@@ -590,7 +590,7 @@ class AnalyticsApi(object):
|
|
|
590
590
|
):
|
|
591
591
|
"""generate_async_campaigns_report # noqa: E501
|
|
592
592
|
|
|
593
|
-
Return an asynchronous Campaigns Report # noqa: E501
|
|
593
|
+
Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501
|
|
594
594
|
This method makes a synchronous HTTP request by default. To make an
|
|
595
595
|
asynchronous HTTP request, please pass async_req=True
|
|
596
596
|
|
|
@@ -673,7 +673,7 @@ class AnalyticsApi(object):
|
|
|
673
673
|
):
|
|
674
674
|
"""generate_async_line_items_report # noqa: E501
|
|
675
675
|
|
|
676
|
-
Returns an asynchronous Line Items Report # noqa: E501
|
|
676
|
+
Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501
|
|
677
677
|
This method makes a synchronous HTTP request by default. To make an
|
|
678
678
|
asynchronous HTTP request, please pass async_req=True
|
|
679
679
|
|