budgea_client 5.2.0 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/budgea_openapi.json +8 -41
  4. data/docs/BanksApi.md +3 -13
  5. data/docs/ConnectionsApi.md +3 -13
  6. data/docs/ProvidersApi.md +3 -13
  7. data/lib/budgea_client/api/banks_api.rb +4 -20
  8. data/lib/budgea_client/api/connections_api.rb +4 -20
  9. data/lib/budgea_client/api/providers_api.rb +4 -20
  10. data/lib/budgea_client/version.rb +1 -1
  11. data/spec/api/administration_api_spec.rb +85 -15
  12. data/spec/api/authentication_api_spec.rb +4 -3
  13. data/spec/api/banks_api_spec.rb +298 -54
  14. data/spec/api/connections_api_spec.rb +219 -26
  15. data/spec/api/documents_api_spec.rb +14 -14
  16. data/spec/api/ocr_api_spec.rb +1 -1
  17. data/spec/api/oidc_api_spec.rb +1 -1
  18. data/spec/api/pfm_api_spec.rb +17 -6
  19. data/spec/api/providers_api_spec.rb +297 -40
  20. data/spec/api/recipients_api_spec.rb +1 -1
  21. data/spec/api/terms_api_spec.rb +20 -4
  22. data/spec/api/transfer_api_spec.rb +1 -1
  23. data/spec/api/transfers_api_spec.rb +13 -13
  24. data/spec/api/users_management_api_spec.rb +3 -3
  25. data/spec/api/wealth_api_spec.rb +27 -19
  26. data/spec/api_client_spec.rb +18 -1
  27. data/spec/configuration_spec.rb +1 -1
  28. data/spec/models/access_spec.rb +1 -1
  29. data/spec/models/account_log_spec.rb +7 -1
  30. data/spec/models/account_spec.rb +25 -1
  31. data/spec/models/account_type_spec.rb +1 -1
  32. data/spec/models/alert_spec.rb +1 -1
  33. data/spec/models/auth_provider_spec.rb +1 -1
  34. data/spec/models/category_spec.rb +1 -1
  35. data/spec/models/certificate_spec.rb +1 -1
  36. data/spec/models/client_spec.rb +2 -2
  37. data/spec/models/config_log_spec.rb +1 -1
  38. data/spec/models/connection_log_spec.rb +7 -1
  39. data/spec/models/connection_source_spec.rb +1 -1
  40. data/spec/models/connection_spec.rb +41 -1
  41. data/spec/models/connector_category_spec.rb +1 -1
  42. data/spec/models/connector_logo_spec.rb +1 -1
  43. data/spec/models/connector_source_spec.rb +1 -1
  44. data/spec/models/connector_spec.rb +7 -7
  45. data/spec/models/currency_spec.rb +1 -1
  46. data/spec/models/device_spec.rb +1 -1
  47. data/spec/models/document_spec.rb +1 -1
  48. data/spec/models/document_type_spec.rb +1 -1
  49. data/spec/models/field_spec.rb +7 -1
  50. data/spec/models/field_value_spec.rb +1 -1
  51. data/spec/models/file_spec.rb +1 -1
  52. data/spec/models/group_spec.rb +1 -1
  53. data/spec/models/hash_table_spec.rb +1 -1
  54. data/spec/models/inline_response_200_10_spec.rb +1 -1
  55. data/spec/models/inline_response_200_11_spec.rb +3 -3
  56. data/spec/models/inline_response_200_12_spec.rb +2 -2
  57. data/spec/models/inline_response_200_13_spec.rb +2 -2
  58. data/spec/models/inline_response_200_14_spec.rb +3 -3
  59. data/spec/models/inline_response_200_15_spec.rb +2 -2
  60. data/spec/models/inline_response_200_16_spec.rb +2 -2
  61. data/spec/models/inline_response_200_17_spec.rb +3 -3
  62. data/spec/models/inline_response_200_18_spec.rb +2 -2
  63. data/spec/models/inline_response_200_19_spec.rb +8 -2
  64. data/spec/models/inline_response_200_1_spec.rb +1 -1
  65. data/spec/models/inline_response_200_20_spec.rb +3 -3
  66. data/spec/models/inline_response_200_21_spec.rb +3 -3
  67. data/spec/models/inline_response_200_22_spec.rb +2 -2
  68. data/spec/models/inline_response_200_23_spec.rb +2 -2
  69. data/spec/models/inline_response_200_24_spec.rb +3 -3
  70. data/spec/models/inline_response_200_25_spec.rb +3 -3
  71. data/spec/models/inline_response_200_26_spec.rb +2 -2
  72. data/spec/models/inline_response_200_27_spec.rb +2 -2
  73. data/spec/models/inline_response_200_28_spec.rb +2 -2
  74. data/spec/models/inline_response_200_29_spec.rb +3 -3
  75. data/spec/models/inline_response_200_2_spec.rb +1 -1
  76. data/spec/models/inline_response_200_30_spec.rb +3 -3
  77. data/spec/models/inline_response_200_31_spec.rb +2 -2
  78. data/spec/models/inline_response_200_32_spec.rb +3 -3
  79. data/spec/models/inline_response_200_33_spec.rb +3 -3
  80. data/spec/models/inline_response_200_34_spec.rb +2 -2
  81. data/spec/models/inline_response_200_35_spec.rb +3 -3
  82. data/spec/models/inline_response_200_36_spec.rb +3 -3
  83. data/spec/models/inline_response_200_37_spec.rb +2 -2
  84. data/spec/models/inline_response_200_38_spec.rb +3 -3
  85. data/spec/models/inline_response_200_39_spec.rb +2 -2
  86. data/spec/models/inline_response_200_3_spec.rb +1 -1
  87. data/spec/models/inline_response_200_40_spec.rb +3 -3
  88. data/spec/models/inline_response_200_41_spec.rb +1 -1
  89. data/spec/models/inline_response_200_42_spec.rb +1 -1
  90. data/spec/models/inline_response_200_4_spec.rb +1 -1
  91. data/spec/models/inline_response_200_5_spec.rb +1 -1
  92. data/spec/models/inline_response_200_6_spec.rb +1 -1
  93. data/spec/models/inline_response_200_7_spec.rb +1 -1
  94. data/spec/models/inline_response_200_8_spec.rb +1 -1
  95. data/spec/models/inline_response_200_9_spec.rb +1 -1
  96. data/spec/models/inline_response_200_spec.rb +1 -1
  97. data/spec/models/investment_spec.rb +1 -1
  98. data/spec/models/investment_value_spec.rb +1 -1
  99. data/spec/models/keyword_spec.rb +1 -1
  100. data/spec/models/locked_user_spec.rb +1 -1
  101. data/spec/models/oidc_whitelist_spec.rb +1 -1
  102. data/spec/models/order_spec.rb +1 -1
  103. data/spec/models/pocket_spec.rb +1 -1
  104. data/spec/models/profile_spec.rb +1 -1
  105. data/spec/models/project_spec.rb +1 -1
  106. data/spec/models/project_type_spec.rb +1 -1
  107. data/spec/models/recipient_log_spec.rb +1 -1
  108. data/spec/models/recipient_spec.rb +1 -1
  109. data/spec/models/security_spec.rb +1 -1
  110. data/spec/models/subscription_log_spec.rb +1 -1
  111. data/spec/models/subscription_spec.rb +7 -1
  112. data/spec/models/terms_of_service_spec.rb +1 -1
  113. data/spec/models/transaction_information_spec.rb +1 -1
  114. data/spec/models/transaction_spec.rb +7 -1
  115. data/spec/models/transactions_cluster_spec.rb +1 -1
  116. data/spec/models/transfer_log_spec.rb +1 -1
  117. data/spec/models/transfer_spec.rb +25 -1
  118. data/spec/models/user_alert_spec.rb +1 -1
  119. data/spec/models/user_spec.rb +2 -2
  120. data/spec/models/webhook_data_spec.rb +1 -1
  121. data/spec/models/webhook_log_spec.rb +1 -1
  122. data/spec/models/webhook_spec.rb +1 -1
  123. data/spec/spec_helper.rb +1 -1
  124. metadata +2 -9
  125. data/docs/HUBApi.md +0 -62
  126. data/docs/Invite.md +0 -13
  127. data/pkg/budgea_client-5.0.3.gem +0 -0
  128. data/spec/api/hub_api_spec.rb +0 -47
  129. data/spec/models/invite_spec.rb +0 -71
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f7a595e319f0a1903ed6f8002f200d99473944e6a748dcc12c5c64cb13a75cd
4
- data.tar.gz: 7bfafe4bec4683643ac484c7bcab70f36e50691653e74787efc4461f5c162e26
3
+ metadata.gz: 4efd77f2494957342c705088d9a8a57a33ed726e76d9cbafb40dce8d6d66dc7e
4
+ data.tar.gz: ce3568d9babbe9d9a00b71c042f339ee593ef26d52b509918521c2deb0ea8db8
5
5
  SHA512:
6
- metadata.gz: 437ba401b2ab3c76a8b015ac35f8e5631838d9a87d90c34dde7e1fa69ea714888522472b8985c03f63425542b245ef329d01346919882336f1d66068527d41e6
7
- data.tar.gz: 867e678f09f71c31cd6652a3549817da5a42ad0e8435a81080d13692d1d600fbb8b1f1e34798980e069e2ad0dd38c3ff1f027f58897cf2ea263c99ba14526be3
6
+ metadata.gz: 1e69206a4e1721c1ad81748ba1c861bccca950e3353131af7bceaec8bb9dc31903f533338e0bbfa4f547c94d40580b76769e15e7b245872d457964fd7beb347e
7
+ data.tar.gz: cd567619ca4b93846640276a9afcb8355d79bf7a73c956610c90cf68fc226de868e19973862f1e491cb6bf973ea9d627e7ff397801c03a8d9b3263ebea77d3f0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- budgea_client (5.2.0)
4
+ budgea_client (5.3.1)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -8624,51 +8624,18 @@
8624
8624
  "description": ""
8625
8625
  },
8626
8626
  {
8627
- "required": false,
8628
- "in": "formData",
8629
- "type": "boolean",
8630
- "name": "active",
8631
- "description": "Set if the connection synchronisation is active"
8632
- },
8633
- {
8634
- "name": "expire",
8635
- "format": "date-time",
8636
- "required": false,
8637
- "in": "formData",
8638
- "type": "string",
8639
- "description": "Set expiration of the connection to this date"
8640
- },
8641
- {
8642
- "required": false,
8643
- "in": "formData",
8644
- "type": "string",
8645
- "name": "login",
8646
- "description": "Set login to this new login"
8647
- },
8648
- {
8649
- "required": false,
8650
- "in": "formData",
8651
- "type": "string",
8652
- "name": "password",
8653
- "description": "Set password to this new password"
8654
- },
8655
- {
8656
- "required": false,
8657
- "in": "formData",
8658
- "type": "boolean",
8659
- "name": "decoupled",
8660
- "description": "Try to update a connection with the decoupled error"
8661
- },
8662
- {
8663
- "required": false,
8664
- "type": "string",
8665
- "name": "expand",
8666
- "in": "query"
8627
+ "in": "body",
8628
+ "name": "connection",
8629
+ "schema": {
8630
+ "additionalProperties": {
8631
+ "type": "string"
8632
+ }
8633
+ }
8667
8634
  }
8668
8635
  ],
8669
8636
  "summary": "Update a connection.",
8670
8637
  "consumes": [
8671
- "application/x-www-form-urlencoded"
8638
+ "application/json"
8672
8639
  ]
8673
8640
  },
8674
8641
  "put": {
@@ -6664,12 +6664,7 @@ id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
6664
6664
  id_connection = 56 # Integer |
6665
6665
 
6666
6666
  opts = {
6667
- active: true, # BOOLEAN | Set if the connection synchronisation is active
6668
- expire: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Set expiration of the connection to this date
6669
- login: 'login_example', # String | Set login to this new login
6670
- password: 'password_example', # String | Set password to this new password
6671
- decoupled: true, # BOOLEAN | Try to update a connection with the decoupled error
6672
- expand: 'expand_example' # String |
6667
+ connection: nil # Object |
6673
6668
  }
6674
6669
 
6675
6670
  begin
@@ -6687,12 +6682,7 @@ Name | Type | Description | Notes
6687
6682
  ------------- | ------------- | ------------- | -------------
6688
6683
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
6689
6684
  **id_connection** | **Integer**| |
6690
- **active** | **BOOLEAN**| Set if the connection synchronisation is active | [optional]
6691
- **expire** | **DateTime**| Set expiration of the connection to this date | [optional]
6692
- **login** | **String**| Set login to this new login | [optional]
6693
- **password** | **String**| Set password to this new password | [optional]
6694
- **decoupled** | **BOOLEAN**| Try to update a connection with the decoupled error | [optional]
6695
- **expand** | **String**| | [optional]
6685
+ **connection** | **Object**| | [optional]
6696
6686
 
6697
6687
  ### Return type
6698
6688
 
@@ -6704,7 +6694,7 @@ Name | Type | Description | Notes
6704
6694
 
6705
6695
  ### HTTP request headers
6706
6696
 
6707
- - **Content-Type**: application/x-www-form-urlencoded
6697
+ - **Content-Type**: application/json
6708
6698
  - **Accept**: application/json
6709
6699
 
6710
6700
 
@@ -1500,12 +1500,7 @@ id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
1500
1500
  id_connection = 56 # Integer |
1501
1501
 
1502
1502
  opts = {
1503
- active: true, # BOOLEAN | Set if the connection synchronisation is active
1504
- expire: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Set expiration of the connection to this date
1505
- login: 'login_example', # String | Set login to this new login
1506
- password: 'password_example', # String | Set password to this new password
1507
- decoupled: true, # BOOLEAN | Try to update a connection with the decoupled error
1508
- expand: 'expand_example' # String |
1503
+ connection: nil # Object |
1509
1504
  }
1510
1505
 
1511
1506
  begin
@@ -1523,12 +1518,7 @@ Name | Type | Description | Notes
1523
1518
  ------------- | ------------- | ------------- | -------------
1524
1519
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
1525
1520
  **id_connection** | **Integer**| |
1526
- **active** | **BOOLEAN**| Set if the connection synchronisation is active | [optional]
1527
- **expire** | **DateTime**| Set expiration of the connection to this date | [optional]
1528
- **login** | **String**| Set login to this new login | [optional]
1529
- **password** | **String**| Set password to this new password | [optional]
1530
- **decoupled** | **BOOLEAN**| Try to update a connection with the decoupled error | [optional]
1531
- **expand** | **String**| | [optional]
1521
+ **connection** | **Object**| | [optional]
1532
1522
 
1533
1523
  ### Return type
1534
1524
 
@@ -1540,7 +1530,7 @@ Name | Type | Description | Notes
1540
1530
 
1541
1531
  ### HTTP request headers
1542
1532
 
1543
- - **Content-Type**: application/x-www-form-urlencoded
1533
+ - **Content-Type**: application/json
1544
1534
  - **Accept**: application/json
1545
1535
 
1546
1536
 
@@ -4722,12 +4722,7 @@ id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
4722
4722
  id_connection = 56 # Integer |
4723
4723
 
4724
4724
  opts = {
4725
- active: true, # BOOLEAN | Set if the connection synchronisation is active
4726
- expire: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Set expiration of the connection to this date
4727
- login: 'login_example', # String | Set login to this new login
4728
- password: 'password_example', # String | Set password to this new password
4729
- decoupled: true, # BOOLEAN | Try to update a connection with the decoupled error
4730
- expand: 'expand_example' # String |
4725
+ connection: nil # Object |
4731
4726
  }
4732
4727
 
4733
4728
  begin
@@ -4745,12 +4740,7 @@ Name | Type | Description | Notes
4745
4740
  ------------- | ------------- | ------------- | -------------
4746
4741
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
4747
4742
  **id_connection** | **Integer**| |
4748
- **active** | **BOOLEAN**| Set if the connection synchronisation is active | [optional]
4749
- **expire** | **DateTime**| Set expiration of the connection to this date | [optional]
4750
- **login** | **String**| Set login to this new login | [optional]
4751
- **password** | **String**| Set password to this new password | [optional]
4752
- **decoupled** | **BOOLEAN**| Try to update a connection with the decoupled error | [optional]
4753
- **expand** | **String**| | [optional]
4743
+ **connection** | **Object**| | [optional]
4754
4744
 
4755
4745
  ### Return type
4756
4746
 
@@ -4762,7 +4752,7 @@ Name | Type | Description | Notes
4762
4752
 
4763
4753
  ### HTTP request headers
4764
4754
 
4765
- - **Content-Type**: application/x-www-form-urlencoded
4755
+ - **Content-Type**: application/json
4766
4756
  - **Accept**: application/json
4767
4757
 
4768
4758
 
@@ -6883,12 +6883,7 @@ module BudgeaClient
6883
6883
  # @param id_user Hint: you can use 'me' or 'all'
6884
6884
  # @param id_connection
6885
6885
  # @param [Hash] opts the optional parameters
6886
- # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
6887
- # @option opts [DateTime] :expire Set expiration of the connection to this date
6888
- # @option opts [String] :login Set login to this new login
6889
- # @option opts [String] :password Set password to this new password
6890
- # @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
6891
- # @option opts [String] :expand
6886
+ # @option opts [Object] :connection
6892
6887
  # @return [Connection]
6893
6888
  def users_id_user_connections_id_connection_post(id_user, id_connection, opts = {})
6894
6889
  data, _status_code, _headers = users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts)
@@ -6900,12 +6895,7 @@ module BudgeaClient
6900
6895
  # @param id_user Hint: you can use 'me' or 'all'
6901
6896
  # @param id_connection
6902
6897
  # @param [Hash] opts the optional parameters
6903
- # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
6904
- # @option opts [DateTime] :expire Set expiration of the connection to this date
6905
- # @option opts [String] :login Set login to this new login
6906
- # @option opts [String] :password Set password to this new password
6907
- # @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
6908
- # @option opts [String] :expand
6898
+ # @option opts [Object] :connection
6909
6899
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
6910
6900
  def users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts = {})
6911
6901
  if @api_client.config.debugging
@@ -6924,25 +6914,19 @@ module BudgeaClient
6924
6914
 
6925
6915
  # query parameters
6926
6916
  query_params = {}
6927
- query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
6928
6917
 
6929
6918
  # header parameters
6930
6919
  header_params = {}
6931
6920
  # HTTP header 'Accept' (if needed)
6932
6921
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6933
6922
  # HTTP header 'Content-Type'
6934
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
6923
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6935
6924
 
6936
6925
  # form parameters
6937
6926
  form_params = {}
6938
- form_params['active'] = opts[:'active'] if !opts[:'active'].nil?
6939
- form_params['expire'] = opts[:'expire'] if !opts[:'expire'].nil?
6940
- form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
6941
- form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
6942
- form_params['decoupled'] = opts[:'decoupled'] if !opts[:'decoupled'].nil?
6943
6927
 
6944
6928
  # http body (model)
6945
- post_body = nil
6929
+ post_body = @api_client.object_to_http_body(opts[:'connection'])
6946
6930
  auth_names = ['api_key']
6947
6931
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
6948
6932
  :header_params => header_params,
@@ -1500,12 +1500,7 @@ module BudgeaClient
1500
1500
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1501
1501
  # @param id_connection
1502
1502
  # @param [Hash] opts the optional parameters
1503
- # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
1504
- # @option opts [DateTime] :expire Set expiration of the connection to this date
1505
- # @option opts [String] :login Set login to this new login
1506
- # @option opts [String] :password Set password to this new password
1507
- # @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
1508
- # @option opts [String] :expand
1503
+ # @option opts [Object] :connection
1509
1504
  # @return [Connection]
1510
1505
  def users_id_user_connections_id_connection_post(id_user, id_connection, opts = {})
1511
1506
  data, _status_code, _headers = users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts)
@@ -1517,12 +1512,7 @@ module BudgeaClient
1517
1512
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1518
1513
  # @param id_connection
1519
1514
  # @param [Hash] opts the optional parameters
1520
- # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
1521
- # @option opts [DateTime] :expire Set expiration of the connection to this date
1522
- # @option opts [String] :login Set login to this new login
1523
- # @option opts [String] :password Set password to this new password
1524
- # @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
1525
- # @option opts [String] :expand
1515
+ # @option opts [Object] :connection
1526
1516
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
1527
1517
  def users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts = {})
1528
1518
  if @api_client.config.debugging
@@ -1541,25 +1531,19 @@ module BudgeaClient
1541
1531
 
1542
1532
  # query parameters
1543
1533
  query_params = {}
1544
- query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1545
1534
 
1546
1535
  # header parameters
1547
1536
  header_params = {}
1548
1537
  # HTTP header 'Accept' (if needed)
1549
1538
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1550
1539
  # HTTP header 'Content-Type'
1551
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1540
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1552
1541
 
1553
1542
  # form parameters
1554
1543
  form_params = {}
1555
- form_params['active'] = opts[:'active'] if !opts[:'active'].nil?
1556
- form_params['expire'] = opts[:'expire'] if !opts[:'expire'].nil?
1557
- form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
1558
- form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
1559
- form_params['decoupled'] = opts[:'decoupled'] if !opts[:'decoupled'].nil?
1560
1544
 
1561
1545
  # http body (model)
1562
- post_body = nil
1546
+ post_body = @api_client.object_to_http_body(opts[:'connection'])
1563
1547
  auth_names = ['api_key']
1564
1548
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1565
1549
  :header_params => header_params,
@@ -5030,12 +5030,7 @@ module BudgeaClient
5030
5030
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5031
5031
  # @param id_connection
5032
5032
  # @param [Hash] opts the optional parameters
5033
- # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
5034
- # @option opts [DateTime] :expire Set expiration of the connection to this date
5035
- # @option opts [String] :login Set login to this new login
5036
- # @option opts [String] :password Set password to this new password
5037
- # @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
5038
- # @option opts [String] :expand
5033
+ # @option opts [Object] :connection
5039
5034
  # @return [Connection]
5040
5035
  def users_id_user_connections_id_connection_post(id_user, id_connection, opts = {})
5041
5036
  data, _status_code, _headers = users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts)
@@ -5047,12 +5042,7 @@ module BudgeaClient
5047
5042
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
5048
5043
  # @param id_connection
5049
5044
  # @param [Hash] opts the optional parameters
5050
- # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
5051
- # @option opts [DateTime] :expire Set expiration of the connection to this date
5052
- # @option opts [String] :login Set login to this new login
5053
- # @option opts [String] :password Set password to this new password
5054
- # @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
5055
- # @option opts [String] :expand
5045
+ # @option opts [Object] :connection
5056
5046
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
5057
5047
  def users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts = {})
5058
5048
  if @api_client.config.debugging
@@ -5071,25 +5061,19 @@ module BudgeaClient
5071
5061
 
5072
5062
  # query parameters
5073
5063
  query_params = {}
5074
- query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
5075
5064
 
5076
5065
  # header parameters
5077
5066
  header_params = {}
5078
5067
  # HTTP header 'Accept' (if needed)
5079
5068
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5080
5069
  # HTTP header 'Content-Type'
5081
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
5070
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5082
5071
 
5083
5072
  # form parameters
5084
5073
  form_params = {}
5085
- form_params['active'] = opts[:'active'] if !opts[:'active'].nil?
5086
- form_params['expire'] = opts[:'expire'] if !opts[:'expire'].nil?
5087
- form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
5088
- form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
5089
- form_params['decoupled'] = opts[:'decoupled'] if !opts[:'decoupled'].nil?
5090
5074
 
5091
5075
  # http body (model)
5092
- post_body = nil
5076
+ post_body = @api_client.object_to_http_body(opts[:'connection'])
5093
5077
  auth_names = ['api_key']
5094
5078
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5095
5079
  :header_params => header_params,
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.14
11
11
  =end
12
12
 
13
13
  module BudgeaClient
14
- VERSION = '5.2.0'
14
+ VERSION = '5.3.1'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'AdministrationApi' do
37
37
  #
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :expand
40
- # @return [InlineResponse20012]
40
+ # @return [InlineResponse20013]
41
41
  describe 'clients_get test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -59,7 +59,7 @@ describe 'AdministrationApi' do
59
59
 
60
60
  # unit tests for clients_id_client_get
61
61
  # Get information about a client
62
- # If you use the manage_token or a configuration token, you will get also the client_secret&lt;br&gt;&lt;br&gt;
62
+ # If you use the manage_token or a configuration token, you will get also the client secret.&lt;br&gt;&lt;br&gt;
63
63
  # @param id_client
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @option opts [String] :expand
@@ -104,7 +104,7 @@ describe 'AdministrationApi' do
104
104
  # @option opts [BOOLEAN] :generate_keys set a rsa key pair for the client, which make it possible to generate a jwt user token using this client. No effect if the client already has a set of keys(default: False)
105
105
  # @option opts [String] :name name of client
106
106
  # @option opts [BOOLEAN] :secret reset the secret
107
- # @option opts [String] :redirect_uri redirect_uri
107
+ # @option opts [String] :redirect_uris list of allowed redirect uris
108
108
  # @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
109
109
  # @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
110
110
  # @option opts [String] :description text to display as a default description
@@ -127,7 +127,7 @@ describe 'AdministrationApi' do
127
127
  # @param [Hash] opts the optional parameters
128
128
  # @option opts [BOOLEAN] :generate_keys if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)
129
129
  # @option opts [String] :name name of client
130
- # @option opts [String] :redirect_uri redirect_uri
130
+ # @option opts [String] :redirect_uris list of allowed redirect uris
131
131
  # @option opts [String] :config custom config about the client
132
132
  # @option opts [String] :expand
133
133
  # @return [Client]
@@ -158,7 +158,7 @@ describe 'AdministrationApi' do
158
158
  # @option opts [Date] :min_date minimal date of the change
159
159
  # @option opts [Date] :max_date maximum date of the change
160
160
  # @option opts [String] :expand
161
- # @return [InlineResponse20013]
161
+ # @return [InlineResponse20014]
162
162
  describe 'config_logs_get test' do
163
163
  it 'should work' do
164
164
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -182,7 +182,7 @@ describe 'AdministrationApi' do
182
182
  #
183
183
  # @param [Hash] opts the optional parameters
184
184
  # @option opts [String] :expand
185
- # @return [InlineResponse20012]
185
+ # @return [InlineResponse20013]
186
186
  describe 'merchants_get test' do
187
187
  it 'should work' do
188
188
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -219,7 +219,7 @@ describe 'AdministrationApi' do
219
219
  # Create a merchant. Needs a user identified in bearer to be used
220
220
  #
221
221
  # @param name name of merchant
222
- # @param redirect_uri regexp to check if given redirect_uri are authorized
222
+ # @param redirect_uris list of allowed redirect uris
223
223
  # @param iban payments initiated by this merchant will be done to this IBAN
224
224
  # @param [Hash] opts the optional parameters
225
225
  # @option opts [String] :expand
@@ -281,7 +281,7 @@ describe 'AdministrationApi' do
281
281
  #
282
282
  # @param [Hash] opts the optional parameters
283
283
  # @option opts [String] :expand
284
- # @return [InlineResponse20039]
284
+ # @return [InlineResponse20041]
285
285
  describe 'webhooks_auth_get test' do
286
286
  it 'should work' do
287
287
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -365,25 +365,94 @@ describe 'AdministrationApi' do
365
365
  #
366
366
  # @param [Hash] opts the optional parameters
367
367
  # @option opts [String] :expand
368
- # @return [InlineResponse20038]
368
+ # @return [InlineResponse20040]
369
369
  describe 'webhooks_get test' do
370
370
  it 'should work' do
371
371
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
372
372
  end
373
373
  end
374
374
 
375
+ # unit tests for webhooks_id_webhook_add_to_data_delete
376
+ # delete all entries
377
+ #
378
+ # @param id_webhook
379
+ # @param [Hash] opts the optional parameters
380
+ # @option opts [String] :expand
381
+ # @return [Webhook]
382
+ describe 'webhooks_id_webhook_add_to_data_delete test' do
383
+ it 'should work' do
384
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
385
+ end
386
+ end
387
+
375
388
  # unit tests for webhooks_id_webhook_add_to_data_get
376
389
  # retrieve the list of the value to add in webhooks when sending the requested webhook
377
390
  #
378
391
  # @param id_webhook
379
392
  # @param [Hash] opts the optional parameters
380
- # @return [nil]
393
+ # @option opts [String] :expand
394
+ # @return [InlineResponse20040]
381
395
  describe 'webhooks_id_webhook_add_to_data_get test' do
382
396
  it 'should work' do
383
397
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
384
398
  end
385
399
  end
386
400
 
401
+ # unit tests for webhooks_id_webhook_add_to_data_key_delete
402
+ # delete the requested entry
403
+ #
404
+ # @param id_webhook
405
+ # @param key
406
+ # @param [Hash] opts the optional parameters
407
+ # @option opts [String] :expand
408
+ # @return [Webhook]
409
+ describe 'webhooks_id_webhook_add_to_data_key_delete test' do
410
+ it 'should work' do
411
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
412
+ end
413
+ end
414
+
415
+ # unit tests for webhooks_id_webhook_add_to_data_key_get
416
+ # retrieve the value to add in the requested webhook for the requested name
417
+ #
418
+ # @param id_webhook
419
+ # @param key
420
+ # @param [Hash] opts the optional parameters
421
+ # @option opts [String] :expand
422
+ # @return [Webhook]
423
+ describe 'webhooks_id_webhook_add_to_data_key_get test' do
424
+ it 'should work' do
425
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
426
+ end
427
+ end
428
+
429
+ # unit tests for webhooks_id_webhook_add_to_data_key_post
430
+ # upate the requested field to store in user config when calling the endpoint
431
+ # For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.&lt;br&gt;&lt;br&gt;
432
+ # @param id_webhook
433
+ # @param key
434
+ # @param [Hash] opts the optional parameters
435
+ # @option opts [String] :expand
436
+ # @return [Webhook]
437
+ describe 'webhooks_id_webhook_add_to_data_key_post test' do
438
+ it 'should work' do
439
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
440
+ end
441
+ end
442
+
443
+ # unit tests for webhooks_id_webhook_add_to_data_post
444
+ # Setup a field to store in user config when calling the endpoint
445
+ # For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.&lt;br&gt;&lt;br&gt;
446
+ # @param id_webhook
447
+ # @param [Hash] opts the optional parameters
448
+ # @option opts [String] :expand
449
+ # @return [Webhook]
450
+ describe 'webhooks_id_webhook_add_to_data_post test' do
451
+ it 'should work' do
452
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
453
+ end
454
+ end
455
+
387
456
  # unit tests for webhooks_id_webhook_delete
388
457
  # Deletes a webhook
389
458
  # Updates the deleted field with the date of the deletion&lt;br&gt;&lt;br&gt;
@@ -402,12 +471,13 @@ describe 'AdministrationApi' do
402
471
  # Get logs of the webhooks.&lt;br&gt;&lt;br&gt;By default, it selects logs for the last month. You can use \&quot;min_date\&quot; and \&quot;max_date\&quot; to change boundary dates.&lt;br&gt;&lt;br&gt;
403
472
  # @param id_webhook
404
473
  # @param [Hash] opts the optional parameters
474
+ # @option opts [Integer] :id_user limit number of results to this user
405
475
  # @option opts [Integer] :limit limit number of results
406
476
  # @option opts [Integer] :offset offset of first result
407
477
  # @option opts [Date] :min_date minimal (inclusive) date
408
478
  # @option opts [Date] :max_date maximum (inclusive) date
409
479
  # @option opts [String] :expand
410
- # @return [InlineResponse20040]
480
+ # @return [InlineResponse20042]
411
481
  describe 'webhooks_id_webhook_logs_get test' do
412
482
  it 'should work' do
413
483
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -423,7 +493,7 @@ describe 'AdministrationApi' do
423
493
  # @option opts [Integer] :id_user The user ID to associate with the webhook
424
494
  # @option opts [Integer] :id_service The service ID to associate with the webhook
425
495
  # @option opts [Integer] :id_auth The webhook authentication process to use
426
- # @option opts [Float] :url The webhook callback url
496
+ # @option opts [String] :url The webhook callback url
427
497
  # @option opts [String] :event The webhook event
428
498
  # @option opts [String] :expand
429
499
  # @return [Webhook]
@@ -442,7 +512,7 @@ describe 'AdministrationApi' do
442
512
  # @option opts [Integer] :id_user The user ID to associate with the webhook
443
513
  # @option opts [Integer] :id_service The service ID to associate with the webhook
444
514
  # @option opts [Integer] :id_auth The webhook authentication process to use
445
- # @option opts [Float] :url The webhook callback url
515
+ # @option opts [String] :url The webhook callback url
446
516
  # @option opts [String] :event The webhook event
447
517
  # @option opts [String] :expand
448
518
  # @return [Webhook]
@@ -459,7 +529,7 @@ describe 'AdministrationApi' do
459
529
  # @option opts [Integer] :id_user The user ID to associate with the webhook
460
530
  # @option opts [Integer] :id_service The service ID to associate with the webhook
461
531
  # @option opts [String] :id_auth The webhook authentication process to use (its ID or its name)
462
- # @option opts [Float] :url The webhook callback url
532
+ # @option opts [String] :url The webhook callback url
463
533
  # @option opts [String] :event The webhook event
464
534
  # @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
465
535
  # @option opts [String] :expand