budgea_client 5.0.4 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +4 -4
  4. data/README.md +19 -6
  5. data/budgea_client.gemspec +1 -1
  6. data/budgea_openapi.json +1633 -1469
  7. data/config.json +1 -1
  8. data/docs/Account.md +1 -0
  9. data/docs/AdministrationApi.md +12 -12
  10. data/docs/BanksApi.md +270 -67
  11. data/docs/Connection.md +2 -0
  12. data/docs/ConnectionsApi.md +258 -55
  13. data/docs/DocumentsApi.md +2 -2
  14. data/docs/InlineResponse20016.md +1 -1
  15. data/docs/InlineResponse20017.md +1 -1
  16. data/docs/InlineResponse20018.md +1 -1
  17. data/docs/InlineResponse20019.md +1 -1
  18. data/docs/InlineResponse20020.md +1 -1
  19. data/docs/InlineResponse20021.md +1 -1
  20. data/docs/InlineResponse20022.md +1 -1
  21. data/docs/InlineResponse20023.md +1 -1
  22. data/docs/InlineResponse20024.md +1 -1
  23. data/docs/InlineResponse20025.md +1 -1
  24. data/docs/InlineResponse20026.md +1 -1
  25. data/docs/InlineResponse20027.md +1 -1
  26. data/docs/InlineResponse20028.md +1 -1
  27. data/docs/InlineResponse20029.md +1 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/PFMApi.md +9 -9
  30. data/docs/ProvidersApi.md +260 -57
  31. data/docs/TermsApi.md +72 -7
  32. data/docs/TransfersApi.md +24 -24
  33. data/docs/UsersManagementApi.md +2 -2
  34. data/docs/WealthApi.md +53 -37
  35. data/lib/budgea_client.rb +1 -1
  36. data/lib/budgea_client/api/administration_api.rb +14 -14
  37. data/lib/budgea_client/api/authentication_api.rb +1 -1
  38. data/lib/budgea_client/api/banks_api.rb +282 -101
  39. data/lib/budgea_client/api/connections_api.rb +264 -83
  40. data/lib/budgea_client/api/documents_api.rb +4 -4
  41. data/lib/budgea_client/api/ocr_api.rb +1 -1
  42. data/lib/budgea_client/api/oidc_api.rb +1 -1
  43. data/lib/budgea_client/api/pfm_api.rb +12 -12
  44. data/lib/budgea_client/api/providers_api.rb +267 -86
  45. data/lib/budgea_client/api/recipients_api.rb +1 -1
  46. data/lib/budgea_client/api/terms_api.rb +76 -10
  47. data/lib/budgea_client/api/transfer_api.rb +1 -1
  48. data/lib/budgea_client/api/transfers_api.rb +37 -37
  49. data/lib/budgea_client/api/users_management_api.rb +4 -4
  50. data/lib/budgea_client/api/wealth_api.rb +78 -54
  51. data/lib/budgea_client/api_client.rb +3 -1
  52. data/lib/budgea_client/api_error.rb +1 -1
  53. data/lib/budgea_client/configuration.rb +1 -1
  54. data/lib/budgea_client/models/access.rb +3 -2
  55. data/lib/budgea_client/models/account.rb +15 -3
  56. data/lib/budgea_client/models/account_log.rb +3 -2
  57. data/lib/budgea_client/models/account_type.rb +3 -2
  58. data/lib/budgea_client/models/alert.rb +3 -2
  59. data/lib/budgea_client/models/auth_provider.rb +3 -2
  60. data/lib/budgea_client/models/category.rb +3 -2
  61. data/lib/budgea_client/models/certificate.rb +3 -2
  62. data/lib/budgea_client/models/client.rb +3 -2
  63. data/lib/budgea_client/models/config_log.rb +3 -2
  64. data/lib/budgea_client/models/connection.rb +59 -3
  65. data/lib/budgea_client/models/connection_log.rb +3 -2
  66. data/lib/budgea_client/models/connection_source.rb +3 -2
  67. data/lib/budgea_client/models/connector.rb +3 -2
  68. data/lib/budgea_client/models/connector_category.rb +3 -2
  69. data/lib/budgea_client/models/connector_logo.rb +3 -2
  70. data/lib/budgea_client/models/connector_source.rb +3 -2
  71. data/lib/budgea_client/models/currency.rb +3 -2
  72. data/lib/budgea_client/models/device.rb +3 -2
  73. data/lib/budgea_client/models/document.rb +3 -2
  74. data/lib/budgea_client/models/document_type.rb +3 -2
  75. data/lib/budgea_client/models/field.rb +3 -2
  76. data/lib/budgea_client/models/field_value.rb +3 -2
  77. data/lib/budgea_client/models/file.rb +3 -2
  78. data/lib/budgea_client/models/group.rb +3 -2
  79. data/lib/budgea_client/models/hash_table.rb +3 -2
  80. data/lib/budgea_client/models/inline_response_200.rb +3 -2
  81. data/lib/budgea_client/models/inline_response_200_1.rb +3 -2
  82. data/lib/budgea_client/models/inline_response_200_10.rb +3 -2
  83. data/lib/budgea_client/models/inline_response_200_11.rb +3 -2
  84. data/lib/budgea_client/models/inline_response_200_12.rb +3 -2
  85. data/lib/budgea_client/models/inline_response_200_13.rb +3 -2
  86. data/lib/budgea_client/models/inline_response_200_14.rb +3 -2
  87. data/lib/budgea_client/models/inline_response_200_15.rb +3 -2
  88. data/lib/budgea_client/models/inline_response_200_16.rb +14 -13
  89. data/lib/budgea_client/models/inline_response_200_17.rb +21 -20
  90. data/lib/budgea_client/models/inline_response_200_18.rb +21 -20
  91. data/lib/budgea_client/models/inline_response_200_19.rb +21 -20
  92. data/lib/budgea_client/models/inline_response_200_2.rb +3 -2
  93. data/lib/budgea_client/models/inline_response_200_20.rb +21 -20
  94. data/lib/budgea_client/models/inline_response_200_21.rb +21 -20
  95. data/lib/budgea_client/models/inline_response_200_22.rb +14 -13
  96. data/lib/budgea_client/models/inline_response_200_23.rb +14 -13
  97. data/lib/budgea_client/models/inline_response_200_24.rb +21 -20
  98. data/lib/budgea_client/models/inline_response_200_25.rb +21 -20
  99. data/lib/budgea_client/models/inline_response_200_26.rb +14 -13
  100. data/lib/budgea_client/models/inline_response_200_27.rb +14 -13
  101. data/lib/budgea_client/models/inline_response_200_28.rb +14 -13
  102. data/lib/budgea_client/models/inline_response_200_29.rb +21 -20
  103. data/lib/budgea_client/models/inline_response_200_3.rb +3 -2
  104. data/lib/budgea_client/models/inline_response_200_30.rb +14 -13
  105. data/lib/budgea_client/models/inline_response_200_31.rb +3 -2
  106. data/lib/budgea_client/models/inline_response_200_32.rb +3 -2
  107. data/lib/budgea_client/models/inline_response_200_33.rb +3 -2
  108. data/lib/budgea_client/models/inline_response_200_34.rb +3 -2
  109. data/lib/budgea_client/models/inline_response_200_35.rb +3 -2
  110. data/lib/budgea_client/models/inline_response_200_36.rb +3 -2
  111. data/lib/budgea_client/models/inline_response_200_37.rb +3 -2
  112. data/lib/budgea_client/models/inline_response_200_38.rb +3 -2
  113. data/lib/budgea_client/models/inline_response_200_39.rb +3 -2
  114. data/lib/budgea_client/models/inline_response_200_4.rb +3 -2
  115. data/lib/budgea_client/models/inline_response_200_40.rb +3 -2
  116. data/lib/budgea_client/models/inline_response_200_41.rb +3 -2
  117. data/lib/budgea_client/models/inline_response_200_42.rb +3 -2
  118. data/lib/budgea_client/models/inline_response_200_5.rb +3 -2
  119. data/lib/budgea_client/models/inline_response_200_6.rb +3 -2
  120. data/lib/budgea_client/models/inline_response_200_7.rb +3 -2
  121. data/lib/budgea_client/models/inline_response_200_8.rb +3 -2
  122. data/lib/budgea_client/models/inline_response_200_9.rb +3 -2
  123. data/lib/budgea_client/models/investment.rb +3 -2
  124. data/lib/budgea_client/models/investment_value.rb +3 -2
  125. data/lib/budgea_client/models/keyword.rb +3 -2
  126. data/lib/budgea_client/models/locked_user.rb +3 -2
  127. data/lib/budgea_client/models/oidc_whitelist.rb +3 -2
  128. data/lib/budgea_client/models/order.rb +3 -2
  129. data/lib/budgea_client/models/pocket.rb +3 -2
  130. data/lib/budgea_client/models/profile.rb +3 -2
  131. data/lib/budgea_client/models/project.rb +3 -2
  132. data/lib/budgea_client/models/project_type.rb +3 -2
  133. data/lib/budgea_client/models/recipient.rb +3 -2
  134. data/lib/budgea_client/models/recipient_log.rb +3 -2
  135. data/lib/budgea_client/models/security.rb +3 -2
  136. data/lib/budgea_client/models/subscription.rb +3 -2
  137. data/lib/budgea_client/models/subscription_log.rb +3 -2
  138. data/lib/budgea_client/models/terms_of_service.rb +3 -2
  139. data/lib/budgea_client/models/transaction.rb +3 -2
  140. data/lib/budgea_client/models/transaction_information.rb +3 -2
  141. data/lib/budgea_client/models/transactions_cluster.rb +3 -2
  142. data/lib/budgea_client/models/transfer.rb +3 -2
  143. data/lib/budgea_client/models/transfer_log.rb +3 -2
  144. data/lib/budgea_client/models/user.rb +3 -2
  145. data/lib/budgea_client/models/user_alert.rb +3 -2
  146. data/lib/budgea_client/models/webhook.rb +3 -2
  147. data/lib/budgea_client/models/webhook_data.rb +3 -2
  148. data/lib/budgea_client/models/webhook_log.rb +3 -2
  149. data/lib/budgea_client/version.rb +2 -2
  150. data/original_budgea_openapi.json +1559 -1474
  151. data/spec/api/administration_api_spec.rb +85 -15
  152. data/spec/api/authentication_api_spec.rb +4 -3
  153. data/spec/api/banks_api_spec.rb +298 -54
  154. data/spec/api/connections_api_spec.rb +219 -26
  155. data/spec/api/documents_api_spec.rb +14 -14
  156. data/spec/api/ocr_api_spec.rb +1 -1
  157. data/spec/api/oidc_api_spec.rb +1 -1
  158. data/spec/api/pfm_api_spec.rb +17 -6
  159. data/spec/api/providers_api_spec.rb +297 -40
  160. data/spec/api/recipients_api_spec.rb +1 -1
  161. data/spec/api/terms_api_spec.rb +20 -4
  162. data/spec/api/transfer_api_spec.rb +1 -1
  163. data/spec/api/transfers_api_spec.rb +13 -13
  164. data/spec/api/users_management_api_spec.rb +3 -3
  165. data/spec/api/wealth_api_spec.rb +27 -19
  166. data/spec/api_client_spec.rb +18 -1
  167. data/spec/configuration_spec.rb +1 -1
  168. data/spec/models/access_spec.rb +1 -1
  169. data/spec/models/account_log_spec.rb +7 -1
  170. data/spec/models/account_spec.rb +25 -1
  171. data/spec/models/account_type_spec.rb +1 -1
  172. data/spec/models/alert_spec.rb +1 -1
  173. data/spec/models/auth_provider_spec.rb +1 -1
  174. data/spec/models/category_spec.rb +1 -1
  175. data/spec/models/certificate_spec.rb +1 -1
  176. data/spec/models/client_spec.rb +2 -2
  177. data/spec/models/config_log_spec.rb +1 -1
  178. data/spec/models/connection_log_spec.rb +7 -1
  179. data/spec/models/connection_source_spec.rb +1 -1
  180. data/spec/models/connection_spec.rb +41 -1
  181. data/spec/models/connector_category_spec.rb +1 -1
  182. data/spec/models/connector_logo_spec.rb +1 -1
  183. data/spec/models/connector_source_spec.rb +1 -1
  184. data/spec/models/connector_spec.rb +7 -7
  185. data/spec/models/currency_spec.rb +1 -1
  186. data/spec/models/device_spec.rb +1 -1
  187. data/spec/models/document_spec.rb +1 -1
  188. data/spec/models/document_type_spec.rb +1 -1
  189. data/spec/models/field_spec.rb +7 -1
  190. data/spec/models/field_value_spec.rb +1 -1
  191. data/spec/models/file_spec.rb +1 -1
  192. data/spec/models/group_spec.rb +1 -1
  193. data/spec/models/hash_table_spec.rb +1 -1
  194. data/spec/models/inline_response_200_10_spec.rb +1 -1
  195. data/spec/models/inline_response_200_11_spec.rb +3 -3
  196. data/spec/models/inline_response_200_12_spec.rb +2 -2
  197. data/spec/models/inline_response_200_13_spec.rb +2 -2
  198. data/spec/models/inline_response_200_14_spec.rb +3 -3
  199. data/spec/models/inline_response_200_15_spec.rb +2 -2
  200. data/spec/models/inline_response_200_16_spec.rb +2 -2
  201. data/spec/models/inline_response_200_17_spec.rb +3 -3
  202. data/spec/models/inline_response_200_18_spec.rb +2 -2
  203. data/spec/models/inline_response_200_19_spec.rb +8 -2
  204. data/spec/models/inline_response_200_1_spec.rb +1 -1
  205. data/spec/models/inline_response_200_20_spec.rb +3 -3
  206. data/spec/models/inline_response_200_21_spec.rb +3 -3
  207. data/spec/models/inline_response_200_22_spec.rb +2 -2
  208. data/spec/models/inline_response_200_23_spec.rb +2 -2
  209. data/spec/models/inline_response_200_24_spec.rb +3 -3
  210. data/spec/models/inline_response_200_25_spec.rb +3 -3
  211. data/spec/models/inline_response_200_26_spec.rb +2 -2
  212. data/spec/models/inline_response_200_27_spec.rb +2 -2
  213. data/spec/models/inline_response_200_28_spec.rb +2 -2
  214. data/spec/models/inline_response_200_29_spec.rb +3 -3
  215. data/spec/models/inline_response_200_2_spec.rb +1 -1
  216. data/spec/models/inline_response_200_30_spec.rb +3 -3
  217. data/spec/models/inline_response_200_31_spec.rb +2 -2
  218. data/spec/models/inline_response_200_32_spec.rb +3 -3
  219. data/spec/models/inline_response_200_33_spec.rb +3 -3
  220. data/spec/models/inline_response_200_34_spec.rb +2 -2
  221. data/spec/models/inline_response_200_35_spec.rb +3 -3
  222. data/spec/models/inline_response_200_36_spec.rb +3 -3
  223. data/spec/models/inline_response_200_37_spec.rb +2 -2
  224. data/spec/models/inline_response_200_38_spec.rb +3 -3
  225. data/spec/models/inline_response_200_39_spec.rb +2 -2
  226. data/spec/models/inline_response_200_3_spec.rb +1 -1
  227. data/spec/models/inline_response_200_40_spec.rb +3 -3
  228. data/spec/models/inline_response_200_41_spec.rb +1 -1
  229. data/spec/models/inline_response_200_42_spec.rb +1 -1
  230. data/spec/models/inline_response_200_4_spec.rb +1 -1
  231. data/spec/models/inline_response_200_5_spec.rb +1 -1
  232. data/spec/models/inline_response_200_6_spec.rb +1 -1
  233. data/spec/models/inline_response_200_7_spec.rb +1 -1
  234. data/spec/models/inline_response_200_8_spec.rb +1 -1
  235. data/spec/models/inline_response_200_9_spec.rb +1 -1
  236. data/spec/models/inline_response_200_spec.rb +1 -1
  237. data/spec/models/investment_spec.rb +1 -1
  238. data/spec/models/investment_value_spec.rb +1 -1
  239. data/spec/models/keyword_spec.rb +1 -1
  240. data/spec/models/locked_user_spec.rb +1 -1
  241. data/spec/models/oidc_whitelist_spec.rb +1 -1
  242. data/spec/models/order_spec.rb +1 -1
  243. data/spec/models/pocket_spec.rb +1 -1
  244. data/spec/models/profile_spec.rb +1 -1
  245. data/spec/models/project_spec.rb +1 -1
  246. data/spec/models/project_type_spec.rb +1 -1
  247. data/spec/models/recipient_log_spec.rb +1 -1
  248. data/spec/models/recipient_spec.rb +1 -1
  249. data/spec/models/security_spec.rb +1 -1
  250. data/spec/models/subscription_log_spec.rb +1 -1
  251. data/spec/models/subscription_spec.rb +7 -1
  252. data/spec/models/terms_of_service_spec.rb +1 -1
  253. data/spec/models/transaction_information_spec.rb +1 -1
  254. data/spec/models/transaction_spec.rb +7 -1
  255. data/spec/models/transactions_cluster_spec.rb +1 -1
  256. data/spec/models/transfer_log_spec.rb +1 -1
  257. data/spec/models/transfer_spec.rb +25 -1
  258. data/spec/models/user_alert_spec.rb +1 -1
  259. data/spec/models/user_spec.rb +2 -2
  260. data/spec/models/webhook_data_spec.rb +1 -1
  261. data/spec/models/webhook_log_spec.rb +1 -1
  262. data/spec/models/webhook_spec.rb +1 -1
  263. data/spec/spec_helper.rb +1 -1
  264. metadata +3 -18
  265. data/config.yaml +0 -15
  266. data/docs/HUBApi.md +0 -62
  267. data/docs/Invite.md +0 -13
  268. data/lib/budgea_client/api/hub_api.rb +0 -76
  269. data/lib/budgea_client/models/invite.rb +0 -238
  270. data/pkg/budgea_client-2.0.1.gem +0 -0
  271. data/pkg/budgea_client-2.0.2.gem +0 -0
  272. data/pkg/budgea_client-3.0.0.gem +0 -0
  273. data/pkg/budgea_client-4.0.1.gem +0 -0
  274. data/pkg/budgea_client-4.0.2.gem +0 -0
  275. data/pkg/budgea_client-4.0.3.gem +0 -0
  276. data/spec/api/hub_api_spec.rb +0 -47
  277. data/spec/models/invite_spec.rb +0 -71
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6e6113e116feffbaf40a67ac60f4ac86db4da8f0061b7600b833b2eddaeed9a
4
- data.tar.gz: 3fd23f678b1145553c2b4cab82a4411f9dc233b19ef42ccc3ca24f87dc2a3634
3
+ metadata.gz: 4efd77f2494957342c705088d9a8a57a33ed726e76d9cbafb40dce8d6d66dc7e
4
+ data.tar.gz: ce3568d9babbe9d9a00b71c042f339ee593ef26d52b509918521c2deb0ea8db8
5
5
  SHA512:
6
- metadata.gz: a3d392db9d9d248d9f5dcc1ff02a7a1262661e2d0c865e9de7e11621f8bd63b262f24ee6f59b34890a3bb08cd4335ebab594485a37349022cd54e834b2a5dd0a
7
- data.tar.gz: 1967406f4ee5bef08f670cecd4723049424ff6d935caf45b5a171f950cf1edea44ffaeadd40138fddda81b2730618438166d04dc1c1e349139f81bf098fea45a
6
+ metadata.gz: 1e69206a4e1721c1ad81748ba1c861bccca950e3353131af7bceaec8bb9dc31903f533338e0bbfa4f547c94d40580b76769e15e7b245872d457964fd7beb347e
7
+ data.tar.gz: cd567619ca4b93846640276a9afcb8355d79bf7a73c956610c90cf68fc226de868e19973862f1e491cb6bf973ea9d627e7ff397801c03a8d9b3263ebea77d3f0
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 12.3.3'
7
7
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- budgea_client (5.0.4)
4
+ budgea_client (5.3.1)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -26,7 +26,7 @@ GEM
26
26
  hashdiff (0.3.7)
27
27
  json (2.3.0)
28
28
  public_suffix (3.0.3)
29
- rake (12.0.0)
29
+ rake (12.3.3)
30
30
  rspec (3.8.0)
31
31
  rspec-core (~> 3.8.0)
32
32
  rspec-expectations (~> 3.8.0)
@@ -43,7 +43,7 @@ GEM
43
43
  safe_yaml (1.0.4)
44
44
  sys-uname (1.0.3)
45
45
  ffi (>= 1.0.0)
46
- typhoeus (1.3.1)
46
+ typhoeus (1.4.0)
47
47
  ethon (>= 0.9.0)
48
48
  vcr (3.0.3)
49
49
  webmock (1.24.6)
@@ -60,7 +60,7 @@ DEPENDENCIES
60
60
  autotest-growl (~> 0.2, >= 0.2.16)
61
61
  autotest-rails-pure (~> 4.1, >= 4.1.2)
62
62
  budgea_client!
63
- rake (~> 12.0.0)
63
+ rake (~> 12.3.3)
64
64
  rspec (~> 3.6, >= 3.6.0)
65
65
  vcr (~> 3.0, >= 3.0.1)
66
66
  webmock (~> 1.24, >= 1.24.3)
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.0.4
10
+ - Package version: 5.1.3
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.0.4.gem
26
+ gem install ./budgea_client-5.1.3.gem
27
27
  ```
28
- (for development, run `gem install --dev ./budgea_client-5.0.4.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./budgea_client-5.1.3.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.0.4'
34
+ gem 'budgea_client', '~> 5.1.3'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -149,6 +149,10 @@ Class | Method | HTTP request | Description
149
149
  *BudgeaClient::BanksApi* | [**categorize_post**](docs/BanksApi.md#categorize_post) | **POST** /categorize | categorize transactions without storing them
150
150
  *BudgeaClient::BanksApi* | [**connections_get**](docs/BanksApi.md#connections_get) | **GET** /connections | Get connections without a user
151
151
  *BudgeaClient::BanksApi* | [**connections_id_connection_logs_get**](docs/BanksApi.md#connections_id_connection_logs_get) | **GET** /connections/{id_connection}/logs | Get connection logs
152
+ *BudgeaClient::BanksApi* | [**connections_id_connection_sources_get**](docs/BanksApi.md#connections_id_connection_sources_get) | **GET** /connections/{id_connection}/sources | Get connection sources
153
+ *BudgeaClient::BanksApi* | [**connections_id_connection_sources_id_source_delete**](docs/BanksApi.md#connections_id_connection_sources_id_source_delete) | **DELETE** /connections/{id_connection}/sources/{id_source} | Disable a connection source
154
+ *BudgeaClient::BanksApi* | [**connections_id_connection_sources_id_source_post**](docs/BanksApi.md#connections_id_connection_sources_id_source_post) | **POST** /connections/{id_connection}/sources/{id_source} | Enable connection source
155
+ *BudgeaClient::BanksApi* | [**connections_id_connection_sources_id_source_put**](docs/BanksApi.md#connections_id_connection_sources_id_source_put) | **PUT** /connections/{id_connection}/sources/{id_source} | Enable connection source
152
156
  *BudgeaClient::BanksApi* | [**connectors_get**](docs/BanksApi.md#connectors_get) | **GET** /connectors | Get list of connectors
153
157
  *BudgeaClient::BanksApi* | [**connectors_id_connector_logos_get**](docs/BanksApi.md#connectors_id_connector_logos_get) | **GET** /connectors/{id_connector}/logos | Get all links to the files associated with this connector.
154
158
  *BudgeaClient::BanksApi* | [**connectors_id_connector_logos_id_logo_delete**](docs/BanksApi.md#connectors_id_connector_logos_id_logo_delete) | **DELETE** /connectors/{id_connector}/logos/{id_logo} | Delete a single Logo object.
@@ -270,6 +274,10 @@ Class | Method | HTTP request | Description
270
274
  *BudgeaClient::ConnectionsApi* | [**banks_id_connector_sources_get**](docs/ConnectionsApi.md#banks_id_connector_sources_get) | **GET** /banks/{id_connector}/sources | Get list of connector sources
271
275
  *BudgeaClient::ConnectionsApi* | [**connections_get**](docs/ConnectionsApi.md#connections_get) | **GET** /connections | Get connections without a user
272
276
  *BudgeaClient::ConnectionsApi* | [**connections_id_connection_logs_get**](docs/ConnectionsApi.md#connections_id_connection_logs_get) | **GET** /connections/{id_connection}/logs | Get connection logs
277
+ *BudgeaClient::ConnectionsApi* | [**connections_id_connection_sources_get**](docs/ConnectionsApi.md#connections_id_connection_sources_get) | **GET** /connections/{id_connection}/sources | Get connection sources
278
+ *BudgeaClient::ConnectionsApi* | [**connections_id_connection_sources_id_source_delete**](docs/ConnectionsApi.md#connections_id_connection_sources_id_source_delete) | **DELETE** /connections/{id_connection}/sources/{id_source} | Disable a connection source
279
+ *BudgeaClient::ConnectionsApi* | [**connections_id_connection_sources_id_source_post**](docs/ConnectionsApi.md#connections_id_connection_sources_id_source_post) | **POST** /connections/{id_connection}/sources/{id_source} | Enable connection source
280
+ *BudgeaClient::ConnectionsApi* | [**connections_id_connection_sources_id_source_put**](docs/ConnectionsApi.md#connections_id_connection_sources_id_source_put) | **PUT** /connections/{id_connection}/sources/{id_source} | Enable connection source
273
281
  *BudgeaClient::ConnectionsApi* | [**connectors_get**](docs/ConnectionsApi.md#connectors_get) | **GET** /connectors | Get list of connectors
274
282
  *BudgeaClient::ConnectionsApi* | [**connectors_id_connector_sources_get**](docs/ConnectionsApi.md#connectors_id_connector_sources_get) | **GET** /connectors/{id_connector}/sources | Get list of connector sources
275
283
  *BudgeaClient::ConnectionsApi* | [**connectors_id_connector_sources_id_source_put**](docs/ConnectionsApi.md#connectors_id_connector_sources_id_source_put) | **PUT** /connectors/{id_connector}/sources/{id_source} | Edit the provided connector source
@@ -392,7 +400,7 @@ Class | Method | HTTP request | Description
392
400
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_balances_get**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_balances_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/balances | Get balances of accounts
393
401
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_get**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert | Get a list of configurated alerts
394
402
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Delete an alert on transactions or investments
395
- *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Edit an alert on transactions or investements
403
+ *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Edit an alert on transactions or investments
396
404
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_post**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_post) | **POST** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert | Create an alert on transactions or investments of a given user
397
405
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_balances_get**](docs/PFMApi.md#users_id_user_connections_id_connection_balances_get) | **GET** /users/{id_user}/connections/{id_connection}/balances | Get balances of accounts
398
406
  *BudgeaClient::PFMApi* | [**users_id_user_devices_get**](docs/PFMApi.md#users_id_user_devices_get) | **GET** /users/{id_user}/devices | Get devices
@@ -420,6 +428,10 @@ Class | Method | HTTP request | Description
420
428
  *BudgeaClient::ProvidersApi* | [**banks_id_connector_sources_get**](docs/ProvidersApi.md#banks_id_connector_sources_get) | **GET** /banks/{id_connector}/sources | Get list of connector sources
421
429
  *BudgeaClient::ProvidersApi* | [**connections_get**](docs/ProvidersApi.md#connections_get) | **GET** /connections | Get connections without a user
422
430
  *BudgeaClient::ProvidersApi* | [**connections_id_connection_logs_get**](docs/ProvidersApi.md#connections_id_connection_logs_get) | **GET** /connections/{id_connection}/logs | Get connection logs
431
+ *BudgeaClient::ProvidersApi* | [**connections_id_connection_sources_get**](docs/ProvidersApi.md#connections_id_connection_sources_get) | **GET** /connections/{id_connection}/sources | Get connection sources
432
+ *BudgeaClient::ProvidersApi* | [**connections_id_connection_sources_id_source_delete**](docs/ProvidersApi.md#connections_id_connection_sources_id_source_delete) | **DELETE** /connections/{id_connection}/sources/{id_source} | Disable a connection source
433
+ *BudgeaClient::ProvidersApi* | [**connections_id_connection_sources_id_source_post**](docs/ProvidersApi.md#connections_id_connection_sources_id_source_post) | **POST** /connections/{id_connection}/sources/{id_source} | Enable connection source
434
+ *BudgeaClient::ProvidersApi* | [**connections_id_connection_sources_id_source_put**](docs/ProvidersApi.md#connections_id_connection_sources_id_source_put) | **PUT** /connections/{id_connection}/sources/{id_source} | Enable connection source
423
435
  *BudgeaClient::ProvidersApi* | [**connectors_get**](docs/ProvidersApi.md#connectors_get) | **GET** /connectors | Get list of connectors
424
436
  *BudgeaClient::ProvidersApi* | [**connectors_id_connector_logos_get**](docs/ProvidersApi.md#connectors_id_connector_logos_get) | **GET** /connectors/{id_connector}/logos | Get all links to the files associated with this connector.
425
437
  *BudgeaClient::ProvidersApi* | [**connectors_id_connector_logos_id_logo_delete**](docs/ProvidersApi.md#connectors_id_connector_logos_id_logo_delete) | **DELETE** /connectors/{id_connector}/logos/{id_logo} | Delete a single Logo object.
@@ -540,6 +552,7 @@ Class | Method | HTTP request | Description
540
552
  *BudgeaClient::RecipientsApi* | [**users_id_user_connections_id_connection_recipients_post**](docs/RecipientsApi.md#users_id_user_connections_id_connection_recipients_post) | **POST** /users/{id_user}/connections/{id_connection}/recipients | Add a recipient.
541
553
  *BudgeaClient::RecipientsApi* | [**users_id_user_recipients_post**](docs/RecipientsApi.md#users_id_user_recipients_post) | **POST** /users/{id_user}/recipients | Add a recipient.
542
554
  *BudgeaClient::TermsApi* | [**terms_get**](docs/TermsApi.md#terms_get) | **GET** /terms | Return the current terms and the content of the associated file
555
+ *BudgeaClient::TermsApi* | [**terms_id_term_post**](docs/TermsApi.md#terms_id_term_post) | **POST** /terms/{id_term} | Add terms content for a language. Only for the active terms, there is no use to update obsolete terms
543
556
  *BudgeaClient::TermsApi* | [**terms_post**](docs/TermsApi.md#terms_post) | **POST** /terms | Register a version of 'Terms of Service' in database
544
557
  *BudgeaClient::TermsApi* | [**users_id_user_terms_get**](docs/TermsApi.md#users_id_user_terms_get) | **GET** /users/{id_user}/terms | Get active terms object for a specific user, only one terms can be active
545
558
  *BudgeaClient::TermsApi* | [**users_id_user_terms_post**](docs/TermsApi.md#users_id_user_terms_post) | **POST** /users/{id_user}/terms | Register user's consent for a specific terms id
@@ -596,7 +609,7 @@ Class | Method | HTTP request | Description
596
609
  *BudgeaClient::UsersManagementApi* | [**users_id_user_profiles_main_get**](docs/UsersManagementApi.md#users_id_user_profiles_main_get) | **GET** /users/{id_user}/profiles/main | Get the main profile
597
610
  *BudgeaClient::UsersManagementApi* | [**users_id_user_profiles_me_get**](docs/UsersManagementApi.md#users_id_user_profiles_me_get) | **GET** /users/{id_user}/profiles/me | Get my profile
598
611
  *BudgeaClient::UsersManagementApi* | [**users_id_user_token_post**](docs/UsersManagementApi.md#users_id_user_token_post) | **POST** /users/{id_user}/token | Create a token
599
- *BudgeaClient::WealthApi* | [**finance_securities_get**](docs/WealthApi.md#finance_securities_get) | **GET** /finance/securities | Get securities
612
+ *BudgeaClient::WealthApi* | [**finance_securities_get**](docs/WealthApi.md#finance_securities_get) | **GET** /finance/securities | Get finance securities
600
613
  *BudgeaClient::WealthApi* | [**finance_securities_id_security_history_get**](docs/WealthApi.md#finance_securities_id_security_history_get) | **GET** /finance/securities/{id_security}/history | Get connection logs
601
614
  *BudgeaClient::WealthApi* | [**users_id_user_accounts_id_account_investments_get**](docs/WealthApi.md#users_id_user_accounts_id_account_investments_get) | **GET** /users/{id_user}/accounts/{id_account}/investments | Get investments
602
615
  *BudgeaClient::WealthApi* | [**users_id_user_accounts_id_account_investments_id_investment_history_get**](docs/WealthApi.md#users_id_user_accounts_id_account_investments_id_investment_history_get) | **GET** /users/{id_user}/accounts/{id_account}/investments/{id_investment}/history | Get investment values
@@ -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.1
11
+ Swagger Codegen version: 2.4.14
12
12
 
13
13
  =end
14
14
 
@@ -1370,7 +1370,7 @@
1370
1370
  {
1371
1371
  "required": false,
1372
1372
  "in": "formData",
1373
- "type": "array",
1373
+ "type": "string",
1374
1374
  "name": "redirect_uris",
1375
1375
  "description": "list of allowed redirect uris"
1376
1376
  },
@@ -1467,7 +1467,7 @@
1467
1467
  {
1468
1468
  "required": false,
1469
1469
  "in": "formData",
1470
- "type": "array",
1470
+ "type": "string",
1471
1471
  "name": "redirect_uris",
1472
1472
  "description": "list of allowed redirect uris"
1473
1473
  },
@@ -1922,6 +1922,174 @@
1922
1922
  "summary": "Get connection logs"
1923
1923
  }
1924
1924
  },
1925
+ "/connections/{id_connection}/sources": {
1926
+ "get": {
1927
+ "responses": {
1928
+ "200": {
1929
+ "description": "sources",
1930
+ "schema": {
1931
+ "required": [
1932
+ "sources"
1933
+ ],
1934
+ "type": "object",
1935
+ "properties": {
1936
+ "sources": {
1937
+ "items": {
1938
+ "$ref": "#/definitions/ConnectionSource"
1939
+ },
1940
+ "type": "array"
1941
+ },
1942
+ "total": {
1943
+ "type": "number",
1944
+ "description": "total number of results"
1945
+ }
1946
+ }
1947
+ }
1948
+ }
1949
+ },
1950
+ "tags": [
1951
+ "Connections",
1952
+ "Banks",
1953
+ "Providers"
1954
+ ],
1955
+ "description": "",
1956
+ "parameters": [
1957
+ {
1958
+ "required": true,
1959
+ "in": "path",
1960
+ "type": "integer",
1961
+ "name": "id_connection",
1962
+ "description": ""
1963
+ },
1964
+ {
1965
+ "required": false,
1966
+ "type": "string",
1967
+ "name": "expand",
1968
+ "in": "query"
1969
+ }
1970
+ ],
1971
+ "summary": "Get connection sources"
1972
+ }
1973
+ },
1974
+ "/connections/{id_connection}/sources/{id_source}": {
1975
+ "post": {
1976
+ "responses": {
1977
+ "200": {
1978
+ "description": "Successful POST on ConnectionSource resource",
1979
+ "schema": {
1980
+ "$ref": "#/definitions/ConnectionSource"
1981
+ }
1982
+ }
1983
+ },
1984
+ "tags": [
1985
+ "Connections",
1986
+ "Banks",
1987
+ "Providers"
1988
+ ],
1989
+ "description": "This will make it so the specified source will be able to be synchronized.<br><br>",
1990
+ "parameters": [
1991
+ {
1992
+ "required": true,
1993
+ "in": "path",
1994
+ "type": "integer",
1995
+ "name": "id_connection",
1996
+ "description": ""
1997
+ },
1998
+ {
1999
+ "required": true,
2000
+ "in": "path",
2001
+ "type": "integer",
2002
+ "name": "id_source",
2003
+ "description": ""
2004
+ },
2005
+ {
2006
+ "required": false,
2007
+ "type": "string",
2008
+ "name": "expand",
2009
+ "in": "query"
2010
+ }
2011
+ ],
2012
+ "summary": "Enable connection source"
2013
+ },
2014
+ "put": {
2015
+ "responses": {
2016
+ "200": {
2017
+ "description": "Successful PUT on ConnectionSource resource",
2018
+ "schema": {
2019
+ "$ref": "#/definitions/ConnectionSource"
2020
+ }
2021
+ }
2022
+ },
2023
+ "tags": [
2024
+ "Connections",
2025
+ "Banks",
2026
+ "Providers"
2027
+ ],
2028
+ "description": "This will make it so the specified source will be able to be synchronized.<br><br>",
2029
+ "parameters": [
2030
+ {
2031
+ "required": true,
2032
+ "in": "path",
2033
+ "type": "integer",
2034
+ "name": "id_connection",
2035
+ "description": ""
2036
+ },
2037
+ {
2038
+ "required": true,
2039
+ "in": "path",
2040
+ "type": "integer",
2041
+ "name": "id_source",
2042
+ "description": ""
2043
+ },
2044
+ {
2045
+ "required": false,
2046
+ "type": "string",
2047
+ "name": "expand",
2048
+ "in": "query"
2049
+ }
2050
+ ],
2051
+ "summary": "Enable connection source"
2052
+ },
2053
+ "delete": {
2054
+ "responses": {
2055
+ "200": {
2056
+ "description": "Successful DELETE on ConnectionSource resource",
2057
+ "schema": {
2058
+ "$ref": "#/definitions/ConnectionSource"
2059
+ }
2060
+ }
2061
+ },
2062
+ "tags": [
2063
+ "Connections",
2064
+ "Banks",
2065
+ "Providers"
2066
+ ],
2067
+ "description": "This will make it so the specified source will not be synchronized anymore.<br><br>",
2068
+ "parameters": [
2069
+ {
2070
+ "required": true,
2071
+ "in": "path",
2072
+ "type": "integer",
2073
+ "name": "id_connection",
2074
+ "description": ""
2075
+ },
2076
+ {
2077
+ "required": true,
2078
+ "in": "path",
2079
+ "type": "integer",
2080
+ "name": "id_source",
2081
+ "description": ""
2082
+ },
2083
+ {
2084
+ "required": false,
2085
+ "type": "string",
2086
+ "name": "expand",
2087
+ "in": "query"
2088
+ }
2089
+ ],
2090
+ "summary": "Disable a connection source"
2091
+ }
2092
+ },
1925
2093
  "/connectors": {
1926
2094
  "get": {
1927
2095
  "responses": {
@@ -2675,7 +2843,7 @@
2675
2843
  "in": "query"
2676
2844
  }
2677
2845
  ],
2678
- "summary": "Get securities"
2846
+ "summary": "Get finance securities"
2679
2847
  }
2680
2848
  },
2681
2849
  "/finance/securities/{id_security}/history": {
@@ -3041,7 +3209,7 @@
3041
3209
  {
3042
3210
  "required": true,
3043
3211
  "in": "formData",
3044
- "type": "array",
3212
+ "type": "string",
3045
3213
  "name": "redirect_uris",
3046
3214
  "description": "list of allowed redirect uris"
3047
3215
  },
@@ -3628,10 +3796,6 @@
3628
3796
  }
3629
3797
  }
3630
3798
  },
3631
- "tags": [
3632
- "Terms"
3633
- ],
3634
- "description": "",
3635
3799
  "parameters": [
3636
3800
  {
3637
3801
  "required": false,
@@ -3643,10 +3807,66 @@
3643
3807
  {
3644
3808
  "required": false,
3645
3809
  "in": "formData",
3646
- "type": "string",
3810
+ "type": "file",
3647
3811
  "name": "file_content",
3648
3812
  "description": "file containing the terms, optional"
3649
3813
  },
3814
+ {
3815
+ "required": false,
3816
+ "in": "formData",
3817
+ "type": "string",
3818
+ "name": "language",
3819
+ "description": "two letters code of the language of the inserted terms if provided. default: 'fr'"
3820
+ },
3821
+ {
3822
+ "required": false,
3823
+ "type": "string",
3824
+ "name": "expand",
3825
+ "in": "query"
3826
+ }
3827
+ ],
3828
+ "tags": [
3829
+ "Terms"
3830
+ ],
3831
+ "summary": "Register a version of 'Terms of Service' in database",
3832
+ "consumes": [
3833
+ "multipart/form-data"
3834
+ ],
3835
+ "description": ""
3836
+ }
3837
+ },
3838
+ "/terms/{id_term}": {
3839
+ "post": {
3840
+ "responses": {
3841
+ "200": {
3842
+ "description": "Successful POST on TermsOfService resource",
3843
+ "schema": {
3844
+ "$ref": "#/definitions/TermsOfService"
3845
+ }
3846
+ }
3847
+ },
3848
+ "parameters": [
3849
+ {
3850
+ "required": true,
3851
+ "in": "path",
3852
+ "type": "integer",
3853
+ "name": "id_term",
3854
+ "description": ""
3855
+ },
3856
+ {
3857
+ "required": false,
3858
+ "in": "formData",
3859
+ "type": "string",
3860
+ "name": "language",
3861
+ "description": "two letter code of the language to inserted"
3862
+ },
3863
+ {
3864
+ "required": false,
3865
+ "in": "formData",
3866
+ "type": "file",
3867
+ "name": "file_content",
3868
+ "description": "file containing the terms"
3869
+ },
3650
3870
  {
3651
3871
  "required": false,
3652
3872
  "type": "string",
@@ -3654,7 +3874,14 @@
3654
3874
  "in": "query"
3655
3875
  }
3656
3876
  ],
3657
- "summary": "Register a version of 'Terms of Service' in database"
3877
+ "tags": [
3878
+ "Terms"
3879
+ ],
3880
+ "summary": "Add terms content for a language. Only for the active terms, there is no use to update obsolete terms",
3881
+ "consumes": [
3882
+ "multipart/form-data"
3883
+ ],
3884
+ "description": ""
3658
3885
  }
3659
3886
  },
3660
3887
  "/test/sync": {
@@ -4371,6 +4598,20 @@
4371
4598
  "name": "id_account",
4372
4599
  "description": ""
4373
4600
  },
4601
+ {
4602
+ "required": false,
4603
+ "in": "query",
4604
+ "type": "string",
4605
+ "name": "label",
4606
+ "description": "filter investments using keywords in labels"
4607
+ },
4608
+ {
4609
+ "required": false,
4610
+ "in": "query",
4611
+ "type": "string",
4612
+ "name": "code",
4613
+ "description": "filter investments by ISIN codes"
4614
+ },
4374
4615
  {
4375
4616
  "required": false,
4376
4617
  "type": "string",
@@ -8260,133 +8501,23 @@
8260
8501
  },
8261
8502
  {
8262
8503
  "required": false,
8263
- "in": "formData",
8264
- "type": "integer",
8265
- "name": "id_connector",
8266
- "description": "ID of the connector"
8267
- },
8268
- {
8269
- "required": false,
8270
- "in": "formData",
8271
8504
  "type": "string",
8272
- "name": "connector_uuid",
8273
- "description": "optional uuid of the connector (replaces id_connector)"
8274
- },
8275
- {
8276
- "required": false,
8277
- "in": "formData",
8278
- "type": "string",
8279
- "name": "birthday",
8280
- "description": "bank additional login parameter"
8505
+ "name": "expand",
8506
+ "in": "query"
8281
8507
  },
8282
8508
  {
8283
- "required": false,
8284
- "in": "formData",
8285
- "type": "string",
8286
- "name": "password",
8287
- "description": "bank additional login parameter"
8288
- },
8289
- {
8290
- "required": false,
8291
- "in": "formData",
8292
- "type": "string",
8293
- "name": "oauth_token",
8294
- "description": "bank additional login parameter"
8295
- },
8296
- {
8297
- "required": false,
8298
- "in": "formData",
8299
- "type": "string",
8300
- "name": "oauth_token_secret",
8301
- "description": "bank additional login parameter"
8302
- },
8303
- {
8304
- "required": false,
8305
- "in": "formData",
8306
- "type": "string",
8307
- "name": "auth_type",
8308
- "description": "bank additional login parameter"
8309
- },
8310
- {
8311
- "required": false,
8312
- "in": "formData",
8313
- "type": "string",
8314
- "name": "secret",
8315
- "description": "bank additional login parameter"
8316
- },
8317
- {
8318
- "required": false,
8319
- "in": "formData",
8320
- "type": "string",
8321
- "name": "type",
8322
- "description": "bank additional login parameter"
8323
- },
8324
- {
8325
- "required": false,
8326
- "in": "formData",
8327
- "type": "string",
8328
- "name": "birthdate",
8329
- "description": "bank additional login parameter"
8330
- },
8331
- {
8332
- "required": false,
8333
- "in": "formData",
8334
- "type": "string",
8335
- "name": "nuser",
8336
- "description": "bank additional login parameter"
8337
- },
8338
- {
8339
- "required": false,
8340
- "in": "formData",
8341
- "type": "string",
8342
- "name": "website",
8343
- "description": "bank additional login parameter"
8344
- },
8345
- {
8346
- "required": false,
8347
- "in": "formData",
8348
- "type": "string",
8349
- "name": "openapiwebsite",
8350
- "description": "bank additional login parameter"
8351
- },
8352
- {
8353
- "required": false,
8354
- "in": "formData",
8355
- "type": "string",
8356
- "name": "website",
8357
- "description": "bank additional login parameter"
8358
- },
8359
- {
8360
- "required": false,
8361
- "in": "formData",
8362
- "type": "string",
8363
- "name": "login",
8364
- "description": "bank additional login parameter"
8365
- },
8366
- {
8367
- "required": false,
8368
- "in": "formData",
8369
- "type": "integer",
8370
- "name": "id_provider",
8371
- "description": "ID of the provider"
8372
- },
8373
- {
8374
- "required": false,
8375
- "in": "formData",
8376
- "type": "boolean",
8377
- "name": "resume",
8378
- "description": "Resume a decoupled connection creation"
8379
- },
8380
- {
8381
- "required": false,
8382
- "type": "string",
8383
- "name": "expand",
8384
- "in": "query"
8509
+ "in": "body",
8510
+ "name": "connection",
8511
+ "schema": {
8512
+ "additionalProperties": {
8513
+ "type": "string"
8514
+ }
8515
+ }
8385
8516
  }
8386
8517
  ],
8387
8518
  "summary": "Add a new connection.",
8388
8519
  "consumes": [
8389
- "application/x-www-form-urlencoded"
8520
+ "application/json"
8390
8521
  ]
8391
8522
  },
8392
8523
  "delete": {
@@ -8493,51 +8624,18 @@
8493
8624
  "description": ""
8494
8625
  },
8495
8626
  {
8496
- "required": false,
8497
- "in": "formData",
8498
- "type": "boolean",
8499
- "name": "active",
8500
- "description": "Set if the connection synchronisation is active"
8501
- },
8502
- {
8503
- "name": "expire",
8504
- "format": "date-time",
8505
- "required": false,
8506
- "in": "formData",
8507
- "type": "string",
8508
- "description": "Set expiration of the connection to this date"
8509
- },
8510
- {
8511
- "required": false,
8512
- "in": "formData",
8513
- "type": "string",
8514
- "name": "login",
8515
- "description": "Set login to this new login"
8516
- },
8517
- {
8518
- "required": false,
8519
- "in": "formData",
8520
- "type": "string",
8521
- "name": "password",
8522
- "description": "Set password to this new password"
8523
- },
8524
- {
8525
- "required": false,
8526
- "in": "formData",
8527
- "type": "boolean",
8528
- "name": "decoupled",
8529
- "description": "Try to update a connection with the decoupled error"
8530
- },
8531
- {
8532
- "required": false,
8533
- "type": "string",
8534
- "name": "expand",
8535
- "in": "query"
8627
+ "in": "body",
8628
+ "name": "connection",
8629
+ "schema": {
8630
+ "additionalProperties": {
8631
+ "type": "string"
8632
+ }
8633
+ }
8536
8634
  }
8537
8635
  ],
8538
8636
  "summary": "Update a connection.",
8539
8637
  "consumes": [
8540
- "application/x-www-form-urlencoded"
8638
+ "application/json"
8541
8639
  ]
8542
8640
  },
8543
8641
  "put": {
@@ -9178,6 +9276,20 @@
9178
9276
  "name": "id_account",
9179
9277
  "description": ""
9180
9278
  },
9279
+ {
9280
+ "required": false,
9281
+ "in": "query",
9282
+ "type": "string",
9283
+ "name": "label",
9284
+ "description": "filter investments using keywords in labels"
9285
+ },
9286
+ {
9287
+ "required": false,
9288
+ "in": "query",
9289
+ "type": "string",
9290
+ "name": "code",
9291
+ "description": "filter investments by ISIN codes"
9292
+ },
9181
9293
  {
9182
9294
  "required": false,
9183
9295
  "type": "string",
@@ -9742,7 +9854,7 @@
9742
9854
  "in": "query"
9743
9855
  }
9744
9856
  ],
9745
- "summary": "Edit an alert on transactions or investements",
9857
+ "summary": "Edit an alert on transactions or investments",
9746
9858
  "consumes": [
9747
9859
  "application/x-www-form-urlencoded"
9748
9860
  ]
@@ -13424,6 +13536,20 @@
13424
13536
  "name": "id_connection",
13425
13537
  "description": ""
13426
13538
  },
13539
+ {
13540
+ "required": false,
13541
+ "in": "query",
13542
+ "type": "string",
13543
+ "name": "label",
13544
+ "description": "filter investments using keywords in labels"
13545
+ },
13546
+ {
13547
+ "required": false,
13548
+ "in": "query",
13549
+ "type": "string",
13550
+ "name": "code",
13551
+ "description": "filter investments by ISIN codes"
13552
+ },
13427
13553
  {
13428
13554
  "required": false,
13429
13555
  "type": "string",
@@ -18138,6 +18264,20 @@
18138
18264
  "name": "id_user",
18139
18265
  "description": "Hint: you can use 'me' or 'all'"
18140
18266
  },
18267
+ {
18268
+ "required": false,
18269
+ "in": "query",
18270
+ "type": "string",
18271
+ "name": "label",
18272
+ "description": "filter investments using keywords in labels"
18273
+ },
18274
+ {
18275
+ "required": false,
18276
+ "in": "query",
18277
+ "type": "string",
18278
+ "name": "code",
18279
+ "description": "filter investments by ISIN codes"
18280
+ },
18141
18281
  {
18142
18282
  "required": false,
18143
18283
  "type": "string",
@@ -22447,11 +22587,10 @@
22447
22587
  "description": "The webhook authentication process to use (its ID or its name)"
22448
22588
  },
22449
22589
  {
22450
- "name": "url",
22451
- "format": "float",
22452
22590
  "required": false,
22453
22591
  "in": "formData",
22454
- "type": "number",
22592
+ "type": "string",
22593
+ "name": "url",
22455
22594
  "description": "The webhook callback url"
22456
22595
  },
22457
22596
  {
@@ -22793,11 +22932,10 @@
22793
22932
  "description": "The webhook authentication process to use"
22794
22933
  },
22795
22934
  {
22796
- "name": "url",
22797
- "format": "float",
22798
22935
  "required": false,
22799
22936
  "in": "formData",
22800
- "type": "number",
22937
+ "type": "string",
22938
+ "name": "url",
22801
22939
  "description": "The webhook callback url"
22802
22940
  },
22803
22941
  {
@@ -22866,11 +23004,10 @@
22866
23004
  "description": "The webhook authentication process to use"
22867
23005
  },
22868
23006
  {
22869
- "name": "url",
22870
- "format": "float",
22871
23007
  "required": false,
22872
23008
  "in": "formData",
22873
- "type": "number",
23009
+ "type": "string",
23010
+ "name": "url",
22874
23011
  "description": "The webhook callback url"
22875
23012
  },
22876
23013
  {
@@ -23338,6 +23475,37 @@
23338
23475
  "restricted": false
23339
23476
  }
23340
23477
  },
23478
+ "ConnectorLogo": {
23479
+ "required": [
23480
+ "id",
23481
+ "id_connector",
23482
+ "id_file"
23483
+ ],
23484
+ "type": "object",
23485
+ "properties": {
23486
+ "id": {
23487
+ "type": "integer"
23488
+ },
23489
+ "id_connector": {
23490
+ "type": "integer",
23491
+ "description": "ID of the connector"
23492
+ },
23493
+ "id_file": {
23494
+ "type": "integer",
23495
+ "description": "Id of the Bank/Provider Logo"
23496
+ },
23497
+ "type": {
23498
+ "type": "string",
23499
+ "description": "Logo's type"
23500
+ }
23501
+ },
23502
+ "example": {
23503
+ "id": 0,
23504
+ "id_connector": 0,
23505
+ "id_file": 0,
23506
+ "type": ""
23507
+ }
23508
+ },
23341
23509
  "ConnectorSource": {
23342
23510
  "required": [
23343
23511
  "id",
@@ -23478,37 +23646,6 @@
23478
23646
  }
23479
23647
  }
23480
23648
  },
23481
- "ConnectorLogo": {
23482
- "required": [
23483
- "id",
23484
- "id_connector",
23485
- "id_file"
23486
- ],
23487
- "type": "object",
23488
- "properties": {
23489
- "id": {
23490
- "type": "integer"
23491
- },
23492
- "id_connector": {
23493
- "type": "integer",
23494
- "description": "ID of the connector"
23495
- },
23496
- "id_file": {
23497
- "type": "integer",
23498
- "description": "Id of the Bank/Provider Logo"
23499
- },
23500
- "type": {
23501
- "type": "string",
23502
- "description": "Logo's type"
23503
- }
23504
- },
23505
- "example": {
23506
- "id": 0,
23507
- "id_connector": 0,
23508
- "id_file": 0,
23509
- "type": ""
23510
- }
23511
- },
23512
23649
  "User": {
23513
23650
  "required": [
23514
23651
  "id",
@@ -23606,223 +23743,292 @@
23606
23743
  "type": ""
23607
23744
  }
23608
23745
  },
23609
- "TermsOfService": {
23746
+ "Connection": {
23610
23747
  "required": [
23611
23748
  "id",
23612
- "version",
23613
- "created"
23749
+ "id_connector",
23750
+ "active"
23614
23751
  ],
23615
23752
  "type": "object",
23616
23753
  "properties": {
23617
23754
  "id": {
23618
- "type": "integer"
23755
+ "type": "integer",
23756
+ "description": "ID of connection"
23619
23757
  },
23620
- "version": {
23621
- "type": "string"
23758
+ "id_user": {
23759
+ "type": "integer",
23760
+ "description": "ID of the related user"
23622
23761
  },
23623
- "id_file": {
23624
- "type": "integer"
23762
+ "id_connector": {
23763
+ "type": "integer",
23764
+ "description": "ID of the related connector"
23625
23765
  },
23626
- "created": {
23766
+ "last_update": {
23627
23767
  "type": "string",
23768
+ "description": "Last successful update",
23628
23769
  "format": "date-time"
23629
23770
  },
23630
- "deleted": {
23771
+ "created": {
23772
+ "default": "<function <lambda> at 0x7f8894ce1aa0>",
23631
23773
  "type": "string",
23774
+ "description": "Creation date",
23632
23775
  "format": "date-time"
23633
- }
23634
- },
23635
- "example": {
23636
- "id": 0,
23637
- "version": "",
23638
- "id_file": 0,
23639
- "created": "2019-03-12 13:08:00.680453",
23640
- "deleted": "2019-03-12 13:08:00.680558"
23641
- }
23642
- },
23643
- "Category": {
23644
- "required": [
23645
- "id",
23646
- "id_parent_category",
23647
- "name",
23648
- "color",
23649
- "id_parent_category_in_menu",
23650
- "refundable"
23651
- ],
23652
- "type": "object",
23653
- "properties": {
23654
- "id": {
23655
- "type": "integer",
23656
- "description": "ID of the category"
23657
23776
  },
23658
- "id_parent_category": {
23659
- "type": "integer",
23660
- "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
23777
+ "error": {
23778
+ "type": "string",
23779
+ "description": "If the last update has failed, the error code"
23661
23780
  },
23662
- "name": {
23781
+ "error_message": {
23663
23782
  "type": "string",
23664
- "description": "Name of the category"
23783
+ "description": "If fail, error message received from connector"
23665
23784
  },
23666
- "income": {
23785
+ "expire": {
23786
+ "type": "string",
23787
+ "description": "Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort",
23788
+ "format": "date-time"
23789
+ },
23790
+ "active": {
23791
+ "default": true,
23667
23792
  "type": "boolean",
23668
- "description": "Is an income category. If null, this is both an income and an expense category"
23793
+ "description": "This connection is active and will be automatically synced"
23669
23794
  },
23670
- "color": {
23795
+ "last_push": {
23671
23796
  "type": "string",
23672
- "description": "Color of the category"
23797
+ "description": "Last successful push",
23798
+ "format": "date-time"
23673
23799
  },
23674
- "id_parent_category_in_menu": {
23675
- "type": "integer",
23676
- "description": "ID of the parent category to be displayed"
23800
+ "state": {
23801
+ "type": "string",
23802
+ "enum": [
23803
+ "wrongpass",
23804
+ "additionalInformationNeeded",
23805
+ "websiteUnavailable",
23806
+ "actionNeeded",
23807
+ "SCARequired",
23808
+ "decoupled",
23809
+ "passwordExpired",
23810
+ "webauthRequired",
23811
+ "bug"
23812
+ ],
23813
+ "description": "State of Connection"
23677
23814
  },
23678
- "name_displayed": {
23815
+ "fields": {
23816
+ "type": "array",
23817
+ "items": {
23818
+ "$ref": "#/definitions/Field"
23819
+ }
23820
+ },
23821
+ "next_try": {
23679
23822
  "type": "string",
23680
- "description": "Displayed name, with HTML tags"
23823
+ "description": "Date of next synchronization",
23824
+ "format": "date-time"
23681
23825
  },
23682
- "refundable": {
23683
- "type": "boolean",
23684
- "description": "This category accepts opposite sign of transactions"
23826
+ "accounts": {
23827
+ "type": "array",
23828
+ "items": {
23829
+ "$ref": "#/definitions/Account"
23830
+ }
23685
23831
  },
23686
- "id_user": {
23687
- "type": "integer",
23688
- "description": "If not null, this category is specific to a user"
23832
+ "subscriptions": {
23833
+ "type": "array",
23834
+ "items": {
23835
+ "$ref": "#/definitions/Subscription"
23836
+ }
23689
23837
  },
23690
- "id_logo": {
23691
- "type": "integer",
23692
- "description": "ID of the logo"
23838
+ "connection": {
23839
+ "$ref": "#/definitions/Connection"
23840
+ },
23841
+ "message": {
23842
+ "type": "string"
23693
23843
  }
23694
23844
  },
23695
23845
  "example": {
23696
23846
  "id": 0,
23697
- "id_parent_category": 0,
23698
- "name": "",
23699
- "income": false,
23700
- "color": "",
23701
- "id_parent_category_in_menu": 0,
23702
- "name_displayed": "",
23703
- "refundable": false,
23704
23847
  "id_user": 0,
23705
- "id_logo": 0
23848
+ "id_connector": 0,
23849
+ "last_update": "2019-08-02 17:21:59.365076",
23850
+ "created": "<function <lambda> at 0x7f8894ce1aa0>",
23851
+ "error": "",
23852
+ "expire": "2019-08-02 17:21:59.365257",
23853
+ "active": true,
23854
+ "last_push": "2019-08-02 17:21:59.365378",
23855
+ "next_try": "2019-08-02 17:21:59.365554"
23706
23856
  }
23707
23857
  },
23708
- "Client": {
23858
+ "ConnectionSource": {
23709
23859
  "required": [
23710
23860
  "id",
23861
+ "id_connection",
23862
+ "id_connector_source",
23711
23863
  "name",
23712
- "secret",
23713
- "redirect_uris",
23714
- "pro"
23864
+ "created"
23715
23865
  ],
23716
23866
  "type": "object",
23717
23867
  "properties": {
23718
23868
  "id": {
23719
- "type": "integer"
23869
+ "type": "integer",
23870
+ "description": "ID of connection"
23871
+ },
23872
+ "id_connection": {
23873
+ "type": "integer",
23874
+ "description": "ID of the related connection"
23875
+ },
23876
+ "id_connector_source": {
23877
+ "type": "integer",
23878
+ "description": "ID of the related connector source"
23720
23879
  },
23721
23880
  "name": {
23722
- "default": "",
23723
- "type": "string"
23881
+ "type": "string",
23882
+ "description": "Name of the connection source"
23724
23883
  },
23725
- "secret": {
23726
- "type": "string"
23884
+ "last_update": {
23885
+ "type": "string",
23886
+ "description": "Last successful update",
23887
+ "format": "date-time"
23727
23888
  },
23728
- "public_key": {
23729
- "type": "string"
23889
+ "disabled": {
23890
+ "type": "string",
23891
+ "description": "This source is not used to synchronize the connection",
23892
+ "format": "date-time"
23730
23893
  },
23731
- "private_key": {
23732
- "type": "string"
23894
+ "created": {
23895
+ "default": "<function <lambda> at 0x7f8894cfe7d0>",
23896
+ "type": "string",
23897
+ "description": "Creation date of the connection source",
23898
+ "format": "date-time"
23733
23899
  },
23734
- "redirect_uris": {
23735
- "default": "",
23736
- "type": "string"
23900
+ "state": {
23901
+ "type": "string",
23902
+ "description": "If the last update has failed, the state code"
23737
23903
  },
23738
- "pro": {
23739
- "default": false,
23740
- "type": "boolean",
23741
- "description": "Should the client display the company manager page."
23904
+ "access_expire": {
23905
+ "type": "string",
23906
+ "description": "Expiration date of the access",
23907
+ "format": "date-time"
23742
23908
  },
23743
- "id_logo": {
23744
- "type": "integer"
23909
+ "expire": {
23910
+ "type": "string",
23911
+ "description": "Expiration of the connection source. Used to purge the connection in case completion was not finished",
23912
+ "format": "date-time"
23745
23913
  },
23746
- "config": {
23914
+ "next_try": {
23747
23915
  "type": "string",
23748
- "description": "customizable config"
23916
+ "description": "Date of next synchronization",
23917
+ "format": "date-time"
23749
23918
  }
23750
23919
  },
23751
23920
  "example": {
23752
23921
  "id": 0,
23922
+ "id_connection": 0,
23923
+ "id_connector_source": 0,
23753
23924
  "name": "",
23754
- "secret": "",
23755
- "public_key": "",
23756
- "private_key": "",
23757
- "redirect_uris": "",
23758
- "pro": false,
23759
- "id_logo": 0
23925
+ "last_update": "2019-12-27 16:17:55.317583",
23926
+ "disabled": "2019-12-27 16:17:55.317658",
23927
+ "created": "<function <lambda> at 0x7f8894cfe7d0>",
23928
+ "state": "",
23929
+ "access_expire": "2019-12-27 16:17:55.317849",
23930
+ "expire": "2019-12-27 16:17:55.317911",
23931
+ "next_try": "2019-12-27 16:17:55.318118"
23760
23932
  }
23761
23933
  },
23762
- "File": {
23934
+ "ConnectionLog": {
23763
23935
  "required": [
23764
23936
  "id",
23765
- "content_type",
23766
- "filename",
23767
- "file_size"
23937
+ "id_connection",
23938
+ "timestamp"
23768
23939
  ],
23769
23940
  "type": "object",
23770
23941
  "properties": {
23771
23942
  "id": {
23772
- "type": "integer"
23943
+ "type": "integer",
23944
+ "description": "ID of the log"
23773
23945
  },
23774
- "content_type": {
23775
- "type": "string"
23946
+ "id_user": {
23947
+ "type": "integer",
23948
+ "description": "ID of the user"
23776
23949
  },
23777
- "filename": {
23778
- "type": "string"
23950
+ "id_connection": {
23951
+ "type": "integer",
23952
+ "description": "ID of the connection"
23779
23953
  },
23780
- "file_size": {
23781
- "type": "integer"
23782
- }
23783
- },
23784
- "example": {
23785
- "id": 0,
23786
- "content_type": "",
23787
- "filename": "",
23788
- "file_size": 0
23789
- }
23790
- },
23791
- "Security": {
23792
- "required": [
23793
- "id",
23794
- "name"
23795
- ],
23796
- "type": "object",
23797
- "properties": {
23798
- "id": {
23954
+ "id_connector": {
23799
23955
  "type": "integer",
23800
- "description": "ID of the security"
23956
+ "description": "ID of the connector"
23801
23957
  },
23802
- "code": {
23803
- "type": "string",
23804
- "description": "ISIN code of the security"
23958
+ "id_source": {
23959
+ "type": "integer",
23960
+ "description": "ID of the related connection source"
23805
23961
  },
23806
- "name": {
23962
+ "login": {
23807
23963
  "type": "string",
23808
- "description": "Name of the security"
23964
+ "description": "bcrypt hash of the login"
23809
23965
  },
23810
- "id_type": {
23811
- "type": "integer",
23812
- "description": "ID of the security type"
23966
+ "error_uid": {
23967
+ "type": "string",
23968
+ "description": "MD5 hash of the exception backtrace"
23813
23969
  },
23814
- "last_update": {
23970
+ "timestamp": {
23971
+ "default": "CURRENT_TIMESTAMP",
23815
23972
  "type": "string",
23816
- "description": "Last update of the security",
23973
+ "description": "Timestamp of log, when the synchronization has finished",
23817
23974
  "format": "date-time"
23818
- }
23975
+ },
23976
+ "next_try": {
23977
+ "type": "string",
23978
+ "description": "If fail, the date represents the next try to connect",
23979
+ "format": "date-time"
23980
+ },
23981
+ "error": {
23982
+ "type": "string",
23983
+ "description": "If fail, contains the error code"
23984
+ },
23985
+ "error_message": {
23986
+ "type": "string",
23987
+ "description": "If fail, error message received from connector"
23988
+ },
23989
+ "statut": {
23990
+ "type": "integer",
23991
+ "description": "Status of user (1 = charged user)"
23992
+ },
23993
+ "nb_accounts": {
23994
+ "type": "integer",
23995
+ "description": "In case of bank connection, number of accounts"
23996
+ },
23997
+ "start": {
23998
+ "type": "string",
23999
+ "description": "Timestamp when the synchronization has started",
24000
+ "format": "date-time"
24001
+ },
24002
+ "worker": {
24003
+ "type": "string",
24004
+ "description": "Worker used to do synchronization"
24005
+ },
24006
+ "session_folder_id": {
24007
+ "type": "string",
24008
+ "description": "Session folder uid"
24009
+ },
24010
+ "fields": {
24011
+ "type": "string",
24012
+ "description": "Fields for connection in additionalInformationNeeded state with background option"
24013
+ }
23819
24014
  },
23820
24015
  "example": {
23821
24016
  "id": 0,
23822
- "code": "",
23823
- "name": "",
23824
- "id_type": 0,
23825
- "last_update": "2019-08-02 17:21:59.346961"
24017
+ "id_user": 0,
24018
+ "id_connection": 0,
24019
+ "id_connector": 0,
24020
+ "id_source": 0,
24021
+ "login": "",
24022
+ "error_uid": "",
24023
+ "timestamp": "CURRENT_TIMESTAMP",
24024
+ "next_try": "2019-08-02 17:21:59.374222",
24025
+ "error": "",
24026
+ "error_message": "",
24027
+ "statut": 0,
24028
+ "nb_accounts": 0,
24029
+ "start": "2019-08-02 17:21:59.374490",
24030
+ "worker": "",
24031
+ "session_folder_id": ""
23826
24032
  }
23827
24033
  },
23828
24034
  "Webhook": {
@@ -24002,250 +24208,223 @@
24002
24208
  "next_try": "2019-08-02 17:21:59.353228"
24003
24209
  }
24004
24210
  },
24005
- "DocumentType": {
24211
+ "TermsOfService": {
24006
24212
  "required": [
24007
24213
  "id",
24008
- "name",
24009
- "attacheable"
24214
+ "version",
24215
+ "created"
24010
24216
  ],
24011
24217
  "type": "object",
24012
24218
  "properties": {
24013
24219
  "id": {
24014
24220
  "type": "integer"
24015
24221
  },
24016
- "name": {
24017
- "type": "string"
24018
- },
24019
- "attacheable": {
24020
- "default": true,
24021
- "type": "boolean"
24022
- }
24023
- },
24024
- "example": {
24025
- "id": 0,
24026
- "name": "",
24027
- "attacheable": true
24028
- }
24029
- },
24030
- "HashTable": {
24031
- "required": [
24032
- "wording",
24033
- "income",
24034
- "display",
24035
- "nature"
24036
- ],
24037
- "type": "object",
24038
- "properties": {
24039
- "wording": {
24222
+ "version": {
24040
24223
  "type": "string"
24041
24224
  },
24042
- "income": {
24043
- "type": "boolean"
24225
+ "id_file": {
24226
+ "type": "integer"
24044
24227
  },
24045
- "display": {
24046
- "default": true,
24047
- "type": "boolean"
24228
+ "created": {
24229
+ "type": "string",
24230
+ "format": "date-time"
24048
24231
  },
24049
- "nature": {
24050
- "type": "string"
24232
+ "deleted": {
24233
+ "type": "string",
24234
+ "format": "date-time"
24051
24235
  }
24052
24236
  },
24053
24237
  "example": {
24054
- "wording": "",
24055
- "income": false,
24056
- "display": true,
24057
- "nature": ""
24238
+ "id": 0,
24239
+ "version": "",
24240
+ "id_file": 0,
24241
+ "created": "2019-03-12 13:08:00.680453",
24242
+ "deleted": "2019-03-12 13:08:00.680558"
24058
24243
  }
24059
24244
  },
24060
- "Connection": {
24245
+ "Category": {
24061
24246
  "required": [
24062
24247
  "id",
24063
- "id_connector",
24064
- "active"
24248
+ "id_parent_category",
24249
+ "name",
24250
+ "color",
24251
+ "id_parent_category_in_menu",
24252
+ "refundable"
24065
24253
  ],
24066
24254
  "type": "object",
24067
24255
  "properties": {
24068
24256
  "id": {
24069
24257
  "type": "integer",
24070
- "description": "ID of connection"
24071
- },
24072
- "id_user": {
24073
- "type": "integer",
24074
- "description": "ID of the related user"
24258
+ "description": "ID of the category"
24075
24259
  },
24076
- "id_connector": {
24260
+ "id_parent_category": {
24077
24261
  "type": "integer",
24078
- "description": "ID of the related connector"
24262
+ "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
24079
24263
  },
24080
- "last_update": {
24264
+ "name": {
24081
24265
  "type": "string",
24082
- "description": "Last successful update",
24083
- "format": "date-time"
24266
+ "description": "Name of the category"
24084
24267
  },
24085
- "created": {
24086
- "default": "<function <lambda> at 0x7f8894ce1aa0>",
24087
- "type": "string",
24088
- "description": "Creation date",
24089
- "format": "date-time"
24268
+ "income": {
24269
+ "type": "boolean",
24270
+ "description": "Is an income category. If null, this is both an income and an expense category"
24090
24271
  },
24091
- "error": {
24272
+ "color": {
24092
24273
  "type": "string",
24093
- "description": "If the last update has failed, the error code"
24274
+ "description": "Color of the category"
24094
24275
  },
24095
- "error_message": {
24096
- "type": "string",
24097
- "description": "If fail, error message received from connector"
24276
+ "id_parent_category_in_menu": {
24277
+ "type": "integer",
24278
+ "description": "ID of the parent category to be displayed"
24098
24279
  },
24099
- "expire": {
24280
+ "name_displayed": {
24100
24281
  "type": "string",
24101
- "description": "Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort",
24102
- "format": "date-time"
24282
+ "description": "Displayed name, with HTML tags"
24103
24283
  },
24104
- "active": {
24105
- "default": true,
24284
+ "refundable": {
24106
24285
  "type": "boolean",
24107
- "description": "This connection is active and will be automatically synced"
24108
- },
24109
- "last_push": {
24110
- "type": "string",
24111
- "description": "Last successful push",
24112
- "format": "date-time"
24113
- },
24114
- "next_try": {
24115
- "type": "string",
24116
- "description": "Date of next synchronization",
24117
- "format": "date-time"
24118
- },
24119
- "accounts": {
24120
- "type": "array",
24121
- "items": {
24122
- "$ref": "#/definitions/Account"
24123
- }
24124
- },
24125
- "subscriptions": {
24126
- "type": "array",
24127
- "items": {
24128
- "$ref": "#/definitions/Subscription"
24129
- }
24286
+ "description": "This category accepts opposite sign of transactions"
24130
24287
  },
24131
- "connection": {
24132
- "$ref": "#/definitions/Connection"
24288
+ "id_user": {
24289
+ "type": "integer",
24290
+ "description": "If not null, this category is specific to a user"
24133
24291
  },
24134
- "message": {
24135
- "type": "string"
24292
+ "id_logo": {
24293
+ "type": "integer",
24294
+ "description": "ID of the logo"
24136
24295
  }
24137
24296
  },
24138
24297
  "example": {
24139
24298
  "id": 0,
24299
+ "id_parent_category": 0,
24300
+ "name": "",
24301
+ "income": false,
24302
+ "color": "",
24303
+ "id_parent_category_in_menu": 0,
24304
+ "name_displayed": "",
24305
+ "refundable": false,
24140
24306
  "id_user": 0,
24141
- "id_connector": 0,
24142
- "last_update": "2019-08-02 17:21:59.365076",
24143
- "created": "<function <lambda> at 0x7f8894ce1aa0>",
24144
- "error": "",
24145
- "expire": "2019-08-02 17:21:59.365257",
24146
- "active": true,
24147
- "last_push": "2019-08-02 17:21:59.365378",
24148
- "next_try": "2019-08-02 17:21:59.365554"
24307
+ "id_logo": 0
24149
24308
  }
24150
24309
  },
24151
- "ConnectionLog": {
24310
+ "Client": {
24152
24311
  "required": [
24153
24312
  "id",
24154
- "id_connection",
24155
- "timestamp"
24313
+ "name",
24314
+ "secret",
24315
+ "redirect_uris",
24316
+ "pro"
24156
24317
  ],
24157
24318
  "type": "object",
24158
24319
  "properties": {
24159
24320
  "id": {
24160
- "type": "integer",
24161
- "description": "ID of the log"
24162
- },
24163
- "id_user": {
24164
- "type": "integer",
24165
- "description": "ID of the user"
24321
+ "type": "integer"
24166
24322
  },
24167
- "id_connection": {
24168
- "type": "integer",
24169
- "description": "ID of the connection"
24323
+ "name": {
24324
+ "default": "",
24325
+ "type": "string"
24170
24326
  },
24171
- "id_connector": {
24172
- "type": "integer",
24173
- "description": "ID of the connector"
24327
+ "secret": {
24328
+ "type": "string"
24174
24329
  },
24175
- "id_source": {
24176
- "type": "integer",
24177
- "description": "ID of the related connection source"
24330
+ "public_key": {
24331
+ "type": "string"
24178
24332
  },
24179
- "login": {
24180
- "type": "string",
24181
- "description": "bcrypt hash of the login"
24333
+ "private_key": {
24334
+ "type": "string"
24182
24335
  },
24183
- "error_uid": {
24184
- "type": "string",
24185
- "description": "MD5 hash of the exception backtrace"
24336
+ "redirect_uris": {
24337
+ "default": "",
24338
+ "type": "string"
24186
24339
  },
24187
- "timestamp": {
24188
- "default": "CURRENT_TIMESTAMP",
24189
- "type": "string",
24190
- "description": "Timestamp of log, when the synchronization has finished",
24191
- "format": "date-time"
24340
+ "pro": {
24341
+ "default": false,
24342
+ "type": "boolean",
24343
+ "description": "Should the client display the company manager page."
24192
24344
  },
24193
- "next_try": {
24194
- "type": "string",
24195
- "description": "If fail, the date represents the next try to connect",
24196
- "format": "date-time"
24345
+ "id_logo": {
24346
+ "type": "integer"
24197
24347
  },
24198
- "error": {
24348
+ "config": {
24199
24349
  "type": "string",
24200
- "description": "If fail, contains the error code"
24350
+ "description": "customizable config"
24351
+ }
24352
+ },
24353
+ "example": {
24354
+ "id": 0,
24355
+ "name": "",
24356
+ "secret": "",
24357
+ "public_key": "",
24358
+ "private_key": "",
24359
+ "redirect_uris": "",
24360
+ "pro": false,
24361
+ "id_logo": 0
24362
+ }
24363
+ },
24364
+ "File": {
24365
+ "required": [
24366
+ "id",
24367
+ "content_type",
24368
+ "filename",
24369
+ "file_size"
24370
+ ],
24371
+ "type": "object",
24372
+ "properties": {
24373
+ "id": {
24374
+ "type": "integer"
24201
24375
  },
24202
- "error_message": {
24203
- "type": "string",
24204
- "description": "If fail, error message received from connector"
24376
+ "content_type": {
24377
+ "type": "string"
24205
24378
  },
24206
- "statut": {
24207
- "type": "integer",
24208
- "description": "Status of user (1 = charged user)"
24379
+ "filename": {
24380
+ "type": "string"
24209
24381
  },
24210
- "nb_accounts": {
24382
+ "file_size": {
24383
+ "type": "integer"
24384
+ }
24385
+ },
24386
+ "example": {
24387
+ "id": 0,
24388
+ "content_type": "",
24389
+ "filename": "",
24390
+ "file_size": 0
24391
+ }
24392
+ },
24393
+ "Security": {
24394
+ "required": [
24395
+ "id",
24396
+ "name"
24397
+ ],
24398
+ "type": "object",
24399
+ "properties": {
24400
+ "id": {
24211
24401
  "type": "integer",
24212
- "description": "In case of bank connection, number of accounts"
24402
+ "description": "ID of the security"
24213
24403
  },
24214
- "start": {
24404
+ "code": {
24215
24405
  "type": "string",
24216
- "description": "Timestamp when the synchronization has started",
24217
- "format": "date-time"
24406
+ "description": "ISIN code of the security"
24218
24407
  },
24219
- "worker": {
24408
+ "name": {
24220
24409
  "type": "string",
24221
- "description": "Worker used to do synchronization"
24410
+ "description": "Name of the security"
24222
24411
  },
24223
- "session_folder_id": {
24224
- "type": "string",
24225
- "description": "Session folder uid"
24412
+ "id_type": {
24413
+ "type": "integer",
24414
+ "description": "ID of the security type"
24226
24415
  },
24227
- "fields": {
24416
+ "last_update": {
24228
24417
  "type": "string",
24229
- "description": "Fields for connection in additionalInformationNeeded state with background option"
24418
+ "description": "Last update of the security",
24419
+ "format": "date-time"
24230
24420
  }
24231
24421
  },
24232
24422
  "example": {
24233
24423
  "id": 0,
24234
- "id_user": 0,
24235
- "id_connection": 0,
24236
- "id_connector": 0,
24237
- "id_source": 0,
24238
- "login": "",
24239
- "error_uid": "",
24240
- "timestamp": "CURRENT_TIMESTAMP",
24241
- "next_try": "2019-08-02 17:21:59.374222",
24242
- "error": "",
24243
- "error_message": "",
24244
- "statut": 0,
24245
- "nb_accounts": 0,
24246
- "start": "2019-08-02 17:21:59.374490",
24247
- "worker": "",
24248
- "session_folder_id": ""
24424
+ "code": "",
24425
+ "name": "",
24426
+ "id_type": 0,
24427
+ "last_update": "2019-08-02 17:21:59.346961"
24249
24428
  }
24250
24429
  },
24251
24430
  "Transfer": {
@@ -24423,450 +24602,313 @@
24423
24602
  "refund_value": 0
24424
24603
  }
24425
24604
  },
24426
- "Certificate": {
24605
+ "OidcWhitelist": {
24427
24606
  "required": [
24428
24607
  "id",
24429
- "id_public_key_file",
24430
- "id_private_key_file",
24431
- "type",
24432
- "created"
24608
+ "redirect_uri"
24433
24609
  ],
24434
24610
  "type": "object",
24435
24611
  "properties": {
24436
24612
  "id": {
24437
24613
  "type": "integer"
24438
24614
  },
24439
- "id_public_key_file": {
24440
- "type": "integer"
24441
- },
24442
- "id_private_key_file": {
24443
- "type": "integer"
24444
- },
24445
- "type": {
24446
- "type": "string"
24447
- },
24448
- "created": {
24615
+ "redirect_uri": {
24449
24616
  "type": "string",
24450
- "format": "date-time"
24617
+ "description": "authorized redirect uri"
24451
24618
  }
24452
24619
  },
24453
24620
  "example": {
24454
24621
  "id": 0,
24455
- "id_public_key_file": 0,
24456
- "id_private_key_file": 0,
24457
- "type": "",
24458
- "created": "2019-12-27 16:17:55.226500"
24622
+ "redirect_uri": ""
24459
24623
  }
24460
24624
  },
24461
- "ProjectType": {
24625
+ "HashTable": {
24462
24626
  "required": [
24463
- "id",
24464
- "name"
24627
+ "wording",
24628
+ "income",
24629
+ "display",
24630
+ "nature"
24465
24631
  ],
24466
24632
  "type": "object",
24467
24633
  "properties": {
24468
- "id": {
24469
- "type": "integer"
24470
- },
24471
- "name": {
24634
+ "wording": {
24472
24635
  "type": "string"
24473
24636
  },
24474
- "icon_url": {
24637
+ "income": {
24638
+ "type": "boolean"
24639
+ },
24640
+ "display": {
24641
+ "default": true,
24642
+ "type": "boolean"
24643
+ },
24644
+ "nature": {
24475
24645
  "type": "string"
24476
24646
  }
24477
24647
  },
24478
24648
  "example": {
24479
- "id": 0,
24480
- "name": "",
24481
- "icon_url": ""
24649
+ "wording": "",
24650
+ "income": false,
24651
+ "display": true,
24652
+ "nature": ""
24482
24653
  }
24483
24654
  },
24484
- "Access": {
24655
+ "Certificate": {
24485
24656
  "required": [
24486
24657
  "id",
24487
- "id_profile"
24658
+ "id_public_key_file",
24659
+ "id_private_key_file",
24660
+ "type",
24661
+ "created"
24488
24662
  ],
24489
24663
  "type": "object",
24490
24664
  "properties": {
24491
24665
  "id": {
24492
24666
  "type": "integer"
24493
24667
  },
24494
- "id_user": {
24495
- "type": "integer"
24496
- },
24497
- "id_profile": {
24668
+ "id_public_key_file": {
24498
24669
  "type": "integer"
24499
24670
  },
24500
- "id_role": {
24671
+ "id_private_key_file": {
24501
24672
  "type": "integer"
24502
24673
  },
24503
- "email": {
24674
+ "type": {
24504
24675
  "type": "string"
24676
+ },
24677
+ "created": {
24678
+ "type": "string",
24679
+ "format": "date-time"
24505
24680
  }
24506
24681
  },
24507
24682
  "example": {
24508
24683
  "id": 0,
24509
- "id_user": 0,
24510
- "id_profile": 0,
24511
- "id_role": 0,
24512
- "email": ""
24684
+ "id_public_key_file": 0,
24685
+ "id_private_key_file": 0,
24686
+ "type": "",
24687
+ "created": "2019-12-27 16:17:55.226500"
24513
24688
  }
24514
24689
  },
24515
- "Profile": {
24690
+ "Document": {
24516
24691
  "required": [
24517
24692
  "id",
24518
24693
  "id_user",
24519
- "role",
24520
- "email",
24521
- "statut",
24522
- "admin"
24694
+ "timestamp",
24695
+ "readonly",
24696
+ "has_file_on_website"
24523
24697
  ],
24524
24698
  "type": "object",
24525
24699
  "properties": {
24526
24700
  "id": {
24527
24701
  "type": "integer"
24528
24702
  },
24529
- "id_user": {
24703
+ "id_type": {
24530
24704
  "type": "integer"
24531
24705
  },
24532
- "role": {
24533
- "default": "admin",
24534
- "enum": [
24535
- "admin",
24536
- "ser"
24537
- ],
24538
- "type": "string"
24539
- },
24540
- "email": {
24541
- "type": "string"
24542
- },
24543
- "statut": {
24544
- "default": 0,
24706
+ "id_category": {
24545
24707
  "type": "integer"
24546
24708
  },
24547
- "admin": {
24548
- "default": false,
24549
- "type": "boolean"
24550
- },
24551
- "conf": {
24552
- "type": "string"
24709
+ "id_user": {
24710
+ "type": "integer"
24553
24711
  },
24554
- "lang": {
24555
- "type": "string"
24556
- }
24557
- },
24558
- "example": {
24559
- "id": 0,
24560
- "id_user": 0,
24561
- "role": "admin",
24562
- "statut": 0,
24563
- "admin": false,
24564
- "conf": "",
24565
- "lang": ""
24566
- }
24567
- },
24568
- "TransactionsCluster": {
24569
- "required": [
24570
- "id",
24571
- "id_account",
24572
- "mean_amount",
24573
- "enabled",
24574
- "wording"
24575
- ],
24576
- "type": "object",
24577
- "properties": {
24578
- "id": {
24712
+ "id_subscription": {
24579
24713
  "type": "integer"
24580
24714
  },
24581
- "id_account": {
24715
+ "id_file": {
24582
24716
  "type": "integer"
24583
24717
  },
24584
- "mean_amount": {
24585
- "type": "number",
24586
- "format": "float"
24587
- },
24588
- "median_increment": {
24718
+ "id_thumbnail": {
24589
24719
  "type": "integer"
24590
24720
  },
24591
- "enabled": {
24592
- "default": true,
24593
- "type": "boolean"
24594
- },
24595
- "next_date": {
24596
- "type": "string",
24597
- "format": "date"
24598
- },
24599
- "wording": {
24721
+ "name": {
24600
24722
  "type": "string"
24601
24723
  },
24602
- "id_category": {
24603
- "type": "integer"
24604
- },
24605
- "created_by": {
24606
- "type": "string"
24607
- }
24608
- },
24609
- "example": {
24610
- "id": 0,
24611
- "id_account": 0,
24612
- "mean_amount": 0,
24613
- "median_increment": 0,
24614
- "enabled": true,
24615
- "next_date": "2019-08-02",
24616
- "wording": "",
24617
- "id_category": 0,
24618
- "created_by": ""
24619
- }
24620
- },
24621
- "UserAlert": {
24622
- "description": "/!\\ Careful we use default value from database if present\n\n For more information see AlertsPlugin.init",
24623
- "required": [
24624
- "id",
24625
- "value_type",
24626
- "type",
24627
- "resume_frequency"
24628
- ],
24629
- "type": "object",
24630
- "properties": {
24631
- "id": {
24632
- "type": "integer"
24724
+ "timestamp": {
24725
+ "default": "CURRENT_TIMESTAMP",
24726
+ "type": "string",
24727
+ "format": "date-time"
24633
24728
  },
24634
- "income_max": {
24635
- "default": 500,
24636
- "type": "number",
24637
- "format": "float"
24729
+ "date": {
24730
+ "type": "string",
24731
+ "format": "date-time"
24638
24732
  },
24639
- "expense_max": {
24640
- "default": 500,
24641
- "type": "number",
24642
- "format": "float"
24733
+ "duedate": {
24734
+ "type": "string",
24735
+ "format": "date"
24643
24736
  },
24644
- "balance_min1": {
24645
- "default": 500,
24737
+ "total_amount": {
24646
24738
  "type": "number",
24647
24739
  "format": "float"
24648
24740
  },
24649
- "balance_min2": {
24650
- "default": 0,
24741
+ "untaxed_amount": {
24651
24742
  "type": "number",
24652
24743
  "format": "float"
24653
24744
  },
24654
- "balance_max": {
24655
- "default": 10000,
24745
+ "vat": {
24656
24746
  "type": "number",
24657
24747
  "format": "float"
24658
24748
  },
24659
- "resume_enabled": {
24749
+ "income": {
24660
24750
  "default": true,
24661
24751
  "type": "boolean"
24662
24752
  },
24663
- "enabled": {
24753
+ "readonly": {
24664
24754
  "default": true,
24665
24755
  "type": "boolean"
24666
24756
  },
24667
- "value_type": {
24668
- "default": "flat",
24669
- "type": "string"
24670
- },
24671
- "type": {
24672
- "default": "transactions",
24757
+ "number": {
24673
24758
  "type": "string"
24674
24759
  },
24675
- "transaction_types": {
24760
+ "issuer": {
24676
24761
  "type": "string"
24677
24762
  },
24678
- "date_range": {
24679
- "type": "integer"
24763
+ "last_update": {
24764
+ "type": "string",
24765
+ "description": "Last successful update of the document",
24766
+ "format": "date-time"
24680
24767
  },
24681
- "apply": {
24682
- "type": "string"
24768
+ "has_file_on_website": {
24769
+ "default": true,
24770
+ "type": "boolean",
24771
+ "description": "Boolean to set if file is available on website"
24683
24772
  },
24684
- "resume_frequency": {
24685
- "default": 7,
24686
- "type": "integer"
24773
+ "currency": {
24774
+ "type": "object",
24775
+ "description": "Document currency"
24687
24776
  }
24688
24777
  },
24689
24778
  "example": {
24690
24779
  "id": 0,
24691
- "income_max": 500,
24692
- "expense_max": 500,
24693
- "balance_min1": 500,
24694
- "balance_min2": 0,
24695
- "balance_max": 10000,
24696
- "resume_enabled": true,
24697
- "enabled": true,
24698
- "value_type": "flat",
24699
- "type": "transactions",
24700
- "transaction_types": "",
24701
- "date_range": 0,
24702
- "apply": "",
24703
- "resume_frequency": 7
24780
+ "id_type": 0,
24781
+ "id_category": 0,
24782
+ "id_user": 0,
24783
+ "id_subscription": 0,
24784
+ "id_file": 0,
24785
+ "id_thumbnail": 0,
24786
+ "name": "",
24787
+ "timestamp": "CURRENT_TIMESTAMP",
24788
+ "date": "2019-08-02 17:21:59.435173",
24789
+ "duedate": "2019-08-02",
24790
+ "total_amount": 0,
24791
+ "untaxed_amount": 0,
24792
+ "vat": 0,
24793
+ "income": true,
24794
+ "readonly": true,
24795
+ "number": "",
24796
+ "issuer": "",
24797
+ "last_update": "2019-08-02 17:21:59.435734",
24798
+ "has_file_on_website": true,
24799
+ "currency": ""
24704
24800
  }
24705
24801
  },
24706
- "AccountType": {
24802
+ "TransferLog": {
24707
24803
  "required": [
24708
24804
  "id",
24709
- "name",
24710
- "is_invest",
24711
- "weboob_type_id",
24712
- "display_name_p",
24713
- "display_name"
24805
+ "timestamp"
24714
24806
  ],
24715
24807
  "type": "object",
24716
24808
  "properties": {
24717
24809
  "id": {
24718
24810
  "type": "integer",
24719
- "description": "ID of the account type"
24720
- },
24721
- "name": {
24722
- "type": "string",
24723
- "description": "Name of the account type"
24811
+ "description": "ID of the transfer log entry"
24724
24812
  },
24725
- "is_invest": {
24726
- "default": false,
24727
- "type": "boolean",
24728
- "description": "Is it an investment account"
24813
+ "id_transfer": {
24814
+ "type": "integer",
24815
+ "description": "ID of the related transfer"
24729
24816
  },
24730
- "weboob_type_id": {
24817
+ "id_file": {
24731
24818
  "type": "integer",
24732
- "description": "Map to the weboob_type_id"
24819
+ "description": "ID of the related file"
24733
24820
  },
24734
- "display_name_p": {
24821
+ "request_data": {
24735
24822
  "type": "string",
24736
- "description": "Name to display in plurial"
24823
+ "description": "Data stored related to user who has requested the transfer"
24737
24824
  },
24738
- "display_name": {
24825
+ "state": {
24739
24826
  "type": "string",
24740
- "description": "Name to display in singular"
24827
+ "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
24741
24828
  },
24742
- "color": {
24829
+ "error": {
24743
24830
  "type": "string",
24744
- "description": "Color of the account type (hexdecimal)"
24831
+ "description": "Error message during transfer, if any"
24745
24832
  },
24746
- "id_parent": {
24747
- "type": "integer",
24748
- "description": "Id of the parent type"
24833
+ "timestamp": {
24834
+ "default": "CURRENT_TIMESTAMP",
24835
+ "type": "string",
24836
+ "description": "Timestamp of the log",
24837
+ "format": "date-time"
24838
+ },
24839
+ "fields": {
24840
+ "type": "string",
24841
+ "description": "Fields for transfer in additionalInformationNeeded state with background option"
24749
24842
  }
24750
24843
  },
24751
24844
  "example": {
24752
24845
  "id": 0,
24753
- "name": "",
24754
- "is_invest": false,
24755
- "weboob_type_id": 0,
24756
- "display_name_p": "",
24757
- "display_name": "",
24758
- "color": "",
24759
- "id_parent": 0
24846
+ "id_transfer": 0,
24847
+ "id_file": 0,
24848
+ "request_data": "",
24849
+ "state": "",
24850
+ "error": "",
24851
+ "timestamp": "CURRENT_TIMESTAMP"
24760
24852
  }
24761
24853
  },
24762
- "Subscription": {
24854
+ "TransactionInformation": {
24763
24855
  "required": [
24764
24856
  "id",
24765
- "number",
24766
- "label"
24857
+ "id_transaction",
24858
+ "key"
24767
24859
  ],
24768
24860
  "type": "object",
24769
24861
  "properties": {
24770
24862
  "id": {
24771
24863
  "type": "integer",
24772
- "description": "ID of subscription"
24864
+ "description": "ID of this transaction information"
24773
24865
  },
24774
- "id_connection": {
24866
+ "id_transaction": {
24775
24867
  "type": "integer",
24776
- "description": "ID of related connection"
24868
+ "description": "ID of the related transaction"
24777
24869
  },
24778
- "id_user": {
24870
+ "key": {
24871
+ "type": "string",
24872
+ "description": "Key of the transaction information"
24873
+ },
24874
+ "value": {
24875
+ "type": "string",
24876
+ "description": "Value of the transaction information"
24877
+ }
24878
+ },
24879
+ "example": {
24880
+ "id": 0,
24881
+ "id_transaction": 0,
24882
+ "key": "",
24883
+ "value": ""
24884
+ }
24885
+ },
24886
+ "Transaction": {
24887
+ "required": [
24888
+ "id",
24889
+ "id_account",
24890
+ "date",
24891
+ "nature",
24892
+ "original_wording",
24893
+ "simplified_wording",
24894
+ "stemmed_wording",
24895
+ "state",
24896
+ "date_scraped",
24897
+ "rdate",
24898
+ "coming",
24899
+ "active"
24900
+ ],
24901
+ "type": "object",
24902
+ "properties": {
24903
+ "id": {
24779
24904
  "type": "integer",
24780
- "description": "ID of related user"
24905
+ "description": "ID of the transaction"
24781
24906
  },
24782
- "id_source": {
24907
+ "id_account": {
24783
24908
  "type": "integer",
24784
- "description": "ID of the related connection source"
24909
+ "description": "ID of the related account"
24785
24910
  },
24786
- "number": {
24787
- "type": "string",
24788
- "description": "Subscription's number"
24789
- },
24790
- "label": {
24791
- "type": "string",
24792
- "description": "Label of the subscription"
24793
- },
24794
- "subscriber": {
24795
- "type": "string",
24796
- "description": "Name of the subscriber"
24797
- },
24798
- "validity": {
24799
- "type": "string",
24800
- "description": "The subscription is valid until this date, if any",
24801
- "format": "date"
24802
- },
24803
- "renewdate": {
24804
- "type": "string",
24805
- "description": "Next renew date, if any",
24806
- "format": "date"
24807
- },
24808
- "last_update": {
24809
- "type": "string",
24810
- "description": "Last successful update of the subscription",
24811
- "format": "date-time"
24812
- },
24813
- "deleted": {
24814
- "type": "string",
24815
- "description": "This subscription is not found on the website anymore",
24816
- "format": "date-time"
24817
- },
24818
- "disabled": {
24819
- "type": "string",
24820
- "description": "This subscription has been deleted by user and will not be synchronized anymore",
24821
- "format": "date-time"
24822
- },
24823
- "error": {
24824
- "type": "string",
24825
- "description": "If the last update has failed, the error code"
24826
- }
24827
- },
24828
- "example": {
24829
- "id": 0,
24830
- "id_connection": 0,
24831
- "id_user": 0,
24832
- "id_source": 0,
24833
- "number": "",
24834
- "label": "",
24835
- "subscriber": "",
24836
- "validity": "2019-08-02",
24837
- "renewdate": "2019-08-02",
24838
- "last_update": "2019-08-02 17:21:59.421714",
24839
- "deleted": "2019-08-02 17:21:59.421772",
24840
- "disabled": "2019-08-02 17:21:59.421828",
24841
- "error": ""
24842
- }
24843
- },
24844
- "Transaction": {
24845
- "required": [
24846
- "id",
24847
- "id_account",
24848
- "date",
24849
- "nature",
24850
- "original_wording",
24851
- "simplified_wording",
24852
- "stemmed_wording",
24853
- "state",
24854
- "date_scraped",
24855
- "rdate",
24856
- "coming",
24857
- "active"
24858
- ],
24859
- "type": "object",
24860
- "properties": {
24861
- "id": {
24862
- "type": "integer",
24863
- "description": "ID of the transaction"
24864
- },
24865
- "id_account": {
24866
- "type": "integer",
24867
- "description": "ID of the related account"
24868
- },
24869
- "webid": {
24911
+ "webid": {
24870
24912
  "type": "string",
24871
24913
  "description": "Webid of the transaction"
24872
24914
  },
@@ -24994,45 +25036,406 @@
24994
25036
  "type": "string",
24995
25037
  "description": "Original country"
24996
25038
  },
24997
- "counterparty": {
24998
- "type": "string",
24999
- "description": "Counterparty"
25039
+ "counterparty": {
25040
+ "type": "string",
25041
+ "description": "Counterparty"
25042
+ },
25043
+ "card": {
25044
+ "type": "string",
25045
+ "description": "Card number associated to the transaction"
25046
+ }
25047
+ },
25048
+ "example": {
25049
+ "id": 0,
25050
+ "id_account": 0,
25051
+ "webid": "",
25052
+ "application_date": "2019-08-02",
25053
+ "date": "2019-08-02",
25054
+ "value": 0,
25055
+ "gross_value": 0,
25056
+ "nature": "inconnu",
25057
+ "wording": "",
25058
+ "id_category": 0,
25059
+ "state": "new",
25060
+ "date_scraped": "2019-08-02 17:21:59.425220",
25061
+ "rdate": "2019-08-02",
25062
+ "vdate": "2019-08-02",
25063
+ "bdate": "2019-08-02",
25064
+ "coming": false,
25065
+ "active": true,
25066
+ "id_cluster": 0,
25067
+ "comment": "",
25068
+ "last_update": "2019-08-02 17:21:59.425674",
25069
+ "deleted": "2019-08-02 17:21:59.425732",
25070
+ "original_value": 0,
25071
+ "original_gross_value": 0,
25072
+ "original_currency": "",
25073
+ "commission": 0,
25074
+ "commission_currency": "",
25075
+ "country": "",
25076
+ "counterparty": "",
25077
+ "card": ""
25078
+ }
25079
+ },
25080
+ "InvestmentValue": {
25081
+ "required": [
25082
+ "id",
25083
+ "id_investment",
25084
+ "vdate",
25085
+ "unitvalue"
25086
+ ],
25087
+ "type": "object",
25088
+ "properties": {
25089
+ "id": {
25090
+ "type": "integer",
25091
+ "description": "ID of the value"
25092
+ },
25093
+ "id_investment": {
25094
+ "type": "integer",
25095
+ "description": "ID of the related investment"
25096
+ },
25097
+ "vdate": {
25098
+ "type": "string",
25099
+ "description": "Date of this value",
25100
+ "format": "date"
25101
+ },
25102
+ "unitvalue": {
25103
+ "type": "number",
25104
+ "description": "Value on this date",
25105
+ "format": "float"
25106
+ },
25107
+ "original_currency": {
25108
+ "type": "object",
25109
+ "description": "Original currency"
25110
+ },
25111
+ "original_unitvalue": {
25112
+ "type": "number",
25113
+ "description": "Value on this date, in the original currency",
25114
+ "format": "float"
25115
+ }
25116
+ },
25117
+ "example": {
25118
+ "id": 0,
25119
+ "id_investment": 0,
25120
+ "vdate": "2019-08-02",
25121
+ "unitvalue": 0,
25122
+ "original_currency": "",
25123
+ "original_unitvalue": 0
25124
+ }
25125
+ },
25126
+ "Pocket": {
25127
+ "required": [
25128
+ "id",
25129
+ "id_account",
25130
+ "id_investment",
25131
+ "value",
25132
+ "condition"
25133
+ ],
25134
+ "type": "object",
25135
+ "properties": {
25136
+ "id": {
25137
+ "type": "integer",
25138
+ "description": "ID of the pocket"
25139
+ },
25140
+ "id_account": {
25141
+ "type": "integer",
25142
+ "description": "ID of the related account"
25143
+ },
25144
+ "id_investment": {
25145
+ "type": "integer",
25146
+ "description": "ID of the related investment"
25147
+ },
25148
+ "label": {
25149
+ "type": "string",
25150
+ "description": "Label of the pocket"
25151
+ },
25152
+ "value": {
25153
+ "type": "number",
25154
+ "description": "Value of the pocket",
25155
+ "format": "float"
25156
+ },
25157
+ "quantity": {
25158
+ "default": 0,
25159
+ "type": "number",
25160
+ "description": "Quantity of stocks",
25161
+ "format": "float"
25162
+ },
25163
+ "availability_date": {
25164
+ "type": "string",
25165
+ "description": "Availability date of the pocket",
25166
+ "format": "date"
25167
+ },
25168
+ "condition": {
25169
+ "default": "inconnu",
25170
+ "type": "string",
25171
+ "description": "Withdrawal condition of the pocket"
25172
+ },
25173
+ "last_update": {
25174
+ "type": "string",
25175
+ "description": "Last update of the pocket",
25176
+ "format": "date-time"
25177
+ },
25178
+ "deleted": {
25179
+ "type": "string",
25180
+ "description": "If set, this pocket has been removed from the website",
25181
+ "format": "date-time"
25182
+ }
25183
+ },
25184
+ "example": {
25185
+ "id": 0,
25186
+ "id_account": 0,
25187
+ "id_investment": 0,
25188
+ "label": "",
25189
+ "value": 0,
25190
+ "quantity": 0,
25191
+ "availability_date": "2019-08-02",
25192
+ "condition": "inconnu",
25193
+ "last_update": "2019-08-02 17:21:59.448433",
25194
+ "deleted": "2019-08-02 17:21:59.448498"
25195
+ }
25196
+ },
25197
+ "RecipientLog": {
25198
+ "required": [
25199
+ "id",
25200
+ "timestamp"
25201
+ ],
25202
+ "type": "object",
25203
+ "properties": {
25204
+ "id": {
25205
+ "type": "integer",
25206
+ "description": "ID of the transfer log entry"
25207
+ },
25208
+ "id_recipient": {
25209
+ "type": "integer",
25210
+ "description": "ID of the related recipient"
25211
+ },
25212
+ "id_file": {
25213
+ "type": "integer",
25214
+ "description": "ID of the related file"
25215
+ },
25216
+ "request_data": {
25217
+ "type": "string",
25218
+ "description": "Data stored related to user who has requested the recipient addition"
25219
+ },
25220
+ "step": {
25221
+ "type": "string",
25222
+ "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
25223
+ },
25224
+ "error": {
25225
+ "type": "string",
25226
+ "description": "Error message during recipient addition, if any"
25227
+ },
25228
+ "timestamp": {
25229
+ "default": "CURRENT_TIMESTAMP",
25230
+ "type": "string",
25231
+ "description": "Timestamp of the log",
25232
+ "format": "date-time"
25233
+ },
25234
+ "fields": {
25235
+ "type": "string",
25236
+ "description": "Fields for recipient in additionalInformationNeeded state with background option"
25237
+ }
25238
+ },
25239
+ "example": {
25240
+ "id": 0,
25241
+ "id_recipient": 0,
25242
+ "id_file": 0,
25243
+ "request_data": "",
25244
+ "step": "",
25245
+ "error": "",
25246
+ "timestamp": "CURRENT_TIMESTAMP"
25247
+ }
25248
+ },
25249
+ "SubscriptionLog": {
25250
+ "required": [
25251
+ "id",
25252
+ "id_subscription",
25253
+ "timestamp"
25254
+ ],
25255
+ "type": "object",
25256
+ "properties": {
25257
+ "id": {
25258
+ "type": "integer",
25259
+ "description": "ID of the log"
25260
+ },
25261
+ "id_subscription": {
25262
+ "type": "integer",
25263
+ "description": "ID of the related subscription"
25264
+ },
25265
+ "timestamp": {
25266
+ "default": "CURRENT_TIMESTAMP",
25267
+ "type": "string",
25268
+ "description": "Timestamp of log",
25269
+ "format": "date-time"
25270
+ },
25271
+ "nb_docs": {
25272
+ "type": "integer",
25273
+ "description": "Number of docs on the subscription"
25274
+ },
25275
+ "id_connection_log": {
25276
+ "type": "integer",
25277
+ "description": "ID of the related connection log"
25278
+ },
25279
+ "error": {
25280
+ "type": "string",
25281
+ "description": "If fail, contains the error code"
25282
+ },
25283
+ "error_message": {
25284
+ "type": "string",
25285
+ "description": "If fail, error message received from provider"
25286
+ },
25287
+ "id_source": {
25288
+ "type": "integer",
25289
+ "description": "ID of the related connection source"
25290
+ }
25291
+ },
25292
+ "example": {
25293
+ "id": 0,
25294
+ "id_subscription": 0,
25295
+ "timestamp": "CURRENT_TIMESTAMP",
25296
+ "nb_docs": 0,
25297
+ "id_connection_log": 0,
25298
+ "error": "",
25299
+ "error_message": "",
25300
+ "id_source": 0
25301
+ }
25302
+ },
25303
+ "TransactionsCluster": {
25304
+ "required": [
25305
+ "id",
25306
+ "id_account",
25307
+ "mean_amount",
25308
+ "enabled",
25309
+ "wording"
25310
+ ],
25311
+ "type": "object",
25312
+ "properties": {
25313
+ "id": {
25314
+ "type": "integer"
25315
+ },
25316
+ "id_account": {
25317
+ "type": "integer"
25318
+ },
25319
+ "mean_amount": {
25320
+ "type": "number",
25321
+ "format": "float"
25322
+ },
25323
+ "median_increment": {
25324
+ "type": "integer"
25325
+ },
25326
+ "enabled": {
25327
+ "default": true,
25328
+ "type": "boolean"
25329
+ },
25330
+ "next_date": {
25331
+ "type": "string",
25332
+ "format": "date"
25333
+ },
25334
+ "wording": {
25335
+ "type": "string"
25336
+ },
25337
+ "id_category": {
25338
+ "type": "integer"
25339
+ },
25340
+ "created_by": {
25341
+ "type": "string"
25342
+ }
25343
+ },
25344
+ "example": {
25345
+ "id": 0,
25346
+ "id_account": 0,
25347
+ "mean_amount": 0,
25348
+ "median_increment": 0,
25349
+ "enabled": true,
25350
+ "next_date": "2019-08-02",
25351
+ "wording": "",
25352
+ "id_category": 0,
25353
+ "created_by": ""
25354
+ }
25355
+ },
25356
+ "UserAlert": {
25357
+ "description": "/!\\ Careful we use default value from database if present\n\n For more information see AlertsPlugin.init",
25358
+ "required": [
25359
+ "id",
25360
+ "value_type",
25361
+ "type",
25362
+ "resume_frequency"
25363
+ ],
25364
+ "type": "object",
25365
+ "properties": {
25366
+ "id": {
25367
+ "type": "integer"
25368
+ },
25369
+ "income_max": {
25370
+ "default": 500,
25371
+ "type": "number",
25372
+ "format": "float"
25373
+ },
25374
+ "expense_max": {
25375
+ "default": 500,
25376
+ "type": "number",
25377
+ "format": "float"
25378
+ },
25379
+ "balance_min1": {
25380
+ "default": 500,
25381
+ "type": "number",
25382
+ "format": "float"
25383
+ },
25384
+ "balance_min2": {
25385
+ "default": 0,
25386
+ "type": "number",
25387
+ "format": "float"
25388
+ },
25389
+ "balance_max": {
25390
+ "default": 10000,
25391
+ "type": "number",
25392
+ "format": "float"
25393
+ },
25394
+ "resume_enabled": {
25395
+ "default": true,
25396
+ "type": "boolean"
25397
+ },
25398
+ "enabled": {
25399
+ "default": true,
25400
+ "type": "boolean"
25401
+ },
25402
+ "value_type": {
25403
+ "default": "flat",
25404
+ "type": "string"
25405
+ },
25406
+ "type": {
25407
+ "default": "transactions",
25408
+ "type": "string"
25409
+ },
25410
+ "transaction_types": {
25411
+ "type": "string"
25412
+ },
25413
+ "date_range": {
25414
+ "type": "integer"
25415
+ },
25416
+ "apply": {
25417
+ "type": "string"
25000
25418
  },
25001
- "card": {
25002
- "type": "string",
25003
- "description": "Card number associated to the transaction"
25419
+ "resume_frequency": {
25420
+ "default": 7,
25421
+ "type": "integer"
25004
25422
  }
25005
25423
  },
25006
25424
  "example": {
25007
25425
  "id": 0,
25008
- "id_account": 0,
25009
- "webid": "",
25010
- "application_date": "2019-08-02",
25011
- "date": "2019-08-02",
25012
- "value": 0,
25013
- "gross_value": 0,
25014
- "nature": "inconnu",
25015
- "wording": "",
25016
- "id_category": 0,
25017
- "state": "new",
25018
- "date_scraped": "2019-08-02 17:21:59.425220",
25019
- "rdate": "2019-08-02",
25020
- "vdate": "2019-08-02",
25021
- "bdate": "2019-08-02",
25022
- "coming": false,
25023
- "active": true,
25024
- "id_cluster": 0,
25025
- "comment": "",
25026
- "last_update": "2019-08-02 17:21:59.425674",
25027
- "deleted": "2019-08-02 17:21:59.425732",
25028
- "original_value": 0,
25029
- "original_gross_value": 0,
25030
- "original_currency": "",
25031
- "commission": 0,
25032
- "commission_currency": "",
25033
- "country": "",
25034
- "counterparty": "",
25035
- "card": ""
25426
+ "income_max": 500,
25427
+ "expense_max": 500,
25428
+ "balance_min1": 500,
25429
+ "balance_min2": 0,
25430
+ "balance_max": 10000,
25431
+ "resume_enabled": true,
25432
+ "enabled": true,
25433
+ "value_type": "flat",
25434
+ "type": "transactions",
25435
+ "transaction_types": "",
25436
+ "date_range": 0,
25437
+ "apply": "",
25438
+ "resume_frequency": 7
25036
25439
  }
25037
25440
  },
25038
25441
  "Investment": {
@@ -25301,116 +25704,180 @@
25301
25704
  "currency": ""
25302
25705
  }
25303
25706
  },
25304
- "Document": {
25707
+ "AccountLog": {
25305
25708
  "required": [
25306
25709
  "id",
25307
- "id_user",
25308
- "timestamp",
25309
- "readonly",
25310
- "has_file_on_website"
25710
+ "id_account",
25711
+ "balance",
25712
+ "timestamp"
25311
25713
  ],
25312
25714
  "type": "object",
25313
25715
  "properties": {
25314
25716
  "id": {
25315
- "type": "integer"
25316
- },
25317
- "id_type": {
25318
- "type": "integer"
25319
- },
25320
- "id_category": {
25321
- "type": "integer"
25322
- },
25323
- "id_user": {
25324
- "type": "integer"
25717
+ "type": "integer",
25718
+ "description": "ID of the log"
25325
25719
  },
25326
- "id_subscription": {
25327
- "type": "integer"
25720
+ "id_account": {
25721
+ "type": "integer",
25722
+ "description": "ID of the related account"
25328
25723
  },
25329
- "id_file": {
25330
- "type": "integer"
25724
+ "id_connector": {
25725
+ "type": "integer",
25726
+ "description": "provider id"
25331
25727
  },
25332
- "id_thumbnail": {
25333
- "type": "integer"
25728
+ "balance": {
25729
+ "type": "number",
25730
+ "description": "Balanced recorded",
25731
+ "format": "float"
25334
25732
  },
25335
- "name": {
25336
- "type": "string"
25733
+ "coming": {
25734
+ "default": 0,
25735
+ "type": "number",
25736
+ "description": "Coming debit recorded",
25737
+ "format": "float"
25337
25738
  },
25338
25739
  "timestamp": {
25339
25740
  "default": "CURRENT_TIMESTAMP",
25340
25741
  "type": "string",
25742
+ "description": "Timestamp of log",
25341
25743
  "format": "date-time"
25342
25744
  },
25343
- "date": {
25745
+ "error": {
25344
25746
  "type": "string",
25345
- "format": "date-time"
25747
+ "description": "If fail, contains the error code"
25346
25748
  },
25347
- "duedate": {
25749
+ "error_message": {
25348
25750
  "type": "string",
25349
- "format": "date"
25751
+ "description": "If fail, error message received from bank or provider"
25350
25752
  },
25351
- "total_amount": {
25352
- "type": "number",
25353
- "format": "float"
25753
+ "id_connection_log": {
25754
+ "type": "integer",
25755
+ "description": "ID of the related connection log"
25756
+ }
25757
+ },
25758
+ "example": {
25759
+ "id": 0,
25760
+ "id_account": 0,
25761
+ "id_connector": 0,
25762
+ "balance": 0,
25763
+ "coming": 0,
25764
+ "timestamp": "CURRENT_TIMESTAMP",
25765
+ "error": "",
25766
+ "error_message": "",
25767
+ "id_connection_log": 0
25768
+ }
25769
+ },
25770
+ "Access": {
25771
+ "required": [
25772
+ "id",
25773
+ "id_profile"
25774
+ ],
25775
+ "type": "object",
25776
+ "properties": {
25777
+ "id": {
25778
+ "type": "integer"
25354
25779
  },
25355
- "untaxed_amount": {
25356
- "type": "number",
25357
- "format": "float"
25780
+ "id_user": {
25781
+ "type": "integer"
25358
25782
  },
25359
- "vat": {
25360
- "type": "number",
25361
- "format": "float"
25783
+ "id_profile": {
25784
+ "type": "integer"
25362
25785
  },
25363
- "income": {
25364
- "default": true,
25365
- "type": "boolean"
25786
+ "id_role": {
25787
+ "type": "integer"
25366
25788
  },
25367
- "readonly": {
25368
- "default": true,
25369
- "type": "boolean"
25789
+ "email": {
25790
+ "type": "string"
25791
+ }
25792
+ },
25793
+ "example": {
25794
+ "id": 0,
25795
+ "id_user": 0,
25796
+ "id_profile": 0,
25797
+ "id_role": 0,
25798
+ "email": ""
25799
+ }
25800
+ },
25801
+ "Subscription": {
25802
+ "required": [
25803
+ "id",
25804
+ "number",
25805
+ "label"
25806
+ ],
25807
+ "type": "object",
25808
+ "properties": {
25809
+ "id": {
25810
+ "type": "integer",
25811
+ "description": "ID of subscription"
25812
+ },
25813
+ "id_connection": {
25814
+ "type": "integer",
25815
+ "description": "ID of related connection"
25816
+ },
25817
+ "id_user": {
25818
+ "type": "integer",
25819
+ "description": "ID of related user"
25820
+ },
25821
+ "id_source": {
25822
+ "type": "integer",
25823
+ "description": "ID of the related connection source"
25370
25824
  },
25371
25825
  "number": {
25372
- "type": "string"
25826
+ "type": "string",
25827
+ "description": "Subscription's number"
25373
25828
  },
25374
- "issuer": {
25375
- "type": "string"
25829
+ "label": {
25830
+ "type": "string",
25831
+ "description": "Label of the subscription"
25832
+ },
25833
+ "subscriber": {
25834
+ "type": "string",
25835
+ "description": "Name of the subscriber"
25836
+ },
25837
+ "validity": {
25838
+ "type": "string",
25839
+ "description": "The subscription is valid until this date, if any",
25840
+ "format": "date"
25841
+ },
25842
+ "renewdate": {
25843
+ "type": "string",
25844
+ "description": "Next renew date, if any",
25845
+ "format": "date"
25376
25846
  },
25377
25847
  "last_update": {
25378
25848
  "type": "string",
25379
- "description": "Last successful update of the document",
25849
+ "description": "Last successful update of the subscription",
25380
25850
  "format": "date-time"
25381
25851
  },
25382
- "has_file_on_website": {
25383
- "default": true,
25384
- "type": "boolean",
25385
- "description": "Boolean to set if file is available on website"
25852
+ "deleted": {
25853
+ "type": "string",
25854
+ "description": "This subscription is not found on the website anymore",
25855
+ "format": "date-time"
25386
25856
  },
25387
- "currency": {
25388
- "type": "object",
25389
- "description": "Document currency"
25857
+ "disabled": {
25858
+ "type": "string",
25859
+ "description": "This subscription has been deleted by user and will not be synchronized anymore",
25860
+ "format": "date-time"
25861
+ },
25862
+ "error": {
25863
+ "type": "string",
25864
+ "description": "If the last update has failed, the error code"
25390
25865
  }
25391
25866
  },
25392
25867
  "example": {
25393
25868
  "id": 0,
25394
- "id_type": 0,
25395
- "id_category": 0,
25869
+ "id_connection": 0,
25396
25870
  "id_user": 0,
25397
- "id_subscription": 0,
25398
- "id_file": 0,
25399
- "id_thumbnail": 0,
25400
- "name": "",
25401
- "timestamp": "CURRENT_TIMESTAMP",
25402
- "date": "2019-08-02 17:21:59.435173",
25403
- "duedate": "2019-08-02",
25404
- "total_amount": 0,
25405
- "untaxed_amount": 0,
25406
- "vat": 0,
25407
- "income": true,
25408
- "readonly": true,
25871
+ "id_source": 0,
25409
25872
  "number": "",
25410
- "issuer": "",
25411
- "last_update": "2019-08-02 17:21:59.435734",
25412
- "has_file_on_website": true,
25413
- "currency": ""
25873
+ "label": "",
25874
+ "subscriber": "",
25875
+ "validity": "2019-08-02",
25876
+ "renewdate": "2019-08-02",
25877
+ "last_update": "2019-08-02 17:21:59.421714",
25878
+ "deleted": "2019-08-02 17:21:59.421772",
25879
+ "disabled": "2019-08-02 17:21:59.421828",
25880
+ "error": ""
25414
25881
  }
25415
25882
  },
25416
25883
  "Account": {
@@ -25523,6 +25990,12 @@
25523
25990
  "$ref": "#/definitions/Transaction"
25524
25991
  }
25525
25992
  },
25993
+ "transfers": {
25994
+ "type": "array",
25995
+ "items": {
25996
+ "$ref": "#/definitions/Transfer"
25997
+ }
25998
+ },
25526
25999
  "error": {
25527
26000
  "type": "string",
25528
26001
  "description": "If the last update has failed, the error code"
@@ -25542,679 +26015,365 @@
25542
26015
  },
25543
26016
  "example": {
25544
26017
  "id": 0,
25545
- "id_connection": 0,
25546
- "id_user": 0,
25547
- "id_source": 0,
25548
- "id_parent": 0,
25549
- "number": "",
25550
- "webid": "",
25551
- "original_name": "",
25552
- "balance": 0,
25553
- "coming": 0,
25554
- "display": true,
25555
- "last_update": "2019-08-02 17:21:59.440223",
25556
- "deleted": "2019-08-02 17:21:59.440285",
25557
- "disabled": "2019-08-02 17:21:59.440342",
25558
- "iban": "",
25559
- "currency": "",
25560
- "id_type": 0,
25561
- "bookmarked": false,
25562
- "name": "",
25563
- "error": "",
25564
- "usage": "",
25565
- "ownership": "",
25566
- "company_name": ""
25567
- }
25568
- },
25569
- "Project": {
25570
- "required": [
25571
- "id",
25572
- "id_user",
25573
- "id_type",
25574
- "name",
25575
- "target",
25576
- "saved",
25577
- "monthly_savings",
25578
- "comment",
25579
- "active"
25580
- ],
25581
- "type": "object",
25582
- "properties": {
25583
- "id": {
25584
- "type": "integer"
25585
- },
25586
- "id_user": {
25587
- "type": "integer"
25588
- },
25589
- "id_type": {
25590
- "type": "integer"
25591
- },
25592
- "name": {
25593
- "type": "string"
25594
- },
25595
- "target": {
25596
- "type": "number",
25597
- "format": "float"
25598
- },
25599
- "saved": {
25600
- "default": 0,
25601
- "type": "number",
25602
- "format": "float"
25603
- },
25604
- "monthly_savings": {
25605
- "type": "number",
25606
- "format": "float"
25607
- },
25608
- "comment": {
25609
- "default": "",
25610
- "type": "string"
25611
- },
25612
- "active": {
25613
- "default": true,
25614
- "type": "boolean"
25615
- }
25616
- },
25617
- "example": {
25618
- "id": 0,
25619
- "id_user": 0,
25620
- "id_type": 0,
25621
- "name": "",
25622
- "target": 0,
25623
- "saved": 0,
25624
- "monthly_savings": 0,
25625
- "comment": "",
25626
- "active": true
25627
- }
25628
- },
25629
- "Device": {
25630
- "required": [
25631
- "id",
25632
- "id_token",
25633
- "type",
25634
- "notification_token",
25635
- "last_update",
25636
- "version",
25637
- "debug"
25638
- ],
25639
- "type": "object",
25640
- "properties": {
25641
- "id": {
25642
- "type": "integer"
25643
- },
25644
- "id_token": {
25645
- "type": "integer"
25646
- },
25647
- "type": {
25648
- "type": "string"
25649
- },
25650
- "notification_token": {
25651
- "type": "string"
25652
- },
25653
- "last_update": {
25654
- "default": "CURRENT_TIMESTAMP",
25655
- "type": "string",
25656
- "format": "date-time"
25657
- },
25658
- "version": {
25659
- "type": "string"
25660
- },
25661
- "debug": {
25662
- "default": false,
25663
- "type": "boolean"
25664
- }
25665
- },
25666
- "example": {
25667
- "id": 0,
25668
- "id_token": 0,
25669
- "type": "",
25670
- "notification_token": "",
25671
- "last_update": "CURRENT_TIMESTAMP",
25672
- "version": "",
25673
- "debug": false
25674
- }
25675
- },
25676
- "Pocket": {
25677
- "required": [
25678
- "id",
25679
- "id_account",
25680
- "id_investment",
25681
- "value",
25682
- "condition"
25683
- ],
25684
- "type": "object",
25685
- "properties": {
25686
- "id": {
25687
- "type": "integer",
25688
- "description": "ID of the pocket"
25689
- },
25690
- "id_account": {
25691
- "type": "integer",
25692
- "description": "ID of the related account"
25693
- },
25694
- "id_investment": {
25695
- "type": "integer",
25696
- "description": "ID of the related investment"
25697
- },
25698
- "label": {
25699
- "type": "string",
25700
- "description": "Label of the pocket"
25701
- },
25702
- "value": {
25703
- "type": "number",
25704
- "description": "Value of the pocket",
25705
- "format": "float"
25706
- },
25707
- "quantity": {
25708
- "default": 0,
25709
- "type": "number",
25710
- "description": "Quantity of stocks",
25711
- "format": "float"
25712
- },
25713
- "availability_date": {
25714
- "type": "string",
25715
- "description": "Availability date of the pocket",
25716
- "format": "date"
25717
- },
25718
- "condition": {
25719
- "default": "inconnu",
25720
- "type": "string",
25721
- "description": "Withdrawal condition of the pocket"
25722
- },
25723
- "last_update": {
25724
- "type": "string",
25725
- "description": "Last update of the pocket",
25726
- "format": "date-time"
25727
- },
25728
- "deleted": {
25729
- "type": "string",
25730
- "description": "If set, this pocket has been removed from the website",
25731
- "format": "date-time"
25732
- }
25733
- },
25734
- "example": {
25735
- "id": 0,
25736
- "id_account": 0,
25737
- "id_investment": 0,
25738
- "label": "",
25739
- "value": 0,
25740
- "quantity": 0,
25741
- "availability_date": "2019-08-02",
25742
- "condition": "inconnu",
25743
- "last_update": "2019-08-02 17:21:59.448433",
25744
- "deleted": "2019-08-02 17:21:59.448498"
25745
- }
25746
- },
25747
- "Alert": {
25748
- "required": [
25749
- "id",
25750
- "id_user",
25751
- "timestamp",
25752
- "type",
25753
- "value"
25754
- ],
25755
- "type": "object",
25756
- "properties": {
25757
- "id": {
25758
- "type": "integer"
25759
- },
25760
- "id_user": {
25761
- "type": "integer",
25762
- "description": "ID of the related user"
25763
- },
25764
- "timestamp": {
25765
- "default": "CURRENT_TIMESTAMP",
25766
- "type": "string",
25767
- "description": "Date of the alerts emission",
25768
- "format": "date-time"
25769
- },
25770
- "type": {
25771
- "type": "string",
25772
- "description": "Type of the alert"
25773
- },
25774
- "id_transaction": {
25775
- "type": "integer",
25776
- "description": "ID of the related transaction"
25777
- },
25778
- "id_account": {
25779
- "type": "integer",
25780
- "description": "ID of the related account"
25781
- },
25782
- "value": {
25783
- "type": "number",
25784
- "description": "Amount related to the alert",
25785
- "format": "float"
25786
- },
25787
- "id_investment": {
25788
- "type": "integer",
25789
- "description": "ID of the related investment"
25790
- }
25791
- },
25792
- "example": {
25793
- "id": 0,
26018
+ "id_connection": 0,
25794
26019
  "id_user": 0,
25795
- "timestamp": "CURRENT_TIMESTAMP",
25796
- "type": "",
25797
- "id_transaction": 0,
25798
- "id_account": 0,
25799
- "value": 0,
25800
- "id_investment": 0
26020
+ "id_source": 0,
26021
+ "id_parent": 0,
26022
+ "number": "",
26023
+ "webid": "",
26024
+ "original_name": "",
26025
+ "balance": 0,
26026
+ "coming": 0,
26027
+ "display": true,
26028
+ "last_update": "2019-08-02 17:21:59.440223",
26029
+ "deleted": "2019-08-02 17:21:59.440285",
26030
+ "disabled": "2019-08-02 17:21:59.440342",
26031
+ "iban": "",
26032
+ "currency": "",
26033
+ "id_type": 0,
26034
+ "bookmarked": false,
26035
+ "name": "",
26036
+ "error": "",
26037
+ "usage": "",
26038
+ "ownership": "",
26039
+ "company_name": ""
25801
26040
  }
25802
26041
  },
25803
- "Group": {
26042
+ "Profile": {
25804
26043
  "required": [
25805
- "id"
26044
+ "id",
26045
+ "id_user",
26046
+ "role",
26047
+ "email",
26048
+ "statut",
26049
+ "admin"
25806
26050
  ],
25807
26051
  "type": "object",
25808
26052
  "properties": {
25809
26053
  "id": {
25810
26054
  "type": "integer"
25811
26055
  },
25812
- "id_parent_group": {
25813
- "type": "integer"
25814
- },
25815
- "id_logo": {
26056
+ "id_user": {
25816
26057
  "type": "integer"
25817
26058
  },
25818
- "name": {
26059
+ "role": {
26060
+ "default": "admin",
26061
+ "enum": [
26062
+ "admin",
26063
+ "ser"
26064
+ ],
25819
26065
  "type": "string"
25820
26066
  },
25821
- "url": {
26067
+ "email": {
25822
26068
  "type": "string"
25823
26069
  },
25824
- "color": {
25825
- "type": "string"
26070
+ "statut": {
26071
+ "default": 0,
26072
+ "type": "integer"
25826
26073
  },
25827
- "email": {
25828
- "type": "string"
26074
+ "admin": {
26075
+ "default": false,
26076
+ "type": "boolean"
25829
26077
  },
25830
26078
  "conf": {
25831
26079
  "type": "string"
26080
+ },
26081
+ "lang": {
26082
+ "type": "string"
25832
26083
  }
25833
26084
  },
25834
26085
  "example": {
25835
26086
  "id": 0,
25836
- "id_parent_group": 0,
25837
- "id_logo": 0,
25838
- "name": "",
25839
- "url": "",
25840
- "color": "",
25841
- "email": "",
25842
- "conf": ""
26087
+ "id_user": 0,
26088
+ "role": "admin",
26089
+ "statut": 0,
26090
+ "admin": false,
26091
+ "conf": "",
26092
+ "lang": ""
25843
26093
  }
25844
26094
  },
25845
- "TransferLog": {
26095
+ "AccountType": {
25846
26096
  "required": [
25847
26097
  "id",
25848
- "timestamp"
26098
+ "name",
26099
+ "is_invest",
26100
+ "weboob_type_id",
26101
+ "display_name_p",
26102
+ "display_name"
25849
26103
  ],
25850
26104
  "type": "object",
25851
26105
  "properties": {
25852
26106
  "id": {
25853
26107
  "type": "integer",
25854
- "description": "ID of the transfer log entry"
25855
- },
25856
- "id_transfer": {
25857
- "type": "integer",
25858
- "description": "ID of the related transfer"
25859
- },
25860
- "id_file": {
25861
- "type": "integer",
25862
- "description": "ID of the related file"
26108
+ "description": "ID of the account type"
25863
26109
  },
25864
- "request_data": {
26110
+ "name": {
25865
26111
  "type": "string",
25866
- "description": "Data stored related to user who has requested the transfer"
26112
+ "description": "Name of the account type"
25867
26113
  },
25868
- "state": {
25869
- "type": "string",
25870
- "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
26114
+ "is_invest": {
26115
+ "default": false,
26116
+ "type": "boolean",
26117
+ "description": "Is it an investment account"
25871
26118
  },
25872
- "error": {
25873
- "type": "string",
25874
- "description": "Error message during transfer, if any"
26119
+ "weboob_type_id": {
26120
+ "type": "integer",
26121
+ "description": "Map to the weboob_type_id"
25875
26122
  },
25876
- "timestamp": {
25877
- "default": "CURRENT_TIMESTAMP",
26123
+ "display_name_p": {
25878
26124
  "type": "string",
25879
- "description": "Timestamp of the log",
25880
- "format": "date-time"
26125
+ "description": "Name to display in plurial"
25881
26126
  },
25882
- "fields": {
26127
+ "display_name": {
25883
26128
  "type": "string",
25884
- "description": "Fields for transfer in additionalInformationNeeded state with background option"
25885
- }
25886
- },
25887
- "example": {
25888
- "id": 0,
25889
- "id_transfer": 0,
25890
- "id_file": 0,
25891
- "request_data": "",
25892
- "state": "",
25893
- "error": "",
25894
- "timestamp": "CURRENT_TIMESTAMP"
25895
- }
25896
- },
25897
- "TransactionInformation": {
25898
- "required": [
25899
- "id",
25900
- "id_transaction",
25901
- "key"
25902
- ],
25903
- "type": "object",
25904
- "properties": {
25905
- "id": {
25906
- "type": "integer",
25907
- "description": "ID of this transaction information"
25908
- },
25909
- "id_transaction": {
25910
- "type": "integer",
25911
- "description": "ID of the related transaction"
26129
+ "description": "Name to display in singular"
25912
26130
  },
25913
- "key": {
26131
+ "color": {
25914
26132
  "type": "string",
25915
- "description": "Key of the transaction information"
26133
+ "description": "Color of the account type (hexdecimal)"
25916
26134
  },
25917
- "value": {
25918
- "type": "string",
25919
- "description": "Value of the transaction information"
26135
+ "id_parent": {
26136
+ "type": "integer",
26137
+ "description": "Id of the parent type"
25920
26138
  }
25921
26139
  },
25922
26140
  "example": {
25923
26141
  "id": 0,
25924
- "id_transaction": 0,
25925
- "key": "",
25926
- "value": ""
26142
+ "name": "",
26143
+ "is_invest": false,
26144
+ "weboob_type_id": 0,
26145
+ "display_name_p": "",
26146
+ "display_name": "",
26147
+ "color": "",
26148
+ "id_parent": 0
25927
26149
  }
25928
26150
  },
25929
- "InvestmentValue": {
26151
+ "Project": {
25930
26152
  "required": [
25931
26153
  "id",
25932
- "id_investment",
25933
- "vdate",
25934
- "unitvalue"
26154
+ "id_user",
26155
+ "id_type",
26156
+ "name",
26157
+ "target",
26158
+ "saved",
26159
+ "monthly_savings",
26160
+ "comment",
26161
+ "active"
25935
26162
  ],
25936
26163
  "type": "object",
25937
26164
  "properties": {
25938
26165
  "id": {
25939
- "type": "integer",
25940
- "description": "ID of the value"
26166
+ "type": "integer"
25941
26167
  },
25942
- "id_investment": {
25943
- "type": "integer",
25944
- "description": "ID of the related investment"
26168
+ "id_user": {
26169
+ "type": "integer"
25945
26170
  },
25946
- "vdate": {
25947
- "type": "string",
25948
- "description": "Date of this value",
25949
- "format": "date"
26171
+ "id_type": {
26172
+ "type": "integer"
25950
26173
  },
25951
- "unitvalue": {
26174
+ "name": {
26175
+ "type": "string"
26176
+ },
26177
+ "target": {
25952
26178
  "type": "number",
25953
- "description": "Value on this date",
25954
26179
  "format": "float"
25955
26180
  },
25956
- "original_currency": {
25957
- "type": "object",
25958
- "description": "Original currency"
26181
+ "saved": {
26182
+ "default": 0,
26183
+ "type": "number",
26184
+ "format": "float"
25959
26185
  },
25960
- "original_unitvalue": {
26186
+ "monthly_savings": {
25961
26187
  "type": "number",
25962
- "description": "Value on this date, in the original currency",
25963
26188
  "format": "float"
26189
+ },
26190
+ "comment": {
26191
+ "default": "",
26192
+ "type": "string"
26193
+ },
26194
+ "active": {
26195
+ "default": true,
26196
+ "type": "boolean"
25964
26197
  }
25965
26198
  },
25966
26199
  "example": {
25967
26200
  "id": 0,
25968
- "id_investment": 0,
25969
- "vdate": "2019-08-02",
25970
- "unitvalue": 0,
25971
- "original_currency": "",
25972
- "original_unitvalue": 0
26201
+ "id_user": 0,
26202
+ "id_type": 0,
26203
+ "name": "",
26204
+ "target": 0,
26205
+ "saved": 0,
26206
+ "monthly_savings": 0,
26207
+ "comment": "",
26208
+ "active": true
25973
26209
  }
25974
26210
  },
25975
- "RecipientLog": {
26211
+ "Device": {
25976
26212
  "required": [
25977
26213
  "id",
25978
- "timestamp"
26214
+ "id_token",
26215
+ "type",
26216
+ "notification_token",
26217
+ "last_update",
26218
+ "version",
26219
+ "debug"
25979
26220
  ],
25980
26221
  "type": "object",
25981
26222
  "properties": {
25982
26223
  "id": {
25983
- "type": "integer",
25984
- "description": "ID of the transfer log entry"
25985
- },
25986
- "id_recipient": {
25987
- "type": "integer",
25988
- "description": "ID of the related recipient"
25989
- },
25990
- "id_file": {
25991
- "type": "integer",
25992
- "description": "ID of the related file"
26224
+ "type": "integer"
25993
26225
  },
25994
- "request_data": {
25995
- "type": "string",
25996
- "description": "Data stored related to user who has requested the recipient addition"
26226
+ "id_token": {
26227
+ "type": "integer"
25997
26228
  },
25998
- "step": {
25999
- "type": "string",
26000
- "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
26229
+ "type": {
26230
+ "type": "string"
26001
26231
  },
26002
- "error": {
26003
- "type": "string",
26004
- "description": "Error message during recipient addition, if any"
26232
+ "notification_token": {
26233
+ "type": "string"
26005
26234
  },
26006
- "timestamp": {
26235
+ "last_update": {
26007
26236
  "default": "CURRENT_TIMESTAMP",
26008
26237
  "type": "string",
26009
- "description": "Timestamp of the log",
26010
26238
  "format": "date-time"
26011
26239
  },
26012
- "fields": {
26013
- "type": "string",
26014
- "description": "Fields for recipient in additionalInformationNeeded state with background option"
26240
+ "version": {
26241
+ "type": "string"
26242
+ },
26243
+ "debug": {
26244
+ "default": false,
26245
+ "type": "boolean"
26015
26246
  }
26016
26247
  },
26017
26248
  "example": {
26018
26249
  "id": 0,
26019
- "id_recipient": 0,
26020
- "id_file": 0,
26021
- "request_data": "",
26022
- "step": "",
26023
- "error": "",
26024
- "timestamp": "CURRENT_TIMESTAMP"
26250
+ "id_token": 0,
26251
+ "type": "",
26252
+ "notification_token": "",
26253
+ "last_update": "CURRENT_TIMESTAMP",
26254
+ "version": "",
26255
+ "debug": false
26025
26256
  }
26026
26257
  },
26027
- "SubscriptionLog": {
26258
+ "Group": {
26028
26259
  "required": [
26029
- "id",
26030
- "id_subscription",
26031
- "timestamp"
26260
+ "id"
26032
26261
  ],
26033
26262
  "type": "object",
26034
26263
  "properties": {
26035
26264
  "id": {
26036
- "type": "integer",
26037
- "description": "ID of the log"
26265
+ "type": "integer"
26038
26266
  },
26039
- "id_subscription": {
26040
- "type": "integer",
26041
- "description": "ID of the related subscription"
26267
+ "id_parent_group": {
26268
+ "type": "integer"
26042
26269
  },
26043
- "timestamp": {
26044
- "default": "CURRENT_TIMESTAMP",
26045
- "type": "string",
26046
- "description": "Timestamp of log",
26047
- "format": "date-time"
26270
+ "id_logo": {
26271
+ "type": "integer"
26048
26272
  },
26049
- "nb_docs": {
26050
- "type": "integer",
26051
- "description": "Number of docs on the subscription"
26273
+ "name": {
26274
+ "type": "string"
26052
26275
  },
26053
- "id_connection_log": {
26054
- "type": "integer",
26055
- "description": "ID of the related connection log"
26276
+ "url": {
26277
+ "type": "string"
26056
26278
  },
26057
- "error": {
26058
- "type": "string",
26059
- "description": "If fail, contains the error code"
26279
+ "color": {
26280
+ "type": "string"
26060
26281
  },
26061
- "error_message": {
26062
- "type": "string",
26063
- "description": "If fail, error message received from provider"
26282
+ "email": {
26283
+ "type": "string"
26064
26284
  },
26065
- "id_source": {
26066
- "type": "integer",
26067
- "description": "ID of the related connection source"
26285
+ "conf": {
26286
+ "type": "string"
26068
26287
  }
26069
26288
  },
26070
26289
  "example": {
26071
26290
  "id": 0,
26072
- "id_subscription": 0,
26073
- "timestamp": "CURRENT_TIMESTAMP",
26074
- "nb_docs": 0,
26075
- "id_connection_log": 0,
26076
- "error": "",
26077
- "error_message": "",
26078
- "id_source": 0
26291
+ "id_parent_group": 0,
26292
+ "id_logo": 0,
26293
+ "name": "",
26294
+ "url": "",
26295
+ "color": "",
26296
+ "email": "",
26297
+ "conf": ""
26079
26298
  }
26080
26299
  },
26081
- "ConnectionSource": {
26300
+ "Alert": {
26082
26301
  "required": [
26083
26302
  "id",
26084
- "id_connection",
26085
- "id_connector_source",
26086
- "name",
26087
- "created"
26303
+ "id_user",
26304
+ "timestamp",
26305
+ "type",
26306
+ "value"
26088
26307
  ],
26089
26308
  "type": "object",
26090
26309
  "properties": {
26091
26310
  "id": {
26092
- "type": "integer",
26093
- "description": "ID of connection"
26094
- },
26095
- "id_connection": {
26096
- "type": "integer",
26097
- "description": "ID of the related connection"
26311
+ "type": "integer"
26098
26312
  },
26099
- "id_connector_source": {
26313
+ "id_user": {
26100
26314
  "type": "integer",
26101
- "description": "ID of the related connector source"
26102
- },
26103
- "name": {
26104
- "type": "string",
26105
- "description": "Name of the connection source"
26106
- },
26107
- "last_update": {
26108
- "type": "string",
26109
- "description": "Last successful update",
26110
- "format": "date-time"
26315
+ "description": "ID of the related user"
26111
26316
  },
26112
- "disabled": {
26317
+ "timestamp": {
26318
+ "default": "CURRENT_TIMESTAMP",
26113
26319
  "type": "string",
26114
- "description": "This source is not used to synchronize the connection",
26320
+ "description": "Date of the alerts emission",
26115
26321
  "format": "date-time"
26116
26322
  },
26117
- "created": {
26118
- "default": "<function <lambda> at 0x7f8894cfe7d0>",
26323
+ "type": {
26119
26324
  "type": "string",
26120
- "description": "Creation date of the connection source",
26121
- "format": "date-time"
26325
+ "description": "Type of the alert"
26122
26326
  },
26123
- "state": {
26124
- "type": "string",
26125
- "description": "If the last update has failed, the state code"
26327
+ "id_transaction": {
26328
+ "type": "integer",
26329
+ "description": "ID of the related transaction"
26126
26330
  },
26127
- "access_expire": {
26128
- "type": "string",
26129
- "description": "Expiration date of the access",
26130
- "format": "date-time"
26331
+ "id_account": {
26332
+ "type": "integer",
26333
+ "description": "ID of the related account"
26131
26334
  },
26132
- "expire": {
26133
- "type": "string",
26134
- "description": "Expiration of the connection source. Used to purge the connection in case completion was not finished",
26135
- "format": "date-time"
26335
+ "value": {
26336
+ "type": "number",
26337
+ "description": "Amount related to the alert",
26338
+ "format": "float"
26136
26339
  },
26137
- "next_try": {
26138
- "type": "string",
26139
- "description": "Date of next synchronization",
26140
- "format": "date-time"
26340
+ "id_investment": {
26341
+ "type": "integer",
26342
+ "description": "ID of the related investment"
26141
26343
  }
26142
26344
  },
26143
26345
  "example": {
26144
26346
  "id": 0,
26145
- "id_connection": 0,
26146
- "id_connector_source": 0,
26147
- "name": "",
26148
- "last_update": "2019-12-27 16:17:55.317583",
26149
- "disabled": "2019-12-27 16:17:55.317658",
26150
- "created": "<function <lambda> at 0x7f8894cfe7d0>",
26151
- "state": "",
26152
- "access_expire": "2019-12-27 16:17:55.317849",
26153
- "expire": "2019-12-27 16:17:55.317911",
26154
- "next_try": "2019-12-27 16:17:55.318118"
26347
+ "id_user": 0,
26348
+ "timestamp": "CURRENT_TIMESTAMP",
26349
+ "type": "",
26350
+ "id_transaction": 0,
26351
+ "id_account": 0,
26352
+ "value": 0,
26353
+ "id_investment": 0
26155
26354
  }
26156
26355
  },
26157
- "AccountLog": {
26356
+ "ProjectType": {
26158
26357
  "required": [
26159
26358
  "id",
26160
- "id_account",
26161
- "balance",
26162
- "timestamp"
26359
+ "name"
26163
26360
  ],
26164
26361
  "type": "object",
26165
26362
  "properties": {
26166
26363
  "id": {
26167
- "type": "integer",
26168
- "description": "ID of the log"
26169
- },
26170
- "id_account": {
26171
- "type": "integer",
26172
- "description": "ID of the related account"
26173
- },
26174
- "id_connector": {
26175
- "type": "integer",
26176
- "description": "provider id"
26177
- },
26178
- "balance": {
26179
- "type": "number",
26180
- "description": "Balanced recorded",
26181
- "format": "float"
26182
- },
26183
- "coming": {
26184
- "default": 0,
26185
- "type": "number",
26186
- "description": "Coming debit recorded",
26187
- "format": "float"
26188
- },
26189
- "timestamp": {
26190
- "default": "CURRENT_TIMESTAMP",
26191
- "type": "string",
26192
- "description": "Timestamp of log",
26193
- "format": "date-time"
26194
- },
26195
- "error": {
26196
- "type": "string",
26197
- "description": "If fail, contains the error code"
26364
+ "type": "integer"
26198
26365
  },
26199
- "error_message": {
26200
- "type": "string",
26201
- "description": "If fail, error message received from bank or provider"
26366
+ "name": {
26367
+ "type": "string"
26202
26368
  },
26203
- "id_connection_log": {
26204
- "type": "integer",
26205
- "description": "ID of the related connection log"
26369
+ "icon_url": {
26370
+ "type": "string"
26206
26371
  }
26207
26372
  },
26208
26373
  "example": {
26209
26374
  "id": 0,
26210
- "id_account": 0,
26211
- "id_connector": 0,
26212
- "balance": 0,
26213
- "coming": 0,
26214
- "timestamp": "CURRENT_TIMESTAMP",
26215
- "error": "",
26216
- "error_message": "",
26217
- "id_connection_log": 0
26375
+ "name": "",
26376
+ "icon_url": ""
26218
26377
  }
26219
26378
  },
26220
26379
  "Currency": {
@@ -26357,24 +26516,29 @@
26357
26516
  "timestamp": "CURRENT_TIMESTAMP"
26358
26517
  }
26359
26518
  },
26360
- "OidcWhitelist": {
26519
+ "DocumentType": {
26361
26520
  "required": [
26362
26521
  "id",
26363
- "redirect_uri"
26522
+ "name",
26523
+ "attacheable"
26364
26524
  ],
26365
26525
  "type": "object",
26366
26526
  "properties": {
26367
26527
  "id": {
26368
26528
  "type": "integer"
26369
26529
  },
26370
- "redirect_uri": {
26371
- "type": "string",
26372
- "description": "authorized redirect uri"
26530
+ "name": {
26531
+ "type": "string"
26532
+ },
26533
+ "attacheable": {
26534
+ "default": true,
26535
+ "type": "boolean"
26373
26536
  }
26374
26537
  },
26375
26538
  "example": {
26376
26539
  "id": 0,
26377
- "redirect_uri": ""
26540
+ "name": "",
26541
+ "attacheable": true
26378
26542
  }
26379
26543
  }
26380
26544
  },