criteo-api-retailmedia-sdk 0.0.240808__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 +45 -198
- criteo_api_retailmedia_preview/api/analytics_api.py +3 -3
- criteo_api_retailmedia_preview/api/audience_api.py +89 -232
- criteo_api_retailmedia_preview/api/balance_api.py +0 -159
- criteo_api_retailmedia_preview/api/campaign_api.py +246 -1604
- criteo_api_retailmedia_preview/api/catalog_api.py +161 -0
- criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +186 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- 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/{creative_v2_response.py → bot_message.py} +17 -21
- criteo_api_retailmedia_preview/model/botmessage.py +329 -0
- 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/{value_resource_outcome_of_campaign_budget_overrides.py → entity_resource_collection_outcome_brand_id_search_result.py} +16 -16
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_list_response.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
- criteo_api_retailmedia_preview/model/{resource_of_add_funds_to_balance_v2.py → entity_resource_of_retail_media_child_account.py} +14 -14
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
- criteo_api_retailmedia_preview/model/{external_account.py → external_retail_media_child_account.py} +39 -56
- criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/model/http_validation_error.py +269 -0
- criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/inbot_discussion.py +272 -0
- criteo_api_retailmedia_preview/model/{external_brand.py → inbot_discussion_body_model.py} +17 -15
- criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py +279 -0
- 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/{external_text_variable_value.py → location_inner.py} +3 -7
- criteo_api_retailmedia_preview/model/message.py +273 -0
- criteo_api_retailmedia_preview/model/message_body_model.py +275 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_retailer_and_retailer.py → message_data_instance_model.py} +16 -22
- criteo_api_retailmedia_preview/model/message_error.py +275 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_segment_customer_list.py → offset_page_metadata.py} +21 -17
- 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/product.py +4 -0
- criteo_api_retailmedia_preview/model/product_recommendation.py +305 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_account_and_account.py → report_detail_warning.py} +21 -21
- criteo_api_retailmedia_preview/model/report_detail_warnings.py +281 -0
- criteo_api_retailmedia_preview/model/report_ok_response.py +31 -17
- 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/rm_algebra_node_v1.py +275 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_resource.py → rm_audience_entity_v1.py} +45 -24
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2_resource.py → rm_audience_entity_v1_resource.py} +8 -8
- criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py} +14 -8
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +271 -0
- criteo_api_retailmedia_preview/model/{resource_of_creative_v2.py → rm_audience_search_entity_v1_resource.py} +11 -15
- criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → rm_audience_search_input_v1.py} +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +271 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +17 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +7 -7
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +1 -1
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +5 -5
- criteo_api_retailmedia_preview/model/{rm_user_behavior_v1.py → rm_events_v1.py} +3 -3
- criteo_api_retailmedia_preview/model/{retail_media_account.py → sdk_api_rest_common_problem.py} +41 -42
- 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/sku_min_bid.py +269 -0
- 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/text_variable_value.py +257 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_brand_and_brand.py → validation_error.py} +19 -17
- 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_of_campaign_budget_overrides.py → value_resource_cpc_min_bids_request.py} +10 -10
- criteo_api_retailmedia_preview/model/{value_resource_of_line_item_budget_overrides.py → value_resource_cpc_min_bids_response.py} +10 -10
- criteo_api_retailmedia_preview/model/{value_resource_input_of_line_item_budget_overrides.py → value_resource_input_brand_id_search_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_cpc_min_bids_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_input_of_campaign_budget_overrides.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_of_seller_search.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_line_item_budget_overrides.py → value_resource_outcome_cpc_min_bids_response.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/models/__init__.py +60 -69
- {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/RECORD +105 -113
- {criteo_api_retailmedia_sdk-0.0.240808.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/campaign_budget_overrides.py +0 -276
- criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py +0 -283
- criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py +0 -283
- criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
- criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py +0 -281
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
- 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/line_item_budget_overrides.py +0 -276
- criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py +0 -283
- 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/proposal_status_model_response.py +0 -274
- criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -270
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py +0 -291
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py +0 -291
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_list_response.py +0 -281
- criteo_api_retailmedia_preview/model/rm_legacy_audience_user_behavior_details_v2.py +0 -279
- criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v1.py +0 -306
- criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py +0 -311
- criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +0 -262
- {criteo_api_retailmedia_sdk-0.0.240808.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
|
|
|
@@ -82,9 +82,9 @@ class ValueResourceOutcomeOfCampaignBudgetOverrides(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
|
-
'data': (
|
|
86
|
-
'warnings': ([
|
|
87
|
-
'errors': ([
|
|
85
|
+
'data': ([EntityResourceBrandIdSearchResult], none_type,), # noqa: E501
|
|
86
|
+
'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
87
|
+
'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@cached_property
|
|
@@ -108,7 +108,7 @@ class ValueResourceOutcomeOfCampaignBudgetOverrides(ModelNormal):
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
110
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
111
|
+
"""EntityResourceCollectionOutcomeBrandIdSearchResult - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Keyword Args:
|
|
114
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -141,9 +141,9 @@ class ValueResourceOutcomeOfCampaignBudgetOverrides(ModelNormal):
|
|
|
141
141
|
Animal class but this time we won't travel
|
|
142
142
|
through its discriminator because we passed in
|
|
143
143
|
_visited_composed_classes = (Animal,)
|
|
144
|
-
data (
|
|
145
|
-
warnings ([
|
|
146
|
-
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
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -196,7 +196,7 @@ class ValueResourceOutcomeOfCampaignBudgetOverrides(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""EntityResourceCollectionOutcomeBrandIdSearchResult - a model defined in OpenAPI
|
|
200
200
|
|
|
201
201
|
Keyword Args:
|
|
202
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,9 +229,9 @@ class ValueResourceOutcomeOfCampaignBudgetOverrides(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
|
-
data (
|
|
233
|
-
warnings ([
|
|
234
|
-
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
|
|
235
235
|
"""
|
|
236
236
|
|
|
237
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 RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(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 ResourceOfAddFundsToBalanceV2(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():
|
|
@@ -87,9 +87,9 @@ class ResourceOfAddFundsToBalanceV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (AddFundsToBalanceV2,), # noqa: E501
|
|
91
90
|
'id': (str, none_type,), # noqa: E501
|
|
92
91
|
'type': (str, none_type,), # noqa: E501
|
|
92
|
+
'attributes': (ExternalRetailMediaChildAccount,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class ResourceOfAddFundsToBalanceV2(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
-
'attributes': 'attributes', # noqa: E501
|
|
102
101
|
'id': 'id', # noqa: E501
|
|
103
102
|
'type': 'type', # noqa: E501
|
|
103
|
+
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -111,7 +111,7 @@ class ResourceOfAddFundsToBalanceV2(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
|
|
@@ -144,9 +144,9 @@ class ResourceOfAddFundsToBalanceV2(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
type (str, none_type): [optional] # noqa: E501
|
|
149
|
+
attributes (ExternalRetailMediaChildAccount): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class ResourceOfAddFundsToBalanceV2(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
|
|
@@ -232,9 +232,9 @@ class ResourceOfAddFundsToBalanceV2(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
type (str, none_type): [optional] # noqa: E501
|
|
237
|
+
attributes (ExternalRetailMediaChildAccount): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_preview/model/{external_account.py → external_retail_media_child_account.py}
RENAMED
|
@@ -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
|
|
|
@@ -56,27 +56,18 @@ class ExternalAccount(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('type',): {
|
|
59
|
-
'UNKNOWN': "
|
|
60
|
-
'SUPPLY': "
|
|
61
|
-
'DEMAND': "
|
|
59
|
+
'UNKNOWN': "Unknown",
|
|
60
|
+
'SUPPLY': "Supply",
|
|
61
|
+
'DEMAND': "Demand",
|
|
62
62
|
},
|
|
63
|
-
('
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'SELLER': "seller",
|
|
63
|
+
('sub_type',): {
|
|
64
|
+
'UNKNOWN': "Unknown",
|
|
65
|
+
'BRAND': "Brand",
|
|
66
|
+
'SELLER': "Seller",
|
|
68
67
|
},
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
validations = {
|
|
72
|
-
('name',): {
|
|
73
|
-
'max_length': 510,
|
|
74
|
-
'min_length': 0,
|
|
75
|
-
},
|
|
76
|
-
('parent_account_label',): {
|
|
77
|
-
'max_length': 510,
|
|
78
|
-
'min_length': 0,
|
|
79
|
-
},
|
|
80
71
|
}
|
|
81
72
|
|
|
82
73
|
@cached_property
|
|
@@ -87,7 +78,7 @@ class ExternalAccount(ModelNormal):
|
|
|
87
78
|
"""
|
|
88
79
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
89
80
|
|
|
90
|
-
_nullable =
|
|
81
|
+
_nullable = True
|
|
91
82
|
|
|
92
83
|
@cached_property
|
|
93
84
|
def openapi_types():
|
|
@@ -100,14 +91,14 @@ class ExternalAccount(ModelNormal):
|
|
|
100
91
|
and the value is attribute type.
|
|
101
92
|
"""
|
|
102
93
|
return {
|
|
103
|
-
'name': (str,), # noqa: E501
|
|
104
94
|
'type': (str,), # noqa: E501
|
|
105
|
-
'
|
|
106
|
-
'
|
|
107
|
-
'parent_account_label': (str,), # noqa: E501
|
|
108
|
-
'time_zone': (str,), # noqa: E501
|
|
109
|
-
'subtype': (str, none_type,), # noqa: E501
|
|
95
|
+
'sub_type': (str,), # noqa: E501
|
|
96
|
+
'name': (str, none_type,), # noqa: E501
|
|
110
97
|
'company_name': (str, none_type,), # noqa: E501
|
|
98
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
99
|
+
'country_ids': ([str], none_type,), # noqa: E501
|
|
100
|
+
'currency_id': (str, none_type,), # noqa: E501
|
|
101
|
+
'time_zone': (str, none_type,), # noqa: E501
|
|
111
102
|
}
|
|
112
103
|
|
|
113
104
|
@cached_property
|
|
@@ -116,14 +107,14 @@ class ExternalAccount(ModelNormal):
|
|
|
116
107
|
|
|
117
108
|
|
|
118
109
|
attribute_map = {
|
|
119
|
-
'name': 'name', # noqa: E501
|
|
120
110
|
'type': 'type', # noqa: E501
|
|
121
|
-
'
|
|
122
|
-
'
|
|
123
|
-
'parent_account_label': 'parentAccountLabel', # noqa: E501
|
|
124
|
-
'time_zone': 'timeZone', # noqa: E501
|
|
125
|
-
'subtype': 'subtype', # noqa: E501
|
|
111
|
+
'sub_type': 'subType', # noqa: E501
|
|
112
|
+
'name': 'name', # noqa: E501
|
|
126
113
|
'company_name': 'companyName', # noqa: E501
|
|
114
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
115
|
+
'country_ids': 'countryIds', # noqa: E501
|
|
116
|
+
'currency_id': 'currencyId', # noqa: E501
|
|
117
|
+
'time_zone': 'timeZone', # noqa: E501
|
|
127
118
|
}
|
|
128
119
|
|
|
129
120
|
read_only_vars = {
|
|
@@ -133,16 +124,12 @@ class ExternalAccount(ModelNormal):
|
|
|
133
124
|
|
|
134
125
|
@classmethod
|
|
135
126
|
@convert_js_args_to_python_args
|
|
136
|
-
def _from_openapi_data(cls,
|
|
137
|
-
"""
|
|
127
|
+
def _from_openapi_data(cls, type, sub_type, *args, **kwargs): # noqa: E501
|
|
128
|
+
"""ExternalRetailMediaChildAccount - a model defined in OpenAPI
|
|
138
129
|
|
|
139
130
|
Args:
|
|
140
|
-
name (str):
|
|
141
131
|
type (str):
|
|
142
|
-
|
|
143
|
-
currency (str):
|
|
144
|
-
parent_account_label (str):
|
|
145
|
-
time_zone (str):
|
|
132
|
+
sub_type (str):
|
|
146
133
|
|
|
147
134
|
Keyword Args:
|
|
148
135
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -175,8 +162,12 @@ class ExternalAccount(ModelNormal):
|
|
|
175
162
|
Animal class but this time we won't travel
|
|
176
163
|
through its discriminator because we passed in
|
|
177
164
|
_visited_composed_classes = (Animal,)
|
|
178
|
-
|
|
165
|
+
name (str, none_type): [optional] # noqa: E501
|
|
179
166
|
company_name (str, none_type): [optional] # noqa: E501
|
|
167
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
168
|
+
country_ids ([str], none_type): [optional] # noqa: E501
|
|
169
|
+
currency_id (str, none_type): [optional] # noqa: E501
|
|
170
|
+
time_zone (str, none_type): [optional] # noqa: E501
|
|
180
171
|
"""
|
|
181
172
|
|
|
182
173
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -208,12 +199,8 @@ class ExternalAccount(ModelNormal):
|
|
|
208
199
|
self._configuration = _configuration
|
|
209
200
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
210
201
|
|
|
211
|
-
self.name = name
|
|
212
202
|
self.type = type
|
|
213
|
-
self.
|
|
214
|
-
self.currency = currency
|
|
215
|
-
self.parent_account_label = parent_account_label
|
|
216
|
-
self.time_zone = time_zone
|
|
203
|
+
self.sub_type = sub_type
|
|
217
204
|
for var_name, var_value in kwargs.items():
|
|
218
205
|
if var_name not in self.attribute_map and \
|
|
219
206
|
self._configuration is not None and \
|
|
@@ -234,16 +221,12 @@ class ExternalAccount(ModelNormal):
|
|
|
234
221
|
])
|
|
235
222
|
|
|
236
223
|
@convert_js_args_to_python_args
|
|
237
|
-
def __init__(self,
|
|
238
|
-
"""
|
|
224
|
+
def __init__(self, type, sub_type, *args, **kwargs): # noqa: E501
|
|
225
|
+
"""ExternalRetailMediaChildAccount - a model defined in OpenAPI
|
|
239
226
|
|
|
240
227
|
Args:
|
|
241
|
-
name (str):
|
|
242
228
|
type (str):
|
|
243
|
-
|
|
244
|
-
currency (str):
|
|
245
|
-
parent_account_label (str):
|
|
246
|
-
time_zone (str):
|
|
229
|
+
sub_type (str):
|
|
247
230
|
|
|
248
231
|
Keyword Args:
|
|
249
232
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -276,8 +259,12 @@ class ExternalAccount(ModelNormal):
|
|
|
276
259
|
Animal class but this time we won't travel
|
|
277
260
|
through its discriminator because we passed in
|
|
278
261
|
_visited_composed_classes = (Animal,)
|
|
279
|
-
|
|
262
|
+
name (str, none_type): [optional] # noqa: E501
|
|
280
263
|
company_name (str, none_type): [optional] # noqa: E501
|
|
264
|
+
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
265
|
+
country_ids ([str], none_type): [optional] # noqa: E501
|
|
266
|
+
currency_id (str, none_type): [optional] # noqa: E501
|
|
267
|
+
time_zone (str, none_type): [optional] # noqa: E501
|
|
281
268
|
"""
|
|
282
269
|
|
|
283
270
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -307,12 +294,8 @@ class ExternalAccount(ModelNormal):
|
|
|
307
294
|
self._configuration = _configuration
|
|
308
295
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
309
296
|
|
|
310
|
-
self.name = name
|
|
311
297
|
self.type = type
|
|
312
|
-
self.
|
|
313
|
-
self.currency = currency
|
|
314
|
-
self.parent_account_label = parent_account_label
|
|
315
|
-
self.time_zone = time_zone
|
|
298
|
+
self.sub_type = sub_type
|
|
316
299
|
for var_name, var_value in kwargs.items():
|
|
317
300
|
if var_name not in self.attribute_map and \
|
|
318
301
|
self._configuration is not None and \
|
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
|