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