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
@@ -51,7 +51,7 @@ module BudgeaClient
51
51
  # HTTP header 'Accept' (if needed)
52
52
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
53
  # HTTP header 'Content-Type'
54
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -165,7 +165,7 @@ module BudgeaClient
165
165
  # HTTP header 'Accept' (if needed)
166
166
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
167
167
  # HTTP header 'Content-Type'
168
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
168
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
169
169
 
170
170
  # form parameters
171
171
  form_params = {}
@@ -293,7 +293,7 @@ module BudgeaClient
293
293
  # HTTP header 'Accept' (if needed)
294
294
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
295
295
  # HTTP header 'Content-Type'
296
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
296
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
297
297
 
298
298
  # form parameters
299
299
  form_params = {}
@@ -341,7 +341,7 @@ module BudgeaClient
341
341
  # HTTP header 'Accept' (if needed)
342
342
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
343
343
  # HTTP header 'Content-Type'
344
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
344
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
345
345
 
346
346
  # form parameters
347
347
  form_params = {}
@@ -397,7 +397,7 @@ module BudgeaClient
397
397
  # HTTP header 'Accept' (if needed)
398
398
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
399
399
  # HTTP header 'Content-Type'
400
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
400
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
401
401
 
402
402
  # form parameters
403
403
  form_params = {}
@@ -445,7 +445,7 @@ module BudgeaClient
445
445
  # HTTP header 'Accept' (if needed)
446
446
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
447
447
  # HTTP header 'Content-Type'
448
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
448
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
449
449
 
450
450
  # form parameters
451
451
  form_params = {}
@@ -501,7 +501,7 @@ module BudgeaClient
501
501
  # HTTP header 'Accept' (if needed)
502
502
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
503
503
  # HTTP header 'Content-Type'
504
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
504
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
505
505
 
506
506
  # form parameters
507
507
  form_params = {}
@@ -558,7 +558,7 @@ module BudgeaClient
558
558
  # HTTP header 'Accept' (if needed)
559
559
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
560
560
  # HTTP header 'Content-Type'
561
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
561
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
562
562
 
563
563
  # form parameters
564
564
  form_params = {}
@@ -639,10 +639,11 @@ module BudgeaClient
639
639
  end
640
640
  return data, status_code, headers
641
641
  end
642
- # Initialize a new OAuth2 proxy session.
643
- #
642
+ # First step to establish an oAuth2 connection.
643
+ # The route encapsulate 2 functionalities: 1. Create or update a connection through oAuth2 session.<br><br>2. Execute a transfer through OAuth2 session.
644
644
  # @param [Hash] opts the optional parameters
645
645
  # @option opts [Integer] :id_connector ID of the connector
646
+ # @option opts [Integer] :id_transfer ID of the transfer
646
647
  # @option opts [String] :connector_uuid Optional unique ID of the connector (replaces id_connector)
647
648
  # @option opts [Integer] :client_id Client Application ID
648
649
  # @option opts [String] :redirect_uri Redirect URI
@@ -655,10 +656,11 @@ module BudgeaClient
655
656
  nil
656
657
  end
657
658
 
658
- # Initialize a new OAuth2 proxy session.
659
- #
659
+ # First step to establish an oAuth2 connection.
660
+ # The route encapsulate 2 functionalities: 1. Create or update a connection through oAuth2 session.&lt;br&gt;&lt;br&gt;2. Execute a transfer through OAuth2 session.
660
661
  # @param [Hash] opts the optional parameters
661
662
  # @option opts [Integer] :id_connector ID of the connector
663
+ # @option opts [Integer] :id_transfer ID of the transfer
662
664
  # @option opts [String] :connector_uuid Optional unique ID of the connector (replaces id_connector)
663
665
  # @option opts [Integer] :client_id Client Application ID
664
666
  # @option opts [String] :redirect_uri Redirect URI
@@ -676,6 +678,7 @@ module BudgeaClient
676
678
  # query parameters
677
679
  query_params = {}
678
680
  query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
681
+ query_params[:'id_transfer'] = opts[:'id_transfer'] if !opts[:'id_transfer'].nil?
679
682
  query_params[:'connector_uuid'] = opts[:'connector_uuid'] if !opts[:'connector_uuid'].nil?
680
683
  query_params[:'client_id'] = opts[:'client_id'] if !opts[:'client_id'].nil?
681
684
  query_params[:'redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
@@ -688,7 +691,7 @@ module BudgeaClient
688
691
  # HTTP header 'Accept' (if needed)
689
692
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
690
693
  # HTTP header 'Content-Type'
691
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
694
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
692
695
 
693
696
  # form parameters
694
697
  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 = {}
@@ -227,7 +227,7 @@ module BudgeaClient
227
227
  # HTTP header 'Accept' (if needed)
228
228
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
229
229
  # HTTP header 'Content-Type'
230
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
230
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
231
231
 
232
232
  # form parameters
233
233
  form_params = {}
@@ -285,7 +285,7 @@ module BudgeaClient
285
285
  # HTTP header 'Accept' (if needed)
286
286
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
287
287
  # HTTP header 'Content-Type'
288
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
288
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
289
289
 
290
290
  # form parameters
291
291
  form_params = {}
@@ -337,7 +337,7 @@ module BudgeaClient
337
337
  # HTTP header 'Accept' (if needed)
338
338
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
339
339
  # HTTP header 'Content-Type'
340
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
340
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
341
341
 
342
342
  # form parameters
343
343
  form_params = {}
@@ -403,7 +403,7 @@ module BudgeaClient
403
403
  # HTTP header 'Accept' (if needed)
404
404
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
405
405
  # HTTP header 'Content-Type'
406
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
406
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
407
407
 
408
408
  # form parameters
409
409
  form_params = {}
@@ -460,7 +460,7 @@ module BudgeaClient
460
460
  # HTTP header 'Accept' (if needed)
461
461
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
462
462
  # HTTP header 'Content-Type'
463
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
463
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
464
464
 
465
465
  # form parameters
466
466
  form_params = {}
@@ -517,7 +517,7 @@ module BudgeaClient
517
517
  # HTTP header 'Accept' (if needed)
518
518
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
519
519
  # HTTP header 'Content-Type'
520
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
520
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
521
521
 
522
522
  # form parameters
523
523
  form_params = {}
@@ -574,7 +574,7 @@ module BudgeaClient
574
574
  # HTTP header 'Accept' (if needed)
575
575
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
576
576
  # HTTP header 'Content-Type'
577
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
577
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
578
578
 
579
579
  # form parameters
580
580
  form_params = {}
@@ -594,11 +594,68 @@ module BudgeaClient
594
594
  end
595
595
  return data, status_code, headers
596
596
  end
597
+ # Get list of connector sources
598
+ #
599
+ # @param id_connector
600
+ # @param [Hash] opts the optional parameters
601
+ # @option opts [String] :expand
602
+ # @return [InlineResponse20011]
603
+ def banks_id_connector_sources_get(id_connector, opts = {})
604
+ data, _status_code, _headers = banks_id_connector_sources_get_with_http_info(id_connector, opts)
605
+ data
606
+ end
607
+
608
+ # Get list of connector sources
609
+ #
610
+ # @param id_connector
611
+ # @param [Hash] opts the optional parameters
612
+ # @option opts [String] :expand
613
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
614
+ def banks_id_connector_sources_get_with_http_info(id_connector, opts = {})
615
+ if @api_client.config.debugging
616
+ @api_client.config.logger.debug 'Calling API: BanksApi.banks_id_connector_sources_get ...'
617
+ end
618
+ # verify the required parameter 'id_connector' is set
619
+ if @api_client.config.client_side_validation && id_connector.nil?
620
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling BanksApi.banks_id_connector_sources_get"
621
+ end
622
+ # resource path
623
+ local_var_path = '/banks/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
624
+
625
+ # query parameters
626
+ query_params = {}
627
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
628
+
629
+ # header parameters
630
+ header_params = {}
631
+ # HTTP header 'Accept' (if needed)
632
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
633
+ # HTTP header 'Content-Type'
634
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
635
+
636
+ # form parameters
637
+ form_params = {}
638
+
639
+ # http body (model)
640
+ post_body = nil
641
+ auth_names = ['api_key']
642
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
643
+ :header_params => header_params,
644
+ :query_params => query_params,
645
+ :form_params => form_params,
646
+ :body => post_body,
647
+ :auth_names => auth_names,
648
+ :return_type => 'InlineResponse20011')
649
+ if @api_client.config.debugging
650
+ @api_client.config.logger.debug "API called: BanksApi#banks_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
651
+ end
652
+ return data, status_code, headers
653
+ end
597
654
  # Get all categories
598
655
  # Ressource to get all existing categories<br><br>
599
656
  # @param [Hash] opts the optional parameters
600
657
  # @option opts [String] :expand
601
- # @return [InlineResponse20011]
658
+ # @return [InlineResponse20012]
602
659
  def categories_get(opts = {})
603
660
  data, _status_code, _headers = categories_get_with_http_info(opts)
604
661
  data
@@ -608,7 +665,7 @@ module BudgeaClient
608
665
  # Ressource to get all existing categories&lt;br&gt;&lt;br&gt;
609
666
  # @param [Hash] opts the optional parameters
610
667
  # @option opts [String] :expand
611
- # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
668
+ # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
612
669
  def categories_get_with_http_info(opts = {})
613
670
  if @api_client.config.debugging
614
671
  @api_client.config.logger.debug 'Calling API: BanksApi.categories_get ...'
@@ -625,7 +682,7 @@ module BudgeaClient
625
682
  # HTTP header 'Accept' (if needed)
626
683
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
627
684
  # HTTP header 'Content-Type'
628
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
685
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
629
686
 
630
687
  # form parameters
631
688
  form_params = {}
@@ -639,7 +696,7 @@ module BudgeaClient
639
696
  :form_params => form_params,
640
697
  :body => post_body,
641
698
  :auth_names => auth_names,
642
- :return_type => 'InlineResponse20011')
699
+ :return_type => 'InlineResponse20012')
643
700
  if @api_client.config.debugging
644
701
  @api_client.config.logger.debug "API called: BanksApi#categories_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
645
702
  end
@@ -682,7 +739,7 @@ module BudgeaClient
682
739
  # HTTP header 'Accept' (if needed)
683
740
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
684
741
  # HTTP header 'Content-Type'
685
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
742
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
686
743
 
687
744
  # form parameters
688
745
  form_params = {}
@@ -733,7 +790,7 @@ module BudgeaClient
733
790
  # HTTP header 'Accept' (if needed)
734
791
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
735
792
  # HTTP header 'Content-Type'
736
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
793
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
737
794
 
738
795
  # form parameters
739
796
  form_params = {}
@@ -799,7 +856,7 @@ module BudgeaClient
799
856
  # HTTP header 'Accept' (if needed)
800
857
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
801
858
  # HTTP header 'Content-Type'
802
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
859
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
803
860
 
804
861
  # form parameters
805
862
  form_params = {}
@@ -853,7 +910,7 @@ module BudgeaClient
853
910
  # HTTP header 'Accept' (if needed)
854
911
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
855
912
  # HTTP header 'Content-Type'
856
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
913
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
857
914
 
858
915
  # form parameters
859
916
  form_params = {}
@@ -873,11 +930,101 @@ module BudgeaClient
873
930
  end
874
931
  return data, status_code, headers
875
932
  end
933
+ # Get connection logs
934
+ # Get logs about connections.<br><br>
935
+ # @param id_connection
936
+ # @param [Hash] opts the optional parameters
937
+ # @option opts [Integer] :limit limit number of results
938
+ # @option opts [Integer] :offset offset of first result
939
+ # @option opts [Date] :min_date minimal date
940
+ # @option opts [Date] :max_date maximum date
941
+ # @option opts [Integer] :state state of user
942
+ # @option opts [String] :period period to group logs
943
+ # @option opts [Integer] :id_user ID of a user
944
+ # @option opts [Integer] :id_connection2 ID of a connection
945
+ # @option opts [Integer] :id_connector ID of a connector
946
+ # @option opts [BOOLEAN] :charged consider only logs for charged connectors
947
+ # @option opts [Integer] :id_source ID of a source
948
+ # @option opts [String] :expand
949
+ # @return [InlineResponse20015]
950
+ def connections_id_connection_logs_get(id_connection, opts = {})
951
+ data, _status_code, _headers = connections_id_connection_logs_get_with_http_info(id_connection, opts)
952
+ data
953
+ end
954
+
955
+ # Get connection logs
956
+ # Get logs about connections.&lt;br&gt;&lt;br&gt;
957
+ # @param id_connection
958
+ # @param [Hash] opts the optional parameters
959
+ # @option opts [Integer] :limit limit number of results
960
+ # @option opts [Integer] :offset offset of first result
961
+ # @option opts [Date] :min_date minimal date
962
+ # @option opts [Date] :max_date maximum date
963
+ # @option opts [Integer] :state state of user
964
+ # @option opts [String] :period period to group logs
965
+ # @option opts [Integer] :id_user ID of a user
966
+ # @option opts [Integer] :id_connection2 ID of a connection
967
+ # @option opts [Integer] :id_connector ID of a connector
968
+ # @option opts [BOOLEAN] :charged consider only logs for charged connectors
969
+ # @option opts [Integer] :id_source ID of a source
970
+ # @option opts [String] :expand
971
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
972
+ def connections_id_connection_logs_get_with_http_info(id_connection, opts = {})
973
+ if @api_client.config.debugging
974
+ @api_client.config.logger.debug 'Calling API: BanksApi.connections_id_connection_logs_get ...'
975
+ end
976
+ # verify the required parameter 'id_connection' is set
977
+ if @api_client.config.client_side_validation && id_connection.nil?
978
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.connections_id_connection_logs_get"
979
+ end
980
+ # resource path
981
+ local_var_path = '/connections/{id_connection}/logs'.sub('{' + 'id_connection' + '}', id_connection.to_s)
982
+
983
+ # query parameters
984
+ query_params = {}
985
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
986
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
987
+ query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
988
+ query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
989
+ query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
990
+ query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
991
+ query_params[:'id_user'] = opts[:'id_user'] if !opts[:'id_user'].nil?
992
+ query_params[:'id_connection'] = opts[:'id_connection2'] if !opts[:'id_connection2'].nil?
993
+ query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
994
+ query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
995
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
996
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
997
+
998
+ # header parameters
999
+ header_params = {}
1000
+ # HTTP header 'Accept' (if needed)
1001
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1002
+ # HTTP header 'Content-Type'
1003
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1004
+
1005
+ # form parameters
1006
+ form_params = {}
1007
+
1008
+ # http body (model)
1009
+ post_body = nil
1010
+ auth_names = ['api_key']
1011
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1012
+ :header_params => header_params,
1013
+ :query_params => query_params,
1014
+ :form_params => form_params,
1015
+ :body => post_body,
1016
+ :auth_names => auth_names,
1017
+ :return_type => 'InlineResponse20015')
1018
+ if @api_client.config.debugging
1019
+ @api_client.config.logger.debug "API called: BanksApi#connections_id_connection_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1020
+ end
1021
+ return data, status_code, headers
1022
+ end
876
1023
  # Get list of connectors
877
1024
  #
878
1025
  # @param [Hash] opts the optional parameters
879
1026
  # @option opts [String] :expand
880
- # @return [InlineResponse20014]
1027
+ # @return [InlineResponse20016]
881
1028
  def connectors_get(opts = {})
882
1029
  data, _status_code, _headers = connectors_get_with_http_info(opts)
883
1030
  data
@@ -887,7 +1034,7 @@ module BudgeaClient
887
1034
  #
888
1035
  # @param [Hash] opts the optional parameters
889
1036
  # @option opts [String] :expand
890
- # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
1037
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
891
1038
  def connectors_get_with_http_info(opts = {})
892
1039
  if @api_client.config.debugging
893
1040
  @api_client.config.logger.debug 'Calling API: BanksApi.connectors_get ...'
@@ -904,7 +1051,7 @@ module BudgeaClient
904
1051
  # HTTP header 'Accept' (if needed)
905
1052
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
906
1053
  # HTTP header 'Content-Type'
907
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1054
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
908
1055
 
909
1056
  # form parameters
910
1057
  form_params = {}
@@ -918,7 +1065,7 @@ module BudgeaClient
918
1065
  :form_params => form_params,
919
1066
  :body => post_body,
920
1067
  :auth_names => auth_names,
921
- :return_type => 'InlineResponse20014')
1068
+ :return_type => 'InlineResponse20016')
922
1069
  if @api_client.config.debugging
923
1070
  @api_client.config.logger.debug "API called: BanksApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
924
1071
  end
@@ -961,7 +1108,7 @@ module BudgeaClient
961
1108
  # HTTP header 'Accept' (if needed)
962
1109
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
963
1110
  # HTTP header 'Content-Type'
964
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1111
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
965
1112
 
966
1113
  # form parameters
967
1114
  form_params = {}
@@ -1024,7 +1171,7 @@ module BudgeaClient
1024
1171
  # HTTP header 'Accept' (if needed)
1025
1172
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1026
1173
  # HTTP header 'Content-Type'
1027
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1174
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1028
1175
 
1029
1176
  # form parameters
1030
1177
  form_params = {}
@@ -1087,7 +1234,7 @@ module BudgeaClient
1087
1234
  # HTTP header 'Accept' (if needed)
1088
1235
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1089
1236
  # HTTP header 'Content-Type'
1090
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1237
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1091
1238
 
1092
1239
  # form parameters
1093
1240
  form_params = {}
@@ -1144,7 +1291,7 @@ module BudgeaClient
1144
1291
  # HTTP header 'Accept' (if needed)
1145
1292
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1146
1293
  # HTTP header 'Content-Type'
1147
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1294
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1148
1295
 
1149
1296
  # form parameters
1150
1297
  form_params = {}
@@ -1201,7 +1348,7 @@ module BudgeaClient
1201
1348
  # HTTP header 'Accept' (if needed)
1202
1349
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1203
1350
  # HTTP header 'Content-Type'
1204
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1351
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1205
1352
 
1206
1353
  # form parameters
1207
1354
  form_params = {}
@@ -1258,7 +1405,7 @@ module BudgeaClient
1258
1405
  # HTTP header 'Accept' (if needed)
1259
1406
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1260
1407
  # HTTP header 'Content-Type'
1261
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1408
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1262
1409
 
1263
1410
  # form parameters
1264
1411
  form_params = {}
@@ -1315,7 +1462,7 @@ module BudgeaClient
1315
1462
  # HTTP header 'Accept' (if needed)
1316
1463
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1317
1464
  # HTTP header 'Content-Type'
1318
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1465
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1319
1466
 
1320
1467
  # form parameters
1321
1468
  form_params = {}
@@ -1342,6 +1489,7 @@ module BudgeaClient
1342
1489
  # @option opts [String] :id_categories one or several comma separated categories to map to the given connector (or null to map no category)
1343
1490
  # @option opts [BOOLEAN] :hidden to enable or disable connector (bank or provider)
1344
1491
  # @option opts [Integer] :sync_frequency Allows you to overload global sync_frequency param
1492
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector
1345
1493
  # @option opts [String] :expand
1346
1494
  # @return [Connector]
1347
1495
  def connectors_id_connector_put(id_connector, opts = {})
@@ -1356,6 +1504,7 @@ module BudgeaClient
1356
1504
  # @option opts [String] :id_categories one or several comma separated categories to map to the given connector (or null to map no category)
1357
1505
  # @option opts [BOOLEAN] :hidden to enable or disable connector (bank or provider)
1358
1506
  # @option opts [Integer] :sync_frequency Allows you to overload global sync_frequency param
1507
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector
1359
1508
  # @option opts [String] :expand
1360
1509
  # @return [Array<(Connector, Fixnum, Hash)>] Connector data, response status code and response headers
1361
1510
  def connectors_id_connector_put_with_http_info(id_connector, opts = {})
@@ -1378,13 +1527,14 @@ module BudgeaClient
1378
1527
  # HTTP header 'Accept' (if needed)
1379
1528
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1380
1529
  # HTTP header 'Content-Type'
1381
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1530
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1382
1531
 
1383
1532
  # form parameters
1384
1533
  form_params = {}
1385
1534
  form_params['id_categories'] = opts[:'id_categories'] if !opts[:'id_categories'].nil?
1386
1535
  form_params['hidden'] = opts[:'hidden'] if !opts[:'hidden'].nil?
1387
1536
  form_params['sync_frequency'] = opts[:'sync_frequency'] if !opts[:'sync_frequency'].nil?
1537
+ form_params['auth_mechanism'] = opts[:'auth_mechanism'] if !opts[:'auth_mechanism'].nil?
1388
1538
 
1389
1539
  # http body (model)
1390
1540
  post_body = nil
@@ -1401,6 +1551,132 @@ module BudgeaClient
1401
1551
  end
1402
1552
  return data, status_code, headers
1403
1553
  end
1554
+ # Get list of connector sources
1555
+ #
1556
+ # @param id_connector
1557
+ # @param [Hash] opts the optional parameters
1558
+ # @option opts [String] :expand
1559
+ # @return [InlineResponse20011]
1560
+ def connectors_id_connector_sources_get(id_connector, opts = {})
1561
+ data, _status_code, _headers = connectors_id_connector_sources_get_with_http_info(id_connector, opts)
1562
+ data
1563
+ end
1564
+
1565
+ # Get list of connector sources
1566
+ #
1567
+ # @param id_connector
1568
+ # @param [Hash] opts the optional parameters
1569
+ # @option opts [String] :expand
1570
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
1571
+ def connectors_id_connector_sources_get_with_http_info(id_connector, opts = {})
1572
+ if @api_client.config.debugging
1573
+ @api_client.config.logger.debug 'Calling API: BanksApi.connectors_id_connector_sources_get ...'
1574
+ end
1575
+ # verify the required parameter 'id_connector' is set
1576
+ if @api_client.config.client_side_validation && id_connector.nil?
1577
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling BanksApi.connectors_id_connector_sources_get"
1578
+ end
1579
+ # resource path
1580
+ local_var_path = '/connectors/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
1581
+
1582
+ # query parameters
1583
+ query_params = {}
1584
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1585
+
1586
+ # header parameters
1587
+ header_params = {}
1588
+ # HTTP header 'Accept' (if needed)
1589
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1590
+ # HTTP header 'Content-Type'
1591
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1592
+
1593
+ # form parameters
1594
+ form_params = {}
1595
+
1596
+ # http body (model)
1597
+ post_body = nil
1598
+ auth_names = ['api_key']
1599
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1600
+ :header_params => header_params,
1601
+ :query_params => query_params,
1602
+ :form_params => form_params,
1603
+ :body => post_body,
1604
+ :auth_names => auth_names,
1605
+ :return_type => 'InlineResponse20011')
1606
+ if @api_client.config.debugging
1607
+ @api_client.config.logger.debug "API called: BanksApi#connectors_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1608
+ end
1609
+ return data, status_code, headers
1610
+ end
1611
+ # Edit the provided connector source
1612
+ #
1613
+ # @param id_connector
1614
+ # @param id_source
1615
+ # @param [Hash] opts the optional parameters
1616
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector source
1617
+ # @option opts [DateTime] :disabled to enable or disable connector source
1618
+ # @option opts [String] :expand
1619
+ # @return [ConnectorSource]
1620
+ def connectors_id_connector_sources_id_source_put(id_connector, id_source, opts = {})
1621
+ data, _status_code, _headers = connectors_id_connector_sources_id_source_put_with_http_info(id_connector, id_source, opts)
1622
+ data
1623
+ end
1624
+
1625
+ # Edit the provided connector source
1626
+ #
1627
+ # @param id_connector
1628
+ # @param id_source
1629
+ # @param [Hash] opts the optional parameters
1630
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector source
1631
+ # @option opts [DateTime] :disabled to enable or disable connector source
1632
+ # @option opts [String] :expand
1633
+ # @return [Array<(ConnectorSource, Fixnum, Hash)>] ConnectorSource data, response status code and response headers
1634
+ def connectors_id_connector_sources_id_source_put_with_http_info(id_connector, id_source, opts = {})
1635
+ if @api_client.config.debugging
1636
+ @api_client.config.logger.debug 'Calling API: BanksApi.connectors_id_connector_sources_id_source_put ...'
1637
+ end
1638
+ # verify the required parameter 'id_connector' is set
1639
+ if @api_client.config.client_side_validation && id_connector.nil?
1640
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling BanksApi.connectors_id_connector_sources_id_source_put"
1641
+ end
1642
+ # verify the required parameter 'id_source' is set
1643
+ if @api_client.config.client_side_validation && id_source.nil?
1644
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling BanksApi.connectors_id_connector_sources_id_source_put"
1645
+ end
1646
+ # resource path
1647
+ local_var_path = '/connectors/{id_connector}/sources/{id_source}'.sub('{' + 'id_connector' + '}', id_connector.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
1648
+
1649
+ # query parameters
1650
+ query_params = {}
1651
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1652
+
1653
+ # header parameters
1654
+ header_params = {}
1655
+ # HTTP header 'Accept' (if needed)
1656
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1657
+ # HTTP header 'Content-Type'
1658
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1659
+
1660
+ # form parameters
1661
+ form_params = {}
1662
+ form_params['auth_mechanism'] = opts[:'auth_mechanism'] if !opts[:'auth_mechanism'].nil?
1663
+ form_params['disabled'] = opts[:'disabled'] if !opts[:'disabled'].nil?
1664
+
1665
+ # http body (model)
1666
+ post_body = nil
1667
+ auth_names = ['api_key']
1668
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1669
+ :header_params => header_params,
1670
+ :query_params => query_params,
1671
+ :form_params => form_params,
1672
+ :body => post_body,
1673
+ :auth_names => auth_names,
1674
+ :return_type => 'ConnectorSource')
1675
+ if @api_client.config.debugging
1676
+ @api_client.config.logger.debug "API called: BanksApi#connectors_id_connector_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1677
+ end
1678
+ return data, status_code, headers
1679
+ end
1404
1680
  # Request a new connector
1405
1681
  # Send a request to add a new connector<br><br>
1406
1682
  # @param name Name of the bank or provider
@@ -1488,26 +1764,96 @@ module BudgeaClient
1488
1764
  end
1489
1765
  return data, status_code, headers
1490
1766
  end
1491
- # Get number of accounts, connections and users synced.
1492
- # Get number of accounts, connections and users synced between two dates for the given period.<br><br>
1767
+ # Enable/disable several connectors
1768
+ #
1769
+ # @param [Hash] opts the optional parameters
1770
+ # @option opts [BOOLEAN] :hidden to enable or disable connector (bank or provider)
1771
+ # @option opts [String] :expand
1772
+ # @return [Connector]
1773
+ def connectors_put(opts = {})
1774
+ data, _status_code, _headers = connectors_put_with_http_info(opts)
1775
+ data
1776
+ end
1777
+
1778
+ # Enable/disable several connectors
1779
+ #
1780
+ # @param [Hash] opts the optional parameters
1781
+ # @option opts [BOOLEAN] :hidden to enable or disable connector (bank or provider)
1782
+ # @option opts [String] :expand
1783
+ # @return [Array<(Connector, Fixnum, Hash)>] Connector data, response status code and response headers
1784
+ def connectors_put_with_http_info(opts = {})
1785
+ if @api_client.config.debugging
1786
+ @api_client.config.logger.debug 'Calling API: BanksApi.connectors_put ...'
1787
+ end
1788
+ # resource path
1789
+ local_var_path = '/connectors'
1790
+
1791
+ # query parameters
1792
+ query_params = {}
1793
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1794
+
1795
+ # header parameters
1796
+ header_params = {}
1797
+ # HTTP header 'Accept' (if needed)
1798
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1799
+ # HTTP header 'Content-Type'
1800
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1801
+
1802
+ # form parameters
1803
+ form_params = {}
1804
+ form_params['hidden'] = opts[:'hidden'] if !opts[:'hidden'].nil?
1805
+
1806
+ # http body (model)
1807
+ post_body = nil
1808
+ auth_names = ['api_key']
1809
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1810
+ :header_params => header_params,
1811
+ :query_params => query_params,
1812
+ :form_params => form_params,
1813
+ :body => post_body,
1814
+ :auth_names => auth_names,
1815
+ :return_type => 'Connector')
1816
+ if @api_client.config.debugging
1817
+ @api_client.config.logger.debug "API called: BanksApi#connectors_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1818
+ end
1819
+ return data, status_code, headers
1820
+ end
1821
+ # Get invoicing data for a given period (default is the current month).
1822
+ # You can get all the invoicing data or just specific ones by using the available parameters.<br><br>If no parameters are specified, no invoicing data is returned.<br><br>
1493
1823
  # @param [Hash] opts the optional parameters
1494
1824
  # @option opts [Date] :min_date minimal date
1495
1825
  # @option opts [Date] :max_date maximum date
1496
- # @option opts [String] :period period to group logs
1497
- # @option opts [String] :all get full ids list instead of numbers
1826
+ # @option opts [String] :users_synced the number of user synchronized during the period
1827
+ # @option opts [String] :users_bank the number of user of the Bank API synchronized during the period
1828
+ # @option opts [String] :users_bill the number of user of the Bill API synchronized during the period
1829
+ # @option opts [String] :accounts_synced the number of accounts synchronized during the period
1830
+ # @option opts [String] :subscriptions_synced the number of subscriptions synchronized during the period
1831
+ # @option opts [String] :connections_synced the number of connections synchronized during the period
1832
+ # @option opts [String] :connections_account the number of Bank API connections synchronized during the period
1833
+ # @option opts [String] :transfers_synced the number of transfers done during the period
1834
+ # @option opts [String] :all get all the invoicing data at once
1835
+ # @option opts [String] :detail get full ids list instead of numbers
1498
1836
  # @return [nil]
1499
1837
  def invoicing_get(opts = {})
1500
1838
  invoicing_get_with_http_info(opts)
1501
1839
  nil
1502
1840
  end
1503
1841
 
1504
- # Get number of accounts, connections and users synced.
1505
- # Get number of accounts, connections and users synced between two dates for the given period.&lt;br&gt;&lt;br&gt;
1842
+ # Get invoicing data for a given period (default is the current month).
1843
+ # You can get all the invoicing data or just specific ones by using the available parameters.&lt;br&gt;&lt;br&gt;If no parameters are specified, no invoicing data is returned.&lt;br&gt;&lt;br&gt;
1506
1844
  # @param [Hash] opts the optional parameters
1507
1845
  # @option opts [Date] :min_date minimal date
1508
1846
  # @option opts [Date] :max_date maximum date
1509
- # @option opts [String] :period period to group logs
1510
- # @option opts [String] :all get full ids list instead of numbers
1847
+ # @option opts [String] :users_synced the number of user synchronized during the period
1848
+ # @option opts [String] :users_bank the number of user of the Bank API synchronized during the period
1849
+ # @option opts [String] :users_bill the number of user of the Bill API synchronized during the period
1850
+ # @option opts [String] :accounts_synced the number of accounts synchronized during the period
1851
+ # @option opts [String] :subscriptions_synced the number of subscriptions synchronized during the period
1852
+ # @option opts [String] :connections_synced the number of connections synchronized during the period
1853
+ # @option opts [String] :connections_account the number of Bank API connections synchronized during the period
1854
+ # @option opts [String] :transfers_synced the number of transfers done during the period
1855
+ # @option opts [String] :all get all the invoicing data at once
1856
+ # @option opts [String] :detail get full ids list instead of numbers
1511
1857
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1512
1858
  def invoicing_get_with_http_info(opts = {})
1513
1859
  if @api_client.config.debugging
@@ -1520,15 +1866,23 @@ module BudgeaClient
1520
1866
  query_params = {}
1521
1867
  query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
1522
1868
  query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
1523
- query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
1869
+ query_params[:'users_synced'] = opts[:'users_synced'] if !opts[:'users_synced'].nil?
1870
+ query_params[:'users_bank'] = opts[:'users_bank'] if !opts[:'users_bank'].nil?
1871
+ query_params[:'users_bill'] = opts[:'users_bill'] if !opts[:'users_bill'].nil?
1872
+ query_params[:'accounts_synced'] = opts[:'accounts_synced'] if !opts[:'accounts_synced'].nil?
1873
+ query_params[:'subscriptions_synced'] = opts[:'subscriptions_synced'] if !opts[:'subscriptions_synced'].nil?
1874
+ query_params[:'connections_synced'] = opts[:'connections_synced'] if !opts[:'connections_synced'].nil?
1875
+ query_params[:'connections_account'] = opts[:'connections_account'] if !opts[:'connections_account'].nil?
1876
+ query_params[:'transfers_synced'] = opts[:'transfers_synced'] if !opts[:'transfers_synced'].nil?
1524
1877
  query_params[:'all'] = opts[:'all'] if !opts[:'all'].nil?
1878
+ query_params[:'detail'] = opts[:'detail'] if !opts[:'detail'].nil?
1525
1879
 
1526
1880
  # header parameters
1527
1881
  header_params = {}
1528
1882
  # HTTP header 'Accept' (if needed)
1529
1883
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1530
1884
  # HTTP header 'Content-Type'
1531
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1885
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1532
1886
 
1533
1887
  # form parameters
1534
1888
  form_params = {}
@@ -1560,8 +1914,9 @@ module BudgeaClient
1560
1914
  # @option opts [Integer] :id_connection ID of a connection
1561
1915
  # @option opts [Integer] :id_connector ID of a connector
1562
1916
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
1917
+ # @option opts [Integer] :id_source ID of a source
1563
1918
  # @option opts [String] :expand
1564
- # @return [InlineResponse20017]
1919
+ # @return [InlineResponse20015]
1565
1920
  def logs_get(opts = {})
1566
1921
  data, _status_code, _headers = logs_get_with_http_info(opts)
1567
1922
  data
@@ -1580,8 +1935,9 @@ module BudgeaClient
1580
1935
  # @option opts [Integer] :id_connection ID of a connection
1581
1936
  # @option opts [Integer] :id_connector ID of a connector
1582
1937
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
1938
+ # @option opts [Integer] :id_source ID of a source
1583
1939
  # @option opts [String] :expand
1584
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
1940
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
1585
1941
  def logs_get_with_http_info(opts = {})
1586
1942
  if @api_client.config.debugging
1587
1943
  @api_client.config.logger.debug 'Calling API: BanksApi.logs_get ...'
@@ -1601,6 +1957,7 @@ module BudgeaClient
1601
1957
  query_params[:'id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
1602
1958
  query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
1603
1959
  query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
1960
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
1604
1961
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1605
1962
 
1606
1963
  # header parameters
@@ -1608,7 +1965,7 @@ module BudgeaClient
1608
1965
  # HTTP header 'Accept' (if needed)
1609
1966
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1610
1967
  # HTTP header 'Content-Type'
1611
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1968
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1612
1969
 
1613
1970
  # form parameters
1614
1971
  form_params = {}
@@ -1622,7 +1979,7 @@ module BudgeaClient
1622
1979
  :form_params => form_params,
1623
1980
  :body => post_body,
1624
1981
  :auth_names => auth_names,
1625
- :return_type => 'InlineResponse20017')
1982
+ :return_type => 'InlineResponse20015')
1626
1983
  if @api_client.config.debugging
1627
1984
  @api_client.config.logger.debug "API called: BanksApi#logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1628
1985
  end
@@ -1632,7 +1989,7 @@ module BudgeaClient
1632
1989
  #
1633
1990
  # @param [Hash] opts the optional parameters
1634
1991
  # @option opts [String] :expand
1635
- # @return [InlineResponse20018]
1992
+ # @return [InlineResponse20019]
1636
1993
  def providers_get(opts = {})
1637
1994
  data, _status_code, _headers = providers_get_with_http_info(opts)
1638
1995
  data
@@ -1642,7 +1999,7 @@ module BudgeaClient
1642
1999
  #
1643
2000
  # @param [Hash] opts the optional parameters
1644
2001
  # @option opts [String] :expand
1645
- # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
2002
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
1646
2003
  def providers_get_with_http_info(opts = {})
1647
2004
  if @api_client.config.debugging
1648
2005
  @api_client.config.logger.debug 'Calling API: BanksApi.providers_get ...'
@@ -1659,7 +2016,7 @@ module BudgeaClient
1659
2016
  # HTTP header 'Accept' (if needed)
1660
2017
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1661
2018
  # HTTP header 'Content-Type'
1662
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2019
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1663
2020
 
1664
2021
  # form parameters
1665
2022
  form_params = {}
@@ -1673,7 +2030,7 @@ module BudgeaClient
1673
2030
  :form_params => form_params,
1674
2031
  :body => post_body,
1675
2032
  :auth_names => auth_names,
1676
- :return_type => 'InlineResponse20018')
2033
+ :return_type => 'InlineResponse20019')
1677
2034
  if @api_client.config.debugging
1678
2035
  @api_client.config.logger.debug "API called: BanksApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1679
2036
  end
@@ -1719,7 +2076,7 @@ module BudgeaClient
1719
2076
  # HTTP header 'Accept' (if needed)
1720
2077
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1721
2078
  # HTTP header 'Content-Type'
1722
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2079
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1723
2080
 
1724
2081
  # form parameters
1725
2082
  form_params = {}
@@ -1744,7 +2101,7 @@ module BudgeaClient
1744
2101
  # @param id_connector
1745
2102
  # @param [Hash] opts the optional parameters
1746
2103
  # @option opts [String] :expand
1747
- # @return [InlineResponse20019]
2104
+ # @return [InlineResponse20010]
1748
2105
  def providers_id_connector_logos_get(id_connector, opts = {})
1749
2106
  data, _status_code, _headers = providers_id_connector_logos_get_with_http_info(id_connector, opts)
1750
2107
  data
@@ -1755,7 +2112,7 @@ module BudgeaClient
1755
2112
  # @param id_connector
1756
2113
  # @param [Hash] opts the optional parameters
1757
2114
  # @option opts [String] :expand
1758
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
2115
+ # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
1759
2116
  def providers_id_connector_logos_get_with_http_info(id_connector, opts = {})
1760
2117
  if @api_client.config.debugging
1761
2118
  @api_client.config.logger.debug 'Calling API: BanksApi.providers_id_connector_logos_get ...'
@@ -1776,7 +2133,7 @@ module BudgeaClient
1776
2133
  # HTTP header 'Accept' (if needed)
1777
2134
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1778
2135
  # HTTP header 'Content-Type'
1779
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2136
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1780
2137
 
1781
2138
  # form parameters
1782
2139
  form_params = {}
@@ -1790,7 +2147,7 @@ module BudgeaClient
1790
2147
  :form_params => form_params,
1791
2148
  :body => post_body,
1792
2149
  :auth_names => auth_names,
1793
- :return_type => 'InlineResponse20019')
2150
+ :return_type => 'InlineResponse20010')
1794
2151
  if @api_client.config.debugging
1795
2152
  @api_client.config.logger.debug "API called: BanksApi#providers_id_connector_logos_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1796
2153
  end
@@ -1833,7 +2190,7 @@ module BudgeaClient
1833
2190
  # HTTP header 'Accept' (if needed)
1834
2191
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1835
2192
  # HTTP header 'Content-Type'
1836
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2193
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1837
2194
 
1838
2195
  # form parameters
1839
2196
  form_params = {}
@@ -1890,7 +2247,7 @@ module BudgeaClient
1890
2247
  # HTTP header 'Accept' (if needed)
1891
2248
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1892
2249
  # HTTP header 'Content-Type'
1893
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2250
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1894
2251
 
1895
2252
  # form parameters
1896
2253
  form_params = {}
@@ -1910,6 +2267,63 @@ module BudgeaClient
1910
2267
  end
1911
2268
  return data, status_code, headers
1912
2269
  end
2270
+ # Get list of connector sources
2271
+ #
2272
+ # @param id_connector
2273
+ # @param [Hash] opts the optional parameters
2274
+ # @option opts [String] :expand
2275
+ # @return [InlineResponse20011]
2276
+ def providers_id_connector_sources_get(id_connector, opts = {})
2277
+ data, _status_code, _headers = providers_id_connector_sources_get_with_http_info(id_connector, opts)
2278
+ data
2279
+ end
2280
+
2281
+ # Get list of connector sources
2282
+ #
2283
+ # @param id_connector
2284
+ # @param [Hash] opts the optional parameters
2285
+ # @option opts [String] :expand
2286
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
2287
+ def providers_id_connector_sources_get_with_http_info(id_connector, opts = {})
2288
+ if @api_client.config.debugging
2289
+ @api_client.config.logger.debug 'Calling API: BanksApi.providers_id_connector_sources_get ...'
2290
+ end
2291
+ # verify the required parameter 'id_connector' is set
2292
+ if @api_client.config.client_side_validation && id_connector.nil?
2293
+ fail ArgumentError, "Missing the required parameter 'id_connector' when calling BanksApi.providers_id_connector_sources_get"
2294
+ end
2295
+ # resource path
2296
+ local_var_path = '/providers/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
2297
+
2298
+ # query parameters
2299
+ query_params = {}
2300
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
2301
+
2302
+ # header parameters
2303
+ header_params = {}
2304
+ # HTTP header 'Accept' (if needed)
2305
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2306
+ # HTTP header 'Content-Type'
2307
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2308
+
2309
+ # form parameters
2310
+ form_params = {}
2311
+
2312
+ # http body (model)
2313
+ post_body = nil
2314
+ auth_names = ['api_key']
2315
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2316
+ :header_params => header_params,
2317
+ :query_params => query_params,
2318
+ :form_params => form_params,
2319
+ :body => post_body,
2320
+ :auth_names => auth_names,
2321
+ :return_type => 'InlineResponse20011')
2322
+ if @api_client.config.debugging
2323
+ @api_client.config.logger.debug "API called: BanksApi#providers_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2324
+ end
2325
+ return data, status_code, headers
2326
+ end
1913
2327
  # Get account types
1914
2328
  #
1915
2329
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -1947,7 +2361,7 @@ module BudgeaClient
1947
2361
  # HTTP header 'Accept' (if needed)
1948
2362
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1949
2363
  # HTTP header 'Content-Type'
1950
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2364
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1951
2365
 
1952
2366
  # form parameters
1953
2367
  form_params = {}
@@ -2010,7 +2424,7 @@ module BudgeaClient
2010
2424
  # HTTP header 'Accept' (if needed)
2011
2425
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2012
2426
  # HTTP header 'Content-Type'
2013
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2427
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2014
2428
 
2015
2429
  # form parameters
2016
2430
  form_params = {}
@@ -2067,7 +2481,7 @@ module BudgeaClient
2067
2481
  # HTTP header 'Accept' (if needed)
2068
2482
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2069
2483
  # HTTP header 'Content-Type'
2070
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2484
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2071
2485
 
2072
2486
  # form parameters
2073
2487
  form_params = {}
@@ -2124,7 +2538,7 @@ module BudgeaClient
2124
2538
  # HTTP header 'Accept' (if needed)
2125
2539
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2126
2540
  # HTTP header 'Content-Type'
2127
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2541
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2128
2542
 
2129
2543
  # form parameters
2130
2544
  form_params = {}
@@ -2184,7 +2598,7 @@ module BudgeaClient
2184
2598
  # HTTP header 'Accept' (if needed)
2185
2599
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2186
2600
  # HTTP header 'Content-Type'
2187
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2601
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2188
2602
 
2189
2603
  # form parameters
2190
2604
  form_params = {}
@@ -2246,7 +2660,7 @@ module BudgeaClient
2246
2660
  # HTTP header 'Accept' (if needed)
2247
2661
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2248
2662
  # HTTP header 'Content-Type'
2249
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2663
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2250
2664
 
2251
2665
  # form parameters
2252
2666
  form_params = {}
@@ -2315,7 +2729,7 @@ module BudgeaClient
2315
2729
  # HTTP header 'Accept' (if needed)
2316
2730
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2317
2731
  # HTTP header 'Content-Type'
2318
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2732
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2319
2733
 
2320
2734
  # form parameters
2321
2735
  form_params = {}
@@ -2335,7 +2749,7 @@ module BudgeaClient
2335
2749
  return data, status_code, headers
2336
2750
  end
2337
2751
  # Get accounts logs.
2338
- # Get logs of account.<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>
2752
+ # Get logs of account. By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
2339
2753
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2340
2754
  # @param id_account
2341
2755
  # @param [Hash] opts the optional parameters
@@ -2351,7 +2765,7 @@ module BudgeaClient
2351
2765
  end
2352
2766
 
2353
2767
  # Get accounts logs.
2354
- # Get logs of account.&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;
2768
+ # Get logs of account. 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;
2355
2769
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2356
2770
  # @param id_account
2357
2771
  # @param [Hash] opts the optional parameters
@@ -2389,7 +2803,7 @@ module BudgeaClient
2389
2803
  # HTTP header 'Accept' (if needed)
2390
2804
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2391
2805
  # HTTP header 'Content-Type'
2392
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2806
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2393
2807
 
2394
2808
  # form parameters
2395
2809
  form_params = {}
@@ -2466,7 +2880,7 @@ module BudgeaClient
2466
2880
  # HTTP header 'Accept' (if needed)
2467
2881
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2468
2882
  # HTTP header 'Content-Type'
2469
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2883
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2470
2884
 
2471
2885
  # form parameters
2472
2886
  form_params = {}
@@ -2493,6 +2907,69 @@ module BudgeaClient
2493
2907
  end
2494
2908
  return data, status_code, headers
2495
2909
  end
2910
+ # Get account sources
2911
+ #
2912
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2913
+ # @param id_account
2914
+ # @param [Hash] opts the optional parameters
2915
+ # @option opts [String] :expand
2916
+ # @return [InlineResponse20030]
2917
+ def users_id_user_accounts_id_account_sources_get(id_user, id_account, opts = {})
2918
+ data, _status_code, _headers = users_id_user_accounts_id_account_sources_get_with_http_info(id_user, id_account, opts)
2919
+ data
2920
+ end
2921
+
2922
+ # Get account sources
2923
+ #
2924
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2925
+ # @param id_account
2926
+ # @param [Hash] opts the optional parameters
2927
+ # @option opts [String] :expand
2928
+ # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
2929
+ def users_id_user_accounts_id_account_sources_get_with_http_info(id_user, id_account, opts = {})
2930
+ if @api_client.config.debugging
2931
+ @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_id_account_sources_get ...'
2932
+ end
2933
+ # verify the required parameter 'id_user' is set
2934
+ if @api_client.config.client_side_validation && id_user.nil?
2935
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling BanksApi.users_id_user_accounts_id_account_sources_get"
2936
+ end
2937
+ # verify the required parameter 'id_account' is set
2938
+ if @api_client.config.client_side_validation && id_account.nil?
2939
+ fail ArgumentError, "Missing the required parameter 'id_account' when calling BanksApi.users_id_user_accounts_id_account_sources_get"
2940
+ end
2941
+ # resource path
2942
+ local_var_path = '/users/{id_user}/accounts/{id_account}/sources'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s)
2943
+
2944
+ # query parameters
2945
+ query_params = {}
2946
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
2947
+
2948
+ # header parameters
2949
+ header_params = {}
2950
+ # HTTP header 'Accept' (if needed)
2951
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2952
+ # HTTP header 'Content-Type'
2953
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2954
+
2955
+ # form parameters
2956
+ form_params = {}
2957
+
2958
+ # http body (model)
2959
+ post_body = nil
2960
+ auth_names = ['api_key']
2961
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2962
+ :header_params => header_params,
2963
+ :query_params => query_params,
2964
+ :form_params => form_params,
2965
+ :body => post_body,
2966
+ :auth_names => auth_names,
2967
+ :return_type => 'InlineResponse20030')
2968
+ if @api_client.config.debugging
2969
+ @api_client.config.logger.debug "API called: BanksApi#users_id_user_accounts_id_account_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2970
+ end
2971
+ return data, status_code, headers
2972
+ end
2496
2973
  # Delete transactions
2497
2974
  #
2498
2975
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -2536,7 +3013,7 @@ module BudgeaClient
2536
3013
  # HTTP header 'Accept' (if needed)
2537
3014
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2538
3015
  # HTTP header 'Content-Type'
2539
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3016
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2540
3017
 
2541
3018
  # form parameters
2542
3019
  form_params = {}
@@ -2575,7 +3052,7 @@ module BudgeaClient
2575
3052
  # @option opts [String] :search search in labels, dates, values and categories
2576
3053
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
2577
3054
  # @option opts [String] :expand
2578
- # @return [InlineResponse20030]
3055
+ # @return [InlineResponse20031]
2579
3056
  def users_id_user_accounts_id_account_transactions_get(id_user, id_account, opts = {})
2580
3057
  data, _status_code, _headers = users_id_user_accounts_id_account_transactions_get_with_http_info(id_user, id_account, opts)
2581
3058
  data
@@ -2600,7 +3077,7 @@ module BudgeaClient
2600
3077
  # @option opts [String] :search search in labels, dates, values and categories
2601
3078
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
2602
3079
  # @option opts [String] :expand
2603
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
3080
+ # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
2604
3081
  def users_id_user_accounts_id_account_transactions_get_with_http_info(id_user, id_account, opts = {})
2605
3082
  if @api_client.config.debugging
2606
3083
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_id_account_transactions_get ...'
@@ -2638,7 +3115,7 @@ module BudgeaClient
2638
3115
  # HTTP header 'Accept' (if needed)
2639
3116
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2640
3117
  # HTTP header 'Content-Type'
2641
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3118
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2642
3119
 
2643
3120
  # form parameters
2644
3121
  form_params = {}
@@ -2652,7 +3129,7 @@ module BudgeaClient
2652
3129
  :form_params => form_params,
2653
3130
  :body => post_body,
2654
3131
  :auth_names => auth_names,
2655
- :return_type => 'InlineResponse20030')
3132
+ :return_type => 'InlineResponse20031')
2656
3133
  if @api_client.config.debugging
2657
3134
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_accounts_id_account_transactions_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2658
3135
  end
@@ -2707,7 +3184,7 @@ module BudgeaClient
2707
3184
  # HTTP header 'Accept' (if needed)
2708
3185
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2709
3186
  # HTTP header 'Content-Type'
2710
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3187
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2711
3188
 
2712
3189
  # form parameters
2713
3190
  form_params = {}
@@ -2734,7 +3211,7 @@ module BudgeaClient
2734
3211
  # @param id_transaction
2735
3212
  # @param [Hash] opts the optional parameters
2736
3213
  # @option opts [String] :expand
2737
- # @return [InlineResponse20032]
3214
+ # @return [InlineResponse20033]
2738
3215
  def users_id_user_accounts_id_account_transactions_id_transaction_informations_get(id_user, id_account, id_transaction, opts = {})
2739
3216
  data, _status_code, _headers = users_id_user_accounts_id_account_transactions_id_transaction_informations_get_with_http_info(id_user, id_account, id_transaction, opts)
2740
3217
  data
@@ -2747,7 +3224,7 @@ module BudgeaClient
2747
3224
  # @param id_transaction
2748
3225
  # @param [Hash] opts the optional parameters
2749
3226
  # @option opts [String] :expand
2750
- # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
3227
+ # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
2751
3228
  def users_id_user_accounts_id_account_transactions_id_transaction_informations_get_with_http_info(id_user, id_account, id_transaction, opts = {})
2752
3229
  if @api_client.config.debugging
2753
3230
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_id_account_transactions_id_transaction_informations_get ...'
@@ -2776,7 +3253,7 @@ module BudgeaClient
2776
3253
  # HTTP header 'Accept' (if needed)
2777
3254
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2778
3255
  # HTTP header 'Content-Type'
2779
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3256
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2780
3257
 
2781
3258
  # form parameters
2782
3259
  form_params = {}
@@ -2790,7 +3267,7 @@ module BudgeaClient
2790
3267
  :form_params => form_params,
2791
3268
  :body => post_body,
2792
3269
  :auth_names => auth_names,
2793
- :return_type => 'InlineResponse20032')
3270
+ :return_type => 'InlineResponse20033')
2794
3271
  if @api_client.config.debugging
2795
3272
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_accounts_id_account_transactions_id_transaction_informations_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2796
3273
  end
@@ -2851,7 +3328,7 @@ module BudgeaClient
2851
3328
  # HTTP header 'Accept' (if needed)
2852
3329
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2853
3330
  # HTTP header 'Content-Type'
2854
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3331
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2855
3332
 
2856
3333
  # form parameters
2857
3334
  form_params = {}
@@ -2926,7 +3403,7 @@ module BudgeaClient
2926
3403
  # HTTP header 'Accept' (if needed)
2927
3404
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2928
3405
  # HTTP header 'Content-Type'
2929
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3406
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2930
3407
 
2931
3408
  # form parameters
2932
3409
  form_params = {}
@@ -2995,7 +3472,7 @@ module BudgeaClient
2995
3472
  # HTTP header 'Accept' (if needed)
2996
3473
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2997
3474
  # HTTP header 'Content-Type'
2998
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3475
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2999
3476
 
3000
3477
  # form parameters
3001
3478
  form_params = {}
@@ -3074,7 +3551,7 @@ module BudgeaClient
3074
3551
  # HTTP header 'Accept' (if needed)
3075
3552
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3076
3553
  # HTTP header 'Content-Type'
3077
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3554
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3078
3555
 
3079
3556
  # form parameters
3080
3557
  form_params = {}
@@ -3174,7 +3651,7 @@ module BudgeaClient
3174
3651
  # HTTP header 'Accept' (if needed)
3175
3652
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3176
3653
  # HTTP header 'Content-Type'
3177
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3654
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3178
3655
 
3179
3656
  # form parameters
3180
3657
  form_params = {}
@@ -3210,7 +3687,7 @@ module BudgeaClient
3210
3687
  # @param id_account
3211
3688
  # @param [Hash] opts the optional parameters
3212
3689
  # @option opts [String] :expand
3213
- # @return [InlineResponse20033]
3690
+ # @return [InlineResponse20034]
3214
3691
  def users_id_user_accounts_id_account_transactionsclusters_get(id_user, id_account, opts = {})
3215
3692
  data, _status_code, _headers = users_id_user_accounts_id_account_transactionsclusters_get_with_http_info(id_user, id_account, opts)
3216
3693
  data
@@ -3222,7 +3699,7 @@ module BudgeaClient
3222
3699
  # @param id_account
3223
3700
  # @param [Hash] opts the optional parameters
3224
3701
  # @option opts [String] :expand
3225
- # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
3702
+ # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
3226
3703
  def users_id_user_accounts_id_account_transactionsclusters_get_with_http_info(id_user, id_account, opts = {})
3227
3704
  if @api_client.config.debugging
3228
3705
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_id_account_transactionsclusters_get ...'
@@ -3247,7 +3724,7 @@ module BudgeaClient
3247
3724
  # HTTP header 'Accept' (if needed)
3248
3725
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3249
3726
  # HTTP header 'Content-Type'
3250
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3727
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3251
3728
 
3252
3729
  # form parameters
3253
3730
  form_params = {}
@@ -3261,7 +3738,7 @@ module BudgeaClient
3261
3738
  :form_params => form_params,
3262
3739
  :body => post_body,
3263
3740
  :auth_names => auth_names,
3264
- :return_type => 'InlineResponse20033')
3741
+ :return_type => 'InlineResponse20034')
3265
3742
  if @api_client.config.debugging
3266
3743
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_accounts_id_account_transactionsclusters_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3267
3744
  end
@@ -3316,7 +3793,7 @@ module BudgeaClient
3316
3793
  # HTTP header 'Accept' (if needed)
3317
3794
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3318
3795
  # HTTP header 'Content-Type'
3319
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3796
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3320
3797
 
3321
3798
  # form parameters
3322
3799
  form_params = {}
@@ -3385,7 +3862,7 @@ module BudgeaClient
3385
3862
  # HTTP header 'Accept' (if needed)
3386
3863
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3387
3864
  # HTTP header 'Content-Type'
3388
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3865
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3389
3866
 
3390
3867
  # form parameters
3391
3868
  form_params = {}
@@ -3448,7 +3925,7 @@ module BudgeaClient
3448
3925
  # HTTP header 'Accept' (if needed)
3449
3926
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3450
3927
  # HTTP header 'Content-Type'
3451
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
3928
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3452
3929
 
3453
3930
  # form parameters
3454
3931
  form_params = {}
@@ -3472,16 +3949,16 @@ module BudgeaClient
3472
3949
  # This endpoint creates an account related to a connection or not.<br><br>
3473
3950
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
3474
3951
  # @param name name of account
3475
- # @param balance balance of account
3476
3952
  # @param [Hash] opts the optional parameters
3953
+ # @option opts [Float] :balance balance of account
3477
3954
  # @option opts [String] :number number of account
3478
3955
  # @option opts [String] :iban IBAN of account
3479
3956
  # @option opts [String] :id_currency the currency of the account (default: &#39;EUR&#39;)
3480
3957
  # @option opts [Integer] :id_connection the connection to attach to the account
3481
3958
  # @option opts [String] :expand
3482
3959
  # @return [Account]
3483
- def users_id_user_accounts_post(id_user, name, balance, opts = {})
3484
- data, _status_code, _headers = users_id_user_accounts_post_with_http_info(id_user, name, balance, opts)
3960
+ def users_id_user_accounts_post(id_user, name, opts = {})
3961
+ data, _status_code, _headers = users_id_user_accounts_post_with_http_info(id_user, name, opts)
3485
3962
  data
3486
3963
  end
3487
3964
 
@@ -3489,15 +3966,15 @@ module BudgeaClient
3489
3966
  # This endpoint creates an account related to a connection or not.&lt;br&gt;&lt;br&gt;
3490
3967
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
3491
3968
  # @param name name of account
3492
- # @param balance balance of account
3493
3969
  # @param [Hash] opts the optional parameters
3970
+ # @option opts [Float] :balance balance of account
3494
3971
  # @option opts [String] :number number of account
3495
3972
  # @option opts [String] :iban IBAN of account
3496
3973
  # @option opts [String] :id_currency the currency of the account (default: &#39;EUR&#39;)
3497
3974
  # @option opts [Integer] :id_connection the connection to attach to the account
3498
3975
  # @option opts [String] :expand
3499
3976
  # @return [Array<(Account, Fixnum, Hash)>] Account data, response status code and response headers
3500
- def users_id_user_accounts_post_with_http_info(id_user, name, balance, opts = {})
3977
+ def users_id_user_accounts_post_with_http_info(id_user, name, opts = {})
3501
3978
  if @api_client.config.debugging
3502
3979
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_post ...'
3503
3980
  end
@@ -3509,10 +3986,6 @@ module BudgeaClient
3509
3986
  if @api_client.config.client_side_validation && name.nil?
3510
3987
  fail ArgumentError, "Missing the required parameter 'name' when calling BanksApi.users_id_user_accounts_post"
3511
3988
  end
3512
- # verify the required parameter 'balance' is set
3513
- if @api_client.config.client_side_validation && balance.nil?
3514
- fail ArgumentError, "Missing the required parameter 'balance' when calling BanksApi.users_id_user_accounts_post"
3515
- end
3516
3989
  # resource path
3517
3990
  local_var_path = '/users/{id_user}/accounts'.sub('{' + 'id_user' + '}', id_user.to_s)
3518
3991
 
@@ -3525,12 +3998,12 @@ module BudgeaClient
3525
3998
  # HTTP header 'Accept' (if needed)
3526
3999
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3527
4000
  # HTTP header 'Content-Type'
3528
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4001
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3529
4002
 
3530
4003
  # form parameters
3531
4004
  form_params = {}
3532
4005
  form_params['name'] = name
3533
- form_params['balance'] = balance
4006
+ form_params['balance'] = opts[:'balance'] if !opts[:'balance'].nil?
3534
4007
  form_params['number'] = opts[:'number'] if !opts[:'number'].nil?
3535
4008
  form_params['iban'] = opts[:'iban'] if !opts[:'iban'].nil?
3536
4009
  form_params['id_currency'] = opts[:'id_currency'] if !opts[:'id_currency'].nil?
@@ -3588,7 +4061,7 @@ module BudgeaClient
3588
4061
  # HTTP header 'Accept' (if needed)
3589
4062
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3590
4063
  # HTTP header 'Content-Type'
3591
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4064
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3592
4065
 
3593
4066
  # form parameters
3594
4067
  form_params = {}
@@ -3613,7 +4086,7 @@ module BudgeaClient
3613
4086
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
3614
4087
  # @param [Hash] opts the optional parameters
3615
4088
  # @option opts [String] :expand
3616
- # @return [InlineResponse20034]
4089
+ # @return [InlineResponse20035]
3617
4090
  def users_id_user_alerts_get(id_user, opts = {})
3618
4091
  data, _status_code, _headers = users_id_user_alerts_get_with_http_info(id_user, opts)
3619
4092
  data
@@ -3624,7 +4097,7 @@ module BudgeaClient
3624
4097
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
3625
4098
  # @param [Hash] opts the optional parameters
3626
4099
  # @option opts [String] :expand
3627
- # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
4100
+ # @return [Array<(InlineResponse20035, Fixnum, Hash)>] InlineResponse20035 data, response status code and response headers
3628
4101
  def users_id_user_alerts_get_with_http_info(id_user, opts = {})
3629
4102
  if @api_client.config.debugging
3630
4103
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_alerts_get ...'
@@ -3645,7 +4118,7 @@ module BudgeaClient
3645
4118
  # HTTP header 'Accept' (if needed)
3646
4119
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3647
4120
  # HTTP header 'Content-Type'
3648
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4121
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3649
4122
 
3650
4123
  # form parameters
3651
4124
  form_params = {}
@@ -3659,7 +4132,7 @@ module BudgeaClient
3659
4132
  :form_params => form_params,
3660
4133
  :body => post_body,
3661
4134
  :auth_names => auth_names,
3662
- :return_type => 'InlineResponse20034')
4135
+ :return_type => 'InlineResponse20035')
3663
4136
  if @api_client.config.debugging
3664
4137
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_alerts_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3665
4138
  end
@@ -3670,7 +4143,7 @@ module BudgeaClient
3670
4143
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
3671
4144
  # @param [Hash] opts the optional parameters
3672
4145
  # @option opts [String] :expand
3673
- # @return [InlineResponse20035]
4146
+ # @return [InlineResponse20036]
3674
4147
  def users_id_user_categories_full_get(id_user, opts = {})
3675
4148
  data, _status_code, _headers = users_id_user_categories_full_get_with_http_info(id_user, opts)
3676
4149
  data
@@ -3681,7 +4154,7 @@ module BudgeaClient
3681
4154
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
3682
4155
  # @param [Hash] opts the optional parameters
3683
4156
  # @option opts [String] :expand
3684
- # @return [Array<(InlineResponse20035, Fixnum, Hash)>] InlineResponse20035 data, response status code and response headers
4157
+ # @return [Array<(InlineResponse20036, Fixnum, Hash)>] InlineResponse20036 data, response status code and response headers
3685
4158
  def users_id_user_categories_full_get_with_http_info(id_user, opts = {})
3686
4159
  if @api_client.config.debugging
3687
4160
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_categories_full_get ...'
@@ -3702,7 +4175,7 @@ module BudgeaClient
3702
4175
  # HTTP header 'Accept' (if needed)
3703
4176
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3704
4177
  # HTTP header 'Content-Type'
3705
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4178
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3706
4179
 
3707
4180
  # form parameters
3708
4181
  form_params = {}
@@ -3716,7 +4189,7 @@ module BudgeaClient
3716
4189
  :form_params => form_params,
3717
4190
  :body => post_body,
3718
4191
  :auth_names => auth_names,
3719
- :return_type => 'InlineResponse20035')
4192
+ :return_type => 'InlineResponse20036')
3720
4193
  if @api_client.config.debugging
3721
4194
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_categories_full_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3722
4195
  end
@@ -3765,7 +4238,7 @@ module BudgeaClient
3765
4238
  # HTTP header 'Accept' (if needed)
3766
4239
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3767
4240
  # HTTP header 'Content-Type'
3768
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4241
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3769
4242
 
3770
4243
  # form parameters
3771
4244
  form_params = {}
@@ -3832,7 +4305,7 @@ module BudgeaClient
3832
4305
  # HTTP header 'Accept' (if needed)
3833
4306
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3834
4307
  # HTTP header 'Content-Type'
3835
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4308
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3836
4309
 
3837
4310
  # form parameters
3838
4311
  form_params = {}
@@ -3905,7 +4378,7 @@ module BudgeaClient
3905
4378
  # HTTP header 'Accept' (if needed)
3906
4379
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3907
4380
  # HTTP header 'Content-Type'
3908
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4381
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3909
4382
 
3910
4383
  # form parameters
3911
4384
  form_params = {}
@@ -3966,7 +4439,7 @@ module BudgeaClient
3966
4439
  # HTTP header 'Accept' (if needed)
3967
4440
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3968
4441
  # HTTP header 'Content-Type'
3969
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4442
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
3970
4443
 
3971
4444
  # form parameters
3972
4445
  form_params = {}
@@ -4022,7 +4495,7 @@ module BudgeaClient
4022
4495
  # HTTP header 'Accept' (if needed)
4023
4496
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4024
4497
  # HTTP header 'Content-Type'
4025
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4498
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4026
4499
 
4027
4500
  # form parameters
4028
4501
  form_params = {}
@@ -4079,7 +4552,7 @@ module BudgeaClient
4079
4552
  # HTTP header 'Accept' (if needed)
4080
4553
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4081
4554
  # HTTP header 'Content-Type'
4082
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4555
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4083
4556
 
4084
4557
  # form parameters
4085
4558
  form_params = {}
@@ -4142,7 +4615,7 @@ module BudgeaClient
4142
4615
  # HTTP header 'Accept' (if needed)
4143
4616
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4144
4617
  # HTTP header 'Content-Type'
4145
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4618
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4146
4619
 
4147
4620
  # form parameters
4148
4621
  form_params = {}
@@ -4205,7 +4678,7 @@ module BudgeaClient
4205
4678
  # HTTP header 'Accept' (if needed)
4206
4679
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4207
4680
  # HTTP header 'Content-Type'
4208
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4681
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4209
4682
 
4210
4683
  # form parameters
4211
4684
  form_params = {}
@@ -4271,7 +4744,7 @@ module BudgeaClient
4271
4744
  # HTTP header 'Accept' (if needed)
4272
4745
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4273
4746
  # HTTP header 'Content-Type'
4274
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4747
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4275
4748
 
4276
4749
  # form parameters
4277
4750
  form_params = {}
@@ -4339,7 +4812,7 @@ module BudgeaClient
4339
4812
  # HTTP header 'Accept' (if needed)
4340
4813
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4341
4814
  # HTTP header 'Content-Type'
4342
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4815
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4343
4816
 
4344
4817
  # form parameters
4345
4818
  form_params = {}
@@ -4414,7 +4887,7 @@ module BudgeaClient
4414
4887
  # HTTP header 'Accept' (if needed)
4415
4888
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4416
4889
  # HTTP header 'Content-Type'
4417
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4890
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4418
4891
 
4419
4892
  # form parameters
4420
4893
  form_params = {}
@@ -4434,7 +4907,7 @@ module BudgeaClient
4434
4907
  return data, status_code, headers
4435
4908
  end
4436
4909
  # Get accounts logs.
4437
- # Get logs of account.<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>
4910
+ # Get logs of account. By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
4438
4911
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
4439
4912
  # @param id_connection
4440
4913
  # @param id_account
@@ -4451,7 +4924,7 @@ module BudgeaClient
4451
4924
  end
4452
4925
 
4453
4926
  # Get accounts logs.
4454
- # Get logs of account.&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;
4927
+ # Get logs of account. 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;
4455
4928
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
4456
4929
  # @param id_connection
4457
4930
  # @param id_account
@@ -4494,7 +4967,7 @@ module BudgeaClient
4494
4967
  # HTTP header 'Accept' (if needed)
4495
4968
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4496
4969
  # HTTP header 'Content-Type'
4497
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
4970
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4498
4971
 
4499
4972
  # form parameters
4500
4973
  form_params = {}
@@ -4577,7 +5050,7 @@ module BudgeaClient
4577
5050
  # HTTP header 'Accept' (if needed)
4578
5051
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4579
5052
  # HTTP header 'Content-Type'
4580
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5053
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4581
5054
 
4582
5055
  # form parameters
4583
5056
  form_params = {}
@@ -4604,6 +5077,75 @@ module BudgeaClient
4604
5077
  end
4605
5078
  return data, status_code, headers
4606
5079
  end
5080
+ # Get account sources
5081
+ #
5082
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5083
+ # @param id_connection
5084
+ # @param id_account
5085
+ # @param [Hash] opts the optional parameters
5086
+ # @option opts [String] :expand
5087
+ # @return [InlineResponse20030]
5088
+ def users_id_user_connections_id_connection_accounts_id_account_sources_get(id_user, id_connection, id_account, opts = {})
5089
+ data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_sources_get_with_http_info(id_user, id_connection, id_account, opts)
5090
+ data
5091
+ end
5092
+
5093
+ # Get account sources
5094
+ #
5095
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5096
+ # @param id_connection
5097
+ # @param id_account
5098
+ # @param [Hash] opts the optional parameters
5099
+ # @option opts [String] :expand
5100
+ # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
5101
+ def users_id_user_connections_id_connection_accounts_id_account_sources_get_with_http_info(id_user, id_connection, id_account, opts = {})
5102
+ if @api_client.config.debugging
5103
+ @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_id_account_sources_get ...'
5104
+ end
5105
+ # verify the required parameter 'id_user' is set
5106
+ if @api_client.config.client_side_validation && id_user.nil?
5107
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling BanksApi.users_id_user_connections_id_connection_accounts_id_account_sources_get"
5108
+ end
5109
+ # verify the required parameter 'id_connection' is set
5110
+ if @api_client.config.client_side_validation && id_connection.nil?
5111
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.users_id_user_connections_id_connection_accounts_id_account_sources_get"
5112
+ end
5113
+ # verify the required parameter 'id_account' is set
5114
+ if @api_client.config.client_side_validation && id_account.nil?
5115
+ fail ArgumentError, "Missing the required parameter 'id_account' when calling BanksApi.users_id_user_connections_id_connection_accounts_id_account_sources_get"
5116
+ end
5117
+ # resource path
5118
+ local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/sources'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s)
5119
+
5120
+ # query parameters
5121
+ query_params = {}
5122
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
5123
+
5124
+ # header parameters
5125
+ header_params = {}
5126
+ # HTTP header 'Accept' (if needed)
5127
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5128
+ # HTTP header 'Content-Type'
5129
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5130
+
5131
+ # form parameters
5132
+ form_params = {}
5133
+
5134
+ # http body (model)
5135
+ post_body = nil
5136
+ auth_names = ['api_key']
5137
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5138
+ :header_params => header_params,
5139
+ :query_params => query_params,
5140
+ :form_params => form_params,
5141
+ :body => post_body,
5142
+ :auth_names => auth_names,
5143
+ :return_type => 'InlineResponse20030')
5144
+ if @api_client.config.debugging
5145
+ @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_accounts_id_account_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5146
+ end
5147
+ return data, status_code, headers
5148
+ end
4607
5149
  # Delete transactions
4608
5150
  #
4609
5151
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -4653,7 +5195,7 @@ module BudgeaClient
4653
5195
  # HTTP header 'Accept' (if needed)
4654
5196
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4655
5197
  # HTTP header 'Content-Type'
4656
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5198
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4657
5199
 
4658
5200
  # form parameters
4659
5201
  form_params = {}
@@ -4693,7 +5235,7 @@ module BudgeaClient
4693
5235
  # @option opts [String] :search search in labels, dates, values and categories
4694
5236
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
4695
5237
  # @option opts [String] :expand
4696
- # @return [InlineResponse20030]
5238
+ # @return [InlineResponse20031]
4697
5239
  def users_id_user_connections_id_connection_accounts_id_account_transactions_get(id_user, id_connection, id_account, opts = {})
4698
5240
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_transactions_get_with_http_info(id_user, id_connection, id_account, opts)
4699
5241
  data
@@ -4719,7 +5261,7 @@ module BudgeaClient
4719
5261
  # @option opts [String] :search search in labels, dates, values and categories
4720
5262
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
4721
5263
  # @option opts [String] :expand
4722
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
5264
+ # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
4723
5265
  def users_id_user_connections_id_connection_accounts_id_account_transactions_get_with_http_info(id_user, id_connection, id_account, opts = {})
4724
5266
  if @api_client.config.debugging
4725
5267
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_id_account_transactions_get ...'
@@ -4761,7 +5303,7 @@ module BudgeaClient
4761
5303
  # HTTP header 'Accept' (if needed)
4762
5304
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4763
5305
  # HTTP header 'Content-Type'
4764
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5306
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4765
5307
 
4766
5308
  # form parameters
4767
5309
  form_params = {}
@@ -4775,7 +5317,7 @@ module BudgeaClient
4775
5317
  :form_params => form_params,
4776
5318
  :body => post_body,
4777
5319
  :auth_names => auth_names,
4778
- :return_type => 'InlineResponse20030')
5320
+ :return_type => 'InlineResponse20031')
4779
5321
  if @api_client.config.debugging
4780
5322
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_accounts_id_account_transactions_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4781
5323
  end
@@ -4836,7 +5378,7 @@ module BudgeaClient
4836
5378
  # HTTP header 'Accept' (if needed)
4837
5379
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4838
5380
  # HTTP header 'Content-Type'
4839
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5381
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4840
5382
 
4841
5383
  # form parameters
4842
5384
  form_params = {}
@@ -4864,7 +5406,7 @@ module BudgeaClient
4864
5406
  # @param id_transaction
4865
5407
  # @param [Hash] opts the optional parameters
4866
5408
  # @option opts [String] :expand
4867
- # @return [InlineResponse20032]
5409
+ # @return [InlineResponse20033]
4868
5410
  def users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get(id_user, id_connection, id_account, id_transaction, opts = {})
4869
5411
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get_with_http_info(id_user, id_connection, id_account, id_transaction, opts)
4870
5412
  data
@@ -4878,7 +5420,7 @@ module BudgeaClient
4878
5420
  # @param id_transaction
4879
5421
  # @param [Hash] opts the optional parameters
4880
5422
  # @option opts [String] :expand
4881
- # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
5423
+ # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
4882
5424
  def users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get_with_http_info(id_user, id_connection, id_account, id_transaction, opts = {})
4883
5425
  if @api_client.config.debugging
4884
5426
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get ...'
@@ -4911,7 +5453,7 @@ module BudgeaClient
4911
5453
  # HTTP header 'Accept' (if needed)
4912
5454
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4913
5455
  # HTTP header 'Content-Type'
4914
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5456
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4915
5457
 
4916
5458
  # form parameters
4917
5459
  form_params = {}
@@ -4925,7 +5467,7 @@ module BudgeaClient
4925
5467
  :form_params => form_params,
4926
5468
  :body => post_body,
4927
5469
  :auth_names => auth_names,
4928
- :return_type => 'InlineResponse20032')
5470
+ :return_type => 'InlineResponse20033')
4929
5471
  if @api_client.config.debugging
4930
5472
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4931
5473
  end
@@ -4992,7 +5534,7 @@ module BudgeaClient
4992
5534
  # HTTP header 'Accept' (if needed)
4993
5535
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4994
5536
  # HTTP header 'Content-Type'
4995
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5537
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4996
5538
 
4997
5539
  # form parameters
4998
5540
  form_params = {}
@@ -5073,7 +5615,7 @@ module BudgeaClient
5073
5615
  # HTTP header 'Accept' (if needed)
5074
5616
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5075
5617
  # HTTP header 'Content-Type'
5076
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5618
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5077
5619
 
5078
5620
  # form parameters
5079
5621
  form_params = {}
@@ -5148,7 +5690,7 @@ module BudgeaClient
5148
5690
  # HTTP header 'Accept' (if needed)
5149
5691
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5150
5692
  # HTTP header 'Content-Type'
5151
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5693
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5152
5694
 
5153
5695
  # form parameters
5154
5696
  form_params = {}
@@ -5233,7 +5775,7 @@ module BudgeaClient
5233
5775
  # HTTP header 'Accept' (if needed)
5234
5776
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5235
5777
  # HTTP header 'Content-Type'
5236
- 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'])
5237
5779
 
5238
5780
  # form parameters
5239
5781
  form_params = {}
@@ -5339,7 +5881,7 @@ module BudgeaClient
5339
5881
  # HTTP header 'Accept' (if needed)
5340
5882
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5341
5883
  # HTTP header 'Content-Type'
5342
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5884
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5343
5885
 
5344
5886
  # form parameters
5345
5887
  form_params = {}
@@ -5376,7 +5918,7 @@ module BudgeaClient
5376
5918
  # @param id_account
5377
5919
  # @param [Hash] opts the optional parameters
5378
5920
  # @option opts [String] :expand
5379
- # @return [InlineResponse20033]
5921
+ # @return [InlineResponse20034]
5380
5922
  def users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get(id_user, id_connection, id_account, opts = {})
5381
5923
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get_with_http_info(id_user, id_connection, id_account, opts)
5382
5924
  data
@@ -5389,7 +5931,7 @@ module BudgeaClient
5389
5931
  # @param id_account
5390
5932
  # @param [Hash] opts the optional parameters
5391
5933
  # @option opts [String] :expand
5392
- # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
5934
+ # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
5393
5935
  def users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get_with_http_info(id_user, id_connection, id_account, opts = {})
5394
5936
  if @api_client.config.debugging
5395
5937
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get ...'
@@ -5418,7 +5960,7 @@ module BudgeaClient
5418
5960
  # HTTP header 'Accept' (if needed)
5419
5961
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5420
5962
  # HTTP header 'Content-Type'
5421
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5963
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5422
5964
 
5423
5965
  # form parameters
5424
5966
  form_params = {}
@@ -5432,7 +5974,7 @@ module BudgeaClient
5432
5974
  :form_params => form_params,
5433
5975
  :body => post_body,
5434
5976
  :auth_names => auth_names,
5435
- :return_type => 'InlineResponse20033')
5977
+ :return_type => 'InlineResponse20034')
5436
5978
  if @api_client.config.debugging
5437
5979
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5438
5980
  end
@@ -5493,7 +6035,7 @@ module BudgeaClient
5493
6035
  # HTTP header 'Accept' (if needed)
5494
6036
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5495
6037
  # HTTP header 'Content-Type'
5496
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6038
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5497
6039
 
5498
6040
  # form parameters
5499
6041
  form_params = {}
@@ -5568,7 +6110,7 @@ module BudgeaClient
5568
6110
  # HTTP header 'Accept' (if needed)
5569
6111
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5570
6112
  # HTTP header 'Content-Type'
5571
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6113
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5572
6114
 
5573
6115
  # form parameters
5574
6116
  form_params = {}
@@ -5637,7 +6179,7 @@ module BudgeaClient
5637
6179
  # HTTP header 'Accept' (if needed)
5638
6180
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5639
6181
  # HTTP header 'Content-Type'
5640
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6182
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5641
6183
 
5642
6184
  # form parameters
5643
6185
  form_params = {}
@@ -5662,16 +6204,16 @@ module BudgeaClient
5662
6204
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5663
6205
  # @param id_connection
5664
6206
  # @param name name of account
5665
- # @param balance balance of account
5666
6207
  # @param [Hash] opts the optional parameters
6208
+ # @option opts [Float] :balance balance of account
5667
6209
  # @option opts [String] :number number of account
5668
6210
  # @option opts [String] :iban IBAN of account
5669
6211
  # @option opts [String] :id_currency the currency of the account (default: &#39;EUR&#39;)
5670
6212
  # @option opts [Integer] :id_connection2 the connection to attach to the account
5671
6213
  # @option opts [String] :expand
5672
6214
  # @return [Account]
5673
- def users_id_user_connections_id_connection_accounts_post(id_user, id_connection, name, balance, opts = {})
5674
- data, _status_code, _headers = users_id_user_connections_id_connection_accounts_post_with_http_info(id_user, id_connection, name, balance, opts)
6215
+ def users_id_user_connections_id_connection_accounts_post(id_user, id_connection, name, opts = {})
6216
+ data, _status_code, _headers = users_id_user_connections_id_connection_accounts_post_with_http_info(id_user, id_connection, name, opts)
5675
6217
  data
5676
6218
  end
5677
6219
 
@@ -5680,15 +6222,15 @@ module BudgeaClient
5680
6222
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5681
6223
  # @param id_connection
5682
6224
  # @param name name of account
5683
- # @param balance balance of account
5684
6225
  # @param [Hash] opts the optional parameters
6226
+ # @option opts [Float] :balance balance of account
5685
6227
  # @option opts [String] :number number of account
5686
6228
  # @option opts [String] :iban IBAN of account
5687
6229
  # @option opts [String] :id_currency the currency of the account (default: &#39;EUR&#39;)
5688
6230
  # @option opts [Integer] :id_connection2 the connection to attach to the account
5689
6231
  # @option opts [String] :expand
5690
6232
  # @return [Array<(Account, Fixnum, Hash)>] Account data, response status code and response headers
5691
- def users_id_user_connections_id_connection_accounts_post_with_http_info(id_user, id_connection, name, balance, opts = {})
6233
+ def users_id_user_connections_id_connection_accounts_post_with_http_info(id_user, id_connection, name, opts = {})
5692
6234
  if @api_client.config.debugging
5693
6235
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_post ...'
5694
6236
  end
@@ -5704,10 +6246,6 @@ module BudgeaClient
5704
6246
  if @api_client.config.client_side_validation && name.nil?
5705
6247
  fail ArgumentError, "Missing the required parameter 'name' when calling BanksApi.users_id_user_connections_id_connection_accounts_post"
5706
6248
  end
5707
- # verify the required parameter 'balance' is set
5708
- if @api_client.config.client_side_validation && balance.nil?
5709
- fail ArgumentError, "Missing the required parameter 'balance' when calling BanksApi.users_id_user_connections_id_connection_accounts_post"
5710
- end
5711
6249
  # resource path
5712
6250
  local_var_path = '/users/{id_user}/connections/{id_connection}/accounts'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
5713
6251
 
@@ -5725,7 +6263,7 @@ module BudgeaClient
5725
6263
  # form parameters
5726
6264
  form_params = {}
5727
6265
  form_params['name'] = name
5728
- form_params['balance'] = balance
6266
+ form_params['balance'] = opts[:'balance'] if !opts[:'balance'].nil?
5729
6267
  form_params['number'] = opts[:'number'] if !opts[:'number'].nil?
5730
6268
  form_params['iban'] = opts[:'iban'] if !opts[:'iban'].nil?
5731
6269
  form_params['id_currency'] = opts[:'id_currency'] if !opts[:'id_currency'].nil?
@@ -5789,7 +6327,7 @@ module BudgeaClient
5789
6327
  # HTTP header 'Accept' (if needed)
5790
6328
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5791
6329
  # HTTP header 'Content-Type'
5792
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6330
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5793
6331
 
5794
6332
  # form parameters
5795
6333
  form_params = {}
@@ -5852,7 +6390,7 @@ module BudgeaClient
5852
6390
  # HTTP header 'Accept' (if needed)
5853
6391
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5854
6392
  # HTTP header 'Content-Type'
5855
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6393
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5856
6394
 
5857
6395
  # form parameters
5858
6396
  form_params = {}
@@ -5915,7 +6453,7 @@ module BudgeaClient
5915
6453
  # HTTP header 'Accept' (if needed)
5916
6454
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5917
6455
  # HTTP header 'Content-Type'
5918
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6456
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5919
6457
 
5920
6458
  # form parameters
5921
6459
  form_params = {}
@@ -5978,7 +6516,7 @@ module BudgeaClient
5978
6516
  # HTTP header 'Accept' (if needed)
5979
6517
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5980
6518
  # HTTP header 'Content-Type'
5981
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6519
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5982
6520
 
5983
6521
  # form parameters
5984
6522
  form_params = {}
@@ -6013,8 +6551,9 @@ module BudgeaClient
6013
6551
  # @option opts [Integer] :id_connection2 ID of a connection
6014
6552
  # @option opts [Integer] :id_connector ID of a connector
6015
6553
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
6554
+ # @option opts [Integer] :id_source ID of a source
6016
6555
  # @option opts [String] :expand
6017
- # @return [InlineResponse20017]
6556
+ # @return [InlineResponse20015]
6018
6557
  def users_id_user_connections_id_connection_logs_get(id_user, id_connection, opts = {})
6019
6558
  data, _status_code, _headers = users_id_user_connections_id_connection_logs_get_with_http_info(id_user, id_connection, opts)
6020
6559
  data
@@ -6035,8 +6574,9 @@ module BudgeaClient
6035
6574
  # @option opts [Integer] :id_connection2 ID of a connection
6036
6575
  # @option opts [Integer] :id_connector ID of a connector
6037
6576
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
6577
+ # @option opts [Integer] :id_source ID of a source
6038
6578
  # @option opts [String] :expand
6039
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
6579
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
6040
6580
  def users_id_user_connections_id_connection_logs_get_with_http_info(id_user, id_connection, opts = {})
6041
6581
  if @api_client.config.debugging
6042
6582
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_logs_get ...'
@@ -6064,6 +6604,7 @@ module BudgeaClient
6064
6604
  query_params[:'id_connection'] = opts[:'id_connection2'] if !opts[:'id_connection2'].nil?
6065
6605
  query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
6066
6606
  query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
6607
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
6067
6608
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
6068
6609
 
6069
6610
  # header parameters
@@ -6071,7 +6612,7 @@ module BudgeaClient
6071
6612
  # HTTP header 'Accept' (if needed)
6072
6613
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6073
6614
  # HTTP header 'Content-Type'
6074
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6615
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6075
6616
 
6076
6617
  # form parameters
6077
6618
  form_params = {}
@@ -6085,7 +6626,7 @@ module BudgeaClient
6085
6626
  :form_params => form_params,
6086
6627
  :body => post_body,
6087
6628
  :auth_names => auth_names,
6088
- :return_type => 'InlineResponse20017')
6629
+ :return_type => 'InlineResponse20015')
6089
6630
  if @api_client.config.debugging
6090
6631
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6091
6632
  end
@@ -6212,7 +6753,7 @@ module BudgeaClient
6212
6753
  # HTTP header 'Accept' (if needed)
6213
6754
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6214
6755
  # HTTP header 'Content-Type'
6215
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6756
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6216
6757
 
6217
6758
  # form parameters
6218
6759
  form_params = {}
@@ -6232,6 +6773,276 @@ module BudgeaClient
6232
6773
  end
6233
6774
  return data, status_code, headers
6234
6775
  end
6776
+ # Get connection sources
6777
+ #
6778
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6779
+ # @param id_connection
6780
+ # @param [Hash] opts the optional parameters
6781
+ # @option opts [String] :expand
6782
+ # @return [InlineResponse20030]
6783
+ def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
6784
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
6785
+ data
6786
+ end
6787
+
6788
+ # Get connection sources
6789
+ #
6790
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6791
+ # @param id_connection
6792
+ # @param [Hash] opts the optional parameters
6793
+ # @option opts [String] :expand
6794
+ # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
6795
+ def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
6796
+ if @api_client.config.debugging
6797
+ @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_sources_get ...'
6798
+ end
6799
+ # verify the required parameter 'id_user' is set
6800
+ if @api_client.config.client_side_validation && id_user.nil?
6801
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling BanksApi.users_id_user_connections_id_connection_sources_get"
6802
+ end
6803
+ # verify the required parameter 'id_connection' is set
6804
+ if @api_client.config.client_side_validation && id_connection.nil?
6805
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.users_id_user_connections_id_connection_sources_get"
6806
+ end
6807
+ # resource path
6808
+ local_var_path = '/users/{id_user}/connections/{id_connection}/sources'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
6809
+
6810
+ # query parameters
6811
+ query_params = {}
6812
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
6813
+
6814
+ # header parameters
6815
+ header_params = {}
6816
+ # HTTP header 'Accept' (if needed)
6817
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6818
+ # HTTP header 'Content-Type'
6819
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6820
+
6821
+ # form parameters
6822
+ form_params = {}
6823
+
6824
+ # http body (model)
6825
+ post_body = nil
6826
+ auth_names = ['api_key']
6827
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
6828
+ :header_params => header_params,
6829
+ :query_params => query_params,
6830
+ :form_params => form_params,
6831
+ :body => post_body,
6832
+ :auth_names => auth_names,
6833
+ :return_type => 'InlineResponse20030')
6834
+ if @api_client.config.debugging
6835
+ @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6836
+ end
6837
+ return data, status_code, headers
6838
+ end
6839
+ # Disable a connection source
6840
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
6841
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6842
+ # @param id_connection
6843
+ # @param id_source
6844
+ # @param [Hash] opts the optional parameters
6845
+ # @option opts [String] :expand
6846
+ # @return [ConnectionSource]
6847
+ def users_id_user_connections_id_connection_sources_id_source_delete(id_user, id_connection, id_source, opts = {})
6848
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_delete_with_http_info(id_user, id_connection, id_source, opts)
6849
+ data
6850
+ end
6851
+
6852
+ # Disable a connection source
6853
+ # This will make it so the specified source will not be synchronized anymore.&lt;br&gt;&lt;br&gt;
6854
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6855
+ # @param id_connection
6856
+ # @param id_source
6857
+ # @param [Hash] opts the optional parameters
6858
+ # @option opts [String] :expand
6859
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
6860
+ def users_id_user_connections_id_connection_sources_id_source_delete_with_http_info(id_user, id_connection, id_source, opts = {})
6861
+ if @api_client.config.debugging
6862
+ @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_sources_id_source_delete ...'
6863
+ end
6864
+ # verify the required parameter 'id_user' is set
6865
+ if @api_client.config.client_side_validation && id_user.nil?
6866
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_delete"
6867
+ end
6868
+ # verify the required parameter 'id_connection' is set
6869
+ if @api_client.config.client_side_validation && id_connection.nil?
6870
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_delete"
6871
+ end
6872
+ # verify the required parameter 'id_source' is set
6873
+ if @api_client.config.client_side_validation && id_source.nil?
6874
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_delete"
6875
+ end
6876
+ # resource path
6877
+ 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)
6878
+
6879
+ # query parameters
6880
+ query_params = {}
6881
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
6882
+
6883
+ # header parameters
6884
+ header_params = {}
6885
+ # HTTP header 'Accept' (if needed)
6886
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6887
+ # HTTP header 'Content-Type'
6888
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6889
+
6890
+ # form parameters
6891
+ form_params = {}
6892
+
6893
+ # http body (model)
6894
+ post_body = nil
6895
+ auth_names = ['api_key']
6896
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
6897
+ :header_params => header_params,
6898
+ :query_params => query_params,
6899
+ :form_params => form_params,
6900
+ :body => post_body,
6901
+ :auth_names => auth_names,
6902
+ :return_type => 'ConnectionSource')
6903
+ if @api_client.config.debugging
6904
+ @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6905
+ end
6906
+ return data, status_code, headers
6907
+ end
6908
+ # Enable connection source
6909
+ # This will make it so the specified source will be able to be synchronized.<br><br>
6910
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6911
+ # @param id_connection
6912
+ # @param id_source
6913
+ # @param [Hash] opts the optional parameters
6914
+ # @option opts [String] :expand
6915
+ # @return [ConnectionSource]
6916
+ def users_id_user_connections_id_connection_sources_id_source_post(id_user, id_connection, id_source, opts = {})
6917
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_post_with_http_info(id_user, id_connection, id_source, opts)
6918
+ data
6919
+ end
6920
+
6921
+ # Enable connection source
6922
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
6923
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6924
+ # @param id_connection
6925
+ # @param id_source
6926
+ # @param [Hash] opts the optional parameters
6927
+ # @option opts [String] :expand
6928
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
6929
+ def users_id_user_connections_id_connection_sources_id_source_post_with_http_info(id_user, id_connection, id_source, opts = {})
6930
+ if @api_client.config.debugging
6931
+ @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_sources_id_source_post ...'
6932
+ end
6933
+ # verify the required parameter 'id_user' is set
6934
+ if @api_client.config.client_side_validation && id_user.nil?
6935
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_post"
6936
+ end
6937
+ # verify the required parameter 'id_connection' is set
6938
+ if @api_client.config.client_side_validation && id_connection.nil?
6939
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_post"
6940
+ end
6941
+ # verify the required parameter 'id_source' is set
6942
+ if @api_client.config.client_side_validation && id_source.nil?
6943
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_post"
6944
+ end
6945
+ # resource path
6946
+ 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)
6947
+
6948
+ # query parameters
6949
+ query_params = {}
6950
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
6951
+
6952
+ # header parameters
6953
+ header_params = {}
6954
+ # HTTP header 'Accept' (if needed)
6955
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6956
+ # HTTP header 'Content-Type'
6957
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6958
+
6959
+ # form parameters
6960
+ form_params = {}
6961
+
6962
+ # http body (model)
6963
+ post_body = nil
6964
+ auth_names = ['api_key']
6965
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
6966
+ :header_params => header_params,
6967
+ :query_params => query_params,
6968
+ :form_params => form_params,
6969
+ :body => post_body,
6970
+ :auth_names => auth_names,
6971
+ :return_type => 'ConnectionSource')
6972
+ if @api_client.config.debugging
6973
+ @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6974
+ end
6975
+ return data, status_code, headers
6976
+ end
6977
+ # Enable connection source
6978
+ # This will make it so the specified source will be able to be synchronized.<br><br>
6979
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6980
+ # @param id_connection
6981
+ # @param id_source
6982
+ # @param [Hash] opts the optional parameters
6983
+ # @option opts [String] :expand
6984
+ # @return [ConnectionSource]
6985
+ def users_id_user_connections_id_connection_sources_id_source_put(id_user, id_connection, id_source, opts = {})
6986
+ data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_put_with_http_info(id_user, id_connection, id_source, opts)
6987
+ data
6988
+ end
6989
+
6990
+ # Enable connection source
6991
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
6992
+ # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6993
+ # @param id_connection
6994
+ # @param id_source
6995
+ # @param [Hash] opts the optional parameters
6996
+ # @option opts [String] :expand
6997
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
6998
+ def users_id_user_connections_id_connection_sources_id_source_put_with_http_info(id_user, id_connection, id_source, opts = {})
6999
+ if @api_client.config.debugging
7000
+ @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_sources_id_source_put ...'
7001
+ end
7002
+ # verify the required parameter 'id_user' is set
7003
+ if @api_client.config.client_side_validation && id_user.nil?
7004
+ fail ArgumentError, "Missing the required parameter 'id_user' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_put"
7005
+ end
7006
+ # verify the required parameter 'id_connection' is set
7007
+ if @api_client.config.client_side_validation && id_connection.nil?
7008
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_put"
7009
+ end
7010
+ # verify the required parameter 'id_source' is set
7011
+ if @api_client.config.client_side_validation && id_source.nil?
7012
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling BanksApi.users_id_user_connections_id_connection_sources_id_source_put"
7013
+ end
7014
+ # resource path
7015
+ 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)
7016
+
7017
+ # query parameters
7018
+ query_params = {}
7019
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
7020
+
7021
+ # header parameters
7022
+ header_params = {}
7023
+ # HTTP header 'Accept' (if needed)
7024
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7025
+ # HTTP header 'Content-Type'
7026
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7027
+
7028
+ # form parameters
7029
+ form_params = {}
7030
+
7031
+ # http body (model)
7032
+ post_body = nil
7033
+ auth_names = ['api_key']
7034
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7035
+ :header_params => header_params,
7036
+ :query_params => query_params,
7037
+ :form_params => form_params,
7038
+ :body => post_body,
7039
+ :auth_names => auth_names,
7040
+ :return_type => 'ConnectionSource')
7041
+ if @api_client.config.debugging
7042
+ @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7043
+ end
7044
+ return data, status_code, headers
7045
+ end
6235
7046
  # Delete transactions
6236
7047
  #
6237
7048
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -6275,7 +7086,7 @@ module BudgeaClient
6275
7086
  # HTTP header 'Accept' (if needed)
6276
7087
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6277
7088
  # HTTP header 'Content-Type'
6278
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7089
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6279
7090
 
6280
7091
  # form parameters
6281
7092
  form_params = {}
@@ -6314,7 +7125,7 @@ module BudgeaClient
6314
7125
  # @option opts [String] :search search in labels, dates, values and categories
6315
7126
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
6316
7127
  # @option opts [String] :expand
6317
- # @return [InlineResponse20030]
7128
+ # @return [InlineResponse20031]
6318
7129
  def users_id_user_connections_id_connection_transactions_get(id_user, id_connection, opts = {})
6319
7130
  data, _status_code, _headers = users_id_user_connections_id_connection_transactions_get_with_http_info(id_user, id_connection, opts)
6320
7131
  data
@@ -6339,7 +7150,7 @@ module BudgeaClient
6339
7150
  # @option opts [String] :search search in labels, dates, values and categories
6340
7151
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
6341
7152
  # @option opts [String] :expand
6342
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
7153
+ # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
6343
7154
  def users_id_user_connections_id_connection_transactions_get_with_http_info(id_user, id_connection, opts = {})
6344
7155
  if @api_client.config.debugging
6345
7156
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_transactions_get ...'
@@ -6377,7 +7188,7 @@ module BudgeaClient
6377
7188
  # HTTP header 'Accept' (if needed)
6378
7189
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6379
7190
  # HTTP header 'Content-Type'
6380
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7191
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6381
7192
 
6382
7193
  # form parameters
6383
7194
  form_params = {}
@@ -6391,7 +7202,7 @@ module BudgeaClient
6391
7202
  :form_params => form_params,
6392
7203
  :body => post_body,
6393
7204
  :auth_names => auth_names,
6394
- :return_type => 'InlineResponse20030')
7205
+ :return_type => 'InlineResponse20031')
6395
7206
  if @api_client.config.debugging
6396
7207
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_transactions_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6397
7208
  end
@@ -6446,7 +7257,7 @@ module BudgeaClient
6446
7257
  # HTTP header 'Accept' (if needed)
6447
7258
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6448
7259
  # HTTP header 'Content-Type'
6449
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7260
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6450
7261
 
6451
7262
  # form parameters
6452
7263
  form_params = {}
@@ -6473,7 +7284,7 @@ module BudgeaClient
6473
7284
  # @param id_transaction
6474
7285
  # @param [Hash] opts the optional parameters
6475
7286
  # @option opts [String] :expand
6476
- # @return [InlineResponse20032]
7287
+ # @return [InlineResponse20033]
6477
7288
  def users_id_user_connections_id_connection_transactions_id_transaction_informations_get(id_user, id_connection, id_transaction, opts = {})
6478
7289
  data, _status_code, _headers = users_id_user_connections_id_connection_transactions_id_transaction_informations_get_with_http_info(id_user, id_connection, id_transaction, opts)
6479
7290
  data
@@ -6486,7 +7297,7 @@ module BudgeaClient
6486
7297
  # @param id_transaction
6487
7298
  # @param [Hash] opts the optional parameters
6488
7299
  # @option opts [String] :expand
6489
- # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
7300
+ # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
6490
7301
  def users_id_user_connections_id_connection_transactions_id_transaction_informations_get_with_http_info(id_user, id_connection, id_transaction, opts = {})
6491
7302
  if @api_client.config.debugging
6492
7303
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_transactions_id_transaction_informations_get ...'
@@ -6515,7 +7326,7 @@ module BudgeaClient
6515
7326
  # HTTP header 'Accept' (if needed)
6516
7327
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6517
7328
  # HTTP header 'Content-Type'
6518
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7329
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6519
7330
 
6520
7331
  # form parameters
6521
7332
  form_params = {}
@@ -6529,7 +7340,7 @@ module BudgeaClient
6529
7340
  :form_params => form_params,
6530
7341
  :body => post_body,
6531
7342
  :auth_names => auth_names,
6532
- :return_type => 'InlineResponse20032')
7343
+ :return_type => 'InlineResponse20033')
6533
7344
  if @api_client.config.debugging
6534
7345
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_transactions_id_transaction_informations_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6535
7346
  end
@@ -6590,7 +7401,7 @@ module BudgeaClient
6590
7401
  # HTTP header 'Accept' (if needed)
6591
7402
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6592
7403
  # HTTP header 'Content-Type'
6593
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7404
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6594
7405
 
6595
7406
  # form parameters
6596
7407
  form_params = {}
@@ -6665,7 +7476,7 @@ module BudgeaClient
6665
7476
  # HTTP header 'Accept' (if needed)
6666
7477
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6667
7478
  # HTTP header 'Content-Type'
6668
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7479
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6669
7480
 
6670
7481
  # form parameters
6671
7482
  form_params = {}
@@ -6734,7 +7545,7 @@ module BudgeaClient
6734
7545
  # HTTP header 'Accept' (if needed)
6735
7546
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6736
7547
  # HTTP header 'Content-Type'
6737
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7548
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6738
7549
 
6739
7550
  # form parameters
6740
7551
  form_params = {}
@@ -6813,7 +7624,7 @@ module BudgeaClient
6813
7624
  # HTTP header 'Accept' (if needed)
6814
7625
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6815
7626
  # HTTP header 'Content-Type'
6816
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7627
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6817
7628
 
6818
7629
  # form parameters
6819
7630
  form_params = {}
@@ -6913,7 +7724,7 @@ module BudgeaClient
6913
7724
  # HTTP header 'Accept' (if needed)
6914
7725
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6915
7726
  # HTTP header 'Content-Type'
6916
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7727
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6917
7728
 
6918
7729
  # form parameters
6919
7730
  form_params = {}
@@ -6949,7 +7760,7 @@ module BudgeaClient
6949
7760
  # @param id_connection
6950
7761
  # @param [Hash] opts the optional parameters
6951
7762
  # @option opts [String] :expand
6952
- # @return [InlineResponse20033]
7763
+ # @return [InlineResponse20034]
6953
7764
  def users_id_user_connections_id_connection_transactionsclusters_get(id_user, id_connection, opts = {})
6954
7765
  data, _status_code, _headers = users_id_user_connections_id_connection_transactionsclusters_get_with_http_info(id_user, id_connection, opts)
6955
7766
  data
@@ -6961,7 +7772,7 @@ module BudgeaClient
6961
7772
  # @param id_connection
6962
7773
  # @param [Hash] opts the optional parameters
6963
7774
  # @option opts [String] :expand
6964
- # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
7775
+ # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
6965
7776
  def users_id_user_connections_id_connection_transactionsclusters_get_with_http_info(id_user, id_connection, opts = {})
6966
7777
  if @api_client.config.debugging
6967
7778
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_transactionsclusters_get ...'
@@ -6986,7 +7797,7 @@ module BudgeaClient
6986
7797
  # HTTP header 'Accept' (if needed)
6987
7798
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6988
7799
  # HTTP header 'Content-Type'
6989
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7800
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6990
7801
 
6991
7802
  # form parameters
6992
7803
  form_params = {}
@@ -7000,7 +7811,7 @@ module BudgeaClient
7000
7811
  :form_params => form_params,
7001
7812
  :body => post_body,
7002
7813
  :auth_names => auth_names,
7003
- :return_type => 'InlineResponse20033')
7814
+ :return_type => 'InlineResponse20034')
7004
7815
  if @api_client.config.debugging
7005
7816
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_transactionsclusters_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7006
7817
  end
@@ -7055,7 +7866,7 @@ module BudgeaClient
7055
7866
  # HTTP header 'Accept' (if needed)
7056
7867
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7057
7868
  # HTTP header 'Content-Type'
7058
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7869
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7059
7870
 
7060
7871
  # form parameters
7061
7872
  form_params = {}
@@ -7124,7 +7935,7 @@ module BudgeaClient
7124
7935
  # HTTP header 'Accept' (if needed)
7125
7936
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7126
7937
  # HTTP header 'Content-Type'
7127
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7938
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7128
7939
 
7129
7940
  # form parameters
7130
7941
  form_params = {}
@@ -7187,7 +7998,7 @@ module BudgeaClient
7187
7998
  # HTTP header 'Accept' (if needed)
7188
7999
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7189
8000
  # HTTP header 'Content-Type'
7190
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8001
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7191
8002
 
7192
8003
  # form parameters
7193
8004
  form_params = {}
@@ -7211,6 +8022,7 @@ module BudgeaClient
7211
8022
  # 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>
7212
8023
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
7213
8024
  # @param [Hash] opts the optional parameters
8025
+ # @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
7214
8026
  # @option opts [Integer] :id_connector ID of the connector
7215
8027
  # @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
7216
8028
  # @option opts [String] :birthday bank additional login parameter
@@ -7223,6 +8035,8 @@ module BudgeaClient
7223
8035
  # @option opts [String] :birthdate bank additional login parameter
7224
8036
  # @option opts [String] :nuser bank additional login parameter
7225
8037
  # @option opts [String] :website bank additional login parameter
8038
+ # @option opts [String] :openapiwebsite bank additional login parameter
8039
+ # @option opts [String] :website2 bank additional login parameter
7226
8040
  # @option opts [String] :login bank additional login parameter
7227
8041
  # @option opts [Integer] :id_provider ID of the provider
7228
8042
  # @option opts [String] :expand
@@ -7236,6 +8050,7 @@ module BudgeaClient
7236
8050
  # 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;
7237
8051
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
7238
8052
  # @param [Hash] opts the optional parameters
8053
+ # @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
7239
8054
  # @option opts [Integer] :id_connector ID of the connector
7240
8055
  # @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
7241
8056
  # @option opts [String] :birthday bank additional login parameter
@@ -7248,6 +8063,8 @@ module BudgeaClient
7248
8063
  # @option opts [String] :birthdate bank additional login parameter
7249
8064
  # @option opts [String] :nuser bank additional login parameter
7250
8065
  # @option opts [String] :website bank additional login parameter
8066
+ # @option opts [String] :openapiwebsite bank additional login parameter
8067
+ # @option opts [String] :website2 bank additional login parameter
7251
8068
  # @option opts [String] :login bank additional login parameter
7252
8069
  # @option opts [Integer] :id_provider ID of the provider
7253
8070
  # @option opts [String] :expand
@@ -7265,6 +8082,7 @@ module BudgeaClient
7265
8082
 
7266
8083
  # query parameters
7267
8084
  query_params = {}
8085
+ query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
7268
8086
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
7269
8087
 
7270
8088
  # header parameters
@@ -7288,6 +8106,8 @@ module BudgeaClient
7288
8106
  form_params['birthdate'] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
7289
8107
  form_params['nuser'] = opts[:'nuser'] if !opts[:'nuser'].nil?
7290
8108
  form_params['website'] = opts[:'website'] if !opts[:'website'].nil?
8109
+ form_params['openapiwebsite'] = opts[:'openapiwebsite'] if !opts[:'openapiwebsite'].nil?
8110
+ form_params['website'] = opts[:'website2'] if !opts[:'website2'].nil?
7291
8111
  form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
7292
8112
  form_params['id_provider'] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
7293
8113
 
@@ -7340,7 +8160,7 @@ module BudgeaClient
7340
8160
  # HTTP header 'Accept' (if needed)
7341
8161
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7342
8162
  # HTTP header 'Content-Type'
7343
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8163
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7344
8164
 
7345
8165
  # form parameters
7346
8166
  form_params = {}
@@ -7373,8 +8193,9 @@ module BudgeaClient
7373
8193
  # @option opts [Integer] :id_connection ID of a connection
7374
8194
  # @option opts [Integer] :id_connector ID of a connector
7375
8195
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
8196
+ # @option opts [Integer] :id_source ID of a source
7376
8197
  # @option opts [String] :expand
7377
- # @return [InlineResponse20017]
8198
+ # @return [InlineResponse20015]
7378
8199
  def users_id_user_logs_get(id_user, opts = {})
7379
8200
  data, _status_code, _headers = users_id_user_logs_get_with_http_info(id_user, opts)
7380
8201
  data
@@ -7394,8 +8215,9 @@ module BudgeaClient
7394
8215
  # @option opts [Integer] :id_connection ID of a connection
7395
8216
  # @option opts [Integer] :id_connector ID of a connector
7396
8217
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
8218
+ # @option opts [Integer] :id_source ID of a source
7397
8219
  # @option opts [String] :expand
7398
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
8220
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
7399
8221
  def users_id_user_logs_get_with_http_info(id_user, opts = {})
7400
8222
  if @api_client.config.debugging
7401
8223
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_logs_get ...'
@@ -7419,6 +8241,7 @@ module BudgeaClient
7419
8241
  query_params[:'id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
7420
8242
  query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
7421
8243
  query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
8244
+ query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
7422
8245
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
7423
8246
 
7424
8247
  # header parameters
@@ -7426,7 +8249,7 @@ module BudgeaClient
7426
8249
  # HTTP header 'Accept' (if needed)
7427
8250
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7428
8251
  # HTTP header 'Content-Type'
7429
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8252
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7430
8253
 
7431
8254
  # form parameters
7432
8255
  form_params = {}
@@ -7440,7 +8263,7 @@ module BudgeaClient
7440
8263
  :form_params => form_params,
7441
8264
  :body => post_body,
7442
8265
  :auth_names => auth_names,
7443
- :return_type => 'InlineResponse20017')
8266
+ :return_type => 'InlineResponse20015')
7444
8267
  if @api_client.config.debugging
7445
8268
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7446
8269
  end
@@ -7483,7 +8306,7 @@ module BudgeaClient
7483
8306
  # HTTP header 'Accept' (if needed)
7484
8307
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7485
8308
  # HTTP header 'Content-Type'
7486
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8309
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7487
8310
 
7488
8311
  # form parameters
7489
8312
  form_params = {}
@@ -7521,7 +8344,7 @@ module BudgeaClient
7521
8344
  # @option opts [String] :search search in labels, dates, values and categories
7522
8345
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
7523
8346
  # @option opts [String] :expand
7524
- # @return [InlineResponse20030]
8347
+ # @return [InlineResponse20031]
7525
8348
  def users_id_user_transactions_get(id_user, opts = {})
7526
8349
  data, _status_code, _headers = users_id_user_transactions_get_with_http_info(id_user, opts)
7527
8350
  data
@@ -7545,7 +8368,7 @@ module BudgeaClient
7545
8368
  # @option opts [String] :search search in labels, dates, values and categories
7546
8369
  # @option opts [String] :value \&quot;XX|-XX\&quot; or \&quot;±XX\&quot;
7547
8370
  # @option opts [String] :expand
7548
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
8371
+ # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
7549
8372
  def users_id_user_transactions_get_with_http_info(id_user, opts = {})
7550
8373
  if @api_client.config.debugging
7551
8374
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_transactions_get ...'
@@ -7579,7 +8402,7 @@ module BudgeaClient
7579
8402
  # HTTP header 'Accept' (if needed)
7580
8403
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7581
8404
  # HTTP header 'Content-Type'
7582
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8405
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7583
8406
 
7584
8407
  # form parameters
7585
8408
  form_params = {}
@@ -7593,7 +8416,7 @@ module BudgeaClient
7593
8416
  :form_params => form_params,
7594
8417
  :body => post_body,
7595
8418
  :auth_names => auth_names,
7596
- :return_type => 'InlineResponse20030')
8419
+ :return_type => 'InlineResponse20031')
7597
8420
  if @api_client.config.debugging
7598
8421
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_transactions_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7599
8422
  end
@@ -7642,7 +8465,7 @@ module BudgeaClient
7642
8465
  # HTTP header 'Accept' (if needed)
7643
8466
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7644
8467
  # HTTP header 'Content-Type'
7645
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8468
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7646
8469
 
7647
8470
  # form parameters
7648
8471
  form_params = {}
@@ -7668,7 +8491,7 @@ module BudgeaClient
7668
8491
  # @param id_transaction
7669
8492
  # @param [Hash] opts the optional parameters
7670
8493
  # @option opts [String] :expand
7671
- # @return [InlineResponse20032]
8494
+ # @return [InlineResponse20033]
7672
8495
  def users_id_user_transactions_id_transaction_informations_get(id_user, id_transaction, opts = {})
7673
8496
  data, _status_code, _headers = users_id_user_transactions_id_transaction_informations_get_with_http_info(id_user, id_transaction, opts)
7674
8497
  data
@@ -7680,7 +8503,7 @@ module BudgeaClient
7680
8503
  # @param id_transaction
7681
8504
  # @param [Hash] opts the optional parameters
7682
8505
  # @option opts [String] :expand
7683
- # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
8506
+ # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
7684
8507
  def users_id_user_transactions_id_transaction_informations_get_with_http_info(id_user, id_transaction, opts = {})
7685
8508
  if @api_client.config.debugging
7686
8509
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_transactions_id_transaction_informations_get ...'
@@ -7705,7 +8528,7 @@ module BudgeaClient
7705
8528
  # HTTP header 'Accept' (if needed)
7706
8529
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7707
8530
  # HTTP header 'Content-Type'
7708
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8531
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7709
8532
 
7710
8533
  # form parameters
7711
8534
  form_params = {}
@@ -7719,7 +8542,7 @@ module BudgeaClient
7719
8542
  :form_params => form_params,
7720
8543
  :body => post_body,
7721
8544
  :auth_names => auth_names,
7722
- :return_type => 'InlineResponse20032')
8545
+ :return_type => 'InlineResponse20033')
7723
8546
  if @api_client.config.debugging
7724
8547
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_transactions_id_transaction_informations_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7725
8548
  end
@@ -7774,7 +8597,7 @@ module BudgeaClient
7774
8597
  # HTTP header 'Accept' (if needed)
7775
8598
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7776
8599
  # HTTP header 'Content-Type'
7777
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8600
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7778
8601
 
7779
8602
  # form parameters
7780
8603
  form_params = {}
@@ -7843,7 +8666,7 @@ module BudgeaClient
7843
8666
  # HTTP header 'Accept' (if needed)
7844
8667
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7845
8668
  # HTTP header 'Content-Type'
7846
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8669
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7847
8670
 
7848
8671
  # form parameters
7849
8672
  form_params = {}
@@ -7906,7 +8729,7 @@ module BudgeaClient
7906
8729
  # HTTP header 'Accept' (if needed)
7907
8730
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7908
8731
  # HTTP header 'Content-Type'
7909
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8732
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
7910
8733
 
7911
8734
  # form parameters
7912
8735
  form_params = {}
@@ -8108,7 +8931,7 @@ module BudgeaClient
8108
8931
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
8109
8932
  # @param [Hash] opts the optional parameters
8110
8933
  # @option opts [String] :expand
8111
- # @return [InlineResponse20033]
8934
+ # @return [InlineResponse20034]
8112
8935
  def users_id_user_transactionsclusters_get(id_user, opts = {})
8113
8936
  data, _status_code, _headers = users_id_user_transactionsclusters_get_with_http_info(id_user, opts)
8114
8937
  data
@@ -8119,7 +8942,7 @@ module BudgeaClient
8119
8942
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
8120
8943
  # @param [Hash] opts the optional parameters
8121
8944
  # @option opts [String] :expand
8122
- # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
8945
+ # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
8123
8946
  def users_id_user_transactionsclusters_get_with_http_info(id_user, opts = {})
8124
8947
  if @api_client.config.debugging
8125
8948
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_transactionsclusters_get ...'
@@ -8140,7 +8963,7 @@ module BudgeaClient
8140
8963
  # HTTP header 'Accept' (if needed)
8141
8964
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8142
8965
  # HTTP header 'Content-Type'
8143
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
8966
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8144
8967
 
8145
8968
  # form parameters
8146
8969
  form_params = {}
@@ -8154,7 +8977,7 @@ module BudgeaClient
8154
8977
  :form_params => form_params,
8155
8978
  :body => post_body,
8156
8979
  :auth_names => auth_names,
8157
- :return_type => 'InlineResponse20033')
8980
+ :return_type => 'InlineResponse20034')
8158
8981
  if @api_client.config.debugging
8159
8982
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_transactionsclusters_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8160
8983
  end
@@ -8203,7 +9026,7 @@ module BudgeaClient
8203
9026
  # HTTP header 'Accept' (if needed)
8204
9027
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8205
9028
  # HTTP header 'Content-Type'
8206
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
9029
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8207
9030
 
8208
9031
  # form parameters
8209
9032
  form_params = {}
@@ -8266,7 +9089,7 @@ module BudgeaClient
8266
9089
  # HTTP header 'Accept' (if needed)
8267
9090
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8268
9091
  # HTTP header 'Content-Type'
8269
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
9092
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8270
9093
 
8271
9094
  # form parameters
8272
9095
  form_params = {}
@@ -8323,7 +9146,7 @@ module BudgeaClient
8323
9146
  # HTTP header 'Accept' (if needed)
8324
9147
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8325
9148
  # HTTP header 'Content-Type'
8326
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
9149
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
8327
9150
 
8328
9151
  # form parameters
8329
9152
  form_params = {}