budgea_client 5.0.3 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +4 -4
  4. data/README.md +19 -6
  5. data/budgea_client.gemspec +1 -1
  6. data/budgea_openapi.json +1624 -1420
  7. data/config.json +1 -1
  8. data/docs/Account.md +1 -0
  9. data/docs/AdministrationApi.md +12 -12
  10. data/docs/BanksApi.md +267 -52
  11. data/docs/Connection.md +2 -0
  12. data/docs/ConnectionsApi.md +255 -40
  13. data/docs/DocumentsApi.md +2 -2
  14. data/docs/InlineResponse20016.md +1 -1
  15. data/docs/InlineResponse20017.md +1 -1
  16. data/docs/InlineResponse20018.md +1 -1
  17. data/docs/InlineResponse20019.md +1 -1
  18. data/docs/InlineResponse20020.md +1 -1
  19. data/docs/InlineResponse20021.md +1 -1
  20. data/docs/InlineResponse20022.md +1 -1
  21. data/docs/InlineResponse20023.md +1 -1
  22. data/docs/InlineResponse20024.md +1 -1
  23. data/docs/InlineResponse20025.md +1 -1
  24. data/docs/InlineResponse20026.md +1 -1
  25. data/docs/InlineResponse20027.md +1 -1
  26. data/docs/InlineResponse20028.md +1 -1
  27. data/docs/InlineResponse20029.md +1 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/PFMApi.md +9 -9
  30. data/docs/ProvidersApi.md +257 -42
  31. data/docs/TermsApi.md +72 -7
  32. data/docs/TransfersApi.md +24 -24
  33. data/docs/UsersManagementApi.md +2 -2
  34. data/docs/WealthApi.md +53 -37
  35. data/lib/budgea_client.rb +1 -1
  36. data/lib/budgea_client/api/administration_api.rb +14 -14
  37. data/lib/budgea_client/api/authentication_api.rb +1 -1
  38. data/lib/budgea_client/api/banks_api.rb +278 -78
  39. data/lib/budgea_client/api/connections_api.rb +260 -60
  40. data/lib/budgea_client/api/documents_api.rb +4 -4
  41. data/lib/budgea_client/api/ocr_api.rb +1 -1
  42. data/lib/budgea_client/api/oidc_api.rb +1 -1
  43. data/lib/budgea_client/api/pfm_api.rb +12 -12
  44. data/lib/budgea_client/api/providers_api.rb +263 -63
  45. data/lib/budgea_client/api/recipients_api.rb +1 -1
  46. data/lib/budgea_client/api/terms_api.rb +76 -10
  47. data/lib/budgea_client/api/transfer_api.rb +1 -1
  48. data/lib/budgea_client/api/transfers_api.rb +37 -37
  49. data/lib/budgea_client/api/users_management_api.rb +4 -4
  50. data/lib/budgea_client/api/wealth_api.rb +78 -54
  51. data/lib/budgea_client/api_client.rb +3 -1
  52. data/lib/budgea_client/api_error.rb +1 -1
  53. data/lib/budgea_client/configuration.rb +1 -1
  54. data/lib/budgea_client/models/access.rb +3 -2
  55. data/lib/budgea_client/models/account.rb +15 -3
  56. data/lib/budgea_client/models/account_log.rb +3 -2
  57. data/lib/budgea_client/models/account_type.rb +3 -2
  58. data/lib/budgea_client/models/alert.rb +3 -2
  59. data/lib/budgea_client/models/auth_provider.rb +3 -2
  60. data/lib/budgea_client/models/category.rb +3 -2
  61. data/lib/budgea_client/models/certificate.rb +3 -2
  62. data/lib/budgea_client/models/client.rb +3 -2
  63. data/lib/budgea_client/models/config_log.rb +3 -2
  64. data/lib/budgea_client/models/connection.rb +59 -3
  65. data/lib/budgea_client/models/connection_log.rb +3 -2
  66. data/lib/budgea_client/models/connection_source.rb +3 -2
  67. data/lib/budgea_client/models/connector.rb +3 -2
  68. data/lib/budgea_client/models/connector_category.rb +3 -2
  69. data/lib/budgea_client/models/connector_logo.rb +3 -2
  70. data/lib/budgea_client/models/connector_source.rb +3 -2
  71. data/lib/budgea_client/models/currency.rb +3 -2
  72. data/lib/budgea_client/models/device.rb +3 -2
  73. data/lib/budgea_client/models/document.rb +3 -2
  74. data/lib/budgea_client/models/document_type.rb +3 -2
  75. data/lib/budgea_client/models/field.rb +3 -2
  76. data/lib/budgea_client/models/field_value.rb +3 -2
  77. data/lib/budgea_client/models/file.rb +3 -2
  78. data/lib/budgea_client/models/group.rb +3 -2
  79. data/lib/budgea_client/models/hash_table.rb +3 -2
  80. data/lib/budgea_client/models/inline_response_200.rb +3 -2
  81. data/lib/budgea_client/models/inline_response_200_1.rb +3 -2
  82. data/lib/budgea_client/models/inline_response_200_10.rb +3 -2
  83. data/lib/budgea_client/models/inline_response_200_11.rb +3 -2
  84. data/lib/budgea_client/models/inline_response_200_12.rb +3 -2
  85. data/lib/budgea_client/models/inline_response_200_13.rb +3 -2
  86. data/lib/budgea_client/models/inline_response_200_14.rb +3 -2
  87. data/lib/budgea_client/models/inline_response_200_15.rb +3 -2
  88. data/lib/budgea_client/models/inline_response_200_16.rb +14 -13
  89. data/lib/budgea_client/models/inline_response_200_17.rb +21 -20
  90. data/lib/budgea_client/models/inline_response_200_18.rb +21 -20
  91. data/lib/budgea_client/models/inline_response_200_19.rb +21 -20
  92. data/lib/budgea_client/models/inline_response_200_2.rb +3 -2
  93. data/lib/budgea_client/models/inline_response_200_20.rb +21 -20
  94. data/lib/budgea_client/models/inline_response_200_21.rb +21 -20
  95. data/lib/budgea_client/models/inline_response_200_22.rb +14 -13
  96. data/lib/budgea_client/models/inline_response_200_23.rb +14 -13
  97. data/lib/budgea_client/models/inline_response_200_24.rb +21 -20
  98. data/lib/budgea_client/models/inline_response_200_25.rb +21 -20
  99. data/lib/budgea_client/models/inline_response_200_26.rb +14 -13
  100. data/lib/budgea_client/models/inline_response_200_27.rb +14 -13
  101. data/lib/budgea_client/models/inline_response_200_28.rb +14 -13
  102. data/lib/budgea_client/models/inline_response_200_29.rb +21 -20
  103. data/lib/budgea_client/models/inline_response_200_3.rb +3 -2
  104. data/lib/budgea_client/models/inline_response_200_30.rb +14 -13
  105. data/lib/budgea_client/models/inline_response_200_31.rb +3 -2
  106. data/lib/budgea_client/models/inline_response_200_32.rb +3 -2
  107. data/lib/budgea_client/models/inline_response_200_33.rb +3 -2
  108. data/lib/budgea_client/models/inline_response_200_34.rb +3 -2
  109. data/lib/budgea_client/models/inline_response_200_35.rb +3 -2
  110. data/lib/budgea_client/models/inline_response_200_36.rb +3 -2
  111. data/lib/budgea_client/models/inline_response_200_37.rb +3 -2
  112. data/lib/budgea_client/models/inline_response_200_38.rb +3 -2
  113. data/lib/budgea_client/models/inline_response_200_39.rb +3 -2
  114. data/lib/budgea_client/models/inline_response_200_4.rb +3 -2
  115. data/lib/budgea_client/models/inline_response_200_40.rb +3 -2
  116. data/lib/budgea_client/models/inline_response_200_41.rb +3 -2
  117. data/lib/budgea_client/models/inline_response_200_42.rb +3 -2
  118. data/lib/budgea_client/models/inline_response_200_5.rb +3 -2
  119. data/lib/budgea_client/models/inline_response_200_6.rb +3 -2
  120. data/lib/budgea_client/models/inline_response_200_7.rb +3 -2
  121. data/lib/budgea_client/models/inline_response_200_8.rb +3 -2
  122. data/lib/budgea_client/models/inline_response_200_9.rb +3 -2
  123. data/lib/budgea_client/models/investment.rb +3 -2
  124. data/lib/budgea_client/models/investment_value.rb +3 -2
  125. data/lib/budgea_client/models/keyword.rb +3 -2
  126. data/lib/budgea_client/models/locked_user.rb +3 -2
  127. data/lib/budgea_client/models/oidc_whitelist.rb +3 -2
  128. data/lib/budgea_client/models/order.rb +3 -2
  129. data/lib/budgea_client/models/pocket.rb +3 -2
  130. data/lib/budgea_client/models/profile.rb +3 -2
  131. data/lib/budgea_client/models/project.rb +3 -2
  132. data/lib/budgea_client/models/project_type.rb +3 -2
  133. data/lib/budgea_client/models/recipient.rb +3 -2
  134. data/lib/budgea_client/models/recipient_log.rb +3 -2
  135. data/lib/budgea_client/models/security.rb +3 -2
  136. data/lib/budgea_client/models/subscription.rb +3 -2
  137. data/lib/budgea_client/models/subscription_log.rb +3 -2
  138. data/lib/budgea_client/models/terms_of_service.rb +3 -2
  139. data/lib/budgea_client/models/transaction.rb +3 -2
  140. data/lib/budgea_client/models/transaction_information.rb +3 -2
  141. data/lib/budgea_client/models/transactions_cluster.rb +3 -2
  142. data/lib/budgea_client/models/transfer.rb +3 -2
  143. data/lib/budgea_client/models/transfer_log.rb +3 -2
  144. data/lib/budgea_client/models/user.rb +3 -2
  145. data/lib/budgea_client/models/user_alert.rb +3 -2
  146. data/lib/budgea_client/models/webhook.rb +3 -2
  147. data/lib/budgea_client/models/webhook_data.rb +3 -2
  148. data/lib/budgea_client/models/webhook_log.rb +3 -2
  149. data/lib/budgea_client/version.rb +2 -2
  150. data/original_budgea_openapi.json +1559 -1474
  151. data/pkg/budgea_client-5.0.3.gem +0 -0
  152. metadata +3 -4
  153. data/lib/budgea_client/api/hub_api.rb +0 -76
  154. data/lib/budgea_client/models/invite.rb +0 -238
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -568,7 +568,7 @@ module BudgeaClient
568
568
  # @param id_account
569
569
  # @param [Hash] opts the optional parameters
570
570
  # @option opts [String] :expand
571
- # @return [InlineResponse20027]
571
+ # @return [InlineResponse20028]
572
572
  def users_id_user_accounts_id_account_operationsalert_get(id_user, id_account, opts = {})
573
573
  data, _status_code, _headers = users_id_user_accounts_id_account_operationsalert_get_with_http_info(id_user, id_account, opts)
574
574
  data
@@ -580,7 +580,7 @@ module BudgeaClient
580
580
  # @param id_account
581
581
  # @param [Hash] opts the optional parameters
582
582
  # @option opts [String] :expand
583
- # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
583
+ # @return [Array<(InlineResponse20028, Fixnum, Hash)>] InlineResponse20028 data, response status code and response headers
584
584
  def users_id_user_accounts_id_account_operationsalert_get_with_http_info(id_user, id_account, opts = {})
585
585
  if @api_client.config.debugging
586
586
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_accounts_id_account_operationsalert_get ...'
@@ -619,7 +619,7 @@ module BudgeaClient
619
619
  :form_params => form_params,
620
620
  :body => post_body,
621
621
  :auth_names => auth_names,
622
- :return_type => 'InlineResponse20027')
622
+ :return_type => 'InlineResponse20028')
623
623
  if @api_client.config.debugging
624
624
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_accounts_id_account_operationsalert_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
625
625
  end
@@ -1122,7 +1122,7 @@ module BudgeaClient
1122
1122
  # @param id_account
1123
1123
  # @param [Hash] opts the optional parameters
1124
1124
  # @option opts [String] :expand
1125
- # @return [InlineResponse20027]
1125
+ # @return [InlineResponse20028]
1126
1126
  def users_id_user_connections_id_connection_accounts_id_account_operationsalert_get(id_user, id_connection, id_account, opts = {})
1127
1127
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_operationsalert_get_with_http_info(id_user, id_connection, id_account, opts)
1128
1128
  data
@@ -1135,7 +1135,7 @@ module BudgeaClient
1135
1135
  # @param id_account
1136
1136
  # @param [Hash] opts the optional parameters
1137
1137
  # @option opts [String] :expand
1138
- # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
1138
+ # @return [Array<(InlineResponse20028, Fixnum, Hash)>] InlineResponse20028 data, response status code and response headers
1139
1139
  def users_id_user_connections_id_connection_accounts_id_account_operationsalert_get_with_http_info(id_user, id_connection, id_account, opts = {})
1140
1140
  if @api_client.config.debugging
1141
1141
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_connections_id_connection_accounts_id_account_operationsalert_get ...'
@@ -1178,7 +1178,7 @@ module BudgeaClient
1178
1178
  :form_params => form_params,
1179
1179
  :body => post_body,
1180
1180
  :auth_names => auth_names,
1181
- :return_type => 'InlineResponse20027')
1181
+ :return_type => 'InlineResponse20028')
1182
1182
  if @api_client.config.debugging
1183
1183
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_connections_id_connection_accounts_id_account_operationsalert_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1184
1184
  end
@@ -1259,7 +1259,7 @@ module BudgeaClient
1259
1259
  end
1260
1260
  return data, status_code, headers
1261
1261
  end
1262
- # Edit an alert on transactions or investements
1262
+ # Edit an alert on transactions or investments
1263
1263
  #
1264
1264
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1265
1265
  # @param id_connection
@@ -1278,7 +1278,7 @@ module BudgeaClient
1278
1278
  data
1279
1279
  end
1280
1280
 
1281
- # Edit an alert on transactions or investements
1281
+ # Edit an alert on transactions or investments
1282
1282
  #
1283
1283
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1284
1284
  # @param id_connection
@@ -1953,7 +1953,7 @@ module BudgeaClient
1953
1953
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1954
1954
  # @param [Hash] opts the optional parameters
1955
1955
  # @option opts [String] :expand
1956
- # @return [InlineResponse20027]
1956
+ # @return [InlineResponse20028]
1957
1957
  def users_id_user_operationsalert_get(id_user, opts = {})
1958
1958
  data, _status_code, _headers = users_id_user_operationsalert_get_with_http_info(id_user, opts)
1959
1959
  data
@@ -1964,7 +1964,7 @@ module BudgeaClient
1964
1964
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1965
1965
  # @param [Hash] opts the optional parameters
1966
1966
  # @option opts [String] :expand
1967
- # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
1967
+ # @return [Array<(InlineResponse20028, Fixnum, Hash)>] InlineResponse20028 data, response status code and response headers
1968
1968
  def users_id_user_operationsalert_get_with_http_info(id_user, opts = {})
1969
1969
  if @api_client.config.debugging
1970
1970
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_operationsalert_get ...'
@@ -1999,7 +1999,7 @@ module BudgeaClient
1999
1999
  :form_params => form_params,
2000
2000
  :body => post_body,
2001
2001
  :auth_names => auth_names,
2002
- :return_type => 'InlineResponse20027')
2002
+ :return_type => 'InlineResponse20028')
2003
2003
  if @api_client.config.debugging
2004
2004
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_operationsalert_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2005
2005
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -439,11 +439,257 @@ module BudgeaClient
439
439
  end
440
440
  return data, status_code, headers
441
441
  end
442
- # Get list of connectors
442
+ # Get connection sources
443
443
  #
444
+ # @param id_connection
444
445
  # @param [Hash] opts the optional parameters
445
446
  # @option opts [String] :expand
446
447
  # @return [InlineResponse20016]
448
+ def connections_id_connection_sources_get(id_connection, opts = {})
449
+ data, _status_code, _headers = connections_id_connection_sources_get_with_http_info(id_connection, opts)
450
+ data
451
+ end
452
+
453
+ # Get connection sources
454
+ #
455
+ # @param id_connection
456
+ # @param [Hash] opts the optional parameters
457
+ # @option opts [String] :expand
458
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
459
+ def connections_id_connection_sources_get_with_http_info(id_connection, opts = {})
460
+ if @api_client.config.debugging
461
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_get ...'
462
+ end
463
+ # verify the required parameter 'id_connection' is set
464
+ if @api_client.config.client_side_validation && id_connection.nil?
465
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_get"
466
+ end
467
+ # resource path
468
+ local_var_path = '/connections/{id_connection}/sources'.sub('{' + 'id_connection' + '}', id_connection.to_s)
469
+
470
+ # query parameters
471
+ query_params = {}
472
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
473
+
474
+ # header parameters
475
+ header_params = {}
476
+ # HTTP header 'Accept' (if needed)
477
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
478
+ # HTTP header 'Content-Type'
479
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
480
+
481
+ # form parameters
482
+ form_params = {}
483
+
484
+ # http body (model)
485
+ post_body = nil
486
+ auth_names = ['api_key']
487
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
488
+ :header_params => header_params,
489
+ :query_params => query_params,
490
+ :form_params => form_params,
491
+ :body => post_body,
492
+ :auth_names => auth_names,
493
+ :return_type => 'InlineResponse20016')
494
+ if @api_client.config.debugging
495
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
496
+ end
497
+ return data, status_code, headers
498
+ end
499
+ # Disable a connection source
500
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
501
+ # @param id_connection
502
+ # @param id_source
503
+ # @param [Hash] opts the optional parameters
504
+ # @option opts [String] :expand
505
+ # @return [ConnectionSource]
506
+ def connections_id_connection_sources_id_source_delete(id_connection, id_source, opts = {})
507
+ data, _status_code, _headers = connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts)
508
+ data
509
+ end
510
+
511
+ # Disable a connection source
512
+ # This will make it so the specified source will not be synchronized anymore.&lt;br&gt;&lt;br&gt;
513
+ # @param id_connection
514
+ # @param id_source
515
+ # @param [Hash] opts the optional parameters
516
+ # @option opts [String] :expand
517
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
518
+ def connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts = {})
519
+ if @api_client.config.debugging
520
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_id_source_delete ...'
521
+ end
522
+ # verify the required parameter 'id_connection' is set
523
+ if @api_client.config.client_side_validation && id_connection.nil?
524
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_id_source_delete"
525
+ end
526
+ # verify the required parameter 'id_source' is set
527
+ if @api_client.config.client_side_validation && id_source.nil?
528
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.connections_id_connection_sources_id_source_delete"
529
+ end
530
+ # resource path
531
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
532
+
533
+ # query parameters
534
+ query_params = {}
535
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
536
+
537
+ # header parameters
538
+ header_params = {}
539
+ # HTTP header 'Accept' (if needed)
540
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
541
+ # HTTP header 'Content-Type'
542
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
543
+
544
+ # form parameters
545
+ form_params = {}
546
+
547
+ # http body (model)
548
+ post_body = nil
549
+ auth_names = ['api_key']
550
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
551
+ :header_params => header_params,
552
+ :query_params => query_params,
553
+ :form_params => form_params,
554
+ :body => post_body,
555
+ :auth_names => auth_names,
556
+ :return_type => 'ConnectionSource')
557
+ if @api_client.config.debugging
558
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
559
+ end
560
+ return data, status_code, headers
561
+ end
562
+ # Enable connection source
563
+ # This will make it so the specified source will be able to be synchronized.<br><br>
564
+ # @param id_connection
565
+ # @param id_source
566
+ # @param [Hash] opts the optional parameters
567
+ # @option opts [String] :expand
568
+ # @return [ConnectionSource]
569
+ def connections_id_connection_sources_id_source_post(id_connection, id_source, opts = {})
570
+ data, _status_code, _headers = connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts)
571
+ data
572
+ end
573
+
574
+ # Enable connection source
575
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
576
+ # @param id_connection
577
+ # @param id_source
578
+ # @param [Hash] opts the optional parameters
579
+ # @option opts [String] :expand
580
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
581
+ def connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts = {})
582
+ if @api_client.config.debugging
583
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_id_source_post ...'
584
+ end
585
+ # verify the required parameter 'id_connection' is set
586
+ if @api_client.config.client_side_validation && id_connection.nil?
587
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_id_source_post"
588
+ end
589
+ # verify the required parameter 'id_source' is set
590
+ if @api_client.config.client_side_validation && id_source.nil?
591
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.connections_id_connection_sources_id_source_post"
592
+ end
593
+ # resource path
594
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
595
+
596
+ # query parameters
597
+ query_params = {}
598
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
599
+
600
+ # header parameters
601
+ header_params = {}
602
+ # HTTP header 'Accept' (if needed)
603
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
604
+ # HTTP header 'Content-Type'
605
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
606
+
607
+ # form parameters
608
+ form_params = {}
609
+
610
+ # http body (model)
611
+ post_body = nil
612
+ auth_names = ['api_key']
613
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
614
+ :header_params => header_params,
615
+ :query_params => query_params,
616
+ :form_params => form_params,
617
+ :body => post_body,
618
+ :auth_names => auth_names,
619
+ :return_type => 'ConnectionSource')
620
+ if @api_client.config.debugging
621
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
622
+ end
623
+ return data, status_code, headers
624
+ end
625
+ # Enable connection source
626
+ # This will make it so the specified source will be able to be synchronized.<br><br>
627
+ # @param id_connection
628
+ # @param id_source
629
+ # @param [Hash] opts the optional parameters
630
+ # @option opts [String] :expand
631
+ # @return [ConnectionSource]
632
+ def connections_id_connection_sources_id_source_put(id_connection, id_source, opts = {})
633
+ data, _status_code, _headers = connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts)
634
+ data
635
+ end
636
+
637
+ # Enable connection source
638
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
639
+ # @param id_connection
640
+ # @param id_source
641
+ # @param [Hash] opts the optional parameters
642
+ # @option opts [String] :expand
643
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
644
+ def connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts = {})
645
+ if @api_client.config.debugging
646
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_id_source_put ...'
647
+ end
648
+ # verify the required parameter 'id_connection' is set
649
+ if @api_client.config.client_side_validation && id_connection.nil?
650
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_id_source_put"
651
+ end
652
+ # verify the required parameter 'id_source' is set
653
+ if @api_client.config.client_side_validation && id_source.nil?
654
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.connections_id_connection_sources_id_source_put"
655
+ end
656
+ # resource path
657
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
658
+
659
+ # query parameters
660
+ query_params = {}
661
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
662
+
663
+ # header parameters
664
+ header_params = {}
665
+ # HTTP header 'Accept' (if needed)
666
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
667
+ # HTTP header 'Content-Type'
668
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
669
+
670
+ # form parameters
671
+ form_params = {}
672
+
673
+ # http body (model)
674
+ post_body = nil
675
+ auth_names = ['api_key']
676
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
677
+ :header_params => header_params,
678
+ :query_params => query_params,
679
+ :form_params => form_params,
680
+ :body => post_body,
681
+ :auth_names => auth_names,
682
+ :return_type => 'ConnectionSource')
683
+ if @api_client.config.debugging
684
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
685
+ end
686
+ return data, status_code, headers
687
+ end
688
+ # Get list of connectors
689
+ #
690
+ # @param [Hash] opts the optional parameters
691
+ # @option opts [String] :expand
692
+ # @return [InlineResponse20017]
447
693
  def connectors_get(opts = {})
448
694
  data, _status_code, _headers = connectors_get_with_http_info(opts)
449
695
  data
@@ -453,7 +699,7 @@ module BudgeaClient
453
699
  #
454
700
  # @param [Hash] opts the optional parameters
455
701
  # @option opts [String] :expand
456
- # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
702
+ # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
457
703
  def connectors_get_with_http_info(opts = {})
458
704
  if @api_client.config.debugging
459
705
  @api_client.config.logger.debug 'Calling API: ProvidersApi.connectors_get ...'
@@ -484,7 +730,7 @@ module BudgeaClient
484
730
  :form_params => form_params,
485
731
  :body => post_body,
486
732
  :auth_names => auth_names,
487
- :return_type => 'InlineResponse20016')
733
+ :return_type => 'InlineResponse20017')
488
734
  if @api_client.config.debugging
489
735
  @api_client.config.logger.debug "API called: ProvidersApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
490
736
  end
@@ -1118,7 +1364,7 @@ module BudgeaClient
1118
1364
  #
1119
1365
  # @param [Hash] opts the optional parameters
1120
1366
  # @option opts [String] :expand
1121
- # @return [InlineResponse20017]
1367
+ # @return [InlineResponse20018]
1122
1368
  def documenttypes_get(opts = {})
1123
1369
  data, _status_code, _headers = documenttypes_get_with_http_info(opts)
1124
1370
  data
@@ -1128,7 +1374,7 @@ module BudgeaClient
1128
1374
  #
1129
1375
  # @param [Hash] opts the optional parameters
1130
1376
  # @option opts [String] :expand
1131
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
1377
+ # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
1132
1378
  def documenttypes_get_with_http_info(opts = {})
1133
1379
  if @api_client.config.debugging
1134
1380
  @api_client.config.logger.debug 'Calling API: ProvidersApi.documenttypes_get ...'
@@ -1159,7 +1405,7 @@ module BudgeaClient
1159
1405
  :form_params => form_params,
1160
1406
  :body => post_body,
1161
1407
  :auth_names => auth_names,
1162
- :return_type => 'InlineResponse20017')
1408
+ :return_type => 'InlineResponse20018')
1163
1409
  if @api_client.config.debugging
1164
1410
  @api_client.config.logger.debug "API called: ProvidersApi#documenttypes_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1165
1411
  end
@@ -1384,7 +1630,7 @@ module BudgeaClient
1384
1630
  #
1385
1631
  # @param [Hash] opts the optional parameters
1386
1632
  # @option opts [String] :expand
1387
- # @return [InlineResponse20019]
1633
+ # @return [InlineResponse20020]
1388
1634
  def providers_get(opts = {})
1389
1635
  data, _status_code, _headers = providers_get_with_http_info(opts)
1390
1636
  data
@@ -1394,7 +1640,7 @@ module BudgeaClient
1394
1640
  #
1395
1641
  # @param [Hash] opts the optional parameters
1396
1642
  # @option opts [String] :expand
1397
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
1643
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
1398
1644
  def providers_get_with_http_info(opts = {})
1399
1645
  if @api_client.config.debugging
1400
1646
  @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_get ...'
@@ -1425,7 +1671,7 @@ module BudgeaClient
1425
1671
  :form_params => form_params,
1426
1672
  :body => post_body,
1427
1673
  :auth_names => auth_names,
1428
- :return_type => 'InlineResponse20019')
1674
+ :return_type => 'InlineResponse20020')
1429
1675
  if @api_client.config.debugging
1430
1676
  @api_client.config.logger.debug "API called: ProvidersApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1431
1677
  end
@@ -4926,7 +5172,7 @@ module BudgeaClient
4926
5172
  # @param id_connection
4927
5173
  # @param [Hash] opts the optional parameters
4928
5174
  # @option opts [String] :expand
4929
- # @return [InlineResponse20030]
5175
+ # @return [InlineResponse20016]
4930
5176
  def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
4931
5177
  data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
4932
5178
  data
@@ -4938,7 +5184,7 @@ module BudgeaClient
4938
5184
  # @param id_connection
4939
5185
  # @param [Hash] opts the optional parameters
4940
5186
  # @option opts [String] :expand
4941
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
5187
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
4942
5188
  def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
4943
5189
  if @api_client.config.debugging
4944
5190
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_sources_get ...'
@@ -4977,7 +5223,7 @@ module BudgeaClient
4977
5223
  :form_params => form_params,
4978
5224
  :body => post_body,
4979
5225
  :auth_names => auth_names,
4980
- :return_type => 'InlineResponse20030')
5226
+ :return_type => 'InlineResponse20016')
4981
5227
  if @api_client.config.debugging
4982
5228
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4983
5229
  end
@@ -7094,23 +7340,8 @@ module BudgeaClient
7094
7340
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
7095
7341
  # @param [Hash] opts the optional parameters
7096
7342
  # @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
7097
- # @option opts [Integer] :id_connector ID of the connector
7098
- # @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
7099
- # @option opts [String] :birthday bank additional login parameter
7100
- # @option opts [String] :password bank additional login parameter
7101
- # @option opts [String] :oauth_token bank additional login parameter
7102
- # @option opts [String] :oauth_token_secret bank additional login parameter
7103
- # @option opts [String] :auth_type bank additional login parameter
7104
- # @option opts [String] :secret bank additional login parameter
7105
- # @option opts [String] :type bank additional login parameter
7106
- # @option opts [String] :birthdate bank additional login parameter
7107
- # @option opts [String] :nuser bank additional login parameter
7108
- # @option opts [String] :website bank additional login parameter
7109
- # @option opts [String] :openapiwebsite bank additional login parameter
7110
- # @option opts [String] :website2 bank additional login parameter
7111
- # @option opts [String] :login bank additional login parameter
7112
- # @option opts [Integer] :id_provider ID of the provider
7113
7343
  # @option opts [String] :expand
7344
+ # @option opts [Object] :connection
7114
7345
  # @return [Connection]
7115
7346
  def users_id_user_connections_post(id_user, opts = {})
7116
7347
  data, _status_code, _headers = users_id_user_connections_post_with_http_info(id_user, opts)
@@ -7122,23 +7353,8 @@ module BudgeaClient
7122
7353
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
7123
7354
  # @param [Hash] opts the optional parameters
7124
7355
  # @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
7125
- # @option opts [Integer] :id_connector ID of the connector
7126
- # @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
7127
- # @option opts [String] :birthday bank additional login parameter
7128
- # @option opts [String] :password bank additional login parameter
7129
- # @option opts [String] :oauth_token bank additional login parameter
7130
- # @option opts [String] :oauth_token_secret bank additional login parameter
7131
- # @option opts [String] :auth_type bank additional login parameter
7132
- # @option opts [String] :secret bank additional login parameter
7133
- # @option opts [String] :type bank additional login parameter
7134
- # @option opts [String] :birthdate bank additional login parameter
7135
- # @option opts [String] :nuser bank additional login parameter
7136
- # @option opts [String] :website bank additional login parameter
7137
- # @option opts [String] :openapiwebsite bank additional login parameter
7138
- # @option opts [String] :website2 bank additional login parameter
7139
- # @option opts [String] :login bank additional login parameter
7140
- # @option opts [Integer] :id_provider ID of the provider
7141
7356
  # @option opts [String] :expand
7357
+ # @option opts [Object] :connection
7142
7358
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
7143
7359
  def users_id_user_connections_post_with_http_info(id_user, opts = {})
7144
7360
  if @api_client.config.debugging
@@ -7161,29 +7377,13 @@ module BudgeaClient
7161
7377
  # HTTP header 'Accept' (if needed)
7162
7378
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7163
7379
  # HTTP header 'Content-Type'
7164
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
7380
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7165
7381
 
7166
7382
  # form parameters
7167
7383
  form_params = {}
7168
- form_params['id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
7169
- form_params['connector_uuid'] = opts[:'connector_uuid'] if !opts[:'connector_uuid'].nil?
7170
- form_params['birthday'] = opts[:'birthday'] if !opts[:'birthday'].nil?
7171
- form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
7172
- form_params['oauth_token'] = opts[:'oauth_token'] if !opts[:'oauth_token'].nil?
7173
- form_params['oauth_token_secret'] = opts[:'oauth_token_secret'] if !opts[:'oauth_token_secret'].nil?
7174
- form_params['auth_type'] = opts[:'auth_type'] if !opts[:'auth_type'].nil?
7175
- form_params['secret'] = opts[:'secret'] if !opts[:'secret'].nil?
7176
- form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
7177
- form_params['birthdate'] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
7178
- form_params['nuser'] = opts[:'nuser'] if !opts[:'nuser'].nil?
7179
- form_params['website'] = opts[:'website'] if !opts[:'website'].nil?
7180
- form_params['openapiwebsite'] = opts[:'openapiwebsite'] if !opts[:'openapiwebsite'].nil?
7181
- form_params['website'] = opts[:'website2'] if !opts[:'website2'].nil?
7182
- form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
7183
- form_params['id_provider'] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
7184
7384
 
7185
7385
  # http body (model)
7186
- post_body = nil
7386
+ post_body = @api_client.object_to_http_body(opts[:'connection'])
7187
7387
  auth_names = ['api_key']
7188
7388
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
7189
7389
  :header_params => header_params,