criteo-api-retailmedia-sdk 2024.7.0.240808__py3-none-any.whl → 2024.7.0.250129__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2024.7.0.240808.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-2024.7.0.240808.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250129.dist-info}/RECORD +65 -68
- {criteo_api_retailmedia_sdk-2024.7.0.240808.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250129.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/analytics_api.py +3 -3
- criteo_api_retailmedia_v2024_07/api/campaign_api.py +21 -278
- 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 +40 -0
- criteo_api_retailmedia_v2024_07/model/async_line_items_report.py +40 -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/campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +4 -0
- 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/editable_campaign_attributes_v202301.py +4 -0
- 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/external_account.py +4 -0
- criteo_api_retailmedia_v2024_07/model/{retail_media_account.py → external_retail_media_account.py} +31 -21
- criteo_api_retailmedia_v2024_07/model/{retail_media_brand_account_creation.py → external_retail_media_brand_account_creation.py} +20 -10
- 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} +25 -14
- 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/rm_legacy_audience_get_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/section.py +12 -17
- 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.240808.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -64,16 +64,9 @@ class Section(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
69
|
-
"""
|
|
70
|
-
This must be a method because a model may have properties that are
|
|
71
|
-
of type self, this must run after the class is loaded
|
|
72
|
-
"""
|
|
73
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
|
-
_nullable =
|
|
69
|
+
_nullable = True
|
|
77
70
|
|
|
78
71
|
@cached_property
|
|
79
72
|
def openapi_types():
|
|
@@ -87,8 +80,9 @@ class Section(ModelNormal):
|
|
|
87
80
|
"""
|
|
88
81
|
lazy_import()
|
|
89
82
|
return {
|
|
90
|
-
'title': (str,), # noqa: E501
|
|
91
83
|
'template_variables': ([TemplateVariable],), # noqa: E501
|
|
84
|
+
'title': (str, none_type,), # noqa: E501
|
|
85
|
+
'description': (str, none_type,), # noqa: E501
|
|
92
86
|
}
|
|
93
87
|
|
|
94
88
|
@cached_property
|
|
@@ -97,8 +91,9 @@ class Section(ModelNormal):
|
|
|
97
91
|
|
|
98
92
|
|
|
99
93
|
attribute_map = {
|
|
100
|
-
'title': 'title', # noqa: E501
|
|
101
94
|
'template_variables': 'templateVariables', # noqa: E501
|
|
95
|
+
'title': 'title', # noqa: E501
|
|
96
|
+
'description': 'description', # noqa: E501
|
|
102
97
|
}
|
|
103
98
|
|
|
104
99
|
read_only_vars = {
|
|
@@ -108,11 +103,10 @@ class Section(ModelNormal):
|
|
|
108
103
|
|
|
109
104
|
@classmethod
|
|
110
105
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
106
|
+
def _from_openapi_data(cls, template_variables, *args, **kwargs): # noqa: E501
|
|
112
107
|
"""Section - a model defined in OpenAPI
|
|
113
108
|
|
|
114
109
|
Args:
|
|
115
|
-
title (str):
|
|
116
110
|
template_variables ([TemplateVariable]):
|
|
117
111
|
|
|
118
112
|
Keyword Args:
|
|
@@ -146,6 +140,8 @@ class Section(ModelNormal):
|
|
|
146
140
|
Animal class but this time we won't travel
|
|
147
141
|
through its discriminator because we passed in
|
|
148
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
+
title (str, none_type): [optional] # noqa: E501
|
|
144
|
+
description (str, none_type): [optional] # noqa: E501
|
|
149
145
|
"""
|
|
150
146
|
|
|
151
147
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,7 +173,6 @@ class Section(ModelNormal):
|
|
|
177
173
|
self._configuration = _configuration
|
|
178
174
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
175
|
|
|
180
|
-
self.title = title
|
|
181
176
|
self.template_variables = template_variables
|
|
182
177
|
for var_name, var_value in kwargs.items():
|
|
183
178
|
if var_name not in self.attribute_map and \
|
|
@@ -199,11 +194,10 @@ class Section(ModelNormal):
|
|
|
199
194
|
])
|
|
200
195
|
|
|
201
196
|
@convert_js_args_to_python_args
|
|
202
|
-
def __init__(self,
|
|
197
|
+
def __init__(self, template_variables, *args, **kwargs): # noqa: E501
|
|
203
198
|
"""Section - a model defined in OpenAPI
|
|
204
199
|
|
|
205
200
|
Args:
|
|
206
|
-
title (str):
|
|
207
201
|
template_variables ([TemplateVariable]):
|
|
208
202
|
|
|
209
203
|
Keyword Args:
|
|
@@ -237,6 +231,8 @@ class Section(ModelNormal):
|
|
|
237
231
|
Animal class but this time we won't travel
|
|
238
232
|
through its discriminator because we passed in
|
|
239
233
|
_visited_composed_classes = (Animal,)
|
|
234
|
+
title (str, none_type): [optional] # noqa: E501
|
|
235
|
+
description (str, none_type): [optional] # noqa: E501
|
|
240
236
|
"""
|
|
241
237
|
|
|
242
238
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -266,7 +262,6 @@ class Section(ModelNormal):
|
|
|
266
262
|
self._configuration = _configuration
|
|
267
263
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
268
264
|
|
|
269
|
-
self.title = title
|
|
270
265
|
self.template_variables = template_variables
|
|
271
266
|
for var_name, var_value in kwargs.items():
|
|
272
267
|
if var_name not in self.attribute_map and \
|
|
@@ -76,14 +76,7 @@ class Template(ModelNormal):
|
|
|
76
76
|
validations = {
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
def additional_properties_type():
|
|
81
|
-
"""
|
|
82
|
-
This must be a method because a model may have properties that are
|
|
83
|
-
of type self, this must run after the class is loaded
|
|
84
|
-
"""
|
|
85
|
-
lazy_import()
|
|
86
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
79
|
+
additional_properties_type = None
|
|
87
80
|
|
|
88
81
|
_nullable = False
|
|
89
82
|
|
|
@@ -107,7 +100,6 @@ class Template(ModelNormal):
|
|
|
107
100
|
'created_at': (datetime,), # noqa: E501
|
|
108
101
|
'updated_at': (datetime,), # noqa: E501
|
|
109
102
|
'sections': ([Section],), # noqa: E501
|
|
110
|
-
'retailer_id': (int,), # noqa: E501
|
|
111
103
|
'sku_collection_max': (int, none_type,), # noqa: E501
|
|
112
104
|
'sku_per_collection_max': (int, none_type,), # noqa: E501
|
|
113
105
|
'displayable_skus_max': (int, none_type,), # noqa: E501
|
|
@@ -127,7 +119,6 @@ class Template(ModelNormal):
|
|
|
127
119
|
'created_at': 'createdAt', # noqa: E501
|
|
128
120
|
'updated_at': 'updatedAt', # noqa: E501
|
|
129
121
|
'sections': 'sections', # noqa: E501
|
|
130
|
-
'retailer_id': 'retailerId', # noqa: E501
|
|
131
122
|
'sku_collection_max': 'skuCollectionMax', # noqa: E501
|
|
132
123
|
'sku_per_collection_max': 'skuPerCollectionMax', # noqa: E501
|
|
133
124
|
'displayable_skus_max': 'displayableSkusMax', # noqa: E501
|
|
@@ -146,9 +137,9 @@ class Template(ModelNormal):
|
|
|
146
137
|
Args:
|
|
147
138
|
creative_format (str): The kind of creative this template can be used to build.
|
|
148
139
|
name (str): The name of the template
|
|
149
|
-
sku_collection_min (int):
|
|
150
|
-
sku_per_collection_min (int):
|
|
151
|
-
all_collections_mandatory (bool):
|
|
140
|
+
sku_collection_min (int): Minimum number of skus in the collection
|
|
141
|
+
sku_per_collection_min (int): Minimum number of skus per collection
|
|
142
|
+
all_collections_mandatory (bool): Marks whether or not all collections are mandatory
|
|
152
143
|
created_at (datetime): The time at which the template was created
|
|
153
144
|
updated_at (datetime): The time at which the template was updated
|
|
154
145
|
sections ([Section]): The sections holding various template variables
|
|
@@ -184,10 +175,9 @@ class Template(ModelNormal):
|
|
|
184
175
|
Animal class but this time we won't travel
|
|
185
176
|
through its discriminator because we passed in
|
|
186
177
|
_visited_composed_classes = (Animal,)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
displayable_skus_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
|
|
178
|
+
sku_collection_max (int, none_type): Maximum number of skus in the collection. [optional] # noqa: E501
|
|
179
|
+
sku_per_collection_max (int, none_type): Maximum number of skus per collection. [optional] # noqa: E501
|
|
180
|
+
displayable_skus_max (int, none_type): Maximum number of displayable skus. [optional] # noqa: E501
|
|
191
181
|
"""
|
|
192
182
|
|
|
193
183
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -253,9 +243,9 @@ class Template(ModelNormal):
|
|
|
253
243
|
Args:
|
|
254
244
|
creative_format (str): The kind of creative this template can be used to build.
|
|
255
245
|
name (str): The name of the template
|
|
256
|
-
sku_collection_min (int):
|
|
257
|
-
sku_per_collection_min (int):
|
|
258
|
-
all_collections_mandatory (bool):
|
|
246
|
+
sku_collection_min (int): Minimum number of skus in the collection
|
|
247
|
+
sku_per_collection_min (int): Minimum number of skus per collection
|
|
248
|
+
all_collections_mandatory (bool): Marks whether or not all collections are mandatory
|
|
259
249
|
created_at (datetime): The time at which the template was created
|
|
260
250
|
updated_at (datetime): The time at which the template was updated
|
|
261
251
|
sections ([Section]): The sections holding various template variables
|
|
@@ -291,10 +281,9 @@ class Template(ModelNormal):
|
|
|
291
281
|
Animal class but this time we won't travel
|
|
292
282
|
through its discriminator because we passed in
|
|
293
283
|
_visited_composed_classes = (Animal,)
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
displayable_skus_max (int, none_type): TODO: what is it ?. [optional] # noqa: E501
|
|
284
|
+
sku_collection_max (int, none_type): Maximum number of skus in the collection. [optional] # noqa: E501
|
|
285
|
+
sku_per_collection_max (int, none_type): Maximum number of skus per collection. [optional] # noqa: E501
|
|
286
|
+
displayable_skus_max (int, none_type): Maximum number of displayable skus. [optional] # noqa: E501
|
|
298
287
|
"""
|
|
299
288
|
|
|
300
289
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2024_07.model.
|
|
33
|
+
from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
|
|
34
34
|
from criteo_api_retailmedia_v2024_07.model.resource_of_template import ResourceOfTemplate
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ResourceOfTemplate'] = ResourceOfTemplate
|
|
37
37
|
|
|
38
38
|
|
|
@@ -66,16 +66,9 @@ class TemplateListResponse(ModelNormal):
|
|
|
66
66
|
validations = {
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
|
|
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
|
|
69
|
+
additional_properties_type = None
|
|
77
70
|
|
|
78
|
-
_nullable =
|
|
71
|
+
_nullable = True
|
|
79
72
|
|
|
80
73
|
@cached_property
|
|
81
74
|
def openapi_types():
|
|
@@ -89,9 +82,9 @@ class TemplateListResponse(ModelNormal):
|
|
|
89
82
|
"""
|
|
90
83
|
lazy_import()
|
|
91
84
|
return {
|
|
92
|
-
'data': ([ResourceOfTemplate],), # noqa: E501
|
|
93
|
-
'warnings': ([
|
|
94
|
-
'errors': ([
|
|
85
|
+
'data': ([ResourceOfTemplate], none_type,), # noqa: E501
|
|
86
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
95
88
|
}
|
|
96
89
|
|
|
97
90
|
@cached_property
|
|
@@ -148,9 +141,9 @@ class TemplateListResponse(ModelNormal):
|
|
|
148
141
|
Animal class but this time we won't travel
|
|
149
142
|
through its discriminator because we passed in
|
|
150
143
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
data ([ResourceOfTemplate]): [optional] # noqa: E501
|
|
152
|
-
warnings ([
|
|
153
|
-
errors ([
|
|
144
|
+
data ([ResourceOfTemplate], none_type): [optional] # noqa: E501
|
|
145
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
147
|
"""
|
|
155
148
|
|
|
156
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -236,9 +229,9 @@ class TemplateListResponse(ModelNormal):
|
|
|
236
229
|
Animal class but this time we won't travel
|
|
237
230
|
through its discriminator because we passed in
|
|
238
231
|
_visited_composed_classes = (Animal,)
|
|
239
|
-
data ([ResourceOfTemplate]): [optional] # noqa: E501
|
|
240
|
-
warnings ([
|
|
241
|
-
errors ([
|
|
232
|
+
data ([ResourceOfTemplate], none_type): [optional] # noqa: E501
|
|
233
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
235
|
"""
|
|
243
236
|
|
|
244
237
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2024_07.model.
|
|
33
|
+
from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
|
|
34
34
|
from criteo_api_retailmedia_v2024_07.model.resource_of_template import ResourceOfTemplate
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ResourceOfTemplate'] = ResourceOfTemplate
|
|
37
37
|
|
|
38
38
|
|
|
@@ -66,16 +66,9 @@ class TemplateResponse(ModelNormal):
|
|
|
66
66
|
validations = {
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
|
|
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
|
|
69
|
+
additional_properties_type = None
|
|
77
70
|
|
|
78
|
-
_nullable =
|
|
71
|
+
_nullable = True
|
|
79
72
|
|
|
80
73
|
@cached_property
|
|
81
74
|
def openapi_types():
|
|
@@ -90,8 +83,8 @@ class TemplateResponse(ModelNormal):
|
|
|
90
83
|
lazy_import()
|
|
91
84
|
return {
|
|
92
85
|
'data': (ResourceOfTemplate,), # noqa: E501
|
|
93
|
-
'warnings': ([
|
|
94
|
-
'errors': ([
|
|
86
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
95
88
|
}
|
|
96
89
|
|
|
97
90
|
@cached_property
|
|
@@ -149,8 +142,8 @@ class TemplateResponse(ModelNormal):
|
|
|
149
142
|
through its discriminator because we passed in
|
|
150
143
|
_visited_composed_classes = (Animal,)
|
|
151
144
|
data (ResourceOfTemplate): [optional] # noqa: E501
|
|
152
|
-
warnings ([
|
|
153
|
-
errors ([
|
|
145
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
147
|
"""
|
|
155
148
|
|
|
156
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +230,8 @@ class TemplateResponse(ModelNormal):
|
|
|
237
230
|
through its discriminator because we passed in
|
|
238
231
|
_visited_composed_classes = (Animal,)
|
|
239
232
|
data (ResourceOfTemplate): [optional] # noqa: E501
|
|
240
|
-
warnings ([
|
|
241
|
-
errors ([
|
|
233
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
235
|
"""
|
|
243
236
|
|
|
244
237
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -75,14 +75,7 @@ class TemplateVariable(ModelNormal):
|
|
|
75
75
|
validations = {
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
def additional_properties_type():
|
|
80
|
-
"""
|
|
81
|
-
This must be a method because a model may have properties that are
|
|
82
|
-
of type self, this must run after the class is loaded
|
|
83
|
-
"""
|
|
84
|
-
lazy_import()
|
|
85
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
78
|
+
additional_properties_type = None
|
|
86
79
|
|
|
87
80
|
_nullable = False
|
|
88
81
|
|
|
@@ -35,11 +35,13 @@ def lazy_import():
|
|
|
35
35
|
from criteo_api_retailmedia_v2024_07.model.files_variable_value import FilesVariableValue
|
|
36
36
|
from criteo_api_retailmedia_v2024_07.model.hyperlink_variable_value import HyperlinkVariableValue
|
|
37
37
|
from criteo_api_retailmedia_v2024_07.model.text_variable_value import TextVariableValue
|
|
38
|
+
from criteo_api_retailmedia_v2024_07.model.video_variable_value import VideoVariableValue
|
|
38
39
|
globals()['ChoiceVariableValue'] = ChoiceVariableValue
|
|
39
40
|
globals()['ColorVariableValue'] = ColorVariableValue
|
|
40
41
|
globals()['FilesVariableValue'] = FilesVariableValue
|
|
41
42
|
globals()['HyperlinkVariableValue'] = HyperlinkVariableValue
|
|
42
43
|
globals()['TextVariableValue'] = TextVariableValue
|
|
44
|
+
globals()['VideoVariableValue'] = VideoVariableValue
|
|
43
45
|
|
|
44
46
|
|
|
45
47
|
class TemplateVariableValue(ModelNormal):
|
|
@@ -72,14 +74,7 @@ class TemplateVariableValue(ModelNormal):
|
|
|
72
74
|
validations = {
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
|
|
76
|
-
def additional_properties_type():
|
|
77
|
-
"""
|
|
78
|
-
This must be a method because a model may have properties that are
|
|
79
|
-
of type self, this must run after the class is loaded
|
|
80
|
-
"""
|
|
81
|
-
lazy_import()
|
|
82
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
77
|
+
additional_properties_type = None
|
|
83
78
|
|
|
84
79
|
_nullable = False
|
|
85
80
|
|
|
@@ -101,6 +96,7 @@ class TemplateVariableValue(ModelNormal):
|
|
|
101
96
|
'color_variable_value': (ColorVariableValue,), # noqa: E501
|
|
102
97
|
'files_variable_value': (FilesVariableValue,), # noqa: E501
|
|
103
98
|
'hyperlink_variable_value': (HyperlinkVariableValue,), # noqa: E501
|
|
99
|
+
'video_variable_value': (VideoVariableValue,), # noqa: E501
|
|
104
100
|
}
|
|
105
101
|
|
|
106
102
|
@cached_property
|
|
@@ -115,6 +111,7 @@ class TemplateVariableValue(ModelNormal):
|
|
|
115
111
|
'color_variable_value': 'colorVariableValue', # noqa: E501
|
|
116
112
|
'files_variable_value': 'filesVariableValue', # noqa: E501
|
|
117
113
|
'hyperlink_variable_value': 'hyperlinkVariableValue', # noqa: E501
|
|
114
|
+
'video_variable_value': 'videoVariableValue', # noqa: E501
|
|
118
115
|
}
|
|
119
116
|
|
|
120
117
|
read_only_vars = {
|
|
@@ -166,6 +163,7 @@ class TemplateVariableValue(ModelNormal):
|
|
|
166
163
|
color_variable_value (ColorVariableValue): [optional] # noqa: E501
|
|
167
164
|
files_variable_value (FilesVariableValue): [optional] # noqa: E501
|
|
168
165
|
hyperlink_variable_value (HyperlinkVariableValue): [optional] # noqa: E501
|
|
166
|
+
video_variable_value (VideoVariableValue): [optional] # noqa: E501
|
|
169
167
|
"""
|
|
170
168
|
|
|
171
169
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -260,6 +258,7 @@ class TemplateVariableValue(ModelNormal):
|
|
|
260
258
|
color_variable_value (ColorVariableValue): [optional] # noqa: E501
|
|
261
259
|
files_variable_value (FilesVariableValue): [optional] # noqa: E501
|
|
262
260
|
hyperlink_variable_value (HyperlinkVariableValue): [optional] # noqa: E501
|
|
261
|
+
video_variable_value (VideoVariableValue): [optional] # noqa: E501
|
|
263
262
|
"""
|
|
264
263
|
|
|
265
264
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -60,15 +60,9 @@ class TextVariableSpecification(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
def additional_properties_type():
|
|
65
|
-
"""
|
|
66
|
-
This must be a method because a model may have properties that are
|
|
67
|
-
of type self, this must run after the class is loaded
|
|
68
|
-
"""
|
|
69
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
63
|
+
additional_properties_type = None
|
|
70
64
|
|
|
71
|
-
_nullable =
|
|
65
|
+
_nullable = True
|
|
72
66
|
|
|
73
67
|
@cached_property
|
|
74
68
|
def openapi_types():
|
|
@@ -60,15 +60,9 @@ class TextVariableValue(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
def additional_properties_type():
|
|
65
|
-
"""
|
|
66
|
-
This must be a method because a model may have properties that are
|
|
67
|
-
of type self, this must run after the class is loaded
|
|
68
|
-
"""
|
|
69
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
63
|
+
additional_properties_type = None
|
|
70
64
|
|
|
71
|
-
_nullable =
|
|
65
|
+
_nullable = True
|
|
72
66
|
|
|
73
67
|
@cached_property
|
|
74
68
|
def openapi_types():
|
|
@@ -81,7 +75,7 @@ class TextVariableValue(ModelNormal):
|
|
|
81
75
|
and the value is attribute type.
|
|
82
76
|
"""
|
|
83
77
|
return {
|
|
84
|
-
'text': (str,), # noqa: E501
|
|
78
|
+
'text': (str, none_type,), # noqa: E501
|
|
85
79
|
}
|
|
86
80
|
|
|
87
81
|
@cached_property
|
|
@@ -100,12 +94,9 @@ class TextVariableValue(ModelNormal):
|
|
|
100
94
|
|
|
101
95
|
@classmethod
|
|
102
96
|
@convert_js_args_to_python_args
|
|
103
|
-
def _from_openapi_data(cls,
|
|
97
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
104
98
|
"""TextVariableValue - a model defined in OpenAPI
|
|
105
99
|
|
|
106
|
-
Args:
|
|
107
|
-
text (str): The displayed text
|
|
108
|
-
|
|
109
100
|
Keyword Args:
|
|
110
101
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
111
102
|
will be type checked and a TypeError will be
|
|
@@ -137,6 +128,7 @@ class TextVariableValue(ModelNormal):
|
|
|
137
128
|
Animal class but this time we won't travel
|
|
138
129
|
through its discriminator because we passed in
|
|
139
130
|
_visited_composed_classes = (Animal,)
|
|
131
|
+
text (str, none_type): The displayed text. [optional] # noqa: E501
|
|
140
132
|
"""
|
|
141
133
|
|
|
142
134
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -168,7 +160,6 @@ class TextVariableValue(ModelNormal):
|
|
|
168
160
|
self._configuration = _configuration
|
|
169
161
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
170
162
|
|
|
171
|
-
self.text = text
|
|
172
163
|
for var_name, var_value in kwargs.items():
|
|
173
164
|
if var_name not in self.attribute_map and \
|
|
174
165
|
self._configuration is not None and \
|
|
@@ -189,12 +180,9 @@ class TextVariableValue(ModelNormal):
|
|
|
189
180
|
])
|
|
190
181
|
|
|
191
182
|
@convert_js_args_to_python_args
|
|
192
|
-
def __init__(self,
|
|
183
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
193
184
|
"""TextVariableValue - a model defined in OpenAPI
|
|
194
185
|
|
|
195
|
-
Args:
|
|
196
|
-
text (str): The displayed text
|
|
197
|
-
|
|
198
186
|
Keyword Args:
|
|
199
187
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
200
188
|
will be type checked and a TypeError will be
|
|
@@ -226,6 +214,7 @@ class TextVariableValue(ModelNormal):
|
|
|
226
214
|
Animal class but this time we won't travel
|
|
227
215
|
through its discriminator because we passed in
|
|
228
216
|
_visited_composed_classes = (Animal,)
|
|
217
|
+
text (str, none_type): The displayed text. [optional] # noqa: E501
|
|
229
218
|
"""
|
|
230
219
|
|
|
231
220
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -255,7 +244,6 @@ class TextVariableValue(ModelNormal):
|
|
|
255
244
|
self._configuration = _configuration
|
|
256
245
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
257
246
|
|
|
258
|
-
self.text = text
|
|
259
247
|
for var_name, var_value in kwargs.items():
|
|
260
248
|
if var_name not in self.attribute_map and \
|
|
261
249
|
self._configuration is not None and \
|
criteo_api_retailmedia_v2024_07/model/value_resource_collection_input_of_retail_media_seller.py
CHANGED
|
@@ -64,9 +64,16 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
@cached_property
|
|
68
|
+
def additional_properties_type():
|
|
69
|
+
"""
|
|
70
|
+
This must be a method because a model may have properties that are
|
|
71
|
+
of type self, this must run after the class is loaded
|
|
72
|
+
"""
|
|
73
|
+
lazy_import()
|
|
74
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
68
75
|
|
|
69
|
-
_nullable =
|
|
76
|
+
_nullable = True
|
|
70
77
|
|
|
71
78
|
@cached_property
|
|
72
79
|
def openapi_types():
|
|
@@ -80,7 +87,7 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
|
|
|
80
87
|
"""
|
|
81
88
|
lazy_import()
|
|
82
89
|
return {
|
|
83
|
-
'data': ([ValueResourceOfRetailMediaSeller],
|
|
90
|
+
'data': ([ValueResourceOfRetailMediaSeller],), # noqa: E501
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
@cached_property
|
|
@@ -133,7 +140,7 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
|
|
|
133
140
|
Animal class but this time we won't travel
|
|
134
141
|
through its discriminator because we passed in
|
|
135
142
|
_visited_composed_classes = (Animal,)
|
|
136
|
-
data ([ValueResourceOfRetailMediaSeller]
|
|
143
|
+
data ([ValueResourceOfRetailMediaSeller]): [optional] # noqa: E501
|
|
137
144
|
"""
|
|
138
145
|
|
|
139
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -219,7 +226,7 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
|
|
|
219
226
|
Animal class but this time we won't travel
|
|
220
227
|
through its discriminator because we passed in
|
|
221
228
|
_visited_composed_classes = (Animal,)
|
|
222
|
-
data ([ValueResourceOfRetailMediaSeller]
|
|
229
|
+
data ([ValueResourceOfRetailMediaSeller]): [optional] # noqa: E501
|
|
223
230
|
"""
|
|
224
231
|
|
|
225
232
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2024_07/model/value_resource_collection_outcome_of_retail_media_seller.py
CHANGED
|
@@ -66,9 +66,16 @@ class ValueResourceCollectionOutcomeOfRetailMediaSeller(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():
|
criteo_api_retailmedia_v2024_07/model/value_resource_input_of_retail_media_brand_account_creation.py
CHANGED
|
@@ -64,7 +64,14 @@ class ValueResourceInputOfRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
@cached_property
|
|
68
|
+
def additional_properties_type():
|
|
69
|
+
"""
|
|
70
|
+
This must be a method because a model may have properties that are
|
|
71
|
+
of type self, this must run after the class is loaded
|
|
72
|
+
"""
|
|
73
|
+
lazy_import()
|
|
74
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
68
75
|
|
|
69
76
|
_nullable = False
|
|
70
77
|
|
|
@@ -64,9 +64,16 @@ class ValueResourceInputOfRetailMediaBrands(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
@cached_property
|
|
68
|
+
def additional_properties_type():
|
|
69
|
+
"""
|
|
70
|
+
This must be a method because a model may have properties that are
|
|
71
|
+
of type self, this must run after the class is loaded
|
|
72
|
+
"""
|
|
73
|
+
lazy_import()
|
|
74
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
68
75
|
|
|
69
|
-
_nullable =
|
|
76
|
+
_nullable = True
|
|
70
77
|
|
|
71
78
|
@cached_property
|
|
72
79
|
def openapi_types():
|
|
@@ -64,9 +64,16 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
@cached_property
|
|
68
|
+
def additional_properties_type():
|
|
69
|
+
"""
|
|
70
|
+
This must be a method because a model may have properties that are
|
|
71
|
+
of type self, this must run after the class is loaded
|
|
72
|
+
"""
|
|
73
|
+
lazy_import()
|
|
74
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
68
75
|
|
|
69
|
-
_nullable =
|
|
76
|
+
_nullable = True
|
|
70
77
|
|
|
71
78
|
@cached_property
|
|
72
79
|
def openapi_types():
|