budgea_client 5.0.4 → 5.1.1

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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +19 -6
  4. data/budgea_openapi.json +1605 -1319
  5. data/config.json +1 -1
  6. data/docs/Account.md +1 -0
  7. data/docs/AdministrationApi.md +12 -12
  8. data/docs/BanksApi.md +263 -18
  9. data/docs/ConnectionsApi.md +251 -6
  10. data/docs/DocumentsApi.md +2 -2
  11. data/docs/InlineResponse20016.md +1 -1
  12. data/docs/InlineResponse20017.md +1 -1
  13. data/docs/InlineResponse20018.md +1 -1
  14. data/docs/InlineResponse20019.md +1 -1
  15. data/docs/InlineResponse20020.md +1 -1
  16. data/docs/InlineResponse20021.md +1 -1
  17. data/docs/InlineResponse20022.md +1 -1
  18. data/docs/InlineResponse20023.md +1 -1
  19. data/docs/InlineResponse20024.md +1 -1
  20. data/docs/InlineResponse20025.md +1 -1
  21. data/docs/InlineResponse20026.md +1 -1
  22. data/docs/InlineResponse20027.md +1 -1
  23. data/docs/InlineResponse20028.md +1 -1
  24. data/docs/InlineResponse20029.md +1 -1
  25. data/docs/InlineResponse20030.md +1 -1
  26. data/docs/PFMApi.md +9 -9
  27. data/docs/ProvidersApi.md +253 -8
  28. data/docs/TermsApi.md +72 -7
  29. data/docs/TransfersApi.md +24 -24
  30. data/docs/UsersManagementApi.md +2 -2
  31. data/docs/WealthApi.md +53 -37
  32. data/lib/budgea_client/api/administration_api.rb +13 -13
  33. data/lib/budgea_client/api/banks_api.rb +273 -27
  34. data/lib/budgea_client/api/connections_api.rb +255 -9
  35. data/lib/budgea_client/api/documents_api.rb +3 -3
  36. data/lib/budgea_client/api/pfm_api.rb +11 -11
  37. data/lib/budgea_client/api/providers_api.rb +258 -12
  38. data/lib/budgea_client/api/terms_api.rb +75 -9
  39. data/lib/budgea_client/api/transfers_api.rb +36 -36
  40. data/lib/budgea_client/api/users_management_api.rb +3 -3
  41. data/lib/budgea_client/api/wealth_api.rb +77 -53
  42. data/lib/budgea_client/models/account.rb +12 -1
  43. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  44. data/lib/budgea_client/models/inline_response_200_17.rb +18 -18
  45. data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
  46. data/lib/budgea_client/models/inline_response_200_19.rb +18 -18
  47. data/lib/budgea_client/models/inline_response_200_20.rb +18 -18
  48. data/lib/budgea_client/models/inline_response_200_21.rb +18 -18
  49. data/lib/budgea_client/models/inline_response_200_22.rb +11 -11
  50. data/lib/budgea_client/models/inline_response_200_23.rb +11 -11
  51. data/lib/budgea_client/models/inline_response_200_24.rb +18 -18
  52. data/lib/budgea_client/models/inline_response_200_25.rb +18 -18
  53. data/lib/budgea_client/models/inline_response_200_26.rb +11 -11
  54. data/lib/budgea_client/models/inline_response_200_27.rb +11 -11
  55. data/lib/budgea_client/models/inline_response_200_28.rb +11 -11
  56. data/lib/budgea_client/models/inline_response_200_29.rb +18 -18
  57. data/lib/budgea_client/models/inline_response_200_30.rb +11 -11
  58. data/lib/budgea_client/version.rb +1 -1
  59. data/original_budgea_openapi.json +1559 -1474
  60. metadata +2 -9
  61. data/config.yaml +0 -15
  62. data/pkg/budgea_client-2.0.1.gem +0 -0
  63. data/pkg/budgea_client-2.0.2.gem +0 -0
  64. data/pkg/budgea_client-3.0.0.gem +0 -0
  65. data/pkg/budgea_client-4.0.1.gem +0 -0
  66. data/pkg/budgea_client-4.0.2.gem +0 -0
  67. data/pkg/budgea_client-4.0.3.gem +0 -0
@@ -305,7 +305,7 @@ module BudgeaClient
305
305
  # @option opts [BOOLEAN] :generate_keys set a rsa key pair for the client, which make it possible to generate a jwt user token using this client. No effect if the client already has a set of keys(default: False)
306
306
  # @option opts [String] :name name of client
307
307
  # @option opts [BOOLEAN] :secret reset the secret
308
- # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
308
+ # @option opts [String] :redirect_uris list of allowed redirect uris
309
309
  # @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
310
310
  # @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
311
311
  # @option opts [String] :description text to display as a default description
@@ -328,7 +328,7 @@ module BudgeaClient
328
328
  # @option opts [BOOLEAN] :generate_keys set a rsa key pair for the client, which make it possible to generate a jwt user token using this client. No effect if the client already has a set of keys(default: False)
329
329
  # @option opts [String] :name name of client
330
330
  # @option opts [BOOLEAN] :secret reset the secret
331
- # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
331
+ # @option opts [String] :redirect_uris list of allowed redirect uris
332
332
  # @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
333
333
  # @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
334
334
  # @option opts [String] :description text to display as a default description
@@ -366,7 +366,7 @@ module BudgeaClient
366
366
  form_params['generate_keys'] = opts[:'generate_keys'] if !opts[:'generate_keys'].nil?
367
367
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
368
368
  form_params['secret'] = opts[:'secret'] if !opts[:'secret'].nil?
369
- form_params['redirect_uris'] = @api_client.build_collection_param(opts[:'redirect_uris'], :csv) if !opts[:'redirect_uris'].nil?
369
+ form_params['redirect_uris'] = opts[:'redirect_uris'] if !opts[:'redirect_uris'].nil?
370
370
  form_params['primary_color'] = opts[:'primary_color'] if !opts[:'primary_color'].nil?
371
371
  form_params['secondary_color'] = opts[:'secondary_color'] if !opts[:'secondary_color'].nil?
372
372
  form_params['description'] = opts[:'description'] if !opts[:'description'].nil?
@@ -396,7 +396,7 @@ module BudgeaClient
396
396
  # @param [Hash] opts the optional parameters
397
397
  # @option opts [BOOLEAN] :generate_keys if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)
398
398
  # @option opts [String] :name name of client
399
- # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
399
+ # @option opts [String] :redirect_uris list of allowed redirect uris
400
400
  # @option opts [String] :config custom config about the client
401
401
  # @option opts [String] :expand
402
402
  # @return [Client]
@@ -410,7 +410,7 @@ module BudgeaClient
410
410
  # @param [Hash] opts the optional parameters
411
411
  # @option opts [BOOLEAN] :generate_keys if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)
412
412
  # @option opts [String] :name name of client
413
- # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
413
+ # @option opts [String] :redirect_uris list of allowed redirect uris
414
414
  # @option opts [String] :config custom config about the client
415
415
  # @option opts [String] :expand
416
416
  # @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers
@@ -436,7 +436,7 @@ module BudgeaClient
436
436
  form_params = {}
437
437
  form_params['generate_keys'] = opts[:'generate_keys'] if !opts[:'generate_keys'].nil?
438
438
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
439
- form_params['redirect_uris'] = @api_client.build_collection_param(opts[:'redirect_uris'], :csv) if !opts[:'redirect_uris'].nil?
439
+ form_params['redirect_uris'] = opts[:'redirect_uris'] if !opts[:'redirect_uris'].nil?
440
440
  form_params['config'] = opts[:'config'] if !opts[:'config'].nil?
441
441
 
442
442
  # http body (model)
@@ -837,7 +837,7 @@ module BudgeaClient
837
837
  # form parameters
838
838
  form_params = {}
839
839
  form_params['name'] = name
840
- form_params['redirect_uris'] = @api_client.build_collection_param(redirect_uris, :csv)
840
+ form_params['redirect_uris'] = redirect_uris
841
841
  form_params['iban'] = iban
842
842
 
843
843
  # http body (model)
@@ -1973,7 +1973,7 @@ module BudgeaClient
1973
1973
  # @option opts [Integer] :id_user The user ID to associate with the webhook
1974
1974
  # @option opts [Integer] :id_service The service ID to associate with the webhook
1975
1975
  # @option opts [Integer] :id_auth The webhook authentication process to use
1976
- # @option opts [Float] :url The webhook callback url
1976
+ # @option opts [String] :url The webhook callback url
1977
1977
  # @option opts [String] :event The webhook event
1978
1978
  # @option opts [String] :expand
1979
1979
  # @return [Webhook]
@@ -1990,7 +1990,7 @@ module BudgeaClient
1990
1990
  # @option opts [Integer] :id_user The user ID to associate with the webhook
1991
1991
  # @option opts [Integer] :id_service The service ID to associate with the webhook
1992
1992
  # @option opts [Integer] :id_auth The webhook authentication process to use
1993
- # @option opts [Float] :url The webhook callback url
1993
+ # @option opts [String] :url The webhook callback url
1994
1994
  # @option opts [String] :event The webhook event
1995
1995
  # @option opts [String] :expand
1996
1996
  # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
@@ -2048,7 +2048,7 @@ module BudgeaClient
2048
2048
  # @option opts [Integer] :id_user The user ID to associate with the webhook
2049
2049
  # @option opts [Integer] :id_service The service ID to associate with the webhook
2050
2050
  # @option opts [Integer] :id_auth The webhook authentication process to use
2051
- # @option opts [Float] :url The webhook callback url
2051
+ # @option opts [String] :url The webhook callback url
2052
2052
  # @option opts [String] :event The webhook event
2053
2053
  # @option opts [String] :expand
2054
2054
  # @return [Webhook]
@@ -2065,7 +2065,7 @@ module BudgeaClient
2065
2065
  # @option opts [Integer] :id_user The user ID to associate with the webhook
2066
2066
  # @option opts [Integer] :id_service The service ID to associate with the webhook
2067
2067
  # @option opts [Integer] :id_auth The webhook authentication process to use
2068
- # @option opts [Float] :url The webhook callback url
2068
+ # @option opts [String] :url The webhook callback url
2069
2069
  # @option opts [String] :event The webhook event
2070
2070
  # @option opts [String] :expand
2071
2071
  # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
@@ -2121,7 +2121,7 @@ module BudgeaClient
2121
2121
  # @option opts [Integer] :id_user The user ID to associate with the webhook
2122
2122
  # @option opts [Integer] :id_service The service ID to associate with the webhook
2123
2123
  # @option opts [String] :id_auth The webhook authentication process to use (its ID or its name)
2124
- # @option opts [Float] :url The webhook callback url
2124
+ # @option opts [String] :url The webhook callback url
2125
2125
  # @option opts [String] :event The webhook event
2126
2126
  # @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
2127
2127
  # @option opts [String] :expand
@@ -2137,7 +2137,7 @@ module BudgeaClient
2137
2137
  # @option opts [Integer] :id_user The user ID to associate with the webhook
2138
2138
  # @option opts [Integer] :id_service The service ID to associate with the webhook
2139
2139
  # @option opts [String] :id_auth The webhook authentication process to use (its ID or its name)
2140
- # @option opts [Float] :url The webhook callback url
2140
+ # @option opts [String] :url The webhook callback url
2141
2141
  # @option opts [String] :event The webhook event
2142
2142
  # @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
2143
2143
  # @option opts [String] :expand
@@ -1020,11 +1020,257 @@ module BudgeaClient
1020
1020
  end
1021
1021
  return data, status_code, headers
1022
1022
  end
1023
- # Get list of connectors
1023
+ # Get connection sources
1024
1024
  #
1025
+ # @param id_connection
1025
1026
  # @param [Hash] opts the optional parameters
1026
1027
  # @option opts [String] :expand
1027
1028
  # @return [InlineResponse20016]
1029
+ def connections_id_connection_sources_get(id_connection, opts = {})
1030
+ data, _status_code, _headers = connections_id_connection_sources_get_with_http_info(id_connection, opts)
1031
+ data
1032
+ end
1033
+
1034
+ # Get connection sources
1035
+ #
1036
+ # @param id_connection
1037
+ # @param [Hash] opts the optional parameters
1038
+ # @option opts [String] :expand
1039
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
1040
+ def connections_id_connection_sources_get_with_http_info(id_connection, opts = {})
1041
+ if @api_client.config.debugging
1042
+ @api_client.config.logger.debug 'Calling API: BanksApi.connections_id_connection_sources_get ...'
1043
+ end
1044
+ # verify the required parameter 'id_connection' is set
1045
+ if @api_client.config.client_side_validation && id_connection.nil?
1046
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.connections_id_connection_sources_get"
1047
+ end
1048
+ # resource path
1049
+ local_var_path = '/connections/{id_connection}/sources'.sub('{' + 'id_connection' + '}', id_connection.to_s)
1050
+
1051
+ # query parameters
1052
+ query_params = {}
1053
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1054
+
1055
+ # header parameters
1056
+ header_params = {}
1057
+ # HTTP header 'Accept' (if needed)
1058
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1059
+ # HTTP header 'Content-Type'
1060
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1061
+
1062
+ # form parameters
1063
+ form_params = {}
1064
+
1065
+ # http body (model)
1066
+ post_body = nil
1067
+ auth_names = ['api_key']
1068
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1069
+ :header_params => header_params,
1070
+ :query_params => query_params,
1071
+ :form_params => form_params,
1072
+ :body => post_body,
1073
+ :auth_names => auth_names,
1074
+ :return_type => 'InlineResponse20016')
1075
+ if @api_client.config.debugging
1076
+ @api_client.config.logger.debug "API called: BanksApi#connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1077
+ end
1078
+ return data, status_code, headers
1079
+ end
1080
+ # Disable a connection source
1081
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
1082
+ # @param id_connection
1083
+ # @param id_source
1084
+ # @param [Hash] opts the optional parameters
1085
+ # @option opts [String] :expand
1086
+ # @return [ConnectionSource]
1087
+ def connections_id_connection_sources_id_source_delete(id_connection, id_source, opts = {})
1088
+ data, _status_code, _headers = connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts)
1089
+ data
1090
+ end
1091
+
1092
+ # Disable a connection source
1093
+ # This will make it so the specified source will not be synchronized anymore.&lt;br&gt;&lt;br&gt;
1094
+ # @param id_connection
1095
+ # @param id_source
1096
+ # @param [Hash] opts the optional parameters
1097
+ # @option opts [String] :expand
1098
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
1099
+ def connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts = {})
1100
+ if @api_client.config.debugging
1101
+ @api_client.config.logger.debug 'Calling API: BanksApi.connections_id_connection_sources_id_source_delete ...'
1102
+ end
1103
+ # verify the required parameter 'id_connection' is set
1104
+ if @api_client.config.client_side_validation && id_connection.nil?
1105
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.connections_id_connection_sources_id_source_delete"
1106
+ end
1107
+ # verify the required parameter 'id_source' is set
1108
+ if @api_client.config.client_side_validation && id_source.nil?
1109
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling BanksApi.connections_id_connection_sources_id_source_delete"
1110
+ end
1111
+ # resource path
1112
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
1113
+
1114
+ # query parameters
1115
+ query_params = {}
1116
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1117
+
1118
+ # header parameters
1119
+ header_params = {}
1120
+ # HTTP header 'Accept' (if needed)
1121
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1122
+ # HTTP header 'Content-Type'
1123
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1124
+
1125
+ # form parameters
1126
+ form_params = {}
1127
+
1128
+ # http body (model)
1129
+ post_body = nil
1130
+ auth_names = ['api_key']
1131
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1132
+ :header_params => header_params,
1133
+ :query_params => query_params,
1134
+ :form_params => form_params,
1135
+ :body => post_body,
1136
+ :auth_names => auth_names,
1137
+ :return_type => 'ConnectionSource')
1138
+ if @api_client.config.debugging
1139
+ @api_client.config.logger.debug "API called: BanksApi#connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1140
+ end
1141
+ return data, status_code, headers
1142
+ end
1143
+ # Enable connection source
1144
+ # This will make it so the specified source will be able to be synchronized.<br><br>
1145
+ # @param id_connection
1146
+ # @param id_source
1147
+ # @param [Hash] opts the optional parameters
1148
+ # @option opts [String] :expand
1149
+ # @return [ConnectionSource]
1150
+ def connections_id_connection_sources_id_source_post(id_connection, id_source, opts = {})
1151
+ data, _status_code, _headers = connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts)
1152
+ data
1153
+ end
1154
+
1155
+ # Enable connection source
1156
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
1157
+ # @param id_connection
1158
+ # @param id_source
1159
+ # @param [Hash] opts the optional parameters
1160
+ # @option opts [String] :expand
1161
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
1162
+ def connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts = {})
1163
+ if @api_client.config.debugging
1164
+ @api_client.config.logger.debug 'Calling API: BanksApi.connections_id_connection_sources_id_source_post ...'
1165
+ end
1166
+ # verify the required parameter 'id_connection' is set
1167
+ if @api_client.config.client_side_validation && id_connection.nil?
1168
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.connections_id_connection_sources_id_source_post"
1169
+ end
1170
+ # verify the required parameter 'id_source' is set
1171
+ if @api_client.config.client_side_validation && id_source.nil?
1172
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling BanksApi.connections_id_connection_sources_id_source_post"
1173
+ end
1174
+ # resource path
1175
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
1176
+
1177
+ # query parameters
1178
+ query_params = {}
1179
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1180
+
1181
+ # header parameters
1182
+ header_params = {}
1183
+ # HTTP header 'Accept' (if needed)
1184
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1185
+ # HTTP header 'Content-Type'
1186
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1187
+
1188
+ # form parameters
1189
+ form_params = {}
1190
+
1191
+ # http body (model)
1192
+ post_body = nil
1193
+ auth_names = ['api_key']
1194
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1195
+ :header_params => header_params,
1196
+ :query_params => query_params,
1197
+ :form_params => form_params,
1198
+ :body => post_body,
1199
+ :auth_names => auth_names,
1200
+ :return_type => 'ConnectionSource')
1201
+ if @api_client.config.debugging
1202
+ @api_client.config.logger.debug "API called: BanksApi#connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1203
+ end
1204
+ return data, status_code, headers
1205
+ end
1206
+ # Enable connection source
1207
+ # This will make it so the specified source will be able to be synchronized.<br><br>
1208
+ # @param id_connection
1209
+ # @param id_source
1210
+ # @param [Hash] opts the optional parameters
1211
+ # @option opts [String] :expand
1212
+ # @return [ConnectionSource]
1213
+ def connections_id_connection_sources_id_source_put(id_connection, id_source, opts = {})
1214
+ data, _status_code, _headers = connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts)
1215
+ data
1216
+ end
1217
+
1218
+ # Enable connection source
1219
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
1220
+ # @param id_connection
1221
+ # @param id_source
1222
+ # @param [Hash] opts the optional parameters
1223
+ # @option opts [String] :expand
1224
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
1225
+ def connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts = {})
1226
+ if @api_client.config.debugging
1227
+ @api_client.config.logger.debug 'Calling API: BanksApi.connections_id_connection_sources_id_source_put ...'
1228
+ end
1229
+ # verify the required parameter 'id_connection' is set
1230
+ if @api_client.config.client_side_validation && id_connection.nil?
1231
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.connections_id_connection_sources_id_source_put"
1232
+ end
1233
+ # verify the required parameter 'id_source' is set
1234
+ if @api_client.config.client_side_validation && id_source.nil?
1235
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling BanksApi.connections_id_connection_sources_id_source_put"
1236
+ end
1237
+ # resource path
1238
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
1239
+
1240
+ # query parameters
1241
+ query_params = {}
1242
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1243
+
1244
+ # header parameters
1245
+ header_params = {}
1246
+ # HTTP header 'Accept' (if needed)
1247
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1248
+ # HTTP header 'Content-Type'
1249
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1250
+
1251
+ # form parameters
1252
+ form_params = {}
1253
+
1254
+ # http body (model)
1255
+ post_body = nil
1256
+ auth_names = ['api_key']
1257
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1258
+ :header_params => header_params,
1259
+ :query_params => query_params,
1260
+ :form_params => form_params,
1261
+ :body => post_body,
1262
+ :auth_names => auth_names,
1263
+ :return_type => 'ConnectionSource')
1264
+ if @api_client.config.debugging
1265
+ @api_client.config.logger.debug "API called: BanksApi#connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1266
+ end
1267
+ return data, status_code, headers
1268
+ end
1269
+ # Get list of connectors
1270
+ #
1271
+ # @param [Hash] opts the optional parameters
1272
+ # @option opts [String] :expand
1273
+ # @return [InlineResponse20017]
1028
1274
  def connectors_get(opts = {})
1029
1275
  data, _status_code, _headers = connectors_get_with_http_info(opts)
1030
1276
  data
@@ -1034,7 +1280,7 @@ module BudgeaClient
1034
1280
  #
1035
1281
  # @param [Hash] opts the optional parameters
1036
1282
  # @option opts [String] :expand
1037
- # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
1283
+ # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
1038
1284
  def connectors_get_with_http_info(opts = {})
1039
1285
  if @api_client.config.debugging
1040
1286
  @api_client.config.logger.debug 'Calling API: BanksApi.connectors_get ...'
@@ -1065,7 +1311,7 @@ module BudgeaClient
1065
1311
  :form_params => form_params,
1066
1312
  :body => post_body,
1067
1313
  :auth_names => auth_names,
1068
- :return_type => 'InlineResponse20016')
1314
+ :return_type => 'InlineResponse20017')
1069
1315
  if @api_client.config.debugging
1070
1316
  @api_client.config.logger.debug "API called: BanksApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1071
1317
  end
@@ -1989,7 +2235,7 @@ module BudgeaClient
1989
2235
  #
1990
2236
  # @param [Hash] opts the optional parameters
1991
2237
  # @option opts [String] :expand
1992
- # @return [InlineResponse20019]
2238
+ # @return [InlineResponse20020]
1993
2239
  def providers_get(opts = {})
1994
2240
  data, _status_code, _headers = providers_get_with_http_info(opts)
1995
2241
  data
@@ -1999,7 +2245,7 @@ module BudgeaClient
1999
2245
  #
2000
2246
  # @param [Hash] opts the optional parameters
2001
2247
  # @option opts [String] :expand
2002
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
2248
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
2003
2249
  def providers_get_with_http_info(opts = {})
2004
2250
  if @api_client.config.debugging
2005
2251
  @api_client.config.logger.debug 'Calling API: BanksApi.providers_get ...'
@@ -2030,7 +2276,7 @@ module BudgeaClient
2030
2276
  :form_params => form_params,
2031
2277
  :body => post_body,
2032
2278
  :auth_names => auth_names,
2033
- :return_type => 'InlineResponse20019')
2279
+ :return_type => 'InlineResponse20020')
2034
2280
  if @api_client.config.debugging
2035
2281
  @api_client.config.logger.debug "API called: BanksApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2036
2282
  end
@@ -2506,7 +2752,7 @@ module BudgeaClient
2506
2752
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2507
2753
  # @param [Hash] opts the optional parameters
2508
2754
  # @option opts [String] :expand
2509
- # @return [InlineResponse20022]
2755
+ # @return [InlineResponse20023]
2510
2756
  def users_id_user_accounts_get(id_user, opts = {})
2511
2757
  data, _status_code, _headers = users_id_user_accounts_get_with_http_info(id_user, opts)
2512
2758
  data
@@ -2517,7 +2763,7 @@ module BudgeaClient
2517
2763
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
2518
2764
  # @param [Hash] opts the optional parameters
2519
2765
  # @option opts [String] :expand
2520
- # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
2766
+ # @return [Array<(InlineResponse20023, Fixnum, Hash)>] InlineResponse20023 data, response status code and response headers
2521
2767
  def users_id_user_accounts_get_with_http_info(id_user, opts = {})
2522
2768
  if @api_client.config.debugging
2523
2769
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_get ...'
@@ -2552,7 +2798,7 @@ module BudgeaClient
2552
2798
  :form_params => form_params,
2553
2799
  :body => post_body,
2554
2800
  :auth_names => auth_names,
2555
- :return_type => 'InlineResponse20022')
2801
+ :return_type => 'InlineResponse20023')
2556
2802
  if @api_client.config.debugging
2557
2803
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_accounts_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2558
2804
  end
@@ -2758,7 +3004,7 @@ module BudgeaClient
2758
3004
  # @option opts [Date] :min_date minimal (inclusive) date
2759
3005
  # @option opts [Date] :max_date maximum (inclusive) date
2760
3006
  # @option opts [String] :expand
2761
- # @return [InlineResponse20026]
3007
+ # @return [InlineResponse20027]
2762
3008
  def users_id_user_accounts_id_account_logs_get(id_user, id_account, opts = {})
2763
3009
  data, _status_code, _headers = users_id_user_accounts_id_account_logs_get_with_http_info(id_user, id_account, opts)
2764
3010
  data
@@ -2774,7 +3020,7 @@ module BudgeaClient
2774
3020
  # @option opts [Date] :min_date minimal (inclusive) date
2775
3021
  # @option opts [Date] :max_date maximum (inclusive) date
2776
3022
  # @option opts [String] :expand
2777
- # @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
3023
+ # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
2778
3024
  def users_id_user_accounts_id_account_logs_get_with_http_info(id_user, id_account, opts = {})
2779
3025
  if @api_client.config.debugging
2780
3026
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_id_account_logs_get ...'
@@ -2817,7 +3063,7 @@ module BudgeaClient
2817
3063
  :form_params => form_params,
2818
3064
  :body => post_body,
2819
3065
  :auth_names => auth_names,
2820
- :return_type => 'InlineResponse20026')
3066
+ :return_type => 'InlineResponse20027')
2821
3067
  if @api_client.config.debugging
2822
3068
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_accounts_id_account_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2823
3069
  end
@@ -2913,7 +3159,7 @@ module BudgeaClient
2913
3159
  # @param id_account
2914
3160
  # @param [Hash] opts the optional parameters
2915
3161
  # @option opts [String] :expand
2916
- # @return [InlineResponse20030]
3162
+ # @return [InlineResponse20016]
2917
3163
  def users_id_user_accounts_id_account_sources_get(id_user, id_account, opts = {})
2918
3164
  data, _status_code, _headers = users_id_user_accounts_id_account_sources_get_with_http_info(id_user, id_account, opts)
2919
3165
  data
@@ -2925,7 +3171,7 @@ module BudgeaClient
2925
3171
  # @param id_account
2926
3172
  # @param [Hash] opts the optional parameters
2927
3173
  # @option opts [String] :expand
2928
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
3174
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
2929
3175
  def users_id_user_accounts_id_account_sources_get_with_http_info(id_user, id_account, opts = {})
2930
3176
  if @api_client.config.debugging
2931
3177
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_accounts_id_account_sources_get ...'
@@ -2964,7 +3210,7 @@ module BudgeaClient
2964
3210
  :form_params => form_params,
2965
3211
  :body => post_body,
2966
3212
  :auth_names => auth_names,
2967
- :return_type => 'InlineResponse20030')
3213
+ :return_type => 'InlineResponse20016')
2968
3214
  if @api_client.config.debugging
2969
3215
  @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
3216
  end
@@ -4641,7 +4887,7 @@ module BudgeaClient
4641
4887
  # @param id_connection
4642
4888
  # @param [Hash] opts the optional parameters
4643
4889
  # @option opts [String] :expand
4644
- # @return [InlineResponse20022]
4890
+ # @return [InlineResponse20023]
4645
4891
  def users_id_user_connections_id_connection_accounts_get(id_user, id_connection, opts = {})
4646
4892
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_get_with_http_info(id_user, id_connection, opts)
4647
4893
  data
@@ -4653,7 +4899,7 @@ module BudgeaClient
4653
4899
  # @param id_connection
4654
4900
  # @param [Hash] opts the optional parameters
4655
4901
  # @option opts [String] :expand
4656
- # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
4902
+ # @return [Array<(InlineResponse20023, Fixnum, Hash)>] InlineResponse20023 data, response status code and response headers
4657
4903
  def users_id_user_connections_id_connection_accounts_get_with_http_info(id_user, id_connection, opts = {})
4658
4904
  if @api_client.config.debugging
4659
4905
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_get ...'
@@ -4692,7 +4938,7 @@ module BudgeaClient
4692
4938
  :form_params => form_params,
4693
4939
  :body => post_body,
4694
4940
  :auth_names => auth_names,
4695
- :return_type => 'InlineResponse20022')
4941
+ :return_type => 'InlineResponse20023')
4696
4942
  if @api_client.config.debugging
4697
4943
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_accounts_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4698
4944
  end
@@ -4917,7 +5163,7 @@ module BudgeaClient
4917
5163
  # @option opts [Date] :min_date minimal (inclusive) date
4918
5164
  # @option opts [Date] :max_date maximum (inclusive) date
4919
5165
  # @option opts [String] :expand
4920
- # @return [InlineResponse20026]
5166
+ # @return [InlineResponse20027]
4921
5167
  def users_id_user_connections_id_connection_accounts_id_account_logs_get(id_user, id_connection, id_account, opts = {})
4922
5168
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_logs_get_with_http_info(id_user, id_connection, id_account, opts)
4923
5169
  data
@@ -4934,7 +5180,7 @@ module BudgeaClient
4934
5180
  # @option opts [Date] :min_date minimal (inclusive) date
4935
5181
  # @option opts [Date] :max_date maximum (inclusive) date
4936
5182
  # @option opts [String] :expand
4937
- # @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
5183
+ # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
4938
5184
  def users_id_user_connections_id_connection_accounts_id_account_logs_get_with_http_info(id_user, id_connection, id_account, opts = {})
4939
5185
  if @api_client.config.debugging
4940
5186
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_id_account_logs_get ...'
@@ -4981,7 +5227,7 @@ module BudgeaClient
4981
5227
  :form_params => form_params,
4982
5228
  :body => post_body,
4983
5229
  :auth_names => auth_names,
4984
- :return_type => 'InlineResponse20026')
5230
+ :return_type => 'InlineResponse20027')
4985
5231
  if @api_client.config.debugging
4986
5232
  @api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_accounts_id_account_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4987
5233
  end
@@ -5084,7 +5330,7 @@ module BudgeaClient
5084
5330
  # @param id_account
5085
5331
  # @param [Hash] opts the optional parameters
5086
5332
  # @option opts [String] :expand
5087
- # @return [InlineResponse20030]
5333
+ # @return [InlineResponse20016]
5088
5334
  def users_id_user_connections_id_connection_accounts_id_account_sources_get(id_user, id_connection, id_account, opts = {})
5089
5335
  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
5336
  data
@@ -5097,7 +5343,7 @@ module BudgeaClient
5097
5343
  # @param id_account
5098
5344
  # @param [Hash] opts the optional parameters
5099
5345
  # @option opts [String] :expand
5100
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
5346
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
5101
5347
  def users_id_user_connections_id_connection_accounts_id_account_sources_get_with_http_info(id_user, id_connection, id_account, opts = {})
5102
5348
  if @api_client.config.debugging
5103
5349
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_accounts_id_account_sources_get ...'
@@ -5140,7 +5386,7 @@ module BudgeaClient
5140
5386
  :form_params => form_params,
5141
5387
  :body => post_body,
5142
5388
  :auth_names => auth_names,
5143
- :return_type => 'InlineResponse20030')
5389
+ :return_type => 'InlineResponse20016')
5144
5390
  if @api_client.config.debugging
5145
5391
  @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
5392
  end
@@ -6779,7 +7025,7 @@ module BudgeaClient
6779
7025
  # @param id_connection
6780
7026
  # @param [Hash] opts the optional parameters
6781
7027
  # @option opts [String] :expand
6782
- # @return [InlineResponse20030]
7028
+ # @return [InlineResponse20016]
6783
7029
  def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
6784
7030
  data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
6785
7031
  data
@@ -6791,7 +7037,7 @@ module BudgeaClient
6791
7037
  # @param id_connection
6792
7038
  # @param [Hash] opts the optional parameters
6793
7039
  # @option opts [String] :expand
6794
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
7040
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
6795
7041
  def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
6796
7042
  if @api_client.config.debugging
6797
7043
  @api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_sources_get ...'
@@ -6830,7 +7076,7 @@ module BudgeaClient
6830
7076
  :form_params => form_params,
6831
7077
  :body => post_body,
6832
7078
  :auth_names => auth_names,
6833
- :return_type => 'InlineResponse20030')
7079
+ :return_type => 'InlineResponse20016')
6834
7080
  if @api_client.config.debugging
6835
7081
  @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
7082
  end