budgea_client 5.0.4 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +19 -6
  4. data/budgea_openapi.json +1605 -1319
  5. data/config.json +1 -1
  6. data/docs/Account.md +1 -0
  7. data/docs/AdministrationApi.md +12 -12
  8. data/docs/BanksApi.md +263 -18
  9. data/docs/ConnectionsApi.md +251 -6
  10. data/docs/DocumentsApi.md +2 -2
  11. data/docs/InlineResponse20016.md +1 -1
  12. data/docs/InlineResponse20017.md +1 -1
  13. data/docs/InlineResponse20018.md +1 -1
  14. data/docs/InlineResponse20019.md +1 -1
  15. data/docs/InlineResponse20020.md +1 -1
  16. data/docs/InlineResponse20021.md +1 -1
  17. data/docs/InlineResponse20022.md +1 -1
  18. data/docs/InlineResponse20023.md +1 -1
  19. data/docs/InlineResponse20024.md +1 -1
  20. data/docs/InlineResponse20025.md +1 -1
  21. data/docs/InlineResponse20026.md +1 -1
  22. data/docs/InlineResponse20027.md +1 -1
  23. data/docs/InlineResponse20028.md +1 -1
  24. data/docs/InlineResponse20029.md +1 -1
  25. data/docs/InlineResponse20030.md +1 -1
  26. data/docs/PFMApi.md +9 -9
  27. data/docs/ProvidersApi.md +253 -8
  28. data/docs/TermsApi.md +72 -7
  29. data/docs/TransfersApi.md +24 -24
  30. data/docs/UsersManagementApi.md +2 -2
  31. data/docs/WealthApi.md +53 -37
  32. data/lib/budgea_client/api/administration_api.rb +13 -13
  33. data/lib/budgea_client/api/banks_api.rb +273 -27
  34. data/lib/budgea_client/api/connections_api.rb +255 -9
  35. data/lib/budgea_client/api/documents_api.rb +3 -3
  36. data/lib/budgea_client/api/pfm_api.rb +11 -11
  37. data/lib/budgea_client/api/providers_api.rb +258 -12
  38. data/lib/budgea_client/api/terms_api.rb +75 -9
  39. data/lib/budgea_client/api/transfers_api.rb +36 -36
  40. data/lib/budgea_client/api/users_management_api.rb +3 -3
  41. data/lib/budgea_client/api/wealth_api.rb +77 -53
  42. data/lib/budgea_client/models/account.rb +12 -1
  43. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  44. data/lib/budgea_client/models/inline_response_200_17.rb +18 -18
  45. data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
  46. data/lib/budgea_client/models/inline_response_200_19.rb +18 -18
  47. data/lib/budgea_client/models/inline_response_200_20.rb +18 -18
  48. data/lib/budgea_client/models/inline_response_200_21.rb +18 -18
  49. data/lib/budgea_client/models/inline_response_200_22.rb +11 -11
  50. data/lib/budgea_client/models/inline_response_200_23.rb +11 -11
  51. data/lib/budgea_client/models/inline_response_200_24.rb +18 -18
  52. data/lib/budgea_client/models/inline_response_200_25.rb +18 -18
  53. data/lib/budgea_client/models/inline_response_200_26.rb +11 -11
  54. data/lib/budgea_client/models/inline_response_200_27.rb +11 -11
  55. data/lib/budgea_client/models/inline_response_200_28.rb +11 -11
  56. data/lib/budgea_client/models/inline_response_200_29.rb +18 -18
  57. data/lib/budgea_client/models/inline_response_200_30.rb +11 -11
  58. data/lib/budgea_client/version.rb +1 -1
  59. data/original_budgea_openapi.json +1559 -1474
  60. metadata +2 -9
  61. data/config.yaml +0 -15
  62. data/pkg/budgea_client-2.0.1.gem +0 -0
  63. data/pkg/budgea_client-2.0.2.gem +0 -0
  64. data/pkg/budgea_client-3.0.0.gem +0 -0
  65. data/pkg/budgea_client-4.0.1.gem +0 -0
  66. data/pkg/budgea_client-4.0.2.gem +0 -0
  67. data/pkg/budgea_client-4.0.3.gem +0 -0
@@ -334,11 +334,257 @@ module BudgeaClient
334
334
  end
335
335
  return data, status_code, headers
336
336
  end
337
- # Get list of connectors
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.&lt;br&gt;&lt;br&gt;
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.&lt;br&gt;&lt;br&gt;
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.&lt;br&gt;&lt;br&gt;
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<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
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 => 'InlineResponse20016')
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 [InlineResponse20019]
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<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
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 => 'InlineResponse20019')
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 [InlineResponse20030]
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<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
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 => 'InlineResponse20030')
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
@@ -23,7 +23,7 @@ module BudgeaClient
23
23
  #
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [String] :expand
26
- # @return [InlineResponse20017]
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<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
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 => 'InlineResponse20017')
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
@@ -568,7 +568,7 @@ module BudgeaClient
568
568
  # @param id_account
569
569
  # @param [Hash] opts the optional parameters
570
570
  # @option opts [String] :expand
571
- # @return [InlineResponse20027]
571
+ # @return [InlineResponse20028]
572
572
  def users_id_user_accounts_id_account_operationsalert_get(id_user, id_account, opts = {})
573
573
  data, _status_code, _headers = users_id_user_accounts_id_account_operationsalert_get_with_http_info(id_user, id_account, opts)
574
574
  data
@@ -580,7 +580,7 @@ module BudgeaClient
580
580
  # @param id_account
581
581
  # @param [Hash] opts the optional parameters
582
582
  # @option opts [String] :expand
583
- # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
583
+ # @return [Array<(InlineResponse20028, Fixnum, Hash)>] InlineResponse20028 data, response status code and response headers
584
584
  def users_id_user_accounts_id_account_operationsalert_get_with_http_info(id_user, id_account, opts = {})
585
585
  if @api_client.config.debugging
586
586
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_accounts_id_account_operationsalert_get ...'
@@ -619,7 +619,7 @@ module BudgeaClient
619
619
  :form_params => form_params,
620
620
  :body => post_body,
621
621
  :auth_names => auth_names,
622
- :return_type => 'InlineResponse20027')
622
+ :return_type => 'InlineResponse20028')
623
623
  if @api_client.config.debugging
624
624
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_accounts_id_account_operationsalert_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
625
625
  end
@@ -1122,7 +1122,7 @@ module BudgeaClient
1122
1122
  # @param id_account
1123
1123
  # @param [Hash] opts the optional parameters
1124
1124
  # @option opts [String] :expand
1125
- # @return [InlineResponse20027]
1125
+ # @return [InlineResponse20028]
1126
1126
  def users_id_user_connections_id_connection_accounts_id_account_operationsalert_get(id_user, id_connection, id_account, opts = {})
1127
1127
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_operationsalert_get_with_http_info(id_user, id_connection, id_account, opts)
1128
1128
  data
@@ -1135,7 +1135,7 @@ module BudgeaClient
1135
1135
  # @param id_account
1136
1136
  # @param [Hash] opts the optional parameters
1137
1137
  # @option opts [String] :expand
1138
- # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
1138
+ # @return [Array<(InlineResponse20028, Fixnum, Hash)>] InlineResponse20028 data, response status code and response headers
1139
1139
  def users_id_user_connections_id_connection_accounts_id_account_operationsalert_get_with_http_info(id_user, id_connection, id_account, opts = {})
1140
1140
  if @api_client.config.debugging
1141
1141
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_connections_id_connection_accounts_id_account_operationsalert_get ...'
@@ -1178,7 +1178,7 @@ module BudgeaClient
1178
1178
  :form_params => form_params,
1179
1179
  :body => post_body,
1180
1180
  :auth_names => auth_names,
1181
- :return_type => 'InlineResponse20027')
1181
+ :return_type => 'InlineResponse20028')
1182
1182
  if @api_client.config.debugging
1183
1183
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_connections_id_connection_accounts_id_account_operationsalert_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1184
1184
  end
@@ -1259,7 +1259,7 @@ module BudgeaClient
1259
1259
  end
1260
1260
  return data, status_code, headers
1261
1261
  end
1262
- # Edit an alert on transactions or investements
1262
+ # Edit an alert on transactions or investments
1263
1263
  #
1264
1264
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1265
1265
  # @param id_connection
@@ -1278,7 +1278,7 @@ module BudgeaClient
1278
1278
  data
1279
1279
  end
1280
1280
 
1281
- # Edit an alert on transactions or investements
1281
+ # Edit an alert on transactions or investments
1282
1282
  #
1283
1283
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1284
1284
  # @param id_connection
@@ -1953,7 +1953,7 @@ module BudgeaClient
1953
1953
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1954
1954
  # @param [Hash] opts the optional parameters
1955
1955
  # @option opts [String] :expand
1956
- # @return [InlineResponse20027]
1956
+ # @return [InlineResponse20028]
1957
1957
  def users_id_user_operationsalert_get(id_user, opts = {})
1958
1958
  data, _status_code, _headers = users_id_user_operationsalert_get_with_http_info(id_user, opts)
1959
1959
  data
@@ -1964,7 +1964,7 @@ module BudgeaClient
1964
1964
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1965
1965
  # @param [Hash] opts the optional parameters
1966
1966
  # @option opts [String] :expand
1967
- # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
1967
+ # @return [Array<(InlineResponse20028, Fixnum, Hash)>] InlineResponse20028 data, response status code and response headers
1968
1968
  def users_id_user_operationsalert_get_with_http_info(id_user, opts = {})
1969
1969
  if @api_client.config.debugging
1970
1970
  @api_client.config.logger.debug 'Calling API: PFMApi.users_id_user_operationsalert_get ...'
@@ -1999,7 +1999,7 @@ module BudgeaClient
1999
1999
  :form_params => form_params,
2000
2000
  :body => post_body,
2001
2001
  :auth_names => auth_names,
2002
- :return_type => 'InlineResponse20027')
2002
+ :return_type => 'InlineResponse20028')
2003
2003
  if @api_client.config.debugging
2004
2004
  @api_client.config.logger.debug "API called: PFMApi#users_id_user_operationsalert_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2005
2005
  end
@@ -439,11 +439,257 @@ module BudgeaClient
439
439
  end
440
440
  return data, status_code, headers
441
441
  end
442
- # Get list of connectors
442
+ # Get connection sources
443
443
  #
444
+ # @param id_connection
444
445
  # @param [Hash] opts the optional parameters
445
446
  # @option opts [String] :expand
446
447
  # @return [InlineResponse20016]
448
+ def connections_id_connection_sources_get(id_connection, opts = {})
449
+ data, _status_code, _headers = connections_id_connection_sources_get_with_http_info(id_connection, opts)
450
+ data
451
+ end
452
+
453
+ # Get connection sources
454
+ #
455
+ # @param id_connection
456
+ # @param [Hash] opts the optional parameters
457
+ # @option opts [String] :expand
458
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
459
+ def connections_id_connection_sources_get_with_http_info(id_connection, opts = {})
460
+ if @api_client.config.debugging
461
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_get ...'
462
+ end
463
+ # verify the required parameter 'id_connection' is set
464
+ if @api_client.config.client_side_validation && id_connection.nil?
465
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_get"
466
+ end
467
+ # resource path
468
+ local_var_path = '/connections/{id_connection}/sources'.sub('{' + 'id_connection' + '}', id_connection.to_s)
469
+
470
+ # query parameters
471
+ query_params = {}
472
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
473
+
474
+ # header parameters
475
+ header_params = {}
476
+ # HTTP header 'Accept' (if needed)
477
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
478
+ # HTTP header 'Content-Type'
479
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
480
+
481
+ # form parameters
482
+ form_params = {}
483
+
484
+ # http body (model)
485
+ post_body = nil
486
+ auth_names = ['api_key']
487
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
488
+ :header_params => header_params,
489
+ :query_params => query_params,
490
+ :form_params => form_params,
491
+ :body => post_body,
492
+ :auth_names => auth_names,
493
+ :return_type => 'InlineResponse20016')
494
+ if @api_client.config.debugging
495
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
496
+ end
497
+ return data, status_code, headers
498
+ end
499
+ # Disable a connection source
500
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
501
+ # @param id_connection
502
+ # @param id_source
503
+ # @param [Hash] opts the optional parameters
504
+ # @option opts [String] :expand
505
+ # @return [ConnectionSource]
506
+ def connections_id_connection_sources_id_source_delete(id_connection, id_source, opts = {})
507
+ data, _status_code, _headers = connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts)
508
+ data
509
+ end
510
+
511
+ # Disable a connection source
512
+ # This will make it so the specified source will not be synchronized anymore.&lt;br&gt;&lt;br&gt;
513
+ # @param id_connection
514
+ # @param id_source
515
+ # @param [Hash] opts the optional parameters
516
+ # @option opts [String] :expand
517
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
518
+ def connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts = {})
519
+ if @api_client.config.debugging
520
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_id_source_delete ...'
521
+ end
522
+ # verify the required parameter 'id_connection' is set
523
+ if @api_client.config.client_side_validation && id_connection.nil?
524
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_id_source_delete"
525
+ end
526
+ # verify the required parameter 'id_source' is set
527
+ if @api_client.config.client_side_validation && id_source.nil?
528
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.connections_id_connection_sources_id_source_delete"
529
+ end
530
+ # resource path
531
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
532
+
533
+ # query parameters
534
+ query_params = {}
535
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
536
+
537
+ # header parameters
538
+ header_params = {}
539
+ # HTTP header 'Accept' (if needed)
540
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
541
+ # HTTP header 'Content-Type'
542
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
543
+
544
+ # form parameters
545
+ form_params = {}
546
+
547
+ # http body (model)
548
+ post_body = nil
549
+ auth_names = ['api_key']
550
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
551
+ :header_params => header_params,
552
+ :query_params => query_params,
553
+ :form_params => form_params,
554
+ :body => post_body,
555
+ :auth_names => auth_names,
556
+ :return_type => 'ConnectionSource')
557
+ if @api_client.config.debugging
558
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
559
+ end
560
+ return data, status_code, headers
561
+ end
562
+ # Enable connection source
563
+ # This will make it so the specified source will be able to be synchronized.<br><br>
564
+ # @param id_connection
565
+ # @param id_source
566
+ # @param [Hash] opts the optional parameters
567
+ # @option opts [String] :expand
568
+ # @return [ConnectionSource]
569
+ def connections_id_connection_sources_id_source_post(id_connection, id_source, opts = {})
570
+ data, _status_code, _headers = connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts)
571
+ data
572
+ end
573
+
574
+ # Enable connection source
575
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
576
+ # @param id_connection
577
+ # @param id_source
578
+ # @param [Hash] opts the optional parameters
579
+ # @option opts [String] :expand
580
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
581
+ def connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts = {})
582
+ if @api_client.config.debugging
583
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_id_source_post ...'
584
+ end
585
+ # verify the required parameter 'id_connection' is set
586
+ if @api_client.config.client_side_validation && id_connection.nil?
587
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_id_source_post"
588
+ end
589
+ # verify the required parameter 'id_source' is set
590
+ if @api_client.config.client_side_validation && id_source.nil?
591
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.connections_id_connection_sources_id_source_post"
592
+ end
593
+ # resource path
594
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
595
+
596
+ # query parameters
597
+ query_params = {}
598
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
599
+
600
+ # header parameters
601
+ header_params = {}
602
+ # HTTP header 'Accept' (if needed)
603
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
604
+ # HTTP header 'Content-Type'
605
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
606
+
607
+ # form parameters
608
+ form_params = {}
609
+
610
+ # http body (model)
611
+ post_body = nil
612
+ auth_names = ['api_key']
613
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
614
+ :header_params => header_params,
615
+ :query_params => query_params,
616
+ :form_params => form_params,
617
+ :body => post_body,
618
+ :auth_names => auth_names,
619
+ :return_type => 'ConnectionSource')
620
+ if @api_client.config.debugging
621
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
622
+ end
623
+ return data, status_code, headers
624
+ end
625
+ # Enable connection source
626
+ # This will make it so the specified source will be able to be synchronized.<br><br>
627
+ # @param id_connection
628
+ # @param id_source
629
+ # @param [Hash] opts the optional parameters
630
+ # @option opts [String] :expand
631
+ # @return [ConnectionSource]
632
+ def connections_id_connection_sources_id_source_put(id_connection, id_source, opts = {})
633
+ data, _status_code, _headers = connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts)
634
+ data
635
+ end
636
+
637
+ # Enable connection source
638
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
639
+ # @param id_connection
640
+ # @param id_source
641
+ # @param [Hash] opts the optional parameters
642
+ # @option opts [String] :expand
643
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
644
+ def connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts = {})
645
+ if @api_client.config.debugging
646
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.connections_id_connection_sources_id_source_put ...'
647
+ end
648
+ # verify the required parameter 'id_connection' is set
649
+ if @api_client.config.client_side_validation && id_connection.nil?
650
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.connections_id_connection_sources_id_source_put"
651
+ end
652
+ # verify the required parameter 'id_source' is set
653
+ if @api_client.config.client_side_validation && id_source.nil?
654
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ProvidersApi.connections_id_connection_sources_id_source_put"
655
+ end
656
+ # resource path
657
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
658
+
659
+ # query parameters
660
+ query_params = {}
661
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
662
+
663
+ # header parameters
664
+ header_params = {}
665
+ # HTTP header 'Accept' (if needed)
666
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
667
+ # HTTP header 'Content-Type'
668
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
669
+
670
+ # form parameters
671
+ form_params = {}
672
+
673
+ # http body (model)
674
+ post_body = nil
675
+ auth_names = ['api_key']
676
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
677
+ :header_params => header_params,
678
+ :query_params => query_params,
679
+ :form_params => form_params,
680
+ :body => post_body,
681
+ :auth_names => auth_names,
682
+ :return_type => 'ConnectionSource')
683
+ if @api_client.config.debugging
684
+ @api_client.config.logger.debug "API called: ProvidersApi#connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
685
+ end
686
+ return data, status_code, headers
687
+ end
688
+ # Get list of connectors
689
+ #
690
+ # @param [Hash] opts the optional parameters
691
+ # @option opts [String] :expand
692
+ # @return [InlineResponse20017]
447
693
  def connectors_get(opts = {})
448
694
  data, _status_code, _headers = connectors_get_with_http_info(opts)
449
695
  data
@@ -453,7 +699,7 @@ module BudgeaClient
453
699
  #
454
700
  # @param [Hash] opts the optional parameters
455
701
  # @option opts [String] :expand
456
- # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
702
+ # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
457
703
  def connectors_get_with_http_info(opts = {})
458
704
  if @api_client.config.debugging
459
705
  @api_client.config.logger.debug 'Calling API: ProvidersApi.connectors_get ...'
@@ -484,7 +730,7 @@ module BudgeaClient
484
730
  :form_params => form_params,
485
731
  :body => post_body,
486
732
  :auth_names => auth_names,
487
- :return_type => 'InlineResponse20016')
733
+ :return_type => 'InlineResponse20017')
488
734
  if @api_client.config.debugging
489
735
  @api_client.config.logger.debug "API called: ProvidersApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
490
736
  end
@@ -1118,7 +1364,7 @@ module BudgeaClient
1118
1364
  #
1119
1365
  # @param [Hash] opts the optional parameters
1120
1366
  # @option opts [String] :expand
1121
- # @return [InlineResponse20017]
1367
+ # @return [InlineResponse20018]
1122
1368
  def documenttypes_get(opts = {})
1123
1369
  data, _status_code, _headers = documenttypes_get_with_http_info(opts)
1124
1370
  data
@@ -1128,7 +1374,7 @@ module BudgeaClient
1128
1374
  #
1129
1375
  # @param [Hash] opts the optional parameters
1130
1376
  # @option opts [String] :expand
1131
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
1377
+ # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
1132
1378
  def documenttypes_get_with_http_info(opts = {})
1133
1379
  if @api_client.config.debugging
1134
1380
  @api_client.config.logger.debug 'Calling API: ProvidersApi.documenttypes_get ...'
@@ -1159,7 +1405,7 @@ module BudgeaClient
1159
1405
  :form_params => form_params,
1160
1406
  :body => post_body,
1161
1407
  :auth_names => auth_names,
1162
- :return_type => 'InlineResponse20017')
1408
+ :return_type => 'InlineResponse20018')
1163
1409
  if @api_client.config.debugging
1164
1410
  @api_client.config.logger.debug "API called: ProvidersApi#documenttypes_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1165
1411
  end
@@ -1384,7 +1630,7 @@ module BudgeaClient
1384
1630
  #
1385
1631
  # @param [Hash] opts the optional parameters
1386
1632
  # @option opts [String] :expand
1387
- # @return [InlineResponse20019]
1633
+ # @return [InlineResponse20020]
1388
1634
  def providers_get(opts = {})
1389
1635
  data, _status_code, _headers = providers_get_with_http_info(opts)
1390
1636
  data
@@ -1394,7 +1640,7 @@ module BudgeaClient
1394
1640
  #
1395
1641
  # @param [Hash] opts the optional parameters
1396
1642
  # @option opts [String] :expand
1397
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
1643
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
1398
1644
  def providers_get_with_http_info(opts = {})
1399
1645
  if @api_client.config.debugging
1400
1646
  @api_client.config.logger.debug 'Calling API: ProvidersApi.providers_get ...'
@@ -1425,7 +1671,7 @@ module BudgeaClient
1425
1671
  :form_params => form_params,
1426
1672
  :body => post_body,
1427
1673
  :auth_names => auth_names,
1428
- :return_type => 'InlineResponse20019')
1674
+ :return_type => 'InlineResponse20020')
1429
1675
  if @api_client.config.debugging
1430
1676
  @api_client.config.logger.debug "API called: ProvidersApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1431
1677
  end
@@ -4926,7 +5172,7 @@ module BudgeaClient
4926
5172
  # @param id_connection
4927
5173
  # @param [Hash] opts the optional parameters
4928
5174
  # @option opts [String] :expand
4929
- # @return [InlineResponse20030]
5175
+ # @return [InlineResponse20016]
4930
5176
  def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
4931
5177
  data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
4932
5178
  data
@@ -4938,7 +5184,7 @@ module BudgeaClient
4938
5184
  # @param id_connection
4939
5185
  # @param [Hash] opts the optional parameters
4940
5186
  # @option opts [String] :expand
4941
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
5187
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
4942
5188
  def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
4943
5189
  if @api_client.config.debugging
4944
5190
  @api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_sources_get ...'
@@ -4977,7 +5223,7 @@ module BudgeaClient
4977
5223
  :form_params => form_params,
4978
5224
  :body => post_body,
4979
5225
  :auth_names => auth_names,
4980
- :return_type => 'InlineResponse20030')
5226
+ :return_type => 'InlineResponse20016')
4981
5227
  if @api_client.config.debugging
4982
5228
  @api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4983
5229
  end