criteo-api-retailmedia-sdk 2024.7.0.241029__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.241029.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250129.dist-info}/RECORD +59 -62
- {criteo_api_retailmedia_sdk-2024.7.0.241029.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/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/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/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.250129.dist-info}/top_level.txt +0 -0
|
@@ -64,14 +64,7 @@ class CreativeCreateModel202207(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
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -91,7 +84,7 @@ class CreativeCreateModel202207(ModelNormal):
|
|
|
91
84
|
'retailer_id': (int,), # noqa: E501
|
|
92
85
|
'template_id': (int,), # noqa: E501
|
|
93
86
|
'template_variable_values': ([TemplateVariableValue],), # noqa: E501
|
|
94
|
-
'brand_id': (int,), # noqa: E501
|
|
87
|
+
'brand_id': (int, none_type,), # noqa: E501
|
|
95
88
|
}
|
|
96
89
|
|
|
97
90
|
@cached_property
|
|
@@ -154,7 +147,7 @@ class CreativeCreateModel202207(ModelNormal):
|
|
|
154
147
|
Animal class but this time we won't travel
|
|
155
148
|
through its discriminator because we passed in
|
|
156
149
|
_visited_composed_classes = (Animal,)
|
|
157
|
-
brand_id (int): The brand associated to the creative. [optional] # noqa: E501
|
|
150
|
+
brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
|
|
158
151
|
"""
|
|
159
152
|
|
|
160
153
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -250,7 +243,7 @@ class CreativeCreateModel202207(ModelNormal):
|
|
|
250
243
|
Animal class but this time we won't travel
|
|
251
244
|
through its discriminator because we passed in
|
|
252
245
|
_visited_composed_classes = (Animal,)
|
|
253
|
-
brand_id (int): The brand associated to the creative. [optional] # noqa: E501
|
|
246
|
+
brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
|
|
254
247
|
"""
|
|
255
248
|
|
|
256
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -64,14 +64,7 @@ class CreativeUpdateModel202207(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
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -91,7 +84,7 @@ class CreativeUpdateModel202207(ModelNormal):
|
|
|
91
84
|
'retailer_id': (int,), # noqa: E501
|
|
92
85
|
'template_id': (int,), # noqa: E501
|
|
93
86
|
'template_variable_values': ([TemplateVariableValue],), # noqa: E501
|
|
94
|
-
'brand_id': (int,), # noqa: E501
|
|
87
|
+
'brand_id': (int, none_type,), # noqa: E501
|
|
95
88
|
}
|
|
96
89
|
|
|
97
90
|
@cached_property
|
|
@@ -154,7 +147,7 @@ class CreativeUpdateModel202207(ModelNormal):
|
|
|
154
147
|
Animal class but this time we won't travel
|
|
155
148
|
through its discriminator because we passed in
|
|
156
149
|
_visited_composed_classes = (Animal,)
|
|
157
|
-
brand_id (int): The brand associated to the creative. [optional] # noqa: E501
|
|
150
|
+
brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
|
|
158
151
|
"""
|
|
159
152
|
|
|
160
153
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -250,7 +243,7 @@ class CreativeUpdateModel202207(ModelNormal):
|
|
|
250
243
|
Animal class but this time we won't travel
|
|
251
244
|
through its discriminator because we passed in
|
|
252
245
|
_visited_composed_classes = (Animal,)
|
|
253
|
-
brand_id (int): The brand associated to the creative. [optional] # noqa: E501
|
|
246
|
+
brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
|
|
254
247
|
"""
|
|
255
248
|
|
|
256
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ 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.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2024_07.model.external_retail_media_account import ExternalRetailMediaAccount
|
|
34
|
+
globals()['ExternalRetailMediaAccount'] = ExternalRetailMediaAccount
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class EntityResourceOfRetailMediaAccount(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,9 +64,16 @@ class ProposalStatusModelResource(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():
|
|
@@ -82,7 +89,7 @@ class ProposalStatusModelResource(ModelNormal):
|
|
|
82
89
|
return {
|
|
83
90
|
'id': (str, none_type,), # noqa: E501
|
|
84
91
|
'type': (str, none_type,), # noqa: E501
|
|
85
|
-
'attributes': (
|
|
92
|
+
'attributes': (ExternalRetailMediaAccount,), # noqa: E501
|
|
86
93
|
}
|
|
87
94
|
|
|
88
95
|
@cached_property
|
|
@@ -104,7 +111,7 @@ class ProposalStatusModelResource(ModelNormal):
|
|
|
104
111
|
@classmethod
|
|
105
112
|
@convert_js_args_to_python_args
|
|
106
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
-
"""
|
|
114
|
+
"""EntityResourceOfRetailMediaAccount - a model defined in OpenAPI
|
|
108
115
|
|
|
109
116
|
Keyword Args:
|
|
110
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -139,7 +146,7 @@ class ProposalStatusModelResource(ModelNormal):
|
|
|
139
146
|
_visited_composed_classes = (Animal,)
|
|
140
147
|
id (str, none_type): [optional] # noqa: E501
|
|
141
148
|
type (str, none_type): [optional] # noqa: E501
|
|
142
|
-
attributes (
|
|
149
|
+
attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
|
|
143
150
|
"""
|
|
144
151
|
|
|
145
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -192,7 +199,7 @@ class ProposalStatusModelResource(ModelNormal):
|
|
|
192
199
|
|
|
193
200
|
@convert_js_args_to_python_args
|
|
194
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
195
|
-
"""
|
|
202
|
+
"""EntityResourceOfRetailMediaAccount - a model defined in OpenAPI
|
|
196
203
|
|
|
197
204
|
Keyword Args:
|
|
198
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -227,7 +234,7 @@ class ProposalStatusModelResource(ModelNormal):
|
|
|
227
234
|
_visited_composed_classes = (Animal,)
|
|
228
235
|
id (str, none_type): [optional] # noqa: E501
|
|
229
236
|
type (str, none_type): [optional] # noqa: E501
|
|
230
|
-
attributes (
|
|
237
|
+
attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
|
|
231
238
|
"""
|
|
232
239
|
|
|
233
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,13 +30,13 @@ 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.
|
|
34
|
-
from criteo_api_retailmedia_v2024_07.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
|
|
34
|
+
from criteo_api_retailmedia_v2024_07.model.entity_resource_of_retail_media_account import EntityResourceOfRetailMediaAccount
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['EntityResourceOfRetailMediaAccount'] = EntityResourceOfRetailMediaAccount
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class EntityResourceOutcomeOfRetailMediaAccount(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 ProposalStatusModelResponse(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,9 +89,9 @@ class ProposalStatusModelResponse(ModelNormal):
|
|
|
82
89
|
"""
|
|
83
90
|
lazy_import()
|
|
84
91
|
return {
|
|
85
|
-
'
|
|
86
|
-
'warnings': ([
|
|
87
|
-
'
|
|
92
|
+
'data': (EntityResourceOfRetailMediaAccount,), # noqa: E501
|
|
93
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
88
95
|
}
|
|
89
96
|
|
|
90
97
|
@cached_property
|
|
@@ -93,14 +100,14 @@ class ProposalStatusModelResponse(ModelNormal):
|
|
|
93
100
|
|
|
94
101
|
|
|
95
102
|
attribute_map = {
|
|
96
|
-
'errors': 'errors', # noqa: E501
|
|
97
|
-
'warnings': 'warnings', # noqa: E501
|
|
98
103
|
'data': 'data', # noqa: E501
|
|
104
|
+
'warnings': 'warnings', # noqa: E501
|
|
105
|
+
'errors': 'errors', # noqa: E501
|
|
99
106
|
}
|
|
100
107
|
|
|
101
108
|
read_only_vars = {
|
|
102
|
-
'errors', # noqa: E501
|
|
103
109
|
'warnings', # noqa: E501
|
|
110
|
+
'errors', # noqa: E501
|
|
104
111
|
}
|
|
105
112
|
|
|
106
113
|
_composed_schemas = {}
|
|
@@ -108,7 +115,7 @@ class ProposalStatusModelResponse(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
|
+
"""EntityResourceOutcomeOfRetailMediaAccount - 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,9 +148,9 @@ class ProposalStatusModelResponse(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
|
-
|
|
145
|
-
warnings ([
|
|
146
|
-
|
|
151
|
+
data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
|
|
152
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
147
154
|
"""
|
|
148
155
|
|
|
149
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -196,7 +203,7 @@ class ProposalStatusModelResponse(ModelNormal):
|
|
|
196
203
|
|
|
197
204
|
@convert_js_args_to_python_args
|
|
198
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
206
|
+
"""EntityResourceOutcomeOfRetailMediaAccount - 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,9 +236,9 @@ class ProposalStatusModelResponse(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
|
-
|
|
233
|
-
warnings ([
|
|
234
|
-
|
|
239
|
+
data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
|
|
240
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
242
|
"""
|
|
236
243
|
|
|
237
244
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2024_07/model/{retail_media_account.py → external_retail_media_account.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class ExternalRetailMediaAccount(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -72,9 +72,15 @@ class RetailMediaAccount(ModelNormal):
|
|
|
72
72
|
validations = {
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
@cached_property
|
|
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
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
76
82
|
|
|
77
|
-
_nullable =
|
|
83
|
+
_nullable = True
|
|
78
84
|
|
|
79
85
|
@cached_property
|
|
80
86
|
def openapi_types():
|
|
@@ -123,7 +129,7 @@ class RetailMediaAccount(ModelNormal):
|
|
|
123
129
|
@classmethod
|
|
124
130
|
@convert_js_args_to_python_args
|
|
125
131
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
126
|
-
"""
|
|
132
|
+
"""ExternalRetailMediaAccount - a model defined in OpenAPI
|
|
127
133
|
|
|
128
134
|
Keyword Args:
|
|
129
135
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -156,15 +162,15 @@ class RetailMediaAccount(ModelNormal):
|
|
|
156
162
|
Animal class but this time we won't travel
|
|
157
163
|
through its discriminator because we passed in
|
|
158
164
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
name (str, none_type):
|
|
160
|
-
company_name (str, none_type):
|
|
161
|
-
on_behalf_company_name (str, none_type):
|
|
162
|
-
type (str, none_type):
|
|
163
|
-
sub_type (str, none_type):
|
|
164
|
-
country_ids ([str], none_type):
|
|
165
|
-
currency_id (str, none_type):
|
|
166
|
-
parent_account_label (str, none_type):
|
|
167
|
-
time_zone (str, none_type):
|
|
165
|
+
name (str, none_type): [optional] # noqa: E501
|
|
166
|
+
company_name (str, none_type): [optional] # noqa: E501
|
|
167
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
168
|
+
type (str, none_type): [optional] # noqa: E501
|
|
169
|
+
sub_type (str, none_type): [optional] # noqa: E501
|
|
170
|
+
country_ids ([str], none_type): [optional] # noqa: E501
|
|
171
|
+
currency_id (str, none_type): [optional] # noqa: E501
|
|
172
|
+
parent_account_label (str, none_type): [optional] # noqa: E501
|
|
173
|
+
time_zone (str, none_type): [optional] # noqa: E501
|
|
168
174
|
"""
|
|
169
175
|
|
|
170
176
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -217,7 +223,7 @@ class RetailMediaAccount(ModelNormal):
|
|
|
217
223
|
|
|
218
224
|
@convert_js_args_to_python_args
|
|
219
225
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
220
|
-
"""
|
|
226
|
+
"""ExternalRetailMediaAccount - a model defined in OpenAPI
|
|
221
227
|
|
|
222
228
|
Keyword Args:
|
|
223
229
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -250,15 +256,15 @@ class RetailMediaAccount(ModelNormal):
|
|
|
250
256
|
Animal class but this time we won't travel
|
|
251
257
|
through its discriminator because we passed in
|
|
252
258
|
_visited_composed_classes = (Animal,)
|
|
253
|
-
name (str, none_type):
|
|
254
|
-
company_name (str, none_type):
|
|
255
|
-
on_behalf_company_name (str, none_type):
|
|
256
|
-
type (str, none_type):
|
|
257
|
-
sub_type (str, none_type):
|
|
258
|
-
country_ids ([str], none_type):
|
|
259
|
-
currency_id (str, none_type):
|
|
260
|
-
parent_account_label (str, none_type):
|
|
261
|
-
time_zone (str, none_type):
|
|
259
|
+
name (str, none_type): [optional] # noqa: E501
|
|
260
|
+
company_name (str, none_type): [optional] # noqa: E501
|
|
261
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
262
|
+
type (str, none_type): [optional] # noqa: E501
|
|
263
|
+
sub_type (str, none_type): [optional] # noqa: E501
|
|
264
|
+
country_ids ([str], none_type): [optional] # noqa: E501
|
|
265
|
+
currency_id (str, none_type): [optional] # noqa: E501
|
|
266
|
+
parent_account_label (str, none_type): [optional] # noqa: E501
|
|
267
|
+
time_zone (str, none_type): [optional] # noqa: E501
|
|
262
268
|
"""
|
|
263
269
|
|
|
264
270
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -60,7 +60,13 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
@cached_property
|
|
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
|
|
64
70
|
|
|
65
71
|
_nullable = False
|
|
66
72
|
|
|
@@ -101,7 +107,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
101
107
|
@classmethod
|
|
102
108
|
@convert_js_args_to_python_args
|
|
103
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
104
|
-
"""
|
|
110
|
+
"""ExternalRetailMediaBrandAccountCreation - a model defined in OpenAPI
|
|
105
111
|
|
|
106
112
|
Keyword Args:
|
|
107
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -134,10 +140,10 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
134
140
|
Animal class but this time we won't travel
|
|
135
141
|
through its discriminator because we passed in
|
|
136
142
|
_visited_composed_classes = (Animal,)
|
|
137
|
-
name (str, none_type):
|
|
138
|
-
company_name (str, none_type):
|
|
139
|
-
on_behalf_company_name (str, none_type):
|
|
140
|
-
brands ([int], none_type):
|
|
143
|
+
name (str, none_type): [optional] # noqa: E501
|
|
144
|
+
company_name (str, none_type): [optional] # noqa: E501
|
|
145
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
146
|
+
brands ([int], none_type): [optional] # noqa: E501
|
|
141
147
|
"""
|
|
142
148
|
|
|
143
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -190,7 +196,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
190
196
|
|
|
191
197
|
@convert_js_args_to_python_args
|
|
192
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
193
|
-
"""
|
|
199
|
+
"""ExternalRetailMediaBrandAccountCreation - a model defined in OpenAPI
|
|
194
200
|
|
|
195
201
|
Keyword Args:
|
|
196
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -223,10 +229,10 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
223
229
|
Animal class but this time we won't travel
|
|
224
230
|
through its discriminator because we passed in
|
|
225
231
|
_visited_composed_classes = (Animal,)
|
|
226
|
-
name (str, none_type):
|
|
227
|
-
company_name (str, none_type):
|
|
228
|
-
on_behalf_company_name (str, none_type):
|
|
229
|
-
brands ([int], none_type):
|
|
232
|
+
name (str, none_type): [optional] # noqa: E501
|
|
233
|
+
company_name (str, none_type): [optional] # noqa: E501
|
|
234
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
235
|
+
brands ([int], none_type): [optional] # noqa: E501
|
|
230
236
|
"""
|
|
231
237
|
|
|
232
238
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2024_07/model/{retail_media_brands.py → external_retail_media_brands.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class ExternalRetailMediaBrands(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -60,7 +60,13 @@ class RetailMediaBrands(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
@cached_property
|
|
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
|
|
64
70
|
|
|
65
71
|
_nullable = False
|
|
66
72
|
|
|
@@ -75,7 +81,7 @@ class RetailMediaBrands(ModelNormal):
|
|
|
75
81
|
and the value is attribute type.
|
|
76
82
|
"""
|
|
77
83
|
return {
|
|
78
|
-
'brand_ids': ([int],
|
|
84
|
+
'brand_ids': ([int],), # noqa: E501
|
|
79
85
|
}
|
|
80
86
|
|
|
81
87
|
@cached_property
|
|
@@ -95,7 +101,7 @@ class RetailMediaBrands(ModelNormal):
|
|
|
95
101
|
@classmethod
|
|
96
102
|
@convert_js_args_to_python_args
|
|
97
103
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
98
|
-
"""
|
|
104
|
+
"""ExternalRetailMediaBrands - a model defined in OpenAPI
|
|
99
105
|
|
|
100
106
|
Keyword Args:
|
|
101
107
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -128,7 +134,7 @@ class RetailMediaBrands(ModelNormal):
|
|
|
128
134
|
Animal class but this time we won't travel
|
|
129
135
|
through its discriminator because we passed in
|
|
130
136
|
_visited_composed_classes = (Animal,)
|
|
131
|
-
brand_ids ([int]
|
|
137
|
+
brand_ids ([int]): [optional] # noqa: E501
|
|
132
138
|
"""
|
|
133
139
|
|
|
134
140
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -181,7 +187,7 @@ class RetailMediaBrands(ModelNormal):
|
|
|
181
187
|
|
|
182
188
|
@convert_js_args_to_python_args
|
|
183
189
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
184
|
-
"""
|
|
190
|
+
"""ExternalRetailMediaBrands - a model defined in OpenAPI
|
|
185
191
|
|
|
186
192
|
Keyword Args:
|
|
187
193
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -214,7 +220,7 @@ class RetailMediaBrands(ModelNormal):
|
|
|
214
220
|
Animal class but this time we won't travel
|
|
215
221
|
through its discriminator because we passed in
|
|
216
222
|
_visited_composed_classes = (Animal,)
|
|
217
|
-
brand_ids ([int]
|
|
223
|
+
brand_ids ([int]): [optional] # noqa: E501
|
|
218
224
|
"""
|
|
219
225
|
|
|
220
226
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2024_07/model/{retail_media_seller.py → external_retail_media_seller.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class ExternalRetailMediaSeller(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -60,9 +60,15 @@ class RetailMediaSeller(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
@cached_property
|
|
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
|
|
64
70
|
|
|
65
|
-
_nullable =
|
|
71
|
+
_nullable = True
|
|
66
72
|
|
|
67
73
|
@cached_property
|
|
68
74
|
def openapi_types():
|
|
@@ -75,8 +81,8 @@ class RetailMediaSeller(ModelNormal):
|
|
|
75
81
|
and the value is attribute type.
|
|
76
82
|
"""
|
|
77
83
|
return {
|
|
78
|
-
'seller_id': (str,
|
|
79
|
-
'retailer_id': (int,
|
|
84
|
+
'seller_id': (str,), # noqa: E501
|
|
85
|
+
'retailer_id': (int,), # noqa: E501
|
|
80
86
|
}
|
|
81
87
|
|
|
82
88
|
@cached_property
|
|
@@ -97,7 +103,7 @@ class RetailMediaSeller(ModelNormal):
|
|
|
97
103
|
@classmethod
|
|
98
104
|
@convert_js_args_to_python_args
|
|
99
105
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
100
|
-
"""
|
|
106
|
+
"""ExternalRetailMediaSeller - a model defined in OpenAPI
|
|
101
107
|
|
|
102
108
|
Keyword Args:
|
|
103
109
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -130,8 +136,8 @@ class RetailMediaSeller(ModelNormal):
|
|
|
130
136
|
Animal class but this time we won't travel
|
|
131
137
|
through its discriminator because we passed in
|
|
132
138
|
_visited_composed_classes = (Animal,)
|
|
133
|
-
seller_id (str
|
|
134
|
-
retailer_id (int
|
|
139
|
+
seller_id (str): [optional] # noqa: E501
|
|
140
|
+
retailer_id (int): [optional] # noqa: E501
|
|
135
141
|
"""
|
|
136
142
|
|
|
137
143
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -184,7 +190,7 @@ class RetailMediaSeller(ModelNormal):
|
|
|
184
190
|
|
|
185
191
|
@convert_js_args_to_python_args
|
|
186
192
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
187
|
-
"""
|
|
193
|
+
"""ExternalRetailMediaSeller - a model defined in OpenAPI
|
|
188
194
|
|
|
189
195
|
Keyword Args:
|
|
190
196
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -217,8 +223,8 @@ class RetailMediaSeller(ModelNormal):
|
|
|
217
223
|
Animal class but this time we won't travel
|
|
218
224
|
through its discriminator because we passed in
|
|
219
225
|
_visited_composed_classes = (Animal,)
|
|
220
|
-
seller_id (str
|
|
221
|
-
retailer_id (int
|
|
226
|
+
seller_id (str): [optional] # noqa: E501
|
|
227
|
+
retailer_id (int): [optional] # noqa: E501
|
|
222
228
|
"""
|
|
223
229
|
|
|
224
230
|
_check_type = kwargs.pop('_check_type', True)
|