criteo-api-retailmedia-sdk 2024.7.0.250217__py3-none-any.whl → 2024.7.0.250317__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.

Files changed (95) hide show
  1. {criteo_api_retailmedia_sdk-2024.7.0.250217.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250317.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.7.0.250217.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250317.dist-info}/RECORD +95 -94
  3. {criteo_api_retailmedia_sdk-2024.7.0.250217.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250317.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_07/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_07/api/accounts_api.py +1 -5
  6. criteo_api_retailmedia_v2024_07/api_client.py +1 -1
  7. criteo_api_retailmedia_v2024_07/configuration.py +1 -1
  8. criteo_api_retailmedia_v2024_07/model/add_remove_keyword_model.py +3 -3
  9. criteo_api_retailmedia_v2024_07/model/application_summary_model.py +1 -1
  10. criteo_api_retailmedia_v2024_07/model/application_summary_model_resource.py +1 -1
  11. criteo_api_retailmedia_v2024_07/model/asset.py +1 -1
  12. criteo_api_retailmedia_v2024_07/model/asset_resource.py +1 -1
  13. criteo_api_retailmedia_v2024_07/model/async_campaigns_report.py +39 -49
  14. criteo_api_retailmedia_v2024_07/model/async_campaigns_report_resource.py +3 -3
  15. criteo_api_retailmedia_v2024_07/model/async_line_items_report.py +39 -49
  16. criteo_api_retailmedia_v2024_07/model/async_line_items_report_resource.py +3 -3
  17. criteo_api_retailmedia_v2024_07/model/async_revenue_report.py +60 -73
  18. criteo_api_retailmedia_v2024_07/model/async_revenue_report_resource.py +3 -3
  19. criteo_api_retailmedia_v2024_07/model/balance_response_v2.py +1 -1
  20. criteo_api_retailmedia_v2024_07/model/campaign_budget_overrides.py +1 -1
  21. criteo_api_retailmedia_v2024_07/model/choice_variable_specification.py +1 -1
  22. criteo_api_retailmedia_v2024_07/model/choice_variable_value.py +1 -1
  23. criteo_api_retailmedia_v2024_07/model/common_error.py +26 -31
  24. criteo_api_retailmedia_v2024_07/model/common_warning.py +26 -31
  25. criteo_api_retailmedia_v2024_07/model/create_balance_v2.py +3 -3
  26. criteo_api_retailmedia_v2024_07/model/creative202110.py +1 -1
  27. criteo_api_retailmedia_v2024_07/model/creative202210.py +1 -1
  28. criteo_api_retailmedia_v2024_07/model/creative_update_model202207.py +3 -3
  29. criteo_api_retailmedia_v2024_07/model/entity_resource_of_retail_media_account.py +5 -12
  30. criteo_api_retailmedia_v2024_07/model/entity_resource_outcome_of_retail_media_account.py +10 -17
  31. criteo_api_retailmedia_v2024_07/model/external_account.py +2 -8
  32. criteo_api_retailmedia_v2024_07/model/external_auction_line_item.py +4 -0
  33. criteo_api_retailmedia_v2024_07/model/external_auction_line_item_create_model.py +3 -3
  34. criteo_api_retailmedia_v2024_07/model/external_auction_line_item_update_model.py +3 -3
  35. criteo_api_retailmedia_v2024_07/model/external_brand.py +2 -8
  36. criteo_api_retailmedia_v2024_07/model/external_retail_media_account.py +19 -25
  37. criteo_api_retailmedia_v2024_07/model/external_retail_media_brand_account_creation.py +9 -15
  38. criteo_api_retailmedia_v2024_07/model/external_retail_media_brands.py +12 -12
  39. criteo_api_retailmedia_v2024_07/model/external_retail_media_seller.py +15 -13
  40. criteo_api_retailmedia_v2024_07/model/external_retail_media_seller_account_creation.py +20 -21
  41. criteo_api_retailmedia_v2024_07/model/external_retailer.py +6 -11
  42. criteo_api_retailmedia_v2024_07/model/files_variable_value.py +1 -1
  43. criteo_api_retailmedia_v2024_07/model/files_variables_specification.py +1 -1
  44. criteo_api_retailmedia_v2024_07/model/json_api_body_with_id_of_int64_and_account_and_account.py +1 -8
  45. criteo_api_retailmedia_v2024_07/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +1 -8
  46. criteo_api_retailmedia_v2024_07/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +1 -8
  47. criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_account.py +7 -14
  48. criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_brand.py +7 -14
  49. criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_retailer.py +7 -14
  50. criteo_api_retailmedia_v2024_07/model/keyword_data_model.py +6 -6
  51. criteo_api_retailmedia_v2024_07/model/keywords_model.py +1 -1
  52. criteo_api_retailmedia_v2024_07/model/keywords_model_resource.py +1 -1
  53. criteo_api_retailmedia_v2024_07/model/line_item_budget_overrides.py +1 -1
  54. criteo_api_retailmedia_v2024_07/model/line_item_product_status.py +2 -1
  55. criteo_api_retailmedia_v2024_07/model/page_metadata.py +7 -13
  56. criteo_api_retailmedia_v2024_07/model/product_metadata.py +1 -1
  57. criteo_api_retailmedia_v2024_07/model/promoted_product.py +1 -1
  58. criteo_api_retailmedia_v2024_07/model/promoted_product_resource_collection_input.py +3 -3
  59. criteo_api_retailmedia_v2024_07/model/resource_of_add_funds_to_balance_v2.py +6 -6
  60. criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item_update_model.py +6 -6
  61. criteo_api_retailmedia_v2024_07/model/resource_of_balance_response_v2.py +1 -1
  62. criteo_api_retailmedia_v2024_07/model/resource_of_change_dates_of_balance_v2.py +6 -6
  63. criteo_api_retailmedia_v2024_07/model/resource_of_create_balance_v2.py +6 -6
  64. criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item_update_model202110.py +6 -6
  65. criteo_api_retailmedia_v2024_07/model/resource_of_update_balance_model_v2.py +6 -6
  66. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1.py +1 -1
  67. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1_resource.py +1 -1
  68. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2.py +1 -1
  69. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2_resource.py +1 -1
  70. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1.py +1 -1
  71. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2.py +1 -1
  72. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_user_behavior_details_v2.py +1 -1
  73. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_customer_list.py +1 -1
  74. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_create_v2.py +1 -1
  75. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v1.py +1 -1
  76. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v2.py +1 -1
  77. criteo_api_retailmedia_v2024_07/model/sdk_api_rest_common_problem.py +296 -0
  78. criteo_api_retailmedia_v2024_07/model/status_response.py +1 -1
  79. criteo_api_retailmedia_v2024_07/model/status_response_resource.py +1 -1
  80. criteo_api_retailmedia_v2024_07/model/template.py +1 -1
  81. criteo_api_retailmedia_v2024_07/model/value_resource_collection_input_of_retail_media_seller.py +5 -12
  82. criteo_api_retailmedia_v2024_07/model/value_resource_collection_outcome_of_retail_media_seller.py +10 -17
  83. criteo_api_retailmedia_v2024_07/model/value_resource_input_of_retail_media_brand_account_creation.py +1 -8
  84. criteo_api_retailmedia_v2024_07/model/value_resource_input_of_retail_media_brands.py +2 -9
  85. criteo_api_retailmedia_v2024_07/model/value_resource_input_of_retail_media_seller_account_creation.py +2 -9
  86. criteo_api_retailmedia_v2024_07/model/value_resource_of_campaign_budget_overrides.py +1 -1
  87. criteo_api_retailmedia_v2024_07/model/value_resource_of_line_item_budget_overrides.py +1 -1
  88. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brand_account_creation.py +3 -10
  89. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brands.py +3 -10
  90. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller.py +4 -11
  91. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller_account_creation.py +4 -11
  92. criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_retail_media_brands.py +10 -17
  93. criteo_api_retailmedia_v2024_07/model/video_variable_value.py +1 -1
  94. criteo_api_retailmedia_v2024_07/models/__init__.py +1 -0
  95. {criteo_api_retailmedia_sdk-2024.7.0.250217.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250317.dist-info}/top_level.txt +0 -0
@@ -60,13 +60,7 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- @cached_property
64
- def additional_properties_type():
65
- """
66
- This must be a method because a model may have properties that are
67
- of type self, this must run after the class is loaded
68
- """
69
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
70
64
 
71
65
  _nullable = False
72
66
 
@@ -140,10 +134,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
140
134
  Animal class but this time we won't travel
141
135
  through its discriminator because we passed in
142
136
  _visited_composed_classes = (Animal,)
143
- name (str, none_type): [optional] # noqa: E501
144
- company_name (str, none_type): [optional] # noqa: E501
145
- on_behalf_company_name (str, none_type): [optional] # noqa: E501
146
- brands ([int], none_type): [optional] # noqa: E501
137
+ name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
138
+ company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
139
+ on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
140
+ brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
147
141
  """
148
142
 
149
143
  _check_type = kwargs.pop('_check_type', True)
@@ -229,10 +223,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
229
223
  Animal class but this time we won't travel
230
224
  through its discriminator because we passed in
231
225
  _visited_composed_classes = (Animal,)
232
- name (str, none_type): [optional] # noqa: E501
233
- company_name (str, none_type): [optional] # noqa: E501
234
- on_behalf_company_name (str, none_type): [optional] # noqa: E501
235
- brands ([int], none_type): [optional] # noqa: E501
226
+ name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
227
+ company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
228
+ on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
229
+ brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
236
230
  """
237
231
 
238
232
  _check_type = kwargs.pop('_check_type', True)
@@ -60,15 +60,9 @@ class ExternalRetailMediaBrands(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- @cached_property
64
- def additional_properties_type():
65
- """
66
- This must be a method because a model may have properties that are
67
- of type self, this must run after the class is loaded
68
- """
69
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
70
64
 
71
- _nullable = False
65
+ _nullable = True
72
66
 
73
67
  @cached_property
74
68
  def openapi_types():
@@ -100,9 +94,12 @@ class ExternalRetailMediaBrands(ModelNormal):
100
94
 
101
95
  @classmethod
102
96
  @convert_js_args_to_python_args
103
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
97
+ def _from_openapi_data(cls, brand_ids, *args, **kwargs): # noqa: E501
104
98
  """ExternalRetailMediaBrands - a model defined in OpenAPI
105
99
 
100
+ Args:
101
+ brand_ids ([int]):
102
+
106
103
  Keyword Args:
107
104
  _check_type (bool): if True, values for parameters in openapi_types
108
105
  will be type checked and a TypeError will be
@@ -134,7 +131,6 @@ class ExternalRetailMediaBrands(ModelNormal):
134
131
  Animal class but this time we won't travel
135
132
  through its discriminator because we passed in
136
133
  _visited_composed_classes = (Animal,)
137
- brand_ids ([int]): [optional] # noqa: E501
138
134
  """
139
135
 
140
136
  _check_type = kwargs.pop('_check_type', True)
@@ -166,6 +162,7 @@ class ExternalRetailMediaBrands(ModelNormal):
166
162
  self._configuration = _configuration
167
163
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
168
164
 
165
+ self.brand_ids = brand_ids
169
166
  for var_name, var_value in kwargs.items():
170
167
  if var_name not in self.attribute_map and \
171
168
  self._configuration is not None and \
@@ -186,9 +183,12 @@ class ExternalRetailMediaBrands(ModelNormal):
186
183
  ])
187
184
 
188
185
  @convert_js_args_to_python_args
189
- def __init__(self, *args, **kwargs): # noqa: E501
186
+ def __init__(self, brand_ids, *args, **kwargs): # noqa: E501
190
187
  """ExternalRetailMediaBrands - a model defined in OpenAPI
191
188
 
189
+ Args:
190
+ brand_ids ([int]):
191
+
192
192
  Keyword Args:
193
193
  _check_type (bool): if True, values for parameters in openapi_types
194
194
  will be type checked and a TypeError will be
@@ -220,7 +220,6 @@ class ExternalRetailMediaBrands(ModelNormal):
220
220
  Animal class but this time we won't travel
221
221
  through its discriminator because we passed in
222
222
  _visited_composed_classes = (Animal,)
223
- brand_ids ([int]): [optional] # noqa: E501
224
223
  """
225
224
 
226
225
  _check_type = kwargs.pop('_check_type', True)
@@ -250,6 +249,7 @@ class ExternalRetailMediaBrands(ModelNormal):
250
249
  self._configuration = _configuration
251
250
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
252
251
 
252
+ self.brand_ids = brand_ids
253
253
  for var_name, var_value in kwargs.items():
254
254
  if var_name not in self.attribute_map and \
255
255
  self._configuration is not None and \
@@ -60,13 +60,7 @@ class ExternalRetailMediaSeller(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- @cached_property
64
- def additional_properties_type():
65
- """
66
- This must be a method because a model may have properties that are
67
- of type self, this must run after the class is loaded
68
- """
69
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
70
64
 
71
65
  _nullable = True
72
66
 
@@ -102,9 +96,13 @@ class ExternalRetailMediaSeller(ModelNormal):
102
96
 
103
97
  @classmethod
104
98
  @convert_js_args_to_python_args
105
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
99
+ def _from_openapi_data(cls, seller_id, retailer_id, *args, **kwargs): # noqa: E501
106
100
  """ExternalRetailMediaSeller - a model defined in OpenAPI
107
101
 
102
+ Args:
103
+ seller_id (str): the seller id
104
+ retailer_id (int): the retailer id
105
+
108
106
  Keyword Args:
109
107
  _check_type (bool): if True, values for parameters in openapi_types
110
108
  will be type checked and a TypeError will be
@@ -136,8 +134,6 @@ class ExternalRetailMediaSeller(ModelNormal):
136
134
  Animal class but this time we won't travel
137
135
  through its discriminator because we passed in
138
136
  _visited_composed_classes = (Animal,)
139
- seller_id (str): [optional] # noqa: E501
140
- retailer_id (int): [optional] # noqa: E501
141
137
  """
142
138
 
143
139
  _check_type = kwargs.pop('_check_type', True)
@@ -169,6 +165,8 @@ class ExternalRetailMediaSeller(ModelNormal):
169
165
  self._configuration = _configuration
170
166
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
171
167
 
168
+ self.seller_id = seller_id
169
+ self.retailer_id = retailer_id
172
170
  for var_name, var_value in kwargs.items():
173
171
  if var_name not in self.attribute_map and \
174
172
  self._configuration is not None and \
@@ -189,9 +187,13 @@ class ExternalRetailMediaSeller(ModelNormal):
189
187
  ])
190
188
 
191
189
  @convert_js_args_to_python_args
192
- def __init__(self, *args, **kwargs): # noqa: E501
190
+ def __init__(self, seller_id, retailer_id, *args, **kwargs): # noqa: E501
193
191
  """ExternalRetailMediaSeller - a model defined in OpenAPI
194
192
 
193
+ Args:
194
+ seller_id (str): the seller id
195
+ retailer_id (int): the retailer id
196
+
195
197
  Keyword Args:
196
198
  _check_type (bool): if True, values for parameters in openapi_types
197
199
  will be type checked and a TypeError will be
@@ -223,8 +225,6 @@ class ExternalRetailMediaSeller(ModelNormal):
223
225
  Animal class but this time we won't travel
224
226
  through its discriminator because we passed in
225
227
  _visited_composed_classes = (Animal,)
226
- seller_id (str): [optional] # noqa: E501
227
- retailer_id (int): [optional] # noqa: E501
228
228
  """
229
229
 
230
230
  _check_type = kwargs.pop('_check_type', True)
@@ -254,6 +254,8 @@ class ExternalRetailMediaSeller(ModelNormal):
254
254
  self._configuration = _configuration
255
255
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
256
256
 
257
+ self.seller_id = seller_id
258
+ self.retailer_id = retailer_id
257
259
  for var_name, var_value in kwargs.items():
258
260
  if var_name not in self.attribute_map and \
259
261
  self._configuration is not None and \
@@ -64,16 +64,9 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
75
68
 
76
- _nullable = True
69
+ _nullable = False
77
70
 
78
71
  @cached_property
79
72
  def openapi_types():
@@ -87,10 +80,10 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
87
80
  """
88
81
  lazy_import()
89
82
  return {
83
+ 'sellers': ([ExternalRetailMediaSeller],), # noqa: E501
90
84
  'name': (str, none_type,), # noqa: E501
91
85
  'company_name': (str, none_type,), # noqa: E501
92
86
  'on_behalf_company_name': (str, none_type,), # noqa: E501
93
- 'sellers': ([ExternalRetailMediaSeller],), # noqa: E501
94
87
  }
95
88
 
96
89
  @cached_property
@@ -99,10 +92,10 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
99
92
 
100
93
 
101
94
  attribute_map = {
95
+ 'sellers': 'sellers', # noqa: E501
102
96
  'name': 'name', # noqa: E501
103
97
  'company_name': 'companyName', # noqa: E501
104
98
  'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
105
- 'sellers': 'sellers', # noqa: E501
106
99
  }
107
100
 
108
101
  read_only_vars = {
@@ -112,9 +105,12 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
112
105
 
113
106
  @classmethod
114
107
  @convert_js_args_to_python_args
115
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
108
+ def _from_openapi_data(cls, sellers, *args, **kwargs): # noqa: E501
116
109
  """ExternalRetailMediaSellerAccountCreation - a model defined in OpenAPI
117
110
 
111
+ Args:
112
+ sellers ([ExternalRetailMediaSeller]): list of sellers to associate to the new account
113
+
118
114
  Keyword Args:
119
115
  _check_type (bool): if True, values for parameters in openapi_types
120
116
  will be type checked and a TypeError will be
@@ -146,10 +142,9 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
146
142
  Animal class but this time we won't travel
147
143
  through its discriminator because we passed in
148
144
  _visited_composed_classes = (Animal,)
149
- name (str, none_type): [optional] # noqa: E501
150
- company_name (str, none_type): [optional] # noqa: E501
151
- on_behalf_company_name (str, none_type): [optional] # noqa: E501
152
- sellers ([ExternalRetailMediaSeller]): [optional] # noqa: E501
145
+ name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
146
+ company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
147
+ on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
153
148
  """
154
149
 
155
150
  _check_type = kwargs.pop('_check_type', True)
@@ -181,6 +176,7 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
181
176
  self._configuration = _configuration
182
177
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
183
178
 
179
+ self.sellers = sellers
184
180
  for var_name, var_value in kwargs.items():
185
181
  if var_name not in self.attribute_map and \
186
182
  self._configuration is not None and \
@@ -201,9 +197,12 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
201
197
  ])
202
198
 
203
199
  @convert_js_args_to_python_args
204
- def __init__(self, *args, **kwargs): # noqa: E501
200
+ def __init__(self, sellers, *args, **kwargs): # noqa: E501
205
201
  """ExternalRetailMediaSellerAccountCreation - a model defined in OpenAPI
206
202
 
203
+ Args:
204
+ sellers ([ExternalRetailMediaSeller]): list of sellers to associate to the new account
205
+
207
206
  Keyword Args:
208
207
  _check_type (bool): if True, values for parameters in openapi_types
209
208
  will be type checked and a TypeError will be
@@ -235,10 +234,9 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
235
234
  Animal class but this time we won't travel
236
235
  through its discriminator because we passed in
237
236
  _visited_composed_classes = (Animal,)
238
- name (str, none_type): [optional] # noqa: E501
239
- company_name (str, none_type): [optional] # noqa: E501
240
- on_behalf_company_name (str, none_type): [optional] # noqa: E501
241
- sellers ([ExternalRetailMediaSeller]): [optional] # noqa: E501
237
+ name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
238
+ company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
239
+ on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
242
240
  """
243
241
 
244
242
  _check_type = kwargs.pop('_check_type', True)
@@ -268,6 +266,7 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
268
266
  self._configuration = _configuration
269
267
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
270
268
 
269
+ self.sellers = sellers
271
270
  for var_name, var_value in kwargs.items():
272
271
  if var_name not in self.attribute_map and \
273
272
  self._configuration is not None and \
@@ -56,6 +56,7 @@ class ExternalRetailer(ModelNormal):
56
56
 
57
57
  allowed_values = {
58
58
  ('campaign_eligibilities',): {
59
+ 'None': None,
59
60
  'UNKNOWN': "unknown",
60
61
  'AUCTION': "auction",
61
62
  'PREFERRED': "preferred",
@@ -70,15 +71,9 @@ class ExternalRetailer(ModelNormal):
70
71
  },
71
72
  }
72
73
 
73
- @cached_property
74
- def additional_properties_type():
75
- """
76
- This must be a method because a model may have properties that are
77
- of type self, this must run after the class is loaded
78
- """
79
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
74
+ additional_properties_type = None
80
75
 
81
- _nullable = False
76
+ _nullable = True
82
77
 
83
78
  @cached_property
84
79
  def openapi_types():
@@ -92,7 +87,7 @@ class ExternalRetailer(ModelNormal):
92
87
  """
93
88
  return {
94
89
  'name': (str,), # noqa: E501
95
- 'campaign_eligibilities': ([str],), # noqa: E501
90
+ 'campaign_eligibilities': ([str], none_type,), # noqa: E501
96
91
  }
97
92
 
98
93
  @cached_property
@@ -149,7 +144,7 @@ class ExternalRetailer(ModelNormal):
149
144
  Animal class but this time we won't travel
150
145
  through its discriminator because we passed in
151
146
  _visited_composed_classes = (Animal,)
152
- campaign_eligibilities ([str]): [optional] # noqa: E501
147
+ campaign_eligibilities ([str], none_type): [optional] # noqa: E501
153
148
  """
154
149
 
155
150
  _check_type = kwargs.pop('_check_type', True)
@@ -239,7 +234,7 @@ class ExternalRetailer(ModelNormal):
239
234
  Animal class but this time we won't travel
240
235
  through its discriminator because we passed in
241
236
  _visited_composed_classes = (Animal,)
242
- campaign_eligibilities ([str]): [optional] # noqa: E501
237
+ campaign_eligibilities ([str], none_type): [optional] # noqa: E501
243
238
  """
244
239
 
245
240
  _check_type = kwargs.pop('_check_type', True)
@@ -65,7 +65,7 @@ class FilesVariableValue(ModelNormal):
65
65
 
66
66
  additional_properties_type = None
67
67
 
68
- _nullable = False
68
+ _nullable = True
69
69
 
70
70
  @cached_property
71
71
  def openapi_types():
@@ -69,7 +69,7 @@ class FilesVariablesSpecification(ModelNormal):
69
69
 
70
70
  additional_properties_type = None
71
71
 
72
- _nullable = False
72
+ _nullable = True
73
73
 
74
74
  @cached_property
75
75
  def openapi_types():
@@ -64,14 +64,7 @@ class JsonApiBodyWithIdOfInt64AndAccountAndAccount(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
75
68
 
76
69
  _nullable = False
77
70
 
@@ -64,14 +64,7 @@ class JsonApiBodyWithIdOfInt64AndBrandAndBrand(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
75
68
 
76
69
  _nullable = False
77
70
 
@@ -64,14 +64,7 @@ class JsonApiBodyWithIdOfInt64AndRetailerAndRetailer(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
75
68
 
76
69
  _nullable = False
77
70
 
@@ -70,14 +70,7 @@ class JsonApiPageResponseOfAccount(ModelNormal):
70
70
  validations = {
71
71
  }
72
72
 
73
- @cached_property
74
- def additional_properties_type():
75
- """
76
- This must be a method because a model may have properties that are
77
- of type self, this must run after the class is loaded
78
- """
79
- lazy_import()
80
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
73
+ additional_properties_type = None
81
74
 
82
75
  _nullable = False
83
76
 
@@ -95,8 +88,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
95
88
  return {
96
89
  'metadata': (PageMetadata,), # noqa: E501
97
90
  'data': ([JsonApiBodyWithIdOfInt64AndAccountAndAccount],), # noqa: E501
98
- 'errors': ([CommonError],), # noqa: E501
99
- 'warnings': ([CommonWarning],), # noqa: E501
91
+ 'errors': ([CommonError], none_type,), # noqa: E501
92
+ 'warnings': ([CommonWarning], none_type,), # noqa: E501
100
93
  }
101
94
 
102
95
  @cached_property
@@ -156,8 +149,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
156
149
  Animal class but this time we won't travel
157
150
  through its discriminator because we passed in
158
151
  _visited_composed_classes = (Animal,)
159
- errors ([CommonError]): [optional] # noqa: E501
160
- warnings ([CommonWarning]): [optional] # noqa: E501
152
+ errors ([CommonError], none_type): [optional] # noqa: E501
153
+ warnings ([CommonWarning], none_type): [optional] # noqa: E501
161
154
  """
162
155
 
163
156
  _check_type = kwargs.pop('_check_type', True)
@@ -249,8 +242,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
249
242
  Animal class but this time we won't travel
250
243
  through its discriminator because we passed in
251
244
  _visited_composed_classes = (Animal,)
252
- errors ([CommonError]): [optional] # noqa: E501
253
- warnings ([CommonWarning]): [optional] # noqa: E501
245
+ errors ([CommonError], none_type): [optional] # noqa: E501
246
+ warnings ([CommonWarning], none_type): [optional] # noqa: E501
254
247
  """
255
248
 
256
249
  _check_type = kwargs.pop('_check_type', True)
@@ -70,14 +70,7 @@ class JsonApiPageResponseOfBrand(ModelNormal):
70
70
  validations = {
71
71
  }
72
72
 
73
- @cached_property
74
- def additional_properties_type():
75
- """
76
- This must be a method because a model may have properties that are
77
- of type self, this must run after the class is loaded
78
- """
79
- lazy_import()
80
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
73
+ additional_properties_type = None
81
74
 
82
75
  _nullable = False
83
76
 
@@ -95,8 +88,8 @@ class JsonApiPageResponseOfBrand(ModelNormal):
95
88
  return {
96
89
  'metadata': (PageMetadata,), # noqa: E501
97
90
  'data': ([JsonApiBodyWithIdOfInt64AndBrandAndBrand],), # noqa: E501
98
- 'errors': ([CommonError],), # noqa: E501
99
- 'warnings': ([CommonWarning],), # noqa: E501
91
+ 'errors': ([CommonError], none_type,), # noqa: E501
92
+ 'warnings': ([CommonWarning], none_type,), # noqa: E501
100
93
  }
101
94
 
102
95
  @cached_property
@@ -156,8 +149,8 @@ class JsonApiPageResponseOfBrand(ModelNormal):
156
149
  Animal class but this time we won't travel
157
150
  through its discriminator because we passed in
158
151
  _visited_composed_classes = (Animal,)
159
- errors ([CommonError]): [optional] # noqa: E501
160
- warnings ([CommonWarning]): [optional] # noqa: E501
152
+ errors ([CommonError], none_type): [optional] # noqa: E501
153
+ warnings ([CommonWarning], none_type): [optional] # noqa: E501
161
154
  """
162
155
 
163
156
  _check_type = kwargs.pop('_check_type', True)
@@ -249,8 +242,8 @@ class JsonApiPageResponseOfBrand(ModelNormal):
249
242
  Animal class but this time we won't travel
250
243
  through its discriminator because we passed in
251
244
  _visited_composed_classes = (Animal,)
252
- errors ([CommonError]): [optional] # noqa: E501
253
- warnings ([CommonWarning]): [optional] # noqa: E501
245
+ errors ([CommonError], none_type): [optional] # noqa: E501
246
+ warnings ([CommonWarning], none_type): [optional] # noqa: E501
254
247
  """
255
248
 
256
249
  _check_type = kwargs.pop('_check_type', True)
@@ -70,14 +70,7 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
70
70
  validations = {
71
71
  }
72
72
 
73
- @cached_property
74
- def additional_properties_type():
75
- """
76
- This must be a method because a model may have properties that are
77
- of type self, this must run after the class is loaded
78
- """
79
- lazy_import()
80
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
73
+ additional_properties_type = None
81
74
 
82
75
  _nullable = False
83
76
 
@@ -95,8 +88,8 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
95
88
  return {
96
89
  'metadata': (PageMetadata,), # noqa: E501
97
90
  'data': ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer],), # noqa: E501
98
- 'errors': ([CommonError],), # noqa: E501
99
- 'warnings': ([CommonWarning],), # noqa: E501
91
+ 'errors': ([CommonError], none_type,), # noqa: E501
92
+ 'warnings': ([CommonWarning], none_type,), # noqa: E501
100
93
  }
101
94
 
102
95
  @cached_property
@@ -156,8 +149,8 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
156
149
  Animal class but this time we won't travel
157
150
  through its discriminator because we passed in
158
151
  _visited_composed_classes = (Animal,)
159
- errors ([CommonError]): [optional] # noqa: E501
160
- warnings ([CommonWarning]): [optional] # noqa: E501
152
+ errors ([CommonError], none_type): [optional] # noqa: E501
153
+ warnings ([CommonWarning], none_type): [optional] # noqa: E501
161
154
  """
162
155
 
163
156
  _check_type = kwargs.pop('_check_type', True)
@@ -249,8 +242,8 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
249
242
  Animal class but this time we won't travel
250
243
  through its discriminator because we passed in
251
244
  _visited_composed_classes = (Animal,)
252
- errors ([CommonError]): [optional] # noqa: E501
253
- warnings ([CommonWarning]): [optional] # noqa: E501
245
+ errors ([CommonError], none_type): [optional] # noqa: E501
246
+ warnings ([CommonWarning], none_type): [optional] # noqa: E501
254
247
  """
255
248
 
256
249
  _check_type = kwargs.pop('_check_type', True)
@@ -88,8 +88,8 @@ class KeywordDataModel(ModelNormal):
88
88
  'match_type': (MatchTypeModel,), # noqa: E501
89
89
  'bid': (float, none_type,), # noqa: E501
90
90
  'input_keywords': (InputKeywordsModel,), # noqa: E501
91
- 'created_at': (datetime, none_type,), # noqa: E501
92
- 'updated_at': (datetime, none_type,), # noqa: E501
91
+ 'created_at': (datetime,), # noqa: E501
92
+ 'updated_at': (datetime,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -151,8 +151,8 @@ class KeywordDataModel(ModelNormal):
151
151
  match_type (MatchTypeModel): [optional] # noqa: E501
152
152
  bid (float, none_type): [optional] # noqa: E501
153
153
  input_keywords (InputKeywordsModel): [optional] # noqa: E501
154
- created_at (datetime, none_type): [optional] # noqa: E501
155
- updated_at (datetime, none_type): [optional] # noqa: E501
154
+ created_at (datetime): [optional] # noqa: E501
155
+ updated_at (datetime): [optional] # noqa: E501
156
156
  """
157
157
 
158
158
  _check_type = kwargs.pop('_check_type', True)
@@ -242,8 +242,8 @@ class KeywordDataModel(ModelNormal):
242
242
  match_type (MatchTypeModel): [optional] # noqa: E501
243
243
  bid (float, none_type): [optional] # noqa: E501
244
244
  input_keywords (InputKeywordsModel): [optional] # noqa: E501
245
- created_at (datetime, none_type): [optional] # noqa: E501
246
- updated_at (datetime, none_type): [optional] # noqa: E501
245
+ created_at (datetime): [optional] # noqa: E501
246
+ updated_at (datetime): [optional] # noqa: E501
247
247
  """
248
248
 
249
249
  _check_type = kwargs.pop('_check_type', True)
@@ -66,7 +66,7 @@ class KeywordsModel(ModelNormal):
66
66
 
67
67
  additional_properties_type = None
68
68
 
69
- _nullable = False
69
+ _nullable = True
70
70
 
71
71
  @cached_property
72
72
  def openapi_types():
@@ -66,7 +66,7 @@ class KeywordsModelResource(ModelNormal):
66
66
 
67
67
  additional_properties_type = None
68
68
 
69
- _nullable = False
69
+ _nullable = True
70
70
 
71
71
  @cached_property
72
72
  def openapi_types():
@@ -68,7 +68,7 @@ class LineItemBudgetOverrides(ModelNormal):
68
68
 
69
69
  additional_properties_type = None
70
70
 
71
- _nullable = False
71
+ _nullable = True
72
72
 
73
73
  @cached_property
74
74
  def openapi_types():