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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +50 -5
- data/budgea_openapi.json +1888 -383
- data/docs/Account.md +2 -0
- data/docs/AccountLog.md +1 -0
- data/docs/AdministrationApi.md +366 -55
- data/docs/AuthenticationApi.md +15 -13
- data/docs/BanksApi.md +988 -194
- data/docs/Client.md +1 -1
- data/docs/Connection.md +2 -0
- data/docs/ConnectionLog.md +1 -0
- data/docs/ConnectionSource.md +18 -0
- data/docs/ConnectionsApi.md +618 -25
- data/docs/Connector.md +1 -1
- data/docs/ConnectorSource.md +15 -0
- data/docs/DocumentsApi.md +72 -72
- data/docs/Field.md +1 -0
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +1 -1
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20017.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +2 -1
- data/docs/InlineResponse20030.md +1 -1
- data/docs/InlineResponse20031.md +1 -1
- data/docs/InlineResponse20032.md +1 -1
- data/docs/InlineResponse20033.md +1 -1
- data/docs/InlineResponse20034.md +1 -1
- data/docs/InlineResponse20035.md +1 -1
- data/docs/InlineResponse20036.md +1 -1
- data/docs/InlineResponse20037.md +1 -1
- data/docs/InlineResponse20038.md +1 -1
- data/docs/InlineResponse20039.md +1 -1
- data/docs/InlineResponse20040.md +1 -1
- data/docs/InlineResponse20041.md +9 -0
- data/docs/InlineResponse20042.md +9 -0
- data/docs/OIDCApi.md +3 -3
- data/docs/Order.md +14 -0
- data/docs/PFMApi.md +87 -39
- data/docs/ProvidersApi.md +979 -122
- data/docs/RecipientsApi.md +4 -4
- data/docs/Subscription.md +1 -0
- data/docs/SubscriptionLog.md +15 -0
- data/docs/TermsApi.md +3 -3
- data/docs/Transaction.md +1 -0
- data/docs/Transfer.md +5 -1
- data/docs/TransferApi.md +77 -0
- data/docs/TransfersApi.md +39 -39
- data/docs/UsersManagementApi.md +13 -13
- data/docs/WealthApi.md +24 -24
- data/lib/budgea_client.rb +7 -2
- data/lib/budgea_client/api/administration_api.rb +381 -71
- data/lib/budgea_client/api/authentication_api.rb +16 -13
- data/lib/budgea_client/api/banks_api.rb +1034 -211
- data/lib/budgea_client/api/connections_api.rb +648 -30
- data/lib/budgea_client/api/documents_api.rb +85 -85
- data/lib/budgea_client/api/oidc_api.rb +3 -3
- data/lib/budgea_client/api/pfm_api.rb +87 -40
- data/lib/budgea_client/api/providers_api.rb +1045 -151
- data/lib/budgea_client/api/recipients_api.rb +4 -4
- data/lib/budgea_client/api/terms_api.rb +3 -3
- data/lib/budgea_client/api/transfer_api.rb +94 -0
- data/lib/budgea_client/api/transfers_api.rb +39 -39
- data/lib/budgea_client/api/users_management_api.rb +14 -14
- data/lib/budgea_client/api/wealth_api.rb +25 -25
- data/lib/budgea_client/models/account.rb +24 -4
- data/lib/budgea_client/models/account_log.rb +16 -1
- data/lib/budgea_client/models/client.rb +11 -11
- data/lib/budgea_client/models/connection.rb +23 -4
- data/lib/budgea_client/models/connection_log.rb +11 -1
- data/lib/budgea_client/models/connection_source.rb +309 -0
- data/lib/budgea_client/models/connector.rb +18 -15
- data/lib/budgea_client/models/connector_source.rb +273 -0
- data/lib/budgea_client/models/field.rb +14 -4
- data/lib/budgea_client/models/inline_response_200_11.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_12.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_14.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_19.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_30.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_32.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_33.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_35.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_36.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_37.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_38.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_39.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_40.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_41.rb +200 -0
- data/lib/budgea_client/models/inline_response_200_42.rb +200 -0
- data/lib/budgea_client/models/order.rb +259 -0
- data/lib/budgea_client/models/subscription.rb +11 -1
- data/lib/budgea_client/models/subscription_log.rb +269 -0
- data/lib/budgea_client/models/transaction.rb +11 -1
- data/lib/budgea_client/models/transfer.rb +49 -2
- data/lib/budgea_client/models/user.rb +2 -2
- data/lib/budgea_client/version.rb +1 -1
- data/original_budgea_openapi.json +1980 -351
- data/pkg/budgea_client-2.0.0.gem +0 -0
- data/pkg/budgea_client-3.0.1.gem +0 -0
- data/pkg/budgea_client-4.0.0.gem +0 -0
- data/spec/api/transfer_api_spec.rb +54 -0
- data/spec/models/connection_source_spec.rb +101 -0
- data/spec/models/connector_source_spec.rb +83 -0
- data/spec/models/inline_response_200_41_spec.rb +47 -0
- data/spec/models/inline_response_200_42_spec.rb +47 -0
- data/spec/models/order_spec.rb +77 -0
- data/spec/models/subscription_log_spec.rb +83 -0
- metadata +34 -9
- data/config.yaml +0 -15
- data/pkg/budgea_client-2.0.1.gem +0 -0
- data/pkg/budgea_client-2.0.2.gem +0 -0
- data/pkg/budgea_client-3.0.0.gem +0 -0
- data/pkg/budgea_client-4.0.1.gem +0 -0
- data/pkg/budgea_client-4.0.2.gem +0 -0
|
@@ -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/
|
|
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 = {}
|
|
@@ -116,7 +116,7 @@ module BudgeaClient
|
|
|
116
116
|
# HTTP header 'Accept' (if needed)
|
|
117
117
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
118
118
|
# HTTP header 'Content-Type'
|
|
119
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
119
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
120
120
|
|
|
121
121
|
# form parameters
|
|
122
122
|
form_params = {}
|
|
@@ -136,6 +136,63 @@ module BudgeaClient
|
|
|
136
136
|
end
|
|
137
137
|
return data, status_code, headers
|
|
138
138
|
end
|
|
139
|
+
# Get list of connector sources
|
|
140
|
+
#
|
|
141
|
+
# @param id_connector
|
|
142
|
+
# @param [Hash] opts the optional parameters
|
|
143
|
+
# @option opts [String] :expand
|
|
144
|
+
# @return [InlineResponse20011]
|
|
145
|
+
def banks_id_connector_sources_get(id_connector, opts = {})
|
|
146
|
+
data, _status_code, _headers = banks_id_connector_sources_get_with_http_info(id_connector, opts)
|
|
147
|
+
data
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Get list of connector sources
|
|
151
|
+
#
|
|
152
|
+
# @param id_connector
|
|
153
|
+
# @param [Hash] opts the optional parameters
|
|
154
|
+
# @option opts [String] :expand
|
|
155
|
+
# @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
|
|
156
|
+
def banks_id_connector_sources_get_with_http_info(id_connector, opts = {})
|
|
157
|
+
if @api_client.config.debugging
|
|
158
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.banks_id_connector_sources_get ...'
|
|
159
|
+
end
|
|
160
|
+
# verify the required parameter 'id_connector' is set
|
|
161
|
+
if @api_client.config.client_side_validation && id_connector.nil?
|
|
162
|
+
fail ArgumentError, "Missing the required parameter 'id_connector' when calling ConnectionsApi.banks_id_connector_sources_get"
|
|
163
|
+
end
|
|
164
|
+
# resource path
|
|
165
|
+
local_var_path = '/banks/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
|
|
166
|
+
|
|
167
|
+
# query parameters
|
|
168
|
+
query_params = {}
|
|
169
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
170
|
+
|
|
171
|
+
# header parameters
|
|
172
|
+
header_params = {}
|
|
173
|
+
# HTTP header 'Accept' (if needed)
|
|
174
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
175
|
+
# HTTP header 'Content-Type'
|
|
176
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
177
|
+
|
|
178
|
+
# form parameters
|
|
179
|
+
form_params = {}
|
|
180
|
+
|
|
181
|
+
# http body (model)
|
|
182
|
+
post_body = nil
|
|
183
|
+
auth_names = ['api_key']
|
|
184
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
185
|
+
:header_params => header_params,
|
|
186
|
+
:query_params => query_params,
|
|
187
|
+
:form_params => form_params,
|
|
188
|
+
:body => post_body,
|
|
189
|
+
:auth_names => auth_names,
|
|
190
|
+
:return_type => 'InlineResponse20011')
|
|
191
|
+
if @api_client.config.debugging
|
|
192
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#banks_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
193
|
+
end
|
|
194
|
+
return data, status_code, headers
|
|
195
|
+
end
|
|
139
196
|
# Get connections without a user
|
|
140
197
|
#
|
|
141
198
|
# @param [Hash] opts the optional parameters
|
|
@@ -167,7 +224,7 @@ module BudgeaClient
|
|
|
167
224
|
# HTTP header 'Accept' (if needed)
|
|
168
225
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
169
226
|
# HTTP header 'Content-Type'
|
|
170
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
227
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
171
228
|
|
|
172
229
|
# form parameters
|
|
173
230
|
form_params = {}
|
|
@@ -187,11 +244,101 @@ module BudgeaClient
|
|
|
187
244
|
end
|
|
188
245
|
return data, status_code, headers
|
|
189
246
|
end
|
|
247
|
+
# Get connection logs
|
|
248
|
+
# Get logs about connections.<br><br>
|
|
249
|
+
# @param id_connection
|
|
250
|
+
# @param [Hash] opts the optional parameters
|
|
251
|
+
# @option opts [Integer] :limit limit number of results
|
|
252
|
+
# @option opts [Integer] :offset offset of first result
|
|
253
|
+
# @option opts [Date] :min_date minimal date
|
|
254
|
+
# @option opts [Date] :max_date maximum date
|
|
255
|
+
# @option opts [Integer] :state state of user
|
|
256
|
+
# @option opts [String] :period period to group logs
|
|
257
|
+
# @option opts [Integer] :id_user ID of a user
|
|
258
|
+
# @option opts [Integer] :id_connection2 ID of a connection
|
|
259
|
+
# @option opts [Integer] :id_connector ID of a connector
|
|
260
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
261
|
+
# @option opts [Integer] :id_source ID of a source
|
|
262
|
+
# @option opts [String] :expand
|
|
263
|
+
# @return [InlineResponse20015]
|
|
264
|
+
def connections_id_connection_logs_get(id_connection, opts = {})
|
|
265
|
+
data, _status_code, _headers = connections_id_connection_logs_get_with_http_info(id_connection, opts)
|
|
266
|
+
data
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# Get connection logs
|
|
270
|
+
# Get logs about connections.<br><br>
|
|
271
|
+
# @param id_connection
|
|
272
|
+
# @param [Hash] opts the optional parameters
|
|
273
|
+
# @option opts [Integer] :limit limit number of results
|
|
274
|
+
# @option opts [Integer] :offset offset of first result
|
|
275
|
+
# @option opts [Date] :min_date minimal date
|
|
276
|
+
# @option opts [Date] :max_date maximum date
|
|
277
|
+
# @option opts [Integer] :state state of user
|
|
278
|
+
# @option opts [String] :period period to group logs
|
|
279
|
+
# @option opts [Integer] :id_user ID of a user
|
|
280
|
+
# @option opts [Integer] :id_connection2 ID of a connection
|
|
281
|
+
# @option opts [Integer] :id_connector ID of a connector
|
|
282
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
283
|
+
# @option opts [Integer] :id_source ID of a source
|
|
284
|
+
# @option opts [String] :expand
|
|
285
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
|
286
|
+
def connections_id_connection_logs_get_with_http_info(id_connection, opts = {})
|
|
287
|
+
if @api_client.config.debugging
|
|
288
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_logs_get ...'
|
|
289
|
+
end
|
|
290
|
+
# verify the required parameter 'id_connection' is set
|
|
291
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
292
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_logs_get"
|
|
293
|
+
end
|
|
294
|
+
# resource path
|
|
295
|
+
local_var_path = '/connections/{id_connection}/logs'.sub('{' + 'id_connection' + '}', id_connection.to_s)
|
|
296
|
+
|
|
297
|
+
# query parameters
|
|
298
|
+
query_params = {}
|
|
299
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
300
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
301
|
+
query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
|
|
302
|
+
query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
|
|
303
|
+
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
|
304
|
+
query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
|
|
305
|
+
query_params[:'id_user'] = opts[:'id_user'] if !opts[:'id_user'].nil?
|
|
306
|
+
query_params[:'id_connection'] = opts[:'id_connection2'] if !opts[:'id_connection2'].nil?
|
|
307
|
+
query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
|
|
308
|
+
query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
|
|
309
|
+
query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
|
|
310
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
311
|
+
|
|
312
|
+
# header parameters
|
|
313
|
+
header_params = {}
|
|
314
|
+
# HTTP header 'Accept' (if needed)
|
|
315
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
316
|
+
# HTTP header 'Content-Type'
|
|
317
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
318
|
+
|
|
319
|
+
# form parameters
|
|
320
|
+
form_params = {}
|
|
321
|
+
|
|
322
|
+
# http body (model)
|
|
323
|
+
post_body = nil
|
|
324
|
+
auth_names = ['api_key']
|
|
325
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
326
|
+
:header_params => header_params,
|
|
327
|
+
:query_params => query_params,
|
|
328
|
+
:form_params => form_params,
|
|
329
|
+
:body => post_body,
|
|
330
|
+
:auth_names => auth_names,
|
|
331
|
+
:return_type => 'InlineResponse20015')
|
|
332
|
+
if @api_client.config.debugging
|
|
333
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
334
|
+
end
|
|
335
|
+
return data, status_code, headers
|
|
336
|
+
end
|
|
190
337
|
# Get list of connectors
|
|
191
338
|
#
|
|
192
339
|
# @param [Hash] opts the optional parameters
|
|
193
340
|
# @option opts [String] :expand
|
|
194
|
-
# @return [
|
|
341
|
+
# @return [InlineResponse20016]
|
|
195
342
|
def connectors_get(opts = {})
|
|
196
343
|
data, _status_code, _headers = connectors_get_with_http_info(opts)
|
|
197
344
|
data
|
|
@@ -201,7 +348,7 @@ module BudgeaClient
|
|
|
201
348
|
#
|
|
202
349
|
# @param [Hash] opts the optional parameters
|
|
203
350
|
# @option opts [String] :expand
|
|
204
|
-
# @return [Array<(
|
|
351
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
|
205
352
|
def connectors_get_with_http_info(opts = {})
|
|
206
353
|
if @api_client.config.debugging
|
|
207
354
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connectors_get ...'
|
|
@@ -218,7 +365,7 @@ module BudgeaClient
|
|
|
218
365
|
# HTTP header 'Accept' (if needed)
|
|
219
366
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
220
367
|
# HTTP header 'Content-Type'
|
|
221
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
368
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
222
369
|
|
|
223
370
|
# form parameters
|
|
224
371
|
form_params = {}
|
|
@@ -232,12 +379,138 @@ module BudgeaClient
|
|
|
232
379
|
:form_params => form_params,
|
|
233
380
|
:body => post_body,
|
|
234
381
|
:auth_names => auth_names,
|
|
235
|
-
:return_type => '
|
|
382
|
+
:return_type => 'InlineResponse20016')
|
|
236
383
|
if @api_client.config.debugging
|
|
237
384
|
@api_client.config.logger.debug "API called: ConnectionsApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
238
385
|
end
|
|
239
386
|
return data, status_code, headers
|
|
240
387
|
end
|
|
388
|
+
# Get list of connector sources
|
|
389
|
+
#
|
|
390
|
+
# @param id_connector
|
|
391
|
+
# @param [Hash] opts the optional parameters
|
|
392
|
+
# @option opts [String] :expand
|
|
393
|
+
# @return [InlineResponse20011]
|
|
394
|
+
def connectors_id_connector_sources_get(id_connector, opts = {})
|
|
395
|
+
data, _status_code, _headers = connectors_id_connector_sources_get_with_http_info(id_connector, opts)
|
|
396
|
+
data
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
# Get list of connector sources
|
|
400
|
+
#
|
|
401
|
+
# @param id_connector
|
|
402
|
+
# @param [Hash] opts the optional parameters
|
|
403
|
+
# @option opts [String] :expand
|
|
404
|
+
# @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
|
|
405
|
+
def connectors_id_connector_sources_get_with_http_info(id_connector, opts = {})
|
|
406
|
+
if @api_client.config.debugging
|
|
407
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connectors_id_connector_sources_get ...'
|
|
408
|
+
end
|
|
409
|
+
# verify the required parameter 'id_connector' is set
|
|
410
|
+
if @api_client.config.client_side_validation && id_connector.nil?
|
|
411
|
+
fail ArgumentError, "Missing the required parameter 'id_connector' when calling ConnectionsApi.connectors_id_connector_sources_get"
|
|
412
|
+
end
|
|
413
|
+
# resource path
|
|
414
|
+
local_var_path = '/connectors/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
|
|
415
|
+
|
|
416
|
+
# query parameters
|
|
417
|
+
query_params = {}
|
|
418
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
419
|
+
|
|
420
|
+
# header parameters
|
|
421
|
+
header_params = {}
|
|
422
|
+
# HTTP header 'Accept' (if needed)
|
|
423
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
424
|
+
# HTTP header 'Content-Type'
|
|
425
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
426
|
+
|
|
427
|
+
# form parameters
|
|
428
|
+
form_params = {}
|
|
429
|
+
|
|
430
|
+
# http body (model)
|
|
431
|
+
post_body = nil
|
|
432
|
+
auth_names = ['api_key']
|
|
433
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
434
|
+
:header_params => header_params,
|
|
435
|
+
:query_params => query_params,
|
|
436
|
+
:form_params => form_params,
|
|
437
|
+
:body => post_body,
|
|
438
|
+
:auth_names => auth_names,
|
|
439
|
+
:return_type => 'InlineResponse20011')
|
|
440
|
+
if @api_client.config.debugging
|
|
441
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#connectors_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
442
|
+
end
|
|
443
|
+
return data, status_code, headers
|
|
444
|
+
end
|
|
445
|
+
# Edit the provided connector source
|
|
446
|
+
#
|
|
447
|
+
# @param id_connector
|
|
448
|
+
# @param id_source
|
|
449
|
+
# @param [Hash] opts the optional parameters
|
|
450
|
+
# @option opts [String] :auth_mechanism the authentication mechanism to use for this connector source
|
|
451
|
+
# @option opts [DateTime] :disabled to enable or disable connector source
|
|
452
|
+
# @option opts [String] :expand
|
|
453
|
+
# @return [ConnectorSource]
|
|
454
|
+
def connectors_id_connector_sources_id_source_put(id_connector, id_source, opts = {})
|
|
455
|
+
data, _status_code, _headers = connectors_id_connector_sources_id_source_put_with_http_info(id_connector, id_source, opts)
|
|
456
|
+
data
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# Edit the provided connector source
|
|
460
|
+
#
|
|
461
|
+
# @param id_connector
|
|
462
|
+
# @param id_source
|
|
463
|
+
# @param [Hash] opts the optional parameters
|
|
464
|
+
# @option opts [String] :auth_mechanism the authentication mechanism to use for this connector source
|
|
465
|
+
# @option opts [DateTime] :disabled to enable or disable connector source
|
|
466
|
+
# @option opts [String] :expand
|
|
467
|
+
# @return [Array<(ConnectorSource, Fixnum, Hash)>] ConnectorSource data, response status code and response headers
|
|
468
|
+
def connectors_id_connector_sources_id_source_put_with_http_info(id_connector, id_source, opts = {})
|
|
469
|
+
if @api_client.config.debugging
|
|
470
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connectors_id_connector_sources_id_source_put ...'
|
|
471
|
+
end
|
|
472
|
+
# verify the required parameter 'id_connector' is set
|
|
473
|
+
if @api_client.config.client_side_validation && id_connector.nil?
|
|
474
|
+
fail ArgumentError, "Missing the required parameter 'id_connector' when calling ConnectionsApi.connectors_id_connector_sources_id_source_put"
|
|
475
|
+
end
|
|
476
|
+
# verify the required parameter 'id_source' is set
|
|
477
|
+
if @api_client.config.client_side_validation && id_source.nil?
|
|
478
|
+
fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.connectors_id_connector_sources_id_source_put"
|
|
479
|
+
end
|
|
480
|
+
# resource path
|
|
481
|
+
local_var_path = '/connectors/{id_connector}/sources/{id_source}'.sub('{' + 'id_connector' + '}', id_connector.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
|
|
482
|
+
|
|
483
|
+
# query parameters
|
|
484
|
+
query_params = {}
|
|
485
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
486
|
+
|
|
487
|
+
# header parameters
|
|
488
|
+
header_params = {}
|
|
489
|
+
# HTTP header 'Accept' (if needed)
|
|
490
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
491
|
+
# HTTP header 'Content-Type'
|
|
492
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
493
|
+
|
|
494
|
+
# form parameters
|
|
495
|
+
form_params = {}
|
|
496
|
+
form_params['auth_mechanism'] = opts[:'auth_mechanism'] if !opts[:'auth_mechanism'].nil?
|
|
497
|
+
form_params['disabled'] = opts[:'disabled'] if !opts[:'disabled'].nil?
|
|
498
|
+
|
|
499
|
+
# http body (model)
|
|
500
|
+
post_body = nil
|
|
501
|
+
auth_names = ['api_key']
|
|
502
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
503
|
+
:header_params => header_params,
|
|
504
|
+
:query_params => query_params,
|
|
505
|
+
:form_params => form_params,
|
|
506
|
+
:body => post_body,
|
|
507
|
+
:auth_names => auth_names,
|
|
508
|
+
:return_type => 'ConnectorSource')
|
|
509
|
+
if @api_client.config.debugging
|
|
510
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#connectors_id_connector_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
511
|
+
end
|
|
512
|
+
return data, status_code, headers
|
|
513
|
+
end
|
|
241
514
|
# Request a new connector
|
|
242
515
|
# Send a request to add a new connector<br><br>
|
|
243
516
|
# @param name Name of the bank or provider
|
|
@@ -338,8 +611,9 @@ module BudgeaClient
|
|
|
338
611
|
# @option opts [Integer] :id_connection ID of a connection
|
|
339
612
|
# @option opts [Integer] :id_connector ID of a connector
|
|
340
613
|
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
614
|
+
# @option opts [Integer] :id_source ID of a source
|
|
341
615
|
# @option opts [String] :expand
|
|
342
|
-
# @return [
|
|
616
|
+
# @return [InlineResponse20015]
|
|
343
617
|
def logs_get(opts = {})
|
|
344
618
|
data, _status_code, _headers = logs_get_with_http_info(opts)
|
|
345
619
|
data
|
|
@@ -358,8 +632,9 @@ module BudgeaClient
|
|
|
358
632
|
# @option opts [Integer] :id_connection ID of a connection
|
|
359
633
|
# @option opts [Integer] :id_connector ID of a connector
|
|
360
634
|
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
635
|
+
# @option opts [Integer] :id_source ID of a source
|
|
361
636
|
# @option opts [String] :expand
|
|
362
|
-
# @return [Array<(
|
|
637
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
|
363
638
|
def logs_get_with_http_info(opts = {})
|
|
364
639
|
if @api_client.config.debugging
|
|
365
640
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.logs_get ...'
|
|
@@ -379,6 +654,7 @@ module BudgeaClient
|
|
|
379
654
|
query_params[:'id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
|
|
380
655
|
query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
|
|
381
656
|
query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
|
|
657
|
+
query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
|
|
382
658
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
383
659
|
|
|
384
660
|
# header parameters
|
|
@@ -386,7 +662,7 @@ module BudgeaClient
|
|
|
386
662
|
# HTTP header 'Accept' (if needed)
|
|
387
663
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
388
664
|
# HTTP header 'Content-Type'
|
|
389
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
665
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
390
666
|
|
|
391
667
|
# form parameters
|
|
392
668
|
form_params = {}
|
|
@@ -400,7 +676,7 @@ module BudgeaClient
|
|
|
400
676
|
:form_params => form_params,
|
|
401
677
|
:body => post_body,
|
|
402
678
|
:auth_names => auth_names,
|
|
403
|
-
:return_type => '
|
|
679
|
+
:return_type => 'InlineResponse20015')
|
|
404
680
|
if @api_client.config.debugging
|
|
405
681
|
@api_client.config.logger.debug "API called: ConnectionsApi#logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
406
682
|
end
|
|
@@ -410,7 +686,7 @@ module BudgeaClient
|
|
|
410
686
|
#
|
|
411
687
|
# @param [Hash] opts the optional parameters
|
|
412
688
|
# @option opts [String] :expand
|
|
413
|
-
# @return [
|
|
689
|
+
# @return [InlineResponse20019]
|
|
414
690
|
def providers_get(opts = {})
|
|
415
691
|
data, _status_code, _headers = providers_get_with_http_info(opts)
|
|
416
692
|
data
|
|
@@ -420,7 +696,7 @@ module BudgeaClient
|
|
|
420
696
|
#
|
|
421
697
|
# @param [Hash] opts the optional parameters
|
|
422
698
|
# @option opts [String] :expand
|
|
423
|
-
# @return [Array<(
|
|
699
|
+
# @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
|
|
424
700
|
def providers_get_with_http_info(opts = {})
|
|
425
701
|
if @api_client.config.debugging
|
|
426
702
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.providers_get ...'
|
|
@@ -437,7 +713,7 @@ module BudgeaClient
|
|
|
437
713
|
# HTTP header 'Accept' (if needed)
|
|
438
714
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
439
715
|
# HTTP header 'Content-Type'
|
|
440
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
716
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
441
717
|
|
|
442
718
|
# form parameters
|
|
443
719
|
form_params = {}
|
|
@@ -451,7 +727,7 @@ module BudgeaClient
|
|
|
451
727
|
:form_params => form_params,
|
|
452
728
|
:body => post_body,
|
|
453
729
|
:auth_names => auth_names,
|
|
454
|
-
:return_type => '
|
|
730
|
+
:return_type => 'InlineResponse20019')
|
|
455
731
|
if @api_client.config.debugging
|
|
456
732
|
@api_client.config.logger.debug "API called: ConnectionsApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
457
733
|
end
|
|
@@ -497,7 +773,7 @@ module BudgeaClient
|
|
|
497
773
|
# HTTP header 'Accept' (if needed)
|
|
498
774
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
499
775
|
# HTTP header 'Content-Type'
|
|
500
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
776
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
501
777
|
|
|
502
778
|
# form parameters
|
|
503
779
|
form_params = {}
|
|
@@ -517,6 +793,63 @@ module BudgeaClient
|
|
|
517
793
|
end
|
|
518
794
|
return data, status_code, headers
|
|
519
795
|
end
|
|
796
|
+
# Get list of connector sources
|
|
797
|
+
#
|
|
798
|
+
# @param id_connector
|
|
799
|
+
# @param [Hash] opts the optional parameters
|
|
800
|
+
# @option opts [String] :expand
|
|
801
|
+
# @return [InlineResponse20011]
|
|
802
|
+
def providers_id_connector_sources_get(id_connector, opts = {})
|
|
803
|
+
data, _status_code, _headers = providers_id_connector_sources_get_with_http_info(id_connector, opts)
|
|
804
|
+
data
|
|
805
|
+
end
|
|
806
|
+
|
|
807
|
+
# Get list of connector sources
|
|
808
|
+
#
|
|
809
|
+
# @param id_connector
|
|
810
|
+
# @param [Hash] opts the optional parameters
|
|
811
|
+
# @option opts [String] :expand
|
|
812
|
+
# @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
|
|
813
|
+
def providers_id_connector_sources_get_with_http_info(id_connector, opts = {})
|
|
814
|
+
if @api_client.config.debugging
|
|
815
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.providers_id_connector_sources_get ...'
|
|
816
|
+
end
|
|
817
|
+
# verify the required parameter 'id_connector' is set
|
|
818
|
+
if @api_client.config.client_side_validation && id_connector.nil?
|
|
819
|
+
fail ArgumentError, "Missing the required parameter 'id_connector' when calling ConnectionsApi.providers_id_connector_sources_get"
|
|
820
|
+
end
|
|
821
|
+
# resource path
|
|
822
|
+
local_var_path = '/providers/{id_connector}/sources'.sub('{' + 'id_connector' + '}', id_connector.to_s)
|
|
823
|
+
|
|
824
|
+
# query parameters
|
|
825
|
+
query_params = {}
|
|
826
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
827
|
+
|
|
828
|
+
# header parameters
|
|
829
|
+
header_params = {}
|
|
830
|
+
# HTTP header 'Accept' (if needed)
|
|
831
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
832
|
+
# HTTP header 'Content-Type'
|
|
833
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
834
|
+
|
|
835
|
+
# form parameters
|
|
836
|
+
form_params = {}
|
|
837
|
+
|
|
838
|
+
# http body (model)
|
|
839
|
+
post_body = nil
|
|
840
|
+
auth_names = ['api_key']
|
|
841
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
842
|
+
:header_params => header_params,
|
|
843
|
+
:query_params => query_params,
|
|
844
|
+
:form_params => form_params,
|
|
845
|
+
:body => post_body,
|
|
846
|
+
:auth_names => auth_names,
|
|
847
|
+
:return_type => 'InlineResponse20011')
|
|
848
|
+
if @api_client.config.debugging
|
|
849
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#providers_id_connector_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
850
|
+
end
|
|
851
|
+
return data, status_code, headers
|
|
852
|
+
end
|
|
520
853
|
# Delete all connections
|
|
521
854
|
#
|
|
522
855
|
# @param id_user Hint: you can use 'me' or 'all'
|
|
@@ -554,7 +887,7 @@ module BudgeaClient
|
|
|
554
887
|
# HTTP header 'Accept' (if needed)
|
|
555
888
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
556
889
|
# HTTP header 'Content-Type'
|
|
557
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
890
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
558
891
|
|
|
559
892
|
# form parameters
|
|
560
893
|
form_params = {}
|
|
@@ -611,7 +944,7 @@ module BudgeaClient
|
|
|
611
944
|
# HTTP header 'Accept' (if needed)
|
|
612
945
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
613
946
|
# HTTP header 'Content-Type'
|
|
614
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
947
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
615
948
|
|
|
616
949
|
# form parameters
|
|
617
950
|
form_params = {}
|
|
@@ -674,7 +1007,7 @@ module BudgeaClient
|
|
|
674
1007
|
# HTTP header 'Accept' (if needed)
|
|
675
1008
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
676
1009
|
# HTTP header 'Content-Type'
|
|
677
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
1010
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
678
1011
|
|
|
679
1012
|
# form parameters
|
|
680
1013
|
form_params = {}
|
|
@@ -737,7 +1070,7 @@ module BudgeaClient
|
|
|
737
1070
|
# HTTP header 'Accept' (if needed)
|
|
738
1071
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
739
1072
|
# HTTP header 'Content-Type'
|
|
740
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
1073
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
741
1074
|
|
|
742
1075
|
# form parameters
|
|
743
1076
|
form_params = {}
|
|
@@ -800,7 +1133,7 @@ module BudgeaClient
|
|
|
800
1133
|
# HTTP header 'Accept' (if needed)
|
|
801
1134
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
802
1135
|
# HTTP header 'Content-Type'
|
|
803
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
1136
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
804
1137
|
|
|
805
1138
|
# form parameters
|
|
806
1139
|
form_params = {}
|
|
@@ -835,8 +1168,9 @@ module BudgeaClient
|
|
|
835
1168
|
# @option opts [Integer] :id_connection2 ID of a connection
|
|
836
1169
|
# @option opts [Integer] :id_connector ID of a connector
|
|
837
1170
|
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
1171
|
+
# @option opts [Integer] :id_source ID of a source
|
|
838
1172
|
# @option opts [String] :expand
|
|
839
|
-
# @return [
|
|
1173
|
+
# @return [InlineResponse20015]
|
|
840
1174
|
def users_id_user_connections_id_connection_logs_get(id_user, id_connection, opts = {})
|
|
841
1175
|
data, _status_code, _headers = users_id_user_connections_id_connection_logs_get_with_http_info(id_user, id_connection, opts)
|
|
842
1176
|
data
|
|
@@ -857,8 +1191,9 @@ module BudgeaClient
|
|
|
857
1191
|
# @option opts [Integer] :id_connection2 ID of a connection
|
|
858
1192
|
# @option opts [Integer] :id_connector ID of a connector
|
|
859
1193
|
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
1194
|
+
# @option opts [Integer] :id_source ID of a source
|
|
860
1195
|
# @option opts [String] :expand
|
|
861
|
-
# @return [Array<(
|
|
1196
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
|
862
1197
|
def users_id_user_connections_id_connection_logs_get_with_http_info(id_user, id_connection, opts = {})
|
|
863
1198
|
if @api_client.config.debugging
|
|
864
1199
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_logs_get ...'
|
|
@@ -886,6 +1221,7 @@ module BudgeaClient
|
|
|
886
1221
|
query_params[:'id_connection'] = opts[:'id_connection2'] if !opts[:'id_connection2'].nil?
|
|
887
1222
|
query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
|
|
888
1223
|
query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
|
|
1224
|
+
query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
|
|
889
1225
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
890
1226
|
|
|
891
1227
|
# header parameters
|
|
@@ -893,7 +1229,7 @@ module BudgeaClient
|
|
|
893
1229
|
# HTTP header 'Accept' (if needed)
|
|
894
1230
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
895
1231
|
# HTTP header 'Content-Type'
|
|
896
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
1232
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
897
1233
|
|
|
898
1234
|
# form parameters
|
|
899
1235
|
form_params = {}
|
|
@@ -907,7 +1243,7 @@ module BudgeaClient
|
|
|
907
1243
|
:form_params => form_params,
|
|
908
1244
|
:body => post_body,
|
|
909
1245
|
:auth_names => auth_names,
|
|
910
|
-
:return_type => '
|
|
1246
|
+
:return_type => 'InlineResponse20015')
|
|
911
1247
|
if @api_client.config.debugging
|
|
912
1248
|
@api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_connections_id_connection_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
913
1249
|
end
|
|
@@ -1034,7 +1370,7 @@ module BudgeaClient
|
|
|
1034
1370
|
# HTTP header 'Accept' (if needed)
|
|
1035
1371
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1036
1372
|
# HTTP header 'Content-Type'
|
|
1037
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
1373
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
1038
1374
|
|
|
1039
1375
|
# form parameters
|
|
1040
1376
|
form_params = {}
|
|
@@ -1054,10 +1390,281 @@ module BudgeaClient
|
|
|
1054
1390
|
end
|
|
1055
1391
|
return data, status_code, headers
|
|
1056
1392
|
end
|
|
1393
|
+
# Get connection sources
|
|
1394
|
+
#
|
|
1395
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1396
|
+
# @param id_connection
|
|
1397
|
+
# @param [Hash] opts the optional parameters
|
|
1398
|
+
# @option opts [String] :expand
|
|
1399
|
+
# @return [InlineResponse20030]
|
|
1400
|
+
def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
|
|
1401
|
+
data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
|
|
1402
|
+
data
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
# Get connection sources
|
|
1406
|
+
#
|
|
1407
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1408
|
+
# @param id_connection
|
|
1409
|
+
# @param [Hash] opts the optional parameters
|
|
1410
|
+
# @option opts [String] :expand
|
|
1411
|
+
# @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
|
|
1412
|
+
def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
|
|
1413
|
+
if @api_client.config.debugging
|
|
1414
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_sources_get ...'
|
|
1415
|
+
end
|
|
1416
|
+
# verify the required parameter 'id_user' is set
|
|
1417
|
+
if @api_client.config.client_side_validation && id_user.nil?
|
|
1418
|
+
fail ArgumentError, "Missing the required parameter 'id_user' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_get"
|
|
1419
|
+
end
|
|
1420
|
+
# verify the required parameter 'id_connection' is set
|
|
1421
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
1422
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_get"
|
|
1423
|
+
end
|
|
1424
|
+
# resource path
|
|
1425
|
+
local_var_path = '/users/{id_user}/connections/{id_connection}/sources'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
|
|
1426
|
+
|
|
1427
|
+
# query parameters
|
|
1428
|
+
query_params = {}
|
|
1429
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
1430
|
+
|
|
1431
|
+
# header parameters
|
|
1432
|
+
header_params = {}
|
|
1433
|
+
# HTTP header 'Accept' (if needed)
|
|
1434
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1435
|
+
# HTTP header 'Content-Type'
|
|
1436
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
1437
|
+
|
|
1438
|
+
# form parameters
|
|
1439
|
+
form_params = {}
|
|
1440
|
+
|
|
1441
|
+
# http body (model)
|
|
1442
|
+
post_body = nil
|
|
1443
|
+
auth_names = ['api_key']
|
|
1444
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1445
|
+
:header_params => header_params,
|
|
1446
|
+
:query_params => query_params,
|
|
1447
|
+
:form_params => form_params,
|
|
1448
|
+
:body => post_body,
|
|
1449
|
+
:auth_names => auth_names,
|
|
1450
|
+
:return_type => 'InlineResponse20030')
|
|
1451
|
+
if @api_client.config.debugging
|
|
1452
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1453
|
+
end
|
|
1454
|
+
return data, status_code, headers
|
|
1455
|
+
end
|
|
1456
|
+
# Disable a connection source
|
|
1457
|
+
# This will make it so the specified source will not be synchronized anymore.<br><br>
|
|
1458
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1459
|
+
# @param id_connection
|
|
1460
|
+
# @param id_source
|
|
1461
|
+
# @param [Hash] opts the optional parameters
|
|
1462
|
+
# @option opts [String] :expand
|
|
1463
|
+
# @return [ConnectionSource]
|
|
1464
|
+
def users_id_user_connections_id_connection_sources_id_source_delete(id_user, id_connection, id_source, opts = {})
|
|
1465
|
+
data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_delete_with_http_info(id_user, id_connection, id_source, opts)
|
|
1466
|
+
data
|
|
1467
|
+
end
|
|
1468
|
+
|
|
1469
|
+
# Disable a connection source
|
|
1470
|
+
# This will make it so the specified source will not be synchronized anymore.<br><br>
|
|
1471
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1472
|
+
# @param id_connection
|
|
1473
|
+
# @param id_source
|
|
1474
|
+
# @param [Hash] opts the optional parameters
|
|
1475
|
+
# @option opts [String] :expand
|
|
1476
|
+
# @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
|
|
1477
|
+
def users_id_user_connections_id_connection_sources_id_source_delete_with_http_info(id_user, id_connection, id_source, opts = {})
|
|
1478
|
+
if @api_client.config.debugging
|
|
1479
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_delete ...'
|
|
1480
|
+
end
|
|
1481
|
+
# verify the required parameter 'id_user' is set
|
|
1482
|
+
if @api_client.config.client_side_validation && id_user.nil?
|
|
1483
|
+
fail ArgumentError, "Missing the required parameter 'id_user' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_delete"
|
|
1484
|
+
end
|
|
1485
|
+
# verify the required parameter 'id_connection' is set
|
|
1486
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
1487
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_delete"
|
|
1488
|
+
end
|
|
1489
|
+
# verify the required parameter 'id_source' is set
|
|
1490
|
+
if @api_client.config.client_side_validation && id_source.nil?
|
|
1491
|
+
fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_delete"
|
|
1492
|
+
end
|
|
1493
|
+
# resource path
|
|
1494
|
+
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)
|
|
1495
|
+
|
|
1496
|
+
# query parameters
|
|
1497
|
+
query_params = {}
|
|
1498
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
1499
|
+
|
|
1500
|
+
# header parameters
|
|
1501
|
+
header_params = {}
|
|
1502
|
+
# HTTP header 'Accept' (if needed)
|
|
1503
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1504
|
+
# HTTP header 'Content-Type'
|
|
1505
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
1506
|
+
|
|
1507
|
+
# form parameters
|
|
1508
|
+
form_params = {}
|
|
1509
|
+
|
|
1510
|
+
# http body (model)
|
|
1511
|
+
post_body = nil
|
|
1512
|
+
auth_names = ['api_key']
|
|
1513
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
1514
|
+
:header_params => header_params,
|
|
1515
|
+
:query_params => query_params,
|
|
1516
|
+
:form_params => form_params,
|
|
1517
|
+
:body => post_body,
|
|
1518
|
+
:auth_names => auth_names,
|
|
1519
|
+
:return_type => 'ConnectionSource')
|
|
1520
|
+
if @api_client.config.debugging
|
|
1521
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1522
|
+
end
|
|
1523
|
+
return data, status_code, headers
|
|
1524
|
+
end
|
|
1525
|
+
# Enable connection source
|
|
1526
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
|
1527
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1528
|
+
# @param id_connection
|
|
1529
|
+
# @param id_source
|
|
1530
|
+
# @param [Hash] opts the optional parameters
|
|
1531
|
+
# @option opts [String] :expand
|
|
1532
|
+
# @return [ConnectionSource]
|
|
1533
|
+
def users_id_user_connections_id_connection_sources_id_source_post(id_user, id_connection, id_source, opts = {})
|
|
1534
|
+
data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_post_with_http_info(id_user, id_connection, id_source, opts)
|
|
1535
|
+
data
|
|
1536
|
+
end
|
|
1537
|
+
|
|
1538
|
+
# Enable connection source
|
|
1539
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
|
1540
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1541
|
+
# @param id_connection
|
|
1542
|
+
# @param id_source
|
|
1543
|
+
# @param [Hash] opts the optional parameters
|
|
1544
|
+
# @option opts [String] :expand
|
|
1545
|
+
# @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
|
|
1546
|
+
def users_id_user_connections_id_connection_sources_id_source_post_with_http_info(id_user, id_connection, id_source, opts = {})
|
|
1547
|
+
if @api_client.config.debugging
|
|
1548
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_post ...'
|
|
1549
|
+
end
|
|
1550
|
+
# verify the required parameter 'id_user' is set
|
|
1551
|
+
if @api_client.config.client_side_validation && id_user.nil?
|
|
1552
|
+
fail ArgumentError, "Missing the required parameter 'id_user' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_post"
|
|
1553
|
+
end
|
|
1554
|
+
# verify the required parameter 'id_connection' is set
|
|
1555
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
1556
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_post"
|
|
1557
|
+
end
|
|
1558
|
+
# verify the required parameter 'id_source' is set
|
|
1559
|
+
if @api_client.config.client_side_validation && id_source.nil?
|
|
1560
|
+
fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_post"
|
|
1561
|
+
end
|
|
1562
|
+
# resource path
|
|
1563
|
+
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)
|
|
1564
|
+
|
|
1565
|
+
# query parameters
|
|
1566
|
+
query_params = {}
|
|
1567
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
1568
|
+
|
|
1569
|
+
# header parameters
|
|
1570
|
+
header_params = {}
|
|
1571
|
+
# HTTP header 'Accept' (if needed)
|
|
1572
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1573
|
+
# HTTP header 'Content-Type'
|
|
1574
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
1575
|
+
|
|
1576
|
+
# form parameters
|
|
1577
|
+
form_params = {}
|
|
1578
|
+
|
|
1579
|
+
# http body (model)
|
|
1580
|
+
post_body = nil
|
|
1581
|
+
auth_names = ['api_key']
|
|
1582
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1583
|
+
:header_params => header_params,
|
|
1584
|
+
:query_params => query_params,
|
|
1585
|
+
:form_params => form_params,
|
|
1586
|
+
:body => post_body,
|
|
1587
|
+
:auth_names => auth_names,
|
|
1588
|
+
:return_type => 'ConnectionSource')
|
|
1589
|
+
if @api_client.config.debugging
|
|
1590
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1591
|
+
end
|
|
1592
|
+
return data, status_code, headers
|
|
1593
|
+
end
|
|
1594
|
+
# Enable connection source
|
|
1595
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
|
1596
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1597
|
+
# @param id_connection
|
|
1598
|
+
# @param id_source
|
|
1599
|
+
# @param [Hash] opts the optional parameters
|
|
1600
|
+
# @option opts [String] :expand
|
|
1601
|
+
# @return [ConnectionSource]
|
|
1602
|
+
def users_id_user_connections_id_connection_sources_id_source_put(id_user, id_connection, id_source, opts = {})
|
|
1603
|
+
data, _status_code, _headers = users_id_user_connections_id_connection_sources_id_source_put_with_http_info(id_user, id_connection, id_source, opts)
|
|
1604
|
+
data
|
|
1605
|
+
end
|
|
1606
|
+
|
|
1607
|
+
# Enable connection source
|
|
1608
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
|
1609
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
1610
|
+
# @param id_connection
|
|
1611
|
+
# @param id_source
|
|
1612
|
+
# @param [Hash] opts the optional parameters
|
|
1613
|
+
# @option opts [String] :expand
|
|
1614
|
+
# @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
|
|
1615
|
+
def users_id_user_connections_id_connection_sources_id_source_put_with_http_info(id_user, id_connection, id_source, opts = {})
|
|
1616
|
+
if @api_client.config.debugging
|
|
1617
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_put ...'
|
|
1618
|
+
end
|
|
1619
|
+
# verify the required parameter 'id_user' is set
|
|
1620
|
+
if @api_client.config.client_side_validation && id_user.nil?
|
|
1621
|
+
fail ArgumentError, "Missing the required parameter 'id_user' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_put"
|
|
1622
|
+
end
|
|
1623
|
+
# verify the required parameter 'id_connection' is set
|
|
1624
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
1625
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_put"
|
|
1626
|
+
end
|
|
1627
|
+
# verify the required parameter 'id_source' is set
|
|
1628
|
+
if @api_client.config.client_side_validation && id_source.nil?
|
|
1629
|
+
fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.users_id_user_connections_id_connection_sources_id_source_put"
|
|
1630
|
+
end
|
|
1631
|
+
# resource path
|
|
1632
|
+
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)
|
|
1633
|
+
|
|
1634
|
+
# query parameters
|
|
1635
|
+
query_params = {}
|
|
1636
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
1637
|
+
|
|
1638
|
+
# header parameters
|
|
1639
|
+
header_params = {}
|
|
1640
|
+
# HTTP header 'Accept' (if needed)
|
|
1641
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1642
|
+
# HTTP header 'Content-Type'
|
|
1643
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
1644
|
+
|
|
1645
|
+
# form parameters
|
|
1646
|
+
form_params = {}
|
|
1647
|
+
|
|
1648
|
+
# http body (model)
|
|
1649
|
+
post_body = nil
|
|
1650
|
+
auth_names = ['api_key']
|
|
1651
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1652
|
+
:header_params => header_params,
|
|
1653
|
+
:query_params => query_params,
|
|
1654
|
+
:form_params => form_params,
|
|
1655
|
+
:body => post_body,
|
|
1656
|
+
:auth_names => auth_names,
|
|
1657
|
+
:return_type => 'ConnectionSource')
|
|
1658
|
+
if @api_client.config.debugging
|
|
1659
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1660
|
+
end
|
|
1661
|
+
return data, status_code, headers
|
|
1662
|
+
end
|
|
1057
1663
|
# Add a new connection.
|
|
1058
1664
|
# 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>
|
|
1059
1665
|
# @param id_user Hint: you can use 'me' or 'all'
|
|
1060
1666
|
# @param [Hash] opts the optional parameters
|
|
1667
|
+
# @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
|
|
1061
1668
|
# @option opts [Integer] :id_connector ID of the connector
|
|
1062
1669
|
# @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
|
|
1063
1670
|
# @option opts [String] :birthday bank additional login parameter
|
|
@@ -1070,6 +1677,8 @@ module BudgeaClient
|
|
|
1070
1677
|
# @option opts [String] :birthdate bank additional login parameter
|
|
1071
1678
|
# @option opts [String] :nuser bank additional login parameter
|
|
1072
1679
|
# @option opts [String] :website bank additional login parameter
|
|
1680
|
+
# @option opts [String] :openapiwebsite bank additional login parameter
|
|
1681
|
+
# @option opts [String] :website2 bank additional login parameter
|
|
1073
1682
|
# @option opts [String] :login bank additional login parameter
|
|
1074
1683
|
# @option opts [Integer] :id_provider ID of the provider
|
|
1075
1684
|
# @option opts [String] :expand
|
|
@@ -1083,6 +1692,7 @@ module BudgeaClient
|
|
|
1083
1692
|
# 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>
|
|
1084
1693
|
# @param id_user Hint: you can use 'me' or 'all'
|
|
1085
1694
|
# @param [Hash] opts the optional parameters
|
|
1695
|
+
# @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
|
|
1086
1696
|
# @option opts [Integer] :id_connector ID of the connector
|
|
1087
1697
|
# @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
|
|
1088
1698
|
# @option opts [String] :birthday bank additional login parameter
|
|
@@ -1095,6 +1705,8 @@ module BudgeaClient
|
|
|
1095
1705
|
# @option opts [String] :birthdate bank additional login parameter
|
|
1096
1706
|
# @option opts [String] :nuser bank additional login parameter
|
|
1097
1707
|
# @option opts [String] :website bank additional login parameter
|
|
1708
|
+
# @option opts [String] :openapiwebsite bank additional login parameter
|
|
1709
|
+
# @option opts [String] :website2 bank additional login parameter
|
|
1098
1710
|
# @option opts [String] :login bank additional login parameter
|
|
1099
1711
|
# @option opts [Integer] :id_provider ID of the provider
|
|
1100
1712
|
# @option opts [String] :expand
|
|
@@ -1112,6 +1724,7 @@ module BudgeaClient
|
|
|
1112
1724
|
|
|
1113
1725
|
# query parameters
|
|
1114
1726
|
query_params = {}
|
|
1727
|
+
query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
|
|
1115
1728
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
1116
1729
|
|
|
1117
1730
|
# header parameters
|
|
@@ -1135,6 +1748,8 @@ module BudgeaClient
|
|
|
1135
1748
|
form_params['birthdate'] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
|
|
1136
1749
|
form_params['nuser'] = opts[:'nuser'] if !opts[:'nuser'].nil?
|
|
1137
1750
|
form_params['website'] = opts[:'website'] if !opts[:'website'].nil?
|
|
1751
|
+
form_params['openapiwebsite'] = opts[:'openapiwebsite'] if !opts[:'openapiwebsite'].nil?
|
|
1752
|
+
form_params['website'] = opts[:'website2'] if !opts[:'website2'].nil?
|
|
1138
1753
|
form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
|
|
1139
1754
|
form_params['id_provider'] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
|
|
1140
1755
|
|
|
@@ -1167,8 +1782,9 @@ module BudgeaClient
|
|
|
1167
1782
|
# @option opts [Integer] :id_connection ID of a connection
|
|
1168
1783
|
# @option opts [Integer] :id_connector ID of a connector
|
|
1169
1784
|
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
1785
|
+
# @option opts [Integer] :id_source ID of a source
|
|
1170
1786
|
# @option opts [String] :expand
|
|
1171
|
-
# @return [
|
|
1787
|
+
# @return [InlineResponse20015]
|
|
1172
1788
|
def users_id_user_logs_get(id_user, opts = {})
|
|
1173
1789
|
data, _status_code, _headers = users_id_user_logs_get_with_http_info(id_user, opts)
|
|
1174
1790
|
data
|
|
@@ -1188,8 +1804,9 @@ module BudgeaClient
|
|
|
1188
1804
|
# @option opts [Integer] :id_connection ID of a connection
|
|
1189
1805
|
# @option opts [Integer] :id_connector ID of a connector
|
|
1190
1806
|
# @option opts [BOOLEAN] :charged consider only logs for charged connectors
|
|
1807
|
+
# @option opts [Integer] :id_source ID of a source
|
|
1191
1808
|
# @option opts [String] :expand
|
|
1192
|
-
# @return [Array<(
|
|
1809
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
|
1193
1810
|
def users_id_user_logs_get_with_http_info(id_user, opts = {})
|
|
1194
1811
|
if @api_client.config.debugging
|
|
1195
1812
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_logs_get ...'
|
|
@@ -1213,6 +1830,7 @@ module BudgeaClient
|
|
|
1213
1830
|
query_params[:'id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
|
|
1214
1831
|
query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
|
|
1215
1832
|
query_params[:'charged'] = opts[:'charged'] if !opts[:'charged'].nil?
|
|
1833
|
+
query_params[:'id_source'] = opts[:'id_source'] if !opts[:'id_source'].nil?
|
|
1216
1834
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
1217
1835
|
|
|
1218
1836
|
# header parameters
|
|
@@ -1220,7 +1838,7 @@ module BudgeaClient
|
|
|
1220
1838
|
# HTTP header 'Accept' (if needed)
|
|
1221
1839
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1222
1840
|
# HTTP header 'Content-Type'
|
|
1223
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
|
1841
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
1224
1842
|
|
|
1225
1843
|
# form parameters
|
|
1226
1844
|
form_params = {}
|
|
@@ -1234,7 +1852,7 @@ module BudgeaClient
|
|
|
1234
1852
|
:form_params => form_params,
|
|
1235
1853
|
:body => post_body,
|
|
1236
1854
|
:auth_names => auth_names,
|
|
1237
|
-
:return_type => '
|
|
1855
|
+
:return_type => 'InlineResponse20015')
|
|
1238
1856
|
if @api_client.config.debugging
|
|
1239
1857
|
@api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1240
1858
|
end
|