criteo-api-retailmedia-sdk 2025.7.0.250915__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.250915.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2025.7.0.250915.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.250915.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/WHEEL +0 -0
  80. {criteo_api_retailmedia_sdk-2025.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/top_level.txt +0 -0
@@ -23,11 +23,11 @@ from criteo_api_retailmedia_v2025_07.model_utils import ( # noqa: F401
23
23
  )
24
24
  from criteo_api_retailmedia_v2025_07.model.add_funds_to_balance_v2_request import AddFundsToBalanceV2Request
25
25
  from criteo_api_retailmedia_v2025_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse
26
+ from criteo_api_retailmedia_v2025_07.model.balance_response_v2_paged_list_response import BalanceResponseV2PagedListResponse
26
27
  from criteo_api_retailmedia_v2025_07.model.balance_response_v2_response import BalanceResponseV2Response
27
28
  from criteo_api_retailmedia_v2025_07.model.change_dates_of_balance_v2_request import ChangeDatesOfBalanceV2Request
28
29
  from criteo_api_retailmedia_v2025_07.model.create_balance_v2_request import CreateBalanceV2Request
29
30
  from criteo_api_retailmedia_v2025_07.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1
30
- from criteo_api_retailmedia_v2025_07.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2
31
31
  from criteo_api_retailmedia_v2025_07.model.update_balance_model_v2_request import UpdateBalanceModelV2Request
32
32
 
33
33
 
@@ -42,26 +42,26 @@ class BalanceApi(object):
42
42
  if api_client is None:
43
43
  api_client = ApiClient()
44
44
  self.api_client = api_client
45
- self.get_api202110_external_balance_campaigns_by_balance_id_endpoint = _Endpoint(
45
+ self.add_funds_by_account_and_balance_id_endpoint = _Endpoint(
46
46
  settings={
47
- 'response_type': (BalanceCampaign202110PagedListResponse,),
47
+ 'response_type': (BalanceResponseV2Response,),
48
48
  'auth': [
49
49
  'oauth',
50
50
  'oauth'
51
51
  ],
52
- 'endpoint_path': '/2025-07/retail-media/balances/{balance-id}/campaigns',
53
- 'operation_id': 'get_api202110_external_balance_campaigns_by_balance_id',
54
- 'http_method': 'GET',
52
+ 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances/{balance-id}/add-funds',
53
+ 'operation_id': 'add_funds_by_account_and_balance_id',
54
+ 'http_method': 'POST',
55
55
  'servers': None,
56
56
  },
57
57
  params_map={
58
58
  'all': [
59
+ 'account_id',
59
60
  'balance_id',
60
- 'limit_to_id',
61
- 'page_index',
62
- 'page_size',
61
+ 'add_funds_to_balance_v2_request',
63
62
  ],
64
63
  'required': [
64
+ 'account_id',
65
65
  'balance_id',
66
66
  ],
67
67
  'nullable': [
@@ -77,57 +77,115 @@ class BalanceApi(object):
77
77
  'allowed_values': {
78
78
  },
79
79
  'openapi_types': {
80
+ 'account_id':
81
+ (str,),
80
82
  'balance_id':
81
83
  (str,),
82
- 'limit_to_id':
83
- ([str],),
84
- 'page_index':
85
- (int,),
86
- 'page_size':
87
- (int,),
84
+ 'add_funds_to_balance_v2_request':
85
+ (AddFundsToBalanceV2Request,),
88
86
  },
89
87
  'attribute_map': {
88
+ 'account_id': 'account-id',
90
89
  'balance_id': 'balance-id',
91
- 'limit_to_id': 'limitToId',
92
- 'page_index': 'pageIndex',
93
- 'page_size': 'pageSize',
94
90
  },
95
91
  'location_map': {
92
+ 'account_id': 'path',
96
93
  'balance_id': 'path',
97
- 'limit_to_id': 'query',
98
- 'page_index': 'query',
99
- 'page_size': 'query',
94
+ 'add_funds_to_balance_v2_request': 'body',
100
95
  },
101
96
  'collection_format_map': {
102
- 'limit_to_id': 'multi',
103
97
  }
104
98
  },
105
99
  headers_map={
106
100
  'accept': [
107
101
  'application/json'
108
102
  ],
109
- 'content_type': [],
103
+ 'content_type': [
104
+ 'application/json'
105
+ ]
106
+ },
107
+ api_client=api_client
108
+ )
109
+ self.change_dates_by_account_and_balance_id_endpoint = _Endpoint(
110
+ settings={
111
+ 'response_type': (BalanceResponseV2Response,),
112
+ 'auth': [
113
+ 'oauth',
114
+ 'oauth'
115
+ ],
116
+ 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances/{balance-id}/change-dates',
117
+ 'operation_id': 'change_dates_by_account_and_balance_id',
118
+ 'http_method': 'POST',
119
+ 'servers': None,
120
+ },
121
+ params_map={
122
+ 'all': [
123
+ 'account_id',
124
+ 'balance_id',
125
+ 'change_dates_of_balance_v2_request',
126
+ ],
127
+ 'required': [
128
+ 'account_id',
129
+ 'balance_id',
130
+ ],
131
+ 'nullable': [
132
+ ],
133
+ 'enum': [
134
+ ],
135
+ 'validation': [
136
+ ]
137
+ },
138
+ root_map={
139
+ 'validations': {
140
+ },
141
+ 'allowed_values': {
142
+ },
143
+ 'openapi_types': {
144
+ 'account_id':
145
+ (str,),
146
+ 'balance_id':
147
+ (str,),
148
+ 'change_dates_of_balance_v2_request':
149
+ (ChangeDatesOfBalanceV2Request,),
150
+ },
151
+ 'attribute_map': {
152
+ 'account_id': 'account-id',
153
+ 'balance_id': 'balance-id',
154
+ },
155
+ 'location_map': {
156
+ 'account_id': 'path',
157
+ 'balance_id': 'path',
158
+ 'change_dates_of_balance_v2_request': 'body',
159
+ },
160
+ 'collection_format_map': {
161
+ }
162
+ },
163
+ headers_map={
164
+ 'accept': [
165
+ 'application/json'
166
+ ],
167
+ 'content_type': [
168
+ 'application/json'
169
+ ]
110
170
  },
111
171
  api_client=api_client
112
172
  )
113
- self.get_api_v2_external_account_balances_by_account_id_endpoint = _Endpoint(
173
+ self.create_balance_by_account_id_endpoint = _Endpoint(
114
174
  settings={
115
- 'response_type': (PagedResourceCollectionOutcomeOfBalanceResponseV2,),
175
+ 'response_type': (BalanceResponseV2Response,),
116
176
  'auth': [
117
177
  'oauth',
118
178
  'oauth'
119
179
  ],
120
180
  'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances',
121
- 'operation_id': 'get_api_v2_external_account_balances_by_account_id',
122
- 'http_method': 'GET',
181
+ 'operation_id': 'create_balance_by_account_id',
182
+ 'http_method': 'POST',
123
183
  'servers': None,
124
184
  },
125
185
  params_map={
126
186
  'all': [
127
187
  'account_id',
128
- 'limit_to_id',
129
- 'page_index',
130
- 'page_size',
188
+ 'create_balance_v2_request',
131
189
  ],
132
190
  'required': [
133
191
  'account_id',
@@ -147,40 +205,30 @@ class BalanceApi(object):
147
205
  'openapi_types': {
148
206
  'account_id':
149
207
  (str,),
150
- 'limit_to_id':
151
- ([str],),
152
- 'page_index':
153
- (int,),
154
- 'page_size':
155
- (int,),
208
+ 'create_balance_v2_request':
209
+ (CreateBalanceV2Request,),
156
210
  },
157
211
  'attribute_map': {
158
212
  'account_id': 'account-id',
159
- 'limit_to_id': 'limitToId',
160
- 'page_index': 'pageIndex',
161
- 'page_size': 'pageSize',
162
213
  },
163
214
  'location_map': {
164
215
  'account_id': 'path',
165
- 'limit_to_id': 'query',
166
- 'page_index': 'query',
167
- 'page_size': 'query',
216
+ 'create_balance_v2_request': 'body',
168
217
  },
169
218
  'collection_format_map': {
170
- 'limit_to_id': 'multi',
171
219
  }
172
220
  },
173
221
  headers_map={
174
222
  'accept': [
175
- 'text/plain',
176
- 'application/json',
177
- 'text/json'
223
+ 'application/json'
178
224
  ],
179
- 'content_type': [],
225
+ 'content_type': [
226
+ 'application/json'
227
+ ]
180
228
  },
181
229
  api_client=api_client
182
230
  )
183
- self.get_api_v2_external_account_by_account_id_balancesbalance_id_endpoint = _Endpoint(
231
+ self.get_balance_by_account_and_balance_id_endpoint = _Endpoint(
184
232
  settings={
185
233
  'response_type': (BalanceResponseV2Response,),
186
234
  'auth': [
@@ -188,7 +236,7 @@ class BalanceApi(object):
188
236
  'oauth'
189
237
  ],
190
238
  'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances/{balance-id}',
191
- 'operation_id': 'get_api_v2_external_account_by_account_id_balancesbalance_id',
239
+ 'operation_id': 'get_balance_by_account_and_balance_id',
192
240
  'http_method': 'GET',
193
241
  'servers': None,
194
242
  },
@@ -232,9 +280,7 @@ class BalanceApi(object):
232
280
  },
233
281
  headers_map={
234
282
  'accept': [
235
- 'text/plain',
236
- 'application/json',
237
- 'text/json'
283
+ 'application/json'
238
284
  ],
239
285
  'content_type': [],
240
286
  },
@@ -319,223 +365,187 @@ class BalanceApi(object):
319
365
  },
320
366
  api_client=api_client
321
367
  )
322
- self.patch_api_v2_external_account_by_account_id_balancesbalance_id_endpoint = _Endpoint(
368
+ self.get_balances_by_account_id_endpoint = _Endpoint(
323
369
  settings={
324
- 'response_type': (BalanceResponseV2Response,),
370
+ 'response_type': (BalanceResponseV2PagedListResponse,),
325
371
  'auth': [
326
372
  'oauth',
327
373
  'oauth'
328
374
  ],
329
- 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances/{balance-id}',
330
- 'operation_id': 'patch_api_v2_external_account_by_account_id_balancesbalance_id',
331
- 'http_method': 'PATCH',
375
+ 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances',
376
+ 'operation_id': 'get_balances_by_account_id',
377
+ 'http_method': 'GET',
332
378
  'servers': None,
333
379
  },
334
380
  params_map={
335
381
  'all': [
336
382
  'account_id',
337
- 'balance_id',
338
- 'update_balance_model_v2_request',
383
+ 'limit_to_id',
384
+ 'page_index',
385
+ 'page_size',
339
386
  ],
340
387
  'required': [
341
388
  'account_id',
342
- 'balance_id',
343
- 'update_balance_model_v2_request',
344
389
  ],
345
390
  'nullable': [
346
391
  ],
347
392
  'enum': [
348
393
  ],
349
394
  'validation': [
395
+ 'page_index',
396
+ 'page_size',
350
397
  ]
351
398
  },
352
399
  root_map={
353
400
  'validations': {
401
+ ('page_index',): {
402
+
403
+ 'inclusive_maximum': 2147483647,
404
+ 'inclusive_minimum': 0,
405
+ },
406
+ ('page_size',): {
407
+
408
+ 'inclusive_maximum': 2147483647,
409
+ 'inclusive_minimum': 1,
410
+ },
354
411
  },
355
412
  'allowed_values': {
356
413
  },
357
414
  'openapi_types': {
358
415
  'account_id':
359
416
  (str,),
360
- 'balance_id':
361
- (str,),
362
- 'update_balance_model_v2_request':
363
- (UpdateBalanceModelV2Request,),
417
+ 'limit_to_id':
418
+ ([str],),
419
+ 'page_index':
420
+ (int,),
421
+ 'page_size':
422
+ (int,),
364
423
  },
365
424
  'attribute_map': {
366
425
  'account_id': 'account-id',
367
- 'balance_id': 'balance-id',
426
+ 'limit_to_id': 'limitToId',
427
+ 'page_index': 'pageIndex',
428
+ 'page_size': 'pageSize',
368
429
  },
369
430
  'location_map': {
370
431
  'account_id': 'path',
371
- 'balance_id': 'path',
372
- 'update_balance_model_v2_request': 'body',
432
+ 'limit_to_id': 'query',
433
+ 'page_index': 'query',
434
+ 'page_size': 'query',
373
435
  },
374
436
  'collection_format_map': {
437
+ 'limit_to_id': 'multi',
375
438
  }
376
439
  },
377
440
  headers_map={
378
441
  'accept': [
379
- 'text/plain',
380
- 'application/json',
381
- 'text/json'
382
- ],
383
- 'content_type': [
384
442
  'application/json'
385
- ]
443
+ ],
444
+ 'content_type': [],
386
445
  },
387
446
  api_client=api_client
388
447
  )
389
- self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint = _Endpoint(
448
+ self.get_campaigns_by_balance_id_endpoint = _Endpoint(
390
449
  settings={
391
- 'response_type': (BalanceResponseV2Response,),
450
+ 'response_type': (BalanceCampaign202110PagedListResponse,),
392
451
  'auth': [
393
452
  'oauth',
394
453
  'oauth'
395
454
  ],
396
- 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances/{balance-id}/add-funds',
397
- 'operation_id': 'post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id',
398
- 'http_method': 'POST',
455
+ 'endpoint_path': '/2025-07/retail-media/balances/{balance-id}/campaigns',
456
+ 'operation_id': 'get_campaigns_by_balance_id',
457
+ 'http_method': 'GET',
399
458
  'servers': None,
400
459
  },
401
460
  params_map={
402
461
  'all': [
403
- 'account_id',
404
462
  'balance_id',
405
- 'add_funds_to_balance_v2_request',
463
+ 'limit_to_id',
464
+ 'page_index',
465
+ 'page_size',
406
466
  ],
407
467
  'required': [
408
- 'account_id',
409
468
  'balance_id',
410
- 'add_funds_to_balance_v2_request',
411
469
  ],
412
470
  'nullable': [
413
471
  ],
414
472
  'enum': [
415
473
  ],
416
474
  'validation': [
475
+ 'page_index',
476
+ 'page_size',
417
477
  ]
418
478
  },
419
479
  root_map={
420
480
  'validations': {
481
+ ('page_index',): {
482
+
483
+ 'inclusive_maximum': 2147483647,
484
+ 'inclusive_minimum': 0,
485
+ },
486
+ ('page_size',): {
487
+
488
+ 'inclusive_maximum': 2147483647,
489
+ 'inclusive_minimum': 1,
490
+ },
421
491
  },
422
492
  'allowed_values': {
423
493
  },
424
494
  'openapi_types': {
425
- 'account_id':
426
- (str,),
427
495
  'balance_id':
428
496
  (str,),
429
- 'add_funds_to_balance_v2_request':
430
- (AddFundsToBalanceV2Request,),
497
+ 'limit_to_id':
498
+ ([str],),
499
+ 'page_index':
500
+ (int,),
501
+ 'page_size':
502
+ (int,),
431
503
  },
432
504
  'attribute_map': {
433
- 'account_id': 'account-id',
434
505
  'balance_id': 'balance-id',
506
+ 'limit_to_id': 'limitToId',
507
+ 'page_index': 'pageIndex',
508
+ 'page_size': 'pageSize',
435
509
  },
436
510
  'location_map': {
437
- 'account_id': 'path',
438
511
  'balance_id': 'path',
439
- 'add_funds_to_balance_v2_request': 'body',
512
+ 'limit_to_id': 'query',
513
+ 'page_index': 'query',
514
+ 'page_size': 'query',
440
515
  },
441
516
  'collection_format_map': {
517
+ 'limit_to_id': 'multi',
442
518
  }
443
519
  },
444
520
  headers_map={
445
521
  'accept': [
446
- 'text/plain',
447
- 'application/json',
448
- 'text/json'
449
- ],
450
- 'content_type': [
451
522
  'application/json'
452
- ]
453
- },
454
- api_client=api_client
455
- )
456
- self.post_api_v2_external_account_balances_by_account_id_endpoint = _Endpoint(
457
- settings={
458
- 'response_type': (BalanceResponseV2Response,),
459
- 'auth': [
460
- 'oauth',
461
- 'oauth'
462
- ],
463
- 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances',
464
- 'operation_id': 'post_api_v2_external_account_balances_by_account_id',
465
- 'http_method': 'POST',
466
- 'servers': None,
467
- },
468
- params_map={
469
- 'all': [
470
- 'account_id',
471
- 'create_balance_v2_request',
472
- ],
473
- 'required': [
474
- 'account_id',
475
- 'create_balance_v2_request',
476
- ],
477
- 'nullable': [
478
- ],
479
- 'enum': [
480
- ],
481
- 'validation': [
482
- ]
483
- },
484
- root_map={
485
- 'validations': {
486
- },
487
- 'allowed_values': {
488
- },
489
- 'openapi_types': {
490
- 'account_id':
491
- (str,),
492
- 'create_balance_v2_request':
493
- (CreateBalanceV2Request,),
494
- },
495
- 'attribute_map': {
496
- 'account_id': 'account-id',
497
- },
498
- 'location_map': {
499
- 'account_id': 'path',
500
- 'create_balance_v2_request': 'body',
501
- },
502
- 'collection_format_map': {
503
- }
504
- },
505
- headers_map={
506
- 'accept': [
507
- 'text/plain',
508
- 'application/json',
509
- 'text/json'
510
523
  ],
511
- 'content_type': [
512
- 'application/json'
513
- ]
524
+ 'content_type': [],
514
525
  },
515
526
  api_client=api_client
516
527
  )
517
- self.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id_endpoint = _Endpoint(
528
+ self.modify_balance_by_account_and_balance_id_endpoint = _Endpoint(
518
529
  settings={
519
530
  'response_type': (BalanceResponseV2Response,),
520
531
  'auth': [
521
532
  'oauth',
522
533
  'oauth'
523
534
  ],
524
- 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances/{balance-id}/change-dates',
525
- 'operation_id': 'post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id',
526
- 'http_method': 'POST',
535
+ 'endpoint_path': '/2025-07/retail-media/accounts/{account-id}/balances/{balance-id}',
536
+ 'operation_id': 'modify_balance_by_account_and_balance_id',
537
+ 'http_method': 'PATCH',
527
538
  'servers': None,
528
539
  },
529
540
  params_map={
530
541
  'all': [
531
542
  'account_id',
532
543
  'balance_id',
533
- 'change_dates_of_balance_v2_request',
544
+ 'update_balance_model_v2_request',
534
545
  ],
535
546
  'required': [
536
547
  'account_id',
537
548
  'balance_id',
538
- 'change_dates_of_balance_v2_request',
539
549
  ],
540
550
  'nullable': [
541
551
  ],
@@ -554,8 +564,8 @@ class BalanceApi(object):
554
564
  (str,),
555
565
  'balance_id':
556
566
  (str,),
557
- 'change_dates_of_balance_v2_request':
558
- (ChangeDatesOfBalanceV2Request,),
567
+ 'update_balance_model_v2_request':
568
+ (UpdateBalanceModelV2Request,),
559
569
  },
560
570
  'attribute_map': {
561
571
  'account_id': 'account-id',
@@ -564,16 +574,14 @@ class BalanceApi(object):
564
574
  'location_map': {
565
575
  'account_id': 'path',
566
576
  'balance_id': 'path',
567
- 'change_dates_of_balance_v2_request': 'body',
577
+ 'update_balance_model_v2_request': 'body',
568
578
  },
569
579
  'collection_format_map': {
570
580
  }
571
581
  },
572
582
  headers_map={
573
583
  'accept': [
574
- 'text/plain',
575
- 'application/json',
576
- 'text/json'
584
+ 'application/json'
577
585
  ],
578
586
  'content_type': [
579
587
  'application/json'
@@ -582,27 +590,27 @@ class BalanceApi(object):
582
590
  api_client=api_client
583
591
  )
584
592
 
585
- def get_api202110_external_balance_campaigns_by_balance_id(
593
+ def add_funds_by_account_and_balance_id(
586
594
  self,
595
+ account_id,
587
596
  balance_id,
588
597
  **kwargs
589
598
  ):
590
- """get_api202110_external_balance_campaigns_by_balance_id # noqa: E501
599
+ """add_funds_by_account_and_balance_id # noqa: E501
591
600
 
592
- Gets page of campaigns for the given balanceId # noqa: E501
601
+ Add funds to a balance for the given account id # noqa: E501
593
602
  This method makes a synchronous HTTP request by default. To make an
594
603
  asynchronous HTTP request, please pass async_req=True
595
604
 
596
- >>> thread = api.get_api202110_external_balance_campaigns_by_balance_id(balance_id, async_req=True)
605
+ >>> thread = api.add_funds_by_account_and_balance_id(account_id, balance_id, async_req=True)
597
606
  >>> result = thread.get()
598
607
 
599
608
  Args:
600
- balance_id (str): The balance to get campaigns from
609
+ account_id (str): The account of the balance
610
+ balance_id (str): The balance to add funds to
601
611
 
602
612
  Keyword Args:
603
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
604
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
605
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
613
+ add_funds_to_balance_v2_request (AddFundsToBalanceV2Request): An object that represents the available options of adding funds to a balance.. [optional]
606
614
  _return_http_data_only (bool): response data without head status
607
615
  code and headers. Default is True.
608
616
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -635,7 +643,7 @@ class BalanceApi(object):
635
643
  async_req (bool): execute request asynchronously
636
644
 
637
645
  Returns:
638
- BalanceCampaign202110PagedListResponse
646
+ BalanceResponseV2Response
639
647
  If the method is called asynchronously, returns the request
640
648
  thread.
641
649
  """
@@ -664,31 +672,33 @@ class BalanceApi(object):
664
672
  '_content_type')
665
673
  kwargs['_host_index'] = kwargs.get('_host_index')
666
674
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
675
+ kwargs['account_id'] = \
676
+ account_id
667
677
  kwargs['balance_id'] = \
668
678
  balance_id
669
- return self.get_api202110_external_balance_campaigns_by_balance_id_endpoint.call_with_http_info(**kwargs)
679
+ return self.add_funds_by_account_and_balance_id_endpoint.call_with_http_info(**kwargs)
670
680
 
671
- def get_api_v2_external_account_balances_by_account_id(
681
+ def change_dates_by_account_and_balance_id(
672
682
  self,
673
683
  account_id,
684
+ balance_id,
674
685
  **kwargs
675
686
  ):
676
- """get_api_v2_external_account_balances_by_account_id # noqa: E501
687
+ """change_dates_by_account_and_balance_id # noqa: E501
677
688
 
678
- Gets page of balance objects for the given account id # noqa: E501
689
+ Change dates of a balance for the given account id # noqa: E501
679
690
  This method makes a synchronous HTTP request by default. To make an
680
691
  asynchronous HTTP request, please pass async_req=True
681
692
 
682
- >>> thread = api.get_api_v2_external_account_balances_by_account_id(account_id, async_req=True)
693
+ >>> thread = api.change_dates_by_account_and_balance_id(account_id, balance_id, async_req=True)
683
694
  >>> result = thread.get()
684
695
 
685
696
  Args:
686
- account_id (str): The account to get balances for
697
+ account_id (str): The account of the balance
698
+ balance_id (str): The balance to change the dates
687
699
 
688
700
  Keyword Args:
689
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
690
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
691
- page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
701
+ change_dates_of_balance_v2_request (ChangeDatesOfBalanceV2Request): An object that represents the available options to modify schedule of a balance.. [optional]
692
702
  _return_http_data_only (bool): response data without head status
693
703
  code and headers. Default is True.
694
704
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -721,7 +731,7 @@ class BalanceApi(object):
721
731
  async_req (bool): execute request asynchronously
722
732
 
723
733
  Returns:
724
- PagedResourceCollectionOutcomeOfBalanceResponseV2
734
+ BalanceResponseV2Response
725
735
  If the method is called asynchronously, returns the request
726
736
  thread.
727
737
  """
@@ -752,28 +762,29 @@ class BalanceApi(object):
752
762
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
753
763
  kwargs['account_id'] = \
754
764
  account_id
755
- return self.get_api_v2_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
765
+ kwargs['balance_id'] = \
766
+ balance_id
767
+ return self.change_dates_by_account_and_balance_id_endpoint.call_with_http_info(**kwargs)
756
768
 
757
- def get_api_v2_external_account_by_account_id_balancesbalance_id(
769
+ def create_balance_by_account_id(
758
770
  self,
759
771
  account_id,
760
- balance_id,
761
772
  **kwargs
762
773
  ):
763
- """get_api_v2_external_account_by_account_id_balancesbalance_id # noqa: E501
774
+ """create_balance_by_account_id # noqa: E501
764
775
 
765
- Get a balance for the given account id and balance id # noqa: E501
776
+ Create balance for the given account id # noqa: E501
766
777
  This method makes a synchronous HTTP request by default. To make an
767
778
  asynchronous HTTP request, please pass async_req=True
768
779
 
769
- >>> thread = api.get_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, async_req=True)
780
+ >>> thread = api.create_balance_by_account_id(account_id, async_req=True)
770
781
  >>> result = thread.get()
771
782
 
772
783
  Args:
773
- account_id (str): The account of the balance
774
- balance_id (str): The balance id
784
+ account_id (str): The account to create balances for
775
785
 
776
786
  Keyword Args:
787
+ create_balance_v2_request (CreateBalanceV2Request): An object that represents the available options to set when creating a Retail Media Balance. [optional]
777
788
  _return_http_data_only (bool): response data without head status
778
789
  code and headers. Default is True.
779
790
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -837,31 +848,28 @@ class BalanceApi(object):
837
848
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
838
849
  kwargs['account_id'] = \
839
850
  account_id
840
- kwargs['balance_id'] = \
841
- balance_id
842
- return self.get_api_v2_external_account_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
851
+ return self.create_balance_by_account_id_endpoint.call_with_http_info(**kwargs)
843
852
 
844
- def get_balance_history(
853
+ def get_balance_by_account_and_balance_id(
845
854
  self,
855
+ account_id,
846
856
  balance_id,
847
857
  **kwargs
848
858
  ):
849
- """get_balance_history # noqa: E501
859
+ """get_balance_by_account_and_balance_id # noqa: E501
850
860
 
851
- Gets the balance's historical change data. # noqa: E501
861
+ Get a balance for the given account id and balance id # noqa: E501
852
862
  This method makes a synchronous HTTP request by default. To make an
853
863
  asynchronous HTTP request, please pass async_req=True
854
864
 
855
- >>> thread = api.get_balance_history(balance_id, async_req=True)
865
+ >>> thread = api.get_balance_by_account_and_balance_id(account_id, balance_id, async_req=True)
856
866
  >>> result = thread.get()
857
867
 
858
868
  Args:
859
- balance_id (str): Balance id.
869
+ account_id (str): The account of the balance
870
+ balance_id (str): The balance id
860
871
 
861
872
  Keyword Args:
862
- limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25
863
- limit_to_change_types (str): Comma separated change types string that will be queried.. [optional]
864
- offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0
865
873
  _return_http_data_only (bool): response data without head status
866
874
  code and headers. Default is True.
867
875
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -894,7 +902,7 @@ class BalanceApi(object):
894
902
  async_req (bool): execute request asynchronously
895
903
 
896
904
  Returns:
897
- PageOfBalanceHistoryChangeDataCaptureV1
905
+ BalanceResponseV2Response
898
906
  If the method is called asynchronously, returns the request
899
907
  thread.
900
908
  """
@@ -923,32 +931,33 @@ class BalanceApi(object):
923
931
  '_content_type')
924
932
  kwargs['_host_index'] = kwargs.get('_host_index')
925
933
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
934
+ kwargs['account_id'] = \
935
+ account_id
926
936
  kwargs['balance_id'] = \
927
937
  balance_id
928
- return self.get_balance_history_endpoint.call_with_http_info(**kwargs)
938
+ return self.get_balance_by_account_and_balance_id_endpoint.call_with_http_info(**kwargs)
929
939
 
930
- def patch_api_v2_external_account_by_account_id_balancesbalance_id(
940
+ def get_balance_history(
931
941
  self,
932
- account_id,
933
942
  balance_id,
934
- update_balance_model_v2_request,
935
943
  **kwargs
936
944
  ):
937
- """patch_api_v2_external_account_by_account_id_balancesbalance_id # noqa: E501
945
+ """get_balance_history # noqa: E501
938
946
 
939
- Modify a balance for the given account id # noqa: E501
947
+ Gets the balance's historical change data. # noqa: E501
940
948
  This method makes a synchronous HTTP request by default. To make an
941
949
  asynchronous HTTP request, please pass async_req=True
942
950
 
943
- >>> thread = api.patch_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, update_balance_model_v2_request, async_req=True)
951
+ >>> thread = api.get_balance_history(balance_id, async_req=True)
944
952
  >>> result = thread.get()
945
953
 
946
954
  Args:
947
- account_id (str): The account of the balance
948
- balance_id (str): The balance to change the dates
949
- update_balance_model_v2_request (UpdateBalanceModelV2Request): An object that represents the available options to modify a balance.
955
+ balance_id (str): Balance id.
950
956
 
951
957
  Keyword Args:
958
+ limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25
959
+ limit_to_change_types (str): Comma separated change types string that will be queried.. [optional]
960
+ offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0
952
961
  _return_http_data_only (bool): response data without head status
953
962
  code and headers. Default is True.
954
963
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -981,7 +990,7 @@ class BalanceApi(object):
981
990
  async_req (bool): execute request asynchronously
982
991
 
983
992
  Returns:
984
- BalanceResponseV2Response
993
+ PageOfBalanceHistoryChangeDataCaptureV1
985
994
  If the method is called asynchronously, returns the request
986
995
  thread.
987
996
  """
@@ -1010,36 +1019,31 @@ class BalanceApi(object):
1010
1019
  '_content_type')
1011
1020
  kwargs['_host_index'] = kwargs.get('_host_index')
1012
1021
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1013
- kwargs['account_id'] = \
1014
- account_id
1015
1022
  kwargs['balance_id'] = \
1016
1023
  balance_id
1017
- kwargs['update_balance_model_v2_request'] = \
1018
- update_balance_model_v2_request
1019
- return self.patch_api_v2_external_account_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
1024
+ return self.get_balance_history_endpoint.call_with_http_info(**kwargs)
1020
1025
 
1021
- def post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(
1026
+ def get_balances_by_account_id(
1022
1027
  self,
1023
1028
  account_id,
1024
- balance_id,
1025
- add_funds_to_balance_v2_request,
1026
1029
  **kwargs
1027
1030
  ):
1028
- """post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id # noqa: E501
1031
+ """get_balances_by_account_id # noqa: E501
1029
1032
 
1030
- Add funds to a balance for the given account id # noqa: E501
1033
+ Gets page of balance objects for the given account id # noqa: E501
1031
1034
  This method makes a synchronous HTTP request by default. To make an
1032
1035
  asynchronous HTTP request, please pass async_req=True
1033
1036
 
1034
- >>> thread = api.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(account_id, balance_id, add_funds_to_balance_v2_request, async_req=True)
1037
+ >>> thread = api.get_balances_by_account_id(account_id, async_req=True)
1035
1038
  >>> result = thread.get()
1036
1039
 
1037
1040
  Args:
1038
- account_id (str): The account of the balance
1039
- balance_id (str): The balance to add funds to
1040
- add_funds_to_balance_v2_request (AddFundsToBalanceV2Request): An object that represents the available options of adding funds to a balance.
1041
+ account_id (str): The account to get balances for
1041
1042
 
1042
1043
  Keyword Args:
1044
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
1045
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
1046
+ page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
1043
1047
  _return_http_data_only (bool): response data without head status
1044
1048
  code and headers. Default is True.
1045
1049
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -1072,7 +1076,7 @@ class BalanceApi(object):
1072
1076
  async_req (bool): execute request asynchronously
1073
1077
 
1074
1078
  Returns:
1075
- BalanceResponseV2Response
1079
+ BalanceResponseV2PagedListResponse
1076
1080
  If the method is called asynchronously, returns the request
1077
1081
  thread.
1078
1082
  """
@@ -1103,32 +1107,29 @@ class BalanceApi(object):
1103
1107
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1104
1108
  kwargs['account_id'] = \
1105
1109
  account_id
1106
- kwargs['balance_id'] = \
1107
- balance_id
1108
- kwargs['add_funds_to_balance_v2_request'] = \
1109
- add_funds_to_balance_v2_request
1110
- return self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
1110
+ return self.get_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
1111
1111
 
1112
- def post_api_v2_external_account_balances_by_account_id(
1112
+ def get_campaigns_by_balance_id(
1113
1113
  self,
1114
- account_id,
1115
- create_balance_v2_request,
1114
+ balance_id,
1116
1115
  **kwargs
1117
1116
  ):
1118
- """post_api_v2_external_account_balances_by_account_id # noqa: E501
1117
+ """get_campaigns_by_balance_id # noqa: E501
1119
1118
 
1120
- Create balance for the given account id # noqa: E501
1119
+ Gets page of campaigns for the given balanceId # noqa: E501
1121
1120
  This method makes a synchronous HTTP request by default. To make an
1122
1121
  asynchronous HTTP request, please pass async_req=True
1123
1122
 
1124
- >>> thread = api.post_api_v2_external_account_balances_by_account_id(account_id, create_balance_v2_request, async_req=True)
1123
+ >>> thread = api.get_campaigns_by_balance_id(balance_id, async_req=True)
1125
1124
  >>> result = thread.get()
1126
1125
 
1127
1126
  Args:
1128
- account_id (str): The account to create balances for
1129
- create_balance_v2_request (CreateBalanceV2Request): An object that represents the available options to set when creating a Retail Media Balance
1127
+ balance_id (str): The balance to get campaigns from
1130
1128
 
1131
1129
  Keyword Args:
1130
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
1131
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
1132
+ page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
1132
1133
  _return_http_data_only (bool): response data without head status
1133
1134
  code and headers. Default is True.
1134
1135
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -1161,7 +1162,7 @@ class BalanceApi(object):
1161
1162
  async_req (bool): execute request asynchronously
1162
1163
 
1163
1164
  Returns:
1164
- BalanceResponseV2Response
1165
+ BalanceCampaign202110PagedListResponse
1165
1166
  If the method is called asynchronously, returns the request
1166
1167
  thread.
1167
1168
  """
@@ -1190,34 +1191,31 @@ class BalanceApi(object):
1190
1191
  '_content_type')
1191
1192
  kwargs['_host_index'] = kwargs.get('_host_index')
1192
1193
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1193
- kwargs['account_id'] = \
1194
- account_id
1195
- kwargs['create_balance_v2_request'] = \
1196
- create_balance_v2_request
1197
- return self.post_api_v2_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
1194
+ kwargs['balance_id'] = \
1195
+ balance_id
1196
+ return self.get_campaigns_by_balance_id_endpoint.call_with_http_info(**kwargs)
1198
1197
 
1199
- def post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id(
1198
+ def modify_balance_by_account_and_balance_id(
1200
1199
  self,
1201
1200
  account_id,
1202
1201
  balance_id,
1203
- change_dates_of_balance_v2_request,
1204
1202
  **kwargs
1205
1203
  ):
1206
- """post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id # noqa: E501
1204
+ """modify_balance_by_account_and_balance_id # noqa: E501
1207
1205
 
1208
- Change dates of a balance for the given account id # noqa: E501
1206
+ Modify a balance for the given account id # noqa: E501
1209
1207
  This method makes a synchronous HTTP request by default. To make an
1210
1208
  asynchronous HTTP request, please pass async_req=True
1211
1209
 
1212
- >>> thread = api.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id(account_id, balance_id, change_dates_of_balance_v2_request, async_req=True)
1210
+ >>> thread = api.modify_balance_by_account_and_balance_id(account_id, balance_id, async_req=True)
1213
1211
  >>> result = thread.get()
1214
1212
 
1215
1213
  Args:
1216
1214
  account_id (str): The account of the balance
1217
1215
  balance_id (str): The balance to change the dates
1218
- change_dates_of_balance_v2_request (ChangeDatesOfBalanceV2Request): An object that represents the available options to modify schedule of a balance.
1219
1216
 
1220
1217
  Keyword Args:
1218
+ update_balance_model_v2_request (UpdateBalanceModelV2Request): An object that represents the available options to modify a balance.. [optional]
1221
1219
  _return_http_data_only (bool): response data without head status
1222
1220
  code and headers. Default is True.
1223
1221
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -1283,7 +1281,5 @@ class BalanceApi(object):
1283
1281
  account_id
1284
1282
  kwargs['balance_id'] = \
1285
1283
  balance_id
1286
- kwargs['change_dates_of_balance_v2_request'] = \
1287
- change_dates_of_balance_v2_request
1288
- return self.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
1284
+ return self.modify_balance_by_account_and_balance_id_endpoint.call_with_http_info(**kwargs)
1289
1285