criteo-api-retailmedia-sdk 0.0.240626__py3-none-any.whl → 0.0.240731__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 +42 -629
- criteo_api_retailmedia_preview/api/audience_api.py +835 -58
- criteo_api_retailmedia_preview/api/balance_api.py +1146 -0
- criteo_api_retailmedia_preview/api/campaign_api.py +165 -158
- 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/add_funds_to_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → add_funds_to_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +0 -4
- criteo_api_retailmedia_preview/model/async_accounts_report.py +2 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +2 -0
- criteo_api_retailmedia_preview/model/async_line_items_report.py +2 -0
- criteo_api_retailmedia_preview/model/{insertion_order_history_change_data_capture.py → balance_history_change_data_capture_v1.py} +11 -11
- criteo_api_retailmedia_preview/model/balance_response_v2.py +351 -0
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +281 -0
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +271 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brand_account_creation.py → change_dates_of_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/{change_details.py → change_details_v1.py} +3 -3
- criteo_api_retailmedia_preview/model/change_details_v2.py +275 -0
- criteo_api_retailmedia_preview/model/common_problem.py +2 -2
- criteo_api_retailmedia_preview/model/create_balance_v2.py +302 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brands.py → create_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/external_catalog_status.py +312 -0
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +303 -0
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py +285 -0
- criteo_api_retailmedia_preview/model/json_api_body_without_id_of_seller_catalog_request_and_seller_catalog_request.py +279 -0
- criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +269 -0
- criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +287 -0
- criteo_api_retailmedia_preview/model/{retail_media_seller.py → nillable_string.py} +14 -12
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +276 -0
- 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
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +287 -0
- criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_change_dates_of_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_create_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_update_balance_model_v2.py +277 -0
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +6 -6
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +281 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brand_account_creation.py → rm_audience_segment_create_entity_v1_resource.py} +16 -9
- criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → rm_audience_segment_delete_entity_v1_resource.py} +15 -14
- criteo_api_retailmedia_preview/model/{retail_media_account.py → rm_audience_segment_entity_v1.py} +52 -37
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_retail_media_seller.py → rm_audience_segment_entity_v1_list_response.py} +16 -9
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → rm_audience_segment_entity_v1_resource.py} +21 -10
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +287 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +281 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller.py → rm_audience_segment_id_entity_v1_resource.py} +18 -13
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +267 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brands.py → rm_audience_segment_search_entity_v1_resource.py} +16 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/{retail_media_brand_account_creation.py → rm_audience_segment_search_metadata_v1.py} +22 -16
- criteo_api_retailmedia_preview/model/{retail_media_seller_account_creation.py → rm_audience_segment_update_entity_v1.py} +23 -16
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1_resource.py +277 -0
- criteo_api_retailmedia_preview/model/{retail_media_brands.py → rm_contact_list_create_v1.py} +21 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +271 -0
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py +277 -0
- criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → rm_contact_list_statistics_entity_v1_response.py} +16 -9
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +275 -0
- criteo_api_retailmedia_preview/model/seller_catalog_request.py +269 -0
- criteo_api_retailmedia_preview/model/seller_identifier.py +275 -0
- criteo_api_retailmedia_preview/model/sku_data_preview.py +8 -6
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +8 -6
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +2 -0
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +2 -0
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +279 -0
- criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → update_balance_model_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/models/__init__.py +53 -19
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/RECORD +79 -44
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/top_level.txt +0 -0
|
@@ -28,14 +28,15 @@ from criteo_api_retailmedia_preview.model.creative_v2_list_response import Creat
|
|
|
28
28
|
from criteo_api_retailmedia_preview.model.creative_v2_response import CreativeV2Response
|
|
29
29
|
from criteo_api_retailmedia_preview.model.external_creative_create_model_v2 import ExternalCreativeCreateModelV2
|
|
30
30
|
from criteo_api_retailmedia_preview.model.external_creative_update_model_v2 import ExternalCreativeUpdateModelV2
|
|
31
|
-
from criteo_api_retailmedia_preview.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
|
|
32
31
|
from criteo_api_retailmedia_preview.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
|
|
33
32
|
from criteo_api_retailmedia_preview.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer
|
|
33
|
+
from criteo_api_retailmedia_preview.model.json_api_request_of_seller_catalog_request import JsonApiRequestOfSellerCatalogRequest
|
|
34
|
+
from criteo_api_retailmedia_preview.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus
|
|
34
35
|
from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2
|
|
35
36
|
from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
|
|
36
37
|
from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request
|
|
37
38
|
from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response
|
|
38
|
-
from criteo_api_retailmedia_preview.model.
|
|
39
|
+
from criteo_api_retailmedia_preview.model.page_of_insertion_order_history_change_data_capture_v2 import PageOfInsertionOrderHistoryChangeDataCaptureV2
|
|
39
40
|
from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
|
|
40
41
|
from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
|
|
41
42
|
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
|
|
@@ -650,7 +651,9 @@ class CampaignApi(object):
|
|
|
650
651
|
},
|
|
651
652
|
headers_map={
|
|
652
653
|
'accept': [
|
|
653
|
-
'
|
|
654
|
+
'text/plain',
|
|
655
|
+
'application/json',
|
|
656
|
+
'text/json'
|
|
654
657
|
],
|
|
655
658
|
'content_type': [],
|
|
656
659
|
},
|
|
@@ -718,68 +721,9 @@ class CampaignApi(object):
|
|
|
718
721
|
},
|
|
719
722
|
headers_map={
|
|
720
723
|
'accept': [
|
|
721
|
-
'
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
},
|
|
725
|
-
api_client=api_client
|
|
726
|
-
)
|
|
727
|
-
self.get_api_v1_external_accounts_endpoint = _Endpoint(
|
|
728
|
-
settings={
|
|
729
|
-
'response_type': (JsonApiPageResponseOfAccount,),
|
|
730
|
-
'auth': [
|
|
731
|
-
'oauth',
|
|
732
|
-
'oauth'
|
|
733
|
-
],
|
|
734
|
-
'endpoint_path': '/preview/retail-media/accounts',
|
|
735
|
-
'operation_id': 'get_api_v1_external_accounts',
|
|
736
|
-
'http_method': 'GET',
|
|
737
|
-
'servers': None,
|
|
738
|
-
},
|
|
739
|
-
params_map={
|
|
740
|
-
'all': [
|
|
741
|
-
'limit_to_id',
|
|
742
|
-
'page_index',
|
|
743
|
-
'page_size',
|
|
744
|
-
],
|
|
745
|
-
'required': [],
|
|
746
|
-
'nullable': [
|
|
747
|
-
],
|
|
748
|
-
'enum': [
|
|
749
|
-
],
|
|
750
|
-
'validation': [
|
|
751
|
-
]
|
|
752
|
-
},
|
|
753
|
-
root_map={
|
|
754
|
-
'validations': {
|
|
755
|
-
},
|
|
756
|
-
'allowed_values': {
|
|
757
|
-
},
|
|
758
|
-
'openapi_types': {
|
|
759
|
-
'limit_to_id':
|
|
760
|
-
([str],),
|
|
761
|
-
'page_index':
|
|
762
|
-
(int,),
|
|
763
|
-
'page_size':
|
|
764
|
-
(int,),
|
|
765
|
-
},
|
|
766
|
-
'attribute_map': {
|
|
767
|
-
'limit_to_id': 'limitToId',
|
|
768
|
-
'page_index': 'pageIndex',
|
|
769
|
-
'page_size': 'pageSize',
|
|
770
|
-
},
|
|
771
|
-
'location_map': {
|
|
772
|
-
'limit_to_id': 'query',
|
|
773
|
-
'page_index': 'query',
|
|
774
|
-
'page_size': 'query',
|
|
775
|
-
},
|
|
776
|
-
'collection_format_map': {
|
|
777
|
-
'limit_to_id': 'multi',
|
|
778
|
-
}
|
|
779
|
-
},
|
|
780
|
-
headers_map={
|
|
781
|
-
'accept': [
|
|
782
|
-
'application/json'
|
|
724
|
+
'text/plain',
|
|
725
|
+
'application/json',
|
|
726
|
+
'text/json'
|
|
783
727
|
],
|
|
784
728
|
'content_type': [],
|
|
785
729
|
},
|
|
@@ -1315,15 +1259,15 @@ class CampaignApi(object):
|
|
|
1315
1259
|
},
|
|
1316
1260
|
api_client=api_client
|
|
1317
1261
|
)
|
|
1318
|
-
self.
|
|
1262
|
+
self.get_insertion_order_history_change_data_capture_v2_endpoint = _Endpoint(
|
|
1319
1263
|
settings={
|
|
1320
|
-
'response_type': (
|
|
1264
|
+
'response_type': (PageOfInsertionOrderHistoryChangeDataCaptureV2,),
|
|
1321
1265
|
'auth': [
|
|
1322
1266
|
'oauth',
|
|
1323
1267
|
'oauth'
|
|
1324
1268
|
],
|
|
1325
1269
|
'endpoint_path': '/preview/retail-media/insertion-order-history/{insertionOrderId}/change-data-capture',
|
|
1326
|
-
'operation_id': '
|
|
1270
|
+
'operation_id': 'get_insertion_order_history_change_data_capture_v2',
|
|
1327
1271
|
'http_method': 'GET',
|
|
1328
1272
|
'servers': None,
|
|
1329
1273
|
},
|
|
@@ -1775,6 +1719,66 @@ class CampaignApi(object):
|
|
|
1775
1719
|
},
|
|
1776
1720
|
api_client=api_client
|
|
1777
1721
|
)
|
|
1722
|
+
self.post_api_v1_external_account_catalogs_sellers_by_account_id_endpoint = _Endpoint(
|
|
1723
|
+
settings={
|
|
1724
|
+
'response_type': (JsonApiSingleResponseOfCatalogStatus,),
|
|
1725
|
+
'auth': [
|
|
1726
|
+
'oauth',
|
|
1727
|
+
'oauth'
|
|
1728
|
+
],
|
|
1729
|
+
'endpoint_path': '/preview/retail-media/accounts/{accountId}/catalogs/sellers',
|
|
1730
|
+
'operation_id': 'post_api_v1_external_account_catalogs_sellers_by_account_id',
|
|
1731
|
+
'http_method': 'POST',
|
|
1732
|
+
'servers': None,
|
|
1733
|
+
},
|
|
1734
|
+
params_map={
|
|
1735
|
+
'all': [
|
|
1736
|
+
'account_id',
|
|
1737
|
+
'json_api_request_of_seller_catalog_request',
|
|
1738
|
+
],
|
|
1739
|
+
'required': [
|
|
1740
|
+
'account_id',
|
|
1741
|
+
],
|
|
1742
|
+
'nullable': [
|
|
1743
|
+
],
|
|
1744
|
+
'enum': [
|
|
1745
|
+
],
|
|
1746
|
+
'validation': [
|
|
1747
|
+
]
|
|
1748
|
+
},
|
|
1749
|
+
root_map={
|
|
1750
|
+
'validations': {
|
|
1751
|
+
},
|
|
1752
|
+
'allowed_values': {
|
|
1753
|
+
},
|
|
1754
|
+
'openapi_types': {
|
|
1755
|
+
'account_id':
|
|
1756
|
+
(str,),
|
|
1757
|
+
'json_api_request_of_seller_catalog_request':
|
|
1758
|
+
(JsonApiRequestOfSellerCatalogRequest,),
|
|
1759
|
+
},
|
|
1760
|
+
'attribute_map': {
|
|
1761
|
+
'account_id': 'accountId',
|
|
1762
|
+
},
|
|
1763
|
+
'location_map': {
|
|
1764
|
+
'account_id': 'path',
|
|
1765
|
+
'json_api_request_of_seller_catalog_request': 'body',
|
|
1766
|
+
},
|
|
1767
|
+
'collection_format_map': {
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1770
|
+
headers_map={
|
|
1771
|
+
'accept': [
|
|
1772
|
+
'text/plain',
|
|
1773
|
+
'application/json',
|
|
1774
|
+
'text/json'
|
|
1775
|
+
],
|
|
1776
|
+
'content_type': [
|
|
1777
|
+
'application/json'
|
|
1778
|
+
]
|
|
1779
|
+
},
|
|
1780
|
+
api_client=api_client
|
|
1781
|
+
)
|
|
1778
1782
|
self.post_api_v1_external_catalogs_sku_retrieval_endpoint = _Endpoint(
|
|
1779
1783
|
settings={
|
|
1780
1784
|
'response_type': (SkuDataPreviewListResponse,),
|
|
@@ -3524,8 +3528,8 @@ class CampaignApi(object):
|
|
|
3524
3528
|
|
|
3525
3529
|
Keyword Args:
|
|
3526
3530
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
3527
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
3528
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
3531
|
+
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
|
|
3532
|
+
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
|
|
3529
3533
|
_return_http_data_only (bool): response data without head status
|
|
3530
3534
|
code and headers. Default is True.
|
|
3531
3535
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3610,8 +3614,8 @@ class CampaignApi(object):
|
|
|
3610
3614
|
|
|
3611
3615
|
Keyword Args:
|
|
3612
3616
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
3613
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
3614
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
3617
|
+
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
|
|
3618
|
+
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
|
|
3615
3619
|
_return_http_data_only (bool): response data without head status
|
|
3616
3620
|
code and headers. Default is True.
|
|
3617
3621
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3677,87 +3681,6 @@ class CampaignApi(object):
|
|
|
3677
3681
|
account_id
|
|
3678
3682
|
return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
3679
3683
|
|
|
3680
|
-
def get_api_v1_external_accounts(
|
|
3681
|
-
self,
|
|
3682
|
-
**kwargs
|
|
3683
|
-
):
|
|
3684
|
-
"""get_api_v1_external_accounts # noqa: E501
|
|
3685
|
-
|
|
3686
|
-
Gets page of account objects that the current user can access # noqa: E501
|
|
3687
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
3688
|
-
asynchronous HTTP request, please pass async_req=True
|
|
3689
|
-
|
|
3690
|
-
>>> thread = api.get_api_v1_external_accounts(async_req=True)
|
|
3691
|
-
>>> result = thread.get()
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
Keyword Args:
|
|
3695
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
3696
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
3697
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
3698
|
-
_return_http_data_only (bool): response data without head status
|
|
3699
|
-
code and headers. Default is True.
|
|
3700
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3701
|
-
will be returned without reading/decoding response data.
|
|
3702
|
-
Default is True.
|
|
3703
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3704
|
-
one number provided, it will be total request timeout. It can also
|
|
3705
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
3706
|
-
Default is None.
|
|
3707
|
-
_check_input_type (bool): specifies if type checking
|
|
3708
|
-
should be done one the data sent to the server.
|
|
3709
|
-
Default is True.
|
|
3710
|
-
_check_return_type (bool): specifies if type checking
|
|
3711
|
-
should be done one the data received from the server.
|
|
3712
|
-
Default is True.
|
|
3713
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
3714
|
-
are serialized names, as specified in the OpenAPI document.
|
|
3715
|
-
False if the variable names in the input data
|
|
3716
|
-
are pythonic names, e.g. snake case (default)
|
|
3717
|
-
_content_type (str/None): force body content-type.
|
|
3718
|
-
Default is None and content-type will be predicted by allowed
|
|
3719
|
-
content-types and body.
|
|
3720
|
-
_host_index (int/None): specifies the index of the server
|
|
3721
|
-
that we want to use.
|
|
3722
|
-
Default is read from the configuration.
|
|
3723
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
3724
|
-
request; this effectively ignores the authentication
|
|
3725
|
-
in the spec for a single request.
|
|
3726
|
-
Default is None
|
|
3727
|
-
async_req (bool): execute request asynchronously
|
|
3728
|
-
|
|
3729
|
-
Returns:
|
|
3730
|
-
JsonApiPageResponseOfAccount
|
|
3731
|
-
If the method is called asynchronously, returns the request
|
|
3732
|
-
thread.
|
|
3733
|
-
"""
|
|
3734
|
-
kwargs['async_req'] = kwargs.get(
|
|
3735
|
-
'async_req', False
|
|
3736
|
-
)
|
|
3737
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3738
|
-
'_return_http_data_only', True
|
|
3739
|
-
)
|
|
3740
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
3741
|
-
'_preload_content', True
|
|
3742
|
-
)
|
|
3743
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
3744
|
-
'_request_timeout', None
|
|
3745
|
-
)
|
|
3746
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
3747
|
-
'_check_input_type', True
|
|
3748
|
-
)
|
|
3749
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
3750
|
-
'_check_return_type', True
|
|
3751
|
-
)
|
|
3752
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3753
|
-
'_spec_property_naming', False
|
|
3754
|
-
)
|
|
3755
|
-
kwargs['_content_type'] = kwargs.get(
|
|
3756
|
-
'_content_type')
|
|
3757
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3758
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3759
|
-
return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
|
|
3760
|
-
|
|
3761
3684
|
def get_api_v1_external_retailer_brands_by_retailer_id(
|
|
3762
3685
|
self,
|
|
3763
3686
|
retailer_id,
|
|
@@ -4519,18 +4442,18 @@ class CampaignApi(object):
|
|
|
4519
4442
|
campaign_id
|
|
4520
4443
|
return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
|
|
4521
4444
|
|
|
4522
|
-
def
|
|
4445
|
+
def get_insertion_order_history_change_data_capture_v2(
|
|
4523
4446
|
self,
|
|
4524
4447
|
insertion_order_id,
|
|
4525
4448
|
**kwargs
|
|
4526
4449
|
):
|
|
4527
|
-
"""
|
|
4450
|
+
"""get_insertion_order_history_change_data_capture_v2 # noqa: E501
|
|
4528
4451
|
|
|
4529
4452
|
Gets the balance's historical data change capture. # noqa: E501
|
|
4530
4453
|
This method makes a synchronous HTTP request by default. To make an
|
|
4531
4454
|
asynchronous HTTP request, please pass async_req=True
|
|
4532
4455
|
|
|
4533
|
-
>>> thread = api.
|
|
4456
|
+
>>> thread = api.get_insertion_order_history_change_data_capture_v2(insertion_order_id, async_req=True)
|
|
4534
4457
|
>>> result = thread.get()
|
|
4535
4458
|
|
|
4536
4459
|
Args:
|
|
@@ -4572,7 +4495,7 @@ class CampaignApi(object):
|
|
|
4572
4495
|
async_req (bool): execute request asynchronously
|
|
4573
4496
|
|
|
4574
4497
|
Returns:
|
|
4575
|
-
|
|
4498
|
+
PageOfInsertionOrderHistoryChangeDataCaptureV2
|
|
4576
4499
|
If the method is called asynchronously, returns the request
|
|
4577
4500
|
thread.
|
|
4578
4501
|
"""
|
|
@@ -4603,7 +4526,7 @@ class CampaignApi(object):
|
|
|
4603
4526
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4604
4527
|
kwargs['insertion_order_id'] = \
|
|
4605
4528
|
insertion_order_id
|
|
4606
|
-
return self.
|
|
4529
|
+
return self.get_insertion_order_history_change_data_capture_v2_endpoint.call_with_http_info(**kwargs)
|
|
4607
4530
|
|
|
4608
4531
|
def get_line_item_budget_overrides(
|
|
4609
4532
|
self,
|
|
@@ -5116,6 +5039,90 @@ class CampaignApi(object):
|
|
|
5116
5039
|
line_item_id
|
|
5117
5040
|
return self.post_api202210_external_line_item_product_buttons_create_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
5118
5041
|
|
|
5042
|
+
def post_api_v1_external_account_catalogs_sellers_by_account_id(
|
|
5043
|
+
self,
|
|
5044
|
+
account_id,
|
|
5045
|
+
**kwargs
|
|
5046
|
+
):
|
|
5047
|
+
"""post_api_v1_external_account_catalogs_sellers_by_account_id # noqa: E501
|
|
5048
|
+
|
|
5049
|
+
Create a request for a Catalog available to the indicated account. # noqa: E501
|
|
5050
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
5051
|
+
asynchronous HTTP request, please pass async_req=True
|
|
5052
|
+
|
|
5053
|
+
>>> thread = api.post_api_v1_external_account_catalogs_sellers_by_account_id(account_id, async_req=True)
|
|
5054
|
+
>>> result = thread.get()
|
|
5055
|
+
|
|
5056
|
+
Args:
|
|
5057
|
+
account_id (str): The account to request the catalog for.
|
|
5058
|
+
|
|
5059
|
+
Keyword Args:
|
|
5060
|
+
json_api_request_of_seller_catalog_request (JsonApiRequestOfSellerCatalogRequest): [optional]
|
|
5061
|
+
_return_http_data_only (bool): response data without head status
|
|
5062
|
+
code and headers. Default is True.
|
|
5063
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5064
|
+
will be returned without reading/decoding response data.
|
|
5065
|
+
Default is True.
|
|
5066
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5067
|
+
one number provided, it will be total request timeout. It can also
|
|
5068
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
5069
|
+
Default is None.
|
|
5070
|
+
_check_input_type (bool): specifies if type checking
|
|
5071
|
+
should be done one the data sent to the server.
|
|
5072
|
+
Default is True.
|
|
5073
|
+
_check_return_type (bool): specifies if type checking
|
|
5074
|
+
should be done one the data received from the server.
|
|
5075
|
+
Default is True.
|
|
5076
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
5077
|
+
are serialized names, as specified in the OpenAPI document.
|
|
5078
|
+
False if the variable names in the input data
|
|
5079
|
+
are pythonic names, e.g. snake case (default)
|
|
5080
|
+
_content_type (str/None): force body content-type.
|
|
5081
|
+
Default is None and content-type will be predicted by allowed
|
|
5082
|
+
content-types and body.
|
|
5083
|
+
_host_index (int/None): specifies the index of the server
|
|
5084
|
+
that we want to use.
|
|
5085
|
+
Default is read from the configuration.
|
|
5086
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
5087
|
+
request; this effectively ignores the authentication
|
|
5088
|
+
in the spec for a single request.
|
|
5089
|
+
Default is None
|
|
5090
|
+
async_req (bool): execute request asynchronously
|
|
5091
|
+
|
|
5092
|
+
Returns:
|
|
5093
|
+
JsonApiSingleResponseOfCatalogStatus
|
|
5094
|
+
If the method is called asynchronously, returns the request
|
|
5095
|
+
thread.
|
|
5096
|
+
"""
|
|
5097
|
+
kwargs['async_req'] = kwargs.get(
|
|
5098
|
+
'async_req', False
|
|
5099
|
+
)
|
|
5100
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5101
|
+
'_return_http_data_only', True
|
|
5102
|
+
)
|
|
5103
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
5104
|
+
'_preload_content', True
|
|
5105
|
+
)
|
|
5106
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
5107
|
+
'_request_timeout', None
|
|
5108
|
+
)
|
|
5109
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
5110
|
+
'_check_input_type', True
|
|
5111
|
+
)
|
|
5112
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
5113
|
+
'_check_return_type', True
|
|
5114
|
+
)
|
|
5115
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5116
|
+
'_spec_property_naming', False
|
|
5117
|
+
)
|
|
5118
|
+
kwargs['_content_type'] = kwargs.get(
|
|
5119
|
+
'_content_type')
|
|
5120
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5121
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5122
|
+
kwargs['account_id'] = \
|
|
5123
|
+
account_id
|
|
5124
|
+
return self.post_api_v1_external_account_catalogs_sellers_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
5125
|
+
|
|
5119
5126
|
def post_api_v1_external_catalogs_sku_retrieval(
|
|
5120
5127
|
self,
|
|
5121
5128
|
**kwargs
|
|
@@ -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.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/0.0.240731/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -804,10 +804,10 @@ class Endpoint(object):
|
|
|
804
804
|
Example:
|
|
805
805
|
|
|
806
806
|
api_instance = AccountsApi()
|
|
807
|
-
api_instance.
|
|
808
|
-
api_instance.
|
|
807
|
+
api_instance.get_api_v1_external_accounts # this is an instance of the class Endpoint
|
|
808
|
+
api_instance.get_api_v1_external_accounts() # this invokes api_instance.get_api_v1_external_accounts.__call__()
|
|
809
809
|
which then invokes the callable functions stored in that endpoint at
|
|
810
|
-
api_instance.
|
|
810
|
+
api_instance.get_api_v1_external_accounts.callable or self.callable in this class
|
|
811
811
|
|
|
812
812
|
"""
|
|
813
813
|
return self.callable(self, *args, **kwargs)
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
from criteo_api_retailmedia_preview.api.accounts_api import AccountsApi
|
|
18
18
|
from criteo_api_retailmedia_preview.api.analytics_api import AnalyticsApi
|
|
19
19
|
from criteo_api_retailmedia_preview.api.audience_api import AudienceApi
|
|
20
|
+
from criteo_api_retailmedia_preview.api.balance_api import BalanceApi
|
|
20
21
|
from criteo_api_retailmedia_preview.api.campaign_api import CampaignApi
|
|
21
22
|
from criteo_api_retailmedia_preview.api.catalog_api import CatalogApi
|
|
22
23
|
from criteo_api_retailmedia_preview.api.gateway_api import GatewayApi
|
|
@@ -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.
|
|
398
|
+
"SDK Package Version: 0.0.240731".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|