budgea_client 4.0.3 → 5.0.0

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.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +50 -5
  4. data/budgea_openapi.json +1888 -383
  5. data/docs/Account.md +2 -0
  6. data/docs/AccountLog.md +1 -0
  7. data/docs/AdministrationApi.md +366 -55
  8. data/docs/AuthenticationApi.md +15 -13
  9. data/docs/BanksApi.md +988 -194
  10. data/docs/Client.md +1 -1
  11. data/docs/Connection.md +2 -0
  12. data/docs/ConnectionLog.md +1 -0
  13. data/docs/ConnectionSource.md +18 -0
  14. data/docs/ConnectionsApi.md +618 -25
  15. data/docs/Connector.md +1 -1
  16. data/docs/ConnectorSource.md +15 -0
  17. data/docs/DocumentsApi.md +72 -72
  18. data/docs/Field.md +1 -0
  19. data/docs/InlineResponse20011.md +1 -1
  20. data/docs/InlineResponse20012.md +1 -1
  21. data/docs/InlineResponse20013.md +1 -1
  22. data/docs/InlineResponse20014.md +1 -1
  23. data/docs/InlineResponse20015.md +1 -1
  24. data/docs/InlineResponse20016.md +1 -1
  25. data/docs/InlineResponse20017.md +1 -1
  26. data/docs/InlineResponse20018.md +1 -1
  27. data/docs/InlineResponse20019.md +2 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/InlineResponse20031.md +1 -1
  30. data/docs/InlineResponse20032.md +1 -1
  31. data/docs/InlineResponse20033.md +1 -1
  32. data/docs/InlineResponse20034.md +1 -1
  33. data/docs/InlineResponse20035.md +1 -1
  34. data/docs/InlineResponse20036.md +1 -1
  35. data/docs/InlineResponse20037.md +1 -1
  36. data/docs/InlineResponse20038.md +1 -1
  37. data/docs/InlineResponse20039.md +1 -1
  38. data/docs/InlineResponse20040.md +1 -1
  39. data/docs/InlineResponse20041.md +9 -0
  40. data/docs/InlineResponse20042.md +9 -0
  41. data/docs/OIDCApi.md +3 -3
  42. data/docs/Order.md +14 -0
  43. data/docs/PFMApi.md +87 -39
  44. data/docs/ProvidersApi.md +979 -122
  45. data/docs/RecipientsApi.md +4 -4
  46. data/docs/Subscription.md +1 -0
  47. data/docs/SubscriptionLog.md +15 -0
  48. data/docs/TermsApi.md +3 -3
  49. data/docs/Transaction.md +1 -0
  50. data/docs/Transfer.md +5 -1
  51. data/docs/TransferApi.md +77 -0
  52. data/docs/TransfersApi.md +39 -39
  53. data/docs/UsersManagementApi.md +13 -13
  54. data/docs/WealthApi.md +24 -24
  55. data/lib/budgea_client.rb +7 -2
  56. data/lib/budgea_client/api/administration_api.rb +381 -71
  57. data/lib/budgea_client/api/authentication_api.rb +16 -13
  58. data/lib/budgea_client/api/banks_api.rb +1034 -211
  59. data/lib/budgea_client/api/connections_api.rb +648 -30
  60. data/lib/budgea_client/api/documents_api.rb +85 -85
  61. data/lib/budgea_client/api/oidc_api.rb +3 -3
  62. data/lib/budgea_client/api/pfm_api.rb +87 -40
  63. data/lib/budgea_client/api/providers_api.rb +1045 -151
  64. data/lib/budgea_client/api/recipients_api.rb +4 -4
  65. data/lib/budgea_client/api/terms_api.rb +3 -3
  66. data/lib/budgea_client/api/transfer_api.rb +94 -0
  67. data/lib/budgea_client/api/transfers_api.rb +39 -39
  68. data/lib/budgea_client/api/users_management_api.rb +14 -14
  69. data/lib/budgea_client/api/wealth_api.rb +25 -25
  70. data/lib/budgea_client/models/account.rb +24 -4
  71. data/lib/budgea_client/models/account_log.rb +16 -1
  72. data/lib/budgea_client/models/client.rb +11 -11
  73. data/lib/budgea_client/models/connection.rb +23 -4
  74. data/lib/budgea_client/models/connection_log.rb +11 -1
  75. data/lib/budgea_client/models/connection_source.rb +309 -0
  76. data/lib/budgea_client/models/connector.rb +18 -15
  77. data/lib/budgea_client/models/connector_source.rb +273 -0
  78. data/lib/budgea_client/models/field.rb +14 -4
  79. data/lib/budgea_client/models/inline_response_200_11.rb +18 -18
  80. data/lib/budgea_client/models/inline_response_200_12.rb +11 -11
  81. data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
  82. data/lib/budgea_client/models/inline_response_200_14.rb +18 -18
  83. data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
  84. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  85. data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
  86. data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
  87. data/lib/budgea_client/models/inline_response_200_19.rb +21 -11
  88. data/lib/budgea_client/models/inline_response_200_30.rb +18 -18
  89. data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
  90. data/lib/budgea_client/models/inline_response_200_32.rb +18 -18
  91. data/lib/budgea_client/models/inline_response_200_33.rb +18 -18
  92. data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
  93. data/lib/budgea_client/models/inline_response_200_35.rb +18 -18
  94. data/lib/budgea_client/models/inline_response_200_36.rb +18 -18
  95. data/lib/budgea_client/models/inline_response_200_37.rb +11 -11
  96. data/lib/budgea_client/models/inline_response_200_38.rb +18 -18
  97. data/lib/budgea_client/models/inline_response_200_39.rb +11 -11
  98. data/lib/budgea_client/models/inline_response_200_40.rb +18 -18
  99. data/lib/budgea_client/models/inline_response_200_41.rb +200 -0
  100. data/lib/budgea_client/models/inline_response_200_42.rb +200 -0
  101. data/lib/budgea_client/models/order.rb +259 -0
  102. data/lib/budgea_client/models/subscription.rb +11 -1
  103. data/lib/budgea_client/models/subscription_log.rb +269 -0
  104. data/lib/budgea_client/models/transaction.rb +11 -1
  105. data/lib/budgea_client/models/transfer.rb +49 -2
  106. data/lib/budgea_client/models/user.rb +2 -2
  107. data/lib/budgea_client/version.rb +1 -1
  108. data/original_budgea_openapi.json +1980 -351
  109. data/pkg/budgea_client-2.0.0.gem +0 -0
  110. data/pkg/budgea_client-3.0.1.gem +0 -0
  111. data/pkg/budgea_client-4.0.0.gem +0 -0
  112. data/spec/api/transfer_api_spec.rb +54 -0
  113. data/spec/models/connection_source_spec.rb +101 -0
  114. data/spec/models/connector_source_spec.rb +83 -0
  115. data/spec/models/inline_response_200_41_spec.rb +47 -0
  116. data/spec/models/inline_response_200_42_spec.rb +47 -0
  117. data/spec/models/order_spec.rb +77 -0
  118. data/spec/models/subscription_log_spec.rb +83 -0
  119. metadata +34 -9
  120. data/config.yaml +0 -15
  121. data/pkg/budgea_client-2.0.1.gem +0 -0
  122. data/pkg/budgea_client-2.0.2.gem +0 -0
  123. data/pkg/budgea_client-3.0.0.gem +0 -0
  124. data/pkg/budgea_client-4.0.1.gem +0 -0
  125. data/pkg/budgea_client-4.0.2.gem +0 -0
@@ -56,7 +56,7 @@ module BudgeaClient
56
56
  # HTTP header 'Accept' (if needed)
57
57
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
58
58
  # HTTP header 'Content-Type'
59
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
59
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
60
60
 
61
61
  # form parameters
62
62
  form_params = {}
@@ -119,7 +119,7 @@ module BudgeaClient
119
119
  # HTTP header 'Accept' (if needed)
120
120
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
121
121
  # HTTP header 'Content-Type'
122
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
122
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
123
123
 
124
124
  # form parameters
125
125
  form_params = {}
@@ -177,7 +177,7 @@ module BudgeaClient
177
177
  # HTTP header 'Accept' (if needed)
178
178
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
179
179
  # HTTP header 'Content-Type'
180
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
180
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
181
181
 
182
182
  # form parameters
183
183
  form_params = {}
@@ -281,6 +281,53 @@ module BudgeaClient
281
281
  end
282
282
  return data, status_code, headers
283
283
  end
284
+ # Resend an email to confirm email address.
285
+ # Sent token can be re-generated as it might be expired. Note that requesting email confirmation on already confirmed profile will raise a BadRequest.<br><br>
286
+ # @param [Hash] opts the optional parameters
287
+ # @return [nil]
288
+ def auth_resend_confirm_email_post(opts = {})
289
+ auth_resend_confirm_email_post_with_http_info(opts)
290
+ nil
291
+ end
292
+
293
+ # Resend an email to confirm email address.
294
+ # Sent token can be re-generated as it might be expired. Note that requesting email confirmation on already confirmed profile will raise a BadRequest.&lt;br&gt;&lt;br&gt;
295
+ # @param [Hash] opts the optional parameters
296
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
297
+ def auth_resend_confirm_email_post_with_http_info(opts = {})
298
+ if @api_client.config.debugging
299
+ @api_client.config.logger.debug 'Calling API: PFMApi.auth_resend_confirm_email_post ...'
300
+ end
301
+ # resource path
302
+ local_var_path = '/auth/resendConfirmEmail'
303
+
304
+ # query parameters
305
+ query_params = {}
306
+
307
+ # header parameters
308
+ header_params = {}
309
+ # HTTP header 'Accept' (if needed)
310
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
311
+ # HTTP header 'Content-Type'
312
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
313
+
314
+ # form parameters
315
+ form_params = {}
316
+
317
+ # http body (model)
318
+ post_body = nil
319
+ auth_names = ['api_key']
320
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
321
+ :header_params => header_params,
322
+ :query_params => query_params,
323
+ :form_params => form_params,
324
+ :body => post_body,
325
+ :auth_names => auth_names)
326
+ if @api_client.config.debugging
327
+ @api_client.config.logger.debug "API called: PFMApi#auth_resend_confirm_email_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
328
+ end
329
+ return data, status_code, headers
330
+ end
284
331
  # Remove user access
285
332
  # This endpoint removes the token in use.<br><br>
286
333
  # @param [Hash] opts the optional parameters
@@ -309,7 +356,7 @@ module BudgeaClient
309
356
  # HTTP header 'Accept' (if needed)
310
357
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
311
358
  # HTTP header 'Content-Type'
312
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
359
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
313
360
 
314
361
  # form parameters
315
362
  form_params = {}
@@ -428,7 +475,7 @@ module BudgeaClient
428
475
  # HTTP header 'Accept' (if needed)
429
476
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
430
477
  # HTTP header 'Content-Type'
431
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
478
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
432
479
 
433
480
  # form parameters
434
481
  form_params = {}
@@ -496,7 +543,7 @@ module BudgeaClient
496
543
  # HTTP header 'Accept' (if needed)
497
544
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
498
545
  # HTTP header 'Content-Type'
499
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
546
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
500
547
 
501
548
  # form parameters
502
549
  form_params = {}
@@ -558,7 +605,7 @@ module BudgeaClient
558
605
  # HTTP header 'Accept' (if needed)
559
606
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
560
607
  # HTTP header 'Content-Type'
561
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
608
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
562
609
 
563
610
  # form parameters
564
611
  form_params = {}
@@ -627,7 +674,7 @@ module BudgeaClient
627
674
  # HTTP header 'Accept' (if needed)
628
675
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
629
676
  # HTTP header 'Content-Type'
630
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
677
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
631
678
 
632
679
  # form parameters
633
680
  form_params = {}
@@ -706,7 +753,7 @@ module BudgeaClient
706
753
  # HTTP header 'Accept' (if needed)
707
754
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
708
755
  # HTTP header 'Content-Type'
709
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
756
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
710
757
 
711
758
  # form parameters
712
759
  form_params = {}
@@ -784,7 +831,7 @@ module BudgeaClient
784
831
  # HTTP header 'Accept' (if needed)
785
832
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
786
833
  # HTTP header 'Content-Type'
787
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
834
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
788
835
 
789
836
  # form parameters
790
837
  form_params = {}
@@ -843,7 +890,7 @@ module BudgeaClient
843
890
  # HTTP header 'Accept' (if needed)
844
891
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
845
892
  # HTTP header 'Content-Type'
846
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
893
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
847
894
 
848
895
  # form parameters
849
896
  form_params = {}
@@ -907,7 +954,7 @@ module BudgeaClient
907
954
  # HTTP header 'Accept' (if needed)
908
955
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
909
956
  # HTTP header 'Content-Type'
910
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
957
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
911
958
 
912
959
  # form parameters
913
960
  form_params = {}
@@ -975,7 +1022,7 @@ module BudgeaClient
975
1022
  # HTTP header 'Accept' (if needed)
976
1023
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
977
1024
  # HTTP header 'Content-Type'
978
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1025
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
979
1026
 
980
1027
  # form parameters
981
1028
  form_params = {}
@@ -1049,7 +1096,7 @@ module BudgeaClient
1049
1096
  # HTTP header 'Accept' (if needed)
1050
1097
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1051
1098
  # HTTP header 'Content-Type'
1052
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1099
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1053
1100
 
1054
1101
  # form parameters
1055
1102
  form_params = {}
@@ -1117,7 +1164,7 @@ module BudgeaClient
1117
1164
  # HTTP header 'Accept' (if needed)
1118
1165
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1119
1166
  # HTTP header 'Content-Type'
1120
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1167
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1121
1168
 
1122
1169
  # form parameters
1123
1170
  form_params = {}
@@ -1192,7 +1239,7 @@ module BudgeaClient
1192
1239
  # HTTP header 'Accept' (if needed)
1193
1240
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1194
1241
  # HTTP header 'Content-Type'
1195
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1242
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1196
1243
 
1197
1244
  # form parameters
1198
1245
  form_params = {}
@@ -1212,7 +1259,7 @@ module BudgeaClient
1212
1259
  end
1213
1260
  return data, status_code, headers
1214
1261
  end
1215
- # Edit an alert on transactions or investments
1262
+ # Edit an alert on transactions or investements
1216
1263
  #
1217
1264
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1218
1265
  # @param id_connection
@@ -1231,7 +1278,7 @@ module BudgeaClient
1231
1278
  data
1232
1279
  end
1233
1280
 
1234
- # Edit an alert on transactions or investments
1281
+ # Edit an alert on transactions or investements
1235
1282
  #
1236
1283
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1237
1284
  # @param id_connection
@@ -1435,7 +1482,7 @@ module BudgeaClient
1435
1482
  # HTTP header 'Accept' (if needed)
1436
1483
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1437
1484
  # HTTP header 'Content-Type'
1438
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1485
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1439
1486
 
1440
1487
  # form parameters
1441
1488
  form_params = {}
@@ -1459,7 +1506,7 @@ module BudgeaClient
1459
1506
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1460
1507
  # @param [Hash] opts the optional parameters
1461
1508
  # @option opts [String] :expand
1462
- # @return [InlineResponse20036]
1509
+ # @return [InlineResponse20038]
1463
1510
  def users_id_user_devices_get(id_user, opts = {})
1464
1511
  data, _status_code, _headers = users_id_user_devices_get_with_http_info(id_user, opts)
1465
1512
  data
@@ -1470,7 +1517,7 @@ module BudgeaClient
1470
1517
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1471
1518
  # @param [Hash] opts the optional parameters
1472
1519
  # @option opts [String] :expand
1473
- # @return [Array<(InlineResponse20036, Fixnum, Hash)>] InlineResponse20036 data, response status code and response headers
1520
+ # @return [Array<(InlineResponse20038, Fixnum, Hash)>] InlineResponse20038 data, response status code and response headers
1474
1521
  def users_id_user_devices_get_with_http_info(id_user, opts = {})
1475
1522
  if @api_client.config.debugging
1476
1523
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_devices_get ...'
@@ -1491,7 +1538,7 @@ module BudgeaClient
1491
1538
  # HTTP header 'Accept' (if needed)
1492
1539
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1493
1540
  # HTTP header 'Content-Type'
1494
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1541
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1495
1542
 
1496
1543
  # form parameters
1497
1544
  form_params = {}
@@ -1505,7 +1552,7 @@ module BudgeaClient
1505
1552
  :form_params => form_params,
1506
1553
  :body => post_body,
1507
1554
  :auth_names => auth_names,
1508
- :return_type => 'InlineResponse20036')
1555
+ :return_type => 'InlineResponse20038')
1509
1556
  if @api_client.config.debugging
1510
1557
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_devices_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1511
1558
  end
@@ -1554,7 +1601,7 @@ module BudgeaClient
1554
1601
  # HTTP header 'Accept' (if needed)
1555
1602
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1556
1603
  # HTTP header 'Content-Type'
1557
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1604
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1558
1605
 
1559
1606
  # form parameters
1560
1607
  form_params = {}
@@ -1617,7 +1664,7 @@ module BudgeaClient
1617
1664
  # HTTP header 'Accept' (if needed)
1618
1665
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1619
1666
  # HTTP header 'Content-Type'
1620
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1667
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1621
1668
 
1622
1669
  # form parameters
1623
1670
  form_params = {}
@@ -1694,7 +1741,7 @@ module BudgeaClient
1694
1741
  # HTTP header 'Accept' (if needed)
1695
1742
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1696
1743
  # HTTP header 'Content-Type'
1697
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1744
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1698
1745
 
1699
1746
  # form parameters
1700
1747
  form_params = {}
@@ -1768,7 +1815,7 @@ module BudgeaClient
1768
1815
  # HTTP header 'Accept' (if needed)
1769
1816
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1770
1817
  # HTTP header 'Content-Type'
1771
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1818
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1772
1819
 
1773
1820
  # form parameters
1774
1821
  form_params = {}
@@ -1825,7 +1872,7 @@ module BudgeaClient
1825
1872
  # HTTP header 'Accept' (if needed)
1826
1873
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1827
1874
  # HTTP header 'Content-Type'
1828
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1875
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1829
1876
 
1830
1877
  # form parameters
1831
1878
  form_params = {}
@@ -1881,7 +1928,7 @@ module BudgeaClient
1881
1928
  # HTTP header 'Accept' (if needed)
1882
1929
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1883
1930
  # HTTP header 'Content-Type'
1884
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1931
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1885
1932
 
1886
1933
  # form parameters
1887
1934
  form_params = {}
@@ -1938,7 +1985,7 @@ module BudgeaClient
1938
1985
  # HTTP header 'Accept' (if needed)
1939
1986
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1940
1987
  # HTTP header 'Content-Type'
1941
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1988
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1942
1989
 
1943
1990
  # form parameters
1944
1991
  form_params = {}
@@ -2001,7 +2048,7 @@ module BudgeaClient
2001
2048
  # HTTP header 'Accept' (if needed)
2002
2049
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2003
2050
  # HTTP header 'Content-Type'
2004
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2051
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2005
2052
 
2006
2053
  # form parameters
2007
2054
  form_params = {}
@@ -2074,7 +2121,7 @@ module BudgeaClient
2074
2121
  # HTTP header 'Accept' (if needed)
2075
2122
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2076
2123
  # HTTP header 'Content-Type'
2077
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2124
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2078
2125
 
2079
2126
  # form parameters
2080
2127
  form_params = {}
@@ -2146,7 +2193,7 @@ module BudgeaClient
2146
2193
  # HTTP header 'Accept' (if needed)
2147
2194
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2148
2195
  # HTTP header 'Content-Type'
2149
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2196
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2150
2197
 
2151
2198
  # form parameters
2152
2199
  form_params = {}
@@ -2176,7 +2223,7 @@ module BudgeaClient
2176
2223
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2177
2224
  # @param [Hash] opts the optional parameters
2178
2225
  # @option opts [String] :expand
2179
- # @return [InlineResponse20037]
2226
+ # @return [InlineResponse20039]
2180
2227
  def users_id_user_profiles_get(id_user, opts = {})
2181
2228
  data, _status_code, _headers = users_id_user_profiles_get_with_http_info(id_user, opts)
2182
2229
  data
@@ -2187,7 +2234,7 @@ module BudgeaClient
2187
2234
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2188
2235
  # @param [Hash] opts the optional parameters
2189
2236
  # @option opts [String] :expand
2190
- # @return [Array<(InlineResponse20037, Fixnum, Hash)>] InlineResponse20037 data, response status code and response headers
2237
+ # @return [Array<(InlineResponse20039, Fixnum, Hash)>] InlineResponse20039 data, response status code and response headers
2191
2238
  def users_id_user_profiles_get_with_http_info(id_user, opts = {})
2192
2239
  if @api_client.config.debugging
2193
2240
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_profiles_get ...'
@@ -2208,7 +2255,7 @@ module BudgeaClient
2208
2255
  # HTTP header 'Accept' (if needed)
2209
2256
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2210
2257
  # HTTP header 'Content-Type'
2211
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2258
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2212
2259
 
2213
2260
  # form parameters
2214
2261
  form_params = {}
@@ -2222,7 +2269,7 @@ module BudgeaClient
2222
2269
  :form_params => form_params,
2223
2270
  :body => post_body,
2224
2271
  :auth_names => auth_names,
2225
- :return_type => 'InlineResponse20037')
2272
+ :return_type => 'InlineResponse20039')
2226
2273
  if @api_client.config.debugging
2227
2274
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_profiles_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2228
2275
  end
@@ -2271,7 +2318,7 @@ module BudgeaClient
2271
2318
  # HTTP header 'Accept' (if needed)
2272
2319
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2273
2320
  # HTTP header 'Content-Type'
2274
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2321
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2275
2322
 
2276
2323
  # form parameters
2277
2324
  form_params = {}
@@ -2328,7 +2375,7 @@ module BudgeaClient
2328
2375
  # HTTP header 'Accept' (if needed)
2329
2376
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2330
2377
  # HTTP header 'Content-Type'
2331
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2378
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2332
2379
 
2333
2380
  # form parameters
2334
2381
  form_params = {}
@@ -2385,7 +2432,7 @@ module BudgeaClient
2385
2432
  # HTTP header 'Accept' (if needed)
2386
2433
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2387
2434
  # HTTP header 'Content-Type'
2388
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2435
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2389
2436
 
2390
2437
  # form parameters
2391
2438
  form_params = {}
@@ -2456,7 +2503,7 @@ module BudgeaClient
2456
2503
  # HTTP header 'Accept' (if needed)
2457
2504
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2458
2505
  # HTTP header 'Content-Type'
2459
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2506
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2460
2507
 
2461
2508
  # form parameters
2462
2509
  form_params = {}
@@ -2517,7 +2564,7 @@ module BudgeaClient
2517
2564
  # HTTP header 'Accept' (if needed)
2518
2565
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2519
2566
  # HTTP header 'Content-Type'
2520
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2567
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2521
2568
 
2522
2569
  # form parameters
2523
2570
  form_params = {}
@@ -2575,7 +2622,7 @@ module BudgeaClient
2575
2622
  # HTTP header 'Accept' (if needed)
2576
2623
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2577
2624
  # HTTP header 'Content-Type'
2578
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2625
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2579
2626
 
2580
2627
  # form parameters
2581
2628
  form_params = {}
@@ -50,7 +50,7 @@ module BudgeaClient
50
50
  # HTTP header 'Accept' (if needed)
51
51
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
52
52
  # HTTP header 'Content-Type'
53
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
53
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
54
54
 
55
55
  # form parameters
56
56
  form_params = {}
@@ -107,7 +107,7 @@ module BudgeaClient
107
107
  # HTTP header 'Accept' (if needed)
108
108
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
109
109
  # HTTP header 'Content-Type'
110
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
110
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
111
111
 
112
112
  # form parameters
113
113
  form_params = {}
@@ -164,7 +164,7 @@ module BudgeaClient
164
164
  # HTTP header 'Accept' (if needed)
165
165
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
166
166
  # HTTP header 'Content-Type'
167
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
167
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
168
168
 
169
169
  # form parameters
170
170
  form_params = {}
@@ -221,7 +221,7 @@ module BudgeaClient
221
221
  # HTTP header 'Accept' (if needed)
222
222
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
223
223
  # HTTP header 'Content-Type'
224
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
224
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
225
225
 
226
226
  # form parameters
227
227
  form_params = {}
@@ -241,6 +241,63 @@ module BudgeaClient
241
241
  end
242
242
  return data, status_code, headers
243
243
  end
244
+ # Get list of connector sources
245
+ #
246
+ # @param id_connector
247
+ # @param [Hash] opts the optional parameters
248
+ # @option opts [String] :expand
249
+ # @return [InlineResponse20011]
250
+ def banks_id_connector_sources_get(id_connector, opts = {})
251
+ data, _status_code, _headers = banks_id_connector_sources_get_with_http_info(id_connector, opts)
252
+ data
253
+ end
254
+
255
+ # Get list of connector sources
256
+ #
257
+ # @param id_connector
258
+ # @param [Hash] opts the optional parameters
259
+ # @option opts [String] :expand
260
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
261
+ def banks_id_connector_sources_get_with_http_info(id_connector, opts = {})
262
+ if @api_client.config.debugging
263
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.banks_id_connector_sources_get ...'
264
+ end
265
+ # verify the required parameter 'id_connector' is set
266
+ if @api_client.config.client_side_validation && id_connector.nil?
267
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.banks_id_connector_sources_get"
268
+ end
269
+ # resource path
270
+ local_var_path = '/banks/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
271
+
272
+ # query parameters
273
+ query_params = {}
274
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
275
+
276
+ # header parameters
277
+ header_params = {}
278
+ # HTTP header 'Accept' (if needed)
279
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
280
+ # HTTP header 'Content-Type'
281
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
282
+
283
+ # form parameters
284
+ form_params = {}
285
+
286
+ # http body (model)
287
+ post_body = nil
288
+ auth_names = ['api_key']
289
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
290
+ :header_params => header_params,
291
+ :query_params => query_params,
292
+ :form_params => form_params,
293
+ :body => post_body,
294
+ :auth_names => auth_names,
295
+ :return_type => 'InlineResponse20011')
296
+ if @api_client.config.debugging
297
+ @api_client.config.logger.debug "API called: ProvidersApi#banks_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
298
+ end
299
+ return data, status_code, headers
300
+ end
244
301
  # Get connections without a user
245
302
  #
246
303
  # @param [Hash] opts the optional parameters
@@ -272,7 +329,7 @@ module BudgeaClient
272
329
  # HTTP header 'Accept' (if needed)
273
330
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
274
331
  # HTTP header 'Content-Type'
275
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
332
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
276
333
 
277
334
  # form parameters
278
335
  form_params = {}
@@ -292,11 +349,101 @@ module BudgeaClient
292
349
  end
293
350
  return data, status_code, headers
294
351
  end
352
+ # Get connection logs
353
+ # Get logs about connections.<br><br>
354
+ # @param id_connection
355
+ # @param [Hash] opts the optional parameters
356
+ # @option opts [Integer] :limit limit number of results
357
+ # @option opts [Integer] :offset offset of first result
358
+ # @option opts [Date] :min_date minimal date
359
+ # @option opts [Date] :max_date maximum date
360
+ # @option opts [Integer] :state state of user
361
+ # @option opts [String] :period period to group logs
362
+ # @option opts [Integer] :id_user ID of a user
363
+ # @option opts [Integer] :id_connection2 ID of a connection
364
+ # @option opts [Integer] :id_connector ID of a connector
365
+ # @option opts [BOOLEAN] :charged consider only logs for charged connectors
366
+ # @option opts [Integer] :id_source ID of a source
367
+ # @option opts [String] :expand
368
+ # @return [InlineResponse20015]
369
+ def connections_id_connection_logs_get(id_connection, opts = {})
370
+ data, _status_code, _headers = connections_id_connection_logs_get_with_http_info(id_connection, opts)
371
+ data
372
+ end
373
+
374
+ # Get connection logs
375
+ # Get logs about connections.&lt;br&gt;&lt;br&gt;
376
+ # @param id_connection
377
+ # @param [Hash] opts the optional parameters
378
+ # @option opts [Integer] :limit limit number of results
379
+ # @option opts [Integer] :offset offset of first result
380
+ # @option opts [Date] :min_date minimal date
381
+ # @option opts [Date] :max_date maximum date
382
+ # @option opts [Integer] :state state of user
383
+ # @option opts [String] :period period to group logs
384
+ # @option opts [Integer] :id_user ID of a user
385
+ # @option opts [Integer] :id_connection2 ID of a connection
386
+ # @option opts [Integer] :id_connector ID of a connector
387
+ # @option opts [BOOLEAN] :charged consider only logs for charged connectors
388
+ # @option opts [Integer] :id_source ID of a source
389
+ # @option opts [String] :expand
390
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
391
+ def connections_id_connection_logs_get_with_http_info(id_connection, opts = {})
392
+ if @api_client.config.debugging
393
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_logs_get ...'
394
+ end
395
+ # verify the required parameter 'id_connection' is set
396
+ if @api_client.config.client_side_validation && id_connection.nil?
397
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_logs_get"
398
+ end
399
+ # resource path
400
+ local_var_path = '/connections/{id_connection}/logs'.sub('{' + 'id_connection' + '}', id_connection.to_s)
401
+
402
+ # query parameters
403
+ query_params = {}
404
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
405
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
406
+ query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
407
+ query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
408
+ query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
409
+ query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
410
+ query_params[:'id_user'] = opts[:'id_user'] if !opts[:'id_user'].nil?
411
+ query_params[:'id_connection'] = opts[:'id_connection2'] if !opts[:'id_connection2'].nil?
412
+ query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
413
+ query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
414
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
415
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
416
+
417
+ # header parameters
418
+ header_params = {}
419
+ # HTTP header 'Accept' (if needed)
420
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
421
+ # HTTP header 'Content-Type'
422
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
423
+
424
+ # form parameters
425
+ form_params = {}
426
+
427
+ # http body (model)
428
+ post_body = nil
429
+ auth_names = ['api_key']
430
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
431
+ :header_params => header_params,
432
+ :query_params => query_params,
433
+ :form_params => form_params,
434
+ :body => post_body,
435
+ :auth_names => auth_names,
436
+ :return_type => 'InlineResponse20015')
437
+ if @api_client.config.debugging
438
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
439
+ end
440
+ return data, status_code, headers
441
+ end
295
442
  # Get list of connectors
296
443
  #
297
444
  # @param [Hash] opts the optional parameters
298
445
  # @option opts [String] :expand
299
- # @return [InlineResponse20014]
446
+ # @return [InlineResponse20016]
300
447
  def connectors_get(opts = {})
301
448
  data, _status_code, _headers = connectors_get_with_http_info(opts)
302
449
  data
@@ -306,7 +453,7 @@ module BudgeaClient
306
453
  #
307
454
  # @param [Hash] opts the optional parameters
308
455
  # @option opts [String] :expand
309
- # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
456
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
310
457
  def connectors_get_with_http_info(opts = {})
311
458
  if @api_client.config.debugging
312
459
  @api_client.config.logger.debug 'Calling API: ProvidersApi.connectors_get ...'
@@ -323,7 +470,7 @@ module BudgeaClient
323
470
  # HTTP header 'Accept' (if needed)
324
471
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
325
472
  # HTTP header 'Content-Type'
326
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
473
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
327
474
 
328
475
  # form parameters
329
476
  form_params = {}
@@ -337,7 +484,7 @@ module BudgeaClient
337
484
  :form_params => form_params,
338
485
  :body => post_body,
339
486
  :auth_names => auth_names,
340
- :return_type => 'InlineResponse20014')
487
+ :return_type => 'InlineResponse20016')
341
488
  if @api_client.config.debugging
342
489
  @api_client.config.logger.debug "API called: ProvidersApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
343
490
  end
@@ -380,7 +527,7 @@ module BudgeaClient
380
527
  # HTTP header 'Accept' (if needed)
381
528
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
382
529
  # HTTP header 'Content-Type'
383
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
530
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
384
531
 
385
532
  # form parameters
386
533
  form_params = {}
@@ -443,7 +590,7 @@ module BudgeaClient
443
590
  # HTTP header 'Accept' (if needed)
444
591
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
445
592
  # HTTP header 'Content-Type'
446
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
593
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
447
594
 
448
595
  # form parameters
449
596
  form_params = {}
@@ -506,7 +653,7 @@ module BudgeaClient
506
653
  # HTTP header 'Accept' (if needed)
507
654
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
508
655
  # HTTP header 'Content-Type'
509
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
656
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
510
657
 
511
658
  # form parameters
512
659
  form_params = {}
@@ -563,7 +710,7 @@ module BudgeaClient
563
710
  # HTTP header 'Accept' (if needed)
564
711
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
565
712
  # HTTP header 'Content-Type'
566
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
713
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
567
714
 
568
715
  # form parameters
569
716
  form_params = {}
@@ -620,7 +767,7 @@ module BudgeaClient
620
767
  # HTTP header 'Accept' (if needed)
621
768
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
622
769
  # HTTP header 'Content-Type'
623
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
770
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
624
771
 
625
772
  # form parameters
626
773
  form_params = {}
@@ -677,7 +824,7 @@ module BudgeaClient
677
824
  # HTTP header 'Accept' (if needed)
678
825
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
679
826
  # HTTP header 'Content-Type'
680
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
827
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
681
828
 
682
829
  # form parameters
683
830
  form_params = {}
@@ -734,7 +881,7 @@ module BudgeaClient
734
881
  # HTTP header 'Accept' (if needed)
735
882
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
736
883
  # HTTP header 'Content-Type'
737
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
884
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
738
885
 
739
886
  # form parameters
740
887
  form_params = {}
@@ -754,6 +901,132 @@ module BudgeaClient
754
901
  end
755
902
  return data, status_code, headers
756
903
  end
904
+ # Get list of connector sources
905
+ #
906
+ # @param id_connector
907
+ # @param [Hash] opts the optional parameters
908
+ # @option opts [String] :expand
909
+ # @return [InlineResponse20011]
910
+ def connectors_id_connector_sources_get(id_connector, opts = {})
911
+ data, _status_code, _headers = connectors_id_connector_sources_get_with_http_info(id_connector, opts)
912
+ data
913
+ end
914
+
915
+ # Get list of connector sources
916
+ #
917
+ # @param id_connector
918
+ # @param [Hash] opts the optional parameters
919
+ # @option opts [String] :expand
920
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
921
+ def connectors_id_connector_sources_get_with_http_info(id_connector, opts = {})
922
+ if @api_client.config.debugging
923
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connectors_id_connector_sources_get ...'
924
+ end
925
+ # verify the required parameter 'id_connector' is set
926
+ if @api_client.config.client_side_validation && id_connector.nil?
927
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.connectors_id_connector_sources_get"
928
+ end
929
+ # resource path
930
+ local_var_path = '/connectors/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
931
+
932
+ # query parameters
933
+ query_params = {}
934
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
935
+
936
+ # header parameters
937
+ header_params = {}
938
+ # HTTP header 'Accept' (if needed)
939
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
940
+ # HTTP header 'Content-Type'
941
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
942
+
943
+ # form parameters
944
+ form_params = {}
945
+
946
+ # http body (model)
947
+ post_body = nil
948
+ auth_names = ['api_key']
949
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
950
+ :header_params => header_params,
951
+ :query_params => query_params,
952
+ :form_params => form_params,
953
+ :body => post_body,
954
+ :auth_names => auth_names,
955
+ :return_type => 'InlineResponse20011')
956
+ if @api_client.config.debugging
957
+ @api_client.config.logger.debug "API called: ProvidersApi#connectors_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
958
+ end
959
+ return data, status_code, headers
960
+ end
961
+ # Edit the provided connector source
962
+ #
963
+ # @param id_connector
964
+ # @param id_source
965
+ # @param [Hash] opts the optional parameters
966
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector source
967
+ # @option opts [DateTime] :disabled to enable or disable connector source
968
+ # @option opts [String] :expand
969
+ # @return [ConnectorSource]
970
+ def connectors_id_connector_sources_id_source_put(id_connector, id_source, opts = {})
971
+ data, _status_code, _headers = connectors_id_connector_sources_id_source_put_with_http_info(id_connector, id_source, opts)
972
+ data
973
+ end
974
+
975
+ # Edit the provided connector source
976
+ #
977
+ # @param id_connector
978
+ # @param id_source
979
+ # @param [Hash] opts the optional parameters
980
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector source
981
+ # @option opts [DateTime] :disabled to enable or disable connector source
982
+ # @option opts [String] :expand
983
+ # @return [Array<(ConnectorSource, Fixnum, Hash)>] ConnectorSource data, response status code and response headers
984
+ def connectors_id_connector_sources_id_source_put_with_http_info(id_connector, id_source, opts = {})
985
+ if @api_client.config.debugging
986
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connectors_id_connector_sources_id_source_put ...'
987
+ end
988
+ # verify the required parameter 'id_connector' is set
989
+ if @api_client.config.client_side_validation && id_connector.nil?
990
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.connectors_id_connector_sources_id_source_put"
991
+ end
992
+ # verify the required parameter 'id_source' is set
993
+ if @api_client.config.client_side_validation && id_source.nil?
994
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.connectors_id_connector_sources_id_source_put"
995
+ end
996
+ # resource path
997
+ local_var_path = '/connectors/{id_connector}/sources/{id_source}'.sub('{' + 'id_connector' + '}', id_connector.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
998
+
999
+ # query parameters
1000
+ query_params = {}
1001
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1002
+
1003
+ # header parameters
1004
+ header_params = {}
1005
+ # HTTP header 'Accept' (if needed)
1006
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1007
+ # HTTP header 'Content-Type'
1008
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1009
+
1010
+ # form parameters
1011
+ form_params = {}
1012
+ form_params['auth_mechanism'] = opts[:'auth_mechanism'] if !opts[:'auth_mechanism'].nil?
1013
+ form_params['disabled'] = opts[:'disabled'] if !opts[:'disabled'].nil?
1014
+
1015
+ # http body (model)
1016
+ post_body = nil
1017
+ auth_names = ['api_key']
1018
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1019
+ :header_params => header_params,
1020
+ :query_params => query_params,
1021
+ :form_params => form_params,
1022
+ :body => post_body,
1023
+ :auth_names => auth_names,
1024
+ :return_type => 'ConnectorSource')
1025
+ if @api_client.config.debugging
1026
+ @api_client.config.logger.debug "API called: ProvidersApi#connectors_id_connector_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1027
+ end
1028
+ return data, status_code, headers
1029
+ end
757
1030
  # Request a new connector
758
1031
  # Send a request to add a new connector<br><br>
759
1032
  # @param name Name of the bank or provider
@@ -845,7 +1118,7 @@ module BudgeaClient
845
1118
  #
846
1119
  # @param [Hash] opts the optional parameters
847
1120
  # @option opts [String] :expand
848
- # @return [InlineResponse20015]
1121
+ # @return [InlineResponse20017]
849
1122
  def documenttypes_get(opts = {})
850
1123
  data, _status_code, _headers = documenttypes_get_with_http_info(opts)
851
1124
  data
@@ -855,7 +1128,7 @@ module BudgeaClient
855
1128
  #
856
1129
  # @param [Hash] opts the optional parameters
857
1130
  # @option opts [String] :expand
858
- # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
1131
+ # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
859
1132
  def documenttypes_get_with_http_info(opts = {})
860
1133
  if @api_client.config.debugging
861
1134
  @api_client.config.logger.debug 'Calling API: ProvidersApi.documenttypes_get ...'
@@ -872,7 +1145,7 @@ module BudgeaClient
872
1145
  # HTTP header 'Accept' (if needed)
873
1146
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
874
1147
  # HTTP header 'Content-Type'
875
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1148
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
876
1149
 
877
1150
  # form parameters
878
1151
  form_params = {}
@@ -886,7 +1159,7 @@ module BudgeaClient
886
1159
  :form_params => form_params,
887
1160
  :body => post_body,
888
1161
  :auth_names => auth_names,
889
- :return_type => 'InlineResponse20015')
1162
+ :return_type => 'InlineResponse20017')
890
1163
  if @api_client.config.debugging
891
1164
  @api_client.config.logger.debug "API called: ProvidersApi#documenttypes_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
892
1165
  end
@@ -941,7 +1214,7 @@ module BudgeaClient
941
1214
  # HTTP header 'Accept' (if needed)
942
1215
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
943
1216
  # HTTP header 'Content-Type'
944
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1217
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
945
1218
 
946
1219
  # form parameters
947
1220
  form_params = {}
@@ -976,8 +1249,9 @@ module BudgeaClient
976
1249
  # @option opts [Integer] :id_connection ID of a connection
977
1250
  # @option opts [Integer] :id_connector ID of a connector
978
1251
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
1252
+ # @option opts [Integer] :id_source ID of a source
979
1253
  # @option opts [String] :expand
980
- # @return [InlineResponse20017]
1254
+ # @return [InlineResponse20015]
981
1255
  def logs_get(opts = {})
982
1256
  data, _status_code, _headers = logs_get_with_http_info(opts)
983
1257
  data
@@ -996,8 +1270,9 @@ module BudgeaClient
996
1270
  # @option opts [Integer] :id_connection ID of a connection
997
1271
  # @option opts [Integer] :id_connector ID of a connector
998
1272
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
1273
+ # @option opts [Integer] :id_source ID of a source
999
1274
  # @option opts [String] :expand
1000
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
1275
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
1001
1276
  def logs_get_with_http_info(opts = {})
1002
1277
  if @api_client.config.debugging
1003
1278
  @api_client.config.logger.debug 'Calling API: ProvidersApi.logs_get ...'
@@ -1017,6 +1292,7 @@ module BudgeaClient
1017
1292
  query_params[:'id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
1018
1293
  query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
1019
1294
  query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
1295
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
1020
1296
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1021
1297
 
1022
1298
  # header parameters
@@ -1024,7 +1300,7 @@ module BudgeaClient
1024
1300
  # HTTP header 'Accept' (if needed)
1025
1301
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1026
1302
  # HTTP header 'Content-Type'
1027
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1303
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1028
1304
 
1029
1305
  # form parameters
1030
1306
  form_params = {}
@@ -1038,7 +1314,7 @@ module BudgeaClient
1038
1314
  :form_params => form_params,
1039
1315
  :body => post_body,
1040
1316
  :auth_names => auth_names,
1041
- :return_type => 'InlineResponse20017')
1317
+ :return_type => 'InlineResponse20015')
1042
1318
  if @api_client.config.debugging
1043
1319
  @api_client.config.logger.debug "API called: ProvidersApi#logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1044
1320
  end
@@ -1108,7 +1384,7 @@ module BudgeaClient
1108
1384
  #
1109
1385
  # @param [Hash] opts the optional parameters
1110
1386
  # @option opts [String] :expand
1111
- # @return [InlineResponse20018]
1387
+ # @return [InlineResponse20019]
1112
1388
  def providers_get(opts = {})
1113
1389
  data, _status_code, _headers = providers_get_with_http_info(opts)
1114
1390
  data
@@ -1118,7 +1394,7 @@ module BudgeaClient
1118
1394
  #
1119
1395
  # @param [Hash] opts the optional parameters
1120
1396
  # @option opts [String] :expand
1121
- # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
1397
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
1122
1398
  def providers_get_with_http_info(opts = {})
1123
1399
  if @api_client.config.debugging
1124
1400
  @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_get ...'
@@ -1135,7 +1411,7 @@ module BudgeaClient
1135
1411
  # HTTP header 'Accept' (if needed)
1136
1412
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1137
1413
  # HTTP header 'Content-Type'
1138
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1414
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1139
1415
 
1140
1416
  # form parameters
1141
1417
  form_params = {}
@@ -1149,7 +1425,7 @@ module BudgeaClient
1149
1425
  :form_params => form_params,
1150
1426
  :body => post_body,
1151
1427
  :auth_names => auth_names,
1152
- :return_type => 'InlineResponse20018')
1428
+ :return_type => 'InlineResponse20019')
1153
1429
  if @api_client.config.debugging
1154
1430
  @api_client.config.logger.debug "API called: ProvidersApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1155
1431
  end
@@ -1160,7 +1436,7 @@ module BudgeaClient
1160
1436
  # @param id_connector
1161
1437
  # @param [Hash] opts the optional parameters
1162
1438
  # @option opts [String] :expand
1163
- # @return [InlineResponse20019]
1439
+ # @return [InlineResponse20010]
1164
1440
  def providers_id_connector_logos_get(id_connector, opts = {})
1165
1441
  data, _status_code, _headers = providers_id_connector_logos_get_with_http_info(id_connector, opts)
1166
1442
  data
@@ -1171,7 +1447,7 @@ module BudgeaClient
1171
1447
  # @param id_connector
1172
1448
  # @param [Hash] opts the optional parameters
1173
1449
  # @option opts [String] :expand
1174
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
1450
+ # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
1175
1451
  def providers_id_connector_logos_get_with_http_info(id_connector, opts = {})
1176
1452
  if @api_client.config.debugging
1177
1453
  @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_id_connector_logos_get ...'
@@ -1192,7 +1468,7 @@ module BudgeaClient
1192
1468
  # HTTP header 'Accept' (if needed)
1193
1469
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1194
1470
  # HTTP header 'Content-Type'
1195
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1471
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1196
1472
 
1197
1473
  # form parameters
1198
1474
  form_params = {}
@@ -1206,7 +1482,7 @@ module BudgeaClient
1206
1482
  :form_params => form_params,
1207
1483
  :body => post_body,
1208
1484
  :auth_names => auth_names,
1209
- :return_type => 'InlineResponse20019')
1485
+ :return_type => 'InlineResponse20010')
1210
1486
  if @api_client.config.debugging
1211
1487
  @api_client.config.logger.debug "API called: ProvidersApi#providers_id_connector_logos_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1212
1488
  end
@@ -1229,16 +1505,73 @@ module BudgeaClient
1229
1505
  # @param [Hash] opts the optional parameters
1230
1506
  # @option opts [String] :expand
1231
1507
  # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
1232
- def providers_id_connector_logos_main_get_with_http_info(id_connector, opts = {})
1508
+ def providers_id_connector_logos_main_get_with_http_info(id_connector, opts = {})
1509
+ if @api_client.config.debugging
1510
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_id_connector_logos_main_get ...'
1511
+ end
1512
+ # verify the required parameter 'id_connector' is set
1513
+ if @api_client.config.client_side_validation && id_connector.nil?
1514
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.providers_id_connector_logos_main_get"
1515
+ end
1516
+ # resource path
1517
+ local_var_path = '/providers/{id_connector}/logos/main'.sub('{' + 'id_connector' + '}', id_connector.to_s)
1518
+
1519
+ # query parameters
1520
+ query_params = {}
1521
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1522
+
1523
+ # header parameters
1524
+ header_params = {}
1525
+ # HTTP header 'Accept' (if needed)
1526
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1527
+ # HTTP header 'Content-Type'
1528
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1529
+
1530
+ # form parameters
1531
+ form_params = {}
1532
+
1533
+ # http body (model)
1534
+ post_body = nil
1535
+ auth_names = ['api_key']
1536
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1537
+ :header_params => header_params,
1538
+ :query_params => query_params,
1539
+ :form_params => form_params,
1540
+ :body => post_body,
1541
+ :auth_names => auth_names,
1542
+ :return_type => 'InlineResponse20010')
1543
+ if @api_client.config.debugging
1544
+ @api_client.config.logger.debug "API called: ProvidersApi#providers_id_connector_logos_main_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1545
+ end
1546
+ return data, status_code, headers
1547
+ end
1548
+ # Get all links to the files associated with this connector.
1549
+ # This endpoint returns all links to files associated with this connector.<br><br>
1550
+ # @param id_connector
1551
+ # @param [Hash] opts the optional parameters
1552
+ # @option opts [String] :expand
1553
+ # @return [InlineResponse20010]
1554
+ def providers_id_connector_logos_thumbnail_get(id_connector, opts = {})
1555
+ data, _status_code, _headers = providers_id_connector_logos_thumbnail_get_with_http_info(id_connector, opts)
1556
+ data
1557
+ end
1558
+
1559
+ # Get all links to the files associated with this connector.
1560
+ # This endpoint returns all links to files associated with this connector.&lt;br&gt;&lt;br&gt;
1561
+ # @param id_connector
1562
+ # @param [Hash] opts the optional parameters
1563
+ # @option opts [String] :expand
1564
+ # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
1565
+ def providers_id_connector_logos_thumbnail_get_with_http_info(id_connector, opts = {})
1233
1566
  if @api_client.config.debugging
1234
- @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_id_connector_logos_main_get ...'
1567
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_id_connector_logos_thumbnail_get ...'
1235
1568
  end
1236
1569
  # verify the required parameter 'id_connector' is set
1237
1570
  if @api_client.config.client_side_validation && id_connector.nil?
1238
- fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.providers_id_connector_logos_main_get"
1571
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.providers_id_connector_logos_thumbnail_get"
1239
1572
  end
1240
1573
  # resource path
1241
- local_var_path = '/providers/{id_connector}/logos/main'.sub('{' + 'id_connector' + '}', id_connector.to_s)
1574
+ local_var_path = '/providers/{id_connector}/logos/thumbnail'.sub('{' + 'id_connector' + '}', id_connector.to_s)
1242
1575
 
1243
1576
  # query parameters
1244
1577
  query_params = {}
@@ -1249,7 +1582,7 @@ module BudgeaClient
1249
1582
  # HTTP header 'Accept' (if needed)
1250
1583
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1251
1584
  # HTTP header 'Content-Type'
1252
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1585
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1253
1586
 
1254
1587
  # form parameters
1255
1588
  form_params = {}
@@ -1265,37 +1598,37 @@ module BudgeaClient
1265
1598
  :auth_names => auth_names,
1266
1599
  :return_type => 'InlineResponse20010')
1267
1600
  if @api_client.config.debugging
1268
- @api_client.config.logger.debug "API called: ProvidersApi#providers_id_connector_logos_main_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1601
+ @api_client.config.logger.debug "API called: ProvidersApi#providers_id_connector_logos_thumbnail_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1269
1602
  end
1270
1603
  return data, status_code, headers
1271
1604
  end
1272
- # Get all links to the files associated with this connector.
1273
- # This endpoint returns all links to files associated with this connector.<br><br>
1605
+ # Get list of connector sources
1606
+ #
1274
1607
  # @param id_connector
1275
1608
  # @param [Hash] opts the optional parameters
1276
1609
  # @option opts [String] :expand
1277
- # @return [InlineResponse20010]
1278
- def providers_id_connector_logos_thumbnail_get(id_connector, opts = {})
1279
- data, _status_code, _headers = providers_id_connector_logos_thumbnail_get_with_http_info(id_connector, opts)
1610
+ # @return [InlineResponse20011]
1611
+ def providers_id_connector_sources_get(id_connector, opts = {})
1612
+ data, _status_code, _headers = providers_id_connector_sources_get_with_http_info(id_connector, opts)
1280
1613
  data
1281
1614
  end
1282
1615
 
1283
- # Get all links to the files associated with this connector.
1284
- # This endpoint returns all links to files associated with this connector.&lt;br&gt;&lt;br&gt;
1616
+ # Get list of connector sources
1617
+ #
1285
1618
  # @param id_connector
1286
1619
  # @param [Hash] opts the optional parameters
1287
1620
  # @option opts [String] :expand
1288
- # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
1289
- def providers_id_connector_logos_thumbnail_get_with_http_info(id_connector, opts = {})
1621
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
1622
+ def providers_id_connector_sources_get_with_http_info(id_connector, opts = {})
1290
1623
  if @api_client.config.debugging
1291
- @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_id_connector_logos_thumbnail_get ...'
1624
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_id_connector_sources_get ...'
1292
1625
  end
1293
1626
  # verify the required parameter 'id_connector' is set
1294
1627
  if @api_client.config.client_side_validation && id_connector.nil?
1295
- fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.providers_id_connector_logos_thumbnail_get"
1628
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling ProvidersApi.providers_id_connector_sources_get"
1296
1629
  end
1297
1630
  # resource path
1298
- local_var_path = '/providers/{id_connector}/logos/thumbnail'.sub('{' + 'id_connector' + '}', id_connector.to_s)
1631
+ local_var_path = '/providers/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
1299
1632
 
1300
1633
  # query parameters
1301
1634
  query_params = {}
@@ -1306,7 +1639,7 @@ module BudgeaClient
1306
1639
  # HTTP header 'Accept' (if needed)
1307
1640
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1308
1641
  # HTTP header 'Content-Type'
1309
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1642
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1310
1643
 
1311
1644
  # form parameters
1312
1645
  form_params = {}
@@ -1320,9 +1653,9 @@ module BudgeaClient
1320
1653
  :form_params => form_params,
1321
1654
  :body => post_body,
1322
1655
  :auth_names => auth_names,
1323
- :return_type => 'InlineResponse20010')
1656
+ :return_type => 'InlineResponse20011')
1324
1657
  if @api_client.config.debugging
1325
- @api_client.config.logger.debug "API called: ProvidersApi#providers_id_connector_logos_thumbnail_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1658
+ @api_client.config.logger.debug "API called: ProvidersApi#providers_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1326
1659
  end
1327
1660
  return data, status_code, headers
1328
1661
  end
@@ -1375,7 +1708,7 @@ module BudgeaClient
1375
1708
  # HTTP header 'Accept' (if needed)
1376
1709
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1377
1710
  # HTTP header 'Content-Type'
1378
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1711
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1379
1712
 
1380
1713
  # form parameters
1381
1714
  form_params = {}
@@ -1411,7 +1744,7 @@ module BudgeaClient
1411
1744
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
1412
1745
  # @option opts [Integer] :id_type filter with a document type
1413
1746
  # @option opts [String] :expand
1414
- # @return [InlineResponse20031]
1747
+ # @return [InlineResponse20032]
1415
1748
  def users_id_user_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_account, id_transaction, opts = {})
1416
1749
  data, _status_code, _headers = users_id_user_accounts_id_account_transactions_id_transaction_documents_get_with_http_info(id_user, id_account, id_transaction, opts)
1417
1750
  data
@@ -1433,7 +1766,7 @@ module BudgeaClient
1433
1766
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
1434
1767
  # @option opts [Integer] :id_type filter with a document type
1435
1768
  # @option opts [String] :expand
1436
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
1769
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
1437
1770
  def users_id_user_accounts_id_account_transactions_id_transaction_documents_get_with_http_info(id_user, id_account, id_transaction, opts = {})
1438
1771
  if @api_client.config.debugging
1439
1772
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_accounts_id_account_transactions_id_transaction_documents_get ...'
@@ -1471,7 +1804,7 @@ module BudgeaClient
1471
1804
  # HTTP header 'Accept' (if needed)
1472
1805
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1473
1806
  # HTTP header 'Content-Type'
1474
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1807
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1475
1808
 
1476
1809
  # form parameters
1477
1810
  form_params = {}
@@ -1485,7 +1818,7 @@ module BudgeaClient
1485
1818
  :form_params => form_params,
1486
1819
  :body => post_body,
1487
1820
  :auth_names => auth_names,
1488
- :return_type => 'InlineResponse20031')
1821
+ :return_type => 'InlineResponse20032')
1489
1822
  if @api_client.config.debugging
1490
1823
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_accounts_id_account_transactions_id_transaction_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1491
1824
  end
@@ -1546,7 +1879,7 @@ module BudgeaClient
1546
1879
  # HTTP header 'Accept' (if needed)
1547
1880
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1548
1881
  # HTTP header 'Content-Type'
1549
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1882
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1550
1883
 
1551
1884
  # form parameters
1552
1885
  form_params = {}
@@ -1842,7 +2175,7 @@ module BudgeaClient
1842
2175
  # HTTP header 'Accept' (if needed)
1843
2176
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1844
2177
  # HTTP header 'Content-Type'
1845
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2178
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1846
2179
 
1847
2180
  # form parameters
1848
2181
  form_params = {}
@@ -1912,7 +2245,7 @@ module BudgeaClient
1912
2245
  # HTTP header 'Accept' (if needed)
1913
2246
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1914
2247
  # HTTP header 'Content-Type'
1915
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2248
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1916
2249
 
1917
2250
  # form parameters
1918
2251
  form_params = {}
@@ -1948,7 +2281,7 @@ module BudgeaClient
1948
2281
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
1949
2282
  # @option opts [Integer] :id_type filter with a document type
1950
2283
  # @option opts [String] :expand
1951
- # @return [InlineResponse20031]
2284
+ # @return [InlineResponse20032]
1952
2285
  def users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_account, id_transactions_cluster, opts = {})
1953
2286
  data, _status_code, _headers = users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_account, id_transactions_cluster, opts)
1954
2287
  data
@@ -1970,7 +2303,7 @@ module BudgeaClient
1970
2303
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
1971
2304
  # @option opts [Integer] :id_type filter with a document type
1972
2305
  # @option opts [String] :expand
1973
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
2306
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
1974
2307
  def users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_account, id_transactions_cluster, opts = {})
1975
2308
  if @api_client.config.debugging
1976
2309
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get ...'
@@ -2008,7 +2341,7 @@ module BudgeaClient
2008
2341
  # HTTP header 'Accept' (if needed)
2009
2342
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2010
2343
  # HTTP header 'Content-Type'
2011
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2344
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2012
2345
 
2013
2346
  # form parameters
2014
2347
  form_params = {}
@@ -2022,7 +2355,7 @@ module BudgeaClient
2022
2355
  :form_params => form_params,
2023
2356
  :body => post_body,
2024
2357
  :auth_names => auth_names,
2025
- :return_type => 'InlineResponse20031')
2358
+ :return_type => 'InlineResponse20032')
2026
2359
  if @api_client.config.debugging
2027
2360
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2028
2361
  end
@@ -2083,7 +2416,7 @@ module BudgeaClient
2083
2416
  # HTTP header 'Accept' (if needed)
2084
2417
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2085
2418
  # HTTP header 'Content-Type'
2086
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2419
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2087
2420
 
2088
2421
  # form parameters
2089
2422
  form_params = {}
@@ -2379,7 +2712,7 @@ module BudgeaClient
2379
2712
  # HTTP header 'Accept' (if needed)
2380
2713
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2381
2714
  # HTTP header 'Content-Type'
2382
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2715
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2383
2716
 
2384
2717
  # form parameters
2385
2718
  form_params = {}
@@ -2437,7 +2770,7 @@ module BudgeaClient
2437
2770
  # HTTP header 'Accept' (if needed)
2438
2771
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2439
2772
  # HTTP header 'Content-Type'
2440
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2773
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2441
2774
 
2442
2775
  # form parameters
2443
2776
  form_params = {}
@@ -2494,7 +2827,7 @@ module BudgeaClient
2494
2827
  # HTTP header 'Accept' (if needed)
2495
2828
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2496
2829
  # HTTP header 'Content-Type'
2497
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2830
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2498
2831
 
2499
2832
  # form parameters
2500
2833
  form_params = {}
@@ -2569,7 +2902,7 @@ module BudgeaClient
2569
2902
  # HTTP header 'Accept' (if needed)
2570
2903
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2571
2904
  # HTTP header 'Content-Type'
2572
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2905
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2573
2906
 
2574
2907
  # form parameters
2575
2908
  form_params = {}
@@ -2606,7 +2939,7 @@ module BudgeaClient
2606
2939
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
2607
2940
  # @option opts [Integer] :id_type filter with a document type
2608
2941
  # @option opts [String] :expand
2609
- # @return [InlineResponse20031]
2942
+ # @return [InlineResponse20032]
2610
2943
  def users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_connection, id_account, id_transaction, opts = {})
2611
2944
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get_with_http_info(id_user, id_connection, id_account, id_transaction, opts)
2612
2945
  data
@@ -2629,7 +2962,7 @@ module BudgeaClient
2629
2962
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
2630
2963
  # @option opts [Integer] :id_type filter with a document type
2631
2964
  # @option opts [String] :expand
2632
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
2965
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
2633
2966
  def users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get_with_http_info(id_user, id_connection, id_account, id_transaction, opts = {})
2634
2967
  if @api_client.config.debugging
2635
2968
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get ...'
@@ -2671,7 +3004,7 @@ module BudgeaClient
2671
3004
  # HTTP header 'Accept' (if needed)
2672
3005
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2673
3006
  # HTTP header 'Content-Type'
2674
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3007
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2675
3008
 
2676
3009
  # form parameters
2677
3010
  form_params = {}
@@ -2685,7 +3018,7 @@ module BudgeaClient
2685
3018
  :form_params => form_params,
2686
3019
  :body => post_body,
2687
3020
  :auth_names => auth_names,
2688
- :return_type => 'InlineResponse20031')
3021
+ :return_type => 'InlineResponse20032')
2689
3022
  if @api_client.config.debugging
2690
3023
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2691
3024
  end
@@ -2752,7 +3085,7 @@ module BudgeaClient
2752
3085
  # HTTP header 'Accept' (if needed)
2753
3086
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2754
3087
  # HTTP header 'Content-Type'
2755
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3088
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2756
3089
 
2757
3090
  # form parameters
2758
3091
  form_params = {}
@@ -3066,7 +3399,7 @@ module BudgeaClient
3066
3399
  # HTTP header 'Accept' (if needed)
3067
3400
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3068
3401
  # HTTP header 'Content-Type'
3069
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3402
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3070
3403
 
3071
3404
  # form parameters
3072
3405
  form_params = {}
@@ -3142,7 +3475,7 @@ module BudgeaClient
3142
3475
  # HTTP header 'Accept' (if needed)
3143
3476
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3144
3477
  # HTTP header 'Content-Type'
3145
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3478
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3146
3479
 
3147
3480
  # form parameters
3148
3481
  form_params = {}
@@ -3179,7 +3512,7 @@ module BudgeaClient
3179
3512
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
3180
3513
  # @option opts [Integer] :id_type filter with a document type
3181
3514
  # @option opts [String] :expand
3182
- # @return [InlineResponse20031]
3515
+ # @return [InlineResponse20032]
3183
3516
  def users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_account, id_transactions_cluster, opts = {})
3184
3517
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_connection, id_account, id_transactions_cluster, opts)
3185
3518
  data
@@ -3202,7 +3535,7 @@ module BudgeaClient
3202
3535
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
3203
3536
  # @option opts [Integer] :id_type filter with a document type
3204
3537
  # @option opts [String] :expand
3205
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
3538
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
3206
3539
  def users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_connection, id_account, id_transactions_cluster, opts = {})
3207
3540
  if @api_client.config.debugging
3208
3541
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get ...'
@@ -3244,7 +3577,7 @@ module BudgeaClient
3244
3577
  # HTTP header 'Accept' (if needed)
3245
3578
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3246
3579
  # HTTP header 'Content-Type'
3247
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3580
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3248
3581
 
3249
3582
  # form parameters
3250
3583
  form_params = {}
@@ -3258,7 +3591,7 @@ module BudgeaClient
3258
3591
  :form_params => form_params,
3259
3592
  :body => post_body,
3260
3593
  :auth_names => auth_names,
3261
- :return_type => 'InlineResponse20031')
3594
+ :return_type => 'InlineResponse20032')
3262
3595
  if @api_client.config.debugging
3263
3596
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3264
3597
  end
@@ -3325,7 +3658,7 @@ module BudgeaClient
3325
3658
  # HTTP header 'Accept' (if needed)
3326
3659
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3327
3660
  # HTTP header 'Content-Type'
3328
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3661
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3329
3662
 
3330
3663
  # form parameters
3331
3664
  form_params = {}
@@ -3703,7 +4036,7 @@ module BudgeaClient
3703
4036
  # HTTP header 'Accept' (if needed)
3704
4037
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3705
4038
  # HTTP header 'Content-Type'
3706
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4039
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3707
4040
 
3708
4041
  # form parameters
3709
4042
  form_params = {}
@@ -3766,7 +4099,7 @@ module BudgeaClient
3766
4099
  # HTTP header 'Accept' (if needed)
3767
4100
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3768
4101
  # HTTP header 'Content-Type'
3769
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4102
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3770
4103
 
3771
4104
  # form parameters
3772
4105
  form_params = {}
@@ -3801,7 +4134,7 @@ module BudgeaClient
3801
4134
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
3802
4135
  # @option opts [Integer] :id_type filter with a document type
3803
4136
  # @option opts [String] :expand
3804
- # @return [InlineResponse20031]
4137
+ # @return [InlineResponse20032]
3805
4138
  def users_id_user_connections_id_connection_documents_get(id_user, id_connection, opts = {})
3806
4139
  data, _status_code, _headers = users_id_user_connections_id_connection_documents_get_with_http_info(id_user, id_connection, opts)
3807
4140
  data
@@ -3822,7 +4155,7 @@ module BudgeaClient
3822
4155
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
3823
4156
  # @option opts [Integer] :id_type filter with a document type
3824
4157
  # @option opts [String] :expand
3825
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
4158
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
3826
4159
  def users_id_user_connections_id_connection_documents_get_with_http_info(id_user, id_connection, opts = {})
3827
4160
  if @api_client.config.debugging
3828
4161
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_documents_get ...'
@@ -3856,7 +4189,7 @@ module BudgeaClient
3856
4189
  # HTTP header 'Accept' (if needed)
3857
4190
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3858
4191
  # HTTP header 'Content-Type'
3859
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4192
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3860
4193
 
3861
4194
  # form parameters
3862
4195
  form_params = {}
@@ -3870,7 +4203,7 @@ module BudgeaClient
3870
4203
  :form_params => form_params,
3871
4204
  :body => post_body,
3872
4205
  :auth_names => auth_names,
3873
- :return_type => 'InlineResponse20031')
4206
+ :return_type => 'InlineResponse20032')
3874
4207
  if @api_client.config.debugging
3875
4208
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3876
4209
  end
@@ -3925,7 +4258,7 @@ module BudgeaClient
3925
4258
  # HTTP header 'Accept' (if needed)
3926
4259
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3927
4260
  # HTTP header 'Content-Type'
3928
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4261
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3929
4262
 
3930
4263
  # form parameters
3931
4264
  form_params = {}
@@ -4203,7 +4536,7 @@ module BudgeaClient
4203
4536
  # HTTP header 'Accept' (if needed)
4204
4537
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4205
4538
  # HTTP header 'Content-Type'
4206
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4539
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4207
4540
 
4208
4541
  # form parameters
4209
4542
  form_params = {}
@@ -4267,7 +4600,7 @@ module BudgeaClient
4267
4600
  # HTTP header 'Accept' (if needed)
4268
4601
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4269
4602
  # HTTP header 'Content-Type'
4270
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4603
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4271
4604
 
4272
4605
  # form parameters
4273
4606
  form_params = {}
@@ -4330,7 +4663,7 @@ module BudgeaClient
4330
4663
  # HTTP header 'Accept' (if needed)
4331
4664
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4332
4665
  # HTTP header 'Content-Type'
4333
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4666
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4334
4667
 
4335
4668
  # form parameters
4336
4669
  form_params = {}
@@ -4365,8 +4698,9 @@ module BudgeaClient
4365
4698
  # @option opts [Integer] :id_connection2 ID of a connection
4366
4699
  # @option opts [Integer] :id_connector ID of a connector
4367
4700
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
4701
+ # @option opts [Integer] :id_source ID of a source
4368
4702
  # @option opts [String] :expand
4369
- # @return [InlineResponse20017]
4703
+ # @return [InlineResponse20015]
4370
4704
  def users_id_user_connections_id_connection_logs_get(id_user, id_connection, opts = {})
4371
4705
  data, _status_code, _headers = users_id_user_connections_id_connection_logs_get_with_http_info(id_user, id_connection, opts)
4372
4706
  data
@@ -4387,8 +4721,9 @@ module BudgeaClient
4387
4721
  # @option opts [Integer] :id_connection2 ID of a connection
4388
4722
  # @option opts [Integer] :id_connector ID of a connector
4389
4723
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
4724
+ # @option opts [Integer] :id_source ID of a source
4390
4725
  # @option opts [String] :expand
4391
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
4726
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
4392
4727
  def users_id_user_connections_id_connection_logs_get_with_http_info(id_user, id_connection, opts = {})
4393
4728
  if @api_client.config.debugging
4394
4729
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_logs_get ...'
@@ -4416,6 +4751,7 @@ module BudgeaClient
4416
4751
  query_params[:'id_connection'] = opts[:'id_connection2'] if !opts[:'id_connection2'].nil?
4417
4752
  query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
4418
4753
  query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
4754
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
4419
4755
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
4420
4756
 
4421
4757
  # header parameters
@@ -4423,7 +4759,7 @@ module BudgeaClient
4423
4759
  # HTTP header 'Accept' (if needed)
4424
4760
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4425
4761
  # HTTP header 'Content-Type'
4426
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4762
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4427
4763
 
4428
4764
  # form parameters
4429
4765
  form_params = {}
@@ -4437,7 +4773,7 @@ module BudgeaClient
4437
4773
  :form_params => form_params,
4438
4774
  :body => post_body,
4439
4775
  :auth_names => auth_names,
4440
- :return_type => 'InlineResponse20017')
4776
+ :return_type => 'InlineResponse20015')
4441
4777
  if @api_client.config.debugging
4442
4778
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4443
4779
  end
@@ -4564,7 +4900,7 @@ module BudgeaClient
4564
4900
  # HTTP header 'Accept' (if needed)
4565
4901
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4566
4902
  # HTTP header 'Content-Type'
4567
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4903
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4568
4904
 
4569
4905
  # form parameters
4570
4906
  form_params = {}
@@ -4584,6 +4920,276 @@ module BudgeaClient
4584
4920
  end
4585
4921
  return data, status_code, headers
4586
4922
  end
4923
+ # Get connection sources
4924
+ #
4925
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
4926
+ # @param id_connection
4927
+ # @param [Hash] opts the optional parameters
4928
+ # @option opts [String] :expand
4929
+ # @return [InlineResponse20030]
4930
+ def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
4931
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
4932
+ data
4933
+ end
4934
+
4935
+ # Get connection sources
4936
+ #
4937
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
4938
+ # @param id_connection
4939
+ # @param [Hash] opts the optional parameters
4940
+ # @option opts [String] :expand
4941
+ # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
4942
+ def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
4943
+ if @api_client.config.debugging
4944
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_sources_get ...'
4945
+ end
4946
+ # verify the required parameter 'id_user' is set
4947
+ if @api_client.config.client_side_validation && id_user.nil?
4948
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_connections_id_connection_sources_get"
4949
+ end
4950
+ # verify the required parameter 'id_connection' is set
4951
+ if @api_client.config.client_side_validation && id_connection.nil?
4952
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.users_id_user_connections_id_connection_sources_get"
4953
+ end
4954
+ # resource path
4955
+ local_var_path = '/users/{id_user}/connections/{id_connection}/sources'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
4956
+
4957
+ # query parameters
4958
+ query_params = {}
4959
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
4960
+
4961
+ # header parameters
4962
+ header_params = {}
4963
+ # HTTP header 'Accept' (if needed)
4964
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4965
+ # HTTP header 'Content-Type'
4966
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4967
+
4968
+ # form parameters
4969
+ form_params = {}
4970
+
4971
+ # http body (model)
4972
+ post_body = nil
4973
+ auth_names = ['api_key']
4974
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4975
+ :header_params => header_params,
4976
+ :query_params => query_params,
4977
+ :form_params => form_params,
4978
+ :body => post_body,
4979
+ :auth_names => auth_names,
4980
+ :return_type => 'InlineResponse20030')
4981
+ if @api_client.config.debugging
4982
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4983
+ end
4984
+ return data, status_code, headers
4985
+ end
4986
+ # Disable a connection source
4987
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
4988
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
4989
+ # @param id_connection
4990
+ # @param id_source
4991
+ # @param [Hash] opts the optional parameters
4992
+ # @option opts [String] :expand
4993
+ # @return [ConnectionSource]
4994
+ def users_id_user_connections_id_connection_sources_id_source_delete(id_user, id_connection, id_source, opts = {})
4995
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_delete_with_http_info(id_user, id_connection, id_source, opts)
4996
+ data
4997
+ end
4998
+
4999
+ # Disable a connection source
5000
+ # This will make it so the specified source will not be synchronized anymore.&lt;br&gt;&lt;br&gt;
5001
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5002
+ # @param id_connection
5003
+ # @param id_source
5004
+ # @param [Hash] opts the optional parameters
5005
+ # @option opts [String] :expand
5006
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
5007
+ def users_id_user_connections_id_connection_sources_id_source_delete_with_http_info(id_user, id_connection, id_source, opts = {})
5008
+ if @api_client.config.debugging
5009
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_sources_id_source_delete ...'
5010
+ end
5011
+ # verify the required parameter 'id_user' is set
5012
+ if @api_client.config.client_side_validation && id_user.nil?
5013
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_delete"
5014
+ end
5015
+ # verify the required parameter 'id_connection' is set
5016
+ if @api_client.config.client_side_validation && id_connection.nil?
5017
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_delete"
5018
+ end
5019
+ # verify the required parameter 'id_source' is set
5020
+ if @api_client.config.client_side_validation && id_source.nil?
5021
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_delete"
5022
+ end
5023
+ # resource path
5024
+ local_var_path = '/users/{id_user}/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
5025
+
5026
+ # query parameters
5027
+ query_params = {}
5028
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
5029
+
5030
+ # header parameters
5031
+ header_params = {}
5032
+ # HTTP header 'Accept' (if needed)
5033
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5034
+ # HTTP header 'Content-Type'
5035
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5036
+
5037
+ # form parameters
5038
+ form_params = {}
5039
+
5040
+ # http body (model)
5041
+ post_body = nil
5042
+ auth_names = ['api_key']
5043
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
5044
+ :header_params => header_params,
5045
+ :query_params => query_params,
5046
+ :form_params => form_params,
5047
+ :body => post_body,
5048
+ :auth_names => auth_names,
5049
+ :return_type => 'ConnectionSource')
5050
+ if @api_client.config.debugging
5051
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5052
+ end
5053
+ return data, status_code, headers
5054
+ end
5055
+ # Enable connection source
5056
+ # This will make it so the specified source will be able to be synchronized.<br><br>
5057
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5058
+ # @param id_connection
5059
+ # @param id_source
5060
+ # @param [Hash] opts the optional parameters
5061
+ # @option opts [String] :expand
5062
+ # @return [ConnectionSource]
5063
+ def users_id_user_connections_id_connection_sources_id_source_post(id_user, id_connection, id_source, opts = {})
5064
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_post_with_http_info(id_user, id_connection, id_source, opts)
5065
+ data
5066
+ end
5067
+
5068
+ # Enable connection source
5069
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
5070
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5071
+ # @param id_connection
5072
+ # @param id_source
5073
+ # @param [Hash] opts the optional parameters
5074
+ # @option opts [String] :expand
5075
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
5076
+ def users_id_user_connections_id_connection_sources_id_source_post_with_http_info(id_user, id_connection, id_source, opts = {})
5077
+ if @api_client.config.debugging
5078
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_sources_id_source_post ...'
5079
+ end
5080
+ # verify the required parameter 'id_user' is set
5081
+ if @api_client.config.client_side_validation && id_user.nil?
5082
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_post"
5083
+ end
5084
+ # verify the required parameter 'id_connection' is set
5085
+ if @api_client.config.client_side_validation && id_connection.nil?
5086
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_post"
5087
+ end
5088
+ # verify the required parameter 'id_source' is set
5089
+ if @api_client.config.client_side_validation && id_source.nil?
5090
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_post"
5091
+ end
5092
+ # resource path
5093
+ local_var_path = '/users/{id_user}/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
5094
+
5095
+ # query parameters
5096
+ query_params = {}
5097
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
5098
+
5099
+ # header parameters
5100
+ header_params = {}
5101
+ # HTTP header 'Accept' (if needed)
5102
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5103
+ # HTTP header 'Content-Type'
5104
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5105
+
5106
+ # form parameters
5107
+ form_params = {}
5108
+
5109
+ # http body (model)
5110
+ post_body = nil
5111
+ auth_names = ['api_key']
5112
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5113
+ :header_params => header_params,
5114
+ :query_params => query_params,
5115
+ :form_params => form_params,
5116
+ :body => post_body,
5117
+ :auth_names => auth_names,
5118
+ :return_type => 'ConnectionSource')
5119
+ if @api_client.config.debugging
5120
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5121
+ end
5122
+ return data, status_code, headers
5123
+ end
5124
+ # Enable connection source
5125
+ # This will make it so the specified source will be able to be synchronized.<br><br>
5126
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5127
+ # @param id_connection
5128
+ # @param id_source
5129
+ # @param [Hash] opts the optional parameters
5130
+ # @option opts [String] :expand
5131
+ # @return [ConnectionSource]
5132
+ def users_id_user_connections_id_connection_sources_id_source_put(id_user, id_connection, id_source, opts = {})
5133
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_put_with_http_info(id_user, id_connection, id_source, opts)
5134
+ data
5135
+ end
5136
+
5137
+ # Enable connection source
5138
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
5139
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5140
+ # @param id_connection
5141
+ # @param id_source
5142
+ # @param [Hash] opts the optional parameters
5143
+ # @option opts [String] :expand
5144
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
5145
+ def users_id_user_connections_id_connection_sources_id_source_put_with_http_info(id_user, id_connection, id_source, opts = {})
5146
+ if @api_client.config.debugging
5147
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_sources_id_source_put ...'
5148
+ end
5149
+ # verify the required parameter 'id_user' is set
5150
+ if @api_client.config.client_side_validation && id_user.nil?
5151
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_put"
5152
+ end
5153
+ # verify the required parameter 'id_connection' is set
5154
+ if @api_client.config.client_side_validation && id_connection.nil?
5155
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_put"
5156
+ end
5157
+ # verify the required parameter 'id_source' is set
5158
+ if @api_client.config.client_side_validation && id_source.nil?
5159
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.users_id_user_connections_id_connection_sources_id_source_put"
5160
+ end
5161
+ # resource path
5162
+ local_var_path = '/users/{id_user}/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
5163
+
5164
+ # query parameters
5165
+ query_params = {}
5166
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
5167
+
5168
+ # header parameters
5169
+ header_params = {}
5170
+ # HTTP header 'Accept' (if needed)
5171
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5172
+ # HTTP header 'Content-Type'
5173
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5174
+
5175
+ # form parameters
5176
+ form_params = {}
5177
+
5178
+ # http body (model)
5179
+ post_body = nil
5180
+ auth_names = ['api_key']
5181
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
5182
+ :header_params => header_params,
5183
+ :query_params => query_params,
5184
+ :form_params => form_params,
5185
+ :body => post_body,
5186
+ :auth_names => auth_names,
5187
+ :return_type => 'ConnectionSource')
5188
+ if @api_client.config.debugging
5189
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5190
+ end
5191
+ return data, status_code, headers
5192
+ end
4587
5193
  # Delete a subscription.
4588
5194
  # It deletes a specific subscription.<br><br>
4589
5195
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -4633,7 +5239,7 @@ module BudgeaClient
4633
5239
  # HTTP header 'Accept' (if needed)
4634
5240
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4635
5241
  # HTTP header 'Content-Type'
4636
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5242
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4637
5243
 
4638
5244
  # form parameters
4639
5245
  form_params = {}
@@ -4702,7 +5308,7 @@ module BudgeaClient
4702
5308
  # HTTP header 'Accept' (if needed)
4703
5309
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4704
5310
  # HTTP header 'Content-Type'
4705
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5311
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4706
5312
 
4707
5313
  # form parameters
4708
5314
  form_params = {}
@@ -4738,7 +5344,7 @@ module BudgeaClient
4738
5344
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
4739
5345
  # @option opts [Integer] :id_type filter with a document type
4740
5346
  # @option opts [String] :expand
4741
- # @return [InlineResponse20031]
5347
+ # @return [InlineResponse20032]
4742
5348
  def users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get(id_user, id_connection, id_subscription, opts = {})
4743
5349
  data, _status_code, _headers = users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get_with_http_info(id_user, id_connection, id_subscription, opts)
4744
5350
  data
@@ -4760,7 +5366,7 @@ module BudgeaClient
4760
5366
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
4761
5367
  # @option opts [Integer] :id_type filter with a document type
4762
5368
  # @option opts [String] :expand
4763
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
5369
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
4764
5370
  def users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get_with_http_info(id_user, id_connection, id_subscription, opts = {})
4765
5371
  if @api_client.config.debugging
4766
5372
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get ...'
@@ -4798,7 +5404,7 @@ module BudgeaClient
4798
5404
  # HTTP header 'Accept' (if needed)
4799
5405
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4800
5406
  # HTTP header 'Content-Type'
4801
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5407
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4802
5408
 
4803
5409
  # form parameters
4804
5410
  form_params = {}
@@ -4812,7 +5418,7 @@ module BudgeaClient
4812
5418
  :form_params => form_params,
4813
5419
  :body => post_body,
4814
5420
  :auth_names => auth_names,
4815
- :return_type => 'InlineResponse20031')
5421
+ :return_type => 'InlineResponse20032')
4816
5422
  if @api_client.config.debugging
4817
5423
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4818
5424
  end
@@ -4873,7 +5479,7 @@ module BudgeaClient
4873
5479
  # HTTP header 'Accept' (if needed)
4874
5480
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4875
5481
  # HTTP header 'Content-Type'
4876
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5482
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4877
5483
 
4878
5484
  # form parameters
4879
5485
  form_params = {}
@@ -5169,7 +5775,7 @@ module BudgeaClient
5169
5775
  # HTTP header 'Accept' (if needed)
5170
5776
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5171
5777
  # HTTP header 'Content-Type'
5172
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5778
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5173
5779
 
5174
5780
  # form parameters
5175
5781
  form_params = {}
@@ -5190,6 +5796,87 @@ module BudgeaClient
5190
5796
  end
5191
5797
  return data, status_code, headers
5192
5798
  end
5799
+ # Get subscriptions logs.
5800
+ # Get logs of subscription.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
5801
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5802
+ # @param id_connection
5803
+ # @param id_subscription
5804
+ # @param [Hash] opts the optional parameters
5805
+ # @option opts [Integer] :limit limit number of results
5806
+ # @option opts [Integer] :offset offset of first result
5807
+ # @option opts [Date] :min_date minimal (inclusive) date
5808
+ # @option opts [Date] :max_date maximum (inclusive) date
5809
+ # @option opts [String] :expand
5810
+ # @return [InlineResponse20037]
5811
+ def users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get(id_user, id_connection, id_subscription, opts = {})
5812
+ data, _status_code, _headers = users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get_with_http_info(id_user, id_connection, id_subscription, opts)
5813
+ data
5814
+ end
5815
+
5816
+ # Get subscriptions logs.
5817
+ # Get logs of subscription.&lt;br&gt;&lt;br&gt;By default, it selects logs for the last month. You can use \&quot;min_date\&quot; and \&quot;max_date\&quot; to change boundary dates.&lt;br&gt;&lt;br&gt;
5818
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5819
+ # @param id_connection
5820
+ # @param id_subscription
5821
+ # @param [Hash] opts the optional parameters
5822
+ # @option opts [Integer] :limit limit number of results
5823
+ # @option opts [Integer] :offset offset of first result
5824
+ # @option opts [Date] :min_date minimal (inclusive) date
5825
+ # @option opts [Date] :max_date maximum (inclusive) date
5826
+ # @option opts [String] :expand
5827
+ # @return [Array<(InlineResponse20037, Fixnum, Hash)>] InlineResponse20037 data, response status code and response headers
5828
+ def users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get_with_http_info(id_user, id_connection, id_subscription, opts = {})
5829
+ if @api_client.config.debugging
5830
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get ...'
5831
+ end
5832
+ # verify the required parameter 'id_user' is set
5833
+ if @api_client.config.client_side_validation && id_user.nil?
5834
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get"
5835
+ end
5836
+ # verify the required parameter 'id_connection' is set
5837
+ if @api_client.config.client_side_validation && id_connection.nil?
5838
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get"
5839
+ end
5840
+ # verify the required parameter 'id_subscription' is set
5841
+ if @api_client.config.client_side_validation && id_subscription.nil?
5842
+ fail ArgumentError, "Missing the required parameter 'id_subscription' when calling ProvidersApi.users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get"
5843
+ end
5844
+ # resource path
5845
+ local_var_path = '/users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/logs'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_subscription' + '}', id_subscription.to_s)
5846
+
5847
+ # query parameters
5848
+ query_params = {}
5849
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
5850
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
5851
+ query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
5852
+ query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
5853
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
5854
+
5855
+ # header parameters
5856
+ header_params = {}
5857
+ # HTTP header 'Accept' (if needed)
5858
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5859
+ # HTTP header 'Content-Type'
5860
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5861
+
5862
+ # form parameters
5863
+ form_params = {}
5864
+
5865
+ # http body (model)
5866
+ post_body = nil
5867
+ auth_names = ['api_key']
5868
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5869
+ :header_params => header_params,
5870
+ :query_params => query_params,
5871
+ :form_params => form_params,
5872
+ :body => post_body,
5873
+ :auth_names => auth_names,
5874
+ :return_type => 'InlineResponse20037')
5875
+ if @api_client.config.debugging
5876
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5877
+ end
5878
+ return data, status_code, headers
5879
+ end
5193
5880
  # Update a subscription
5194
5881
  # It updates a specific subscription<br><br>
5195
5882
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -5243,7 +5930,7 @@ module BudgeaClient
5243
5930
  # HTTP header 'Accept' (if needed)
5244
5931
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5245
5932
  # HTTP header 'Content-Type'
5246
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5933
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5247
5934
 
5248
5935
  # form parameters
5249
5936
  form_params = {}
@@ -5265,6 +5952,69 @@ module BudgeaClient
5265
5952
  end
5266
5953
  return data, status_code, headers
5267
5954
  end
5955
+ # Update many subscriptions at once
5956
+ #
5957
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5958
+ # @param id_connection
5959
+ # @param [Hash] opts the optional parameters
5960
+ # @option opts [String] :expand
5961
+ # @return [Subscription]
5962
+ def users_id_user_connections_id_connection_subscriptions_put(id_user, id_connection, opts = {})
5963
+ data, _status_code, _headers = users_id_user_connections_id_connection_subscriptions_put_with_http_info(id_user, id_connection, opts)
5964
+ data
5965
+ end
5966
+
5967
+ # Update many subscriptions at once
5968
+ #
5969
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5970
+ # @param id_connection
5971
+ # @param [Hash] opts the optional parameters
5972
+ # @option opts [String] :expand
5973
+ # @return [Array<(Subscription, Fixnum, Hash)>] Subscription data, response status code and response headers
5974
+ def users_id_user_connections_id_connection_subscriptions_put_with_http_info(id_user, id_connection, opts = {})
5975
+ if @api_client.config.debugging
5976
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_subscriptions_put ...'
5977
+ end
5978
+ # verify the required parameter 'id_user' is set
5979
+ if @api_client.config.client_side_validation && id_user.nil?
5980
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_connections_id_connection_subscriptions_put"
5981
+ end
5982
+ # verify the required parameter 'id_connection' is set
5983
+ if @api_client.config.client_side_validation && id_connection.nil?
5984
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.users_id_user_connections_id_connection_subscriptions_put"
5985
+ end
5986
+ # resource path
5987
+ local_var_path = '/users/{id_user}/connections/{id_connection}/subscriptions'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
5988
+
5989
+ # query parameters
5990
+ query_params = {}
5991
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
5992
+
5993
+ # header parameters
5994
+ header_params = {}
5995
+ # HTTP header 'Accept' (if needed)
5996
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5997
+ # HTTP header 'Content-Type'
5998
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5999
+
6000
+ # form parameters
6001
+ form_params = {}
6002
+
6003
+ # http body (model)
6004
+ post_body = nil
6005
+ auth_names = ['api_key']
6006
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
6007
+ :header_params => header_params,
6008
+ :query_params => query_params,
6009
+ :form_params => form_params,
6010
+ :body => post_body,
6011
+ :auth_names => auth_names,
6012
+ :return_type => 'Subscription')
6013
+ if @api_client.config.debugging
6014
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_subscriptions_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6015
+ end
6016
+ return data, status_code, headers
6017
+ end
5268
6018
  # Delete documents
5269
6019
  #
5270
6020
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -5314,7 +6064,7 @@ module BudgeaClient
5314
6064
  # HTTP header 'Accept' (if needed)
5315
6065
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5316
6066
  # HTTP header 'Content-Type'
5317
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6067
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5318
6068
 
5319
6069
  # form parameters
5320
6070
  form_params = {}
@@ -5350,7 +6100,7 @@ module BudgeaClient
5350
6100
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
5351
6101
  # @option opts [Integer] :id_type filter with a document type
5352
6102
  # @option opts [String] :expand
5353
- # @return [InlineResponse20031]
6103
+ # @return [InlineResponse20032]
5354
6104
  def users_id_user_connections_id_connection_transactions_id_transaction_documents_get(id_user, id_connection, id_transaction, opts = {})
5355
6105
  data, _status_code, _headers = users_id_user_connections_id_connection_transactions_id_transaction_documents_get_with_http_info(id_user, id_connection, id_transaction, opts)
5356
6106
  data
@@ -5372,7 +6122,7 @@ module BudgeaClient
5372
6122
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
5373
6123
  # @option opts [Integer] :id_type filter with a document type
5374
6124
  # @option opts [String] :expand
5375
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
6125
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
5376
6126
  def users_id_user_connections_id_connection_transactions_id_transaction_documents_get_with_http_info(id_user, id_connection, id_transaction, opts = {})
5377
6127
  if @api_client.config.debugging
5378
6128
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_transactions_id_transaction_documents_get ...'
@@ -5410,7 +6160,7 @@ module BudgeaClient
5410
6160
  # HTTP header 'Accept' (if needed)
5411
6161
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5412
6162
  # HTTP header 'Content-Type'
5413
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6163
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5414
6164
 
5415
6165
  # form parameters
5416
6166
  form_params = {}
@@ -5424,7 +6174,7 @@ module BudgeaClient
5424
6174
  :form_params => form_params,
5425
6175
  :body => post_body,
5426
6176
  :auth_names => auth_names,
5427
- :return_type => 'InlineResponse20031')
6177
+ :return_type => 'InlineResponse20032')
5428
6178
  if @api_client.config.debugging
5429
6179
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_transactions_id_transaction_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5430
6180
  end
@@ -5485,7 +6235,7 @@ module BudgeaClient
5485
6235
  # HTTP header 'Accept' (if needed)
5486
6236
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5487
6237
  # HTTP header 'Content-Type'
5488
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6238
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5489
6239
 
5490
6240
  # form parameters
5491
6241
  form_params = {}
@@ -5781,7 +6531,7 @@ module BudgeaClient
5781
6531
  # HTTP header 'Accept' (if needed)
5782
6532
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5783
6533
  # HTTP header 'Content-Type'
5784
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6534
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5785
6535
 
5786
6536
  # form parameters
5787
6537
  form_params = {}
@@ -5851,7 +6601,7 @@ module BudgeaClient
5851
6601
  # HTTP header 'Accept' (if needed)
5852
6602
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5853
6603
  # HTTP header 'Content-Type'
5854
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6604
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5855
6605
 
5856
6606
  # form parameters
5857
6607
  form_params = {}
@@ -5887,7 +6637,7 @@ module BudgeaClient
5887
6637
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
5888
6638
  # @option opts [Integer] :id_type filter with a document type
5889
6639
  # @option opts [String] :expand
5890
- # @return [InlineResponse20031]
6640
+ # @return [InlineResponse20032]
5891
6641
  def users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_transactions_cluster, opts = {})
5892
6642
  data, _status_code, _headers = users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_connection, id_transactions_cluster, opts)
5893
6643
  data
@@ -5909,7 +6659,7 @@ module BudgeaClient
5909
6659
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
5910
6660
  # @option opts [Integer] :id_type filter with a document type
5911
6661
  # @option opts [String] :expand
5912
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
6662
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
5913
6663
  def users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_connection, id_transactions_cluster, opts = {})
5914
6664
  if @api_client.config.debugging
5915
6665
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get ...'
@@ -5947,7 +6697,7 @@ module BudgeaClient
5947
6697
  # HTTP header 'Accept' (if needed)
5948
6698
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5949
6699
  # HTTP header 'Content-Type'
5950
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6700
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5951
6701
 
5952
6702
  # form parameters
5953
6703
  form_params = {}
@@ -5961,7 +6711,7 @@ module BudgeaClient
5961
6711
  :form_params => form_params,
5962
6712
  :body => post_body,
5963
6713
  :auth_names => auth_names,
5964
- :return_type => 'InlineResponse20031')
6714
+ :return_type => 'InlineResponse20032')
5965
6715
  if @api_client.config.debugging
5966
6716
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5967
6717
  end
@@ -6022,7 +6772,7 @@ module BudgeaClient
6022
6772
  # HTTP header 'Accept' (if needed)
6023
6773
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6024
6774
  # HTTP header 'Content-Type'
6025
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6775
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6026
6776
 
6027
6777
  # form parameters
6028
6778
  form_params = {}
@@ -6318,7 +7068,7 @@ module BudgeaClient
6318
7068
  # HTTP header 'Accept' (if needed)
6319
7069
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6320
7070
  # HTTP header 'Content-Type'
6321
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7071
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6322
7072
 
6323
7073
  # form parameters
6324
7074
  form_params = {}
@@ -6343,6 +7093,7 @@ module BudgeaClient
6343
7093
  # Create a new connection to a given bank or provider. You have to give all needed parameters (use /banks/ID/fields or /providers/ID/fields to get them).<br><br>
6344
7094
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6345
7095
  # @param [Hash] opts the optional parameters
7096
+ # @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
6346
7097
  # @option opts [Integer] :id_connector ID of the connector
6347
7098
  # @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
6348
7099
  # @option opts [String] :birthday bank additional login parameter
@@ -6355,6 +7106,8 @@ module BudgeaClient
6355
7106
  # @option opts [String] :birthdate bank additional login parameter
6356
7107
  # @option opts [String] :nuser bank additional login parameter
6357
7108
  # @option opts [String] :website bank additional login parameter
7109
+ # @option opts [String] :openapiwebsite bank additional login parameter
7110
+ # @option opts [String] :website2 bank additional login parameter
6358
7111
  # @option opts [String] :login bank additional login parameter
6359
7112
  # @option opts [Integer] :id_provider ID of the provider
6360
7113
  # @option opts [String] :expand
@@ -6368,6 +7121,7 @@ module BudgeaClient
6368
7121
  # Create a new connection to a given bank or provider. You have to give all needed parameters (use /banks/ID/fields or /providers/ID/fields to get them).&lt;br&gt;&lt;br&gt;
6369
7122
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6370
7123
  # @param [Hash] opts the optional parameters
7124
+ # @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
6371
7125
  # @option opts [Integer] :id_connector ID of the connector
6372
7126
  # @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
6373
7127
  # @option opts [String] :birthday bank additional login parameter
@@ -6380,6 +7134,8 @@ module BudgeaClient
6380
7134
  # @option opts [String] :birthdate bank additional login parameter
6381
7135
  # @option opts [String] :nuser bank additional login parameter
6382
7136
  # @option opts [String] :website bank additional login parameter
7137
+ # @option opts [String] :openapiwebsite bank additional login parameter
7138
+ # @option opts [String] :website2 bank additional login parameter
6383
7139
  # @option opts [String] :login bank additional login parameter
6384
7140
  # @option opts [Integer] :id_provider ID of the provider
6385
7141
  # @option opts [String] :expand
@@ -6397,6 +7153,7 @@ module BudgeaClient
6397
7153
 
6398
7154
  # query parameters
6399
7155
  query_params = {}
7156
+ query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
6400
7157
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
6401
7158
 
6402
7159
  # header parameters
@@ -6420,6 +7177,8 @@ module BudgeaClient
6420
7177
  form_params['birthdate'] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
6421
7178
  form_params['nuser'] = opts[:'nuser'] if !opts[:'nuser'].nil?
6422
7179
  form_params['website'] = opts[:'website'] if !opts[:'website'].nil?
7180
+ form_params['openapiwebsite'] = opts[:'openapiwebsite'] if !opts[:'openapiwebsite'].nil?
7181
+ form_params['website'] = opts[:'website2'] if !opts[:'website2'].nil?
6423
7182
  form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
6424
7183
  form_params['id_provider'] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
6425
7184
 
@@ -6475,7 +7234,7 @@ module BudgeaClient
6475
7234
  # HTTP header 'Accept' (if needed)
6476
7235
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6477
7236
  # HTTP header 'Content-Type'
6478
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7237
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6479
7238
 
6480
7239
  # form parameters
6481
7240
  form_params = {}
@@ -6509,7 +7268,7 @@ module BudgeaClient
6509
7268
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
6510
7269
  # @option opts [Integer] :id_type filter with a document type
6511
7270
  # @option opts [String] :expand
6512
- # @return [InlineResponse20031]
7271
+ # @return [InlineResponse20032]
6513
7272
  def users_id_user_documents_get(id_user, opts = {})
6514
7273
  data, _status_code, _headers = users_id_user_documents_get_with_http_info(id_user, opts)
6515
7274
  data
@@ -6529,7 +7288,7 @@ module BudgeaClient
6529
7288
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
6530
7289
  # @option opts [Integer] :id_type filter with a document type
6531
7290
  # @option opts [String] :expand
6532
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
7291
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
6533
7292
  def users_id_user_documents_get_with_http_info(id_user, opts = {})
6534
7293
  if @api_client.config.debugging
6535
7294
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_documents_get ...'
@@ -6559,7 +7318,7 @@ module BudgeaClient
6559
7318
  # HTTP header 'Accept' (if needed)
6560
7319
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6561
7320
  # HTTP header 'Content-Type'
6562
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7321
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6563
7322
 
6564
7323
  # form parameters
6565
7324
  form_params = {}
@@ -6573,7 +7332,7 @@ module BudgeaClient
6573
7332
  :form_params => form_params,
6574
7333
  :body => post_body,
6575
7334
  :auth_names => auth_names,
6576
- :return_type => 'InlineResponse20031')
7335
+ :return_type => 'InlineResponse20032')
6577
7336
  if @api_client.config.debugging
6578
7337
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6579
7338
  end
@@ -6622,7 +7381,7 @@ module BudgeaClient
6622
7381
  # HTTP header 'Accept' (if needed)
6623
7382
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6624
7383
  # HTTP header 'Content-Type'
6625
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7384
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6626
7385
 
6627
7386
  # form parameters
6628
7387
  form_params = {}
@@ -6882,7 +7641,7 @@ module BudgeaClient
6882
7641
  # HTTP header 'Accept' (if needed)
6883
7642
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6884
7643
  # HTTP header 'Content-Type'
6885
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7644
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6886
7645
 
6887
7646
  # form parameters
6888
7647
  form_params = {}
@@ -6917,8 +7676,9 @@ module BudgeaClient
6917
7676
  # @option opts [Integer] :id_connection ID of a connection
6918
7677
  # @option opts [Integer] :id_connector ID of a connector
6919
7678
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
7679
+ # @option opts [Integer] :id_source ID of a source
6920
7680
  # @option opts [String] :expand
6921
- # @return [InlineResponse20017]
7681
+ # @return [InlineResponse20015]
6922
7682
  def users_id_user_logs_get(id_user, opts = {})
6923
7683
  data, _status_code, _headers = users_id_user_logs_get_with_http_info(id_user, opts)
6924
7684
  data
@@ -6938,8 +7698,9 @@ module BudgeaClient
6938
7698
  # @option opts [Integer] :id_connection ID of a connection
6939
7699
  # @option opts [Integer] :id_connector ID of a connector
6940
7700
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
7701
+ # @option opts [Integer] :id_source ID of a source
6941
7702
  # @option opts [String] :expand
6942
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
7703
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
6943
7704
  def users_id_user_logs_get_with_http_info(id_user, opts = {})
6944
7705
  if @api_client.config.debugging
6945
7706
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_logs_get ...'
@@ -6963,6 +7724,7 @@ module BudgeaClient
6963
7724
  query_params[:'id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
6964
7725
  query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
6965
7726
  query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
7727
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
6966
7728
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
6967
7729
 
6968
7730
  # header parameters
@@ -6970,7 +7732,7 @@ module BudgeaClient
6970
7732
  # HTTP header 'Accept' (if needed)
6971
7733
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6972
7734
  # HTTP header 'Content-Type'
6973
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7735
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6974
7736
 
6975
7737
  # form parameters
6976
7738
  form_params = {}
@@ -6984,7 +7746,7 @@ module BudgeaClient
6984
7746
  :form_params => form_params,
6985
7747
  :body => post_body,
6986
7748
  :auth_names => auth_names,
6987
- :return_type => 'InlineResponse20017')
7749
+ :return_type => 'InlineResponse20015')
6988
7750
  if @api_client.config.debugging
6989
7751
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6990
7752
  end
@@ -7099,7 +7861,7 @@ module BudgeaClient
7099
7861
  # HTTP header 'Accept' (if needed)
7100
7862
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7101
7863
  # HTTP header 'Content-Type'
7102
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7864
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7103
7865
 
7104
7866
  # form parameters
7105
7867
  form_params = {}
@@ -7162,7 +7924,7 @@ module BudgeaClient
7162
7924
  # HTTP header 'Accept' (if needed)
7163
7925
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7164
7926
  # HTTP header 'Content-Type'
7165
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7927
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7166
7928
 
7167
7929
  # form parameters
7168
7930
  form_params = {}
@@ -7197,7 +7959,7 @@ module BudgeaClient
7197
7959
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
7198
7960
  # @option opts [Integer] :id_type filter with a document type
7199
7961
  # @option opts [String] :expand
7200
- # @return [InlineResponse20031]
7962
+ # @return [InlineResponse20032]
7201
7963
  def users_id_user_subscriptions_id_subscription_documents_get(id_user, id_subscription, opts = {})
7202
7964
  data, _status_code, _headers = users_id_user_subscriptions_id_subscription_documents_get_with_http_info(id_user, id_subscription, opts)
7203
7965
  data
@@ -7218,7 +7980,7 @@ module BudgeaClient
7218
7980
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
7219
7981
  # @option opts [Integer] :id_type filter with a document type
7220
7982
  # @option opts [String] :expand
7221
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
7983
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
7222
7984
  def users_id_user_subscriptions_id_subscription_documents_get_with_http_info(id_user, id_subscription, opts = {})
7223
7985
  if @api_client.config.debugging
7224
7986
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_subscriptions_id_subscription_documents_get ...'
@@ -7252,7 +8014,7 @@ module BudgeaClient
7252
8014
  # HTTP header 'Accept' (if needed)
7253
8015
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7254
8016
  # HTTP header 'Content-Type'
7255
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8017
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7256
8018
 
7257
8019
  # form parameters
7258
8020
  form_params = {}
@@ -7266,7 +8028,7 @@ module BudgeaClient
7266
8028
  :form_params => form_params,
7267
8029
  :body => post_body,
7268
8030
  :auth_names => auth_names,
7269
- :return_type => 'InlineResponse20031')
8031
+ :return_type => 'InlineResponse20032')
7270
8032
  if @api_client.config.debugging
7271
8033
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_subscriptions_id_subscription_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7272
8034
  end
@@ -7321,7 +8083,7 @@ module BudgeaClient
7321
8083
  # HTTP header 'Accept' (if needed)
7322
8084
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7323
8085
  # HTTP header 'Content-Type'
7324
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8086
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7325
8087
 
7326
8088
  # form parameters
7327
8089
  form_params = {}
@@ -7620,6 +8382,81 @@ module BudgeaClient
7620
8382
  end
7621
8383
  return data, status_code, headers
7622
8384
  end
8385
+ # Get subscriptions logs.
8386
+ # Get logs of subscription.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
8387
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
8388
+ # @param id_subscription
8389
+ # @param [Hash] opts the optional parameters
8390
+ # @option opts [Integer] :limit limit number of results
8391
+ # @option opts [Integer] :offset offset of first result
8392
+ # @option opts [Date] :min_date minimal (inclusive) date
8393
+ # @option opts [Date] :max_date maximum (inclusive) date
8394
+ # @option opts [String] :expand
8395
+ # @return [InlineResponse20037]
8396
+ def users_id_user_subscriptions_id_subscription_logs_get(id_user, id_subscription, opts = {})
8397
+ data, _status_code, _headers = users_id_user_subscriptions_id_subscription_logs_get_with_http_info(id_user, id_subscription, opts)
8398
+ data
8399
+ end
8400
+
8401
+ # Get subscriptions logs.
8402
+ # Get logs of subscription.&lt;br&gt;&lt;br&gt;By default, it selects logs for the last month. You can use \&quot;min_date\&quot; and \&quot;max_date\&quot; to change boundary dates.&lt;br&gt;&lt;br&gt;
8403
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
8404
+ # @param id_subscription
8405
+ # @param [Hash] opts the optional parameters
8406
+ # @option opts [Integer] :limit limit number of results
8407
+ # @option opts [Integer] :offset offset of first result
8408
+ # @option opts [Date] :min_date minimal (inclusive) date
8409
+ # @option opts [Date] :max_date maximum (inclusive) date
8410
+ # @option opts [String] :expand
8411
+ # @return [Array<(InlineResponse20037, Fixnum, Hash)>] InlineResponse20037 data, response status code and response headers
8412
+ def users_id_user_subscriptions_id_subscription_logs_get_with_http_info(id_user, id_subscription, opts = {})
8413
+ if @api_client.config.debugging
8414
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_subscriptions_id_subscription_logs_get ...'
8415
+ end
8416
+ # verify the required parameter 'id_user' is set
8417
+ if @api_client.config.client_side_validation && id_user.nil?
8418
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_subscriptions_id_subscription_logs_get"
8419
+ end
8420
+ # verify the required parameter 'id_subscription' is set
8421
+ if @api_client.config.client_side_validation && id_subscription.nil?
8422
+ fail ArgumentError, "Missing the required parameter 'id_subscription' when calling ProvidersApi.users_id_user_subscriptions_id_subscription_logs_get"
8423
+ end
8424
+ # resource path
8425
+ local_var_path = '/users/{id_user}/subscriptions/{id_subscription}/logs'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_subscription' + '}', id_subscription.to_s)
8426
+
8427
+ # query parameters
8428
+ query_params = {}
8429
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
8430
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
8431
+ query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
8432
+ query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
8433
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
8434
+
8435
+ # header parameters
8436
+ header_params = {}
8437
+ # HTTP header 'Accept' (if needed)
8438
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8439
+ # HTTP header 'Content-Type'
8440
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8441
+
8442
+ # form parameters
8443
+ form_params = {}
8444
+
8445
+ # http body (model)
8446
+ post_body = nil
8447
+ auth_names = ['api_key']
8448
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
8449
+ :header_params => header_params,
8450
+ :query_params => query_params,
8451
+ :form_params => form_params,
8452
+ :body => post_body,
8453
+ :auth_names => auth_names,
8454
+ :return_type => 'InlineResponse20037')
8455
+ if @api_client.config.debugging
8456
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_subscriptions_id_subscription_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8457
+ end
8458
+ return data, status_code, headers
8459
+ end
7623
8460
  # Update a subscription
7624
8461
  # It updates a specific subscription<br><br>
7625
8462
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -7689,6 +8526,63 @@ module BudgeaClient
7689
8526
  end
7690
8527
  return data, status_code, headers
7691
8528
  end
8529
+ # Update many subscriptions at once
8530
+ #
8531
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
8532
+ # @param [Hash] opts the optional parameters
8533
+ # @option opts [String] :expand
8534
+ # @return [Subscription]
8535
+ def users_id_user_subscriptions_put(id_user, opts = {})
8536
+ data, _status_code, _headers = users_id_user_subscriptions_put_with_http_info(id_user, opts)
8537
+ data
8538
+ end
8539
+
8540
+ # Update many subscriptions at once
8541
+ #
8542
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
8543
+ # @param [Hash] opts the optional parameters
8544
+ # @option opts [String] :expand
8545
+ # @return [Array<(Subscription, Fixnum, Hash)>] Subscription data, response status code and response headers
8546
+ def users_id_user_subscriptions_put_with_http_info(id_user, opts = {})
8547
+ if @api_client.config.debugging
8548
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_subscriptions_put ...'
8549
+ end
8550
+ # verify the required parameter 'id_user' is set
8551
+ if @api_client.config.client_side_validation && id_user.nil?
8552
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_subscriptions_put"
8553
+ end
8554
+ # resource path
8555
+ local_var_path = '/users/{id_user}/subscriptions'.sub('{' + 'id_user' + '}', id_user.to_s)
8556
+
8557
+ # query parameters
8558
+ query_params = {}
8559
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
8560
+
8561
+ # header parameters
8562
+ header_params = {}
8563
+ # HTTP header 'Accept' (if needed)
8564
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8565
+ # HTTP header 'Content-Type'
8566
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8567
+
8568
+ # form parameters
8569
+ form_params = {}
8570
+
8571
+ # http body (model)
8572
+ post_body = nil
8573
+ auth_names = ['api_key']
8574
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8575
+ :header_params => header_params,
8576
+ :query_params => query_params,
8577
+ :form_params => form_params,
8578
+ :body => post_body,
8579
+ :auth_names => auth_names,
8580
+ :return_type => 'Subscription')
8581
+ if @api_client.config.debugging
8582
+ @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_subscriptions_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8583
+ end
8584
+ return data, status_code, headers
8585
+ end
7692
8586
  # Delete documents
7693
8587
  #
7694
8588
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -7732,7 +8626,7 @@ module BudgeaClient
7732
8626
  # HTTP header 'Accept' (if needed)
7733
8627
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7734
8628
  # HTTP header 'Content-Type'
7735
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8629
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7736
8630
 
7737
8631
  # form parameters
7738
8632
  form_params = {}
@@ -7767,7 +8661,7 @@ module BudgeaClient
7767
8661
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
7768
8662
  # @option opts [Integer] :id_type filter with a document type
7769
8663
  # @option opts [String] :expand
7770
- # @return [InlineResponse20031]
8664
+ # @return [InlineResponse20032]
7771
8665
  def users_id_user_transactions_id_transaction_documents_get(id_user, id_transaction, opts = {})
7772
8666
  data, _status_code, _headers = users_id_user_transactions_id_transaction_documents_get_with_http_info(id_user, id_transaction, opts)
7773
8667
  data
@@ -7788,7 +8682,7 @@ module BudgeaClient
7788
8682
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
7789
8683
  # @option opts [Integer] :id_type filter with a document type
7790
8684
  # @option opts [String] :expand
7791
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
8685
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
7792
8686
  def users_id_user_transactions_id_transaction_documents_get_with_http_info(id_user, id_transaction, opts = {})
7793
8687
  if @api_client.config.debugging
7794
8688
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_transactions_id_transaction_documents_get ...'
@@ -7822,7 +8716,7 @@ module BudgeaClient
7822
8716
  # HTTP header 'Accept' (if needed)
7823
8717
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7824
8718
  # HTTP header 'Content-Type'
7825
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8719
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7826
8720
 
7827
8721
  # form parameters
7828
8722
  form_params = {}
@@ -7836,7 +8730,7 @@ module BudgeaClient
7836
8730
  :form_params => form_params,
7837
8731
  :body => post_body,
7838
8732
  :auth_names => auth_names,
7839
- :return_type => 'InlineResponse20031')
8733
+ :return_type => 'InlineResponse20032')
7840
8734
  if @api_client.config.debugging
7841
8735
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_transactions_id_transaction_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7842
8736
  end
@@ -7891,7 +8785,7 @@ module BudgeaClient
7891
8785
  # HTTP header 'Accept' (if needed)
7892
8786
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7893
8787
  # HTTP header 'Content-Type'
7894
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8788
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7895
8789
 
7896
8790
  # form parameters
7897
8791
  form_params = {}
@@ -8233,7 +9127,7 @@ module BudgeaClient
8233
9127
  # HTTP header 'Accept' (if needed)
8234
9128
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8235
9129
  # HTTP header 'Content-Type'
8236
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
9130
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8237
9131
 
8238
9132
  # form parameters
8239
9133
  form_params = {}
@@ -8268,7 +9162,7 @@ module BudgeaClient
8268
9162
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
8269
9163
  # @option opts [Integer] :id_type filter with a document type
8270
9164
  # @option opts [String] :expand
8271
- # @return [InlineResponse20031]
9165
+ # @return [InlineResponse20032]
8272
9166
  def users_id_user_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_transactions_cluster, opts = {})
8273
9167
  data, _status_code, _headers = users_id_user_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_transactions_cluster, opts)
8274
9168
  data
@@ -8289,7 +9183,7 @@ module BudgeaClient
8289
9183
  # @option opts [Float] :max_timestamp maximum (inclusive) timestamp
8290
9184
  # @option opts [Integer] :id_type filter with a document type
8291
9185
  # @option opts [String] :expand
8292
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
9186
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
8293
9187
  def users_id_user_transactionsclusters_id_transactions_cluster_documents_get_with_http_info(id_user, id_transactions_cluster, opts = {})
8294
9188
  if @api_client.config.debugging
8295
9189
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_transactionsclusters_id_transactions_cluster_documents_get ...'
@@ -8323,7 +9217,7 @@ module BudgeaClient
8323
9217
  # HTTP header 'Accept' (if needed)
8324
9218
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8325
9219
  # HTTP header 'Content-Type'
8326
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
9220
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8327
9221
 
8328
9222
  # form parameters
8329
9223
  form_params = {}
@@ -8337,7 +9231,7 @@ module BudgeaClient
8337
9231
  :form_params => form_params,
8338
9232
  :body => post_body,
8339
9233
  :auth_names => auth_names,
8340
- :return_type => 'InlineResponse20031')
9234
+ :return_type => 'InlineResponse20032')
8341
9235
  if @api_client.config.debugging
8342
9236
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_transactionsclusters_id_transactions_cluster_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8343
9237
  end
@@ -8392,7 +9286,7 @@ module BudgeaClient
8392
9286
  # HTTP header 'Accept' (if needed)
8393
9287
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8394
9288
  # HTTP header 'Content-Type'
8395
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
9289
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8396
9290
 
8397
9291
  # form parameters
8398
9292
  form_params = {}