criteo-api-retailmedia-sdk 2024.7.0.241029__py3-none-any.whl → 2024.7.0.250205__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_sdk-2024.7.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250205.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250205.dist-info}/RECORD +60 -63
- {criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250205.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_07/__init__.py +1 -1
- criteo_api_retailmedia_v2024_07/api/accounts_api.py +30 -41
- criteo_api_retailmedia_v2024_07/api/campaign_api.py +25 -281
- criteo_api_retailmedia_v2024_07/api_client.py +1 -1
- criteo_api_retailmedia_v2024_07/configuration.py +1 -1
- criteo_api_retailmedia_v2024_07/model/async_campaigns_report.py +44 -0
- criteo_api_retailmedia_v2024_07/model/async_line_items_report.py +44 -0
- criteo_api_retailmedia_v2024_07/model/async_revenue_report.py +29 -2
- criteo_api_retailmedia_v2024_07/model/balance_response_v2_response.py +1 -1
- criteo_api_retailmedia_v2024_07/model/change_details_v1.py +8 -18
- criteo_api_retailmedia_v2024_07/model/choice_option.py +1 -8
- criteo_api_retailmedia_v2024_07/model/choice_variable_specification.py +1 -8
- criteo_api_retailmedia_v2024_07/model/choice_variable_value.py +1 -7
- criteo_api_retailmedia_v2024_07/model/color_variable_value.py +7 -19
- criteo_api_retailmedia_v2024_07/model/creative202110.py +7 -13
- criteo_api_retailmedia_v2024_07/model/creative202110_list_response.py +13 -20
- criteo_api_retailmedia_v2024_07/model/creative202210.py +12 -19
- criteo_api_retailmedia_v2024_07/model/creative202210_list_response.py +13 -20
- criteo_api_retailmedia_v2024_07/model/creative202210_response.py +10 -17
- criteo_api_retailmedia_v2024_07/model/creative_create_model202207.py +4 -11
- criteo_api_retailmedia_v2024_07/model/creative_update_model202207.py +4 -11
- criteo_api_retailmedia_v2024_07/model/{proposal_status_model_resource.py → entity_resource_of_retail_media_account.py} +17 -10
- criteo_api_retailmedia_v2024_07/model/{proposal_status_model_response.py → entity_resource_outcome_of_retail_media_account.py} +28 -21
- criteo_api_retailmedia_v2024_07/model/{retail_media_account.py → external_retail_media_account.py} +29 -23
- criteo_api_retailmedia_v2024_07/model/{retail_media_brand_account_creation.py → external_retail_media_brand_account_creation.py} +18 -12
- criteo_api_retailmedia_v2024_07/model/{retail_media_brands.py → external_retail_media_brands.py} +13 -7
- criteo_api_retailmedia_v2024_07/model/{retail_media_seller.py → external_retail_media_seller.py} +17 -11
- criteo_api_retailmedia_v2024_07/model/{retail_media_seller_account_creation.py → external_retail_media_seller_account_creation.py} +23 -16
- criteo_api_retailmedia_v2024_07/model/external_retailer.py +2 -0
- criteo_api_retailmedia_v2024_07/model/files_variable_value.py +2 -7
- criteo_api_retailmedia_v2024_07/model/files_variables_specification.py +7 -15
- criteo_api_retailmedia_v2024_07/model/hyperlink_variable_value.py +7 -19
- criteo_api_retailmedia_v2024_07/model/{page_type_environment.py → page_type_environment202210.py} +12 -16
- criteo_api_retailmedia_v2024_07/model/resource_of_creative202110.py +6 -13
- criteo_api_retailmedia_v2024_07/model/resource_of_creative202210.py +2 -9
- criteo_api_retailmedia_v2024_07/model/resource_of_template.py +2 -9
- criteo_api_retailmedia_v2024_07/model/section.py +6 -9
- criteo_api_retailmedia_v2024_07/model/template.py +13 -24
- criteo_api_retailmedia_v2024_07/model/template_list_response.py +13 -20
- criteo_api_retailmedia_v2024_07/model/template_response.py +10 -17
- criteo_api_retailmedia_v2024_07/model/template_variable.py +1 -8
- criteo_api_retailmedia_v2024_07/model/template_variable_value.py +7 -8
- criteo_api_retailmedia_v2024_07/model/text_variable_specification.py +2 -8
- criteo_api_retailmedia_v2024_07/model/text_variable_value.py +7 -19
- criteo_api_retailmedia_v2024_07/model/value_resource_collection_input_of_retail_media_seller.py +12 -5
- criteo_api_retailmedia_v2024_07/model/value_resource_collection_outcome_of_retail_media_seller.py +9 -2
- criteo_api_retailmedia_v2024_07/model/value_resource_input_of_retail_media_brand_account_creation.py +8 -1
- criteo_api_retailmedia_v2024_07/model/value_resource_input_of_retail_media_brands.py +9 -2
- criteo_api_retailmedia_v2024_07/model/value_resource_input_of_retail_media_seller_account_creation.py +9 -2
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brand_account_creation.py +13 -6
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brands.py +14 -7
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller.py +14 -7
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller_account_creation.py +14 -7
- criteo_api_retailmedia_v2024_07/model/{resource_outcome_of_retail_media_account.py → value_resource_outcome_of_retail_media_brands.py} +17 -10
- criteo_api_retailmedia_v2024_07/model/{resource_of_retail_media_account.py → video_variable_value.py} +39 -22
- criteo_api_retailmedia_v2024_07/models/__init__.py +10 -13
- criteo_api_retailmedia_v2024_07/model/approval_status_model.py +0 -292
- criteo_api_retailmedia_v2024_07/model/negotiation_state_model.py +0 -293
- criteo_api_retailmedia_v2024_07/model/proposal_status_model.py +0 -284
- {criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250205.dist-info}/top_level.txt +0 -0
|
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
|
|
34
|
-
from criteo_api_retailmedia_v2024_07.model.
|
|
34
|
+
from criteo_api_retailmedia_v2024_07.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands
|
|
35
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['
|
|
36
|
+
globals()['ValueResourceOfRetailMediaBrands'] = ValueResourceOfRetailMediaBrands
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class ValueResourceOutcomeOfRetailMediaBrands(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -66,9 +66,16 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
66
66
|
validations = {
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
@cached_property
|
|
70
|
+
def additional_properties_type():
|
|
71
|
+
"""
|
|
72
|
+
This must be a method because a model may have properties that are
|
|
73
|
+
of type self, this must run after the class is loaded
|
|
74
|
+
"""
|
|
75
|
+
lazy_import()
|
|
76
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
70
77
|
|
|
71
|
-
_nullable =
|
|
78
|
+
_nullable = True
|
|
72
79
|
|
|
73
80
|
@cached_property
|
|
74
81
|
def openapi_types():
|
|
@@ -82,7 +89,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
82
89
|
"""
|
|
83
90
|
lazy_import()
|
|
84
91
|
return {
|
|
85
|
-
'data': (
|
|
92
|
+
'data': (ValueResourceOfRetailMediaBrands,), # noqa: E501
|
|
86
93
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
94
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
88
95
|
}
|
|
@@ -108,7 +115,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
108
115
|
@classmethod
|
|
109
116
|
@convert_js_args_to_python_args
|
|
110
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
118
|
+
"""ValueResourceOutcomeOfRetailMediaBrands - a model defined in OpenAPI
|
|
112
119
|
|
|
113
120
|
Keyword Args:
|
|
114
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -141,7 +148,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
141
148
|
Animal class but this time we won't travel
|
|
142
149
|
through its discriminator because we passed in
|
|
143
150
|
_visited_composed_classes = (Animal,)
|
|
144
|
-
data (
|
|
151
|
+
data (ValueResourceOfRetailMediaBrands): [optional] # noqa: E501
|
|
145
152
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
153
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
147
154
|
"""
|
|
@@ -196,7 +203,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
196
203
|
|
|
197
204
|
@convert_js_args_to_python_args
|
|
198
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
206
|
+
"""ValueResourceOutcomeOfRetailMediaBrands - a model defined in OpenAPI
|
|
200
207
|
|
|
201
208
|
Keyword Args:
|
|
202
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,7 +236,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
229
236
|
Animal class but this time we won't travel
|
|
230
237
|
through its discriminator because we passed in
|
|
231
238
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
data (
|
|
239
|
+
data (ValueResourceOfRetailMediaBrands): [optional] # noqa: E501
|
|
233
240
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
241
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
242
|
"""
|
|
@@ -29,12 +29,8 @@ from criteo_api_retailmedia_v2024_07.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2024_07.model.retail_media_account import RetailMediaAccount
|
|
34
|
-
globals()['RetailMediaAccount'] = RetailMediaAccount
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
class ResourceOfRetailMediaAccount(ModelNormal):
|
|
33
|
+
class VideoVariableValue(ModelNormal):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
35
|
Ref: https://openapi-generator.tech
|
|
40
36
|
|
|
@@ -62,6 +58,12 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
62
58
|
}
|
|
63
59
|
|
|
64
60
|
validations = {
|
|
61
|
+
('url',): {
|
|
62
|
+
'min_length': 1,
|
|
63
|
+
},
|
|
64
|
+
('duration',): {
|
|
65
|
+
'min_length': 1,
|
|
66
|
+
},
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
additional_properties_type = None
|
|
@@ -78,11 +80,11 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
78
80
|
openapi_types (dict): The key is attribute name
|
|
79
81
|
and the value is attribute type.
|
|
80
82
|
"""
|
|
81
|
-
lazy_import()
|
|
82
83
|
return {
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
84
|
+
'url': (str,), # noqa: E501
|
|
85
|
+
'width': (int,), # noqa: E501
|
|
86
|
+
'height': (int,), # noqa: E501
|
|
87
|
+
'duration': (str,), # noqa: E501
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
@cached_property
|
|
@@ -91,9 +93,10 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
91
93
|
|
|
92
94
|
|
|
93
95
|
attribute_map = {
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
96
|
+
'url': 'url', # noqa: E501
|
|
97
|
+
'width': 'width', # noqa: E501
|
|
98
|
+
'height': 'height', # noqa: E501
|
|
99
|
+
'duration': 'duration', # noqa: E501
|
|
97
100
|
}
|
|
98
101
|
|
|
99
102
|
read_only_vars = {
|
|
@@ -103,8 +106,14 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
103
106
|
|
|
104
107
|
@classmethod
|
|
105
108
|
@convert_js_args_to_python_args
|
|
106
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
-
"""
|
|
109
|
+
def _from_openapi_data(cls, url, width, height, duration, *args, **kwargs): # noqa: E501
|
|
110
|
+
"""VideoVariableValue - a model defined in OpenAPI
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
url (str): The vast video url
|
|
114
|
+
width (int): The video's width
|
|
115
|
+
height (int): The video's height
|
|
116
|
+
duration (str): The video's duration
|
|
108
117
|
|
|
109
118
|
Keyword Args:
|
|
110
119
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -137,9 +146,6 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
137
146
|
Animal class but this time we won't travel
|
|
138
147
|
through its discriminator because we passed in
|
|
139
148
|
_visited_composed_classes = (Animal,)
|
|
140
|
-
attributes (RetailMediaAccount): [optional] # noqa: E501
|
|
141
|
-
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
142
|
-
type (str, none_type): [optional] # noqa: E501
|
|
143
149
|
"""
|
|
144
150
|
|
|
145
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -171,6 +177,10 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
171
177
|
self._configuration = _configuration
|
|
172
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
173
179
|
|
|
180
|
+
self.url = url
|
|
181
|
+
self.width = width
|
|
182
|
+
self.height = height
|
|
183
|
+
self.duration = duration
|
|
174
184
|
for var_name, var_value in kwargs.items():
|
|
175
185
|
if var_name not in self.attribute_map and \
|
|
176
186
|
self._configuration is not None and \
|
|
@@ -191,8 +201,14 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
191
201
|
])
|
|
192
202
|
|
|
193
203
|
@convert_js_args_to_python_args
|
|
194
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
195
|
-
"""
|
|
204
|
+
def __init__(self, url, width, height, duration, *args, **kwargs): # noqa: E501
|
|
205
|
+
"""VideoVariableValue - a model defined in OpenAPI
|
|
206
|
+
|
|
207
|
+
Args:
|
|
208
|
+
url (str): The vast video url
|
|
209
|
+
width (int): The video's width
|
|
210
|
+
height (int): The video's height
|
|
211
|
+
duration (str): The video's duration
|
|
196
212
|
|
|
197
213
|
Keyword Args:
|
|
198
214
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -225,9 +241,6 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
225
241
|
Animal class but this time we won't travel
|
|
226
242
|
through its discriminator because we passed in
|
|
227
243
|
_visited_composed_classes = (Animal,)
|
|
228
|
-
attributes (RetailMediaAccount): [optional] # noqa: E501
|
|
229
|
-
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
230
|
-
type (str, none_type): [optional] # noqa: E501
|
|
231
244
|
"""
|
|
232
245
|
|
|
233
246
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -257,6 +270,10 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
257
270
|
self._configuration = _configuration
|
|
258
271
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
259
272
|
|
|
273
|
+
self.url = url
|
|
274
|
+
self.width = width
|
|
275
|
+
self.height = height
|
|
276
|
+
self.duration = duration
|
|
260
277
|
for var_name, var_value in kwargs.items():
|
|
261
278
|
if var_name not in self.attribute_map and \
|
|
262
279
|
self._configuration is not None and \
|
|
@@ -21,7 +21,6 @@ from criteo_api_retailmedia_v2024_07.model.add_to_basket_target202110_response i
|
|
|
21
21
|
from criteo_api_retailmedia_v2024_07.model.application_summary_model import ApplicationSummaryModel
|
|
22
22
|
from criteo_api_retailmedia_v2024_07.model.application_summary_model_resource import ApplicationSummaryModelResource
|
|
23
23
|
from criteo_api_retailmedia_v2024_07.model.application_summary_model_response import ApplicationSummaryModelResponse
|
|
24
|
-
from criteo_api_retailmedia_v2024_07.model.approval_status_model import ApprovalStatusModel
|
|
25
24
|
from criteo_api_retailmedia_v2024_07.model.asset import Asset
|
|
26
25
|
from criteo_api_retailmedia_v2024_07.model.asset_resource import AssetResource
|
|
27
26
|
from criteo_api_retailmedia_v2024_07.model.asset_response import AssetResponse
|
|
@@ -77,6 +76,8 @@ from criteo_api_retailmedia_v2024_07.model.creative_create_model202207 import Cr
|
|
|
77
76
|
from criteo_api_retailmedia_v2024_07.model.creative_update_model202207 import CreativeUpdateModel202207
|
|
78
77
|
from criteo_api_retailmedia_v2024_07.model.daily_line_item_budget_override import DailyLineItemBudgetOverride
|
|
79
78
|
from criteo_api_retailmedia_v2024_07.model.editable_campaign_attributes_v202301 import EditableCampaignAttributesV202301
|
|
79
|
+
from criteo_api_retailmedia_v2024_07.model.entity_resource_of_retail_media_account import EntityResourceOfRetailMediaAccount
|
|
80
|
+
from criteo_api_retailmedia_v2024_07.model.entity_resource_outcome_of_retail_media_account import EntityResourceOutcomeOfRetailMediaAccount
|
|
80
81
|
from criteo_api_retailmedia_v2024_07.model.external_account import ExternalAccount
|
|
81
82
|
from criteo_api_retailmedia_v2024_07.model.external_add_to_basket_ids_update_model202110 import ExternalAddToBasketIdsUpdateModel202110
|
|
82
83
|
from criteo_api_retailmedia_v2024_07.model.external_add_to_basket_target202110 import ExternalAddToBasketTarget202110
|
|
@@ -96,6 +97,11 @@ from criteo_api_retailmedia_v2024_07.model.external_line_item_page_category20211
|
|
|
96
97
|
from criteo_api_retailmedia_v2024_07.model.external_preferred_line_item202110 import ExternalPreferredLineItem202110
|
|
97
98
|
from criteo_api_retailmedia_v2024_07.model.external_preferred_line_item_create_model202110 import ExternalPreferredLineItemCreateModel202110
|
|
98
99
|
from criteo_api_retailmedia_v2024_07.model.external_preferred_line_item_update_model202110 import ExternalPreferredLineItemUpdateModel202110
|
|
100
|
+
from criteo_api_retailmedia_v2024_07.model.external_retail_media_account import ExternalRetailMediaAccount
|
|
101
|
+
from criteo_api_retailmedia_v2024_07.model.external_retail_media_brand_account_creation import ExternalRetailMediaBrandAccountCreation
|
|
102
|
+
from criteo_api_retailmedia_v2024_07.model.external_retail_media_brands import ExternalRetailMediaBrands
|
|
103
|
+
from criteo_api_retailmedia_v2024_07.model.external_retail_media_seller import ExternalRetailMediaSeller
|
|
104
|
+
from criteo_api_retailmedia_v2024_07.model.external_retail_media_seller_account_creation import ExternalRetailMediaSellerAccountCreation
|
|
99
105
|
from criteo_api_retailmedia_v2024_07.model.external_retailer import ExternalRetailer
|
|
100
106
|
from criteo_api_retailmedia_v2024_07.model.external_retailer_pages202110 import ExternalRetailerPages202110
|
|
101
107
|
from criteo_api_retailmedia_v2024_07.model.external_store_ids_update_model202110 import ExternalStoreIdsUpdateModel202110
|
|
@@ -137,10 +143,9 @@ from criteo_api_retailmedia_v2024_07.model.line_item_product_status import LineI
|
|
|
137
143
|
from criteo_api_retailmedia_v2024_07.model.match_type_model import MatchTypeModel
|
|
138
144
|
from criteo_api_retailmedia_v2024_07.model.metadata import Metadata
|
|
139
145
|
from criteo_api_retailmedia_v2024_07.model.monthly_line_item_budeget_override import MonthlyLineItemBudegetOverride
|
|
140
|
-
from criteo_api_retailmedia_v2024_07.model.negotiation_state_model import NegotiationStateModel
|
|
141
146
|
from criteo_api_retailmedia_v2024_07.model.page_metadata import PageMetadata
|
|
142
147
|
from criteo_api_retailmedia_v2024_07.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1
|
|
143
|
-
from criteo_api_retailmedia_v2024_07.model.
|
|
148
|
+
from criteo_api_retailmedia_v2024_07.model.page_type_environment202210 import PageTypeEnvironment202210
|
|
144
149
|
from criteo_api_retailmedia_v2024_07.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2
|
|
145
150
|
from criteo_api_retailmedia_v2024_07.model.post_campaign_v202301 import PostCampaignV202301
|
|
146
151
|
from criteo_api_retailmedia_v2024_07.model.preferred_line_item202110_paged_list_response import PreferredLineItem202110PagedListResponse
|
|
@@ -154,9 +159,6 @@ from criteo_api_retailmedia_v2024_07.model.promoted_product import PromotedProdu
|
|
|
154
159
|
from criteo_api_retailmedia_v2024_07.model.promoted_product_resource import PromotedProductResource
|
|
155
160
|
from criteo_api_retailmedia_v2024_07.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput
|
|
156
161
|
from criteo_api_retailmedia_v2024_07.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome
|
|
157
|
-
from criteo_api_retailmedia_v2024_07.model.proposal_status_model import ProposalStatusModel
|
|
158
|
-
from criteo_api_retailmedia_v2024_07.model.proposal_status_model_resource import ProposalStatusModelResource
|
|
159
|
-
from criteo_api_retailmedia_v2024_07.model.proposal_status_model_response import ProposalStatusModelResponse
|
|
160
162
|
from criteo_api_retailmedia_v2024_07.model.put_campaign_v202301 import PutCampaignV202301
|
|
161
163
|
from criteo_api_retailmedia_v2024_07.model.report_outcome import ReportOutcome
|
|
162
164
|
from criteo_api_retailmedia_v2024_07.model.resource_of_add_funds_to_balance_v2 import ResourceOfAddFundsToBalanceV2
|
|
@@ -173,16 +175,9 @@ from criteo_api_retailmedia_v2024_07.model.resource_of_creative202210 import Res
|
|
|
173
175
|
from criteo_api_retailmedia_v2024_07.model.resource_of_line_item_bid_multipliers import ResourceOfLineItemBidMultipliers
|
|
174
176
|
from criteo_api_retailmedia_v2024_07.model.resource_of_preferred_line_item202110 import ResourceOfPreferredLineItem202110
|
|
175
177
|
from criteo_api_retailmedia_v2024_07.model.resource_of_preferred_line_item_update_model202110 import ResourceOfPreferredLineItemUpdateModel202110
|
|
176
|
-
from criteo_api_retailmedia_v2024_07.model.resource_of_retail_media_account import ResourceOfRetailMediaAccount
|
|
177
178
|
from criteo_api_retailmedia_v2024_07.model.resource_of_template import ResourceOfTemplate
|
|
178
179
|
from criteo_api_retailmedia_v2024_07.model.resource_of_update_balance_model_v2 import ResourceOfUpdateBalanceModelV2
|
|
179
180
|
from criteo_api_retailmedia_v2024_07.model.resource_outcome import ResourceOutcome
|
|
180
|
-
from criteo_api_retailmedia_v2024_07.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount
|
|
181
|
-
from criteo_api_retailmedia_v2024_07.model.retail_media_account import RetailMediaAccount
|
|
182
|
-
from criteo_api_retailmedia_v2024_07.model.retail_media_brand_account_creation import RetailMediaBrandAccountCreation
|
|
183
|
-
from criteo_api_retailmedia_v2024_07.model.retail_media_brands import RetailMediaBrands
|
|
184
|
-
from criteo_api_retailmedia_v2024_07.model.retail_media_seller import RetailMediaSeller
|
|
185
|
-
from criteo_api_retailmedia_v2024_07.model.retail_media_seller_account_creation import RetailMediaSellerAccountCreation
|
|
186
181
|
from criteo_api_retailmedia_v2024_07.model.review_state_model import ReviewStateModel
|
|
187
182
|
from criteo_api_retailmedia_v2024_07.model.rm_legacy_audience_create_entity_v1 import RmLegacyAudienceCreateEntityV1
|
|
188
183
|
from criteo_api_retailmedia_v2024_07.model.rm_legacy_audience_create_entity_v1_resource import RmLegacyAudienceCreateEntityV1Resource
|
|
@@ -239,6 +234,7 @@ from criteo_api_retailmedia_v2024_07.model.value_resource_of_retail_media_seller
|
|
|
239
234
|
from criteo_api_retailmedia_v2024_07.model.value_resource_of_retail_media_seller_account_creation import ValueResourceOfRetailMediaSellerAccountCreation
|
|
240
235
|
from criteo_api_retailmedia_v2024_07.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides
|
|
241
236
|
from criteo_api_retailmedia_v2024_07.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides
|
|
237
|
+
from criteo_api_retailmedia_v2024_07.model.value_resource_outcome_of_retail_media_brands import ValueResourceOutcomeOfRetailMediaBrands
|
|
242
238
|
from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_add_to_basket_ids_update_model202110 import ValueTypeResourceOfAddToBasketIdsUpdateModel202110
|
|
243
239
|
from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110
|
|
244
240
|
from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_audience_ids_update_model202110 import ValueTypeResourceOfAudienceIdsUpdateModel202110
|
|
@@ -246,3 +242,4 @@ from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_audience_targe
|
|
|
246
242
|
from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110
|
|
247
243
|
from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_store_ids_update_model202110 import ValueTypeResourceOfStoreIdsUpdateModel202110
|
|
248
244
|
from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110
|
|
245
|
+
from criteo_api_retailmedia_v2024_07.model.video_variable_value import VideoVariableValue
|
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Criteo API
|
|
3
|
-
|
|
4
|
-
Criteo API - RetailMedia # noqa: E501
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2024-07
|
|
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_v2024_07.model_utils import ( # noqa: F401
|
|
15
|
-
ApiTypeError,
|
|
16
|
-
ModelComposed,
|
|
17
|
-
ModelNormal,
|
|
18
|
-
ModelSimple,
|
|
19
|
-
cached_property,
|
|
20
|
-
change_keys_js_to_python,
|
|
21
|
-
convert_js_args_to_python_args,
|
|
22
|
-
date,
|
|
23
|
-
datetime,
|
|
24
|
-
file_type,
|
|
25
|
-
none_type,
|
|
26
|
-
validate_get_composed_info,
|
|
27
|
-
OpenApiModel
|
|
28
|
-
)
|
|
29
|
-
from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class ApprovalStatusModel(ModelSimple):
|
|
34
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
|
-
Ref: https://openapi-generator.tech
|
|
36
|
-
|
|
37
|
-
Do not edit the class manually.
|
|
38
|
-
|
|
39
|
-
Attributes:
|
|
40
|
-
allowed_values (dict): The key is the tuple path to the attribute
|
|
41
|
-
and the for var_name this is (var_name,). The value is a dict
|
|
42
|
-
with a capitalized key describing the allowed value and an allowed
|
|
43
|
-
value. These dicts store the allowed enum values.
|
|
44
|
-
validations (dict): The key is the tuple path to the attribute
|
|
45
|
-
and the for var_name this is (var_name,). The value is a dict
|
|
46
|
-
that stores validations for max_length, min_length, max_items,
|
|
47
|
-
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
48
|
-
inclusive_minimum, and regex.
|
|
49
|
-
additional_properties_type (tuple): A tuple of classes accepted
|
|
50
|
-
as additional properties values.
|
|
51
|
-
"""
|
|
52
|
-
|
|
53
|
-
allowed_values = {
|
|
54
|
-
('value',): {
|
|
55
|
-
'NOTSUBMITTED': "NotSubmitted",
|
|
56
|
-
'SUBMITTED': "Submitted",
|
|
57
|
-
'REJECTED': "Rejected",
|
|
58
|
-
'APPROVED': "Approved",
|
|
59
|
-
},
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
validations = {
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
additional_properties_type = None
|
|
66
|
-
|
|
67
|
-
_nullable = False
|
|
68
|
-
|
|
69
|
-
@cached_property
|
|
70
|
-
def openapi_types():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
|
|
75
|
-
Returns
|
|
76
|
-
openapi_types (dict): The key is attribute name
|
|
77
|
-
and the value is attribute type.
|
|
78
|
-
"""
|
|
79
|
-
return {
|
|
80
|
-
'value': (str,),
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@cached_property
|
|
84
|
-
def discriminator():
|
|
85
|
-
return None
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
attribute_map = {}
|
|
89
|
-
|
|
90
|
-
read_only_vars = set()
|
|
91
|
-
|
|
92
|
-
_composed_schemas = None
|
|
93
|
-
|
|
94
|
-
required_properties = set([
|
|
95
|
-
'_data_store',
|
|
96
|
-
'_check_type',
|
|
97
|
-
'_spec_property_naming',
|
|
98
|
-
'_path_to_item',
|
|
99
|
-
'_configuration',
|
|
100
|
-
'_visited_composed_classes',
|
|
101
|
-
])
|
|
102
|
-
|
|
103
|
-
@convert_js_args_to_python_args
|
|
104
|
-
def __init__(self, *args, **kwargs):
|
|
105
|
-
"""ApprovalStatusModel - a model defined in OpenAPI
|
|
106
|
-
|
|
107
|
-
Note that value can be passed either in args or in kwargs, but not in both.
|
|
108
|
-
|
|
109
|
-
Args:
|
|
110
|
-
args[0] (str): The status of a booking or runnable in the context of a line item.., must be one of ["NotSubmitted", "Submitted", "Rejected", "Approved", ] # noqa: E501
|
|
111
|
-
|
|
112
|
-
Keyword Args:
|
|
113
|
-
value (str): The status of a booking or runnable in the context of a line item.., must be one of ["NotSubmitted", "Submitted", "Rejected", "Approved", ] # noqa: E501
|
|
114
|
-
_check_type (bool): if True, values for parameters in openapi_types
|
|
115
|
-
will be type checked and a TypeError will be
|
|
116
|
-
raised if the wrong type is input.
|
|
117
|
-
Defaults to True
|
|
118
|
-
_path_to_item (tuple/list): This is a list of keys or values to
|
|
119
|
-
drill down to the model in received_data
|
|
120
|
-
when deserializing a response
|
|
121
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
122
|
-
are serialized names, as specified in the OpenAPI document.
|
|
123
|
-
False if the variable names in the input data
|
|
124
|
-
are pythonic names, e.g. snake case (default)
|
|
125
|
-
_configuration (Configuration): the instance to use when
|
|
126
|
-
deserializing a file_type parameter.
|
|
127
|
-
If passed, type conversion is attempted
|
|
128
|
-
If omitted no type conversion is done.
|
|
129
|
-
_visited_composed_classes (tuple): This stores a tuple of
|
|
130
|
-
classes that we have traveled through so that
|
|
131
|
-
if we see that class again we will not use its
|
|
132
|
-
discriminator again.
|
|
133
|
-
When traveling through a discriminator, the
|
|
134
|
-
composed schema that is
|
|
135
|
-
is traveled through is added to this set.
|
|
136
|
-
For example if Animal has a discriminator
|
|
137
|
-
petType and we pass in "Dog", and the class Dog
|
|
138
|
-
allOf includes Animal, we move through Animal
|
|
139
|
-
once using the discriminator, and pick Dog.
|
|
140
|
-
Then in Dog, we will make an instance of the
|
|
141
|
-
Animal class but this time we won't travel
|
|
142
|
-
through its discriminator because we passed in
|
|
143
|
-
_visited_composed_classes = (Animal,)
|
|
144
|
-
"""
|
|
145
|
-
# required up here when default value is not given
|
|
146
|
-
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
147
|
-
|
|
148
|
-
if 'value' in kwargs:
|
|
149
|
-
value = kwargs.pop('value')
|
|
150
|
-
elif args:
|
|
151
|
-
args = list(args)
|
|
152
|
-
value = args.pop(0)
|
|
153
|
-
else:
|
|
154
|
-
raise ApiTypeError(
|
|
155
|
-
"value is required, but not passed in args or kwargs and doesn't have default",
|
|
156
|
-
path_to_item=_path_to_item,
|
|
157
|
-
valid_classes=(self.__class__,),
|
|
158
|
-
)
|
|
159
|
-
|
|
160
|
-
_check_type = kwargs.pop('_check_type', True)
|
|
161
|
-
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
162
|
-
_configuration = kwargs.pop('_configuration', None)
|
|
163
|
-
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
164
|
-
|
|
165
|
-
if args:
|
|
166
|
-
for arg in args:
|
|
167
|
-
if isinstance(arg, dict):
|
|
168
|
-
kwargs.update(arg)
|
|
169
|
-
else:
|
|
170
|
-
raise ApiTypeError(
|
|
171
|
-
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
172
|
-
args,
|
|
173
|
-
self.__class__.__name__,
|
|
174
|
-
),
|
|
175
|
-
path_to_item=_path_to_item,
|
|
176
|
-
valid_classes=(self.__class__,),
|
|
177
|
-
)
|
|
178
|
-
|
|
179
|
-
self._data_store = {}
|
|
180
|
-
self._check_type = _check_type
|
|
181
|
-
self._spec_property_naming = _spec_property_naming
|
|
182
|
-
self._path_to_item = _path_to_item
|
|
183
|
-
self._configuration = _configuration
|
|
184
|
-
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
185
|
-
self.value = value
|
|
186
|
-
if kwargs:
|
|
187
|
-
raise ApiTypeError(
|
|
188
|
-
"Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
|
|
189
|
-
kwargs,
|
|
190
|
-
self.__class__.__name__,
|
|
191
|
-
),
|
|
192
|
-
path_to_item=_path_to_item,
|
|
193
|
-
valid_classes=(self.__class__,),
|
|
194
|
-
)
|
|
195
|
-
|
|
196
|
-
@classmethod
|
|
197
|
-
@convert_js_args_to_python_args
|
|
198
|
-
def _from_openapi_data(cls, *args, **kwargs):
|
|
199
|
-
"""ApprovalStatusModel - a model defined in OpenAPI
|
|
200
|
-
|
|
201
|
-
Note that value can be passed either in args or in kwargs, but not in both.
|
|
202
|
-
|
|
203
|
-
Args:
|
|
204
|
-
args[0] (str): The status of a booking or runnable in the context of a line item.., must be one of ["NotSubmitted", "Submitted", "Rejected", "Approved", ] # noqa: E501
|
|
205
|
-
|
|
206
|
-
Keyword Args:
|
|
207
|
-
value (str): The status of a booking or runnable in the context of a line item.., must be one of ["NotSubmitted", "Submitted", "Rejected", "Approved", ] # noqa: E501
|
|
208
|
-
_check_type (bool): if True, values for parameters in openapi_types
|
|
209
|
-
will be type checked and a TypeError will be
|
|
210
|
-
raised if the wrong type is input.
|
|
211
|
-
Defaults to True
|
|
212
|
-
_path_to_item (tuple/list): This is a list of keys or values to
|
|
213
|
-
drill down to the model in received_data
|
|
214
|
-
when deserializing a response
|
|
215
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
216
|
-
are serialized names, as specified in the OpenAPI document.
|
|
217
|
-
False if the variable names in the input data
|
|
218
|
-
are pythonic names, e.g. snake case (default)
|
|
219
|
-
_configuration (Configuration): the instance to use when
|
|
220
|
-
deserializing a file_type parameter.
|
|
221
|
-
If passed, type conversion is attempted
|
|
222
|
-
If omitted no type conversion is done.
|
|
223
|
-
_visited_composed_classes (tuple): This stores a tuple of
|
|
224
|
-
classes that we have traveled through so that
|
|
225
|
-
if we see that class again we will not use its
|
|
226
|
-
discriminator again.
|
|
227
|
-
When traveling through a discriminator, the
|
|
228
|
-
composed schema that is
|
|
229
|
-
is traveled through is added to this set.
|
|
230
|
-
For example if Animal has a discriminator
|
|
231
|
-
petType and we pass in "Dog", and the class Dog
|
|
232
|
-
allOf includes Animal, we move through Animal
|
|
233
|
-
once using the discriminator, and pick Dog.
|
|
234
|
-
Then in Dog, we will make an instance of the
|
|
235
|
-
Animal class but this time we won't travel
|
|
236
|
-
through its discriminator because we passed in
|
|
237
|
-
_visited_composed_classes = (Animal,)
|
|
238
|
-
"""
|
|
239
|
-
# required up here when default value is not given
|
|
240
|
-
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
241
|
-
|
|
242
|
-
self = super(OpenApiModel, cls).__new__(cls)
|
|
243
|
-
|
|
244
|
-
if 'value' in kwargs:
|
|
245
|
-
value = kwargs.pop('value')
|
|
246
|
-
elif args:
|
|
247
|
-
args = list(args)
|
|
248
|
-
value = args.pop(0)
|
|
249
|
-
else:
|
|
250
|
-
raise ApiTypeError(
|
|
251
|
-
"value is required, but not passed in args or kwargs and doesn't have default",
|
|
252
|
-
path_to_item=_path_to_item,
|
|
253
|
-
valid_classes=(self.__class__,),
|
|
254
|
-
)
|
|
255
|
-
|
|
256
|
-
_check_type = kwargs.pop('_check_type', True)
|
|
257
|
-
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
258
|
-
_configuration = kwargs.pop('_configuration', None)
|
|
259
|
-
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
260
|
-
|
|
261
|
-
if args:
|
|
262
|
-
for arg in args:
|
|
263
|
-
if isinstance(arg, dict):
|
|
264
|
-
kwargs.update(arg)
|
|
265
|
-
else:
|
|
266
|
-
raise ApiTypeError(
|
|
267
|
-
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
268
|
-
args,
|
|
269
|
-
self.__class__.__name__,
|
|
270
|
-
),
|
|
271
|
-
path_to_item=_path_to_item,
|
|
272
|
-
valid_classes=(self.__class__,),
|
|
273
|
-
)
|
|
274
|
-
|
|
275
|
-
self._data_store = {}
|
|
276
|
-
self._check_type = _check_type
|
|
277
|
-
self._spec_property_naming = _spec_property_naming
|
|
278
|
-
self._path_to_item = _path_to_item
|
|
279
|
-
self._configuration = _configuration
|
|
280
|
-
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
281
|
-
self.value = value
|
|
282
|
-
if kwargs:
|
|
283
|
-
raise ApiTypeError(
|
|
284
|
-
"Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
|
|
285
|
-
kwargs,
|
|
286
|
-
self.__class__.__name__,
|
|
287
|
-
),
|
|
288
|
-
path_to_item=_path_to_item,
|
|
289
|
-
valid_classes=(self.__class__,),
|
|
290
|
-
)
|
|
291
|
-
|
|
292
|
-
return self
|