criteo-api-retailmedia-sdk 2024.4.0.250218__py3-none-any.whl → 2024.4.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 (82) hide show
  1. {criteo_api_retailmedia_sdk-2024.4.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250317.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.4.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250317.dist-info}/RECORD +82 -81
  3. {criteo_api_retailmedia_sdk-2024.4.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250317.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_04/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_04/api/accounts_api.py +0 -2
  6. criteo_api_retailmedia_v2024_04/api_client.py +1 -1
  7. criteo_api_retailmedia_v2024_04/configuration.py +1 -1
  8. criteo_api_retailmedia_v2024_04/model/add_remove_keyword_model.py +3 -3
  9. criteo_api_retailmedia_v2024_04/model/application_summary_model.py +1 -1
  10. criteo_api_retailmedia_v2024_04/model/application_summary_model_resource.py +1 -1
  11. criteo_api_retailmedia_v2024_04/model/asset.py +1 -1
  12. criteo_api_retailmedia_v2024_04/model/asset_resource.py +1 -1
  13. criteo_api_retailmedia_v2024_04/model/async_campaigns_report.py +39 -49
  14. criteo_api_retailmedia_v2024_04/model/async_campaigns_report_resource.py +3 -3
  15. criteo_api_retailmedia_v2024_04/model/async_line_items_report.py +39 -49
  16. criteo_api_retailmedia_v2024_04/model/async_line_items_report_resource.py +3 -3
  17. criteo_api_retailmedia_v2024_04/model/async_revenue_report.py +60 -73
  18. criteo_api_retailmedia_v2024_04/model/async_revenue_report_resource.py +3 -3
  19. criteo_api_retailmedia_v2024_04/model/campaign_budget_overrides.py +1 -1
  20. criteo_api_retailmedia_v2024_04/model/choice_variable_specification.py +1 -1
  21. criteo_api_retailmedia_v2024_04/model/choice_variable_value.py +1 -1
  22. criteo_api_retailmedia_v2024_04/model/common_error.py +26 -31
  23. criteo_api_retailmedia_v2024_04/model/common_warning.py +26 -31
  24. criteo_api_retailmedia_v2024_04/model/creative202110.py +1 -1
  25. criteo_api_retailmedia_v2024_04/model/creative202210.py +1 -1
  26. criteo_api_retailmedia_v2024_04/model/creative_update_model202207.py +3 -3
  27. criteo_api_retailmedia_v2024_04/model/entity_resource_of_retail_media_account.py +5 -12
  28. criteo_api_retailmedia_v2024_04/model/entity_resource_outcome_of_retail_media_account.py +10 -17
  29. criteo_api_retailmedia_v2024_04/model/external_account.py +2 -8
  30. criteo_api_retailmedia_v2024_04/model/external_auction_line_item.py +4 -0
  31. criteo_api_retailmedia_v2024_04/model/external_auction_line_item_create_model.py +3 -3
  32. criteo_api_retailmedia_v2024_04/model/external_auction_line_item_update_model.py +3 -3
  33. criteo_api_retailmedia_v2024_04/model/external_brand.py +2 -8
  34. criteo_api_retailmedia_v2024_04/model/external_retail_media_account.py +19 -25
  35. criteo_api_retailmedia_v2024_04/model/external_retail_media_brand_account_creation.py +9 -15
  36. criteo_api_retailmedia_v2024_04/model/external_retail_media_brands.py +12 -12
  37. criteo_api_retailmedia_v2024_04/model/external_retailer.py +6 -11
  38. criteo_api_retailmedia_v2024_04/model/external_update_balance_model.py +6 -6
  39. criteo_api_retailmedia_v2024_04/model/files_variable_value.py +1 -1
  40. criteo_api_retailmedia_v2024_04/model/files_variables_specification.py +1 -1
  41. criteo_api_retailmedia_v2024_04/model/json_api_body_with_id_of_int64_and_account_and_account.py +1 -8
  42. criteo_api_retailmedia_v2024_04/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +1 -8
  43. criteo_api_retailmedia_v2024_04/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +1 -8
  44. criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_account.py +7 -14
  45. criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_brand.py +7 -14
  46. criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_retailer.py +7 -14
  47. criteo_api_retailmedia_v2024_04/model/keyword_data_model.py +6 -6
  48. criteo_api_retailmedia_v2024_04/model/keywords_model.py +1 -1
  49. criteo_api_retailmedia_v2024_04/model/keywords_model_resource.py +1 -1
  50. criteo_api_retailmedia_v2024_04/model/line_item_budget_overrides.py +1 -1
  51. criteo_api_retailmedia_v2024_04/model/page_metadata.py +7 -13
  52. criteo_api_retailmedia_v2024_04/model/resource_of_add_funds_to_balance.py +6 -6
  53. criteo_api_retailmedia_v2024_04/model/resource_of_auction_line_item_update_model.py +6 -6
  54. criteo_api_retailmedia_v2024_04/model/resource_of_change_dates_of_balance.py +6 -6
  55. criteo_api_retailmedia_v2024_04/model/resource_of_create_balance.py +6 -6
  56. criteo_api_retailmedia_v2024_04/model/resource_of_preferred_line_item_update_model202110.py +6 -6
  57. criteo_api_retailmedia_v2024_04/model/resource_of_update_balance_model.py +6 -6
  58. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v1.py +1 -1
  59. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v1_resource.py +1 -1
  60. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v2.py +1 -1
  61. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v2_resource.py +1 -1
  62. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1.py +1 -1
  63. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v2.py +1 -1
  64. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_user_behavior_details_v2.py +1 -1
  65. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_customer_list.py +1 -1
  66. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_user_behavior_create_v2.py +1 -1
  67. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_user_behavior_v1.py +1 -1
  68. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_user_behavior_v2.py +1 -1
  69. criteo_api_retailmedia_v2024_04/model/sdk_api_rest_common_problem.py +296 -0
  70. criteo_api_retailmedia_v2024_04/model/status_response.py +1 -1
  71. criteo_api_retailmedia_v2024_04/model/status_response_resource.py +1 -1
  72. criteo_api_retailmedia_v2024_04/model/template.py +1 -1
  73. criteo_api_retailmedia_v2024_04/model/value_resource_input_of_retail_media_brand_account_creation.py +1 -8
  74. criteo_api_retailmedia_v2024_04/model/value_resource_input_of_retail_media_brands.py +2 -9
  75. criteo_api_retailmedia_v2024_04/model/value_resource_of_campaign_budget_overrides.py +1 -1
  76. criteo_api_retailmedia_v2024_04/model/value_resource_of_line_item_budget_overrides.py +1 -1
  77. criteo_api_retailmedia_v2024_04/model/value_resource_of_retail_media_brand_account_creation.py +3 -10
  78. criteo_api_retailmedia_v2024_04/model/value_resource_of_retail_media_brands.py +3 -10
  79. criteo_api_retailmedia_v2024_04/model/value_resource_outcome_of_retail_media_brands.py +10 -17
  80. criteo_api_retailmedia_v2024_04/model/video_variable_value.py +1 -1
  81. criteo_api_retailmedia_v2024_04/models/__init__.py +1 -0
  82. {criteo_api_retailmedia_sdk-2024.4.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250317.dist-info}/top_level.txt +0 -0
@@ -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 \
@@ -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)
@@ -84,8 +84,8 @@ class ExternalUpdateBalanceModel(ModelNormal):
84
84
  'name': (str,), # noqa: E501
85
85
  'po_number': (str,), # noqa: E501
86
86
  'sales_force_id': (str,), # noqa: E501
87
- 'start_date': (date, none_type,), # noqa: E501
88
- 'end_date': (date, none_type,), # noqa: E501
87
+ 'start_date': (date,), # noqa: E501
88
+ 'end_date': (date,), # noqa: E501
89
89
  'memo': (str,), # noqa: E501
90
90
  }
91
91
 
@@ -147,8 +147,8 @@ class ExternalUpdateBalanceModel(ModelNormal):
147
147
  name (str): Name of the balance.. [optional] # noqa: E501
148
148
  po_number (str): Purchase Order number.. [optional] # noqa: E501
149
149
  sales_force_id (str): SalesForceId the balance is linked to.. [optional] # noqa: E501
150
- start_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
151
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
150
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
151
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
152
152
  memo (str): Memo. [optional] # noqa: E501
153
153
  """
154
154
 
@@ -238,8 +238,8 @@ class ExternalUpdateBalanceModel(ModelNormal):
238
238
  name (str): Name of the balance.. [optional] # noqa: E501
239
239
  po_number (str): Purchase Order number.. [optional] # noqa: E501
240
240
  sales_force_id (str): SalesForceId the balance is linked to.. [optional] # noqa: E501
241
- start_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
242
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
241
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
242
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
243
243
  memo (str): Memo. [optional] # noqa: E501
244
244
  """
245
245
 
@@ -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():
@@ -60,13 +60,7 @@ class PageMetadata(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
 
@@ -85,8 +79,8 @@ class PageMetadata(ModelNormal):
85
79
  'current_page_index': (int,), # noqa: E501
86
80
  'total_items_across_all_pages': (int, none_type,), # noqa: E501
87
81
  'total_pages': (int, none_type,), # noqa: E501
88
- 'next_page': (str,), # noqa: E501
89
- 'previous_page': (str,), # noqa: E501
82
+ 'next_page': (str, none_type,), # noqa: E501
83
+ 'previous_page': (str, none_type,), # noqa: E501
90
84
  }
91
85
 
92
86
  @cached_property
@@ -150,8 +144,8 @@ class PageMetadata(ModelNormal):
150
144
  _visited_composed_classes = (Animal,)
151
145
  total_items_across_all_pages (int, none_type): [optional] # noqa: E501
152
146
  total_pages (int, none_type): [optional] # noqa: E501
153
- next_page (str): [optional] # noqa: E501
154
- previous_page (str): [optional] # noqa: E501
147
+ next_page (str, none_type): [optional] # noqa: E501
148
+ previous_page (str, none_type): [optional] # noqa: E501
155
149
  """
156
150
 
157
151
  _check_type = kwargs.pop('_check_type', True)
@@ -245,8 +239,8 @@ class PageMetadata(ModelNormal):
245
239
  _visited_composed_classes = (Animal,)
246
240
  total_items_across_all_pages (int, none_type): [optional] # noqa: E501
247
241
  total_pages (int, none_type): [optional] # noqa: E501
248
- next_page (str): [optional] # noqa: E501
249
- previous_page (str): [optional] # noqa: E501
242
+ next_page (str, none_type): [optional] # noqa: E501
243
+ previous_page (str, none_type): [optional] # noqa: E501
250
244
  """
251
245
 
252
246
  _check_type = kwargs.pop('_check_type', True)
@@ -88,8 +88,8 @@ class ResourceOfAddFundsToBalance(ModelNormal):
88
88
  lazy_import()
89
89
  return {
90
90
  'attributes': (ExternalAddFundsToBalance,), # noqa: E501
91
- 'id': (str, none_type,), # noqa: E501
92
- 'type': (str, none_type,), # noqa: E501
91
+ 'id': (str,), # noqa: E501
92
+ 'type': (str,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -145,8 +145,8 @@ class ResourceOfAddFundsToBalance(ModelNormal):
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
147
  attributes (ExternalAddFundsToBalance): [optional] # noqa: E501
148
- id (str, none_type): Id of the entity. [optional] # noqa: E501
149
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
148
+ id (str): Id of the entity. [optional] # noqa: E501
149
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -233,8 +233,8 @@ class ResourceOfAddFundsToBalance(ModelNormal):
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
235
  attributes (ExternalAddFundsToBalance): [optional] # noqa: E501
236
- id (str, none_type): Id of the entity. [optional] # noqa: E501
237
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
236
+ id (str): Id of the entity. [optional] # noqa: E501
237
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)
@@ -87,8 +87,8 @@ class ResourceOfAuctionLineItemUpdateModel(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'id': (str, none_type,), # noqa: E501
91
- 'type': (str, none_type,), # noqa: E501
90
+ 'id': (str,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  'attributes': (ExternalAuctionLineItemUpdateModel,), # noqa: E501
93
93
  }
94
94
 
@@ -144,8 +144,8 @@ class ResourceOfAuctionLineItemUpdateModel(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
- id (str, none_type): Id of the entity. [optional] # noqa: E501
148
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
147
+ id (str): Id of the entity. [optional] # noqa: E501
148
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
149
149
  attributes (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
150
150
  """
151
151
 
@@ -232,8 +232,8 @@ class ResourceOfAuctionLineItemUpdateModel(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
- id (str, none_type): Id of the entity. [optional] # noqa: E501
236
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
235
+ id (str): Id of the entity. [optional] # noqa: E501
236
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
237
237
  attributes (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
238
238
  """
239
239
 
@@ -88,8 +88,8 @@ class ResourceOfChangeDatesOfBalance(ModelNormal):
88
88
  lazy_import()
89
89
  return {
90
90
  'attributes': (ExternalChangeDatesOfBalance,), # noqa: E501
91
- 'id': (str, none_type,), # noqa: E501
92
- 'type': (str, none_type,), # noqa: E501
91
+ 'id': (str,), # noqa: E501
92
+ 'type': (str,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -145,8 +145,8 @@ class ResourceOfChangeDatesOfBalance(ModelNormal):
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
147
  attributes (ExternalChangeDatesOfBalance): [optional] # noqa: E501
148
- id (str, none_type): Id of the entity. [optional] # noqa: E501
149
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
148
+ id (str): Id of the entity. [optional] # noqa: E501
149
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -233,8 +233,8 @@ class ResourceOfChangeDatesOfBalance(ModelNormal):
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
235
  attributes (ExternalChangeDatesOfBalance): [optional] # noqa: E501
236
- id (str, none_type): Id of the entity. [optional] # noqa: E501
237
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
236
+ id (str): Id of the entity. [optional] # noqa: E501
237
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)
@@ -88,8 +88,8 @@ class ResourceOfCreateBalance(ModelNormal):
88
88
  lazy_import()
89
89
  return {
90
90
  'attributes': (ExternalCreateBalance,), # noqa: E501
91
- 'id': (str, none_type,), # noqa: E501
92
- 'type': (str, none_type,), # noqa: E501
91
+ 'id': (str,), # noqa: E501
92
+ 'type': (str,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -145,8 +145,8 @@ class ResourceOfCreateBalance(ModelNormal):
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
147
  attributes (ExternalCreateBalance): [optional] # noqa: E501
148
- id (str, none_type): Id of the entity. [optional] # noqa: E501
149
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
148
+ id (str): Id of the entity. [optional] # noqa: E501
149
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -233,8 +233,8 @@ class ResourceOfCreateBalance(ModelNormal):
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
235
  attributes (ExternalCreateBalance): [optional] # noqa: E501
236
- id (str, none_type): Id of the entity. [optional] # noqa: E501
237
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
236
+ id (str): Id of the entity. [optional] # noqa: E501
237
+ type (str): Canonical type name of the entity. [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)