criteo-api-retailmedia-sdk 0.0.250218__py3-none-any.whl → 0.0.250317__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 +3 -3
- criteo_api_retailmedia_preview/api/billing_api.py +445 -0
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +3 -3
- criteo_api_retailmedia_preview/model/application_summary_model.py +1 -1
- criteo_api_retailmedia_preview/model/application_summary_model_resource.py +1 -1
- criteo_api_retailmedia_preview/model/async_accounts_report.py +36 -47
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +3 -3
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +39 -49
- criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +3 -3
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +21 -14
- criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +3 -3
- criteo_api_retailmedia_preview/model/async_line_items_report.py +39 -49
- criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +3 -3
- criteo_api_retailmedia_preview/model/balance_response_v2.py +1 -1
- criteo_api_retailmedia_preview/model/bot_message.py +1 -1
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +3 -4
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +1 -1
- criteo_api_retailmedia_preview/model/choice_variable_value.py +1 -1
- criteo_api_retailmedia_preview/model/cpc_min_bids_response.py +1 -1
- criteo_api_retailmedia_preview/model/create_balance_v2.py +3 -3
- criteo_api_retailmedia_preview/model/creative2.py +5 -1
- criteo_api_retailmedia_preview/model/creative_update_model2.py +3 -3
- criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_of_retail_media_child_account.py → entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py} +18 -25
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +6 -13
- criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +274 -0
- criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +270 -0
- criteo_api_retailmedia_preview/model/export_report_meta_data.py +1 -1
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +4 -0
- criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +4 -0
- criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +25 -37
- criteo_api_retailmedia_preview/model/files_variable_value.py +1 -1
- criteo_api_retailmedia_preview/model/grant_consent_model.py +3 -3
- criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +3 -3
- criteo_api_retailmedia_preview/model/inbot_discussion.py +3 -3
- criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py +3 -3
- criteo_api_retailmedia_preview/model/installment.py +3 -3
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +2 -8
- criteo_api_retailmedia_preview/model/keyword_data_model.py +6 -6
- criteo_api_retailmedia_preview/model/keywords.py +12 -14
- criteo_api_retailmedia_preview/model/keywords_model.py +1 -1
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +1 -1
- criteo_api_retailmedia_preview/model/line_item_product_status.py +2 -1
- criteo_api_retailmedia_preview/model/loyalty_points.py +9 -9
- criteo_api_retailmedia_preview/model/message_data_instance_model.py +1 -1
- criteo_api_retailmedia_preview/model/metadata.py +1 -1
- criteo_api_retailmedia_preview/model/nillable_string.py +1 -1
- criteo_api_retailmedia_preview/model/page_metadata.py +6 -6
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +1 -1
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +293 -0
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +279 -0
- criteo_api_retailmedia_preview/model/price.py +6 -6
- criteo_api_retailmedia_preview/model/product.py +198 -198
- criteo_api_retailmedia_preview/model/product_metadata.py +1 -1
- criteo_api_retailmedia_preview/model/product_shipping.py +18 -18
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +6 -6
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +6 -6
- criteo_api_retailmedia_preview/model/product_tax.py +18 -18
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +6 -6
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +6 -6
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +12 -12
- criteo_api_retailmedia_preview/model/promoted_product.py +1 -1
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_input.py +3 -3
- criteo_api_retailmedia_preview/model/recommended_keywords_result.py +1 -1
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +1 -1
- criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py +1 -1
- criteo_api_retailmedia_preview/model/resource_of_change_dates_of_balance_v2.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_create_balance_v2.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_product_button_request.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_slim_preview.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_slim_v2_preview.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_update_balance_model_v2.py +6 -6
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment.py +3 -3
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +3 -4
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_delete_entity_v1_resource.py +6 -6
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +9 -10
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +3 -3
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1_resource.py +6 -6
- criteo_api_retailmedia_preview/model/rm_contact_list_create_v1.py +3 -4
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py +1 -1
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_events_v1.py +1 -1
- criteo_api_retailmedia_preview/model/seller_catalog_request.py +3 -3
- criteo_api_retailmedia_preview/model/seller_search.py +3 -3
- criteo_api_retailmedia_preview/model/seller_search_result.py +1 -1
- criteo_api_retailmedia_preview/model/status_response.py +1 -1
- criteo_api_retailmedia_preview/model/status_response_resource.py +1 -1
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +27 -33
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +3 -3
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +27 -34
- criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +3 -3
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +30 -37
- criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +3 -3
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +1 -1
- criteo_api_retailmedia_preview/model/{offset_page_metadata.py → value_resource_input_partner_billing_report_request_v1.py} +15 -32
- criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +1 -1
- criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +266 -0
- criteo_api_retailmedia_preview/model/video_variable_value.py +1 -1
- criteo_api_retailmedia_preview/models/__init__.py +7 -2
- {criteo_api_retailmedia_sdk-0.0.250218.dist-info → criteo_api_retailmedia_sdk-0.0.250317.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250218.dist-info → criteo_api_retailmedia_sdk-0.0.250317.dist-info}/RECORD +124 -118
- {criteo_api_retailmedia_sdk-0.0.250218.dist-info → criteo_api_retailmedia_sdk-0.0.250317.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.250218.dist-info → criteo_api_retailmedia_sdk-0.0.250317.dist-info}/top_level.txt +0 -0
|
@@ -21,7 +21,7 @@ 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.
|
|
24
|
+
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account_and_metadata import EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata
|
|
25
25
|
from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
|
|
26
26
|
from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
27
27
|
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_seller_search_result import ValueResourceCollectionOutcomeOfSellerSearchResult
|
|
@@ -41,7 +41,7 @@ class AccountsApi(object):
|
|
|
41
41
|
self.api_client = api_client
|
|
42
42
|
self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint = _Endpoint(
|
|
43
43
|
settings={
|
|
44
|
-
'response_type': (
|
|
44
|
+
'response_type': (EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata,),
|
|
45
45
|
'auth': [
|
|
46
46
|
'oauth',
|
|
47
47
|
'oauth'
|
|
@@ -269,7 +269,7 @@ class AccountsApi(object):
|
|
|
269
269
|
async_req (bool): execute request asynchronously
|
|
270
270
|
|
|
271
271
|
Returns:
|
|
272
|
-
|
|
272
|
+
EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata
|
|
273
273
|
If the method is called asynchronously, returns the request
|
|
274
274
|
thread.
|
|
275
275
|
"""
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.api_client import ApiClient, Endpoint as _Endpoint
|
|
15
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
16
|
+
check_allowed_values,
|
|
17
|
+
check_validations,
|
|
18
|
+
date,
|
|
19
|
+
datetime,
|
|
20
|
+
file_type,
|
|
21
|
+
none_type,
|
|
22
|
+
validate_and_convert_types
|
|
23
|
+
)
|
|
24
|
+
from criteo_api_retailmedia_preview.model.entity_resource_outcome_partner_billing_report_status_v1 import EntityResourceOutcomePartnerBillingReportStatusV1
|
|
25
|
+
from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
26
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_partner_billing_report_request_v1 import ValueResourceInputPartnerBillingReportRequestV1
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class BillingApi(object):
|
|
30
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
31
|
+
Ref: https://openapi-generator.tech
|
|
32
|
+
|
|
33
|
+
Do not edit the class manually.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def __init__(self, api_client=None):
|
|
37
|
+
if api_client is None:
|
|
38
|
+
api_client = ApiClient()
|
|
39
|
+
self.api_client = api_client
|
|
40
|
+
self.preview_retail_media_billing_partner_report_post_endpoint = _Endpoint(
|
|
41
|
+
settings={
|
|
42
|
+
'response_type': (EntityResourceOutcomePartnerBillingReportStatusV1,),
|
|
43
|
+
'auth': [
|
|
44
|
+
'oauth',
|
|
45
|
+
'oauth'
|
|
46
|
+
],
|
|
47
|
+
'endpoint_path': '/preview/retail-media/billing/partner-report',
|
|
48
|
+
'operation_id': 'preview_retail_media_billing_partner_report_post',
|
|
49
|
+
'http_method': 'POST',
|
|
50
|
+
'servers': None,
|
|
51
|
+
},
|
|
52
|
+
params_map={
|
|
53
|
+
'all': [
|
|
54
|
+
'value_resource_input_partner_billing_report_request_v1',
|
|
55
|
+
],
|
|
56
|
+
'required': [],
|
|
57
|
+
'nullable': [
|
|
58
|
+
],
|
|
59
|
+
'enum': [
|
|
60
|
+
],
|
|
61
|
+
'validation': [
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
root_map={
|
|
65
|
+
'validations': {
|
|
66
|
+
},
|
|
67
|
+
'allowed_values': {
|
|
68
|
+
},
|
|
69
|
+
'openapi_types': {
|
|
70
|
+
'value_resource_input_partner_billing_report_request_v1':
|
|
71
|
+
(ValueResourceInputPartnerBillingReportRequestV1,),
|
|
72
|
+
},
|
|
73
|
+
'attribute_map': {
|
|
74
|
+
},
|
|
75
|
+
'location_map': {
|
|
76
|
+
'value_resource_input_partner_billing_report_request_v1': 'body',
|
|
77
|
+
},
|
|
78
|
+
'collection_format_map': {
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
headers_map={
|
|
82
|
+
'accept': [
|
|
83
|
+
'text/plain',
|
|
84
|
+
'application/json',
|
|
85
|
+
'text/json'
|
|
86
|
+
],
|
|
87
|
+
'content_type': [
|
|
88
|
+
'application/json'
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
api_client=api_client
|
|
92
|
+
)
|
|
93
|
+
self.preview_retail_media_billing_partner_report_request_id_output_get_endpoint = _Endpoint(
|
|
94
|
+
settings={
|
|
95
|
+
'response_type': (file_type,),
|
|
96
|
+
'auth': [
|
|
97
|
+
'oauth',
|
|
98
|
+
'oauth'
|
|
99
|
+
],
|
|
100
|
+
'endpoint_path': '/preview/retail-media/billing/partner-report/{requestId}/output',
|
|
101
|
+
'operation_id': 'preview_retail_media_billing_partner_report_request_id_output_get',
|
|
102
|
+
'http_method': 'GET',
|
|
103
|
+
'servers': None,
|
|
104
|
+
},
|
|
105
|
+
params_map={
|
|
106
|
+
'all': [
|
|
107
|
+
'request_id',
|
|
108
|
+
],
|
|
109
|
+
'required': [
|
|
110
|
+
'request_id',
|
|
111
|
+
],
|
|
112
|
+
'nullable': [
|
|
113
|
+
],
|
|
114
|
+
'enum': [
|
|
115
|
+
],
|
|
116
|
+
'validation': [
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
root_map={
|
|
120
|
+
'validations': {
|
|
121
|
+
},
|
|
122
|
+
'allowed_values': {
|
|
123
|
+
},
|
|
124
|
+
'openapi_types': {
|
|
125
|
+
'request_id':
|
|
126
|
+
(str,),
|
|
127
|
+
},
|
|
128
|
+
'attribute_map': {
|
|
129
|
+
'request_id': 'requestId',
|
|
130
|
+
},
|
|
131
|
+
'location_map': {
|
|
132
|
+
'request_id': 'path',
|
|
133
|
+
},
|
|
134
|
+
'collection_format_map': {
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
headers_map={
|
|
138
|
+
'accept': [
|
|
139
|
+
'application/csv',
|
|
140
|
+
'application/json'
|
|
141
|
+
],
|
|
142
|
+
'content_type': [],
|
|
143
|
+
},
|
|
144
|
+
api_client=api_client
|
|
145
|
+
)
|
|
146
|
+
self.preview_retail_media_billing_partner_report_request_id_status_get_endpoint = _Endpoint(
|
|
147
|
+
settings={
|
|
148
|
+
'response_type': (EntityResourceOutcomePartnerBillingReportStatusV1,),
|
|
149
|
+
'auth': [
|
|
150
|
+
'oauth',
|
|
151
|
+
'oauth'
|
|
152
|
+
],
|
|
153
|
+
'endpoint_path': '/preview/retail-media/billing/partner-report/{requestId}/status',
|
|
154
|
+
'operation_id': 'preview_retail_media_billing_partner_report_request_id_status_get',
|
|
155
|
+
'http_method': 'GET',
|
|
156
|
+
'servers': None,
|
|
157
|
+
},
|
|
158
|
+
params_map={
|
|
159
|
+
'all': [
|
|
160
|
+
'request_id',
|
|
161
|
+
],
|
|
162
|
+
'required': [
|
|
163
|
+
'request_id',
|
|
164
|
+
],
|
|
165
|
+
'nullable': [
|
|
166
|
+
],
|
|
167
|
+
'enum': [
|
|
168
|
+
],
|
|
169
|
+
'validation': [
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
root_map={
|
|
173
|
+
'validations': {
|
|
174
|
+
},
|
|
175
|
+
'allowed_values': {
|
|
176
|
+
},
|
|
177
|
+
'openapi_types': {
|
|
178
|
+
'request_id':
|
|
179
|
+
(str,),
|
|
180
|
+
},
|
|
181
|
+
'attribute_map': {
|
|
182
|
+
'request_id': 'requestId',
|
|
183
|
+
},
|
|
184
|
+
'location_map': {
|
|
185
|
+
'request_id': 'path',
|
|
186
|
+
},
|
|
187
|
+
'collection_format_map': {
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
headers_map={
|
|
191
|
+
'accept': [
|
|
192
|
+
'text/plain',
|
|
193
|
+
'application/json',
|
|
194
|
+
'text/json'
|
|
195
|
+
],
|
|
196
|
+
'content_type': [],
|
|
197
|
+
},
|
|
198
|
+
api_client=api_client
|
|
199
|
+
)
|
|
200
|
+
|
|
201
|
+
def preview_retail_media_billing_partner_report_post(
|
|
202
|
+
self,
|
|
203
|
+
**kwargs
|
|
204
|
+
):
|
|
205
|
+
"""preview_retail_media_billing_partner_report_post # noqa: E501
|
|
206
|
+
|
|
207
|
+
Create a Partner Billing Report request. # noqa: E501
|
|
208
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
209
|
+
asynchronous HTTP request, please pass async_req=True
|
|
210
|
+
|
|
211
|
+
>>> thread = api.preview_retail_media_billing_partner_report_post(async_req=True)
|
|
212
|
+
>>> result = thread.get()
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
Keyword Args:
|
|
216
|
+
value_resource_input_partner_billing_report_request_v1 (ValueResourceInputPartnerBillingReportRequestV1): Partner Billing Report request object.. [optional]
|
|
217
|
+
_return_http_data_only (bool): response data without head status
|
|
218
|
+
code and headers. Default is True.
|
|
219
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
220
|
+
will be returned without reading/decoding response data.
|
|
221
|
+
Default is True.
|
|
222
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
223
|
+
one number provided, it will be total request timeout. It can also
|
|
224
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
225
|
+
Default is None.
|
|
226
|
+
_check_input_type (bool): specifies if type checking
|
|
227
|
+
should be done one the data sent to the server.
|
|
228
|
+
Default is True.
|
|
229
|
+
_check_return_type (bool): specifies if type checking
|
|
230
|
+
should be done one the data received from the server.
|
|
231
|
+
Default is True.
|
|
232
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
233
|
+
are serialized names, as specified in the OpenAPI document.
|
|
234
|
+
False if the variable names in the input data
|
|
235
|
+
are pythonic names, e.g. snake case (default)
|
|
236
|
+
_content_type (str/None): force body content-type.
|
|
237
|
+
Default is None and content-type will be predicted by allowed
|
|
238
|
+
content-types and body.
|
|
239
|
+
_host_index (int/None): specifies the index of the server
|
|
240
|
+
that we want to use.
|
|
241
|
+
Default is read from the configuration.
|
|
242
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
243
|
+
request; this effectively ignores the authentication
|
|
244
|
+
in the spec for a single request.
|
|
245
|
+
Default is None
|
|
246
|
+
async_req (bool): execute request asynchronously
|
|
247
|
+
|
|
248
|
+
Returns:
|
|
249
|
+
EntityResourceOutcomePartnerBillingReportStatusV1
|
|
250
|
+
If the method is called asynchronously, returns the request
|
|
251
|
+
thread.
|
|
252
|
+
"""
|
|
253
|
+
kwargs['async_req'] = kwargs.get(
|
|
254
|
+
'async_req', False
|
|
255
|
+
)
|
|
256
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
257
|
+
'_return_http_data_only', True
|
|
258
|
+
)
|
|
259
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
260
|
+
'_preload_content', True
|
|
261
|
+
)
|
|
262
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
263
|
+
'_request_timeout', None
|
|
264
|
+
)
|
|
265
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
266
|
+
'_check_input_type', True
|
|
267
|
+
)
|
|
268
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
269
|
+
'_check_return_type', True
|
|
270
|
+
)
|
|
271
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
272
|
+
'_spec_property_naming', False
|
|
273
|
+
)
|
|
274
|
+
kwargs['_content_type'] = kwargs.get(
|
|
275
|
+
'_content_type')
|
|
276
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
277
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
278
|
+
return self.preview_retail_media_billing_partner_report_post_endpoint.call_with_http_info(**kwargs)
|
|
279
|
+
|
|
280
|
+
def preview_retail_media_billing_partner_report_request_id_output_get(
|
|
281
|
+
self,
|
|
282
|
+
request_id,
|
|
283
|
+
**kwargs
|
|
284
|
+
):
|
|
285
|
+
"""preview_retail_media_billing_partner_report_request_id_output_get # noqa: E501
|
|
286
|
+
|
|
287
|
+
Get the output of an existing Partner Billing Report. # noqa: E501
|
|
288
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
289
|
+
asynchronous HTTP request, please pass async_req=True
|
|
290
|
+
|
|
291
|
+
>>> thread = api.preview_retail_media_billing_partner_report_request_id_output_get(request_id, async_req=True)
|
|
292
|
+
>>> result = thread.get()
|
|
293
|
+
|
|
294
|
+
Args:
|
|
295
|
+
request_id (str): The id of a Partner Billing Report request.
|
|
296
|
+
|
|
297
|
+
Keyword Args:
|
|
298
|
+
_return_http_data_only (bool): response data without head status
|
|
299
|
+
code and headers. Default is True.
|
|
300
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
301
|
+
will be returned without reading/decoding response data.
|
|
302
|
+
Default is True.
|
|
303
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
304
|
+
one number provided, it will be total request timeout. It can also
|
|
305
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
306
|
+
Default is None.
|
|
307
|
+
_check_input_type (bool): specifies if type checking
|
|
308
|
+
should be done one the data sent to the server.
|
|
309
|
+
Default is True.
|
|
310
|
+
_check_return_type (bool): specifies if type checking
|
|
311
|
+
should be done one the data received from the server.
|
|
312
|
+
Default is True.
|
|
313
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
314
|
+
are serialized names, as specified in the OpenAPI document.
|
|
315
|
+
False if the variable names in the input data
|
|
316
|
+
are pythonic names, e.g. snake case (default)
|
|
317
|
+
_content_type (str/None): force body content-type.
|
|
318
|
+
Default is None and content-type will be predicted by allowed
|
|
319
|
+
content-types and body.
|
|
320
|
+
_host_index (int/None): specifies the index of the server
|
|
321
|
+
that we want to use.
|
|
322
|
+
Default is read from the configuration.
|
|
323
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
324
|
+
request; this effectively ignores the authentication
|
|
325
|
+
in the spec for a single request.
|
|
326
|
+
Default is None
|
|
327
|
+
async_req (bool): execute request asynchronously
|
|
328
|
+
|
|
329
|
+
Returns:
|
|
330
|
+
file_type
|
|
331
|
+
If the method is called asynchronously, returns the request
|
|
332
|
+
thread.
|
|
333
|
+
"""
|
|
334
|
+
kwargs['async_req'] = kwargs.get(
|
|
335
|
+
'async_req', False
|
|
336
|
+
)
|
|
337
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
338
|
+
'_return_http_data_only', True
|
|
339
|
+
)
|
|
340
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
341
|
+
'_preload_content', True
|
|
342
|
+
)
|
|
343
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
344
|
+
'_request_timeout', None
|
|
345
|
+
)
|
|
346
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
347
|
+
'_check_input_type', True
|
|
348
|
+
)
|
|
349
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
350
|
+
'_check_return_type', True
|
|
351
|
+
)
|
|
352
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
353
|
+
'_spec_property_naming', False
|
|
354
|
+
)
|
|
355
|
+
kwargs['_content_type'] = kwargs.get(
|
|
356
|
+
'_content_type')
|
|
357
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
358
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
359
|
+
kwargs['request_id'] = \
|
|
360
|
+
request_id
|
|
361
|
+
return self.preview_retail_media_billing_partner_report_request_id_output_get_endpoint.call_with_http_info(**kwargs)
|
|
362
|
+
|
|
363
|
+
def preview_retail_media_billing_partner_report_request_id_status_get(
|
|
364
|
+
self,
|
|
365
|
+
request_id,
|
|
366
|
+
**kwargs
|
|
367
|
+
):
|
|
368
|
+
"""preview_retail_media_billing_partner_report_request_id_status_get # noqa: E501
|
|
369
|
+
|
|
370
|
+
Get the status of an existing Partner Billing Report. # noqa: E501
|
|
371
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
372
|
+
asynchronous HTTP request, please pass async_req=True
|
|
373
|
+
|
|
374
|
+
>>> thread = api.preview_retail_media_billing_partner_report_request_id_status_get(request_id, async_req=True)
|
|
375
|
+
>>> result = thread.get()
|
|
376
|
+
|
|
377
|
+
Args:
|
|
378
|
+
request_id (str): The id of a Partner Billing Report request.
|
|
379
|
+
|
|
380
|
+
Keyword Args:
|
|
381
|
+
_return_http_data_only (bool): response data without head status
|
|
382
|
+
code and headers. Default is True.
|
|
383
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
384
|
+
will be returned without reading/decoding response data.
|
|
385
|
+
Default is True.
|
|
386
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
387
|
+
one number provided, it will be total request timeout. It can also
|
|
388
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
389
|
+
Default is None.
|
|
390
|
+
_check_input_type (bool): specifies if type checking
|
|
391
|
+
should be done one the data sent to the server.
|
|
392
|
+
Default is True.
|
|
393
|
+
_check_return_type (bool): specifies if type checking
|
|
394
|
+
should be done one the data received from the server.
|
|
395
|
+
Default is True.
|
|
396
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
397
|
+
are serialized names, as specified in the OpenAPI document.
|
|
398
|
+
False if the variable names in the input data
|
|
399
|
+
are pythonic names, e.g. snake case (default)
|
|
400
|
+
_content_type (str/None): force body content-type.
|
|
401
|
+
Default is None and content-type will be predicted by allowed
|
|
402
|
+
content-types and body.
|
|
403
|
+
_host_index (int/None): specifies the index of the server
|
|
404
|
+
that we want to use.
|
|
405
|
+
Default is read from the configuration.
|
|
406
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
407
|
+
request; this effectively ignores the authentication
|
|
408
|
+
in the spec for a single request.
|
|
409
|
+
Default is None
|
|
410
|
+
async_req (bool): execute request asynchronously
|
|
411
|
+
|
|
412
|
+
Returns:
|
|
413
|
+
EntityResourceOutcomePartnerBillingReportStatusV1
|
|
414
|
+
If the method is called asynchronously, returns the request
|
|
415
|
+
thread.
|
|
416
|
+
"""
|
|
417
|
+
kwargs['async_req'] = kwargs.get(
|
|
418
|
+
'async_req', False
|
|
419
|
+
)
|
|
420
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
421
|
+
'_return_http_data_only', True
|
|
422
|
+
)
|
|
423
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
424
|
+
'_preload_content', True
|
|
425
|
+
)
|
|
426
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
427
|
+
'_request_timeout', None
|
|
428
|
+
)
|
|
429
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
430
|
+
'_check_input_type', True
|
|
431
|
+
)
|
|
432
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
433
|
+
'_check_return_type', True
|
|
434
|
+
)
|
|
435
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
436
|
+
'_spec_property_naming', False
|
|
437
|
+
)
|
|
438
|
+
kwargs['_content_type'] = kwargs.get(
|
|
439
|
+
'_content_type')
|
|
440
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
441
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
442
|
+
kwargs['request_id'] = \
|
|
443
|
+
request_id
|
|
444
|
+
return self.preview_retail_media_billing_partner_report_request_id_status_get_endpoint.call_with_http_info(**kwargs)
|
|
445
|
+
|
|
@@ -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.250317/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -18,6 +18,7 @@ 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
20
|
from criteo_api_retailmedia_preview.api.balance_api import BalanceApi
|
|
21
|
+
from criteo_api_retailmedia_preview.api.billing_api import BillingApi
|
|
21
22
|
from criteo_api_retailmedia_preview.api.campaign_api import CampaignApi
|
|
22
23
|
from criteo_api_retailmedia_preview.api.catalog_api import CatalogApi
|
|
23
24
|
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.250317".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -86,7 +86,7 @@ class AddRemoveKeywordModel(ModelNormal):
|
|
|
86
86
|
return {
|
|
87
87
|
'phrase': (str, none_type,), # noqa: E501
|
|
88
88
|
'match_type': (MatchTypeModel,), # noqa: E501
|
|
89
|
-
'is_deleted': (bool,
|
|
89
|
+
'is_deleted': (bool,), # noqa: E501
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
@cached_property
|
|
@@ -143,7 +143,7 @@ class AddRemoveKeywordModel(ModelNormal):
|
|
|
143
143
|
_visited_composed_classes = (Animal,)
|
|
144
144
|
phrase (str, none_type): [optional] # noqa: E501
|
|
145
145
|
match_type (MatchTypeModel): [optional] # noqa: E501
|
|
146
|
-
is_deleted (bool
|
|
146
|
+
is_deleted (bool): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,7 +231,7 @@ class AddRemoveKeywordModel(ModelNormal):
|
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
232
|
phrase (str, none_type): [optional] # noqa: E501
|
|
233
233
|
match_type (MatchTypeModel): [optional] # noqa: E501
|
|
234
|
-
is_deleted (bool
|
|
234
|
+
is_deleted (bool): [optional] # noqa: E501
|
|
235
235
|
"""
|
|
236
236
|
|
|
237
237
|
_check_type = kwargs.pop('_check_type', True)
|