criteo-api-retailmedia-sdk 2024.7.0.240731__py3-none-any.whl → 2024.7.0.241029__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 (47) hide show
  1. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/RECORD +43 -40
  3. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_07/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_07/api/analytics_api.py +3 -3
  6. criteo_api_retailmedia_v2024_07/api/balance_api.py +118 -90
  7. criteo_api_retailmedia_v2024_07/api/campaign_api.py +711 -707
  8. criteo_api_retailmedia_v2024_07/api_client.py +1 -1
  9. criteo_api_retailmedia_v2024_07/configuration.py +1 -1
  10. criteo_api_retailmedia_v2024_07/model/{external_add_funds_to_balance.py → add_funds_to_balance_v2.py} +12 -14
  11. criteo_api_retailmedia_v2024_07/model/{add_funds_to_balance_request.py → add_funds_to_balance_v2_request.py} +8 -8
  12. criteo_api_retailmedia_v2024_07/model/{external_balance_response.py → balance_response_v2.py} +46 -70
  13. criteo_api_retailmedia_v2024_07/model/{balance_response.py → balance_response_v2_response.py} +8 -8
  14. criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py +4 -0
  15. criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +4 -0
  16. criteo_api_retailmedia_v2024_07/model/change_dates_of_balance_v2.py +271 -0
  17. criteo_api_retailmedia_v2024_07/model/{change_dates_of_balance_request.py → change_dates_of_balance_v2_request.py} +8 -8
  18. criteo_api_retailmedia_v2024_07/model/{external_create_balance.py → create_balance_v2.py} +22 -34
  19. criteo_api_retailmedia_v2024_07/model/{create_balance_request.py → create_balance_v2_request.py} +8 -8
  20. criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py +4 -0
  21. criteo_api_retailmedia_v2024_07/model/external_account.py +4 -0
  22. criteo_api_retailmedia_v2024_07/model/line_item_product_status.py +291 -0
  23. criteo_api_retailmedia_v2024_07/model/{balance_response_paged_list_response.py → paged_resource_collection_outcome_of_balance_response_v2.py} +8 -8
  24. criteo_api_retailmedia_v2024_07/model/product_metadata.py +269 -0
  25. criteo_api_retailmedia_v2024_07/model/product_resource_outcome.py +266 -0
  26. criteo_api_retailmedia_v2024_07/model/promoted_product.py +270 -0
  27. criteo_api_retailmedia_v2024_07/model/promoted_product_resource.py +270 -0
  28. criteo_api_retailmedia_v2024_07/model/{external_promoted_product202110.py → promoted_product_resource_collection_input.py} +13 -14
  29. criteo_api_retailmedia_v2024_07/model/{promoted_product202110_paged_list_response.py → promoted_product_resource_collection_outcome.py} +25 -32
  30. criteo_api_retailmedia_v2024_07/model/{resource_of_add_funds_to_balance.py → resource_of_add_funds_to_balance_v2.py} +8 -8
  31. criteo_api_retailmedia_v2024_07/model/{resource_of_create_balance.py → resource_of_balance_response_v2.py} +8 -8
  32. criteo_api_retailmedia_v2024_07/model/{resource_of_update_balance_model.py → resource_of_change_dates_of_balance_v2.py} +8 -8
  33. criteo_api_retailmedia_v2024_07/model/{resource_of_balance_response.py → resource_of_create_balance_v2.py} +8 -8
  34. criteo_api_retailmedia_v2024_07/model/resource_of_update_balance_model_v2.py +277 -0
  35. criteo_api_retailmedia_v2024_07/model/retail_media_account.py +6 -2
  36. criteo_api_retailmedia_v2024_07/model/retail_media_brand_account_creation.py +6 -2
  37. criteo_api_retailmedia_v2024_07/model/retail_media_seller_account_creation.py +6 -2
  38. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
  39. criteo_api_retailmedia_v2024_07/model/section.py +6 -8
  40. criteo_api_retailmedia_v2024_07/model/{external_change_dates_of_balance.py → update_balance_model_v2.py} +22 -24
  41. criteo_api_retailmedia_v2024_07/model/{update_balance_model_request.py → update_balance_model_v2_request.py} +8 -8
  42. criteo_api_retailmedia_v2024_07/models/__init__.py +23 -20
  43. criteo_api_retailmedia_v2024_07/model/external_update_balance_model.py +0 -283
  44. criteo_api_retailmedia_v2024_07/model/promoted_product202110_list_request.py +0 -269
  45. criteo_api_retailmedia_v2024_07/model/resource_of_change_dates_of_balance.py +0 -277
  46. criteo_api_retailmedia_v2024_07/model/resource_of_promoted_product202110.py +0 -277
  47. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/top_level.txt +0 -0
@@ -76,7 +76,7 @@ class ApiClient(object):
76
76
  self.default_headers[header_name] = header_value
77
77
  self.cookie = cookie
78
78
  # Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/2024.07.0.240731/python'
79
+ self.user_agent = 'OpenAPI-Generator/2024.07.0.241029/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: 2024-07\n"\
398
- "SDK Package Version: 2024.07.0.240731".\
398
+ "SDK Package Version: 2024.07.0.241029".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAddFundsToBalance(ModelNormal):
33
+ class AddFundsToBalanceV2(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -82,8 +82,8 @@ class ExternalAddFundsToBalance(ModelNormal):
82
82
  """
83
83
  return {
84
84
  'delta_amount': (float,), # noqa: E501
85
- 'memo': (str,), # noqa: E501
86
- 'po_number': (str,), # noqa: E501
85
+ 'po_number': (str, none_type,), # noqa: E501
86
+ 'memo': (str, none_type,), # noqa: E501
87
87
  }
88
88
 
89
89
  @cached_property
@@ -93,8 +93,8 @@ class ExternalAddFundsToBalance(ModelNormal):
93
93
 
94
94
  attribute_map = {
95
95
  'delta_amount': 'deltaAmount', # noqa: E501
96
- 'memo': 'memo', # noqa: E501
97
96
  'po_number': 'poNumber', # noqa: E501
97
+ 'memo': 'memo', # noqa: E501
98
98
  }
99
99
 
100
100
  read_only_vars = {
@@ -104,12 +104,11 @@ class ExternalAddFundsToBalance(ModelNormal):
104
104
 
105
105
  @classmethod
106
106
  @convert_js_args_to_python_args
107
- def _from_openapi_data(cls, delta_amount, memo, *args, **kwargs): # noqa: E501
108
- """ExternalAddFundsToBalance - a model defined in OpenAPI
107
+ def _from_openapi_data(cls, delta_amount, *args, **kwargs): # noqa: E501
108
+ """AddFundsToBalanceV2 - a model defined in OpenAPI
109
109
 
110
110
  Args:
111
111
  delta_amount (float): Amount of billable funds to be added / decreased allotted to the balance.
112
- memo (str): Memo
113
112
 
114
113
  Keyword Args:
115
114
  _check_type (bool): if True, values for parameters in openapi_types
@@ -142,7 +141,8 @@ class ExternalAddFundsToBalance(ModelNormal):
142
141
  Animal class but this time we won't travel
143
142
  through its discriminator because we passed in
144
143
  _visited_composed_classes = (Animal,)
145
- po_number (str): Purchase Order number.. [optional] # noqa: E501
144
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
145
+ memo (str, none_type): Memo. [optional] # noqa: E501
146
146
  """
147
147
 
148
148
  _check_type = kwargs.pop('_check_type', True)
@@ -175,7 +175,6 @@ class ExternalAddFundsToBalance(ModelNormal):
175
175
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
176
176
 
177
177
  self.delta_amount = delta_amount
178
- self.memo = memo
179
178
  for var_name, var_value in kwargs.items():
180
179
  if var_name not in self.attribute_map and \
181
180
  self._configuration is not None and \
@@ -196,12 +195,11 @@ class ExternalAddFundsToBalance(ModelNormal):
196
195
  ])
197
196
 
198
197
  @convert_js_args_to_python_args
199
- def __init__(self, delta_amount, memo, *args, **kwargs): # noqa: E501
200
- """ExternalAddFundsToBalance - a model defined in OpenAPI
198
+ def __init__(self, delta_amount, *args, **kwargs): # noqa: E501
199
+ """AddFundsToBalanceV2 - a model defined in OpenAPI
201
200
 
202
201
  Args:
203
202
  delta_amount (float): Amount of billable funds to be added / decreased allotted to the balance.
204
- memo (str): Memo
205
203
 
206
204
  Keyword Args:
207
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -234,7 +232,8 @@ class ExternalAddFundsToBalance(ModelNormal):
234
232
  Animal class but this time we won't travel
235
233
  through its discriminator because we passed in
236
234
  _visited_composed_classes = (Animal,)
237
- po_number (str): Purchase Order number.. [optional] # noqa: E501
235
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
236
+ memo (str, none_type): Memo. [optional] # noqa: E501
238
237
  """
239
238
 
240
239
  _check_type = kwargs.pop('_check_type', True)
@@ -265,7 +264,6 @@ class ExternalAddFundsToBalance(ModelNormal):
265
264
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
266
265
 
267
266
  self.delta_amount = delta_amount
268
- self.memo = memo
269
267
  for var_name, var_value in kwargs.items():
270
268
  if var_name not in self.attribute_map and \
271
269
  self._configuration is not None and \
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.resource_of_add_funds_to_balance import ResourceOfAddFundsToBalance
34
- globals()['ResourceOfAddFundsToBalance'] = ResourceOfAddFundsToBalance
33
+ from criteo_api_retailmedia_v2024_07.model.resource_of_add_funds_to_balance_v2 import ResourceOfAddFundsToBalanceV2
34
+ globals()['ResourceOfAddFundsToBalanceV2'] = ResourceOfAddFundsToBalanceV2
35
35
 
36
36
 
37
- class AddFundsToBalanceRequest(ModelNormal):
37
+ class AddFundsToBalanceV2Request(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class AddFundsToBalanceRequest(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'data': (ResourceOfAddFundsToBalance,), # noqa: E501
90
+ 'data': (ResourceOfAddFundsToBalanceV2,), # noqa: E501
91
91
  }
92
92
 
93
93
  @cached_property
@@ -107,7 +107,7 @@ class AddFundsToBalanceRequest(ModelNormal):
107
107
  @classmethod
108
108
  @convert_js_args_to_python_args
109
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
- """AddFundsToBalanceRequest - a model defined in OpenAPI
110
+ """AddFundsToBalanceV2Request - a model defined in OpenAPI
111
111
 
112
112
  Keyword Args:
113
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -140,7 +140,7 @@ class AddFundsToBalanceRequest(ModelNormal):
140
140
  Animal class but this time we won't travel
141
141
  through its discriminator because we passed in
142
142
  _visited_composed_classes = (Animal,)
143
- data (ResourceOfAddFundsToBalance): [optional] # noqa: E501
143
+ data (ResourceOfAddFundsToBalanceV2): [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -193,7 +193,7 @@ class AddFundsToBalanceRequest(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, *args, **kwargs): # noqa: E501
196
- """AddFundsToBalanceRequest - a model defined in OpenAPI
196
+ """AddFundsToBalanceV2Request - a model defined in OpenAPI
197
197
 
198
198
  Keyword Args:
199
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -226,7 +226,7 @@ class AddFundsToBalanceRequest(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
- data (ResourceOfAddFundsToBalance): [optional] # noqa: E501
229
+ data (ResourceOfAddFundsToBalanceV2): [optional] # noqa: E501
230
230
  """
231
231
 
232
232
  _check_type = kwargs.pop('_check_type', True)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalBalanceResponse(ModelNormal):
33
+ class BalanceResponseV2(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -55,12 +55,6 @@ class ExternalBalanceResponse(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('status',): {
59
- 'UNKNOWN': "unknown",
60
- 'SCHEDULED': "scheduled",
61
- 'ACTIVE': "active",
62
- 'ENDED': "ended",
63
- },
64
58
  ('balance_type',): {
65
59
  'UNKNOWN': "unknown",
66
60
  'CAPPED': "capped",
@@ -77,6 +71,12 @@ class ExternalBalanceResponse(ModelNormal):
77
71
  'BILLBYCRITEO': "BillByCriteo",
78
72
  'UNKNOWN': "Unknown",
79
73
  },
74
+ ('status',): {
75
+ 'UNKNOWN': "unknown",
76
+ 'SCHEDULED': "scheduled",
77
+ 'ACTIVE': "active",
78
+ 'ENDED': "ended",
79
+ },
80
80
  }
81
81
 
82
82
  validations = {
@@ -104,20 +104,19 @@ class ExternalBalanceResponse(ModelNormal):
104
104
  """
105
105
  return {
106
106
  'name': (str,), # noqa: E501
107
- 'po_number': (str,), # noqa: E501
108
- 'memo': (str,), # noqa: E501
107
+ 'start_date': (date,), # noqa: E501
108
+ 'balance_type': (str,), # noqa: E501
109
+ 'spend_type': (str,), # noqa: E501
110
+ 'private_market_billing_type': (str,), # noqa: E501
111
+ 'po_number': (str, none_type,), # noqa: E501
112
+ 'memo': (str, none_type,), # noqa: E501
109
113
  'deposited': (float, none_type,), # noqa: E501
110
114
  'spent': (float, none_type,), # noqa: E501
111
115
  'remaining': (float, none_type,), # noqa: E501
112
- 'start_date': (date,), # noqa: E501
113
- 'end_date': (date,), # noqa: E501
116
+ 'end_date': (date, none_type,), # noqa: E501
114
117
  'status': (str,), # noqa: E501
115
118
  'created_at': (datetime,), # noqa: E501
116
119
  'updated_at': (datetime,), # noqa: E501
117
- 'balance_type': (str,), # noqa: E501
118
- 'sales_force_id': (str,), # noqa: E501
119
- 'spend_type': (str,), # noqa: E501
120
- 'private_market_billing_type': (str,), # noqa: E501
121
120
  }
122
121
 
123
122
  @cached_property
@@ -127,20 +126,19 @@ class ExternalBalanceResponse(ModelNormal):
127
126
 
128
127
  attribute_map = {
129
128
  'name': 'name', # noqa: E501
129
+ 'start_date': 'startDate', # noqa: E501
130
+ 'balance_type': 'balanceType', # noqa: E501
131
+ 'spend_type': 'spendType', # noqa: E501
132
+ 'private_market_billing_type': 'privateMarketBillingType', # noqa: E501
130
133
  'po_number': 'poNumber', # noqa: E501
131
134
  'memo': 'memo', # noqa: E501
132
135
  'deposited': 'deposited', # noqa: E501
133
136
  'spent': 'spent', # noqa: E501
134
137
  'remaining': 'remaining', # noqa: E501
135
- 'start_date': 'startDate', # noqa: E501
136
138
  'end_date': 'endDate', # noqa: E501
137
139
  'status': 'status', # noqa: E501
138
140
  'created_at': 'createdAt', # noqa: E501
139
141
  'updated_at': 'updatedAt', # noqa: E501
140
- 'balance_type': 'balanceType', # noqa: E501
141
- 'sales_force_id': 'salesForceId', # noqa: E501
142
- 'spend_type': 'spendType', # noqa: E501
143
- 'private_market_billing_type': 'privateMarketBillingType', # noqa: E501
144
142
  }
145
143
 
146
144
  read_only_vars = {
@@ -150,25 +148,15 @@ class ExternalBalanceResponse(ModelNormal):
150
148
 
151
149
  @classmethod
152
150
  @convert_js_args_to_python_args
153
- def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, start_date, end_date, status, created_at, updated_at, balance_type, sales_force_id, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
154
- """ExternalBalanceResponse - a model defined in OpenAPI
151
+ def _from_openapi_data(cls, name, start_date, balance_type, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
152
+ """BalanceResponseV2 - a model defined in OpenAPI
155
153
 
156
154
  Args:
157
155
  name (str): Name of the balance.
158
- po_number (str): Purchase Order number.
159
- memo (str): Memo
160
- deposited (float, none_type): Amount of billable funds allotted to the balance.
161
- spent (float, none_type):
162
- remaining (float, none_type):
163
- start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
164
- end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
165
- status (str):
166
- created_at (datetime):
167
- updated_at (datetime):
168
- balance_type (str): Type of the balance
169
- sales_force_id (str): SalesForceId the balance is linked to.
156
+ start_date (date): Start date of the balance in the format YYYY-MM-DD.
157
+ balance_type (str): Type of the balance.
170
158
  spend_type (str): Spend Type of the balance.
171
- private_market_billing_type (str): Billing type for Private Market.
159
+ private_market_billing_type (str): Billing type for Private Market of the balance.
172
160
 
173
161
  Keyword Args:
174
162
  _check_type (bool): if True, values for parameters in openapi_types
@@ -201,6 +189,15 @@ class ExternalBalanceResponse(ModelNormal):
201
189
  Animal class but this time we won't travel
202
190
  through its discriminator because we passed in
203
191
  _visited_composed_classes = (Animal,)
192
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
193
+ memo (str, none_type): Memo.. [optional] # noqa: E501
194
+ deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
195
+ spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
196
+ remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
197
+ end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
198
+ status (str): Status of the balance.. [optional] # noqa: E501
199
+ created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
200
+ updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
204
201
  """
205
202
 
206
203
  _check_type = kwargs.pop('_check_type', True)
@@ -233,18 +230,8 @@ class ExternalBalanceResponse(ModelNormal):
233
230
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
234
231
 
235
232
  self.name = name
236
- self.po_number = po_number
237
- self.memo = memo
238
- self.deposited = deposited
239
- self.spent = spent
240
- self.remaining = remaining
241
233
  self.start_date = start_date
242
- self.end_date = end_date
243
- self.status = status
244
- self.created_at = created_at
245
- self.updated_at = updated_at
246
234
  self.balance_type = balance_type
247
- self.sales_force_id = sales_force_id
248
235
  self.spend_type = spend_type
249
236
  self.private_market_billing_type = private_market_billing_type
250
237
  for var_name, var_value in kwargs.items():
@@ -267,25 +254,15 @@ class ExternalBalanceResponse(ModelNormal):
267
254
  ])
268
255
 
269
256
  @convert_js_args_to_python_args
270
- def __init__(self, name, po_number, memo, deposited, spent, remaining, start_date, end_date, status, created_at, updated_at, balance_type, sales_force_id, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
271
- """ExternalBalanceResponse - a model defined in OpenAPI
257
+ def __init__(self, name, start_date, balance_type, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
258
+ """BalanceResponseV2 - a model defined in OpenAPI
272
259
 
273
260
  Args:
274
261
  name (str): Name of the balance.
275
- po_number (str): Purchase Order number.
276
- memo (str): Memo
277
- deposited (float, none_type): Amount of billable funds allotted to the balance.
278
- spent (float, none_type):
279
- remaining (float, none_type):
280
- start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
281
- end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
282
- status (str):
283
- created_at (datetime):
284
- updated_at (datetime):
285
- balance_type (str): Type of the balance
286
- sales_force_id (str): SalesForceId the balance is linked to.
262
+ start_date (date): Start date of the balance in the format YYYY-MM-DD.
263
+ balance_type (str): Type of the balance.
287
264
  spend_type (str): Spend Type of the balance.
288
- private_market_billing_type (str): Billing type for Private Market.
265
+ private_market_billing_type (str): Billing type for Private Market of the balance.
289
266
 
290
267
  Keyword Args:
291
268
  _check_type (bool): if True, values for parameters in openapi_types
@@ -318,6 +295,15 @@ class ExternalBalanceResponse(ModelNormal):
318
295
  Animal class but this time we won't travel
319
296
  through its discriminator because we passed in
320
297
  _visited_composed_classes = (Animal,)
298
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
299
+ memo (str, none_type): Memo.. [optional] # noqa: E501
300
+ deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
301
+ spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
302
+ remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
303
+ end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
304
+ status (str): Status of the balance.. [optional] # noqa: E501
305
+ created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
306
+ updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
321
307
  """
322
308
 
323
309
  _check_type = kwargs.pop('_check_type', True)
@@ -348,18 +334,8 @@ class ExternalBalanceResponse(ModelNormal):
348
334
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
349
335
 
350
336
  self.name = name
351
- self.po_number = po_number
352
- self.memo = memo
353
- self.deposited = deposited
354
- self.spent = spent
355
- self.remaining = remaining
356
337
  self.start_date = start_date
357
- self.end_date = end_date
358
- self.status = status
359
- self.created_at = created_at
360
- self.updated_at = updated_at
361
338
  self.balance_type = balance_type
362
- self.sales_force_id = sales_force_id
363
339
  self.spend_type = spend_type
364
340
  self.private_market_billing_type = private_market_billing_type
365
341
  for var_name, var_value in kwargs.items():
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
34
- from criteo_api_retailmedia_v2024_07.model.resource_of_balance_response import ResourceOfBalanceResponse
34
+ from criteo_api_retailmedia_v2024_07.model.resource_of_balance_response_v2 import ResourceOfBalanceResponseV2
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ResourceOfBalanceResponse'] = ResourceOfBalanceResponse
36
+ globals()['ResourceOfBalanceResponseV2'] = ResourceOfBalanceResponseV2
37
37
 
38
38
 
39
- class BalanceResponse(ModelNormal):
39
+ class BalanceResponseV2Response(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -89,7 +89,7 @@ class BalanceResponse(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': (ResourceOfBalanceResponse,), # noqa: E501
92
+ 'data': (ResourceOfBalanceResponseV2,), # noqa: E501
93
93
  'warnings': ([CommonProblem],), # noqa: E501
94
94
  'errors': ([CommonProblem],), # noqa: E501
95
95
  }
@@ -115,7 +115,7 @@ class BalanceResponse(ModelNormal):
115
115
  @classmethod
116
116
  @convert_js_args_to_python_args
117
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
- """BalanceResponse - a model defined in OpenAPI
118
+ """BalanceResponseV2Response - a model defined in OpenAPI
119
119
 
120
120
  Keyword Args:
121
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +148,7 @@ class BalanceResponse(ModelNormal):
148
148
  Animal class but this time we won't travel
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
- data (ResourceOfBalanceResponse): [optional] # noqa: E501
151
+ data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
152
152
  warnings ([CommonProblem]): [optional] # noqa: E501
153
153
  errors ([CommonProblem]): [optional] # noqa: E501
154
154
  """
@@ -203,7 +203,7 @@ class BalanceResponse(ModelNormal):
203
203
 
204
204
  @convert_js_args_to_python_args
205
205
  def __init__(self, *args, **kwargs): # noqa: E501
206
- """BalanceResponse - a model defined in OpenAPI
206
+ """BalanceResponseV2Response - a model defined in OpenAPI
207
207
 
208
208
  Keyword Args:
209
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,7 +236,7 @@ class BalanceResponse(ModelNormal):
236
236
  Animal class but this time we won't travel
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
- data (ResourceOfBalanceResponse): [optional] # noqa: E501
239
+ data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
240
240
  warnings ([CommonProblem]): [optional] # noqa: E501
241
241
  errors ([CommonProblem]): [optional] # noqa: E501
242
242
  """
@@ -132,6 +132,7 @@ class CampaignAttributesV202301(ModelNormal):
132
132
  'click_attribution_scope': (str, none_type,), # noqa: E501
133
133
  'view_attribution_scope': (str, none_type,), # noqa: E501
134
134
  'company_name': (str, none_type,), # noqa: E501
135
+ 'on_behalf_company_name': (str, none_type,), # noqa: E501
135
136
  }
136
137
 
137
138
  @cached_property
@@ -154,6 +155,7 @@ class CampaignAttributesV202301(ModelNormal):
154
155
  'click_attribution_scope': 'clickAttributionScope', # noqa: E501
155
156
  'view_attribution_scope': 'viewAttributionScope', # noqa: E501
156
157
  'company_name': 'companyName', # noqa: E501
158
+ 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
157
159
  }
158
160
 
159
161
  read_only_vars = {
@@ -213,6 +215,7 @@ class CampaignAttributesV202301(ModelNormal):
213
215
  click_attribution_scope (str, none_type): [optional] # noqa: E501
214
216
  view_attribution_scope (str, none_type): [optional] # noqa: E501
215
217
  company_name (str, none_type): [optional] # noqa: E501
218
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
216
219
  """
217
220
 
218
221
  _check_type = kwargs.pop('_check_type', True)
@@ -318,6 +321,7 @@ class CampaignAttributesV202301(ModelNormal):
318
321
  click_attribution_scope (str, none_type): [optional] # noqa: E501
319
322
  view_attribution_scope (str, none_type): [optional] # noqa: E501
320
323
  company_name (str, none_type): [optional] # noqa: E501
324
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
321
325
  """
322
326
 
323
327
  _check_type = kwargs.pop('_check_type', True)
@@ -146,6 +146,7 @@ class CampaignV202301(ModelNormal):
146
146
  'click_attribution_scope': (str, none_type,), # noqa: E501
147
147
  'view_attribution_scope': (str, none_type,), # noqa: E501
148
148
  'company_name': (str, none_type,), # noqa: E501
149
+ 'on_behalf_company_name': (str, none_type,), # noqa: E501
149
150
  }
150
151
 
151
152
  @cached_property
@@ -175,6 +176,7 @@ class CampaignV202301(ModelNormal):
175
176
  'click_attribution_scope': 'clickAttributionScope', # noqa: E501
176
177
  'view_attribution_scope': 'viewAttributionScope', # noqa: E501
177
178
  'company_name': 'companyName', # noqa: E501
179
+ 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
178
180
  }
179
181
 
180
182
  read_only_vars = {
@@ -241,6 +243,7 @@ class CampaignV202301(ModelNormal):
241
243
  click_attribution_scope (str, none_type): [optional] # noqa: E501
242
244
  view_attribution_scope (str, none_type): [optional] # noqa: E501
243
245
  company_name (str, none_type): [optional] # noqa: E501
246
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
244
247
  """
245
248
 
246
249
  _check_type = kwargs.pop('_check_type', True)
@@ -359,6 +362,7 @@ class CampaignV202301(ModelNormal):
359
362
  click_attribution_scope (str, none_type): [optional] # noqa: E501
360
363
  view_attribution_scope (str, none_type): [optional] # noqa: E501
361
364
  company_name (str, none_type): [optional] # noqa: E501
365
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
362
366
  """
363
367
 
364
368
  _check_type = kwargs.pop('_check_type', True)