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
|
@@ -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_creative202210 import ResourceOfCreative202210
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ResourceOfCreative202210'] = ResourceOfCreative202210
|
|
37
37
|
|
|
38
38
|
|
|
@@ -66,16 +66,9 @@ class Creative202210Response(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 Creative202210Response(ModelNormal):
|
|
|
90
83
|
lazy_import()
|
|
91
84
|
return {
|
|
92
85
|
'data': (ResourceOfCreative202210,), # 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 Creative202210Response(ModelNormal):
|
|
|
149
142
|
through its discriminator because we passed in
|
|
150
143
|
_visited_composed_classes = (Animal,)
|
|
151
144
|
data (ResourceOfCreative202210): [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 Creative202210Response(ModelNormal):
|
|
|
237
230
|
through its discriminator because we passed in
|
|
238
231
|
_visited_composed_classes = (Animal,)
|
|
239
232
|
data (ResourceOfCreative202210): [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)
|
|
@@ -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)
|
|
@@ -125,6 +125,7 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
125
125
|
'click_attribution_scope': (str, none_type,), # noqa: E501
|
|
126
126
|
'view_attribution_scope': (str, none_type,), # noqa: E501
|
|
127
127
|
'company_name': (str, none_type,), # noqa: E501
|
|
128
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
@cached_property
|
|
@@ -145,6 +146,7 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
145
146
|
'click_attribution_scope': 'clickAttributionScope', # noqa: E501
|
|
146
147
|
'view_attribution_scope': 'viewAttributionScope', # noqa: E501
|
|
147
148
|
'company_name': 'companyName', # noqa: E501
|
|
149
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
148
150
|
}
|
|
149
151
|
|
|
150
152
|
read_only_vars = {
|
|
@@ -202,6 +204,7 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
202
204
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
203
205
|
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
204
206
|
company_name (str, none_type): [optional] # noqa: E501
|
|
207
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
205
208
|
"""
|
|
206
209
|
|
|
207
210
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -307,6 +310,7 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
307
310
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
308
311
|
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
309
312
|
company_name (str, none_type): [optional] # noqa: E501
|
|
313
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
310
314
|
"""
|
|
311
315
|
|
|
312
316
|
_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)
|
|
@@ -108,6 +108,7 @@ class ExternalAccount(ModelNormal):
|
|
|
108
108
|
'time_zone': (str,), # noqa: E501
|
|
109
109
|
'subtype': (str, none_type,), # noqa: E501
|
|
110
110
|
'company_name': (str, none_type,), # noqa: E501
|
|
111
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
@cached_property
|
|
@@ -124,6 +125,7 @@ class ExternalAccount(ModelNormal):
|
|
|
124
125
|
'time_zone': 'timeZone', # noqa: E501
|
|
125
126
|
'subtype': 'subtype', # noqa: E501
|
|
126
127
|
'company_name': 'companyName', # noqa: E501
|
|
128
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
read_only_vars = {
|
|
@@ -177,6 +179,7 @@ class ExternalAccount(ModelNormal):
|
|
|
177
179
|
_visited_composed_classes = (Animal,)
|
|
178
180
|
subtype (str, none_type): [optional] # noqa: E501
|
|
179
181
|
company_name (str, none_type): [optional] # noqa: E501
|
|
182
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
180
183
|
"""
|
|
181
184
|
|
|
182
185
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -278,6 +281,7 @@ class ExternalAccount(ModelNormal):
|
|
|
278
281
|
_visited_composed_classes = (Animal,)
|
|
279
282
|
subtype (str, none_type): [optional] # noqa: E501
|
|
280
283
|
company_name (str, none_type): [optional] # noqa: E501
|
|
284
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
281
285
|
"""
|
|
282
286
|
|
|
283
287
|
_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():
|
|
@@ -89,6 +95,7 @@ class RetailMediaAccount(ModelNormal):
|
|
|
89
95
|
return {
|
|
90
96
|
'name': (str, none_type,), # noqa: E501
|
|
91
97
|
'company_name': (str, none_type,), # noqa: E501
|
|
98
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
92
99
|
'type': (str, none_type,), # noqa: E501
|
|
93
100
|
'sub_type': (str, none_type,), # noqa: E501
|
|
94
101
|
'country_ids': ([str], none_type,), # noqa: E501
|
|
@@ -105,6 +112,7 @@ class RetailMediaAccount(ModelNormal):
|
|
|
105
112
|
attribute_map = {
|
|
106
113
|
'name': 'name', # noqa: E501
|
|
107
114
|
'company_name': 'companyName', # noqa: E501
|
|
115
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
108
116
|
'type': 'type', # noqa: E501
|
|
109
117
|
'sub_type': 'subType', # noqa: E501
|
|
110
118
|
'country_ids': 'countryIds', # noqa: E501
|
|
@@ -121,7 +129,7 @@ class RetailMediaAccount(ModelNormal):
|
|
|
121
129
|
@classmethod
|
|
122
130
|
@convert_js_args_to_python_args
|
|
123
131
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
124
|
-
"""
|
|
132
|
+
"""ExternalRetailMediaAccount - a model defined in OpenAPI
|
|
125
133
|
|
|
126
134
|
Keyword Args:
|
|
127
135
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -154,14 +162,15 @@ class RetailMediaAccount(ModelNormal):
|
|
|
154
162
|
Animal class but this time we won't travel
|
|
155
163
|
through its discriminator because we passed in
|
|
156
164
|
_visited_composed_classes = (Animal,)
|
|
157
|
-
name (str, none_type):
|
|
158
|
-
company_name (str, none_type):
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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
|
|
165
174
|
"""
|
|
166
175
|
|
|
167
176
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -214,7 +223,7 @@ class RetailMediaAccount(ModelNormal):
|
|
|
214
223
|
|
|
215
224
|
@convert_js_args_to_python_args
|
|
216
225
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
217
|
-
"""
|
|
226
|
+
"""ExternalRetailMediaAccount - a model defined in OpenAPI
|
|
218
227
|
|
|
219
228
|
Keyword Args:
|
|
220
229
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -247,14 +256,15 @@ class RetailMediaAccount(ModelNormal):
|
|
|
247
256
|
Animal class but this time we won't travel
|
|
248
257
|
through its discriminator because we passed in
|
|
249
258
|
_visited_composed_classes = (Animal,)
|
|
250
|
-
name (str, none_type):
|
|
251
|
-
company_name (str, none_type):
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
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
|
|
258
268
|
"""
|
|
259
269
|
|
|
260
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
|
|
|
@@ -77,6 +83,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
77
83
|
return {
|
|
78
84
|
'name': (str, none_type,), # noqa: E501
|
|
79
85
|
'company_name': (str, none_type,), # noqa: E501
|
|
86
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
80
87
|
'brands': ([int], none_type,), # noqa: E501
|
|
81
88
|
}
|
|
82
89
|
|
|
@@ -88,6 +95,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
88
95
|
attribute_map = {
|
|
89
96
|
'name': 'name', # noqa: E501
|
|
90
97
|
'company_name': 'companyName', # noqa: E501
|
|
98
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
91
99
|
'brands': 'brands', # noqa: E501
|
|
92
100
|
}
|
|
93
101
|
|
|
@@ -99,7 +107,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
99
107
|
@classmethod
|
|
100
108
|
@convert_js_args_to_python_args
|
|
101
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
102
|
-
"""
|
|
110
|
+
"""ExternalRetailMediaBrandAccountCreation - a model defined in OpenAPI
|
|
103
111
|
|
|
104
112
|
Keyword Args:
|
|
105
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -132,9 +140,10 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
132
140
|
Animal class but this time we won't travel
|
|
133
141
|
through its discriminator because we passed in
|
|
134
142
|
_visited_composed_classes = (Animal,)
|
|
135
|
-
name (str, none_type):
|
|
136
|
-
company_name (str, none_type):
|
|
137
|
-
|
|
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
|
|
138
147
|
"""
|
|
139
148
|
|
|
140
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -187,7 +196,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
187
196
|
|
|
188
197
|
@convert_js_args_to_python_args
|
|
189
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
190
|
-
"""
|
|
199
|
+
"""ExternalRetailMediaBrandAccountCreation - a model defined in OpenAPI
|
|
191
200
|
|
|
192
201
|
Keyword Args:
|
|
193
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -220,9 +229,10 @@ class RetailMediaBrandAccountCreation(ModelNormal):
|
|
|
220
229
|
Animal class but this time we won't travel
|
|
221
230
|
through its discriminator because we passed in
|
|
222
231
|
_visited_composed_classes = (Animal,)
|
|
223
|
-
name (str, none_type):
|
|
224
|
-
company_name (str, none_type):
|
|
225
|
-
|
|
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
|
|
226
236
|
"""
|
|
227
237
|
|
|
228
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)
|