budgea_client 5.3.2 → 5.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +6 -4
  4. data/budgea_client.gemspec +2 -1
  5. data/budgea_openapi.json +66 -34
  6. data/config.json +1 -1
  7. data/docs/BanksApi.md +2 -0
  8. data/docs/Connection.md +1 -0
  9. data/docs/ConnectionsApi.md +2 -0
  10. data/docs/ProvidersApi.md +2 -0
  11. data/docs/Transfer.md +1 -0
  12. data/docs/TransferData.md +12 -0
  13. data/docs/TransferValidationData.md +8 -0
  14. data/docs/TransfersApi.md +11 -16
  15. data/lib/budgea_client.rb +3 -1
  16. data/lib/budgea_client/api/administration_api.rb +1 -1
  17. data/lib/budgea_client/api/authentication_api.rb +1 -1
  18. data/lib/budgea_client/api/banks_api.rb +4 -1
  19. data/lib/budgea_client/api/connections_api.rb +4 -1
  20. data/lib/budgea_client/api/documents_api.rb +1 -1
  21. data/lib/budgea_client/api/ocr_api.rb +1 -1
  22. data/lib/budgea_client/api/oidc_api.rb +1 -1
  23. data/lib/budgea_client/api/pfm_api.rb +1 -1
  24. data/lib/budgea_client/api/providers_api.rb +4 -1
  25. data/lib/budgea_client/api/recipients_api.rb +1 -1
  26. data/lib/budgea_client/api/terms_api.rb +1 -1
  27. data/lib/budgea_client/api/transfer_api.rb +1 -1
  28. data/lib/budgea_client/api/transfers_api.rb +22 -29
  29. data/lib/budgea_client/api/users_management_api.rb +1 -1
  30. data/lib/budgea_client/api/wealth_api.rb +1 -1
  31. data/lib/budgea_client/api_client.rb +4 -4
  32. data/lib/budgea_client/api_error.rb +1 -1
  33. data/lib/budgea_client/configuration.rb +3 -3
  34. data/lib/budgea_client/models/access.rb +1 -1
  35. data/lib/budgea_client/models/account.rb +1 -1
  36. data/lib/budgea_client/models/account_log.rb +1 -1
  37. data/lib/budgea_client/models/account_type.rb +1 -1
  38. data/lib/budgea_client/models/alert.rb +1 -1
  39. data/lib/budgea_client/models/auth_provider.rb +1 -1
  40. data/lib/budgea_client/models/category.rb +1 -1
  41. data/lib/budgea_client/models/certificate.rb +1 -1
  42. data/lib/budgea_client/models/client.rb +1 -1
  43. data/lib/budgea_client/models/config_log.rb +1 -1
  44. data/lib/budgea_client/models/connection.rb +17 -4
  45. data/lib/budgea_client/models/connection_log.rb +1 -1
  46. data/lib/budgea_client/models/connection_source.rb +1 -1
  47. data/lib/budgea_client/models/connector.rb +1 -1
  48. data/lib/budgea_client/models/connector_category.rb +1 -1
  49. data/lib/budgea_client/models/connector_logo.rb +1 -1
  50. data/lib/budgea_client/models/connector_source.rb +1 -1
  51. data/lib/budgea_client/models/currency.rb +1 -1
  52. data/lib/budgea_client/models/device.rb +1 -1
  53. data/lib/budgea_client/models/document.rb +1 -1
  54. data/lib/budgea_client/models/document_type.rb +1 -1
  55. data/lib/budgea_client/models/field.rb +1 -1
  56. data/lib/budgea_client/models/field_value.rb +1 -1
  57. data/lib/budgea_client/models/file.rb +1 -1
  58. data/lib/budgea_client/models/group.rb +1 -1
  59. data/lib/budgea_client/models/hash_table.rb +1 -1
  60. data/lib/budgea_client/models/inline_response_200.rb +1 -1
  61. data/lib/budgea_client/models/inline_response_200_1.rb +1 -1
  62. data/lib/budgea_client/models/inline_response_200_10.rb +1 -1
  63. data/lib/budgea_client/models/inline_response_200_11.rb +1 -1
  64. data/lib/budgea_client/models/inline_response_200_12.rb +1 -1
  65. data/lib/budgea_client/models/inline_response_200_13.rb +1 -1
  66. data/lib/budgea_client/models/inline_response_200_14.rb +1 -1
  67. data/lib/budgea_client/models/inline_response_200_15.rb +1 -1
  68. data/lib/budgea_client/models/inline_response_200_16.rb +1 -1
  69. data/lib/budgea_client/models/inline_response_200_17.rb +1 -1
  70. data/lib/budgea_client/models/inline_response_200_18.rb +1 -1
  71. data/lib/budgea_client/models/inline_response_200_19.rb +1 -1
  72. data/lib/budgea_client/models/inline_response_200_2.rb +1 -1
  73. data/lib/budgea_client/models/inline_response_200_20.rb +1 -1
  74. data/lib/budgea_client/models/inline_response_200_21.rb +1 -1
  75. data/lib/budgea_client/models/inline_response_200_22.rb +1 -1
  76. data/lib/budgea_client/models/inline_response_200_23.rb +1 -1
  77. data/lib/budgea_client/models/inline_response_200_24.rb +1 -1
  78. data/lib/budgea_client/models/inline_response_200_25.rb +1 -1
  79. data/lib/budgea_client/models/inline_response_200_26.rb +1 -1
  80. data/lib/budgea_client/models/inline_response_200_27.rb +1 -1
  81. data/lib/budgea_client/models/inline_response_200_28.rb +1 -1
  82. data/lib/budgea_client/models/inline_response_200_29.rb +1 -1
  83. data/lib/budgea_client/models/inline_response_200_3.rb +1 -1
  84. data/lib/budgea_client/models/inline_response_200_30.rb +1 -1
  85. data/lib/budgea_client/models/inline_response_200_31.rb +1 -1
  86. data/lib/budgea_client/models/inline_response_200_32.rb +1 -1
  87. data/lib/budgea_client/models/inline_response_200_33.rb +1 -1
  88. data/lib/budgea_client/models/inline_response_200_34.rb +1 -1
  89. data/lib/budgea_client/models/inline_response_200_35.rb +1 -1
  90. data/lib/budgea_client/models/inline_response_200_36.rb +1 -1
  91. data/lib/budgea_client/models/inline_response_200_37.rb +1 -1
  92. data/lib/budgea_client/models/inline_response_200_38.rb +1 -1
  93. data/lib/budgea_client/models/inline_response_200_39.rb +1 -1
  94. data/lib/budgea_client/models/inline_response_200_4.rb +1 -1
  95. data/lib/budgea_client/models/inline_response_200_40.rb +1 -1
  96. data/lib/budgea_client/models/inline_response_200_41.rb +1 -1
  97. data/lib/budgea_client/models/inline_response_200_42.rb +1 -1
  98. data/lib/budgea_client/models/inline_response_200_5.rb +1 -1
  99. data/lib/budgea_client/models/inline_response_200_6.rb +1 -1
  100. data/lib/budgea_client/models/inline_response_200_7.rb +1 -1
  101. data/lib/budgea_client/models/inline_response_200_8.rb +1 -1
  102. data/lib/budgea_client/models/inline_response_200_9.rb +1 -1
  103. data/lib/budgea_client/models/investment.rb +1 -1
  104. data/lib/budgea_client/models/investment_value.rb +1 -1
  105. data/lib/budgea_client/models/keyword.rb +1 -1
  106. data/lib/budgea_client/models/locked_user.rb +1 -1
  107. data/lib/budgea_client/models/oidc_whitelist.rb +1 -1
  108. data/lib/budgea_client/models/order.rb +1 -1
  109. data/lib/budgea_client/models/pocket.rb +1 -1
  110. data/lib/budgea_client/models/profile.rb +1 -1
  111. data/lib/budgea_client/models/project.rb +1 -1
  112. data/lib/budgea_client/models/project_type.rb +1 -1
  113. data/lib/budgea_client/models/recipient.rb +1 -1
  114. data/lib/budgea_client/models/recipient_log.rb +1 -1
  115. data/lib/budgea_client/models/security.rb +1 -1
  116. data/lib/budgea_client/models/subscription.rb +1 -1
  117. data/lib/budgea_client/models/subscription_log.rb +1 -1
  118. data/lib/budgea_client/models/terms_of_service.rb +1 -1
  119. data/lib/budgea_client/models/transaction.rb +1 -1
  120. data/lib/budgea_client/models/transaction_information.rb +1 -1
  121. data/lib/budgea_client/models/transactions_cluster.rb +1 -1
  122. data/lib/budgea_client/models/transfer.rb +16 -5
  123. data/lib/budgea_client/models/transfer_data.rb +240 -0
  124. data/lib/budgea_client/models/transfer_log.rb +1 -1
  125. data/lib/budgea_client/models/transfer_validation_data.rb +185 -0
  126. data/lib/budgea_client/models/user.rb +1 -1
  127. data/lib/budgea_client/models/user_alert.rb +1 -1
  128. data/lib/budgea_client/models/webhook.rb +1 -1
  129. data/lib/budgea_client/models/webhook_data.rb +1 -1
  130. data/lib/budgea_client/models/webhook_log.rb +1 -1
  131. data/lib/budgea_client/version.rb +2 -2
  132. data/spec/api/administration_api_spec.rb +1 -1
  133. data/spec/api/authentication_api_spec.rb +1 -1
  134. data/spec/api/banks_api_spec.rb +1 -1
  135. data/spec/api/connections_api_spec.rb +1 -1
  136. data/spec/api/documents_api_spec.rb +1 -1
  137. data/spec/api/ocr_api_spec.rb +1 -1
  138. data/spec/api/oidc_api_spec.rb +1 -1
  139. data/spec/api/pfm_api_spec.rb +1 -1
  140. data/spec/api/providers_api_spec.rb +1 -1
  141. data/spec/api/recipients_api_spec.rb +1 -1
  142. data/spec/api/terms_api_spec.rb +1 -1
  143. data/spec/api/transfer_api_spec.rb +1 -1
  144. data/spec/api/transfers_api_spec.rb +1 -1
  145. data/spec/api/users_management_api_spec.rb +1 -1
  146. data/spec/api/wealth_api_spec.rb +1 -1
  147. data/spec/api_client_spec.rb +1 -1
  148. data/spec/configuration_spec.rb +1 -1
  149. data/spec/models/access_spec.rb +1 -1
  150. data/spec/models/account_log_spec.rb +1 -1
  151. data/spec/models/account_spec.rb +1 -1
  152. data/spec/models/account_type_spec.rb +1 -1
  153. data/spec/models/alert_spec.rb +1 -1
  154. data/spec/models/auth_provider_spec.rb +1 -1
  155. data/spec/models/category_spec.rb +1 -1
  156. data/spec/models/certificate_spec.rb +1 -1
  157. data/spec/models/client_spec.rb +1 -1
  158. data/spec/models/config_log_spec.rb +1 -1
  159. data/spec/models/connection_log_spec.rb +1 -1
  160. data/spec/models/connection_source_spec.rb +1 -1
  161. data/spec/models/connection_spec.rb +1 -1
  162. data/spec/models/connector_category_spec.rb +1 -1
  163. data/spec/models/connector_logo_spec.rb +1 -1
  164. data/spec/models/connector_source_spec.rb +1 -1
  165. data/spec/models/connector_spec.rb +1 -1
  166. data/spec/models/currency_spec.rb +1 -1
  167. data/spec/models/device_spec.rb +1 -1
  168. data/spec/models/document_spec.rb +1 -1
  169. data/spec/models/document_type_spec.rb +1 -1
  170. data/spec/models/field_spec.rb +1 -1
  171. data/spec/models/field_value_spec.rb +1 -1
  172. data/spec/models/file_spec.rb +1 -1
  173. data/spec/models/group_spec.rb +1 -1
  174. data/spec/models/hash_table_spec.rb +1 -1
  175. data/spec/models/inline_response_200_10_spec.rb +1 -1
  176. data/spec/models/inline_response_200_11_spec.rb +1 -1
  177. data/spec/models/inline_response_200_12_spec.rb +1 -1
  178. data/spec/models/inline_response_200_13_spec.rb +1 -1
  179. data/spec/models/inline_response_200_14_spec.rb +1 -1
  180. data/spec/models/inline_response_200_15_spec.rb +1 -1
  181. data/spec/models/inline_response_200_16_spec.rb +1 -1
  182. data/spec/models/inline_response_200_17_spec.rb +1 -1
  183. data/spec/models/inline_response_200_18_spec.rb +1 -1
  184. data/spec/models/inline_response_200_19_spec.rb +1 -1
  185. data/spec/models/inline_response_200_1_spec.rb +1 -1
  186. data/spec/models/inline_response_200_20_spec.rb +1 -1
  187. data/spec/models/inline_response_200_21_spec.rb +1 -1
  188. data/spec/models/inline_response_200_22_spec.rb +1 -1
  189. data/spec/models/inline_response_200_23_spec.rb +1 -1
  190. data/spec/models/inline_response_200_24_spec.rb +1 -1
  191. data/spec/models/inline_response_200_25_spec.rb +1 -1
  192. data/spec/models/inline_response_200_26_spec.rb +1 -1
  193. data/spec/models/inline_response_200_27_spec.rb +1 -1
  194. data/spec/models/inline_response_200_28_spec.rb +1 -1
  195. data/spec/models/inline_response_200_29_spec.rb +1 -1
  196. data/spec/models/inline_response_200_2_spec.rb +1 -1
  197. data/spec/models/inline_response_200_30_spec.rb +1 -1
  198. data/spec/models/inline_response_200_31_spec.rb +1 -1
  199. data/spec/models/inline_response_200_32_spec.rb +1 -1
  200. data/spec/models/inline_response_200_33_spec.rb +1 -1
  201. data/spec/models/inline_response_200_34_spec.rb +1 -1
  202. data/spec/models/inline_response_200_35_spec.rb +1 -1
  203. data/spec/models/inline_response_200_36_spec.rb +1 -1
  204. data/spec/models/inline_response_200_37_spec.rb +1 -1
  205. data/spec/models/inline_response_200_38_spec.rb +1 -1
  206. data/spec/models/inline_response_200_39_spec.rb +1 -1
  207. data/spec/models/inline_response_200_3_spec.rb +1 -1
  208. data/spec/models/inline_response_200_40_spec.rb +1 -1
  209. data/spec/models/inline_response_200_41_spec.rb +1 -1
  210. data/spec/models/inline_response_200_42_spec.rb +1 -1
  211. data/spec/models/inline_response_200_4_spec.rb +1 -1
  212. data/spec/models/inline_response_200_5_spec.rb +1 -1
  213. data/spec/models/inline_response_200_6_spec.rb +1 -1
  214. data/spec/models/inline_response_200_7_spec.rb +1 -1
  215. data/spec/models/inline_response_200_8_spec.rb +1 -1
  216. data/spec/models/inline_response_200_9_spec.rb +1 -1
  217. data/spec/models/inline_response_200_spec.rb +1 -1
  218. data/spec/models/investment_spec.rb +1 -1
  219. data/spec/models/investment_value_spec.rb +1 -1
  220. data/spec/models/keyword_spec.rb +1 -1
  221. data/spec/models/locked_user_spec.rb +1 -1
  222. data/spec/models/oidc_whitelist_spec.rb +1 -1
  223. data/spec/models/order_spec.rb +1 -1
  224. data/spec/models/pocket_spec.rb +1 -1
  225. data/spec/models/profile_spec.rb +1 -1
  226. data/spec/models/project_spec.rb +1 -1
  227. data/spec/models/project_type_spec.rb +1 -1
  228. data/spec/models/recipient_log_spec.rb +1 -1
  229. data/spec/models/recipient_spec.rb +1 -1
  230. data/spec/models/security_spec.rb +1 -1
  231. data/spec/models/subscription_log_spec.rb +1 -1
  232. data/spec/models/subscription_spec.rb +1 -1
  233. data/spec/models/terms_of_service_spec.rb +1 -1
  234. data/spec/models/transaction_information_spec.rb +1 -1
  235. data/spec/models/transaction_spec.rb +1 -1
  236. data/spec/models/transactions_cluster_spec.rb +1 -1
  237. data/spec/models/transfer_data_spec.rb +65 -0
  238. data/spec/models/transfer_log_spec.rb +1 -1
  239. data/spec/models/transfer_spec.rb +1 -1
  240. data/spec/models/transfer_validation_data_spec.rb +41 -0
  241. data/spec/models/user_alert_spec.rb +1 -1
  242. data/spec/models/user_spec.rb +1 -1
  243. data/spec/models/webhook_data_spec.rb +1 -1
  244. data/spec/models/webhook_log_spec.rb +1 -1
  245. data/spec/models/webhook_spec.rb +1 -1
  246. data/spec/spec_helper.rb +1 -1
  247. metadata +34 -8
  248. data/pkg/budgea_client-5.3.1.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d53b42e6d34fe0ef3aa6988a3edeff947bcaf8a0ddc7823a3c22a386a1550537
4
- data.tar.gz: 1cbdceed14e7661bddd2ae304617a44b24d3da748a4993dfc5a1f530847c9e13
3
+ metadata.gz: 3d25dbb76f26fda309e2533e0a6d517611f77c28df3e743e5914e4d11f8e23b3
4
+ data.tar.gz: f8ff8242183eee79cdeb2a00b51d2593f1fe1fe7311141e13d66dbd35d439741
5
5
  SHA512:
6
- metadata.gz: 860f7fa0f56915a201df600d7d7e5f90253e3d0f987b357c5f9d7270dfc6467efb3e641921f7197325dac69da49ef7d564483175fbc2608a40f70d6a7b4f553d
7
- data.tar.gz: 2df7f267ece0ece52734e608c5467495486cdd381cf8ec77468148a0c3d0a45d7d5e4d711a71920a6e6c8a1e4106086a64fea1919450d31f830b353d9f033700
6
+ metadata.gz: 6c36301f0a982eff6f3d6a27bd5715ebc61d62ae55a9a7d5425976cd76ed22a96c71012155c1c567413bd220835cb10cadb7192db44a492f6f9dc88c59ae0ea6
7
+ data.tar.gz: 1baf5874b16050939d9b650237e4bbe9c656c9e69a5251eee250039fc932bc52dcce3a12acc91225e49db8c430519ac16e1b8c71b7b28d00ad0664c0c1d16ea4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- budgea_client (5.3.2)
4
+ budgea_client (5.3.4)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -24,7 +24,7 @@ GEM
24
24
  ffi (>= 1.3.0)
25
25
  ffi (1.9.25)
26
26
  hashdiff (0.3.7)
27
- json (2.3.0)
27
+ json (2.3.1)
28
28
  public_suffix (3.0.3)
29
29
  rake (12.3.3)
30
30
  rspec (3.8.0)
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0
10
- - Package version: 5.1.3
10
+ - Package version: 5.3.7
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build budgea_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./budgea_client-5.1.3.gem
26
+ gem install ./budgea_client-5.3.7.gem
27
27
  ```
28
- (for development, run `gem install --dev ./budgea_client-5.1.3.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./budgea_client-5.3.7.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'budgea_client', '~> 5.1.3'
34
+ gem 'budgea_client', '~> 5.3.7'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -724,7 +724,9 @@ Class | Method | HTTP request | Description
724
724
  - [BudgeaClient::TransactionInformation](docs/TransactionInformation.md)
725
725
  - [BudgeaClient::TransactionsCluster](docs/TransactionsCluster.md)
726
726
  - [BudgeaClient::Transfer](docs/Transfer.md)
727
+ - [BudgeaClient::TransferData](docs/TransferData.md)
727
728
  - [BudgeaClient::TransferLog](docs/TransferLog.md)
729
+ - [BudgeaClient::TransferValidationData](docs/TransferValidationData.md)
728
730
  - [BudgeaClient::User](docs/User.md)
729
731
  - [BudgeaClient::UserAlert](docs/UserAlert.md)
730
732
  - [BudgeaClient::Webhook](docs/Webhook.md)
@@ -8,7 +8,7 @@
8
8
  OpenAPI spec version: 2.0
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 2.4.14
11
+ Swagger Codegen version: 2.4.19
12
12
 
13
13
  =end
14
14
 
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+ s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
32
33
 
33
34
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
35
  s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
data/budgea_openapi.json CHANGED
@@ -8623,6 +8623,12 @@
8623
8623
  "name": "id_connection",
8624
8624
  "description": ""
8625
8625
  },
8626
+ {
8627
+ "required": false,
8628
+ "type": "string",
8629
+ "name": "expand",
8630
+ "in": "query"
8631
+ },
8626
8632
  {
8627
8633
  "in": "body",
8628
8634
  "name": "connection",
@@ -22314,27 +22320,37 @@
22314
22320
  "description": "Hint: you can use 'me' or 'all'"
22315
22321
  },
22316
22322
  {
22317
- "name": "amount",
22318
- "format": "float",
22323
+ "in": "body",
22324
+ "name": "transfer_data",
22319
22325
  "required": true,
22320
- "in": "formData",
22321
- "type": "number",
22322
- "description": "amount of transfer"
22323
- },
22324
- {
22325
- "required": false,
22326
- "in": "formData",
22327
- "type": "string",
22328
- "name": "label",
22329
- "description": "reason of transfer"
22330
- },
22331
- {
22332
- "name": "exec_date",
22333
- "format": "date",
22334
- "required": false,
22335
- "in": "formData",
22336
- "type": "string",
22337
- "description": "excution date of transfer"
22326
+ "schema": {
22327
+ "properties": {
22328
+ "id_account": {
22329
+ "type": "integer",
22330
+ "description": "id of the account"
22331
+ },
22332
+ "id_recipient": {
22333
+ "type": "integer",
22334
+ "description": "id of the recipient"
22335
+ },
22336
+ "amount": {
22337
+ "type": "number",
22338
+ "format": "float",
22339
+ "description": "amount of transfer"
22340
+ },
22341
+ "label": {
22342
+ "type": "string",
22343
+ "description": "reason of transfer"
22344
+ },
22345
+ "exec_date": {
22346
+ "type": "string",
22347
+ "format": "date",
22348
+ "description": "excution date of transfer"
22349
+ }
22350
+ },
22351
+ "required": ["id_account", "id_recipient", "amount"],
22352
+ "additionalProperties": {}
22353
+ }
22338
22354
  },
22339
22355
  {
22340
22356
  "required": false,
@@ -22345,7 +22361,7 @@
22345
22361
  ],
22346
22362
  "summary": "Create a transfer object.",
22347
22363
  "consumes": [
22348
- "application/x-www-form-urlencoded"
22364
+ "application/json"
22349
22365
  ]
22350
22366
  }
22351
22367
  },
@@ -22379,18 +22395,18 @@
22379
22395
  "description": ""
22380
22396
  },
22381
22397
  {
22382
- "required": false,
22383
- "in": "formData",
22384
- "type": "boolean",
22385
- "name": "validated",
22386
- "description": "set it to initialize transfer on the bank website."
22387
- },
22388
- {
22389
- "required": false,
22390
- "in": "formData",
22391
- "type": "integer",
22392
- "name": "id_recipient",
22393
- "description": "set the recipient of the transfer"
22398
+ "in": "body",
22399
+ "name": "transfer_validation_data",
22400
+ "required": true,
22401
+ "schema": {
22402
+ "properties": {
22403
+ "validated": {
22404
+ "type": "boolean",
22405
+ "description": "set it to initialize transfer on the bank website."
22406
+ }
22407
+ },
22408
+ "additionalProperties": {}
22409
+ }
22394
22410
  },
22395
22411
  {
22396
22412
  "required": false,
@@ -22399,7 +22415,10 @@
22399
22415
  "in": "query"
22400
22416
  }
22401
22417
  ],
22402
- "summary": "Execute or edit a Transfer."
22418
+ "summary": "Execute or edit a Transfer.",
22419
+ "consumes": [
22420
+ "application/json"
22421
+ ]
22403
22422
  },
22404
22423
  "delete": {
22405
22424
  "responses": {
@@ -23808,6 +23827,7 @@
23808
23827
  "decoupled",
23809
23828
  "passwordExpired",
23810
23829
  "webauthRequired",
23830
+ "rateLimiting",
23811
23831
  "bug"
23812
23832
  ],
23813
23833
  "description": "State of Connection"
@@ -23829,6 +23849,12 @@
23829
23849
  "$ref": "#/definitions/Account"
23830
23850
  }
23831
23851
  },
23852
+ "all_accounts": {
23853
+ "type": "array",
23854
+ "items": {
23855
+ "$ref": "#/definitions/Account"
23856
+ }
23857
+ },
23832
23858
  "subscriptions": {
23833
23859
  "type": "array",
23834
23860
  "items": {
@@ -24528,6 +24554,12 @@
24528
24554
  "currency": {
24529
24555
  "type": "object",
24530
24556
  "description": "Currency of the object"
24557
+ },
24558
+ "fields": {
24559
+ "type": "array",
24560
+ "items": {
24561
+ "$ref": "#/definitions/Field"
24562
+ }
24531
24563
  }
24532
24564
  },
24533
24565
  "example": {
data/config.json CHANGED
@@ -7,5 +7,5 @@
7
7
  "gemHomepage": "https://github.com/cashbee-team/budgea_client",
8
8
  "moduleName": "BudgeaClient",
9
9
  "gemLicense": "Apache 2.0",
10
- "gemVersion": "5.1.3"
10
+ "gemVersion": "5.3.7"
11
11
  }
data/docs/BanksApi.md CHANGED
@@ -6664,6 +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
+ expand: 'expand_example', # String |
6667
6668
  connection: nil # Object |
6668
6669
  }
6669
6670
 
@@ -6682,6 +6683,7 @@ Name | Type | Description | Notes
6682
6683
  ------------- | ------------- | ------------- | -------------
6683
6684
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
6684
6685
  **id_connection** | **Integer**| |
6686
+ **expand** | **String**| | [optional]
6685
6687
  **connection** | **Object**| | [optional]
6686
6688
 
6687
6689
  ### Return type
data/docs/Connection.md CHANGED
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
17
17
  **fields** | [**Array<Field>**](Field.md) | | [optional]
18
18
  **next_try** | **DateTime** | Date of next synchronization | [optional]
19
19
  **accounts** | [**Array<Account>**](Account.md) | | [optional]
20
+ **all_accounts** | [**Array<Account>**](Account.md) | | [optional]
20
21
  **subscriptions** | [**Array<Subscription>**](Subscription.md) | | [optional]
21
22
  **connection** | [**Connection**](Connection.md) | | [optional]
22
23
  **message** | **String** | | [optional]
@@ -1500,6 +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
+ expand: 'expand_example', # String |
1503
1504
  connection: nil # Object |
1504
1505
  }
1505
1506
 
@@ -1518,6 +1519,7 @@ Name | Type | Description | Notes
1518
1519
  ------------- | ------------- | ------------- | -------------
1519
1520
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
1520
1521
  **id_connection** | **Integer**| |
1522
+ **expand** | **String**| | [optional]
1521
1523
  **connection** | **Object**| | [optional]
1522
1524
 
1523
1525
  ### Return type
data/docs/ProvidersApi.md CHANGED
@@ -4722,6 +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
+ expand: 'expand_example', # String |
4725
4726
  connection: nil # Object |
4726
4727
  }
4727
4728
 
@@ -4740,6 +4741,7 @@ Name | Type | Description | Notes
4740
4741
  ------------- | ------------- | ------------- | -------------
4741
4742
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
4742
4743
  **id_connection** | **Integer**| |
4744
+ **expand** | **String**| | [optional]
4743
4745
  **connection** | **Object**| | [optional]
4744
4746
 
4745
4747
  ### Return type
data/docs/Transfer.md CHANGED
@@ -24,5 +24,6 @@ Name | Type | Description | Notes
24
24
  **beneficiary_label** | **String** | Label of the beneficiary (needed for transfer to other beneficiary type than 'recipient') | [optional]
25
25
  **validate_mechanism** | **String** | Authentication method used to validate transfer (credentials or webauth) | [optional]
26
26
  **currency** | **Object** | Currency of the object | [optional]
27
+ **fields** | [**Array<Field>**](Field.md) | | [optional]
27
28
 
28
29
 
@@ -0,0 +1,12 @@
1
+ # BudgeaClient::TransferData
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id_account** | **Integer** | id of the account |
7
+ **id_recipient** | **Integer** | id of the recipient |
8
+ **amount** | **Float** | amount of transfer |
9
+ **label** | **String** | reason of transfer | [optional]
10
+ **exec_date** | **Date** | excution date of transfer | [optional]
11
+
12
+
@@ -0,0 +1,8 @@
1
+ # BudgeaClient::TransferValidationData
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **validated** | **BOOLEAN** | set it to initialize transfer on the bank website. | [optional]
7
+
8
+
data/docs/TransfersApi.md CHANGED
@@ -2595,7 +2595,7 @@ Name | Type | Description | Notes
2595
2595
 
2596
2596
 
2597
2597
  # **users_id_user_transfers_id_transfer_post**
2598
- > Transfer users_id_user_transfers_id_transfer_post(id_user, id_transfer, opts)
2598
+ > Transfer users_id_user_transfers_id_transfer_post(id_user, id_transfer, transfer_validation_data, opts)
2599
2599
 
2600
2600
  Execute or edit a Transfer.
2601
2601
 
@@ -2619,15 +2619,15 @@ id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
2619
2619
 
2620
2620
  id_transfer = 56 # Integer |
2621
2621
 
2622
+ transfer_validation_data = BudgeaClient::TransferValidationData.new # TransferValidationData |
2623
+
2622
2624
  opts = {
2623
- validated: true, # BOOLEAN | set it to initialize transfer on the bank website.
2624
- id_recipient: 56, # Integer | set the recipient of the transfer
2625
2625
  expand: 'expand_example' # String |
2626
2626
  }
2627
2627
 
2628
2628
  begin
2629
2629
  #Execute or edit a Transfer.
2630
- result = api_instance.users_id_user_transfers_id_transfer_post(id_user, id_transfer, opts)
2630
+ result = api_instance.users_id_user_transfers_id_transfer_post(id_user, id_transfer, transfer_validation_data, opts)
2631
2631
  p result
2632
2632
  rescue BudgeaClient::ApiError => e
2633
2633
  puts "Exception when calling TransfersApi->users_id_user_transfers_id_transfer_post: #{e}"
@@ -2640,8 +2640,7 @@ Name | Type | Description | Notes
2640
2640
  ------------- | ------------- | ------------- | -------------
2641
2641
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
2642
2642
  **id_transfer** | **Integer**| |
2643
- **validated** | **BOOLEAN**| set it to initialize transfer on the bank website. | [optional]
2644
- **id_recipient** | **Integer**| set the recipient of the transfer | [optional]
2643
+ **transfer_validation_data** | [**TransferValidationData**](TransferValidationData.md)| |
2645
2644
  **expand** | **String**| | [optional]
2646
2645
 
2647
2646
  ### Return type
@@ -2654,13 +2653,13 @@ Name | Type | Description | Notes
2654
2653
 
2655
2654
  ### HTTP request headers
2656
2655
 
2657
- - **Content-Type**: application/x-www-form-urlencoded
2656
+ - **Content-Type**: application/json
2658
2657
  - **Accept**: application/json
2659
2658
 
2660
2659
 
2661
2660
 
2662
2661
  # **users_id_user_transfers_post**
2663
- > Transfer users_id_user_transfers_post(id_user, amount, opts)
2662
+ > Transfer users_id_user_transfers_post(id_user, transfer_data, opts)
2664
2663
 
2665
2664
  Create a transfer object.
2666
2665
 
@@ -2682,17 +2681,15 @@ api_instance = BudgeaClient::TransfersApi.new
2682
2681
 
2683
2682
  id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
2684
2683
 
2685
- amount = 3.4 # Float | amount of transfer
2684
+ transfer_data = BudgeaClient::TransferData.new # TransferData |
2686
2685
 
2687
2686
  opts = {
2688
- label: 'label_example', # String | reason of transfer
2689
- exec_date: Date.parse('2013-10-20'), # Date | excution date of transfer
2690
2687
  expand: 'expand_example' # String |
2691
2688
  }
2692
2689
 
2693
2690
  begin
2694
2691
  #Create a transfer object.
2695
- result = api_instance.users_id_user_transfers_post(id_user, amount, opts)
2692
+ result = api_instance.users_id_user_transfers_post(id_user, transfer_data, opts)
2696
2693
  p result
2697
2694
  rescue BudgeaClient::ApiError => e
2698
2695
  puts "Exception when calling TransfersApi->users_id_user_transfers_post: #{e}"
@@ -2704,9 +2701,7 @@ end
2704
2701
  Name | Type | Description | Notes
2705
2702
  ------------- | ------------- | ------------- | -------------
2706
2703
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
2707
- **amount** | **Float**| amount of transfer |
2708
- **label** | **String**| reason of transfer | [optional]
2709
- **exec_date** | **Date**| excution date of transfer | [optional]
2704
+ **transfer_data** | [**TransferData**](TransferData.md)| |
2710
2705
  **expand** | **String**| | [optional]
2711
2706
 
2712
2707
  ### Return type
@@ -2719,7 +2714,7 @@ Name | Type | Description | Notes
2719
2714
 
2720
2715
  ### HTTP request headers
2721
2716
 
2722
- - **Content-Type**: application/x-www-form-urlencoded
2717
+ - **Content-Type**: application/json
2723
2718
  - **Accept**: application/json
2724
2719
 
2725
2720
 
data/lib/budgea_client.rb CHANGED
@@ -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.14
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -106,7 +106,9 @@ require 'budgea_client/models/transaction'
106
106
  require 'budgea_client/models/transaction_information'
107
107
  require 'budgea_client/models/transactions_cluster'
108
108
  require 'budgea_client/models/transfer'
109
+ require 'budgea_client/models/transfer_data'
109
110
  require 'budgea_client/models/transfer_log'
111
+ require 'budgea_client/models/transfer_validation_data'
110
112
  require 'budgea_client/models/user'
111
113
  require 'budgea_client/models/user_alert'
112
114
  require 'budgea_client/models/webhook'