criteo-api-retailmedia-sdk 0.0.240626__py3-none-any.whl → 0.0.240808__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 (81) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +50 -343
  3. criteo_api_retailmedia_preview/api/audience_api.py +835 -58
  4. criteo_api_retailmedia_preview/api/balance_api.py +1134 -0
  5. criteo_api_retailmedia_preview/api/campaign_api.py +175 -168
  6. criteo_api_retailmedia_preview/api_client.py +4 -4
  7. criteo_api_retailmedia_preview/apis/__init__.py +1 -0
  8. criteo_api_retailmedia_preview/configuration.py +1 -1
  9. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +277 -0
  10. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brand_account_creation.py → add_funds_to_balance_v2_request.py} +16 -9
  11. criteo_api_retailmedia_preview/model/application_summary_model_response.py +0 -4
  12. criteo_api_retailmedia_preview/model/async_accounts_report.py +2 -0
  13. criteo_api_retailmedia_preview/model/async_campaigns_report.py +2 -0
  14. criteo_api_retailmedia_preview/model/async_line_items_report.py +2 -0
  15. criteo_api_retailmedia_preview/model/{insertion_order_history_change_data_capture.py → balance_history_change_data_capture_v1.py} +11 -11
  16. criteo_api_retailmedia_preview/model/balance_response_v2.py +351 -0
  17. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +281 -0
  18. criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +271 -0
  19. criteo_api_retailmedia_preview/model/change_dates_of_balance_v2_request.py +269 -0
  20. criteo_api_retailmedia_preview/model/{change_details.py → change_details_v1.py} +3 -3
  21. criteo_api_retailmedia_preview/model/change_details_v2.py +275 -0
  22. criteo_api_retailmedia_preview/model/common_problem.py +2 -2
  23. criteo_api_retailmedia_preview/model/create_balance_v2.py +302 -0
  24. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brands.py → create_balance_v2_request.py} +16 -9
  25. criteo_api_retailmedia_preview/model/external_catalog_status.py +312 -0
  26. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +303 -0
  27. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py +285 -0
  28. criteo_api_retailmedia_preview/model/json_api_body_without_id_of_seller_catalog_request_and_seller_catalog_request.py +279 -0
  29. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +8 -6
  30. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +8 -6
  31. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +8 -6
  32. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +269 -0
  33. criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +287 -0
  34. criteo_api_retailmedia_preview/model/{retail_media_brands.py → nillable_string.py} +14 -8
  35. criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +276 -0
  36. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture.py → page_of_insertion_order_history_change_data_capture_v2.py} +8 -8
  37. criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +287 -0
  38. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +6 -4
  39. criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +277 -0
  40. criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py +277 -0
  41. criteo_api_retailmedia_preview/model/resource_of_change_dates_of_balance_v2.py +277 -0
  42. criteo_api_retailmedia_preview/model/resource_of_create_balance_v2.py +277 -0
  43. criteo_api_retailmedia_preview/model/resource_of_update_balance_model_v2.py +277 -0
  44. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +6 -6
  45. criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py +269 -0
  46. criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py +269 -0
  47. criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py +269 -0
  48. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +281 -0
  49. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brand_account_creation.py → rm_audience_segment_create_entity_v1_resource.py} +16 -9
  50. criteo_api_retailmedia_preview/model/rm_audience_segment_delete_entity_v1_resource.py +271 -0
  51. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +323 -0
  52. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +281 -0
  53. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_resource.py +277 -0
  54. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +287 -0
  55. criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +281 -0
  56. criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_resource.py +271 -0
  57. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +277 -0
  58. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +273 -0
  59. criteo_api_retailmedia_preview/model/rm_audience_segment_search_input_v1.py +269 -0
  60. criteo_api_retailmedia_preview/model/{retail_media_brand_account_creation.py → rm_audience_segment_search_metadata_v1.py} +22 -16
  61. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +277 -0
  62. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1_resource.py +277 -0
  63. criteo_api_retailmedia_preview/model/rm_contact_list_create_v1.py +270 -0
  64. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +271 -0
  65. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py +277 -0
  66. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +281 -0
  67. criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +286 -0
  68. criteo_api_retailmedia_preview/model/rm_user_behavior_v1.py +303 -0
  69. criteo_api_retailmedia_preview/model/seller_catalog_request.py +269 -0
  70. criteo_api_retailmedia_preview/model/seller_identifier.py +275 -0
  71. criteo_api_retailmedia_preview/model/sku_data_preview.py +8 -6
  72. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +8 -6
  73. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +2 -0
  74. criteo_api_retailmedia_preview/model/sync_line_items_report.py +2 -0
  75. criteo_api_retailmedia_preview/model/update_balance_model_v2.py +279 -0
  76. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brands.py → update_balance_model_v2_request.py} +17 -14
  77. criteo_api_retailmedia_preview/models/__init__.py +54 -9
  78. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/METADATA +3 -3
  79. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/RECORD +81 -35
  80. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/WHEEL +1 -1
  81. {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240808.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1134 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - RetailMedia # noqa: E501
5
+
6
+ The version of the OpenAPI document: Preview
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from criteo_api_retailmedia_preview.api_client import ApiClient, Endpoint as _Endpoint
15
+ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
16
+ check_allowed_values,
17
+ check_validations,
18
+ date,
19
+ datetime,
20
+ file_type,
21
+ none_type,
22
+ validate_and_convert_types
23
+ )
24
+ from criteo_api_retailmedia_preview.model.add_funds_to_balance_v2_request import AddFundsToBalanceV2Request
25
+ from criteo_api_retailmedia_preview.model.balance_response_v2_response import BalanceResponseV2Response
26
+ from criteo_api_retailmedia_preview.model.change_dates_of_balance_v2_request import ChangeDatesOfBalanceV2Request
27
+ from criteo_api_retailmedia_preview.model.create_balance_v2_request import CreateBalanceV2Request
28
+ from criteo_api_retailmedia_preview.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1
29
+ from criteo_api_retailmedia_preview.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2
30
+ from criteo_api_retailmedia_preview.model.update_balance_model_v2_request import UpdateBalanceModelV2Request
31
+
32
+
33
+ class BalanceApi(object):
34
+ """NOTE: This class is auto generated by OpenAPI Generator
35
+ Ref: https://openapi-generator.tech
36
+
37
+ Do not edit the class manually.
38
+ """
39
+
40
+ def __init__(self, api_client=None):
41
+ if api_client is None:
42
+ api_client = ApiClient()
43
+ self.api_client = api_client
44
+ self.get_api_v2_external_account_balances_by_account_id_endpoint = _Endpoint(
45
+ settings={
46
+ 'response_type': (PagedResourceCollectionOutcomeOfBalanceResponseV2,),
47
+ 'auth': [
48
+ 'oauth',
49
+ 'oauth'
50
+ ],
51
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/balances',
52
+ 'operation_id': 'get_api_v2_external_account_balances_by_account_id',
53
+ 'http_method': 'GET',
54
+ 'servers': None,
55
+ },
56
+ params_map={
57
+ 'all': [
58
+ 'account_id',
59
+ 'limit_to_id',
60
+ 'page_index',
61
+ 'page_size',
62
+ ],
63
+ 'required': [
64
+ 'account_id',
65
+ ],
66
+ 'nullable': [
67
+ ],
68
+ 'enum': [
69
+ ],
70
+ 'validation': [
71
+ ]
72
+ },
73
+ root_map={
74
+ 'validations': {
75
+ },
76
+ 'allowed_values': {
77
+ },
78
+ 'openapi_types': {
79
+ 'account_id':
80
+ (str,),
81
+ 'limit_to_id':
82
+ ([str],),
83
+ 'page_index':
84
+ (int,),
85
+ 'page_size':
86
+ (int,),
87
+ },
88
+ 'attribute_map': {
89
+ 'account_id': 'account-id',
90
+ 'limit_to_id': 'limitToId',
91
+ 'page_index': 'pageIndex',
92
+ 'page_size': 'pageSize',
93
+ },
94
+ 'location_map': {
95
+ 'account_id': 'path',
96
+ 'limit_to_id': 'query',
97
+ 'page_index': 'query',
98
+ 'page_size': 'query',
99
+ },
100
+ 'collection_format_map': {
101
+ 'limit_to_id': 'multi',
102
+ }
103
+ },
104
+ headers_map={
105
+ 'accept': [
106
+ 'text/plain',
107
+ 'application/json',
108
+ 'text/json'
109
+ ],
110
+ 'content_type': [],
111
+ },
112
+ api_client=api_client
113
+ )
114
+ self.get_api_v2_external_account_by_account_id_balancesbalance_id_endpoint = _Endpoint(
115
+ settings={
116
+ 'response_type': (BalanceResponseV2Response,),
117
+ 'auth': [
118
+ 'oauth',
119
+ 'oauth'
120
+ ],
121
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/balances/{balance-id}',
122
+ 'operation_id': 'get_api_v2_external_account_by_account_id_balancesbalance_id',
123
+ 'http_method': 'GET',
124
+ 'servers': None,
125
+ },
126
+ params_map={
127
+ 'all': [
128
+ 'account_id',
129
+ 'balance_id',
130
+ ],
131
+ 'required': [
132
+ 'account_id',
133
+ 'balance_id',
134
+ ],
135
+ 'nullable': [
136
+ ],
137
+ 'enum': [
138
+ ],
139
+ 'validation': [
140
+ ]
141
+ },
142
+ root_map={
143
+ 'validations': {
144
+ },
145
+ 'allowed_values': {
146
+ },
147
+ 'openapi_types': {
148
+ 'account_id':
149
+ (str,),
150
+ 'balance_id':
151
+ (str,),
152
+ },
153
+ 'attribute_map': {
154
+ 'account_id': 'account-id',
155
+ 'balance_id': 'balance-id',
156
+ },
157
+ 'location_map': {
158
+ 'account_id': 'path',
159
+ 'balance_id': 'path',
160
+ },
161
+ 'collection_format_map': {
162
+ }
163
+ },
164
+ headers_map={
165
+ 'accept': [
166
+ 'text/plain',
167
+ 'application/json',
168
+ 'text/json'
169
+ ],
170
+ 'content_type': [],
171
+ },
172
+ api_client=api_client
173
+ )
174
+ self.get_balance_history_endpoint = _Endpoint(
175
+ settings={
176
+ 'response_type': (PageOfBalanceHistoryChangeDataCaptureV1,),
177
+ 'auth': [
178
+ 'oauth',
179
+ 'oauth'
180
+ ],
181
+ 'endpoint_path': '/preview/retail-media/balances/{balanceId}/history',
182
+ 'operation_id': 'get_balance_history',
183
+ 'http_method': 'GET',
184
+ 'servers': None,
185
+ },
186
+ params_map={
187
+ 'all': [
188
+ 'balance_id',
189
+ 'offset',
190
+ 'limit',
191
+ 'limit_to_change_types',
192
+ ],
193
+ 'required': [
194
+ 'balance_id',
195
+ ],
196
+ 'nullable': [
197
+ ],
198
+ 'enum': [
199
+ ],
200
+ 'validation': [
201
+ 'offset',
202
+ 'limit',
203
+ ]
204
+ },
205
+ root_map={
206
+ 'validations': {
207
+ ('offset',): {
208
+
209
+ 'inclusive_maximum': 2147483647,
210
+ 'inclusive_minimum': 0,
211
+ },
212
+ ('limit',): {
213
+
214
+ 'inclusive_maximum': 100,
215
+ 'inclusive_minimum': 1,
216
+ },
217
+ },
218
+ 'allowed_values': {
219
+ },
220
+ 'openapi_types': {
221
+ 'balance_id':
222
+ (str,),
223
+ 'offset':
224
+ (int,),
225
+ 'limit':
226
+ (int,),
227
+ 'limit_to_change_types':
228
+ (str,),
229
+ },
230
+ 'attribute_map': {
231
+ 'balance_id': 'balanceId',
232
+ 'offset': 'offset',
233
+ 'limit': 'limit',
234
+ 'limit_to_change_types': 'limitToChangeTypes',
235
+ },
236
+ 'location_map': {
237
+ 'balance_id': 'path',
238
+ 'offset': 'query',
239
+ 'limit': 'query',
240
+ 'limit_to_change_types': 'query',
241
+ },
242
+ 'collection_format_map': {
243
+ }
244
+ },
245
+ headers_map={
246
+ 'accept': [
247
+ 'application/json'
248
+ ],
249
+ 'content_type': [],
250
+ },
251
+ api_client=api_client
252
+ )
253
+ self.patch_api_v2_external_account_by_account_id_balancesbalance_id_endpoint = _Endpoint(
254
+ settings={
255
+ 'response_type': (BalanceResponseV2Response,),
256
+ 'auth': [
257
+ 'oauth',
258
+ 'oauth'
259
+ ],
260
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/balances/{balance-id}',
261
+ 'operation_id': 'patch_api_v2_external_account_by_account_id_balancesbalance_id',
262
+ 'http_method': 'PATCH',
263
+ 'servers': None,
264
+ },
265
+ params_map={
266
+ 'all': [
267
+ 'account_id',
268
+ 'balance_id',
269
+ 'update_balance_model_v2_request',
270
+ ],
271
+ 'required': [
272
+ 'account_id',
273
+ 'balance_id',
274
+ 'update_balance_model_v2_request',
275
+ ],
276
+ 'nullable': [
277
+ ],
278
+ 'enum': [
279
+ ],
280
+ 'validation': [
281
+ ]
282
+ },
283
+ root_map={
284
+ 'validations': {
285
+ },
286
+ 'allowed_values': {
287
+ },
288
+ 'openapi_types': {
289
+ 'account_id':
290
+ (str,),
291
+ 'balance_id':
292
+ (str,),
293
+ 'update_balance_model_v2_request':
294
+ (UpdateBalanceModelV2Request,),
295
+ },
296
+ 'attribute_map': {
297
+ 'account_id': 'account-id',
298
+ 'balance_id': 'balance-id',
299
+ },
300
+ 'location_map': {
301
+ 'account_id': 'path',
302
+ 'balance_id': 'path',
303
+ 'update_balance_model_v2_request': 'body',
304
+ },
305
+ 'collection_format_map': {
306
+ }
307
+ },
308
+ headers_map={
309
+ 'accept': [
310
+ 'text/plain',
311
+ 'application/json',
312
+ 'text/json'
313
+ ],
314
+ 'content_type': [
315
+ 'application/json'
316
+ ]
317
+ },
318
+ api_client=api_client
319
+ )
320
+ self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint = _Endpoint(
321
+ settings={
322
+ 'response_type': (BalanceResponseV2Response,),
323
+ 'auth': [
324
+ 'oauth',
325
+ 'oauth'
326
+ ],
327
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/balances/{balance-id}/add-funds',
328
+ 'operation_id': 'post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id',
329
+ 'http_method': 'POST',
330
+ 'servers': None,
331
+ },
332
+ params_map={
333
+ 'all': [
334
+ 'account_id',
335
+ 'balance_id',
336
+ 'add_funds_to_balance_v2_request',
337
+ ],
338
+ 'required': [
339
+ 'account_id',
340
+ 'balance_id',
341
+ 'add_funds_to_balance_v2_request',
342
+ ],
343
+ 'nullable': [
344
+ ],
345
+ 'enum': [
346
+ ],
347
+ 'validation': [
348
+ ]
349
+ },
350
+ root_map={
351
+ 'validations': {
352
+ },
353
+ 'allowed_values': {
354
+ },
355
+ 'openapi_types': {
356
+ 'account_id':
357
+ (str,),
358
+ 'balance_id':
359
+ (str,),
360
+ 'add_funds_to_balance_v2_request':
361
+ (AddFundsToBalanceV2Request,),
362
+ },
363
+ 'attribute_map': {
364
+ 'account_id': 'account-id',
365
+ 'balance_id': 'balance-id',
366
+ },
367
+ 'location_map': {
368
+ 'account_id': 'path',
369
+ 'balance_id': 'path',
370
+ 'add_funds_to_balance_v2_request': 'body',
371
+ },
372
+ 'collection_format_map': {
373
+ }
374
+ },
375
+ headers_map={
376
+ 'accept': [
377
+ 'text/plain',
378
+ 'application/json',
379
+ 'text/json'
380
+ ],
381
+ 'content_type': [
382
+ 'application/json'
383
+ ]
384
+ },
385
+ api_client=api_client
386
+ )
387
+ self.post_api_v2_external_account_balances_by_account_id_endpoint = _Endpoint(
388
+ settings={
389
+ 'response_type': (BalanceResponseV2Response,),
390
+ 'auth': [
391
+ 'oauth',
392
+ 'oauth'
393
+ ],
394
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/balances',
395
+ 'operation_id': 'post_api_v2_external_account_balances_by_account_id',
396
+ 'http_method': 'POST',
397
+ 'servers': None,
398
+ },
399
+ params_map={
400
+ 'all': [
401
+ 'account_id',
402
+ 'create_balance_v2_request',
403
+ ],
404
+ 'required': [
405
+ 'account_id',
406
+ 'create_balance_v2_request',
407
+ ],
408
+ 'nullable': [
409
+ ],
410
+ 'enum': [
411
+ ],
412
+ 'validation': [
413
+ ]
414
+ },
415
+ root_map={
416
+ 'validations': {
417
+ },
418
+ 'allowed_values': {
419
+ },
420
+ 'openapi_types': {
421
+ 'account_id':
422
+ (str,),
423
+ 'create_balance_v2_request':
424
+ (CreateBalanceV2Request,),
425
+ },
426
+ 'attribute_map': {
427
+ 'account_id': 'account-id',
428
+ },
429
+ 'location_map': {
430
+ 'account_id': 'path',
431
+ 'create_balance_v2_request': 'body',
432
+ },
433
+ 'collection_format_map': {
434
+ }
435
+ },
436
+ headers_map={
437
+ 'accept': [
438
+ 'text/plain',
439
+ 'application/json',
440
+ 'text/json'
441
+ ],
442
+ 'content_type': [
443
+ 'application/json'
444
+ ]
445
+ },
446
+ api_client=api_client
447
+ )
448
+ self.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id_endpoint = _Endpoint(
449
+ settings={
450
+ 'response_type': (BalanceResponseV2Response,),
451
+ 'auth': [
452
+ 'oauth',
453
+ 'oauth'
454
+ ],
455
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/balances/{balance-id}/change-dates',
456
+ 'operation_id': 'post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id',
457
+ 'http_method': 'POST',
458
+ 'servers': None,
459
+ },
460
+ params_map={
461
+ 'all': [
462
+ 'account_id',
463
+ 'balance_id',
464
+ 'change_dates_of_balance_v2_request',
465
+ ],
466
+ 'required': [
467
+ 'account_id',
468
+ 'balance_id',
469
+ 'change_dates_of_balance_v2_request',
470
+ ],
471
+ 'nullable': [
472
+ ],
473
+ 'enum': [
474
+ ],
475
+ 'validation': [
476
+ ]
477
+ },
478
+ root_map={
479
+ 'validations': {
480
+ },
481
+ 'allowed_values': {
482
+ },
483
+ 'openapi_types': {
484
+ 'account_id':
485
+ (str,),
486
+ 'balance_id':
487
+ (str,),
488
+ 'change_dates_of_balance_v2_request':
489
+ (ChangeDatesOfBalanceV2Request,),
490
+ },
491
+ 'attribute_map': {
492
+ 'account_id': 'account-id',
493
+ 'balance_id': 'balance-id',
494
+ },
495
+ 'location_map': {
496
+ 'account_id': 'path',
497
+ 'balance_id': 'path',
498
+ 'change_dates_of_balance_v2_request': 'body',
499
+ },
500
+ 'collection_format_map': {
501
+ }
502
+ },
503
+ headers_map={
504
+ 'accept': [
505
+ 'text/plain',
506
+ 'application/json',
507
+ 'text/json'
508
+ ],
509
+ 'content_type': [
510
+ 'application/json'
511
+ ]
512
+ },
513
+ api_client=api_client
514
+ )
515
+
516
+ def get_api_v2_external_account_balances_by_account_id(
517
+ self,
518
+ account_id,
519
+ **kwargs
520
+ ):
521
+ """get_api_v2_external_account_balances_by_account_id # noqa: E501
522
+
523
+ Gets page of balance objects for the given account id # noqa: E501
524
+ This method makes a synchronous HTTP request by default. To make an
525
+ asynchronous HTTP request, please pass async_req=True
526
+
527
+ >>> thread = api.get_api_v2_external_account_balances_by_account_id(account_id, async_req=True)
528
+ >>> result = thread.get()
529
+
530
+ Args:
531
+ account_id (str): The account to get balances for
532
+
533
+ Keyword Args:
534
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
535
+ 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
536
+ 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
537
+ _return_http_data_only (bool): response data without head status
538
+ code and headers. Default is True.
539
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
540
+ will be returned without reading/decoding response data.
541
+ Default is True.
542
+ _request_timeout (int/float/tuple): timeout setting for this request. If
543
+ one number provided, it will be total request timeout. It can also
544
+ be a pair (tuple) of (connection, read) timeouts.
545
+ Default is None.
546
+ _check_input_type (bool): specifies if type checking
547
+ should be done one the data sent to the server.
548
+ Default is True.
549
+ _check_return_type (bool): specifies if type checking
550
+ should be done one the data received from the server.
551
+ Default is True.
552
+ _spec_property_naming (bool): True if the variable names in the input data
553
+ are serialized names, as specified in the OpenAPI document.
554
+ False if the variable names in the input data
555
+ are pythonic names, e.g. snake case (default)
556
+ _content_type (str/None): force body content-type.
557
+ Default is None and content-type will be predicted by allowed
558
+ content-types and body.
559
+ _host_index (int/None): specifies the index of the server
560
+ that we want to use.
561
+ Default is read from the configuration.
562
+ _request_auths (list): set to override the auth_settings for an a single
563
+ request; this effectively ignores the authentication
564
+ in the spec for a single request.
565
+ Default is None
566
+ async_req (bool): execute request asynchronously
567
+
568
+ Returns:
569
+ PagedResourceCollectionOutcomeOfBalanceResponseV2
570
+ If the method is called asynchronously, returns the request
571
+ thread.
572
+ """
573
+ kwargs['async_req'] = kwargs.get(
574
+ 'async_req', False
575
+ )
576
+ kwargs['_return_http_data_only'] = kwargs.get(
577
+ '_return_http_data_only', True
578
+ )
579
+ kwargs['_preload_content'] = kwargs.get(
580
+ '_preload_content', True
581
+ )
582
+ kwargs['_request_timeout'] = kwargs.get(
583
+ '_request_timeout', None
584
+ )
585
+ kwargs['_check_input_type'] = kwargs.get(
586
+ '_check_input_type', True
587
+ )
588
+ kwargs['_check_return_type'] = kwargs.get(
589
+ '_check_return_type', True
590
+ )
591
+ kwargs['_spec_property_naming'] = kwargs.get(
592
+ '_spec_property_naming', False
593
+ )
594
+ kwargs['_content_type'] = kwargs.get(
595
+ '_content_type')
596
+ kwargs['_host_index'] = kwargs.get('_host_index')
597
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
598
+ kwargs['account_id'] = \
599
+ account_id
600
+ return self.get_api_v2_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
601
+
602
+ def get_api_v2_external_account_by_account_id_balancesbalance_id(
603
+ self,
604
+ account_id,
605
+ balance_id,
606
+ **kwargs
607
+ ):
608
+ """get_api_v2_external_account_by_account_id_balancesbalance_id # noqa: E501
609
+
610
+ Get a balance for the given account id and balance id # noqa: E501
611
+ This method makes a synchronous HTTP request by default. To make an
612
+ asynchronous HTTP request, please pass async_req=True
613
+
614
+ >>> thread = api.get_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, async_req=True)
615
+ >>> result = thread.get()
616
+
617
+ Args:
618
+ account_id (str): The account of the balance
619
+ balance_id (str): The balance id
620
+
621
+ Keyword Args:
622
+ _return_http_data_only (bool): response data without head status
623
+ code and headers. Default is True.
624
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
625
+ will be returned without reading/decoding response data.
626
+ Default is True.
627
+ _request_timeout (int/float/tuple): timeout setting for this request. If
628
+ one number provided, it will be total request timeout. It can also
629
+ be a pair (tuple) of (connection, read) timeouts.
630
+ Default is None.
631
+ _check_input_type (bool): specifies if type checking
632
+ should be done one the data sent to the server.
633
+ Default is True.
634
+ _check_return_type (bool): specifies if type checking
635
+ should be done one the data received from the server.
636
+ Default is True.
637
+ _spec_property_naming (bool): True if the variable names in the input data
638
+ are serialized names, as specified in the OpenAPI document.
639
+ False if the variable names in the input data
640
+ are pythonic names, e.g. snake case (default)
641
+ _content_type (str/None): force body content-type.
642
+ Default is None and content-type will be predicted by allowed
643
+ content-types and body.
644
+ _host_index (int/None): specifies the index of the server
645
+ that we want to use.
646
+ Default is read from the configuration.
647
+ _request_auths (list): set to override the auth_settings for an a single
648
+ request; this effectively ignores the authentication
649
+ in the spec for a single request.
650
+ Default is None
651
+ async_req (bool): execute request asynchronously
652
+
653
+ Returns:
654
+ BalanceResponseV2Response
655
+ If the method is called asynchronously, returns the request
656
+ thread.
657
+ """
658
+ kwargs['async_req'] = kwargs.get(
659
+ 'async_req', False
660
+ )
661
+ kwargs['_return_http_data_only'] = kwargs.get(
662
+ '_return_http_data_only', True
663
+ )
664
+ kwargs['_preload_content'] = kwargs.get(
665
+ '_preload_content', True
666
+ )
667
+ kwargs['_request_timeout'] = kwargs.get(
668
+ '_request_timeout', None
669
+ )
670
+ kwargs['_check_input_type'] = kwargs.get(
671
+ '_check_input_type', True
672
+ )
673
+ kwargs['_check_return_type'] = kwargs.get(
674
+ '_check_return_type', True
675
+ )
676
+ kwargs['_spec_property_naming'] = kwargs.get(
677
+ '_spec_property_naming', False
678
+ )
679
+ kwargs['_content_type'] = kwargs.get(
680
+ '_content_type')
681
+ kwargs['_host_index'] = kwargs.get('_host_index')
682
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
683
+ kwargs['account_id'] = \
684
+ account_id
685
+ kwargs['balance_id'] = \
686
+ balance_id
687
+ return self.get_api_v2_external_account_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
688
+
689
+ def get_balance_history(
690
+ self,
691
+ balance_id,
692
+ **kwargs
693
+ ):
694
+ """get_balance_history # noqa: E501
695
+
696
+ Gets the balance's historical change data. # noqa: E501
697
+ This method makes a synchronous HTTP request by default. To make an
698
+ asynchronous HTTP request, please pass async_req=True
699
+
700
+ >>> thread = api.get_balance_history(balance_id, async_req=True)
701
+ >>> result = thread.get()
702
+
703
+ Args:
704
+ balance_id (str): Balance id.
705
+
706
+ Keyword Args:
707
+ offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0
708
+ limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25
709
+ limit_to_change_types (str): Comma separated change types string that will be queried.. [optional]
710
+ _return_http_data_only (bool): response data without head status
711
+ code and headers. Default is True.
712
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
713
+ will be returned without reading/decoding response data.
714
+ Default is True.
715
+ _request_timeout (int/float/tuple): timeout setting for this request. If
716
+ one number provided, it will be total request timeout. It can also
717
+ be a pair (tuple) of (connection, read) timeouts.
718
+ Default is None.
719
+ _check_input_type (bool): specifies if type checking
720
+ should be done one the data sent to the server.
721
+ Default is True.
722
+ _check_return_type (bool): specifies if type checking
723
+ should be done one the data received from the server.
724
+ Default is True.
725
+ _spec_property_naming (bool): True if the variable names in the input data
726
+ are serialized names, as specified in the OpenAPI document.
727
+ False if the variable names in the input data
728
+ are pythonic names, e.g. snake case (default)
729
+ _content_type (str/None): force body content-type.
730
+ Default is None and content-type will be predicted by allowed
731
+ content-types and body.
732
+ _host_index (int/None): specifies the index of the server
733
+ that we want to use.
734
+ Default is read from the configuration.
735
+ _request_auths (list): set to override the auth_settings for an a single
736
+ request; this effectively ignores the authentication
737
+ in the spec for a single request.
738
+ Default is None
739
+ async_req (bool): execute request asynchronously
740
+
741
+ Returns:
742
+ PageOfBalanceHistoryChangeDataCaptureV1
743
+ If the method is called asynchronously, returns the request
744
+ thread.
745
+ """
746
+ kwargs['async_req'] = kwargs.get(
747
+ 'async_req', False
748
+ )
749
+ kwargs['_return_http_data_only'] = kwargs.get(
750
+ '_return_http_data_only', True
751
+ )
752
+ kwargs['_preload_content'] = kwargs.get(
753
+ '_preload_content', True
754
+ )
755
+ kwargs['_request_timeout'] = kwargs.get(
756
+ '_request_timeout', None
757
+ )
758
+ kwargs['_check_input_type'] = kwargs.get(
759
+ '_check_input_type', True
760
+ )
761
+ kwargs['_check_return_type'] = kwargs.get(
762
+ '_check_return_type', True
763
+ )
764
+ kwargs['_spec_property_naming'] = kwargs.get(
765
+ '_spec_property_naming', False
766
+ )
767
+ kwargs['_content_type'] = kwargs.get(
768
+ '_content_type')
769
+ kwargs['_host_index'] = kwargs.get('_host_index')
770
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
771
+ kwargs['balance_id'] = \
772
+ balance_id
773
+ return self.get_balance_history_endpoint.call_with_http_info(**kwargs)
774
+
775
+ def patch_api_v2_external_account_by_account_id_balancesbalance_id(
776
+ self,
777
+ account_id,
778
+ balance_id,
779
+ update_balance_model_v2_request,
780
+ **kwargs
781
+ ):
782
+ """patch_api_v2_external_account_by_account_id_balancesbalance_id # noqa: E501
783
+
784
+ Modify a balance for the given account id # noqa: E501
785
+ This method makes a synchronous HTTP request by default. To make an
786
+ asynchronous HTTP request, please pass async_req=True
787
+
788
+ >>> thread = api.patch_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, update_balance_model_v2_request, async_req=True)
789
+ >>> result = thread.get()
790
+
791
+ Args:
792
+ account_id (str): The account of the balance
793
+ balance_id (str): The balance to change the dates
794
+ update_balance_model_v2_request (UpdateBalanceModelV2Request): An object that represents the available options to modify a balance.
795
+
796
+ Keyword Args:
797
+ _return_http_data_only (bool): response data without head status
798
+ code and headers. Default is True.
799
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
800
+ will be returned without reading/decoding response data.
801
+ Default is True.
802
+ _request_timeout (int/float/tuple): timeout setting for this request. If
803
+ one number provided, it will be total request timeout. It can also
804
+ be a pair (tuple) of (connection, read) timeouts.
805
+ Default is None.
806
+ _check_input_type (bool): specifies if type checking
807
+ should be done one the data sent to the server.
808
+ Default is True.
809
+ _check_return_type (bool): specifies if type checking
810
+ should be done one the data received from the server.
811
+ Default is True.
812
+ _spec_property_naming (bool): True if the variable names in the input data
813
+ are serialized names, as specified in the OpenAPI document.
814
+ False if the variable names in the input data
815
+ are pythonic names, e.g. snake case (default)
816
+ _content_type (str/None): force body content-type.
817
+ Default is None and content-type will be predicted by allowed
818
+ content-types and body.
819
+ _host_index (int/None): specifies the index of the server
820
+ that we want to use.
821
+ Default is read from the configuration.
822
+ _request_auths (list): set to override the auth_settings for an a single
823
+ request; this effectively ignores the authentication
824
+ in the spec for a single request.
825
+ Default is None
826
+ async_req (bool): execute request asynchronously
827
+
828
+ Returns:
829
+ BalanceResponseV2Response
830
+ If the method is called asynchronously, returns the request
831
+ thread.
832
+ """
833
+ kwargs['async_req'] = kwargs.get(
834
+ 'async_req', False
835
+ )
836
+ kwargs['_return_http_data_only'] = kwargs.get(
837
+ '_return_http_data_only', True
838
+ )
839
+ kwargs['_preload_content'] = kwargs.get(
840
+ '_preload_content', True
841
+ )
842
+ kwargs['_request_timeout'] = kwargs.get(
843
+ '_request_timeout', None
844
+ )
845
+ kwargs['_check_input_type'] = kwargs.get(
846
+ '_check_input_type', True
847
+ )
848
+ kwargs['_check_return_type'] = kwargs.get(
849
+ '_check_return_type', True
850
+ )
851
+ kwargs['_spec_property_naming'] = kwargs.get(
852
+ '_spec_property_naming', False
853
+ )
854
+ kwargs['_content_type'] = kwargs.get(
855
+ '_content_type')
856
+ kwargs['_host_index'] = kwargs.get('_host_index')
857
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
858
+ kwargs['account_id'] = \
859
+ account_id
860
+ kwargs['balance_id'] = \
861
+ balance_id
862
+ kwargs['update_balance_model_v2_request'] = \
863
+ update_balance_model_v2_request
864
+ return self.patch_api_v2_external_account_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
865
+
866
+ def post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(
867
+ self,
868
+ account_id,
869
+ balance_id,
870
+ add_funds_to_balance_v2_request,
871
+ **kwargs
872
+ ):
873
+ """post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id # noqa: E501
874
+
875
+ Add funds to a balance for the given account id # noqa: E501
876
+ This method makes a synchronous HTTP request by default. To make an
877
+ asynchronous HTTP request, please pass async_req=True
878
+
879
+ >>> 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)
880
+ >>> result = thread.get()
881
+
882
+ Args:
883
+ account_id (str): The account of the balance
884
+ balance_id (str): The balance to add funds to
885
+ add_funds_to_balance_v2_request (AddFundsToBalanceV2Request): An object that represents the available options of adding funds to a balance.
886
+
887
+ Keyword Args:
888
+ _return_http_data_only (bool): response data without head status
889
+ code and headers. Default is True.
890
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
891
+ will be returned without reading/decoding response data.
892
+ Default is True.
893
+ _request_timeout (int/float/tuple): timeout setting for this request. If
894
+ one number provided, it will be total request timeout. It can also
895
+ be a pair (tuple) of (connection, read) timeouts.
896
+ Default is None.
897
+ _check_input_type (bool): specifies if type checking
898
+ should be done one the data sent to the server.
899
+ Default is True.
900
+ _check_return_type (bool): specifies if type checking
901
+ should be done one the data received from the server.
902
+ Default is True.
903
+ _spec_property_naming (bool): True if the variable names in the input data
904
+ are serialized names, as specified in the OpenAPI document.
905
+ False if the variable names in the input data
906
+ are pythonic names, e.g. snake case (default)
907
+ _content_type (str/None): force body content-type.
908
+ Default is None and content-type will be predicted by allowed
909
+ content-types and body.
910
+ _host_index (int/None): specifies the index of the server
911
+ that we want to use.
912
+ Default is read from the configuration.
913
+ _request_auths (list): set to override the auth_settings for an a single
914
+ request; this effectively ignores the authentication
915
+ in the spec for a single request.
916
+ Default is None
917
+ async_req (bool): execute request asynchronously
918
+
919
+ Returns:
920
+ BalanceResponseV2Response
921
+ If the method is called asynchronously, returns the request
922
+ thread.
923
+ """
924
+ kwargs['async_req'] = kwargs.get(
925
+ 'async_req', False
926
+ )
927
+ kwargs['_return_http_data_only'] = kwargs.get(
928
+ '_return_http_data_only', True
929
+ )
930
+ kwargs['_preload_content'] = kwargs.get(
931
+ '_preload_content', True
932
+ )
933
+ kwargs['_request_timeout'] = kwargs.get(
934
+ '_request_timeout', None
935
+ )
936
+ kwargs['_check_input_type'] = kwargs.get(
937
+ '_check_input_type', True
938
+ )
939
+ kwargs['_check_return_type'] = kwargs.get(
940
+ '_check_return_type', True
941
+ )
942
+ kwargs['_spec_property_naming'] = kwargs.get(
943
+ '_spec_property_naming', False
944
+ )
945
+ kwargs['_content_type'] = kwargs.get(
946
+ '_content_type')
947
+ kwargs['_host_index'] = kwargs.get('_host_index')
948
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
949
+ kwargs['account_id'] = \
950
+ account_id
951
+ kwargs['balance_id'] = \
952
+ balance_id
953
+ kwargs['add_funds_to_balance_v2_request'] = \
954
+ add_funds_to_balance_v2_request
955
+ return self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
956
+
957
+ def post_api_v2_external_account_balances_by_account_id(
958
+ self,
959
+ account_id,
960
+ create_balance_v2_request,
961
+ **kwargs
962
+ ):
963
+ """post_api_v2_external_account_balances_by_account_id # noqa: E501
964
+
965
+ Create balance for the given account id # noqa: E501
966
+ This method makes a synchronous HTTP request by default. To make an
967
+ asynchronous HTTP request, please pass async_req=True
968
+
969
+ >>> thread = api.post_api_v2_external_account_balances_by_account_id(account_id, create_balance_v2_request, async_req=True)
970
+ >>> result = thread.get()
971
+
972
+ Args:
973
+ account_id (str): The account to create balances for
974
+ create_balance_v2_request (CreateBalanceV2Request): An object that represents the available options to set when creating a Retail Media Balance
975
+
976
+ Keyword Args:
977
+ _return_http_data_only (bool): response data without head status
978
+ code and headers. Default is True.
979
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
980
+ will be returned without reading/decoding response data.
981
+ Default is True.
982
+ _request_timeout (int/float/tuple): timeout setting for this request. If
983
+ one number provided, it will be total request timeout. It can also
984
+ be a pair (tuple) of (connection, read) timeouts.
985
+ Default is None.
986
+ _check_input_type (bool): specifies if type checking
987
+ should be done one the data sent to the server.
988
+ Default is True.
989
+ _check_return_type (bool): specifies if type checking
990
+ should be done one the data received from the server.
991
+ Default is True.
992
+ _spec_property_naming (bool): True if the variable names in the input data
993
+ are serialized names, as specified in the OpenAPI document.
994
+ False if the variable names in the input data
995
+ are pythonic names, e.g. snake case (default)
996
+ _content_type (str/None): force body content-type.
997
+ Default is None and content-type will be predicted by allowed
998
+ content-types and body.
999
+ _host_index (int/None): specifies the index of the server
1000
+ that we want to use.
1001
+ Default is read from the configuration.
1002
+ _request_auths (list): set to override the auth_settings for an a single
1003
+ request; this effectively ignores the authentication
1004
+ in the spec for a single request.
1005
+ Default is None
1006
+ async_req (bool): execute request asynchronously
1007
+
1008
+ Returns:
1009
+ BalanceResponseV2Response
1010
+ If the method is called asynchronously, returns the request
1011
+ thread.
1012
+ """
1013
+ kwargs['async_req'] = kwargs.get(
1014
+ 'async_req', False
1015
+ )
1016
+ kwargs['_return_http_data_only'] = kwargs.get(
1017
+ '_return_http_data_only', True
1018
+ )
1019
+ kwargs['_preload_content'] = kwargs.get(
1020
+ '_preload_content', True
1021
+ )
1022
+ kwargs['_request_timeout'] = kwargs.get(
1023
+ '_request_timeout', None
1024
+ )
1025
+ kwargs['_check_input_type'] = kwargs.get(
1026
+ '_check_input_type', True
1027
+ )
1028
+ kwargs['_check_return_type'] = kwargs.get(
1029
+ '_check_return_type', True
1030
+ )
1031
+ kwargs['_spec_property_naming'] = kwargs.get(
1032
+ '_spec_property_naming', False
1033
+ )
1034
+ kwargs['_content_type'] = kwargs.get(
1035
+ '_content_type')
1036
+ kwargs['_host_index'] = kwargs.get('_host_index')
1037
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1038
+ kwargs['account_id'] = \
1039
+ account_id
1040
+ kwargs['create_balance_v2_request'] = \
1041
+ create_balance_v2_request
1042
+ return self.post_api_v2_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
1043
+
1044
+ def post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id(
1045
+ self,
1046
+ account_id,
1047
+ balance_id,
1048
+ change_dates_of_balance_v2_request,
1049
+ **kwargs
1050
+ ):
1051
+ """post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id # noqa: E501
1052
+
1053
+ Change dates of a balance for the given account id # noqa: E501
1054
+ This method makes a synchronous HTTP request by default. To make an
1055
+ asynchronous HTTP request, please pass async_req=True
1056
+
1057
+ >>> 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)
1058
+ >>> result = thread.get()
1059
+
1060
+ Args:
1061
+ account_id (str): The account of the balance
1062
+ balance_id (str): The balance to change the dates
1063
+ change_dates_of_balance_v2_request (ChangeDatesOfBalanceV2Request): An object that represents the available options to modify schedule of a balance.
1064
+
1065
+ Keyword Args:
1066
+ _return_http_data_only (bool): response data without head status
1067
+ code and headers. Default is True.
1068
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1069
+ will be returned without reading/decoding response data.
1070
+ Default is True.
1071
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1072
+ one number provided, it will be total request timeout. It can also
1073
+ be a pair (tuple) of (connection, read) timeouts.
1074
+ Default is None.
1075
+ _check_input_type (bool): specifies if type checking
1076
+ should be done one the data sent to the server.
1077
+ Default is True.
1078
+ _check_return_type (bool): specifies if type checking
1079
+ should be done one the data received from the server.
1080
+ Default is True.
1081
+ _spec_property_naming (bool): True if the variable names in the input data
1082
+ are serialized names, as specified in the OpenAPI document.
1083
+ False if the variable names in the input data
1084
+ are pythonic names, e.g. snake case (default)
1085
+ _content_type (str/None): force body content-type.
1086
+ Default is None and content-type will be predicted by allowed
1087
+ content-types and body.
1088
+ _host_index (int/None): specifies the index of the server
1089
+ that we want to use.
1090
+ Default is read from the configuration.
1091
+ _request_auths (list): set to override the auth_settings for an a single
1092
+ request; this effectively ignores the authentication
1093
+ in the spec for a single request.
1094
+ Default is None
1095
+ async_req (bool): execute request asynchronously
1096
+
1097
+ Returns:
1098
+ BalanceResponseV2Response
1099
+ If the method is called asynchronously, returns the request
1100
+ thread.
1101
+ """
1102
+ kwargs['async_req'] = kwargs.get(
1103
+ 'async_req', False
1104
+ )
1105
+ kwargs['_return_http_data_only'] = kwargs.get(
1106
+ '_return_http_data_only', True
1107
+ )
1108
+ kwargs['_preload_content'] = kwargs.get(
1109
+ '_preload_content', True
1110
+ )
1111
+ kwargs['_request_timeout'] = kwargs.get(
1112
+ '_request_timeout', None
1113
+ )
1114
+ kwargs['_check_input_type'] = kwargs.get(
1115
+ '_check_input_type', True
1116
+ )
1117
+ kwargs['_check_return_type'] = kwargs.get(
1118
+ '_check_return_type', True
1119
+ )
1120
+ kwargs['_spec_property_naming'] = kwargs.get(
1121
+ '_spec_property_naming', False
1122
+ )
1123
+ kwargs['_content_type'] = kwargs.get(
1124
+ '_content_type')
1125
+ kwargs['_host_index'] = kwargs.get('_host_index')
1126
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1127
+ kwargs['account_id'] = \
1128
+ account_id
1129
+ kwargs['balance_id'] = \
1130
+ balance_id
1131
+ kwargs['change_dates_of_balance_v2_request'] = \
1132
+ change_dates_of_balance_v2_request
1133
+ return self.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs)
1134
+