criteo-api-retailmedia-sdk 0.0.241029__py3-none-any.whl → 0.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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +23 -324
- criteo_api_retailmedia_preview/api/balance_api.py +0 -159
- criteo_api_retailmedia_preview/api/campaign_api.py +127 -921
- criteo_api_retailmedia_preview/api/catalog_api.py +161 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/async_accounts_report.py +40 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +40 -0
- criteo_api_retailmedia_preview/model/async_line_items_report.py +40 -0
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +271 -0
- criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
- criteo_api_retailmedia_preview/model/category.py +3 -3
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
- criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
- criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
- criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
- criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
- criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
- criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
- criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
- criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
- criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → entity_resource_collection_outcome_brand_id_search_result.py} +17 -24
- criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_of_retail_media_account.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
- criteo_api_retailmedia_preview/model/{entity_resource_of_retail_media_account.py → entity_resource_of_retail_media_child_account.py} +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
- criteo_api_retailmedia_preview/model/{external_retail_media_account.py → external_retail_media_child_account.py} +4 -8
- criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
- criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → offset_page_metadata.py} +25 -15
- criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → outcome.py} +15 -17
- criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
- criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
- criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
- criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
- criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
- criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +296 -0
- criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
- criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
- criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
- criteo_api_retailmedia_preview/model/{external_brand.py → sku_min_bid.py} +18 -22
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
- criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
- criteo_api_retailmedia_preview/model/{external_text_variable_value.py → text_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_cpc_min_bids_request.py +262 -0
- criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_of_seller_search.py} +8 -8
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → value_resource_of_seller_search.py} +13 -9
- criteo_api_retailmedia_preview/model/{proposal_status_model_response.py → value_resource_outcome_cpc_min_bids_response.py} +19 -19
- criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/models/__init__.py +36 -49
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/RECORD +72 -85
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
- criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
- criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
- criteo_api_retailmedia_preview/model/creative_v2_response.py +0 -281
- criteo_api_retailmedia_preview/model/external_account.py +0 -330
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_account_and_account.py +0 -285
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +0 -285
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +0 -285
- criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
- criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
- criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
- criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
- criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
- criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +0 -277
- criteo_api_retailmedia_preview/model/resource_of_creative_v2.py +0 -277
- criteo_api_retailmedia_preview/model/retail_media_account.py +0 -301
- criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -274
- criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
from criteo_api_retailmedia_preview.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.entity_resource_brand_id_search_result import EntityResourceBrandIdSearchResult
|
|
34
|
+
from criteo_api_retailmedia_preview.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
|
|
35
|
+
globals()['EntityResourceBrandIdSearchResult'] = EntityResourceBrandIdSearchResult
|
|
36
|
+
globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -66,14 +66,7 @@ class CreativeV2ListResponse(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
71
|
_nullable = False
|
|
79
72
|
|
|
@@ -89,9 +82,9 @@ class CreativeV2ListResponse(ModelNormal):
|
|
|
89
82
|
"""
|
|
90
83
|
lazy_import()
|
|
91
84
|
return {
|
|
92
|
-
'data': ([
|
|
93
|
-
'warnings': ([
|
|
94
|
-
'errors': ([
|
|
85
|
+
'data': ([EntityResourceBrandIdSearchResult], none_type,), # noqa: E501
|
|
86
|
+
'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
87
|
+
'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
95
88
|
}
|
|
96
89
|
|
|
97
90
|
@cached_property
|
|
@@ -115,7 +108,7 @@ class CreativeV2ListResponse(ModelNormal):
|
|
|
115
108
|
@classmethod
|
|
116
109
|
@convert_js_args_to_python_args
|
|
117
110
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
111
|
+
"""EntityResourceCollectionOutcomeBrandIdSearchResult - a model defined in OpenAPI
|
|
119
112
|
|
|
120
113
|
Keyword Args:
|
|
121
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -148,9 +141,9 @@ class CreativeV2ListResponse(ModelNormal):
|
|
|
148
141
|
Animal class but this time we won't travel
|
|
149
142
|
through its discriminator because we passed in
|
|
150
143
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
data ([
|
|
152
|
-
warnings ([
|
|
153
|
-
errors ([
|
|
144
|
+
data ([EntityResourceBrandIdSearchResult], none_type): [optional] # noqa: E501
|
|
145
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
146
|
+
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
154
147
|
"""
|
|
155
148
|
|
|
156
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -203,7 +196,7 @@ class CreativeV2ListResponse(ModelNormal):
|
|
|
203
196
|
|
|
204
197
|
@convert_js_args_to_python_args
|
|
205
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
206
|
-
"""
|
|
199
|
+
"""EntityResourceCollectionOutcomeBrandIdSearchResult - a model defined in OpenAPI
|
|
207
200
|
|
|
208
201
|
Keyword Args:
|
|
209
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -236,9 +229,9 @@ class CreativeV2ListResponse(ModelNormal):
|
|
|
236
229
|
Animal class but this time we won't travel
|
|
237
230
|
through its discriminator because we passed in
|
|
238
231
|
_visited_composed_classes = (Animal,)
|
|
239
|
-
data ([
|
|
240
|
-
warnings ([
|
|
241
|
-
errors ([
|
|
232
|
+
data ([EntityResourceBrandIdSearchResult], none_type): [optional] # noqa: E501
|
|
233
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
234
|
+
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
242
235
|
"""
|
|
243
236
|
|
|
244
237
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -31,12 +31,14 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_preview.model.common_problem import CommonProblem
|
|
34
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
+
from criteo_api_retailmedia_preview.model.entity_resource_of_retail_media_child_account import EntityResourceOfRetailMediaChildAccount
|
|
35
|
+
from criteo_api_retailmedia_preview.model.offset_page_metadata import OffsetPageMetadata
|
|
35
36
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['
|
|
37
|
+
globals()['EntityResourceOfRetailMediaChildAccount'] = EntityResourceOfRetailMediaChildAccount
|
|
38
|
+
globals()['OffsetPageMetadata'] = OffsetPageMetadata
|
|
37
39
|
|
|
38
40
|
|
|
39
|
-
class
|
|
41
|
+
class EntityResourceCollectionOutcomeOfRetailMediaChildAccount(ModelNormal):
|
|
40
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
43
|
Ref: https://openapi-generator.tech
|
|
42
44
|
|
|
@@ -75,7 +77,7 @@ class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
75
77
|
lazy_import()
|
|
76
78
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
77
79
|
|
|
78
|
-
_nullable =
|
|
80
|
+
_nullable = True
|
|
79
81
|
|
|
80
82
|
@cached_property
|
|
81
83
|
def openapi_types():
|
|
@@ -89,7 +91,8 @@ class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
89
91
|
"""
|
|
90
92
|
lazy_import()
|
|
91
93
|
return {
|
|
92
|
-
'
|
|
94
|
+
'metadata': (OffsetPageMetadata,), # noqa: E501
|
|
95
|
+
'data': ([EntityResourceOfRetailMediaChildAccount], none_type,), # noqa: E501
|
|
93
96
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
97
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
95
98
|
}
|
|
@@ -100,6 +103,7 @@ class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
100
103
|
|
|
101
104
|
|
|
102
105
|
attribute_map = {
|
|
106
|
+
'metadata': 'metadata', # noqa: E501
|
|
103
107
|
'data': 'data', # noqa: E501
|
|
104
108
|
'warnings': 'warnings', # noqa: E501
|
|
105
109
|
'errors': 'errors', # noqa: E501
|
|
@@ -115,7 +119,7 @@ class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
115
119
|
@classmethod
|
|
116
120
|
@convert_js_args_to_python_args
|
|
117
121
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
122
|
+
"""EntityResourceCollectionOutcomeOfRetailMediaChildAccount - a model defined in OpenAPI
|
|
119
123
|
|
|
120
124
|
Keyword Args:
|
|
121
125
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -148,7 +152,8 @@ class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
148
152
|
Animal class but this time we won't travel
|
|
149
153
|
through its discriminator because we passed in
|
|
150
154
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
|
|
155
|
+
metadata (OffsetPageMetadata): [optional] # noqa: E501
|
|
156
|
+
data ([EntityResourceOfRetailMediaChildAccount], none_type): [optional] # noqa: E501
|
|
152
157
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
158
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
159
|
"""
|
|
@@ -203,7 +208,7 @@ class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
203
208
|
|
|
204
209
|
@convert_js_args_to_python_args
|
|
205
210
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
206
|
-
"""
|
|
211
|
+
"""EntityResourceCollectionOutcomeOfRetailMediaChildAccount - a model defined in OpenAPI
|
|
207
212
|
|
|
208
213
|
Keyword Args:
|
|
209
214
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -236,7 +241,8 @@ class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
236
241
|
Animal class but this time we won't travel
|
|
237
242
|
through its discriminator because we passed in
|
|
238
243
|
_visited_composed_classes = (Animal,)
|
|
239
|
-
|
|
244
|
+
metadata (OffsetPageMetadata): [optional] # noqa: E501
|
|
245
|
+
data ([EntityResourceOfRetailMediaChildAccount], none_type): [optional] # noqa: E501
|
|
240
246
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
247
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
248
|
"""
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.external_retail_media_child_account import ExternalRetailMediaChildAccount
|
|
34
|
+
globals()['ExternalRetailMediaChildAccount'] = ExternalRetailMediaChildAccount
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class EntityResourceOfRetailMediaChildAccount(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -73,7 +73,7 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
|
|
|
73
73
|
lazy_import()
|
|
74
74
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
75
|
|
|
76
|
-
_nullable =
|
|
76
|
+
_nullable = True
|
|
77
77
|
|
|
78
78
|
@cached_property
|
|
79
79
|
def openapi_types():
|
|
@@ -89,7 +89,7 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
|
|
|
89
89
|
return {
|
|
90
90
|
'id': (str, none_type,), # noqa: E501
|
|
91
91
|
'type': (str, none_type,), # noqa: E501
|
|
92
|
-
'attributes': (
|
|
92
|
+
'attributes': (ExternalRetailMediaChildAccount,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -111,7 +111,7 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""EntityResourceOfRetailMediaChildAccount - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -146,7 +146,7 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
|
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
id (str, none_type): [optional] # noqa: E501
|
|
148
148
|
type (str, none_type): [optional] # noqa: E501
|
|
149
|
-
attributes (
|
|
149
|
+
attributes (ExternalRetailMediaChildAccount): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""EntityResourceOfRetailMediaChildAccount - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -234,7 +234,7 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
|
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
id (str, none_type): [optional] # noqa: E501
|
|
236
236
|
type (str, none_type): [optional] # noqa: E501
|
|
237
|
-
attributes (
|
|
237
|
+
attributes (ExternalRetailMediaChildAccount): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class ExternalRetailMediaChildAccount(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -78,7 +78,7 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
78
78
|
"""
|
|
79
79
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
80
80
|
|
|
81
|
-
_nullable =
|
|
81
|
+
_nullable = True
|
|
82
82
|
|
|
83
83
|
@cached_property
|
|
84
84
|
def openapi_types():
|
|
@@ -98,7 +98,6 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
98
98
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
99
99
|
'country_ids': ([str], none_type,), # noqa: E501
|
|
100
100
|
'currency_id': (str, none_type,), # noqa: E501
|
|
101
|
-
'parent_account_label': (str, none_type,), # noqa: E501
|
|
102
101
|
'time_zone': (str, none_type,), # noqa: E501
|
|
103
102
|
}
|
|
104
103
|
|
|
@@ -115,7 +114,6 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
115
114
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
116
115
|
'country_ids': 'countryIds', # noqa: E501
|
|
117
116
|
'currency_id': 'currencyId', # noqa: E501
|
|
118
|
-
'parent_account_label': 'parentAccountLabel', # noqa: E501
|
|
119
117
|
'time_zone': 'timeZone', # noqa: E501
|
|
120
118
|
}
|
|
121
119
|
|
|
@@ -127,7 +125,7 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
127
125
|
@classmethod
|
|
128
126
|
@convert_js_args_to_python_args
|
|
129
127
|
def _from_openapi_data(cls, type, sub_type, *args, **kwargs): # noqa: E501
|
|
130
|
-
"""
|
|
128
|
+
"""ExternalRetailMediaChildAccount - a model defined in OpenAPI
|
|
131
129
|
|
|
132
130
|
Args:
|
|
133
131
|
type (str):
|
|
@@ -169,7 +167,6 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
169
167
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
170
168
|
country_ids ([str], none_type): [optional] # noqa: E501
|
|
171
169
|
currency_id (str, none_type): [optional] # noqa: E501
|
|
172
|
-
parent_account_label (str, none_type): [optional] # noqa: E501
|
|
173
170
|
time_zone (str, none_type): [optional] # noqa: E501
|
|
174
171
|
"""
|
|
175
172
|
|
|
@@ -225,7 +222,7 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
225
222
|
|
|
226
223
|
@convert_js_args_to_python_args
|
|
227
224
|
def __init__(self, type, sub_type, *args, **kwargs): # noqa: E501
|
|
228
|
-
"""
|
|
225
|
+
"""ExternalRetailMediaChildAccount - a model defined in OpenAPI
|
|
229
226
|
|
|
230
227
|
Args:
|
|
231
228
|
type (str):
|
|
@@ -267,7 +264,6 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
267
264
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
268
265
|
country_ids ([str], none_type): [optional] # noqa: E501
|
|
269
266
|
currency_id (str, none_type): [optional] # noqa: E501
|
|
270
|
-
parent_account_label (str, none_type): [optional] # noqa: E501
|
|
271
267
|
time_zone (str, none_type): [optional] # noqa: E501
|
|
272
268
|
"""
|
|
273
269
|
|
criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class FilesVariableValue(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -63,13 +63,7 @@ class ExternalFilesVariableValue(ModelNormal):
|
|
|
63
63
|
},
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
def additional_properties_type():
|
|
68
|
-
"""
|
|
69
|
-
This must be a method because a model may have properties that are
|
|
70
|
-
of type self, this must run after the class is loaded
|
|
71
|
-
"""
|
|
72
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
66
|
+
additional_properties_type = None
|
|
73
67
|
|
|
74
68
|
_nullable = False
|
|
75
69
|
|
|
@@ -104,7 +98,7 @@ class ExternalFilesVariableValue(ModelNormal):
|
|
|
104
98
|
@classmethod
|
|
105
99
|
@convert_js_args_to_python_args
|
|
106
100
|
def _from_openapi_data(cls, asset_ids, *args, **kwargs): # noqa: E501
|
|
107
|
-
"""
|
|
101
|
+
"""FilesVariableValue - a model defined in OpenAPI
|
|
108
102
|
|
|
109
103
|
Args:
|
|
110
104
|
asset_ids ([str]): The assets representing the images to be displayed
|
|
@@ -193,7 +187,7 @@ class ExternalFilesVariableValue(ModelNormal):
|
|
|
193
187
|
|
|
194
188
|
@convert_js_args_to_python_args
|
|
195
189
|
def __init__(self, asset_ids, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
190
|
+
"""FilesVariableValue - a model defined in OpenAPI
|
|
197
191
|
|
|
198
192
|
Args:
|
|
199
193
|
asset_ids ([str]): The assets representing the images to be displayed
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class HyperlinkVariableValue(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -60,15 +60,9 @@ class ExternalHyperlinkVariableValue(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
def additional_properties_type():
|
|
65
|
-
"""
|
|
66
|
-
This must be a method because a model may have properties that are
|
|
67
|
-
of type self, this must run after the class is loaded
|
|
68
|
-
"""
|
|
69
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
63
|
+
additional_properties_type = None
|
|
70
64
|
|
|
71
|
-
_nullable =
|
|
65
|
+
_nullable = True
|
|
72
66
|
|
|
73
67
|
@cached_property
|
|
74
68
|
def openapi_types():
|
|
@@ -101,7 +95,7 @@ class ExternalHyperlinkVariableValue(ModelNormal):
|
|
|
101
95
|
@classmethod
|
|
102
96
|
@convert_js_args_to_python_args
|
|
103
97
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
104
|
-
"""
|
|
98
|
+
"""HyperlinkVariableValue - a model defined in OpenAPI
|
|
105
99
|
|
|
106
100
|
Keyword Args:
|
|
107
101
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -187,7 +181,7 @@ class ExternalHyperlinkVariableValue(ModelNormal):
|
|
|
187
181
|
|
|
188
182
|
@convert_js_args_to_python_args
|
|
189
183
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
190
|
-
"""
|
|
184
|
+
"""HyperlinkVariableValue - a model defined in OpenAPI
|
|
191
185
|
|
|
192
186
|
Keyword Args:
|
|
193
187
|
_check_type (bool): if True, values for parameters in openapi_types
|
criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → offset_page_metadata.py}
RENAMED
|
@@ -29,12 +29,8 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.resource_of_add_funds_to_balance_v2 import ResourceOfAddFundsToBalanceV2
|
|
34
|
-
globals()['ResourceOfAddFundsToBalanceV2'] = ResourceOfAddFundsToBalanceV2
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
class AddFundsToBalanceV2Request(ModelNormal):
|
|
33
|
+
class OffsetPageMetadata(ModelNormal):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
35
|
Ref: https://openapi-generator.tech
|
|
40
36
|
|
|
@@ -70,7 +66,6 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
70
66
|
This must be a method because a model may have properties that are
|
|
71
67
|
of type self, this must run after the class is loaded
|
|
72
68
|
"""
|
|
73
|
-
lazy_import()
|
|
74
69
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
70
|
|
|
76
71
|
_nullable = False
|
|
@@ -85,9 +80,10 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
85
80
|
openapi_types (dict): The key is attribute name
|
|
86
81
|
and the value is attribute type.
|
|
87
82
|
"""
|
|
88
|
-
lazy_import()
|
|
89
83
|
return {
|
|
90
|
-
'
|
|
84
|
+
'offset': (int,), # noqa: E501
|
|
85
|
+
'limit': (int,), # noqa: E501
|
|
86
|
+
'count': (int, none_type,), # noqa: E501
|
|
91
87
|
}
|
|
92
88
|
|
|
93
89
|
@cached_property
|
|
@@ -96,7 +92,9 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
96
92
|
|
|
97
93
|
|
|
98
94
|
attribute_map = {
|
|
99
|
-
'
|
|
95
|
+
'offset': 'offset', # noqa: E501
|
|
96
|
+
'limit': 'limit', # noqa: E501
|
|
97
|
+
'count': 'count', # noqa: E501
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
read_only_vars = {
|
|
@@ -106,8 +104,12 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
106
104
|
|
|
107
105
|
@classmethod
|
|
108
106
|
@convert_js_args_to_python_args
|
|
109
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
107
|
+
def _from_openapi_data(cls, offset, limit, *args, **kwargs): # noqa: E501
|
|
108
|
+
"""OffsetPageMetadata - a model defined in OpenAPI
|
|
109
|
+
|
|
110
|
+
Args:
|
|
111
|
+
offset (int):
|
|
112
|
+
limit (int):
|
|
111
113
|
|
|
112
114
|
Keyword Args:
|
|
113
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +142,7 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
140
142
|
Animal class but this time we won't travel
|
|
141
143
|
through its discriminator because we passed in
|
|
142
144
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
|
|
145
|
+
count (int, none_type): [optional] # noqa: E501
|
|
144
146
|
"""
|
|
145
147
|
|
|
146
148
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -172,6 +174,8 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
172
174
|
self._configuration = _configuration
|
|
173
175
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
176
|
|
|
177
|
+
self.offset = offset
|
|
178
|
+
self.limit = limit
|
|
175
179
|
for var_name, var_value in kwargs.items():
|
|
176
180
|
if var_name not in self.attribute_map and \
|
|
177
181
|
self._configuration is not None and \
|
|
@@ -192,8 +196,12 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
192
196
|
])
|
|
193
197
|
|
|
194
198
|
@convert_js_args_to_python_args
|
|
195
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
199
|
+
def __init__(self, offset, limit, *args, **kwargs): # noqa: E501
|
|
200
|
+
"""OffsetPageMetadata - a model defined in OpenAPI
|
|
201
|
+
|
|
202
|
+
Args:
|
|
203
|
+
offset (int):
|
|
204
|
+
limit (int):
|
|
197
205
|
|
|
198
206
|
Keyword Args:
|
|
199
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +234,7 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
226
234
|
Animal class but this time we won't travel
|
|
227
235
|
through its discriminator because we passed in
|
|
228
236
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
|
|
237
|
+
count (int, none_type): [optional] # noqa: E501
|
|
230
238
|
"""
|
|
231
239
|
|
|
232
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -256,6 +264,8 @@ class AddFundsToBalanceV2Request(ModelNormal):
|
|
|
256
264
|
self._configuration = _configuration
|
|
257
265
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
258
266
|
|
|
267
|
+
self.offset = offset
|
|
268
|
+
self.limit = limit
|
|
259
269
|
for var_name, var_value in kwargs.items():
|
|
260
270
|
if var_name not in self.attribute_map and \
|
|
261
271
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
|
|
34
|
+
globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Outcome(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -80,9 +80,8 @@ class ResourceOfSkuSearchResult(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'type': (str, none_type,), # noqa: E501
|
|
83
|
+
'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
84
|
+
'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
86
85
|
}
|
|
87
86
|
|
|
88
87
|
@cached_property
|
|
@@ -91,12 +90,13 @@ class ResourceOfSkuSearchResult(ModelNormal):
|
|
|
91
90
|
|
|
92
91
|
|
|
93
92
|
attribute_map = {
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'type': 'type', # noqa: E501
|
|
93
|
+
'warnings': 'warnings', # noqa: E501
|
|
94
|
+
'errors': 'errors', # noqa: E501
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
read_only_vars = {
|
|
98
|
+
'warnings', # noqa: E501
|
|
99
|
+
'errors', # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
_composed_schemas = {}
|
|
@@ -104,7 +104,7 @@ class ResourceOfSkuSearchResult(ModelNormal):
|
|
|
104
104
|
@classmethod
|
|
105
105
|
@convert_js_args_to_python_args
|
|
106
106
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
-
"""
|
|
107
|
+
"""Outcome - a model defined in OpenAPI
|
|
108
108
|
|
|
109
109
|
Keyword Args:
|
|
110
110
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -137,9 +137,8 @@ class ResourceOfSkuSearchResult(ModelNormal):
|
|
|
137
137
|
Animal class but this time we won't travel
|
|
138
138
|
through its discriminator because we passed in
|
|
139
139
|
_visited_composed_classes = (Animal,)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
type (str, none_type): [optional] # noqa: E501
|
|
140
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
141
|
+
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
143
142
|
"""
|
|
144
143
|
|
|
145
144
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -192,7 +191,7 @@ class ResourceOfSkuSearchResult(ModelNormal):
|
|
|
192
191
|
|
|
193
192
|
@convert_js_args_to_python_args
|
|
194
193
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
195
|
-
"""
|
|
194
|
+
"""Outcome - a model defined in OpenAPI
|
|
196
195
|
|
|
197
196
|
Keyword Args:
|
|
198
197
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -225,9 +224,8 @@ class ResourceOfSkuSearchResult(ModelNormal):
|
|
|
225
224
|
Animal class but this time we won't travel
|
|
226
225
|
through its discriminator because we passed in
|
|
227
226
|
_visited_composed_classes = (Animal,)
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
type (str, none_type): [optional] # noqa: E501
|
|
227
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
228
|
+
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
231
229
|
"""
|
|
232
230
|
|
|
233
231
|
_check_type = kwargs.pop('_check_type', True)
|