budgea_client 5.0.3 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +4 -4
- data/README.md +19 -6
- data/budgea_client.gemspec +1 -1
- data/budgea_openapi.json +1624 -1420
- data/config.json +1 -1
- data/docs/Account.md +1 -0
- data/docs/AdministrationApi.md +12 -12
- data/docs/BanksApi.md +267 -52
- data/docs/Connection.md +2 -0
- data/docs/ConnectionsApi.md +255 -40
- data/docs/DocumentsApi.md +2 -2
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20017.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20022.md +1 -1
- data/docs/InlineResponse20023.md +1 -1
- data/docs/InlineResponse20024.md +1 -1
- data/docs/InlineResponse20025.md +1 -1
- data/docs/InlineResponse20026.md +1 -1
- data/docs/InlineResponse20027.md +1 -1
- data/docs/InlineResponse20028.md +1 -1
- data/docs/InlineResponse20029.md +1 -1
- data/docs/InlineResponse20030.md +1 -1
- data/docs/PFMApi.md +9 -9
- data/docs/ProvidersApi.md +257 -42
- data/docs/TermsApi.md +72 -7
- data/docs/TransfersApi.md +24 -24
- data/docs/UsersManagementApi.md +2 -2
- data/docs/WealthApi.md +53 -37
- data/lib/budgea_client.rb +1 -1
- data/lib/budgea_client/api/administration_api.rb +14 -14
- data/lib/budgea_client/api/authentication_api.rb +1 -1
- data/lib/budgea_client/api/banks_api.rb +278 -78
- data/lib/budgea_client/api/connections_api.rb +260 -60
- data/lib/budgea_client/api/documents_api.rb +4 -4
- data/lib/budgea_client/api/ocr_api.rb +1 -1
- data/lib/budgea_client/api/oidc_api.rb +1 -1
- data/lib/budgea_client/api/pfm_api.rb +12 -12
- data/lib/budgea_client/api/providers_api.rb +263 -63
- data/lib/budgea_client/api/recipients_api.rb +1 -1
- data/lib/budgea_client/api/terms_api.rb +76 -10
- data/lib/budgea_client/api/transfer_api.rb +1 -1
- data/lib/budgea_client/api/transfers_api.rb +37 -37
- data/lib/budgea_client/api/users_management_api.rb +4 -4
- data/lib/budgea_client/api/wealth_api.rb +78 -54
- data/lib/budgea_client/api_client.rb +3 -1
- data/lib/budgea_client/api_error.rb +1 -1
- data/lib/budgea_client/configuration.rb +1 -1
- data/lib/budgea_client/models/access.rb +3 -2
- data/lib/budgea_client/models/account.rb +15 -3
- data/lib/budgea_client/models/account_log.rb +3 -2
- data/lib/budgea_client/models/account_type.rb +3 -2
- data/lib/budgea_client/models/alert.rb +3 -2
- data/lib/budgea_client/models/auth_provider.rb +3 -2
- data/lib/budgea_client/models/category.rb +3 -2
- data/lib/budgea_client/models/certificate.rb +3 -2
- data/lib/budgea_client/models/client.rb +3 -2
- data/lib/budgea_client/models/config_log.rb +3 -2
- data/lib/budgea_client/models/connection.rb +59 -3
- data/lib/budgea_client/models/connection_log.rb +3 -2
- data/lib/budgea_client/models/connection_source.rb +3 -2
- data/lib/budgea_client/models/connector.rb +3 -2
- data/lib/budgea_client/models/connector_category.rb +3 -2
- data/lib/budgea_client/models/connector_logo.rb +3 -2
- data/lib/budgea_client/models/connector_source.rb +3 -2
- data/lib/budgea_client/models/currency.rb +3 -2
- data/lib/budgea_client/models/device.rb +3 -2
- data/lib/budgea_client/models/document.rb +3 -2
- data/lib/budgea_client/models/document_type.rb +3 -2
- data/lib/budgea_client/models/field.rb +3 -2
- data/lib/budgea_client/models/field_value.rb +3 -2
- data/lib/budgea_client/models/file.rb +3 -2
- data/lib/budgea_client/models/group.rb +3 -2
- data/lib/budgea_client/models/hash_table.rb +3 -2
- data/lib/budgea_client/models/inline_response_200.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_1.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_10.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_11.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_12.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_13.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_14.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_15.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_16.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_17.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_18.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_19.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_2.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_20.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_21.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_22.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_23.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_24.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_25.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_26.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_27.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_28.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_29.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_3.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_30.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_31.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_32.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_33.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_34.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_35.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_36.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_37.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_38.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_39.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_4.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_40.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_41.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_42.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_5.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_6.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_7.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_8.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_9.rb +3 -2
- data/lib/budgea_client/models/investment.rb +3 -2
- data/lib/budgea_client/models/investment_value.rb +3 -2
- data/lib/budgea_client/models/keyword.rb +3 -2
- data/lib/budgea_client/models/locked_user.rb +3 -2
- data/lib/budgea_client/models/oidc_whitelist.rb +3 -2
- data/lib/budgea_client/models/order.rb +3 -2
- data/lib/budgea_client/models/pocket.rb +3 -2
- data/lib/budgea_client/models/profile.rb +3 -2
- data/lib/budgea_client/models/project.rb +3 -2
- data/lib/budgea_client/models/project_type.rb +3 -2
- data/lib/budgea_client/models/recipient.rb +3 -2
- data/lib/budgea_client/models/recipient_log.rb +3 -2
- data/lib/budgea_client/models/security.rb +3 -2
- data/lib/budgea_client/models/subscription.rb +3 -2
- data/lib/budgea_client/models/subscription_log.rb +3 -2
- data/lib/budgea_client/models/terms_of_service.rb +3 -2
- data/lib/budgea_client/models/transaction.rb +3 -2
- data/lib/budgea_client/models/transaction_information.rb +3 -2
- data/lib/budgea_client/models/transactions_cluster.rb +3 -2
- data/lib/budgea_client/models/transfer.rb +3 -2
- data/lib/budgea_client/models/transfer_log.rb +3 -2
- data/lib/budgea_client/models/user.rb +3 -2
- data/lib/budgea_client/models/user_alert.rb +3 -2
- data/lib/budgea_client/models/webhook.rb +3 -2
- data/lib/budgea_client/models/webhook_data.rb +3 -2
- data/lib/budgea_client/models/webhook_log.rb +3 -2
- data/lib/budgea_client/version.rb +2 -2
- data/original_budgea_openapi.json +1559 -1474
- data/pkg/budgea_client-5.0.3.gem +0 -0
- metadata +3 -4
- data/lib/budgea_client/api/hub_api.rb +0 -76
- data/lib/budgea_client/models/invite.rb +0 -238
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -334,11 +334,257 @@ module BudgeaClient
|
|
334
334
|
end
|
335
335
|
return data, status_code, headers
|
336
336
|
end
|
337
|
-
# Get
|
337
|
+
# Get connection sources
|
338
338
|
#
|
339
|
+
# @param id_connection
|
339
340
|
# @param [Hash] opts the optional parameters
|
340
341
|
# @option opts [String] :expand
|
341
342
|
# @return [InlineResponse20016]
|
343
|
+
def connections_id_connection_sources_get(id_connection, opts = {})
|
344
|
+
data, _status_code, _headers = connections_id_connection_sources_get_with_http_info(id_connection, opts)
|
345
|
+
data
|
346
|
+
end
|
347
|
+
|
348
|
+
# Get connection sources
|
349
|
+
#
|
350
|
+
# @param id_connection
|
351
|
+
# @param [Hash] opts the optional parameters
|
352
|
+
# @option opts [String] :expand
|
353
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
354
|
+
def connections_id_connection_sources_get_with_http_info(id_connection, opts = {})
|
355
|
+
if @api_client.config.debugging
|
356
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_get ...'
|
357
|
+
end
|
358
|
+
# verify the required parameter 'id_connection' is set
|
359
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
360
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_get"
|
361
|
+
end
|
362
|
+
# resource path
|
363
|
+
local_var_path = '/connections/{id_connection}/sources'.sub('{' + 'id_connection' + '}', id_connection.to_s)
|
364
|
+
|
365
|
+
# query parameters
|
366
|
+
query_params = {}
|
367
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
368
|
+
|
369
|
+
# header parameters
|
370
|
+
header_params = {}
|
371
|
+
# HTTP header 'Accept' (if needed)
|
372
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
373
|
+
# HTTP header 'Content-Type'
|
374
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
375
|
+
|
376
|
+
# form parameters
|
377
|
+
form_params = {}
|
378
|
+
|
379
|
+
# http body (model)
|
380
|
+
post_body = nil
|
381
|
+
auth_names = ['api_key']
|
382
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
383
|
+
:header_params => header_params,
|
384
|
+
:query_params => query_params,
|
385
|
+
:form_params => form_params,
|
386
|
+
:body => post_body,
|
387
|
+
:auth_names => auth_names,
|
388
|
+
:return_type => 'InlineResponse20016')
|
389
|
+
if @api_client.config.debugging
|
390
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
391
|
+
end
|
392
|
+
return data, status_code, headers
|
393
|
+
end
|
394
|
+
# Disable a connection source
|
395
|
+
# This will make it so the specified source will not be synchronized anymore.<br><br>
|
396
|
+
# @param id_connection
|
397
|
+
# @param id_source
|
398
|
+
# @param [Hash] opts the optional parameters
|
399
|
+
# @option opts [String] :expand
|
400
|
+
# @return [ConnectionSource]
|
401
|
+
def connections_id_connection_sources_id_source_delete(id_connection, id_source, opts = {})
|
402
|
+
data, _status_code, _headers = connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts)
|
403
|
+
data
|
404
|
+
end
|
405
|
+
|
406
|
+
# Disable a connection source
|
407
|
+
# This will make it so the specified source will not be synchronized anymore.<br><br>
|
408
|
+
# @param id_connection
|
409
|
+
# @param id_source
|
410
|
+
# @param [Hash] opts the optional parameters
|
411
|
+
# @option opts [String] :expand
|
412
|
+
# @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
|
413
|
+
def connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts = {})
|
414
|
+
if @api_client.config.debugging
|
415
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_id_source_delete ...'
|
416
|
+
end
|
417
|
+
# verify the required parameter 'id_connection' is set
|
418
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
419
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_id_source_delete"
|
420
|
+
end
|
421
|
+
# verify the required parameter 'id_source' is set
|
422
|
+
if @api_client.config.client_side_validation && id_source.nil?
|
423
|
+
fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.connections_id_connection_sources_id_source_delete"
|
424
|
+
end
|
425
|
+
# resource path
|
426
|
+
local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
|
427
|
+
|
428
|
+
# query parameters
|
429
|
+
query_params = {}
|
430
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
431
|
+
|
432
|
+
# header parameters
|
433
|
+
header_params = {}
|
434
|
+
# HTTP header 'Accept' (if needed)
|
435
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
436
|
+
# HTTP header 'Content-Type'
|
437
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
438
|
+
|
439
|
+
# form parameters
|
440
|
+
form_params = {}
|
441
|
+
|
442
|
+
# http body (model)
|
443
|
+
post_body = nil
|
444
|
+
auth_names = ['api_key']
|
445
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
446
|
+
:header_params => header_params,
|
447
|
+
:query_params => query_params,
|
448
|
+
:form_params => form_params,
|
449
|
+
:body => post_body,
|
450
|
+
:auth_names => auth_names,
|
451
|
+
:return_type => 'ConnectionSource')
|
452
|
+
if @api_client.config.debugging
|
453
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
454
|
+
end
|
455
|
+
return data, status_code, headers
|
456
|
+
end
|
457
|
+
# Enable connection source
|
458
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
459
|
+
# @param id_connection
|
460
|
+
# @param id_source
|
461
|
+
# @param [Hash] opts the optional parameters
|
462
|
+
# @option opts [String] :expand
|
463
|
+
# @return [ConnectionSource]
|
464
|
+
def connections_id_connection_sources_id_source_post(id_connection, id_source, opts = {})
|
465
|
+
data, _status_code, _headers = connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts)
|
466
|
+
data
|
467
|
+
end
|
468
|
+
|
469
|
+
# Enable connection source
|
470
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
471
|
+
# @param id_connection
|
472
|
+
# @param id_source
|
473
|
+
# @param [Hash] opts the optional parameters
|
474
|
+
# @option opts [String] :expand
|
475
|
+
# @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
|
476
|
+
def connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts = {})
|
477
|
+
if @api_client.config.debugging
|
478
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_id_source_post ...'
|
479
|
+
end
|
480
|
+
# verify the required parameter 'id_connection' is set
|
481
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
482
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_id_source_post"
|
483
|
+
end
|
484
|
+
# verify the required parameter 'id_source' is set
|
485
|
+
if @api_client.config.client_side_validation && id_source.nil?
|
486
|
+
fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.connections_id_connection_sources_id_source_post"
|
487
|
+
end
|
488
|
+
# resource path
|
489
|
+
local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
|
490
|
+
|
491
|
+
# query parameters
|
492
|
+
query_params = {}
|
493
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
494
|
+
|
495
|
+
# header parameters
|
496
|
+
header_params = {}
|
497
|
+
# HTTP header 'Accept' (if needed)
|
498
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
499
|
+
# HTTP header 'Content-Type'
|
500
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
501
|
+
|
502
|
+
# form parameters
|
503
|
+
form_params = {}
|
504
|
+
|
505
|
+
# http body (model)
|
506
|
+
post_body = nil
|
507
|
+
auth_names = ['api_key']
|
508
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
509
|
+
:header_params => header_params,
|
510
|
+
:query_params => query_params,
|
511
|
+
:form_params => form_params,
|
512
|
+
:body => post_body,
|
513
|
+
:auth_names => auth_names,
|
514
|
+
:return_type => 'ConnectionSource')
|
515
|
+
if @api_client.config.debugging
|
516
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
517
|
+
end
|
518
|
+
return data, status_code, headers
|
519
|
+
end
|
520
|
+
# Enable connection source
|
521
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
522
|
+
# @param id_connection
|
523
|
+
# @param id_source
|
524
|
+
# @param [Hash] opts the optional parameters
|
525
|
+
# @option opts [String] :expand
|
526
|
+
# @return [ConnectionSource]
|
527
|
+
def connections_id_connection_sources_id_source_put(id_connection, id_source, opts = {})
|
528
|
+
data, _status_code, _headers = connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts)
|
529
|
+
data
|
530
|
+
end
|
531
|
+
|
532
|
+
# Enable connection source
|
533
|
+
# This will make it so the specified source will be able to be synchronized.<br><br>
|
534
|
+
# @param id_connection
|
535
|
+
# @param id_source
|
536
|
+
# @param [Hash] opts the optional parameters
|
537
|
+
# @option opts [String] :expand
|
538
|
+
# @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
|
539
|
+
def connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts = {})
|
540
|
+
if @api_client.config.debugging
|
541
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_id_source_put ...'
|
542
|
+
end
|
543
|
+
# verify the required parameter 'id_connection' is set
|
544
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
545
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_id_source_put"
|
546
|
+
end
|
547
|
+
# verify the required parameter 'id_source' is set
|
548
|
+
if @api_client.config.client_side_validation && id_source.nil?
|
549
|
+
fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.connections_id_connection_sources_id_source_put"
|
550
|
+
end
|
551
|
+
# resource path
|
552
|
+
local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
|
553
|
+
|
554
|
+
# query parameters
|
555
|
+
query_params = {}
|
556
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
557
|
+
|
558
|
+
# header parameters
|
559
|
+
header_params = {}
|
560
|
+
# HTTP header 'Accept' (if needed)
|
561
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
562
|
+
# HTTP header 'Content-Type'
|
563
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
564
|
+
|
565
|
+
# form parameters
|
566
|
+
form_params = {}
|
567
|
+
|
568
|
+
# http body (model)
|
569
|
+
post_body = nil
|
570
|
+
auth_names = ['api_key']
|
571
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
572
|
+
:header_params => header_params,
|
573
|
+
:query_params => query_params,
|
574
|
+
:form_params => form_params,
|
575
|
+
:body => post_body,
|
576
|
+
:auth_names => auth_names,
|
577
|
+
:return_type => 'ConnectionSource')
|
578
|
+
if @api_client.config.debugging
|
579
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
580
|
+
end
|
581
|
+
return data, status_code, headers
|
582
|
+
end
|
583
|
+
# Get list of connectors
|
584
|
+
#
|
585
|
+
# @param [Hash] opts the optional parameters
|
586
|
+
# @option opts [String] :expand
|
587
|
+
# @return [InlineResponse20017]
|
342
588
|
def connectors_get(opts = {})
|
343
589
|
data, _status_code, _headers = connectors_get_with_http_info(opts)
|
344
590
|
data
|
@@ -348,7 +594,7 @@ module BudgeaClient
|
|
348
594
|
#
|
349
595
|
# @param [Hash] opts the optional parameters
|
350
596
|
# @option opts [String] :expand
|
351
|
-
# @return [Array<(
|
597
|
+
# @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
|
352
598
|
def connectors_get_with_http_info(opts = {})
|
353
599
|
if @api_client.config.debugging
|
354
600
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.connectors_get ...'
|
@@ -379,7 +625,7 @@ module BudgeaClient
|
|
379
625
|
:form_params => form_params,
|
380
626
|
:body => post_body,
|
381
627
|
:auth_names => auth_names,
|
382
|
-
:return_type => '
|
628
|
+
:return_type => 'InlineResponse20017')
|
383
629
|
if @api_client.config.debugging
|
384
630
|
@api_client.config.logger.debug "API called: ConnectionsApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
385
631
|
end
|
@@ -686,7 +932,7 @@ module BudgeaClient
|
|
686
932
|
#
|
687
933
|
# @param [Hash] opts the optional parameters
|
688
934
|
# @option opts [String] :expand
|
689
|
-
# @return [
|
935
|
+
# @return [InlineResponse20020]
|
690
936
|
def providers_get(opts = {})
|
691
937
|
data, _status_code, _headers = providers_get_with_http_info(opts)
|
692
938
|
data
|
@@ -696,7 +942,7 @@ module BudgeaClient
|
|
696
942
|
#
|
697
943
|
# @param [Hash] opts the optional parameters
|
698
944
|
# @option opts [String] :expand
|
699
|
-
# @return [Array<(
|
945
|
+
# @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
|
700
946
|
def providers_get_with_http_info(opts = {})
|
701
947
|
if @api_client.config.debugging
|
702
948
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.providers_get ...'
|
@@ -727,7 +973,7 @@ module BudgeaClient
|
|
727
973
|
:form_params => form_params,
|
728
974
|
:body => post_body,
|
729
975
|
:auth_names => auth_names,
|
730
|
-
:return_type => '
|
976
|
+
:return_type => 'InlineResponse20020')
|
731
977
|
if @api_client.config.debugging
|
732
978
|
@api_client.config.logger.debug "API called: ConnectionsApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
733
979
|
end
|
@@ -1396,7 +1642,7 @@ module BudgeaClient
|
|
1396
1642
|
# @param id_connection
|
1397
1643
|
# @param [Hash] opts the optional parameters
|
1398
1644
|
# @option opts [String] :expand
|
1399
|
-
# @return [
|
1645
|
+
# @return [InlineResponse20016]
|
1400
1646
|
def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
|
1401
1647
|
data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
|
1402
1648
|
data
|
@@ -1408,7 +1654,7 @@ module BudgeaClient
|
|
1408
1654
|
# @param id_connection
|
1409
1655
|
# @param [Hash] opts the optional parameters
|
1410
1656
|
# @option opts [String] :expand
|
1411
|
-
# @return [Array<(
|
1657
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
1412
1658
|
def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
|
1413
1659
|
if @api_client.config.debugging
|
1414
1660
|
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_sources_get ...'
|
@@ -1447,7 +1693,7 @@ module BudgeaClient
|
|
1447
1693
|
:form_params => form_params,
|
1448
1694
|
:body => post_body,
|
1449
1695
|
:auth_names => auth_names,
|
1450
|
-
:return_type => '
|
1696
|
+
:return_type => 'InlineResponse20016')
|
1451
1697
|
if @api_client.config.debugging
|
1452
1698
|
@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
1699
|
end
|
@@ -1665,23 +1911,8 @@ module BudgeaClient
|
|
1665
1911
|
# @param id_user Hint: you can use 'me' or 'all'
|
1666
1912
|
# @param [Hash] opts the optional parameters
|
1667
1913
|
# @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
|
1668
|
-
# @option opts [Integer] :id_connector ID of the connector
|
1669
|
-
# @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
|
1670
|
-
# @option opts [String] :birthday bank additional login parameter
|
1671
|
-
# @option opts [String] :password bank additional login parameter
|
1672
|
-
# @option opts [String] :oauth_token bank additional login parameter
|
1673
|
-
# @option opts [String] :oauth_token_secret bank additional login parameter
|
1674
|
-
# @option opts [String] :auth_type bank additional login parameter
|
1675
|
-
# @option opts [String] :secret bank additional login parameter
|
1676
|
-
# @option opts [String] :type bank additional login parameter
|
1677
|
-
# @option opts [String] :birthdate bank additional login parameter
|
1678
|
-
# @option opts [String] :nuser bank additional login parameter
|
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
|
1682
|
-
# @option opts [String] :login bank additional login parameter
|
1683
|
-
# @option opts [Integer] :id_provider ID of the provider
|
1684
1914
|
# @option opts [String] :expand
|
1915
|
+
# @option opts [Object] :connection
|
1685
1916
|
# @return [Connection]
|
1686
1917
|
def users_id_user_connections_post(id_user, opts = {})
|
1687
1918
|
data, _status_code, _headers = users_id_user_connections_post_with_http_info(id_user, opts)
|
@@ -1693,23 +1924,8 @@ module BudgeaClient
|
|
1693
1924
|
# @param id_user Hint: you can use 'me' or 'all'
|
1694
1925
|
# @param [Hash] opts the optional parameters
|
1695
1926
|
# @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
|
1696
|
-
# @option opts [Integer] :id_connector ID of the connector
|
1697
|
-
# @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
|
1698
|
-
# @option opts [String] :birthday bank additional login parameter
|
1699
|
-
# @option opts [String] :password bank additional login parameter
|
1700
|
-
# @option opts [String] :oauth_token bank additional login parameter
|
1701
|
-
# @option opts [String] :oauth_token_secret bank additional login parameter
|
1702
|
-
# @option opts [String] :auth_type bank additional login parameter
|
1703
|
-
# @option opts [String] :secret bank additional login parameter
|
1704
|
-
# @option opts [String] :type bank additional login parameter
|
1705
|
-
# @option opts [String] :birthdate bank additional login parameter
|
1706
|
-
# @option opts [String] :nuser bank additional login parameter
|
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
|
1710
|
-
# @option opts [String] :login bank additional login parameter
|
1711
|
-
# @option opts [Integer] :id_provider ID of the provider
|
1712
1927
|
# @option opts [String] :expand
|
1928
|
+
# @option opts [Object] :connection
|
1713
1929
|
# @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
|
1714
1930
|
def users_id_user_connections_post_with_http_info(id_user, opts = {})
|
1715
1931
|
if @api_client.config.debugging
|
@@ -1732,29 +1948,13 @@ module BudgeaClient
|
|
1732
1948
|
# HTTP header 'Accept' (if needed)
|
1733
1949
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1734
1950
|
# HTTP header 'Content-Type'
|
1735
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
1951
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1736
1952
|
|
1737
1953
|
# form parameters
|
1738
1954
|
form_params = {}
|
1739
|
-
form_params['id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
|
1740
|
-
form_params['connector_uuid'] = opts[:'connector_uuid'] if !opts[:'connector_uuid'].nil?
|
1741
|
-
form_params['birthday'] = opts[:'birthday'] if !opts[:'birthday'].nil?
|
1742
|
-
form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
|
1743
|
-
form_params['oauth_token'] = opts[:'oauth_token'] if !opts[:'oauth_token'].nil?
|
1744
|
-
form_params['oauth_token_secret'] = opts[:'oauth_token_secret'] if !opts[:'oauth_token_secret'].nil?
|
1745
|
-
form_params['auth_type'] = opts[:'auth_type'] if !opts[:'auth_type'].nil?
|
1746
|
-
form_params['secret'] = opts[:'secret'] if !opts[:'secret'].nil?
|
1747
|
-
form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
|
1748
|
-
form_params['birthdate'] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
|
1749
|
-
form_params['nuser'] = opts[:'nuser'] if !opts[:'nuser'].nil?
|
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?
|
1753
|
-
form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
|
1754
|
-
form_params['id_provider'] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
|
1755
1955
|
|
1756
1956
|
# http body (model)
|
1757
|
-
post_body =
|
1957
|
+
post_body = @api_client.object_to_http_body(opts[:'connection'])
|
1758
1958
|
auth_names = ['api_key']
|
1759
1959
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1760
1960
|
:header_params => header_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -23,7 +23,7 @@ module BudgeaClient
|
|
23
23
|
#
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :expand
|
26
|
-
# @return [
|
26
|
+
# @return [InlineResponse20018]
|
27
27
|
def documenttypes_get(opts = {})
|
28
28
|
data, _status_code, _headers = documenttypes_get_with_http_info(opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module BudgeaClient
|
|
33
33
|
#
|
34
34
|
# @param [Hash] opts the optional parameters
|
35
35
|
# @option opts [String] :expand
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
|
37
37
|
def documenttypes_get_with_http_info(opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: DocumentsApi.documenttypes_get ...'
|
@@ -64,7 +64,7 @@ module BudgeaClient
|
|
64
64
|
:form_params => form_params,
|
65
65
|
:body => post_body,
|
66
66
|
:auth_names => auth_names,
|
67
|
-
:return_type => '
|
67
|
+
:return_type => 'InlineResponse20018')
|
68
68
|
if @api_client.config.debugging
|
69
69
|
@api_client.config.logger.debug "API called: DocumentsApi#documenttypes_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
70
|
end
|