criteo-api-retailmedia-sdk 2025.7.0.250911__py3-none-any.whl → 2025.7.0.251009__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 (80) hide show
  1. {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/RECORD +77 -80
  3. criteo_api_retailmedia_v2025_07/__init__.py +1 -1
  4. criteo_api_retailmedia_v2025_07/api/accounts_api.py +65 -76
  5. criteo_api_retailmedia_v2025_07/api/analytics_api.py +8 -28
  6. criteo_api_retailmedia_v2025_07/api/audience_api.py +15 -43
  7. criteo_api_retailmedia_v2025_07/api/balance_api.py +257 -261
  8. criteo_api_retailmedia_v2025_07/api/billing_api.py +20 -25
  9. criteo_api_retailmedia_v2025_07/api/campaign_api.py +1640 -1659
  10. criteo_api_retailmedia_v2025_07/api_client.py +1 -1
  11. criteo_api_retailmedia_v2025_07/configuration.py +1 -1
  12. criteo_api_retailmedia_v2025_07/model/add_funds_to_balance_v2.py +6 -6
  13. criteo_api_retailmedia_v2025_07/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +3 -3
  14. criteo_api_retailmedia_v2025_07/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +3 -3
  15. criteo_api_retailmedia_v2025_07/model/add_to_basket_target202110_response.py +8 -8
  16. criteo_api_retailmedia_v2025_07/model/async_campaigns_report.py +14 -0
  17. criteo_api_retailmedia_v2025_07/model/async_line_items_report.py +14 -0
  18. criteo_api_retailmedia_v2025_07/model/async_revenue_report.py +11 -0
  19. criteo_api_retailmedia_v2025_07/model/{external_auction_line_item.py → auction_line_item.py} +19 -25
  20. criteo_api_retailmedia_v2025_07/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +3 -3
  21. criteo_api_retailmedia_v2025_07/model/auction_line_item_paged_list_response.py +8 -8
  22. criteo_api_retailmedia_v2025_07/model/auction_line_item_response.py +8 -8
  23. criteo_api_retailmedia_v2025_07/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +6 -6
  24. criteo_api_retailmedia_v2025_07/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
  25. criteo_api_retailmedia_v2025_07/model/{external_audience_target202110.py → audience_target202110.py} +3 -3
  26. criteo_api_retailmedia_v2025_07/model/audience_target202110_response.py +8 -8
  27. criteo_api_retailmedia_v2025_07/model/balance_campaign202110_paged_list_response.py +8 -8
  28. criteo_api_retailmedia_v2025_07/model/balance_response_v2.py +6 -6
  29. criteo_api_retailmedia_v2025_07/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +3 -3
  30. criteo_api_retailmedia_v2025_07/model/campaign_attributes_v202301.py +11 -15
  31. criteo_api_retailmedia_v2025_07/model/campaign_v202301.py +23 -33
  32. criteo_api_retailmedia_v2025_07/model/change_dates_of_balance_v2.py +9 -9
  33. criteo_api_retailmedia_v2025_07/model/{external_common_line_item.py → common_line_item.py} +19 -25
  34. criteo_api_retailmedia_v2025_07/model/common_line_item_paged_list_response.py +8 -8
  35. criteo_api_retailmedia_v2025_07/model/common_line_item_response.py +8 -8
  36. criteo_api_retailmedia_v2025_07/model/create_balance_v2.py +6 -6
  37. criteo_api_retailmedia_v2025_07/model/editable_campaign_attributes_v202301.py +11 -15
  38. criteo_api_retailmedia_v2025_07/model/files_variable_value.py +0 -3
  39. criteo_api_retailmedia_v2025_07/model/input_resource_of_auction_line_item_create_model.py +5 -5
  40. criteo_api_retailmedia_v2025_07/model/input_resource_of_preferred_line_item_create_model_v2.py +5 -5
  41. criteo_api_retailmedia_v2025_07/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → json_api_body_with_line_item_bid_multipliers_v2.py} +8 -8
  42. criteo_api_retailmedia_v2025_07/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
  43. criteo_api_retailmedia_v2025_07/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +5 -5
  44. criteo_api_retailmedia_v2025_07/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +3 -3
  45. criteo_api_retailmedia_v2025_07/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
  46. criteo_api_retailmedia_v2025_07/model/{external_line_item_page_v2.py → line_item_page_v2.py} +9 -9
  47. criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +16 -16
  48. criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +16 -16
  49. criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +33 -35
  50. criteo_api_retailmedia_v2025_07/model/resource_of_auction_line_item.py +5 -5
  51. criteo_api_retailmedia_v2025_07/model/resource_of_auction_line_item_update_model.py +5 -5
  52. criteo_api_retailmedia_v2025_07/model/resource_of_common_line_item.py +5 -5
  53. criteo_api_retailmedia_v2025_07/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
  54. criteo_api_retailmedia_v2025_07/model/resource_of_preferred_line_item_update_model_v2.py +5 -5
  55. criteo_api_retailmedia_v2025_07/model/resource_of_preferred_line_item_v2.py +5 -5
  56. criteo_api_retailmedia_v2025_07/model/rm_contact_list_create_v1.py +1 -0
  57. criteo_api_retailmedia_v2025_07/model/rm_contact_list_v1.py +1 -0
  58. criteo_api_retailmedia_v2025_07/model/rm_events_create_v1.py +0 -2
  59. criteo_api_retailmedia_v2025_07/model/rm_events_update_v1.py +0 -2
  60. criteo_api_retailmedia_v2025_07/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
  61. criteo_api_retailmedia_v2025_07/model/{external_store_target202110.py → store_target202110.py} +3 -3
  62. criteo_api_retailmedia_v2025_07/model/store_target202110_response.py +8 -8
  63. criteo_api_retailmedia_v2025_07/model/value_resource_of_campaign_budget_overrides.py +2 -2
  64. criteo_api_retailmedia_v2025_07/model/value_resource_of_line_item_budget_overrides.py +2 -2
  65. criteo_api_retailmedia_v2025_07/model/value_resource_of_recommended_keywords_result.py +2 -2
  66. criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_campaign_budget_overrides.py +8 -8
  67. criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_line_item_budget_overrides.py +8 -8
  68. criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_recommended_keywords_result.py +8 -8
  69. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +5 -5
  70. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_add_to_basket_target202110.py +5 -5
  71. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_audience_ids_update_model202110.py +5 -5
  72. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_audience_target202110.py +5 -5
  73. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_store_ids_update_model202110.py +5 -5
  74. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_store_target202110.py +5 -5
  75. criteo_api_retailmedia_v2025_07/models/__init__.py +19 -22
  76. criteo_api_retailmedia_v2025_07/model/error_code_response.py +0 -281
  77. criteo_api_retailmedia_v2025_07/model/outcome.py +0 -268
  78. criteo_api_retailmedia_v2025_07/model/report_outcome.py +0 -275
  79. {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/WHEEL +0 -0
  80. {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/top_level.txt +0 -0
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAuctionLineItemUpdateModel(ModelNormal):
33
+ class AuctionLineItemUpdateModel(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -106,7 +106,7 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
106
106
  'name': (str,), # noqa: E501
107
107
  'start_date': (date,), # noqa: E501
108
108
  'status': (str,), # noqa: E501
109
- 'target_bid': (float, none_type,), # noqa: E501
109
+ 'target_bid': (float,), # noqa: E501
110
110
  'bid_strategy': (str,), # noqa: E501
111
111
  'budget': (float, none_type,), # noqa: E501
112
112
  'daily_pacing': (float, none_type,), # noqa: E501
@@ -142,14 +142,14 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
142
142
  @classmethod
143
143
  @convert_js_args_to_python_args
144
144
  def _from_openapi_data(cls, is_auto_daily_pacing, name, start_date, status, target_bid, *args, **kwargs): # noqa: E501
145
- """ExternalAuctionLineItemUpdateModel - a model defined in OpenAPI
145
+ """AuctionLineItemUpdateModel - a model defined in OpenAPI
146
146
 
147
147
  Args:
148
148
  is_auto_daily_pacing (bool):
149
149
  name (str):
150
150
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
151
151
  status (str):
152
- target_bid (float, none_type):
152
+ target_bid (float):
153
153
 
154
154
  Keyword Args:
155
155
  _check_type (bool): if True, values for parameters in openapi_types
@@ -245,14 +245,14 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
245
245
 
246
246
  @convert_js_args_to_python_args
247
247
  def __init__(self, is_auto_daily_pacing, name, start_date, status, target_bid, *args, **kwargs): # noqa: E501
248
- """ExternalAuctionLineItemUpdateModel - a model defined in OpenAPI
248
+ """AuctionLineItemUpdateModel - a model defined in OpenAPI
249
249
 
250
250
  Args:
251
251
  is_auto_daily_pacing (bool):
252
252
  name (str):
253
253
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
254
254
  status (str):
255
- target_bid (float, none_type):
255
+ target_bid (float):
256
256
 
257
257
  Keyword Args:
258
258
  _check_type (bool): if True, values for parameters in openapi_types
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAudienceIdsUpdateModel202110(ModelNormal):
33
+ class AudienceIdsUpdateModel202110(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -101,7 +101,7 @@ class ExternalAudienceIdsUpdateModel202110(ModelNormal):
101
101
  @classmethod
102
102
  @convert_js_args_to_python_args
103
103
  def _from_openapi_data(cls, audience_ids, *args, **kwargs): # noqa: E501
104
- """ExternalAudienceIdsUpdateModel202110 - a model defined in OpenAPI
104
+ """AudienceIdsUpdateModel202110 - a model defined in OpenAPI
105
105
 
106
106
  Args:
107
107
  audience_ids ([str]): Audience ids that should be targeted
@@ -190,7 +190,7 @@ class ExternalAudienceIdsUpdateModel202110(ModelNormal):
190
190
 
191
191
  @convert_js_args_to_python_args
192
192
  def __init__(self, audience_ids, *args, **kwargs): # noqa: E501
193
- """ExternalAudienceIdsUpdateModel202110 - a model defined in OpenAPI
193
+ """AudienceIdsUpdateModel202110 - a model defined in OpenAPI
194
194
 
195
195
  Args:
196
196
  audience_ids ([str]): Audience ids that should be targeted
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAudienceTarget202110(ModelNormal):
33
+ class AudienceTarget202110(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -108,7 +108,7 @@ class ExternalAudienceTarget202110(ModelNormal):
108
108
  @classmethod
109
109
  @convert_js_args_to_python_args
110
110
  def _from_openapi_data(cls, audience_ids, scope, *args, **kwargs): # noqa: E501
111
- """ExternalAudienceTarget202110 - a model defined in OpenAPI
111
+ """AudienceTarget202110 - a model defined in OpenAPI
112
112
 
113
113
  Args:
114
114
  audience_ids ([str]): Audience ids that should be targeted
@@ -199,7 +199,7 @@ class ExternalAudienceTarget202110(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, audience_ids, scope, *args, **kwargs): # noqa: E501
202
- """ExternalAudienceTarget202110 - a model defined in OpenAPI
202
+ """AudienceTarget202110 - a model defined in OpenAPI
203
203
 
204
204
  Args:
205
205
  audience_ids ([str]): Audience ids that should be targeted
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2025_07.model.problem_details import ProblemDetails
33
+ from criteo_api_retailmedia_v2025_07.model.common_problem import CommonProblem
34
34
  from criteo_api_retailmedia_v2025_07.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110
35
- globals()['ProblemDetails'] = ProblemDetails
35
+ globals()['CommonProblem'] = CommonProblem
36
36
  globals()['ValueTypeResourceOfAudienceTarget202110'] = ValueTypeResourceOfAudienceTarget202110
37
37
 
38
38
 
@@ -90,8 +90,8 @@ class AudienceTarget202110Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ValueTypeResourceOfAudienceTarget202110,), # noqa: E501
93
- 'errors': ([ProblemDetails],), # noqa: E501
94
- 'warnings': ([ProblemDetails],), # noqa: E501
93
+ 'errors': ([CommonProblem],), # noqa: E501
94
+ 'warnings': ([CommonProblem],), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -149,8 +149,8 @@ class AudienceTarget202110Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ValueTypeResourceOfAudienceTarget202110): [optional] # noqa: E501
152
- errors ([ProblemDetails]): [optional] # noqa: E501
153
- warnings ([ProblemDetails]): [optional] # noqa: E501
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 AudienceTarget202110Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ValueTypeResourceOfAudienceTarget202110): [optional] # noqa: E501
240
- errors ([ProblemDetails]): [optional] # noqa: E501
241
- warnings ([ProblemDetails]): [optional] # noqa: E501
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)
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
+ from criteo_api_retailmedia_v2025_07.model.common_problem import CommonProblem
33
34
  from criteo_api_retailmedia_v2025_07.model.page_metadata import PageMetadata
34
- from criteo_api_retailmedia_v2025_07.model.problem_details import ProblemDetails
35
35
  from criteo_api_retailmedia_v2025_07.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110
36
+ globals()['CommonProblem'] = CommonProblem
36
37
  globals()['PageMetadata'] = PageMetadata
37
- globals()['ProblemDetails'] = ProblemDetails
38
38
  globals()['ResourceOfBalanceCampaign202110'] = ResourceOfBalanceCampaign202110
39
39
 
40
40
 
@@ -92,9 +92,9 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
92
92
  lazy_import()
93
93
  return {
94
94
  'data': ([ResourceOfBalanceCampaign202110],), # noqa: E501
95
- 'errors': ([ProblemDetails],), # noqa: E501
95
+ 'errors': ([CommonProblem],), # noqa: E501
96
96
  'metadata': (PageMetadata,), # noqa: E501
97
- 'warnings': ([ProblemDetails],), # noqa: E501
97
+ 'warnings': ([CommonProblem],), # noqa: E501
98
98
  }
99
99
 
100
100
  @cached_property
@@ -153,9 +153,9 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
153
153
  through its discriminator because we passed in
154
154
  _visited_composed_classes = (Animal,)
155
155
  data ([ResourceOfBalanceCampaign202110]): [optional] # noqa: E501
156
- errors ([ProblemDetails]): [optional] # noqa: E501
156
+ errors ([CommonProblem]): [optional] # noqa: E501
157
157
  metadata (PageMetadata): [optional] # noqa: E501
158
- warnings ([ProblemDetails]): [optional] # noqa: E501
158
+ warnings ([CommonProblem]): [optional] # noqa: E501
159
159
  """
160
160
 
161
161
  _check_type = kwargs.pop('_check_type', True)
@@ -242,9 +242,9 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
242
242
  through its discriminator because we passed in
243
243
  _visited_composed_classes = (Animal,)
244
244
  data ([ResourceOfBalanceCampaign202110]): [optional] # noqa: E501
245
- errors ([ProblemDetails]): [optional] # noqa: E501
245
+ errors ([CommonProblem]): [optional] # noqa: E501
246
246
  metadata (PageMetadata): [optional] # noqa: E501
247
- warnings ([ProblemDetails]): [optional] # noqa: E501
247
+ warnings ([CommonProblem]): [optional] # noqa: E501
248
248
  """
249
249
 
250
250
  _check_type = kwargs.pop('_check_type', True)
@@ -107,10 +107,10 @@ class BalanceResponseV2(ModelNormal):
107
107
  'name': (str,), # noqa: E501
108
108
  'private_market_billing_type': (str,), # noqa: E501
109
109
  'spend_type': (str,), # noqa: E501
110
- 'start_date': (date,), # noqa: E501
110
+ 'start_date': (str,), # noqa: E501
111
111
  'created_at': (datetime,), # noqa: E501
112
112
  'deposited': (float, none_type,), # noqa: E501
113
- 'end_date': (date, none_type,), # noqa: E501
113
+ 'end_date': (str, none_type,), # noqa: E501
114
114
  'memo': (str, none_type,), # noqa: E501
115
115
  'po_number': (str, none_type,), # noqa: E501
116
116
  'remaining': (float, none_type,), # noqa: E501
@@ -156,7 +156,7 @@ class BalanceResponseV2(ModelNormal):
156
156
  name (str): Name of the balance.
157
157
  private_market_billing_type (str): Billing type for Private Market of the balance.
158
158
  spend_type (str): Spend Type of the balance.
159
- start_date (date): Start date of the balance in the format YYYY-MM-DD.
159
+ start_date (str): 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
@@ -191,7 +191,7 @@ class BalanceResponseV2(ModelNormal):
191
191
  _visited_composed_classes = (Animal,)
192
192
  created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
193
193
  deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
194
- end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
194
+ end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
195
195
  memo (str, none_type): Memo.. [optional] # noqa: E501
196
196
  po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
197
197
  remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
@@ -262,7 +262,7 @@ class BalanceResponseV2(ModelNormal):
262
262
  name (str): Name of the balance.
263
263
  private_market_billing_type (str): Billing type for Private Market of the balance.
264
264
  spend_type (str): Spend Type of the balance.
265
- start_date (date): Start date of the balance in the format YYYY-MM-DD.
265
+ start_date (str): 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
@@ -297,7 +297,7 @@ class BalanceResponseV2(ModelNormal):
297
297
  _visited_composed_classes = (Animal,)
298
298
  created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
299
299
  deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
300
- end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
300
+ end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
301
301
  memo (str, none_type): Memo.. [optional] # noqa: E501
302
302
  po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
303
303
  remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
@@ -38,7 +38,7 @@ def lazy_import():
38
38
  globals()['ResourceOfBalanceResponseV2'] = ResourceOfBalanceResponseV2
39
39
 
40
40
 
41
- class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
41
+ class BalanceResponseV2PagedListResponse(ModelNormal):
42
42
  """NOTE: This class is auto generated by OpenAPI Generator.
43
43
  Ref: https://openapi-generator.tech
44
44
 
@@ -119,7 +119,7 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
119
119
  @classmethod
120
120
  @convert_js_args_to_python_args
121
121
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
122
- """PagedResourceCollectionOutcomeOfBalanceResponseV2 - a model defined in OpenAPI
122
+ """BalanceResponseV2PagedListResponse - a model defined in OpenAPI
123
123
 
124
124
  Keyword Args:
125
125
  _check_type (bool): if True, values for parameters in openapi_types
@@ -208,7 +208,7 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
208
208
 
209
209
  @convert_js_args_to_python_args
210
210
  def __init__(self, *args, **kwargs): # noqa: E501
211
- """PagedResourceCollectionOutcomeOfBalanceResponseV2 - a model defined in OpenAPI
211
+ """BalanceResponseV2PagedListResponse - a model defined in OpenAPI
212
212
 
213
213
  Keyword Args:
214
214
  _check_type (bool): if True, values for parameters in openapi_types
@@ -82,11 +82,11 @@ class CampaignAttributesV202301(ModelNormal):
82
82
  },
83
83
  ('view_attribution_window',): {
84
84
  'NONE': "none",
85
- 'UNKNOWN': "unknown",
86
85
  '1D': "1D",
87
86
  '7D': "7D",
88
87
  '14D': "14D",
89
88
  '30D': "30D",
89
+ 'UNKNOWN': "unknown",
90
90
  },
91
91
  }
92
92
 
@@ -118,18 +118,18 @@ class CampaignAttributesV202301(ModelNormal):
118
118
  and the value is attribute type.
119
119
  """
120
120
  return {
121
- 'end_date': (datetime, none_type,), # noqa: E501
122
121
  'is_auto_daily_pacing': (bool,), # noqa: E501
123
122
  'name': (str,), # noqa: E501
124
- 'start_date': (datetime, none_type,), # noqa: E501
125
123
  'budget': (float, none_type,), # noqa: E501
126
124
  'click_attribution_scope': (str, none_type,), # noqa: E501
127
125
  'click_attribution_window': (str,), # noqa: E501
128
126
  'company_name': (str, none_type,), # noqa: E501
129
127
  'daily_pacing': (float, none_type,), # noqa: E501
130
128
  'drawable_balance_ids': ([str],), # noqa: E501
129
+ 'end_date': (datetime, none_type,), # noqa: E501
131
130
  'monthly_pacing': (float, none_type,), # noqa: E501
132
131
  'on_behalf_company_name': (str, none_type,), # noqa: E501
132
+ 'start_date': (datetime, none_type,), # noqa: E501
133
133
  'type': (str,), # noqa: E501
134
134
  'view_attribution_scope': (str, none_type,), # noqa: E501
135
135
  'view_attribution_window': (str,), # noqa: E501
@@ -141,18 +141,18 @@ class CampaignAttributesV202301(ModelNormal):
141
141
 
142
142
 
143
143
  attribute_map = {
144
- 'end_date': 'endDate', # noqa: E501
145
144
  'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
146
145
  'name': 'name', # noqa: E501
147
- 'start_date': 'startDate', # noqa: E501
148
146
  'budget': 'budget', # noqa: E501
149
147
  'click_attribution_scope': 'clickAttributionScope', # noqa: E501
150
148
  'click_attribution_window': 'clickAttributionWindow', # noqa: E501
151
149
  'company_name': 'companyName', # noqa: E501
152
150
  'daily_pacing': 'dailyPacing', # noqa: E501
153
151
  'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
152
+ 'end_date': 'endDate', # noqa: E501
154
153
  'monthly_pacing': 'monthlyPacing', # noqa: E501
155
154
  'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
155
+ 'start_date': 'startDate', # noqa: E501
156
156
  'type': 'type', # noqa: E501
157
157
  'view_attribution_scope': 'viewAttributionScope', # noqa: E501
158
158
  'view_attribution_window': 'viewAttributionWindow', # noqa: E501
@@ -165,14 +165,12 @@ class CampaignAttributesV202301(ModelNormal):
165
165
 
166
166
  @classmethod
167
167
  @convert_js_args_to_python_args
168
- def _from_openapi_data(cls, end_date, is_auto_daily_pacing, name, start_date, *args, **kwargs): # noqa: E501
168
+ def _from_openapi_data(cls, is_auto_daily_pacing, name, *args, **kwargs): # noqa: E501
169
169
  """CampaignAttributesV202301 - a model defined in OpenAPI
170
170
 
171
171
  Args:
172
- end_date (datetime, none_type):
173
172
  is_auto_daily_pacing (bool):
174
173
  name (str):
175
- start_date (datetime, none_type):
176
174
 
177
175
  Keyword Args:
178
176
  _check_type (bool): if True, values for parameters in openapi_types
@@ -211,8 +209,10 @@ class CampaignAttributesV202301(ModelNormal):
211
209
  company_name (str, none_type): [optional] # noqa: E501
212
210
  daily_pacing (float, none_type): [optional] # noqa: E501
213
211
  drawable_balance_ids ([str]): [optional] # noqa: E501
212
+ end_date (datetime, none_type): [optional] # noqa: E501
214
213
  monthly_pacing (float, none_type): [optional] # noqa: E501
215
214
  on_behalf_company_name (str, none_type): [optional] # noqa: E501
215
+ start_date (datetime, none_type): [optional] # noqa: E501
216
216
  type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
217
217
  view_attribution_scope (str, none_type): [optional] # noqa: E501
218
218
  view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
@@ -247,10 +247,8 @@ class CampaignAttributesV202301(ModelNormal):
247
247
  self._configuration = _configuration
248
248
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
249
249
 
250
- self.end_date = end_date
251
250
  self.is_auto_daily_pacing = is_auto_daily_pacing
252
251
  self.name = name
253
- self.start_date = start_date
254
252
  for var_name, var_value in kwargs.items():
255
253
  if var_name not in self.attribute_map and \
256
254
  self._configuration is not None and \
@@ -271,14 +269,12 @@ class CampaignAttributesV202301(ModelNormal):
271
269
  ])
272
270
 
273
271
  @convert_js_args_to_python_args
274
- def __init__(self, end_date, is_auto_daily_pacing, name, start_date, *args, **kwargs): # noqa: E501
272
+ def __init__(self, is_auto_daily_pacing, name, *args, **kwargs): # noqa: E501
275
273
  """CampaignAttributesV202301 - a model defined in OpenAPI
276
274
 
277
275
  Args:
278
- end_date (datetime, none_type):
279
276
  is_auto_daily_pacing (bool):
280
277
  name (str):
281
- start_date (datetime, none_type):
282
278
 
283
279
  Keyword Args:
284
280
  _check_type (bool): if True, values for parameters in openapi_types
@@ -317,8 +313,10 @@ class CampaignAttributesV202301(ModelNormal):
317
313
  company_name (str, none_type): [optional] # noqa: E501
318
314
  daily_pacing (float, none_type): [optional] # noqa: E501
319
315
  drawable_balance_ids ([str]): [optional] # noqa: E501
316
+ end_date (datetime, none_type): [optional] # noqa: E501
320
317
  monthly_pacing (float, none_type): [optional] # noqa: E501
321
318
  on_behalf_company_name (str, none_type): [optional] # noqa: E501
319
+ start_date (datetime, none_type): [optional] # noqa: E501
322
320
  type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
323
321
  view_attribution_scope (str, none_type): [optional] # noqa: E501
324
322
  view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
@@ -351,10 +349,8 @@ class CampaignAttributesV202301(ModelNormal):
351
349
  self._configuration = _configuration
352
350
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
353
351
 
354
- self.end_date = end_date
355
352
  self.is_auto_daily_pacing = is_auto_daily_pacing
356
353
  self.name = name
357
- self.start_date = start_date
358
354
  for var_name, var_value in kwargs.items():
359
355
  if var_name not in self.attribute_map and \
360
356
  self._configuration is not None and \
@@ -89,11 +89,11 @@ class CampaignV202301(ModelNormal):
89
89
  },
90
90
  ('view_attribution_window',): {
91
91
  'NONE': "none",
92
- 'UNKNOWN': "unknown",
93
92
  '1D': "1D",
94
93
  '7D': "7D",
95
94
  '14D': "14D",
96
95
  '30D': "30D",
96
+ 'UNKNOWN': "unknown",
97
97
  },
98
98
  }
99
99
 
@@ -126,23 +126,23 @@ class CampaignV202301(ModelNormal):
126
126
  """
127
127
  return {
128
128
  'account_id': (str,), # noqa: E501
129
- 'budget_remaining': (float, none_type,), # noqa: E501
130
- 'budget_spent': (float, none_type,), # noqa: E501
131
129
  'created_at': (datetime,), # noqa: E501
132
- 'end_date': (datetime, none_type,), # noqa: E501
133
130
  'is_auto_daily_pacing': (bool,), # noqa: E501
134
131
  'name': (str,), # noqa: E501
135
- 'promoted_brand_ids': ([str],), # noqa: E501
136
- 'start_date': (datetime, none_type,), # noqa: E501
137
132
  'updated_at': (datetime,), # noqa: E501
138
133
  'budget': (float, none_type,), # noqa: E501
134
+ 'budget_remaining': (float, none_type,), # noqa: E501
135
+ 'budget_spent': (float, none_type,), # noqa: E501
139
136
  'click_attribution_scope': (str, none_type,), # noqa: E501
140
137
  'click_attribution_window': (str,), # noqa: E501
141
138
  'company_name': (str, none_type,), # noqa: E501
142
139
  'daily_pacing': (float, none_type,), # noqa: E501
143
140
  'drawable_balance_ids': ([str],), # noqa: E501
141
+ 'end_date': (datetime, none_type,), # noqa: E501
144
142
  'monthly_pacing': (float, none_type,), # noqa: E501
145
143
  'on_behalf_company_name': (str, none_type,), # noqa: E501
144
+ 'promoted_brand_ids': ([str],), # noqa: E501
145
+ 'start_date': (datetime, none_type,), # noqa: E501
146
146
  'status': (str,), # noqa: E501
147
147
  'type': (str,), # noqa: E501
148
148
  'view_attribution_scope': (str, none_type,), # noqa: E501
@@ -156,23 +156,23 @@ class CampaignV202301(ModelNormal):
156
156
 
157
157
  attribute_map = {
158
158
  'account_id': 'accountId', # noqa: E501
159
- 'budget_remaining': 'budgetRemaining', # noqa: E501
160
- 'budget_spent': 'budgetSpent', # noqa: E501
161
159
  'created_at': 'createdAt', # noqa: E501
162
- 'end_date': 'endDate', # noqa: E501
163
160
  'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
164
161
  'name': 'name', # noqa: E501
165
- 'promoted_brand_ids': 'promotedBrandIds', # noqa: E501
166
- 'start_date': 'startDate', # noqa: E501
167
162
  'updated_at': 'updatedAt', # noqa: E501
168
163
  'budget': 'budget', # noqa: E501
164
+ 'budget_remaining': 'budgetRemaining', # noqa: E501
165
+ 'budget_spent': 'budgetSpent', # noqa: E501
169
166
  'click_attribution_scope': 'clickAttributionScope', # noqa: E501
170
167
  'click_attribution_window': 'clickAttributionWindow', # noqa: E501
171
168
  'company_name': 'companyName', # noqa: E501
172
169
  'daily_pacing': 'dailyPacing', # noqa: E501
173
170
  'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
171
+ 'end_date': 'endDate', # noqa: E501
174
172
  'monthly_pacing': 'monthlyPacing', # noqa: E501
175
173
  'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
174
+ 'promoted_brand_ids': 'promotedBrandIds', # noqa: E501
175
+ 'start_date': 'startDate', # noqa: E501
176
176
  'status': 'status', # noqa: E501
177
177
  'type': 'type', # noqa: E501
178
178
  'view_attribution_scope': 'viewAttributionScope', # noqa: E501
@@ -186,19 +186,14 @@ class CampaignV202301(ModelNormal):
186
186
 
187
187
  @classmethod
188
188
  @convert_js_args_to_python_args
189
- def _from_openapi_data(cls, account_id, budget_remaining, budget_spent, created_at, end_date, is_auto_daily_pacing, name, promoted_brand_ids, start_date, updated_at, *args, **kwargs): # noqa: E501
189
+ def _from_openapi_data(cls, account_id, created_at, is_auto_daily_pacing, name, updated_at, *args, **kwargs): # noqa: E501
190
190
  """CampaignV202301 - a model defined in OpenAPI
191
191
 
192
192
  Args:
193
193
  account_id (str):
194
- budget_remaining (float, none_type):
195
- budget_spent (float, none_type):
196
194
  created_at (datetime):
197
- end_date (datetime, none_type):
198
195
  is_auto_daily_pacing (bool):
199
196
  name (str):
200
- promoted_brand_ids ([str]):
201
- start_date (datetime, none_type):
202
197
  updated_at (datetime):
203
198
 
204
199
  Keyword Args:
@@ -233,13 +228,18 @@ class CampaignV202301(ModelNormal):
233
228
  through its discriminator because we passed in
234
229
  _visited_composed_classes = (Animal,)
235
230
  budget (float, none_type): [optional] # noqa: E501
231
+ budget_remaining (float, none_type): [optional] # noqa: E501
232
+ budget_spent (float, none_type): [optional] # noqa: E501
236
233
  click_attribution_scope (str, none_type): [optional] # noqa: E501
237
234
  click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
238
235
  company_name (str, none_type): [optional] # noqa: E501
239
236
  daily_pacing (float, none_type): [optional] # noqa: E501
240
237
  drawable_balance_ids ([str]): [optional] # noqa: E501
238
+ end_date (datetime, none_type): [optional] # noqa: E501
241
239
  monthly_pacing (float, none_type): [optional] # noqa: E501
242
240
  on_behalf_company_name (str, none_type): [optional] # noqa: E501
241
+ promoted_brand_ids ([str]): [optional] # noqa: E501
242
+ start_date (datetime, none_type): [optional] # noqa: E501
243
243
  status (str): [optional] # noqa: E501
244
244
  type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
245
245
  view_attribution_scope (str, none_type): [optional] # noqa: E501
@@ -276,14 +276,9 @@ class CampaignV202301(ModelNormal):
276
276
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
277
277
 
278
278
  self.account_id = account_id
279
- self.budget_remaining = budget_remaining
280
- self.budget_spent = budget_spent
281
279
  self.created_at = created_at
282
- self.end_date = end_date
283
280
  self.is_auto_daily_pacing = is_auto_daily_pacing
284
281
  self.name = name
285
- self.promoted_brand_ids = promoted_brand_ids
286
- self.start_date = start_date
287
282
  self.updated_at = updated_at
288
283
  for var_name, var_value in kwargs.items():
289
284
  if var_name not in self.attribute_map and \
@@ -305,19 +300,14 @@ class CampaignV202301(ModelNormal):
305
300
  ])
306
301
 
307
302
  @convert_js_args_to_python_args
308
- def __init__(self, account_id, budget_remaining, budget_spent, created_at, end_date, is_auto_daily_pacing, name, promoted_brand_ids, start_date, updated_at, *args, **kwargs): # noqa: E501
303
+ def __init__(self, account_id, created_at, is_auto_daily_pacing, name, updated_at, *args, **kwargs): # noqa: E501
309
304
  """CampaignV202301 - a model defined in OpenAPI
310
305
 
311
306
  Args:
312
307
  account_id (str):
313
- budget_remaining (float, none_type):
314
- budget_spent (float, none_type):
315
308
  created_at (datetime):
316
- end_date (datetime, none_type):
317
309
  is_auto_daily_pacing (bool):
318
310
  name (str):
319
- promoted_brand_ids ([str]):
320
- start_date (datetime, none_type):
321
311
  updated_at (datetime):
322
312
 
323
313
  Keyword Args:
@@ -352,13 +342,18 @@ class CampaignV202301(ModelNormal):
352
342
  through its discriminator because we passed in
353
343
  _visited_composed_classes = (Animal,)
354
344
  budget (float, none_type): [optional] # noqa: E501
345
+ budget_remaining (float, none_type): [optional] # noqa: E501
346
+ budget_spent (float, none_type): [optional] # noqa: E501
355
347
  click_attribution_scope (str, none_type): [optional] # noqa: E501
356
348
  click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
357
349
  company_name (str, none_type): [optional] # noqa: E501
358
350
  daily_pacing (float, none_type): [optional] # noqa: E501
359
351
  drawable_balance_ids ([str]): [optional] # noqa: E501
352
+ end_date (datetime, none_type): [optional] # noqa: E501
360
353
  monthly_pacing (float, none_type): [optional] # noqa: E501
361
354
  on_behalf_company_name (str, none_type): [optional] # noqa: E501
355
+ promoted_brand_ids ([str]): [optional] # noqa: E501
356
+ start_date (datetime, none_type): [optional] # noqa: E501
362
357
  status (str): [optional] # noqa: E501
363
358
  type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
364
359
  view_attribution_scope (str, none_type): [optional] # noqa: E501
@@ -393,14 +388,9 @@ class CampaignV202301(ModelNormal):
393
388
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
394
389
 
395
390
  self.account_id = account_id
396
- self.budget_remaining = budget_remaining
397
- self.budget_spent = budget_spent
398
391
  self.created_at = created_at
399
- self.end_date = end_date
400
392
  self.is_auto_daily_pacing = is_auto_daily_pacing
401
393
  self.name = name
402
- self.promoted_brand_ids = promoted_brand_ids
403
- self.start_date = start_date
404
394
  self.updated_at = updated_at
405
395
  for var_name, var_value in kwargs.items():
406
396
  if var_name not in self.attribute_map and \
@@ -81,9 +81,9 @@ class ChangeDatesOfBalanceV2(ModelNormal):
81
81
  and the value is attribute type.
82
82
  """
83
83
  return {
84
- 'end_date': (str, none_type,), # noqa: E501
85
- 'memo': (str, none_type,), # noqa: E501
86
- 'start_date': (str, none_type,), # noqa: E501
84
+ 'end_date': (str,), # noqa: E501
85
+ 'memo': (str,), # noqa: E501
86
+ 'start_date': (str,), # noqa: E501
87
87
  }
88
88
 
89
89
  @cached_property
@@ -138,9 +138,9 @@ class ChangeDatesOfBalanceV2(ModelNormal):
138
138
  Animal class but this time we won't travel
139
139
  through its discriminator because we passed in
140
140
  _visited_composed_classes = (Animal,)
141
- end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
142
- memo (str, none_type): Memo.. [optional] # noqa: E501
143
- start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
141
+ end_date (str): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
142
+ memo (str): Memo.. [optional] # noqa: E501
143
+ start_date (str): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -226,9 +226,9 @@ class ChangeDatesOfBalanceV2(ModelNormal):
226
226
  Animal class but this time we won't travel
227
227
  through its discriminator because we passed in
228
228
  _visited_composed_classes = (Animal,)
229
- end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
230
- memo (str, none_type): Memo.. [optional] # noqa: E501
231
- start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
229
+ end_date (str): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
230
+ memo (str): Memo.. [optional] # noqa: E501
231
+ start_date (str): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
232
232
  """
233
233
 
234
234
  _check_type = kwargs.pop('_check_type', True)