criteo-api-retailmedia-sdk 2025.1.0.250218__py3-none-any.whl → 2025.1.0.250320__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-2025.1.0.250218.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info}/METADATA +4 -4
- {criteo_api_retailmedia_sdk-2025.1.0.250218.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info}/RECORD +121 -120
- {criteo_api_retailmedia_sdk-2025.1.0.250218.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/accounts_api.py +1 -5
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +3 -3
- criteo_api_retailmedia_v2025_01/model/application_summary_model.py +1 -1
- criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +1 -1
- criteo_api_retailmedia_v2025_01/model/asset.py +1 -1
- criteo_api_retailmedia_v2025_01/model/asset_resource.py +1 -1
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +39 -49
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +39 -49
- criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +60 -73
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +1 -1
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +1 -1
- criteo_api_retailmedia_v2025_01/model/choice_variable_specification.py +1 -1
- criteo_api_retailmedia_v2025_01/model/choice_variable_value.py +1 -1
- criteo_api_retailmedia_v2025_01/model/common_error.py +26 -31
- criteo_api_retailmedia_v2025_01/model/common_warning.py +26 -31
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +3 -3
- criteo_api_retailmedia_v2025_01/model/creative2.py +5 -1
- criteo_api_retailmedia_v2025_01/model/creative202110.py +1 -1
- criteo_api_retailmedia_v2025_01/model/creative202210.py +1 -1
- criteo_api_retailmedia_v2025_01/model/creative_update_model202207.py +3 -3
- criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +5 -12
- criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +10 -17
- criteo_api_retailmedia_v2025_01/model/external_account.py +2 -8
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item.py +4 -0
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_create_model.py +3 -3
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_update_model.py +3 -3
- criteo_api_retailmedia_v2025_01/model/external_brand.py +2 -8
- criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py +4 -0
- criteo_api_retailmedia_v2025_01/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_v2.py +4 -0
- criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +19 -25
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +9 -15
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brands.py +12 -12
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +15 -13
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +20 -21
- criteo_api_retailmedia_v2025_01/model/external_retailer.py +6 -11
- criteo_api_retailmedia_v2025_01/model/files_variable_value.py +1 -1
- criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +1 -1
- criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +3 -3
- criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/json_api_body_with_id_of_int64_and_account_and_account.py +1 -8
- criteo_api_retailmedia_v2025_01/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +1 -8
- criteo_api_retailmedia_v2025_01/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +2 -8
- criteo_api_retailmedia_v2025_01/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +1 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +7 -14
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +7 -14
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +7 -14
- criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/keywords.py +12 -14
- criteo_api_retailmedia_v2025_01/model/keywords_model.py +1 -1
- criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +1 -1
- criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +1 -1
- criteo_api_retailmedia_v2025_01/model/line_item_product_status.py +2 -1
- criteo_api_retailmedia_v2025_01/model/nillable_string.py +1 -1
- criteo_api_retailmedia_v2025_01/model/page_metadata.py +7 -13
- criteo_api_retailmedia_v2025_01/model/product_metadata.py +1 -1
- criteo_api_retailmedia_v2025_01/model/promoted_product.py +1 -1
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_input.py +3 -3
- criteo_api_retailmedia_v2025_01/model/recommended_keywords_result.py +1 -1
- criteo_api_retailmedia_v2025_01/model/resource_of_add_funds_to_balance_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_balance_response_v2.py +1 -1
- criteo_api_retailmedia_v2025_01/model/resource_of_change_dates_of_balance_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_create_balance_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_update_balance_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment.py +3 -3
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +3 -4
- criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_bulk_create_input_v1.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_bulk_delete_input_v1.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_bulk_update_input_v1.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_delete_entity_v1_resource.py +6 -6
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +9 -10
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +3 -3
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1_resource.py +6 -6
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_create_v1.py +3 -4
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_resource.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +1 -1
- criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +296 -0
- criteo_api_retailmedia_v2025_01/model/seller_catalog_request.py +3 -3
- criteo_api_retailmedia_v2025_01/model/status_response.py +1 -1
- criteo_api_retailmedia_v2025_01/model/status_response_resource.py +1 -1
- criteo_api_retailmedia_v2025_01/model/template.py +1 -1
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_input_of_retail_media_seller.py +5 -12
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +10 -17
- criteo_api_retailmedia_v2025_01/model/value_resource_input_of_retail_media_brand_account_creation.py +1 -8
- criteo_api_retailmedia_v2025_01/model/value_resource_input_of_retail_media_brands.py +2 -9
- criteo_api_retailmedia_v2025_01/model/value_resource_input_of_retail_media_seller_account_creation.py +2 -9
- criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +1 -1
- criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +1 -1
- criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +1 -1
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +3 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +3 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -11
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -11
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +10 -17
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +1 -1
- criteo_api_retailmedia_v2025_01/models/__init__.py +1 -0
- {criteo_api_retailmedia_sdk-2025.1.0.250218.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info}/top_level.txt +0 -0
|
@@ -64,16 +64,9 @@ class ExternalRetailMediaSellerAccountCreation(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 = False
|
|
77
70
|
|
|
78
71
|
@cached_property
|
|
79
72
|
def openapi_types():
|
|
@@ -87,10 +80,10 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
87
80
|
"""
|
|
88
81
|
lazy_import()
|
|
89
82
|
return {
|
|
83
|
+
'sellers': ([ExternalRetailMediaSeller],), # noqa: E501
|
|
90
84
|
'name': (str, none_type,), # noqa: E501
|
|
91
85
|
'company_name': (str, none_type,), # noqa: E501
|
|
92
86
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
93
|
-
'sellers': ([ExternalRetailMediaSeller],), # noqa: E501
|
|
94
87
|
}
|
|
95
88
|
|
|
96
89
|
@cached_property
|
|
@@ -99,10 +92,10 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
99
92
|
|
|
100
93
|
|
|
101
94
|
attribute_map = {
|
|
95
|
+
'sellers': 'sellers', # noqa: E501
|
|
102
96
|
'name': 'name', # noqa: E501
|
|
103
97
|
'company_name': 'companyName', # noqa: E501
|
|
104
98
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
105
|
-
'sellers': 'sellers', # noqa: E501
|
|
106
99
|
}
|
|
107
100
|
|
|
108
101
|
read_only_vars = {
|
|
@@ -112,9 +105,12 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
112
105
|
|
|
113
106
|
@classmethod
|
|
114
107
|
@convert_js_args_to_python_args
|
|
115
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
108
|
+
def _from_openapi_data(cls, sellers, *args, **kwargs): # noqa: E501
|
|
116
109
|
"""ExternalRetailMediaSellerAccountCreation - a model defined in OpenAPI
|
|
117
110
|
|
|
111
|
+
Args:
|
|
112
|
+
sellers ([ExternalRetailMediaSeller]): list of sellers to associate to the new account
|
|
113
|
+
|
|
118
114
|
Keyword Args:
|
|
119
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
120
116
|
will be type checked and a TypeError will be
|
|
@@ -146,10 +142,9 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
146
142
|
Animal class but this time we won't travel
|
|
147
143
|
through its discriminator because we passed in
|
|
148
144
|
_visited_composed_classes = (Animal,)
|
|
149
|
-
name (str, none_type): [optional] # noqa: E501
|
|
150
|
-
company_name (str, none_type): [optional] # noqa: E501
|
|
151
|
-
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
152
|
-
sellers ([ExternalRetailMediaSeller]): [optional] # noqa: E501
|
|
145
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
146
|
+
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
147
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
153
148
|
"""
|
|
154
149
|
|
|
155
150
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -181,6 +176,7 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
181
176
|
self._configuration = _configuration
|
|
182
177
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
183
178
|
|
|
179
|
+
self.sellers = sellers
|
|
184
180
|
for var_name, var_value in kwargs.items():
|
|
185
181
|
if var_name not in self.attribute_map and \
|
|
186
182
|
self._configuration is not None and \
|
|
@@ -201,9 +197,12 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
201
197
|
])
|
|
202
198
|
|
|
203
199
|
@convert_js_args_to_python_args
|
|
204
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
200
|
+
def __init__(self, sellers, *args, **kwargs): # noqa: E501
|
|
205
201
|
"""ExternalRetailMediaSellerAccountCreation - a model defined in OpenAPI
|
|
206
202
|
|
|
203
|
+
Args:
|
|
204
|
+
sellers ([ExternalRetailMediaSeller]): list of sellers to associate to the new account
|
|
205
|
+
|
|
207
206
|
Keyword Args:
|
|
208
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
209
208
|
will be type checked and a TypeError will be
|
|
@@ -235,10 +234,9 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
235
234
|
Animal class but this time we won't travel
|
|
236
235
|
through its discriminator because we passed in
|
|
237
236
|
_visited_composed_classes = (Animal,)
|
|
238
|
-
name (str, none_type): [optional] # noqa: E501
|
|
239
|
-
company_name (str, none_type): [optional] # noqa: E501
|
|
240
|
-
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
241
|
-
sellers ([ExternalRetailMediaSeller]): [optional] # noqa: E501
|
|
237
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
238
|
+
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
239
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
242
240
|
"""
|
|
243
241
|
|
|
244
242
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -268,6 +266,7 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
268
266
|
self._configuration = _configuration
|
|
269
267
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
270
268
|
|
|
269
|
+
self.sellers = sellers
|
|
271
270
|
for var_name, var_value in kwargs.items():
|
|
272
271
|
if var_name not in self.attribute_map and \
|
|
273
272
|
self._configuration is not None and \
|
|
@@ -56,6 +56,7 @@ class ExternalRetailer(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('campaign_eligibilities',): {
|
|
59
|
+
'None': None,
|
|
59
60
|
'UNKNOWN': "unknown",
|
|
60
61
|
'AUCTION': "auction",
|
|
61
62
|
'PREFERRED': "preferred",
|
|
@@ -70,15 +71,9 @@ class ExternalRetailer(ModelNormal):
|
|
|
70
71
|
},
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
def additional_properties_type():
|
|
75
|
-
"""
|
|
76
|
-
This must be a method because a model may have properties that are
|
|
77
|
-
of type self, this must run after the class is loaded
|
|
78
|
-
"""
|
|
79
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
74
|
+
additional_properties_type = None
|
|
80
75
|
|
|
81
|
-
_nullable =
|
|
76
|
+
_nullable = True
|
|
82
77
|
|
|
83
78
|
@cached_property
|
|
84
79
|
def openapi_types():
|
|
@@ -92,7 +87,7 @@ class ExternalRetailer(ModelNormal):
|
|
|
92
87
|
"""
|
|
93
88
|
return {
|
|
94
89
|
'name': (str,), # noqa: E501
|
|
95
|
-
'campaign_eligibilities': ([str],), # noqa: E501
|
|
90
|
+
'campaign_eligibilities': ([str], none_type,), # noqa: E501
|
|
96
91
|
}
|
|
97
92
|
|
|
98
93
|
@cached_property
|
|
@@ -149,7 +144,7 @@ class ExternalRetailer(ModelNormal):
|
|
|
149
144
|
Animal class but this time we won't travel
|
|
150
145
|
through its discriminator because we passed in
|
|
151
146
|
_visited_composed_classes = (Animal,)
|
|
152
|
-
campaign_eligibilities ([str]): [optional] # noqa: E501
|
|
147
|
+
campaign_eligibilities ([str], none_type): [optional] # noqa: E501
|
|
153
148
|
"""
|
|
154
149
|
|
|
155
150
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -239,7 +234,7 @@ class ExternalRetailer(ModelNormal):
|
|
|
239
234
|
Animal class but this time we won't travel
|
|
240
235
|
through its discriminator because we passed in
|
|
241
236
|
_visited_composed_classes = (Animal,)
|
|
242
|
-
campaign_eligibilities ([str]): [optional] # noqa: E501
|
|
237
|
+
campaign_eligibilities ([str], none_type): [optional] # noqa: E501
|
|
243
238
|
"""
|
|
244
239
|
|
|
245
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -83,7 +83,7 @@ class GrantConsentModel(ModelNormal):
|
|
|
83
83
|
return {
|
|
84
84
|
'client_id': (str,), # noqa: E501
|
|
85
85
|
'callback_url': (str,), # noqa: E501
|
|
86
|
-
'callback_state': (str,
|
|
86
|
+
'callback_state': (str,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -142,7 +142,7 @@ class GrantConsentModel(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
callback_state (str
|
|
145
|
+
callback_state (str): [optional] # noqa: E501
|
|
146
146
|
"""
|
|
147
147
|
|
|
148
148
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -234,7 +234,7 @@ class GrantConsentModel(ModelNormal):
|
|
|
234
234
|
Animal class but this time we won't travel
|
|
235
235
|
through its discriminator because we passed in
|
|
236
236
|
_visited_composed_classes = (Animal,)
|
|
237
|
-
callback_state (str
|
|
237
|
+
callback_state (str): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,7 +87,7 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,
|
|
90
|
+
'type': (str,), # noqa: E501
|
|
91
91
|
'attributes': (GrantConsentModel,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -142,7 +142,7 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str
|
|
145
|
+
type (str): [optional] # noqa: E501
|
|
146
146
|
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
@@ -229,7 +229,7 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str
|
|
232
|
+
type (str): [optional] # noqa: E501
|
|
233
233
|
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
criteo_api_retailmedia_v2025_01/model/json_api_body_with_id_of_int64_and_account_and_account.py
CHANGED
|
@@ -64,14 +64,7 @@ class JsonApiBodyWithIdOfInt64AndAccountAndAccount(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
|
|
|
@@ -64,14 +64,7 @@ class JsonApiBodyWithIdOfInt64AndBrandAndBrand(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
|
|
|
@@ -87,7 +87,6 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'id': (str,), # noqa: E501
|
|
91
90
|
'type': (str,), # noqa: E501
|
|
92
91
|
'attributes': (ExternalLineItemBidMultipliersV2,), # noqa: E501
|
|
93
92
|
}
|
|
@@ -98,7 +97,6 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
98
97
|
|
|
99
98
|
|
|
100
99
|
attribute_map = {
|
|
101
|
-
'id': 'id', # noqa: E501
|
|
102
100
|
'type': 'type', # noqa: E501
|
|
103
101
|
'attributes': 'attributes', # noqa: E501
|
|
104
102
|
}
|
|
@@ -110,11 +108,10 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
110
108
|
|
|
111
109
|
@classmethod
|
|
112
110
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
111
|
+
def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501
|
|
114
112
|
"""JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
115
113
|
|
|
116
114
|
Args:
|
|
117
|
-
id (str):
|
|
118
115
|
type (str):
|
|
119
116
|
|
|
120
117
|
Keyword Args:
|
|
@@ -180,7 +177,6 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
180
177
|
self._configuration = _configuration
|
|
181
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
179
|
|
|
183
|
-
self.id = id
|
|
184
180
|
self.type = type
|
|
185
181
|
for var_name, var_value in kwargs.items():
|
|
186
182
|
if var_name not in self.attribute_map and \
|
|
@@ -202,11 +198,10 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
202
198
|
])
|
|
203
199
|
|
|
204
200
|
@convert_js_args_to_python_args
|
|
205
|
-
def __init__(self,
|
|
201
|
+
def __init__(self, type, *args, **kwargs): # noqa: E501
|
|
206
202
|
"""JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
207
203
|
|
|
208
204
|
Args:
|
|
209
|
-
id (str):
|
|
210
205
|
type (str):
|
|
211
206
|
|
|
212
207
|
Keyword Args:
|
|
@@ -270,7 +265,6 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
270
265
|
self._configuration = _configuration
|
|
271
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
272
267
|
|
|
273
|
-
self.id = id
|
|
274
268
|
self.type = type
|
|
275
269
|
for var_name, var_value in kwargs.items():
|
|
276
270
|
if var_name not in self.attribute_map and \
|
criteo_api_retailmedia_v2025_01/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py
CHANGED
|
@@ -64,14 +64,7 @@ class JsonApiBodyWithIdOfInt64AndRetailerAndRetailer(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
|
|
|
@@ -70,14 +70,7 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
70
70
|
validations = {
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
def additional_properties_type():
|
|
75
|
-
"""
|
|
76
|
-
This must be a method because a model may have properties that are
|
|
77
|
-
of type self, this must run after the class is loaded
|
|
78
|
-
"""
|
|
79
|
-
lazy_import()
|
|
80
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
73
|
+
additional_properties_type = None
|
|
81
74
|
|
|
82
75
|
_nullable = False
|
|
83
76
|
|
|
@@ -95,8 +88,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
95
88
|
return {
|
|
96
89
|
'metadata': (PageMetadata,), # noqa: E501
|
|
97
90
|
'data': ([JsonApiBodyWithIdOfInt64AndAccountAndAccount],), # noqa: E501
|
|
98
|
-
'errors': ([CommonError],), # noqa: E501
|
|
99
|
-
'warnings': ([CommonWarning],), # noqa: E501
|
|
91
|
+
'errors': ([CommonError], none_type,), # noqa: E501
|
|
92
|
+
'warnings': ([CommonWarning], none_type,), # noqa: E501
|
|
100
93
|
}
|
|
101
94
|
|
|
102
95
|
@cached_property
|
|
@@ -156,8 +149,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
156
149
|
Animal class but this time we won't travel
|
|
157
150
|
through its discriminator because we passed in
|
|
158
151
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
160
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
152
|
+
errors ([CommonError], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonWarning], none_type): [optional] # noqa: E501
|
|
161
154
|
"""
|
|
162
155
|
|
|
163
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -249,8 +242,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
249
242
|
Animal class but this time we won't travel
|
|
250
243
|
through its discriminator because we passed in
|
|
251
244
|
_visited_composed_classes = (Animal,)
|
|
252
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
253
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
245
|
+
errors ([CommonError], none_type): [optional] # noqa: E501
|
|
246
|
+
warnings ([CommonWarning], none_type): [optional] # noqa: E501
|
|
254
247
|
"""
|
|
255
248
|
|
|
256
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -70,14 +70,7 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
70
70
|
validations = {
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
def additional_properties_type():
|
|
75
|
-
"""
|
|
76
|
-
This must be a method because a model may have properties that are
|
|
77
|
-
of type self, this must run after the class is loaded
|
|
78
|
-
"""
|
|
79
|
-
lazy_import()
|
|
80
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
73
|
+
additional_properties_type = None
|
|
81
74
|
|
|
82
75
|
_nullable = False
|
|
83
76
|
|
|
@@ -95,8 +88,8 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
95
88
|
return {
|
|
96
89
|
'metadata': (PageMetadata,), # noqa: E501
|
|
97
90
|
'data': ([JsonApiBodyWithIdOfInt64AndBrandAndBrand],), # noqa: E501
|
|
98
|
-
'errors': ([CommonError],), # noqa: E501
|
|
99
|
-
'warnings': ([CommonWarning],), # noqa: E501
|
|
91
|
+
'errors': ([CommonError], none_type,), # noqa: E501
|
|
92
|
+
'warnings': ([CommonWarning], none_type,), # noqa: E501
|
|
100
93
|
}
|
|
101
94
|
|
|
102
95
|
@cached_property
|
|
@@ -156,8 +149,8 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
156
149
|
Animal class but this time we won't travel
|
|
157
150
|
through its discriminator because we passed in
|
|
158
151
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
160
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
152
|
+
errors ([CommonError], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonWarning], none_type): [optional] # noqa: E501
|
|
161
154
|
"""
|
|
162
155
|
|
|
163
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -249,8 +242,8 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
249
242
|
Animal class but this time we won't travel
|
|
250
243
|
through its discriminator because we passed in
|
|
251
244
|
_visited_composed_classes = (Animal,)
|
|
252
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
253
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
245
|
+
errors ([CommonError], none_type): [optional] # noqa: E501
|
|
246
|
+
warnings ([CommonWarning], none_type): [optional] # noqa: E501
|
|
254
247
|
"""
|
|
255
248
|
|
|
256
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -70,14 +70,7 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
70
70
|
validations = {
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
def additional_properties_type():
|
|
75
|
-
"""
|
|
76
|
-
This must be a method because a model may have properties that are
|
|
77
|
-
of type self, this must run after the class is loaded
|
|
78
|
-
"""
|
|
79
|
-
lazy_import()
|
|
80
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
73
|
+
additional_properties_type = None
|
|
81
74
|
|
|
82
75
|
_nullable = False
|
|
83
76
|
|
|
@@ -95,8 +88,8 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
95
88
|
return {
|
|
96
89
|
'metadata': (PageMetadata,), # noqa: E501
|
|
97
90
|
'data': ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer],), # noqa: E501
|
|
98
|
-
'errors': ([CommonError],), # noqa: E501
|
|
99
|
-
'warnings': ([CommonWarning],), # noqa: E501
|
|
91
|
+
'errors': ([CommonError], none_type,), # noqa: E501
|
|
92
|
+
'warnings': ([CommonWarning], none_type,), # noqa: E501
|
|
100
93
|
}
|
|
101
94
|
|
|
102
95
|
@cached_property
|
|
@@ -156,8 +149,8 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
156
149
|
Animal class but this time we won't travel
|
|
157
150
|
through its discriminator because we passed in
|
|
158
151
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
160
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
152
|
+
errors ([CommonError], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonWarning], none_type): [optional] # noqa: E501
|
|
161
154
|
"""
|
|
162
155
|
|
|
163
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -249,8 +242,8 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
249
242
|
Animal class but this time we won't travel
|
|
250
243
|
through its discriminator because we passed in
|
|
251
244
|
_visited_composed_classes = (Animal,)
|
|
252
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
253
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
245
|
+
errors ([CommonError], none_type): [optional] # noqa: E501
|
|
246
|
+
warnings ([CommonWarning], none_type): [optional] # noqa: E501
|
|
254
247
|
"""
|
|
255
248
|
|
|
256
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -88,8 +88,8 @@ class KeywordDataModel(ModelNormal):
|
|
|
88
88
|
'match_type': (MatchTypeModel,), # noqa: E501
|
|
89
89
|
'bid': (float, none_type,), # noqa: E501
|
|
90
90
|
'input_keywords': (InputKeywordsModel,), # noqa: E501
|
|
91
|
-
'created_at': (datetime,
|
|
92
|
-
'updated_at': (datetime,
|
|
91
|
+
'created_at': (datetime,), # noqa: E501
|
|
92
|
+
'updated_at': (datetime,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -151,8 +151,8 @@ class KeywordDataModel(ModelNormal):
|
|
|
151
151
|
match_type (MatchTypeModel): [optional] # noqa: E501
|
|
152
152
|
bid (float, none_type): [optional] # noqa: E501
|
|
153
153
|
input_keywords (InputKeywordsModel): [optional] # noqa: E501
|
|
154
|
-
created_at (datetime
|
|
155
|
-
updated_at (datetime
|
|
154
|
+
created_at (datetime): [optional] # noqa: E501
|
|
155
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -242,8 +242,8 @@ class KeywordDataModel(ModelNormal):
|
|
|
242
242
|
match_type (MatchTypeModel): [optional] # noqa: E501
|
|
243
243
|
bid (float, none_type): [optional] # noqa: E501
|
|
244
244
|
input_keywords (InputKeywordsModel): [optional] # noqa: E501
|
|
245
|
-
created_at (datetime
|
|
246
|
-
updated_at (datetime
|
|
245
|
+
created_at (datetime): [optional] # noqa: E501
|
|
246
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
247
247
|
"""
|
|
248
248
|
|
|
249
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -60,7 +60,6 @@ class Keywords(ModelNormal):
|
|
|
60
60
|
|
|
61
61
|
allowed_values = {
|
|
62
62
|
('review_state',): {
|
|
63
|
-
'None': None,
|
|
64
63
|
'INREVIEW': "InReview",
|
|
65
64
|
'RECOMMENDED': "Recommended",
|
|
66
65
|
'APPROVED': "Approved",
|
|
@@ -70,7 +69,6 @@ class Keywords(ModelNormal):
|
|
|
70
69
|
'UNKOWN': "Unkown",
|
|
71
70
|
},
|
|
72
71
|
('match_type',): {
|
|
73
|
-
'None': None,
|
|
74
72
|
'POSITIVEEXACTMATCH': "PositiveExactMatch",
|
|
75
73
|
'NEGATIVEEXACTMATCH': "NegativeExactMatch",
|
|
76
74
|
'NEGATIVEBROADMATCH': "NegativeBroadMatch",
|
|
@@ -97,12 +95,12 @@ class Keywords(ModelNormal):
|
|
|
97
95
|
"""
|
|
98
96
|
lazy_import()
|
|
99
97
|
return {
|
|
100
|
-
'review_state': (str,
|
|
101
|
-
'match_type': (str,
|
|
98
|
+
'review_state': (str,), # noqa: E501
|
|
99
|
+
'match_type': (str,), # noqa: E501
|
|
102
100
|
'bid': (float, none_type,), # noqa: E501
|
|
103
101
|
'input_keywords': (InputKeywords,), # noqa: E501
|
|
104
|
-
'created_at': (datetime,
|
|
105
|
-
'updated_at': (datetime,
|
|
102
|
+
'created_at': (datetime,), # noqa: E501
|
|
103
|
+
'updated_at': (datetime,), # noqa: E501
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
@cached_property
|
|
@@ -160,12 +158,12 @@ class Keywords(ModelNormal):
|
|
|
160
158
|
Animal class but this time we won't travel
|
|
161
159
|
through its discriminator because we passed in
|
|
162
160
|
_visited_composed_classes = (Animal,)
|
|
163
|
-
review_state (str
|
|
164
|
-
match_type (str
|
|
161
|
+
review_state (str): Review status of the keyword. [optional] # noqa: E501
|
|
162
|
+
match_type (str): The matching algorthim to be use when comparing this keyword with the shopper search phrase. [optional] # noqa: E501
|
|
165
163
|
bid (float, none_type): The bid to use when a positive keyword matches the shopper search phrase. [optional] # noqa: E501
|
|
166
164
|
input_keywords (InputKeywords): [optional] # noqa: E501
|
|
167
|
-
created_at (datetime
|
|
168
|
-
updated_at (datetime
|
|
165
|
+
created_at (datetime): The time at which this keyword was created in UTC. [optional] # noqa: E501
|
|
166
|
+
updated_at (datetime): The time at which the keyword was last modified in UTC. [optional] # noqa: E501
|
|
169
167
|
"""
|
|
170
168
|
|
|
171
169
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -251,12 +249,12 @@ class Keywords(ModelNormal):
|
|
|
251
249
|
Animal class but this time we won't travel
|
|
252
250
|
through its discriminator because we passed in
|
|
253
251
|
_visited_composed_classes = (Animal,)
|
|
254
|
-
review_state (str
|
|
255
|
-
match_type (str
|
|
252
|
+
review_state (str): Review status of the keyword. [optional] # noqa: E501
|
|
253
|
+
match_type (str): The matching algorthim to be use when comparing this keyword with the shopper search phrase. [optional] # noqa: E501
|
|
256
254
|
bid (float, none_type): The bid to use when a positive keyword matches the shopper search phrase. [optional] # noqa: E501
|
|
257
255
|
input_keywords (InputKeywords): [optional] # noqa: E501
|
|
258
|
-
created_at (datetime
|
|
259
|
-
updated_at (datetime
|
|
256
|
+
created_at (datetime): The time at which this keyword was created in UTC. [optional] # noqa: E501
|
|
257
|
+
updated_at (datetime): The time at which the keyword was last modified in UTC. [optional] # noqa: E501
|
|
260
258
|
"""
|
|
261
259
|
|
|
262
260
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -52,6 +52,7 @@ class LineItemProductStatus(ModelSimple):
|
|
|
52
52
|
|
|
53
53
|
allowed_values = {
|
|
54
54
|
('value',): {
|
|
55
|
+
'None': None,
|
|
55
56
|
'UNKNOWN': "unknown",
|
|
56
57
|
'ACTIVE': "active",
|
|
57
58
|
'PAUSED': "paused",
|
|
@@ -63,7 +64,7 @@ class LineItemProductStatus(ModelSimple):
|
|
|
63
64
|
|
|
64
65
|
additional_properties_type = None
|
|
65
66
|
|
|
66
|
-
_nullable =
|
|
67
|
+
_nullable = True
|
|
67
68
|
|
|
68
69
|
@cached_property
|
|
69
70
|
def openapi_types():
|