criteo-api-retailmedia-sdk 0.0.250327__py3-none-any.whl → 0.0.250425__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_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +187 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
- criteo_api_retailmedia_preview/api/balance_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +88 -509
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
- criteo_api_retailmedia_preview/model/account_fees_update_request.py +278 -0
- criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
- criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_preview/model/async_accounts_report.py +73 -73
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
- criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/{common_error.py → async_offsite_report.py} +185 -45
- criteo_api_retailmedia_preview/model/{grant_consent_input.py → async_offsite_report_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{grant_consent_model_value_resource.py → async_offsite_report_resource.py} +9 -9
- criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
- criteo_api_retailmedia_preview/model/audience_error.py +16 -16
- criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
- criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/bot_message.py +4 -4
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +11 -5
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +15 -9
- criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
- criteo_api_retailmedia_preview/model/category202204.py +8 -8
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_preview/model/common_problem.py +20 -20
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_preview/model/creative2.py +50 -50
- criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
- criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +12 -5
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +17 -10
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +4 -4
- criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
- criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
- criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
- criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
- criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
- criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
- criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/installment.py +4 -4
- criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
- criteo_api_retailmedia_preview/model/{input_keywords.py → managed_service_fee.py} +31 -17
- criteo_api_retailmedia_preview/model/message.py +4 -4
- criteo_api_retailmedia_preview/model/message_error.py +8 -8
- criteo_api_retailmedia_preview/model/metadata.py +8 -8
- criteo_api_retailmedia_preview/model/outcome.py +5 -5
- criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +15 -9
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +8 -8
- criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
- criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/{recommended_keywords_result.py → private_market_account_fees.py} +13 -13
- criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
- criteo_api_retailmedia_preview/model/problem_details.py +20 -20
- criteo_api_retailmedia_preview/model/product.py +242 -242
- criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
- criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
- criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
- criteo_api_retailmedia_preview/model/product_tax.py +12 -12
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
- criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
- criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
- criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
- criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
- criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
- criteo_api_retailmedia_preview/model/report_response.py +9 -9
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
- criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
- criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
- criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
- criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
- criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
- criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/status_response.py +20 -20
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
- criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
- criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_recommended_keywords_result.py → value_resource_account_fees_update_result.py} +11 -11
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +12 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_response.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +26 -27
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +8 -1
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_request.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py → value_resource_of_seller_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_recommended_keywords_result.py → value_resource_outcome_account_fees_update_result.py} +18 -18
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +4 -4
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +24 -22
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/RECORD +197 -195
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/common_warning.py +0 -301
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
- criteo_api_retailmedia_preview/model/grant_consent_model.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request_v2.py +0 -269
- criteo_api_retailmedia_preview/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +0 -287
- criteo_api_retailmedia_preview/model/keywords.py +0 -297
- criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +0 -277
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/top_level.txt +0 -0
|
@@ -90,14 +90,14 @@ class AudienceWarning(ModelNormal):
|
|
|
90
90
|
and the value is attribute type.
|
|
91
91
|
"""
|
|
92
92
|
return {
|
|
93
|
-
'type': (str,), # noqa: E501
|
|
94
93
|
'code': (str,), # noqa: E501
|
|
95
|
-
'instance': (str,), # noqa: E501
|
|
96
94
|
'detail': (str,), # noqa: E501
|
|
97
|
-
'
|
|
98
|
-
'
|
|
95
|
+
'instance': (str,), # noqa: E501
|
|
96
|
+
'type': (str,), # noqa: E501
|
|
99
97
|
'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
|
|
100
98
|
'stack_trace': ([str], none_type,), # noqa: E501
|
|
99
|
+
'title': (str, none_type,), # noqa: E501
|
|
100
|
+
'trace_id': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@cached_property
|
|
@@ -106,14 +106,14 @@ class AudienceWarning(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
attribute_map = {
|
|
109
|
-
'type': 'type', # noqa: E501
|
|
110
109
|
'code': 'code', # noqa: E501
|
|
111
|
-
'instance': 'instance', # noqa: E501
|
|
112
110
|
'detail': 'detail', # noqa: E501
|
|
113
|
-
'
|
|
114
|
-
'
|
|
111
|
+
'instance': 'instance', # noqa: E501
|
|
112
|
+
'type': 'type', # noqa: E501
|
|
115
113
|
'source': 'source', # noqa: E501
|
|
116
114
|
'stack_trace': 'stackTrace', # noqa: E501
|
|
115
|
+
'title': 'title', # noqa: E501
|
|
116
|
+
'trace_id': 'traceId', # noqa: E501
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
read_only_vars = {
|
|
@@ -123,14 +123,14 @@ class AudienceWarning(ModelNormal):
|
|
|
123
123
|
|
|
124
124
|
@classmethod
|
|
125
125
|
@convert_js_args_to_python_args
|
|
126
|
-
def _from_openapi_data(cls,
|
|
126
|
+
def _from_openapi_data(cls, code, detail, instance, type, *args, **kwargs): # noqa: E501
|
|
127
127
|
"""AudienceWarning - a model defined in OpenAPI
|
|
128
128
|
|
|
129
129
|
Args:
|
|
130
|
-
type (str): (REQUIRED) The classification of the error
|
|
131
130
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
132
|
-
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
133
131
|
detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem
|
|
132
|
+
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
133
|
+
type (str): (REQUIRED) The classification of the error
|
|
134
134
|
|
|
135
135
|
Keyword Args:
|
|
136
136
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -163,10 +163,10 @@ class AudienceWarning(ModelNormal):
|
|
|
163
163
|
Animal class but this time we won't travel
|
|
164
164
|
through its discriminator because we passed in
|
|
165
165
|
_visited_composed_classes = (Animal,)
|
|
166
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
167
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
168
166
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
169
167
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
168
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
169
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -198,10 +198,10 @@ class AudienceWarning(ModelNormal):
|
|
|
198
198
|
self._configuration = _configuration
|
|
199
199
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
200
200
|
|
|
201
|
-
self.type = type
|
|
202
201
|
self.code = code
|
|
203
|
-
self.instance = instance
|
|
204
202
|
self.detail = detail
|
|
203
|
+
self.instance = instance
|
|
204
|
+
self.type = type
|
|
205
205
|
for var_name, var_value in kwargs.items():
|
|
206
206
|
if var_name not in self.attribute_map and \
|
|
207
207
|
self._configuration is not None and \
|
|
@@ -222,14 +222,14 @@ class AudienceWarning(ModelNormal):
|
|
|
222
222
|
])
|
|
223
223
|
|
|
224
224
|
@convert_js_args_to_python_args
|
|
225
|
-
def __init__(self,
|
|
225
|
+
def __init__(self, code, detail, instance, type, *args, **kwargs): # noqa: E501
|
|
226
226
|
"""AudienceWarning - a model defined in OpenAPI
|
|
227
227
|
|
|
228
228
|
Args:
|
|
229
|
-
type (str): (REQUIRED) The classification of the error
|
|
230
229
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
231
|
-
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
232
230
|
detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem
|
|
231
|
+
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
232
|
+
type (str): (REQUIRED) The classification of the error
|
|
233
233
|
|
|
234
234
|
Keyword Args:
|
|
235
235
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -262,10 +262,10 @@ class AudienceWarning(ModelNormal):
|
|
|
262
262
|
Animal class but this time we won't travel
|
|
263
263
|
through its discriminator because we passed in
|
|
264
264
|
_visited_composed_classes = (Animal,)
|
|
265
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
266
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
267
265
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
268
266
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
267
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
268
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
269
269
|
"""
|
|
270
270
|
|
|
271
271
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -295,10 +295,10 @@ class AudienceWarning(ModelNormal):
|
|
|
295
295
|
self._configuration = _configuration
|
|
296
296
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
297
297
|
|
|
298
|
-
self.type = type
|
|
299
298
|
self.code = code
|
|
300
|
-
self.instance = instance
|
|
301
299
|
self.detail = detail
|
|
300
|
+
self.instance = instance
|
|
301
|
+
self.type = type
|
|
302
302
|
for var_name, var_value in kwargs.items():
|
|
303
303
|
if var_name not in self.attribute_map and \
|
|
304
304
|
self._configuration is not None and \
|
|
@@ -93,10 +93,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
93
93
|
"""
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
|
+
'change_details': (ChangeDetailsV1,), # noqa: E501
|
|
97
|
+
'change_type': (str,), # noqa: E501
|
|
96
98
|
'date_of_modification': (datetime,), # noqa: E501
|
|
97
99
|
'modified_by_user': (str,), # noqa: E501
|
|
98
|
-
'change_type': (str,), # noqa: E501
|
|
99
|
-
'change_details': (ChangeDetailsV1,), # noqa: E501
|
|
100
100
|
'memo': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -106,10 +106,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
attribute_map = {
|
|
109
|
+
'change_details': 'changeDetails', # noqa: E501
|
|
110
|
+
'change_type': 'changeType', # noqa: E501
|
|
109
111
|
'date_of_modification': 'dateOfModification', # noqa: E501
|
|
110
112
|
'modified_by_user': 'modifiedByUser', # noqa: E501
|
|
111
|
-
'change_type': 'changeType', # noqa: E501
|
|
112
|
-
'change_details': 'changeDetails', # noqa: E501
|
|
113
113
|
'memo': 'memo', # noqa: E501
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -120,14 +120,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
120
120
|
|
|
121
121
|
@classmethod
|
|
122
122
|
@convert_js_args_to_python_args
|
|
123
|
-
def _from_openapi_data(cls,
|
|
123
|
+
def _from_openapi_data(cls, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
|
|
124
124
|
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
125
125
|
|
|
126
126
|
Args:
|
|
127
|
+
change_details (ChangeDetailsV1):
|
|
128
|
+
change_type (str): Represent the type of change states of the history.
|
|
127
129
|
date_of_modification (datetime): Date when data change has occured.
|
|
128
130
|
modified_by_user (str): Username who modified the insertion order.
|
|
129
|
-
change_type (str): Represent the type of change states of the history.
|
|
130
|
-
change_details (ChangeDetailsV1):
|
|
131
131
|
|
|
132
132
|
Keyword Args:
|
|
133
133
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -192,10 +192,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
192
192
|
self._configuration = _configuration
|
|
193
193
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
194
194
|
|
|
195
|
+
self.change_details = change_details
|
|
196
|
+
self.change_type = change_type
|
|
195
197
|
self.date_of_modification = date_of_modification
|
|
196
198
|
self.modified_by_user = modified_by_user
|
|
197
|
-
self.change_type = change_type
|
|
198
|
-
self.change_details = change_details
|
|
199
199
|
for var_name, var_value in kwargs.items():
|
|
200
200
|
if var_name not in self.attribute_map and \
|
|
201
201
|
self._configuration is not None and \
|
|
@@ -216,14 +216,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
216
216
|
])
|
|
217
217
|
|
|
218
218
|
@convert_js_args_to_python_args
|
|
219
|
-
def __init__(self,
|
|
219
|
+
def __init__(self, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
|
|
220
220
|
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
221
221
|
|
|
222
222
|
Args:
|
|
223
|
+
change_details (ChangeDetailsV1):
|
|
224
|
+
change_type (str): Represent the type of change states of the history.
|
|
223
225
|
date_of_modification (datetime): Date when data change has occured.
|
|
224
226
|
modified_by_user (str): Username who modified the insertion order.
|
|
225
|
-
change_type (str): Represent the type of change states of the history.
|
|
226
|
-
change_details (ChangeDetailsV1):
|
|
227
227
|
|
|
228
228
|
Keyword Args:
|
|
229
229
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -286,10 +286,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
286
286
|
self._configuration = _configuration
|
|
287
287
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
288
288
|
|
|
289
|
+
self.change_details = change_details
|
|
290
|
+
self.change_type = change_type
|
|
289
291
|
self.date_of_modification = date_of_modification
|
|
290
292
|
self.modified_by_user = modified_by_user
|
|
291
|
-
self.change_type = change_type
|
|
292
|
-
self.change_details = change_details
|
|
293
293
|
for var_name, var_value in kwargs.items():
|
|
294
294
|
if var_name not in self.attribute_map and \
|
|
295
295
|
self._configuration is not None and \
|
|
@@ -60,17 +60,17 @@ class BalanceResponseV2(ModelNormal):
|
|
|
60
60
|
'CAPPED': "capped",
|
|
61
61
|
'UNCAPPED': "uncapped",
|
|
62
62
|
},
|
|
63
|
-
('spend_type',): {
|
|
64
|
-
'ONSITE': "Onsite",
|
|
65
|
-
'OFFSITE': "Offsite",
|
|
66
|
-
'OFFSITEAWARENESS': "OffsiteAwareness",
|
|
67
|
-
},
|
|
68
63
|
('private_market_billing_type',): {
|
|
69
64
|
'NOTAPPLICABLE': "notApplicable",
|
|
70
65
|
'BILLBYRETAILER': "billByRetailer",
|
|
71
66
|
'BILLBYCRITEO': "billByCriteo",
|
|
72
67
|
'UNKNOWN': "unknown",
|
|
73
68
|
},
|
|
69
|
+
('spend_type',): {
|
|
70
|
+
'ONSITE': "Onsite",
|
|
71
|
+
'OFFSITE': "Offsite",
|
|
72
|
+
'OFFSITEAWARENESS': "OffsiteAwareness",
|
|
73
|
+
},
|
|
74
74
|
('status',): {
|
|
75
75
|
'UNKNOWN': "unknown",
|
|
76
76
|
'SCHEDULED': "scheduled",
|
|
@@ -103,19 +103,19 @@ class BalanceResponseV2(ModelNormal):
|
|
|
103
103
|
and the value is attribute type.
|
|
104
104
|
"""
|
|
105
105
|
return {
|
|
106
|
-
'name': (str,), # noqa: E501
|
|
107
|
-
'start_date': (date,), # noqa: E501
|
|
108
106
|
'balance_type': (str,), # noqa: E501
|
|
109
|
-
'
|
|
107
|
+
'name': (str,), # noqa: E501
|
|
110
108
|
'private_market_billing_type': (str,), # noqa: E501
|
|
111
|
-
'
|
|
112
|
-
'
|
|
109
|
+
'spend_type': (str,), # noqa: E501
|
|
110
|
+
'start_date': (date,), # noqa: E501
|
|
111
|
+
'created_at': (datetime,), # noqa: E501
|
|
113
112
|
'deposited': (float, none_type,), # noqa: E501
|
|
114
|
-
'spent': (float, none_type,), # noqa: E501
|
|
115
|
-
'remaining': (float, none_type,), # noqa: E501
|
|
116
113
|
'end_date': (date, none_type,), # noqa: E501
|
|
114
|
+
'memo': (str, none_type,), # noqa: E501
|
|
115
|
+
'po_number': (str, none_type,), # noqa: E501
|
|
116
|
+
'remaining': (float, none_type,), # noqa: E501
|
|
117
|
+
'spent': (float, none_type,), # noqa: E501
|
|
117
118
|
'status': (str,), # noqa: E501
|
|
118
|
-
'created_at': (datetime,), # noqa: E501
|
|
119
119
|
'updated_at': (datetime,), # noqa: E501
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -125,19 +125,19 @@ class BalanceResponseV2(ModelNormal):
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
attribute_map = {
|
|
128
|
-
'name': 'name', # noqa: E501
|
|
129
|
-
'start_date': 'startDate', # noqa: E501
|
|
130
128
|
'balance_type': 'balanceType', # noqa: E501
|
|
131
|
-
'
|
|
129
|
+
'name': 'name', # noqa: E501
|
|
132
130
|
'private_market_billing_type': 'privateMarketBillingType', # noqa: E501
|
|
133
|
-
'
|
|
134
|
-
'
|
|
131
|
+
'spend_type': 'spendType', # noqa: E501
|
|
132
|
+
'start_date': 'startDate', # noqa: E501
|
|
133
|
+
'created_at': 'createdAt', # noqa: E501
|
|
135
134
|
'deposited': 'deposited', # noqa: E501
|
|
136
|
-
'spent': 'spent', # noqa: E501
|
|
137
|
-
'remaining': 'remaining', # noqa: E501
|
|
138
135
|
'end_date': 'endDate', # noqa: E501
|
|
136
|
+
'memo': 'memo', # noqa: E501
|
|
137
|
+
'po_number': 'poNumber', # noqa: E501
|
|
138
|
+
'remaining': 'remaining', # noqa: E501
|
|
139
|
+
'spent': 'spent', # noqa: E501
|
|
139
140
|
'status': 'status', # noqa: E501
|
|
140
|
-
'created_at': 'createdAt', # noqa: E501
|
|
141
141
|
'updated_at': 'updatedAt', # noqa: E501
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -148,15 +148,15 @@ class BalanceResponseV2(ModelNormal):
|
|
|
148
148
|
|
|
149
149
|
@classmethod
|
|
150
150
|
@convert_js_args_to_python_args
|
|
151
|
-
def _from_openapi_data(cls,
|
|
151
|
+
def _from_openapi_data(cls, balance_type, name, private_market_billing_type, spend_type, start_date, *args, **kwargs): # noqa: E501
|
|
152
152
|
"""BalanceResponseV2 - a model defined in OpenAPI
|
|
153
153
|
|
|
154
154
|
Args:
|
|
155
|
-
name (str): Name of the balance.
|
|
156
|
-
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
157
155
|
balance_type (str): Type of the balance.
|
|
158
|
-
|
|
156
|
+
name (str): Name of the balance.
|
|
159
157
|
private_market_billing_type (str): Billing type for Private Market of the balance.
|
|
158
|
+
spend_type (str): Spend Type of the balance.
|
|
159
|
+
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
160
160
|
|
|
161
161
|
Keyword Args:
|
|
162
162
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -189,14 +189,14 @@ class BalanceResponseV2(ModelNormal):
|
|
|
189
189
|
Animal class but this time we won't travel
|
|
190
190
|
through its discriminator because we passed in
|
|
191
191
|
_visited_composed_classes = (Animal,)
|
|
192
|
-
|
|
193
|
-
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
192
|
+
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
194
193
|
deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
195
|
-
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
196
|
-
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
197
194
|
end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
195
|
+
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
196
|
+
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
197
|
+
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
198
|
+
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
198
199
|
status (str): Status of the balance.. [optional] # noqa: E501
|
|
199
|
-
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
200
200
|
updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
|
|
201
201
|
"""
|
|
202
202
|
|
|
@@ -229,11 +229,11 @@ class BalanceResponseV2(ModelNormal):
|
|
|
229
229
|
self._configuration = _configuration
|
|
230
230
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
231
231
|
|
|
232
|
-
self.name = name
|
|
233
|
-
self.start_date = start_date
|
|
234
232
|
self.balance_type = balance_type
|
|
235
|
-
self.
|
|
233
|
+
self.name = name
|
|
236
234
|
self.private_market_billing_type = private_market_billing_type
|
|
235
|
+
self.spend_type = spend_type
|
|
236
|
+
self.start_date = start_date
|
|
237
237
|
for var_name, var_value in kwargs.items():
|
|
238
238
|
if var_name not in self.attribute_map and \
|
|
239
239
|
self._configuration is not None and \
|
|
@@ -254,15 +254,15 @@ class BalanceResponseV2(ModelNormal):
|
|
|
254
254
|
])
|
|
255
255
|
|
|
256
256
|
@convert_js_args_to_python_args
|
|
257
|
-
def __init__(self,
|
|
257
|
+
def __init__(self, balance_type, name, private_market_billing_type, spend_type, start_date, *args, **kwargs): # noqa: E501
|
|
258
258
|
"""BalanceResponseV2 - a model defined in OpenAPI
|
|
259
259
|
|
|
260
260
|
Args:
|
|
261
|
-
name (str): Name of the balance.
|
|
262
|
-
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
263
261
|
balance_type (str): Type of the balance.
|
|
264
|
-
|
|
262
|
+
name (str): Name of the balance.
|
|
265
263
|
private_market_billing_type (str): Billing type for Private Market of the balance.
|
|
264
|
+
spend_type (str): Spend Type of the balance.
|
|
265
|
+
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
266
266
|
|
|
267
267
|
Keyword Args:
|
|
268
268
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -295,14 +295,14 @@ class BalanceResponseV2(ModelNormal):
|
|
|
295
295
|
Animal class but this time we won't travel
|
|
296
296
|
through its discriminator because we passed in
|
|
297
297
|
_visited_composed_classes = (Animal,)
|
|
298
|
-
|
|
299
|
-
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
298
|
+
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
300
299
|
deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
301
|
-
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
302
|
-
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
303
300
|
end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
301
|
+
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
302
|
+
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
303
|
+
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
304
|
+
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
304
305
|
status (str): Status of the balance.. [optional] # noqa: E501
|
|
305
|
-
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
306
306
|
updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
|
|
307
307
|
"""
|
|
308
308
|
|
|
@@ -333,11 +333,11 @@ class BalanceResponseV2(ModelNormal):
|
|
|
333
333
|
self._configuration = _configuration
|
|
334
334
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
335
335
|
|
|
336
|
-
self.name = name
|
|
337
|
-
self.start_date = start_date
|
|
338
336
|
self.balance_type = balance_type
|
|
339
|
-
self.
|
|
337
|
+
self.name = name
|
|
340
338
|
self.private_market_billing_type = private_market_billing_type
|
|
339
|
+
self.spend_type = spend_type
|
|
340
|
+
self.start_date = start_date
|
|
341
341
|
for var_name, var_value in kwargs.items():
|
|
342
342
|
if var_name not in self.attribute_map and \
|
|
343
343
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (ResourceOfBalanceResponseV2,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem],), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem],), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
153
152
|
errors ([CommonProblem]): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
241
240
|
errors ([CommonProblem]): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,9 +87,9 @@ class BotMessage(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'closing': (str, none_type,), # noqa: E501
|
|
90
91
|
'opening': (str, none_type,), # noqa: E501
|
|
91
92
|
'product_recos': ([ProductRecommendation], none_type,), # noqa: E501
|
|
92
|
-
'closing': (str, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class BotMessage(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'closing': 'closing', # noqa: E501
|
|
101
102
|
'opening': 'opening', # noqa: E501
|
|
102
103
|
'product_recos': 'productRecos', # noqa: E501
|
|
103
|
-
'closing': 'closing', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -144,9 +144,9 @@ class BotMessage(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
|
+
closing (str, none_type): closing remark from the bot. [optional] # noqa: E501
|
|
147
148
|
opening (str, none_type): opening comment from the bot, introducing the list of recommended products if relevant.. [optional] # noqa: E501
|
|
148
149
|
product_recos ([ProductRecommendation], none_type): list of recommended products. [optional] # noqa: E501
|
|
149
|
-
closing (str, none_type): closing remark from the bot. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -232,9 +232,9 @@ class BotMessage(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
|
+
closing (str, none_type): closing remark from the bot. [optional] # noqa: E501
|
|
235
236
|
opening (str, none_type): opening comment from the bot, introducing the list of recommended products if relevant.. [optional] # noqa: E501
|
|
236
237
|
product_recos ([ProductRecommendation], none_type): list of recommended products. [optional] # noqa: E501
|
|
237
|
-
closing (str, none_type): closing remark from the bot. [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -59,7 +59,7 @@ class BrandCatalogRequestV2(ModelNormal):
|
|
|
59
59
|
'UNKNOWN': "Unknown",
|
|
60
60
|
'DESCRIPTION': "Description",
|
|
61
61
|
'IMAGEURL': "ImageUrl",
|
|
62
|
-
'
|
|
62
|
+
'GOOGLECATEGORY': "GoogleCategory",
|
|
63
63
|
'RETAILERNAME': "RetailerName",
|
|
64
64
|
'CATEGORY': "Category",
|
|
65
65
|
'BRANDNAME': "BrandName",
|
|
@@ -91,9 +91,9 @@ class BrandCatalogRequestV2(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
return {
|
|
93
93
|
'brand_id_filter': ([str],), # noqa: E501
|
|
94
|
-
'retailer_id_filter': ([int],), # noqa: E501
|
|
95
|
-
'modified_after': (datetime,), # noqa: E501
|
|
96
94
|
'include_fields': ([str],), # noqa: E501
|
|
95
|
+
'modified_after': (datetime,), # noqa: E501
|
|
96
|
+
'retailer_id_filter': ([int],), # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@cached_property
|
|
@@ -103,9 +103,9 @@ class BrandCatalogRequestV2(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
attribute_map = {
|
|
105
105
|
'brand_id_filter': 'brandIdFilter', # noqa: E501
|
|
106
|
-
'retailer_id_filter': 'retailerIdFilter', # noqa: E501
|
|
107
|
-
'modified_after': 'modifiedAfter', # noqa: E501
|
|
108
106
|
'include_fields': 'includeFields', # noqa: E501
|
|
107
|
+
'modified_after': 'modifiedAfter', # noqa: E501
|
|
108
|
+
'retailer_id_filter': 'retailerIdFilter', # noqa: E501
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
read_only_vars = {
|
|
@@ -150,9 +150,9 @@ class BrandCatalogRequestV2(ModelNormal):
|
|
|
150
150
|
through its discriminator because we passed in
|
|
151
151
|
_visited_composed_classes = (Animal,)
|
|
152
152
|
brand_id_filter ([str]): The brand ids to filter the catalog by.. [optional] # noqa: E501
|
|
153
|
-
retailer_id_filter ([int]): The retailer ids to filter the catalog by.. [optional] # noqa: E501
|
|
154
|
-
modified_after (datetime): Only products modified after this time will be returned.. [optional] # noqa: E501
|
|
155
153
|
include_fields ([str]): Out of the optional fields, only the ones specified will be included in the catalog generated.. [optional] # noqa: E501
|
|
154
|
+
modified_after (datetime): Only products modified after this time will be returned.. [optional] # noqa: E501
|
|
155
|
+
retailer_id_filter ([int]): The retailer ids to filter the catalog by.. [optional] # noqa: E501
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -239,9 +239,9 @@ class BrandCatalogRequestV2(ModelNormal):
|
|
|
239
239
|
through its discriminator because we passed in
|
|
240
240
|
_visited_composed_classes = (Animal,)
|
|
241
241
|
brand_id_filter ([str]): The brand ids to filter the catalog by.. [optional] # noqa: E501
|
|
242
|
-
retailer_id_filter ([int]): The retailer ids to filter the catalog by.. [optional] # noqa: E501
|
|
243
|
-
modified_after (datetime): Only products modified after this time will be returned.. [optional] # noqa: E501
|
|
244
242
|
include_fields ([str]): Out of the optional fields, only the ones specified will be included in the catalog generated.. [optional] # noqa: E501
|
|
243
|
+
modified_after (datetime): Only products modified after this time will be returned.. [optional] # noqa: E501
|
|
244
|
+
retailer_id_filter ([int]): The retailer ids to filter the catalog by.. [optional] # noqa: E501
|
|
245
245
|
"""
|
|
246
246
|
|
|
247
247
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -68,7 +68,13 @@ class BrandIdSearchRequest(ModelNormal):
|
|
|
68
68
|
},
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
@cached_property
|
|
72
|
+
def additional_properties_type():
|
|
73
|
+
"""
|
|
74
|
+
This must be a method because a model may have properties that are
|
|
75
|
+
of type self, this must run after the class is loaded
|
|
76
|
+
"""
|
|
77
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
72
78
|
|
|
73
79
|
_nullable = False
|
|
74
80
|
|
|
@@ -84,8 +90,8 @@ class BrandIdSearchRequest(ModelNormal):
|
|
|
84
90
|
"""
|
|
85
91
|
return {
|
|
86
92
|
'retailer_ids': ([int],), # noqa: E501
|
|
87
|
-
'name': (str, none_type,), # noqa: E501
|
|
88
93
|
'brand_type': (str,), # noqa: E501
|
|
94
|
+
'name': (str, none_type,), # noqa: E501
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
@cached_property
|
|
@@ -95,8 +101,8 @@ class BrandIdSearchRequest(ModelNormal):
|
|
|
95
101
|
|
|
96
102
|
attribute_map = {
|
|
97
103
|
'retailer_ids': 'retailerIds', # noqa: E501
|
|
98
|
-
'name': 'name', # noqa: E501
|
|
99
104
|
'brand_type': 'brandType', # noqa: E501
|
|
105
|
+
'name': 'name', # noqa: E501
|
|
100
106
|
}
|
|
101
107
|
|
|
102
108
|
read_only_vars = {
|
|
@@ -143,8 +149,8 @@ class BrandIdSearchRequest(ModelNormal):
|
|
|
143
149
|
Animal class but this time we won't travel
|
|
144
150
|
through its discriminator because we passed in
|
|
145
151
|
_visited_composed_classes = (Animal,)
|
|
146
|
-
name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
|
|
147
152
|
brand_type (str): The type of brand, primarily where this brand belongs: UC, Retailer or All (both). [optional] # noqa: E501
|
|
153
|
+
name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
|
|
148
154
|
"""
|
|
149
155
|
|
|
150
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -234,8 +240,8 @@ class BrandIdSearchRequest(ModelNormal):
|
|
|
234
240
|
Animal class but this time we won't travel
|
|
235
241
|
through its discriminator because we passed in
|
|
236
242
|
_visited_composed_classes = (Animal,)
|
|
237
|
-
name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
|
|
238
243
|
brand_type (str): The type of brand, primarily where this brand belongs: UC, Retailer or All (both). [optional] # noqa: E501
|
|
244
|
+
name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
|
|
239
245
|
"""
|
|
240
246
|
|
|
241
247
|
_check_type = kwargs.pop('_check_type', True)
|