budgea_client 5.0.3 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) 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 +1624 -1420
  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 +267 -52
  11. data/docs/Connection.md +2 -0
  12. data/docs/ConnectionsApi.md +255 -40
  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 +257 -42
  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 +278 -78
  39. data/lib/budgea_client/api/connections_api.rb +260 -60
  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 +263 -63
  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/pkg/budgea_client-5.0.3.gem +0 -0
  152. metadata +3 -4
  153. data/lib/budgea_client/api/hub_api.rb +0 -76
  154. data/lib/budgea_client/models/invite.rb +0 -238
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 861c9d366861897860bfcfcb88e1476ff3a682f361780e87e1351f635ebb4501
4
- data.tar.gz: 32bc8cedd42fe4b0a1267e58b97432c6e1a2a38a4fcb37d3d1b982e33e9ca9e1
3
+ metadata.gz: 8f7a595e319f0a1903ed6f8002f200d99473944e6a748dcc12c5c64cb13a75cd
4
+ data.tar.gz: 7bfafe4bec4683643ac484c7bcab70f36e50691653e74787efc4461f5c162e26
5
5
  SHA512:
6
- metadata.gz: 5ffe8597ad079309ae7725de97ea6087f8093ab7a8448b3fe4c2b5a80e316a664a7f3ff2ab964eb013f2606ef6335ce90602448c07d2404b6082ca0d0371e610
7
- data.tar.gz: 497dd884d1698b488662981c2ecf1a5e91a659c267c33b7474063da9fd27b9afa2031708ab1f3abaa7bb3dfbf33fb07831b7a4b068c04d1731972974bb4686dd
6
+ metadata.gz: 437ba401b2ab3c76a8b015ac35f8e5631838d9a87d90c34dde7e1fa69ea714888522472b8985c03f63425542b245ef329d01346919882336f1d66068527d41e6
7
+ data.tar.gz: 867e678f09f71c31cd6652a3549817da5a42ad0e8435a81080d13692d1d600fbb8b1f1e34798980e069e2ad0dd38c3ff1f027f58897cf2ea263c99ba14526be3
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.3)
4
+ budgea_client (5.2.0)
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: 4.0.3
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-4.0.3.gem
26
+ gem install ./budgea_client-5.1.3.gem
27
27
  ```
28
- (for development, run `gem install --dev ./budgea_client-4.0.3.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', '~> 4.0.3'
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,126 +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
- "type": "string",
8376
- "name": "expand",
8377
- "in": "query"
8509
+ "in": "body",
8510
+ "name": "connection",
8511
+ "schema": {
8512
+ "additionalProperties": {
8513
+ "type": "string"
8514
+ }
8515
+ }
8378
8516
  }
8379
8517
  ],
8380
8518
  "summary": "Add a new connection.",
8381
8519
  "consumes": [
8382
- "application/x-www-form-urlencoded"
8520
+ "application/json"
8383
8521
  ]
8384
8522
  },
8385
8523
  "delete": {
@@ -9171,6 +9309,20 @@
9171
9309
  "name": "id_account",
9172
9310
  "description": ""
9173
9311
  },
9312
+ {
9313
+ "required": false,
9314
+ "in": "query",
9315
+ "type": "string",
9316
+ "name": "label",
9317
+ "description": "filter investments using keywords in labels"
9318
+ },
9319
+ {
9320
+ "required": false,
9321
+ "in": "query",
9322
+ "type": "string",
9323
+ "name": "code",
9324
+ "description": "filter investments by ISIN codes"
9325
+ },
9174
9326
  {
9175
9327
  "required": false,
9176
9328
  "type": "string",
@@ -9735,7 +9887,7 @@
9735
9887
  "in": "query"
9736
9888
  }
9737
9889
  ],
9738
- "summary": "Edit an alert on transactions or investements",
9890
+ "summary": "Edit an alert on transactions or investments",
9739
9891
  "consumes": [
9740
9892
  "application/x-www-form-urlencoded"
9741
9893
  ]
@@ -13417,6 +13569,20 @@
13417
13569
  "name": "id_connection",
13418
13570
  "description": ""
13419
13571
  },
13572
+ {
13573
+ "required": false,
13574
+ "in": "query",
13575
+ "type": "string",
13576
+ "name": "label",
13577
+ "description": "filter investments using keywords in labels"
13578
+ },
13579
+ {
13580
+ "required": false,
13581
+ "in": "query",
13582
+ "type": "string",
13583
+ "name": "code",
13584
+ "description": "filter investments by ISIN codes"
13585
+ },
13420
13586
  {
13421
13587
  "required": false,
13422
13588
  "type": "string",
@@ -18131,6 +18297,20 @@
18131
18297
  "name": "id_user",
18132
18298
  "description": "Hint: you can use 'me' or 'all'"
18133
18299
  },
18300
+ {
18301
+ "required": false,
18302
+ "in": "query",
18303
+ "type": "string",
18304
+ "name": "label",
18305
+ "description": "filter investments using keywords in labels"
18306
+ },
18307
+ {
18308
+ "required": false,
18309
+ "in": "query",
18310
+ "type": "string",
18311
+ "name": "code",
18312
+ "description": "filter investments by ISIN codes"
18313
+ },
18134
18314
  {
18135
18315
  "required": false,
18136
18316
  "type": "string",
@@ -22440,11 +22620,10 @@
22440
22620
  "description": "The webhook authentication process to use (its ID or its name)"
22441
22621
  },
22442
22622
  {
22443
- "name": "url",
22444
- "format": "float",
22445
22623
  "required": false,
22446
22624
  "in": "formData",
22447
- "type": "number",
22625
+ "type": "string",
22626
+ "name": "url",
22448
22627
  "description": "The webhook callback url"
22449
22628
  },
22450
22629
  {
@@ -22786,11 +22965,10 @@
22786
22965
  "description": "The webhook authentication process to use"
22787
22966
  },
22788
22967
  {
22789
- "name": "url",
22790
- "format": "float",
22791
22968
  "required": false,
22792
22969
  "in": "formData",
22793
- "type": "number",
22970
+ "type": "string",
22971
+ "name": "url",
22794
22972
  "description": "The webhook callback url"
22795
22973
  },
22796
22974
  {
@@ -22859,11 +23037,10 @@
22859
23037
  "description": "The webhook authentication process to use"
22860
23038
  },
22861
23039
  {
22862
- "name": "url",
22863
- "format": "float",
22864
23040
  "required": false,
22865
23041
  "in": "formData",
22866
- "type": "number",
23042
+ "type": "string",
23043
+ "name": "url",
22867
23044
  "description": "The webhook callback url"
22868
23045
  },
22869
23046
  {
@@ -23331,6 +23508,37 @@
23331
23508
  "restricted": false
23332
23509
  }
23333
23510
  },
23511
+ "ConnectorLogo": {
23512
+ "required": [
23513
+ "id",
23514
+ "id_connector",
23515
+ "id_file"
23516
+ ],
23517
+ "type": "object",
23518
+ "properties": {
23519
+ "id": {
23520
+ "type": "integer"
23521
+ },
23522
+ "id_connector": {
23523
+ "type": "integer",
23524
+ "description": "ID of the connector"
23525
+ },
23526
+ "id_file": {
23527
+ "type": "integer",
23528
+ "description": "Id of the Bank/Provider Logo"
23529
+ },
23530
+ "type": {
23531
+ "type": "string",
23532
+ "description": "Logo's type"
23533
+ }
23534
+ },
23535
+ "example": {
23536
+ "id": 0,
23537
+ "id_connector": 0,
23538
+ "id_file": 0,
23539
+ "type": ""
23540
+ }
23541
+ },
23334
23542
  "ConnectorSource": {
23335
23543
  "required": [
23336
23544
  "id",
@@ -23471,37 +23679,6 @@
23471
23679
  }
23472
23680
  }
23473
23681
  },
23474
- "ConnectorLogo": {
23475
- "required": [
23476
- "id",
23477
- "id_connector",
23478
- "id_file"
23479
- ],
23480
- "type": "object",
23481
- "properties": {
23482
- "id": {
23483
- "type": "integer"
23484
- },
23485
- "id_connector": {
23486
- "type": "integer",
23487
- "description": "ID of the connector"
23488
- },
23489
- "id_file": {
23490
- "type": "integer",
23491
- "description": "Id of the Bank/Provider Logo"
23492
- },
23493
- "type": {
23494
- "type": "string",
23495
- "description": "Logo's type"
23496
- }
23497
- },
23498
- "example": {
23499
- "id": 0,
23500
- "id_connector": 0,
23501
- "id_file": 0,
23502
- "type": ""
23503
- }
23504
- },
23505
23682
  "User": {
23506
23683
  "required": [
23507
23684
  "id",
@@ -23599,255 +23776,324 @@
23599
23776
  "type": ""
23600
23777
  }
23601
23778
  },
23602
- "TermsOfService": {
23779
+ "Connection": {
23603
23780
  "required": [
23604
23781
  "id",
23605
- "version",
23606
- "created"
23782
+ "id_connector",
23783
+ "active"
23607
23784
  ],
23608
23785
  "type": "object",
23609
23786
  "properties": {
23610
23787
  "id": {
23611
- "type": "integer"
23788
+ "type": "integer",
23789
+ "description": "ID of connection"
23612
23790
  },
23613
- "version": {
23614
- "type": "string"
23791
+ "id_user": {
23792
+ "type": "integer",
23793
+ "description": "ID of the related user"
23615
23794
  },
23616
- "id_file": {
23617
- "type": "integer"
23795
+ "id_connector": {
23796
+ "type": "integer",
23797
+ "description": "ID of the related connector"
23618
23798
  },
23619
- "created": {
23799
+ "last_update": {
23620
23800
  "type": "string",
23801
+ "description": "Last successful update",
23621
23802
  "format": "date-time"
23622
23803
  },
23623
- "deleted": {
23804
+ "created": {
23805
+ "default": "<function <lambda> at 0x7f8894ce1aa0>",
23624
23806
  "type": "string",
23807
+ "description": "Creation date",
23625
23808
  "format": "date-time"
23626
- }
23627
- },
23628
- "example": {
23629
- "id": 0,
23630
- "version": "",
23631
- "id_file": 0,
23632
- "created": "2019-03-12 13:08:00.680453",
23633
- "deleted": "2019-03-12 13:08:00.680558"
23634
- }
23635
- },
23636
- "Category": {
23637
- "required": [
23638
- "id",
23639
- "id_parent_category",
23640
- "name",
23641
- "color",
23642
- "id_parent_category_in_menu",
23643
- "refundable"
23644
- ],
23645
- "type": "object",
23646
- "properties": {
23647
- "id": {
23648
- "type": "integer",
23649
- "description": "ID of the category"
23650
23809
  },
23651
- "id_parent_category": {
23652
- "type": "integer",
23653
- "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
23654
- },
23655
- "name": {
23810
+ "error": {
23656
23811
  "type": "string",
23657
- "description": "Name of the category"
23658
- },
23659
- "income": {
23660
- "type": "boolean",
23661
- "description": "Is an income category. If null, this is both an income and an expense category"
23812
+ "description": "If the last update has failed, the error code"
23662
23813
  },
23663
- "color": {
23814
+ "error_message": {
23664
23815
  "type": "string",
23665
- "description": "Color of the category"
23816
+ "description": "If fail, error message received from connector"
23666
23817
  },
23667
- "id_parent_category_in_menu": {
23668
- "type": "integer",
23669
- "description": "ID of the parent category to be displayed"
23670
- },
23671
- "name_displayed": {
23818
+ "expire": {
23672
23819
  "type": "string",
23673
- "description": "Displayed name, with HTML tags"
23820
+ "description": "Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort",
23821
+ "format": "date-time"
23674
23822
  },
23675
- "refundable": {
23823
+ "active": {
23824
+ "default": true,
23676
23825
  "type": "boolean",
23677
- "description": "This category accepts opposite sign of transactions"
23826
+ "description": "This connection is active and will be automatically synced"
23678
23827
  },
23679
- "id_user": {
23680
- "type": "integer",
23681
- "description": "If not null, this category is specific to a user"
23828
+ "last_push": {
23829
+ "type": "string",
23830
+ "description": "Last successful push",
23831
+ "format": "date-time"
23682
23832
  },
23683
- "id_logo": {
23684
- "type": "integer",
23685
- "description": "ID of the logo"
23833
+ "state": {
23834
+ "type": "string",
23835
+ "enum": [
23836
+ "wrongpass",
23837
+ "additionalInformationNeeded",
23838
+ "websiteUnavailable",
23839
+ "actionNeeded",
23840
+ "SCARequired",
23841
+ "decoupled",
23842
+ "passwordExpired",
23843
+ "webauthRequired",
23844
+ "bug"
23845
+ ],
23846
+ "description": "State of Connection"
23847
+ },
23848
+ "fields": {
23849
+ "type": "array",
23850
+ "items": {
23851
+ "$ref": "#/definitions/Field"
23852
+ }
23853
+ },
23854
+ "next_try": {
23855
+ "type": "string",
23856
+ "description": "Date of next synchronization",
23857
+ "format": "date-time"
23858
+ },
23859
+ "accounts": {
23860
+ "type": "array",
23861
+ "items": {
23862
+ "$ref": "#/definitions/Account"
23863
+ }
23864
+ },
23865
+ "subscriptions": {
23866
+ "type": "array",
23867
+ "items": {
23868
+ "$ref": "#/definitions/Subscription"
23869
+ }
23870
+ },
23871
+ "connection": {
23872
+ "$ref": "#/definitions/Connection"
23873
+ },
23874
+ "message": {
23875
+ "type": "string"
23686
23876
  }
23687
23877
  },
23688
23878
  "example": {
23689
23879
  "id": 0,
23690
- "id_parent_category": 0,
23691
- "name": "",
23692
- "income": false,
23693
- "color": "",
23694
- "id_parent_category_in_menu": 0,
23695
- "name_displayed": "",
23696
- "refundable": false,
23697
23880
  "id_user": 0,
23698
- "id_logo": 0
23881
+ "id_connector": 0,
23882
+ "last_update": "2019-08-02 17:21:59.365076",
23883
+ "created": "<function <lambda> at 0x7f8894ce1aa0>",
23884
+ "error": "",
23885
+ "expire": "2019-08-02 17:21:59.365257",
23886
+ "active": true,
23887
+ "last_push": "2019-08-02 17:21:59.365378",
23888
+ "next_try": "2019-08-02 17:21:59.365554"
23699
23889
  }
23700
23890
  },
23701
- "Client": {
23891
+ "ConnectionSource": {
23702
23892
  "required": [
23703
23893
  "id",
23894
+ "id_connection",
23895
+ "id_connector_source",
23704
23896
  "name",
23705
- "secret",
23706
- "redirect_uris",
23707
- "pro"
23897
+ "created"
23708
23898
  ],
23709
23899
  "type": "object",
23710
23900
  "properties": {
23711
23901
  "id": {
23712
- "type": "integer"
23902
+ "type": "integer",
23903
+ "description": "ID of connection"
23904
+ },
23905
+ "id_connection": {
23906
+ "type": "integer",
23907
+ "description": "ID of the related connection"
23908
+ },
23909
+ "id_connector_source": {
23910
+ "type": "integer",
23911
+ "description": "ID of the related connector source"
23713
23912
  },
23714
23913
  "name": {
23715
- "default": "",
23716
- "type": "string"
23914
+ "type": "string",
23915
+ "description": "Name of the connection source"
23717
23916
  },
23718
- "secret": {
23719
- "type": "string"
23917
+ "last_update": {
23918
+ "type": "string",
23919
+ "description": "Last successful update",
23920
+ "format": "date-time"
23720
23921
  },
23721
- "public_key": {
23722
- "type": "string"
23922
+ "disabled": {
23923
+ "type": "string",
23924
+ "description": "This source is not used to synchronize the connection",
23925
+ "format": "date-time"
23723
23926
  },
23724
- "private_key": {
23725
- "type": "string"
23927
+ "created": {
23928
+ "default": "<function <lambda> at 0x7f8894cfe7d0>",
23929
+ "type": "string",
23930
+ "description": "Creation date of the connection source",
23931
+ "format": "date-time"
23726
23932
  },
23727
- "redirect_uris": {
23728
- "default": "",
23729
- "type": "string"
23933
+ "state": {
23934
+ "type": "string",
23935
+ "description": "If the last update has failed, the state code"
23730
23936
  },
23731
- "pro": {
23732
- "default": false,
23733
- "type": "boolean",
23734
- "description": "Should the client display the company manager page."
23937
+ "access_expire": {
23938
+ "type": "string",
23939
+ "description": "Expiration date of the access",
23940
+ "format": "date-time"
23735
23941
  },
23736
- "id_logo": {
23737
- "type": "integer"
23942
+ "expire": {
23943
+ "type": "string",
23944
+ "description": "Expiration of the connection source. Used to purge the connection in case completion was not finished",
23945
+ "format": "date-time"
23738
23946
  },
23739
- "config": {
23947
+ "next_try": {
23740
23948
  "type": "string",
23741
- "description": "customizable config"
23949
+ "description": "Date of next synchronization",
23950
+ "format": "date-time"
23742
23951
  }
23743
23952
  },
23744
23953
  "example": {
23745
23954
  "id": 0,
23955
+ "id_connection": 0,
23956
+ "id_connector_source": 0,
23746
23957
  "name": "",
23747
- "secret": "",
23748
- "public_key": "",
23749
- "private_key": "",
23750
- "redirect_uris": "",
23751
- "pro": false,
23752
- "id_logo": 0
23958
+ "last_update": "2019-12-27 16:17:55.317583",
23959
+ "disabled": "2019-12-27 16:17:55.317658",
23960
+ "created": "<function <lambda> at 0x7f8894cfe7d0>",
23961
+ "state": "",
23962
+ "access_expire": "2019-12-27 16:17:55.317849",
23963
+ "expire": "2019-12-27 16:17:55.317911",
23964
+ "next_try": "2019-12-27 16:17:55.318118"
23753
23965
  }
23754
23966
  },
23755
- "File": {
23967
+ "ConnectionLog": {
23756
23968
  "required": [
23757
23969
  "id",
23758
- "content_type",
23759
- "filename",
23760
- "file_size"
23970
+ "id_connection",
23971
+ "timestamp"
23761
23972
  ],
23762
23973
  "type": "object",
23763
23974
  "properties": {
23764
23975
  "id": {
23765
- "type": "integer"
23976
+ "type": "integer",
23977
+ "description": "ID of the log"
23766
23978
  },
23767
- "content_type": {
23768
- "type": "string"
23979
+ "id_user": {
23980
+ "type": "integer",
23981
+ "description": "ID of the user"
23769
23982
  },
23770
- "filename": {
23771
- "type": "string"
23983
+ "id_connection": {
23984
+ "type": "integer",
23985
+ "description": "ID of the connection"
23772
23986
  },
23773
- "file_size": {
23774
- "type": "integer"
23775
- }
23776
- },
23777
- "example": {
23778
- "id": 0,
23779
- "content_type": "",
23780
- "filename": "",
23781
- "file_size": 0
23782
- }
23783
- },
23784
- "Security": {
23785
- "required": [
23786
- "id",
23787
- "name"
23788
- ],
23789
- "type": "object",
23790
- "properties": {
23791
- "id": {
23987
+ "id_connector": {
23792
23988
  "type": "integer",
23793
- "description": "ID of the security"
23989
+ "description": "ID of the connector"
23794
23990
  },
23795
- "code": {
23796
- "type": "string",
23797
- "description": "ISIN code of the security"
23991
+ "id_source": {
23992
+ "type": "integer",
23993
+ "description": "ID of the related connection source"
23798
23994
  },
23799
- "name": {
23995
+ "login": {
23800
23996
  "type": "string",
23801
- "description": "Name of the security"
23997
+ "description": "bcrypt hash of the login"
23802
23998
  },
23803
- "id_type": {
23804
- "type": "integer",
23805
- "description": "ID of the security type"
23999
+ "error_uid": {
24000
+ "type": "string",
24001
+ "description": "MD5 hash of the exception backtrace"
23806
24002
  },
23807
- "last_update": {
24003
+ "timestamp": {
24004
+ "default": "CURRENT_TIMESTAMP",
23808
24005
  "type": "string",
23809
- "description": "Last update of the security",
24006
+ "description": "Timestamp of log, when the synchronization has finished",
23810
24007
  "format": "date-time"
23811
- }
23812
- },
23813
- "example": {
23814
- "id": 0,
23815
- "code": "",
23816
- "name": "",
23817
- "id_type": 0,
23818
- "last_update": "2019-08-02 17:21:59.346961"
23819
- }
23820
- },
23821
- "Webhook": {
23822
- "required": [
23823
- "id",
23824
- "created",
23825
- "updated"
23826
- ],
23827
- "type": "object",
23828
- "properties": {
23829
- "id": {
23830
- "type": "integer",
23831
- "description": "ID of the webhook"
23832
24008
  },
23833
- "created": {
24009
+ "next_try": {
23834
24010
  "type": "string",
23835
- "description": "Date of the webhook creation",
24011
+ "description": "If fail, the date represents the next try to connect",
23836
24012
  "format": "date-time"
23837
24013
  },
23838
- "updated": {
24014
+ "error": {
23839
24015
  "type": "string",
23840
- "description": "Date of the webhook last update",
23841
- "format": "date-time"
24016
+ "description": "If fail, contains the error code"
23842
24017
  },
23843
- "deleted": {
24018
+ "error_message": {
23844
24019
  "type": "string",
23845
- "description": "Date of the webhook deletion",
23846
- "format": "date-time"
24020
+ "description": "If fail, error message received from connector"
23847
24021
  },
23848
- "id_service": {
24022
+ "statut": {
23849
24023
  "type": "integer",
23850
- "description": "ID of the service"
24024
+ "description": "Status of user (1 = charged user)"
24025
+ },
24026
+ "nb_accounts": {
24027
+ "type": "integer",
24028
+ "description": "In case of bank connection, number of accounts"
24029
+ },
24030
+ "start": {
24031
+ "type": "string",
24032
+ "description": "Timestamp when the synchronization has started",
24033
+ "format": "date-time"
24034
+ },
24035
+ "worker": {
24036
+ "type": "string",
24037
+ "description": "Worker used to do synchronization"
24038
+ },
24039
+ "session_folder_id": {
24040
+ "type": "string",
24041
+ "description": "Session folder uid"
24042
+ },
24043
+ "fields": {
24044
+ "type": "string",
24045
+ "description": "Fields for connection in additionalInformationNeeded state with background option"
24046
+ }
24047
+ },
24048
+ "example": {
24049
+ "id": 0,
24050
+ "id_user": 0,
24051
+ "id_connection": 0,
24052
+ "id_connector": 0,
24053
+ "id_source": 0,
24054
+ "login": "",
24055
+ "error_uid": "",
24056
+ "timestamp": "CURRENT_TIMESTAMP",
24057
+ "next_try": "2019-08-02 17:21:59.374222",
24058
+ "error": "",
24059
+ "error_message": "",
24060
+ "statut": 0,
24061
+ "nb_accounts": 0,
24062
+ "start": "2019-08-02 17:21:59.374490",
24063
+ "worker": "",
24064
+ "session_folder_id": ""
24065
+ }
24066
+ },
24067
+ "Webhook": {
24068
+ "required": [
24069
+ "id",
24070
+ "created",
24071
+ "updated"
24072
+ ],
24073
+ "type": "object",
24074
+ "properties": {
24075
+ "id": {
24076
+ "type": "integer",
24077
+ "description": "ID of the webhook"
24078
+ },
24079
+ "created": {
24080
+ "type": "string",
24081
+ "description": "Date of the webhook creation",
24082
+ "format": "date-time"
24083
+ },
24084
+ "updated": {
24085
+ "type": "string",
24086
+ "description": "Date of the webhook last update",
24087
+ "format": "date-time"
24088
+ },
24089
+ "deleted": {
24090
+ "type": "string",
24091
+ "description": "Date of the webhook deletion",
24092
+ "format": "date-time"
24093
+ },
24094
+ "id_service": {
24095
+ "type": "integer",
24096
+ "description": "ID of the service"
23851
24097
  },
23852
24098
  "id_user": {
23853
24099
  "type": "integer",
@@ -23995,250 +24241,223 @@
23995
24241
  "next_try": "2019-08-02 17:21:59.353228"
23996
24242
  }
23997
24243
  },
23998
- "DocumentType": {
24244
+ "TermsOfService": {
23999
24245
  "required": [
24000
24246
  "id",
24001
- "name",
24002
- "attacheable"
24247
+ "version",
24248
+ "created"
24003
24249
  ],
24004
24250
  "type": "object",
24005
24251
  "properties": {
24006
24252
  "id": {
24007
24253
  "type": "integer"
24008
24254
  },
24009
- "name": {
24010
- "type": "string"
24011
- },
24012
- "attacheable": {
24013
- "default": true,
24014
- "type": "boolean"
24015
- }
24016
- },
24017
- "example": {
24018
- "id": 0,
24019
- "name": "",
24020
- "attacheable": true
24021
- }
24022
- },
24023
- "HashTable": {
24024
- "required": [
24025
- "wording",
24026
- "income",
24027
- "display",
24028
- "nature"
24029
- ],
24030
- "type": "object",
24031
- "properties": {
24032
- "wording": {
24255
+ "version": {
24033
24256
  "type": "string"
24034
24257
  },
24035
- "income": {
24036
- "type": "boolean"
24258
+ "id_file": {
24259
+ "type": "integer"
24037
24260
  },
24038
- "display": {
24039
- "default": true,
24040
- "type": "boolean"
24261
+ "created": {
24262
+ "type": "string",
24263
+ "format": "date-time"
24041
24264
  },
24042
- "nature": {
24043
- "type": "string"
24265
+ "deleted": {
24266
+ "type": "string",
24267
+ "format": "date-time"
24044
24268
  }
24045
24269
  },
24046
24270
  "example": {
24047
- "wording": "",
24048
- "income": false,
24049
- "display": true,
24050
- "nature": ""
24271
+ "id": 0,
24272
+ "version": "",
24273
+ "id_file": 0,
24274
+ "created": "2019-03-12 13:08:00.680453",
24275
+ "deleted": "2019-03-12 13:08:00.680558"
24051
24276
  }
24052
24277
  },
24053
- "Connection": {
24278
+ "Category": {
24054
24279
  "required": [
24055
24280
  "id",
24056
- "id_connector",
24057
- "active"
24281
+ "id_parent_category",
24282
+ "name",
24283
+ "color",
24284
+ "id_parent_category_in_menu",
24285
+ "refundable"
24058
24286
  ],
24059
24287
  "type": "object",
24060
24288
  "properties": {
24061
24289
  "id": {
24062
24290
  "type": "integer",
24063
- "description": "ID of connection"
24064
- },
24065
- "id_user": {
24066
- "type": "integer",
24067
- "description": "ID of the related user"
24291
+ "description": "ID of the category"
24068
24292
  },
24069
- "id_connector": {
24293
+ "id_parent_category": {
24070
24294
  "type": "integer",
24071
- "description": "ID of the related connector"
24295
+ "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
24072
24296
  },
24073
- "last_update": {
24297
+ "name": {
24074
24298
  "type": "string",
24075
- "description": "Last successful update",
24076
- "format": "date-time"
24299
+ "description": "Name of the category"
24077
24300
  },
24078
- "created": {
24079
- "default": "<function <lambda> at 0x7f8894ce1aa0>",
24080
- "type": "string",
24081
- "description": "Creation date",
24082
- "format": "date-time"
24301
+ "income": {
24302
+ "type": "boolean",
24303
+ "description": "Is an income category. If null, this is both an income and an expense category"
24083
24304
  },
24084
- "error": {
24305
+ "color": {
24085
24306
  "type": "string",
24086
- "description": "If the last update has failed, the error code"
24307
+ "description": "Color of the category"
24087
24308
  },
24088
- "error_message": {
24089
- "type": "string",
24090
- "description": "If fail, error message received from connector"
24309
+ "id_parent_category_in_menu": {
24310
+ "type": "integer",
24311
+ "description": "ID of the parent category to be displayed"
24091
24312
  },
24092
- "expire": {
24313
+ "name_displayed": {
24093
24314
  "type": "string",
24094
- "description": "Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort",
24095
- "format": "date-time"
24315
+ "description": "Displayed name, with HTML tags"
24096
24316
  },
24097
- "active": {
24098
- "default": true,
24317
+ "refundable": {
24099
24318
  "type": "boolean",
24100
- "description": "This connection is active and will be automatically synced"
24101
- },
24102
- "last_push": {
24103
- "type": "string",
24104
- "description": "Last successful push",
24105
- "format": "date-time"
24106
- },
24107
- "next_try": {
24108
- "type": "string",
24109
- "description": "Date of next synchronization",
24110
- "format": "date-time"
24111
- },
24112
- "accounts": {
24113
- "type": "array",
24114
- "items": {
24115
- "$ref": "#/definitions/Account"
24116
- }
24117
- },
24118
- "subscriptions": {
24119
- "type": "array",
24120
- "items": {
24121
- "$ref": "#/definitions/Subscription"
24122
- }
24319
+ "description": "This category accepts opposite sign of transactions"
24123
24320
  },
24124
- "connection": {
24125
- "$ref": "#/definitions/Connection"
24321
+ "id_user": {
24322
+ "type": "integer",
24323
+ "description": "If not null, this category is specific to a user"
24126
24324
  },
24127
- "message": {
24128
- "type": "string"
24325
+ "id_logo": {
24326
+ "type": "integer",
24327
+ "description": "ID of the logo"
24129
24328
  }
24130
24329
  },
24131
24330
  "example": {
24132
24331
  "id": 0,
24332
+ "id_parent_category": 0,
24333
+ "name": "",
24334
+ "income": false,
24335
+ "color": "",
24336
+ "id_parent_category_in_menu": 0,
24337
+ "name_displayed": "",
24338
+ "refundable": false,
24133
24339
  "id_user": 0,
24134
- "id_connector": 0,
24135
- "last_update": "2019-08-02 17:21:59.365076",
24136
- "created": "<function <lambda> at 0x7f8894ce1aa0>",
24137
- "error": "",
24138
- "expire": "2019-08-02 17:21:59.365257",
24139
- "active": true,
24140
- "last_push": "2019-08-02 17:21:59.365378",
24141
- "next_try": "2019-08-02 17:21:59.365554"
24340
+ "id_logo": 0
24142
24341
  }
24143
24342
  },
24144
- "ConnectionLog": {
24343
+ "Client": {
24145
24344
  "required": [
24146
24345
  "id",
24147
- "id_connection",
24148
- "timestamp"
24346
+ "name",
24347
+ "secret",
24348
+ "redirect_uris",
24349
+ "pro"
24149
24350
  ],
24150
24351
  "type": "object",
24151
24352
  "properties": {
24152
24353
  "id": {
24153
- "type": "integer",
24154
- "description": "ID of the log"
24354
+ "type": "integer"
24155
24355
  },
24156
- "id_user": {
24157
- "type": "integer",
24158
- "description": "ID of the user"
24356
+ "name": {
24357
+ "default": "",
24358
+ "type": "string"
24159
24359
  },
24160
- "id_connection": {
24161
- "type": "integer",
24162
- "description": "ID of the connection"
24360
+ "secret": {
24361
+ "type": "string"
24163
24362
  },
24164
- "id_connector": {
24165
- "type": "integer",
24166
- "description": "ID of the connector"
24363
+ "public_key": {
24364
+ "type": "string"
24167
24365
  },
24168
- "id_source": {
24169
- "type": "integer",
24170
- "description": "ID of the related connection source"
24171
- },
24172
- "login": {
24173
- "type": "string",
24174
- "description": "bcrypt hash of the login"
24366
+ "private_key": {
24367
+ "type": "string"
24175
24368
  },
24176
- "error_uid": {
24177
- "type": "string",
24178
- "description": "MD5 hash of the exception backtrace"
24369
+ "redirect_uris": {
24370
+ "default": "",
24371
+ "type": "string"
24179
24372
  },
24180
- "timestamp": {
24181
- "default": "CURRENT_TIMESTAMP",
24182
- "type": "string",
24183
- "description": "Timestamp of log, when the synchronization has finished",
24184
- "format": "date-time"
24373
+ "pro": {
24374
+ "default": false,
24375
+ "type": "boolean",
24376
+ "description": "Should the client display the company manager page."
24185
24377
  },
24186
- "next_try": {
24187
- "type": "string",
24188
- "description": "If fail, the date represents the next try to connect",
24189
- "format": "date-time"
24378
+ "id_logo": {
24379
+ "type": "integer"
24190
24380
  },
24191
- "error": {
24381
+ "config": {
24192
24382
  "type": "string",
24193
- "description": "If fail, contains the error code"
24383
+ "description": "customizable config"
24384
+ }
24385
+ },
24386
+ "example": {
24387
+ "id": 0,
24388
+ "name": "",
24389
+ "secret": "",
24390
+ "public_key": "",
24391
+ "private_key": "",
24392
+ "redirect_uris": "",
24393
+ "pro": false,
24394
+ "id_logo": 0
24395
+ }
24396
+ },
24397
+ "File": {
24398
+ "required": [
24399
+ "id",
24400
+ "content_type",
24401
+ "filename",
24402
+ "file_size"
24403
+ ],
24404
+ "type": "object",
24405
+ "properties": {
24406
+ "id": {
24407
+ "type": "integer"
24194
24408
  },
24195
- "error_message": {
24196
- "type": "string",
24197
- "description": "If fail, error message received from connector"
24409
+ "content_type": {
24410
+ "type": "string"
24198
24411
  },
24199
- "statut": {
24200
- "type": "integer",
24201
- "description": "Status of user (1 = charged user)"
24412
+ "filename": {
24413
+ "type": "string"
24202
24414
  },
24203
- "nb_accounts": {
24415
+ "file_size": {
24416
+ "type": "integer"
24417
+ }
24418
+ },
24419
+ "example": {
24420
+ "id": 0,
24421
+ "content_type": "",
24422
+ "filename": "",
24423
+ "file_size": 0
24424
+ }
24425
+ },
24426
+ "Security": {
24427
+ "required": [
24428
+ "id",
24429
+ "name"
24430
+ ],
24431
+ "type": "object",
24432
+ "properties": {
24433
+ "id": {
24204
24434
  "type": "integer",
24205
- "description": "In case of bank connection, number of accounts"
24435
+ "description": "ID of the security"
24206
24436
  },
24207
- "start": {
24437
+ "code": {
24208
24438
  "type": "string",
24209
- "description": "Timestamp when the synchronization has started",
24210
- "format": "date-time"
24439
+ "description": "ISIN code of the security"
24211
24440
  },
24212
- "worker": {
24441
+ "name": {
24213
24442
  "type": "string",
24214
- "description": "Worker used to do synchronization"
24443
+ "description": "Name of the security"
24215
24444
  },
24216
- "session_folder_id": {
24217
- "type": "string",
24218
- "description": "Session folder uid"
24445
+ "id_type": {
24446
+ "type": "integer",
24447
+ "description": "ID of the security type"
24219
24448
  },
24220
- "fields": {
24449
+ "last_update": {
24221
24450
  "type": "string",
24222
- "description": "Fields for connection in additionalInformationNeeded state with background option"
24451
+ "description": "Last update of the security",
24452
+ "format": "date-time"
24223
24453
  }
24224
24454
  },
24225
24455
  "example": {
24226
24456
  "id": 0,
24227
- "id_user": 0,
24228
- "id_connection": 0,
24229
- "id_connector": 0,
24230
- "id_source": 0,
24231
- "login": "",
24232
- "error_uid": "",
24233
- "timestamp": "CURRENT_TIMESTAMP",
24234
- "next_try": "2019-08-02 17:21:59.374222",
24235
- "error": "",
24236
- "error_message": "",
24237
- "statut": 0,
24238
- "nb_accounts": 0,
24239
- "start": "2019-08-02 17:21:59.374490",
24240
- "worker": "",
24241
- "session_folder_id": ""
24457
+ "code": "",
24458
+ "name": "",
24459
+ "id_type": 0,
24460
+ "last_update": "2019-08-02 17:21:59.346961"
24242
24461
  }
24243
24462
  },
24244
24463
  "Transfer": {
@@ -24416,422 +24635,285 @@
24416
24635
  "refund_value": 0
24417
24636
  }
24418
24637
  },
24419
- "Certificate": {
24638
+ "OidcWhitelist": {
24420
24639
  "required": [
24421
24640
  "id",
24422
- "id_public_key_file",
24423
- "id_private_key_file",
24424
- "type",
24425
- "created"
24641
+ "redirect_uri"
24426
24642
  ],
24427
24643
  "type": "object",
24428
24644
  "properties": {
24429
24645
  "id": {
24430
24646
  "type": "integer"
24431
24647
  },
24432
- "id_public_key_file": {
24433
- "type": "integer"
24434
- },
24435
- "id_private_key_file": {
24436
- "type": "integer"
24437
- },
24438
- "type": {
24439
- "type": "string"
24440
- },
24441
- "created": {
24648
+ "redirect_uri": {
24442
24649
  "type": "string",
24443
- "format": "date-time"
24650
+ "description": "authorized redirect uri"
24444
24651
  }
24445
24652
  },
24446
24653
  "example": {
24447
24654
  "id": 0,
24448
- "id_public_key_file": 0,
24449
- "id_private_key_file": 0,
24450
- "type": "",
24451
- "created": "2019-12-27 16:17:55.226500"
24655
+ "redirect_uri": ""
24452
24656
  }
24453
24657
  },
24454
- "ProjectType": {
24658
+ "HashTable": {
24455
24659
  "required": [
24456
- "id",
24457
- "name"
24660
+ "wording",
24661
+ "income",
24662
+ "display",
24663
+ "nature"
24458
24664
  ],
24459
24665
  "type": "object",
24460
24666
  "properties": {
24461
- "id": {
24462
- "type": "integer"
24463
- },
24464
- "name": {
24667
+ "wording": {
24465
24668
  "type": "string"
24466
24669
  },
24467
- "icon_url": {
24670
+ "income": {
24671
+ "type": "boolean"
24672
+ },
24673
+ "display": {
24674
+ "default": true,
24675
+ "type": "boolean"
24676
+ },
24677
+ "nature": {
24468
24678
  "type": "string"
24469
24679
  }
24470
24680
  },
24471
24681
  "example": {
24472
- "id": 0,
24473
- "name": "",
24474
- "icon_url": ""
24682
+ "wording": "",
24683
+ "income": false,
24684
+ "display": true,
24685
+ "nature": ""
24475
24686
  }
24476
24687
  },
24477
- "Access": {
24688
+ "Certificate": {
24478
24689
  "required": [
24479
24690
  "id",
24480
- "id_profile"
24691
+ "id_public_key_file",
24692
+ "id_private_key_file",
24693
+ "type",
24694
+ "created"
24481
24695
  ],
24482
24696
  "type": "object",
24483
24697
  "properties": {
24484
24698
  "id": {
24485
24699
  "type": "integer"
24486
24700
  },
24487
- "id_user": {
24488
- "type": "integer"
24489
- },
24490
- "id_profile": {
24701
+ "id_public_key_file": {
24491
24702
  "type": "integer"
24492
24703
  },
24493
- "id_role": {
24704
+ "id_private_key_file": {
24494
24705
  "type": "integer"
24495
24706
  },
24496
- "email": {
24707
+ "type": {
24497
24708
  "type": "string"
24709
+ },
24710
+ "created": {
24711
+ "type": "string",
24712
+ "format": "date-time"
24498
24713
  }
24499
24714
  },
24500
24715
  "example": {
24501
24716
  "id": 0,
24502
- "id_user": 0,
24503
- "id_profile": 0,
24504
- "id_role": 0,
24505
- "email": ""
24717
+ "id_public_key_file": 0,
24718
+ "id_private_key_file": 0,
24719
+ "type": "",
24720
+ "created": "2019-12-27 16:17:55.226500"
24506
24721
  }
24507
24722
  },
24508
- "Profile": {
24723
+ "Document": {
24509
24724
  "required": [
24510
24725
  "id",
24511
24726
  "id_user",
24512
- "role",
24513
- "email",
24514
- "statut",
24515
- "admin"
24727
+ "timestamp",
24728
+ "readonly",
24729
+ "has_file_on_website"
24516
24730
  ],
24517
24731
  "type": "object",
24518
24732
  "properties": {
24519
24733
  "id": {
24520
24734
  "type": "integer"
24521
24735
  },
24522
- "id_user": {
24736
+ "id_type": {
24523
24737
  "type": "integer"
24524
24738
  },
24525
- "role": {
24526
- "default": "admin",
24527
- "enum": [
24528
- "admin",
24529
- "ser"
24530
- ],
24531
- "type": "string"
24739
+ "id_category": {
24740
+ "type": "integer"
24532
24741
  },
24533
- "email": {
24534
- "type": "string"
24742
+ "id_user": {
24743
+ "type": "integer"
24535
24744
  },
24536
- "statut": {
24537
- "default": 0,
24745
+ "id_subscription": {
24538
24746
  "type": "integer"
24539
24747
  },
24540
- "admin": {
24541
- "default": false,
24542
- "type": "boolean"
24748
+ "id_file": {
24749
+ "type": "integer"
24543
24750
  },
24544
- "conf": {
24545
- "type": "string"
24751
+ "id_thumbnail": {
24752
+ "type": "integer"
24546
24753
  },
24547
- "lang": {
24754
+ "name": {
24548
24755
  "type": "string"
24549
- }
24550
- },
24551
- "example": {
24552
- "id": 0,
24553
- "id_user": 0,
24554
- "role": "admin",
24555
- "statut": 0,
24556
- "admin": false,
24557
- "conf": "",
24558
- "lang": ""
24559
- }
24560
- },
24561
- "TransactionsCluster": {
24562
- "required": [
24563
- "id",
24564
- "id_account",
24565
- "mean_amount",
24566
- "enabled",
24567
- "wording"
24568
- ],
24569
- "type": "object",
24570
- "properties": {
24571
- "id": {
24572
- "type": "integer"
24573
24756
  },
24574
- "id_account": {
24575
- "type": "integer"
24576
- },
24577
- "mean_amount": {
24578
- "type": "number",
24579
- "format": "float"
24580
- },
24581
- "median_increment": {
24582
- "type": "integer"
24757
+ "timestamp": {
24758
+ "default": "CURRENT_TIMESTAMP",
24759
+ "type": "string",
24760
+ "format": "date-time"
24583
24761
  },
24584
- "enabled": {
24585
- "default": true,
24586
- "type": "boolean"
24762
+ "date": {
24763
+ "type": "string",
24764
+ "format": "date-time"
24587
24765
  },
24588
- "next_date": {
24766
+ "duedate": {
24589
24767
  "type": "string",
24590
24768
  "format": "date"
24591
24769
  },
24592
- "wording": {
24593
- "type": "string"
24594
- },
24595
- "id_category": {
24596
- "type": "integer"
24597
- },
24598
- "created_by": {
24599
- "type": "string"
24600
- }
24601
- },
24602
- "example": {
24603
- "id": 0,
24604
- "id_account": 0,
24605
- "mean_amount": 0,
24606
- "median_increment": 0,
24607
- "enabled": true,
24608
- "next_date": "2019-08-02",
24609
- "wording": "",
24610
- "id_category": 0,
24611
- "created_by": ""
24612
- }
24613
- },
24614
- "UserAlert": {
24615
- "description": "/!\\ Careful we use default value from database if present\n\n For more information see AlertsPlugin.init",
24616
- "required": [
24617
- "id",
24618
- "value_type",
24619
- "type",
24620
- "resume_frequency"
24621
- ],
24622
- "type": "object",
24623
- "properties": {
24624
- "id": {
24625
- "type": "integer"
24626
- },
24627
- "income_max": {
24628
- "default": 500,
24629
- "type": "number",
24630
- "format": "float"
24631
- },
24632
- "expense_max": {
24633
- "default": 500,
24634
- "type": "number",
24635
- "format": "float"
24636
- },
24637
- "balance_min1": {
24638
- "default": 500,
24770
+ "total_amount": {
24639
24771
  "type": "number",
24640
24772
  "format": "float"
24641
24773
  },
24642
- "balance_min2": {
24643
- "default": 0,
24774
+ "untaxed_amount": {
24644
24775
  "type": "number",
24645
24776
  "format": "float"
24646
24777
  },
24647
- "balance_max": {
24648
- "default": 10000,
24778
+ "vat": {
24649
24779
  "type": "number",
24650
24780
  "format": "float"
24651
24781
  },
24652
- "resume_enabled": {
24782
+ "income": {
24653
24783
  "default": true,
24654
24784
  "type": "boolean"
24655
24785
  },
24656
- "enabled": {
24786
+ "readonly": {
24657
24787
  "default": true,
24658
24788
  "type": "boolean"
24659
24789
  },
24660
- "value_type": {
24661
- "default": "flat",
24662
- "type": "string"
24663
- },
24664
- "type": {
24665
- "default": "transactions",
24790
+ "number": {
24666
24791
  "type": "string"
24667
24792
  },
24668
- "transaction_types": {
24793
+ "issuer": {
24669
24794
  "type": "string"
24670
24795
  },
24671
- "date_range": {
24672
- "type": "integer"
24796
+ "last_update": {
24797
+ "type": "string",
24798
+ "description": "Last successful update of the document",
24799
+ "format": "date-time"
24673
24800
  },
24674
- "apply": {
24675
- "type": "string"
24801
+ "has_file_on_website": {
24802
+ "default": true,
24803
+ "type": "boolean",
24804
+ "description": "Boolean to set if file is available on website"
24676
24805
  },
24677
- "resume_frequency": {
24678
- "default": 7,
24679
- "type": "integer"
24806
+ "currency": {
24807
+ "type": "object",
24808
+ "description": "Document currency"
24680
24809
  }
24681
24810
  },
24682
24811
  "example": {
24683
24812
  "id": 0,
24684
- "income_max": 500,
24685
- "expense_max": 500,
24686
- "balance_min1": 500,
24687
- "balance_min2": 0,
24688
- "balance_max": 10000,
24689
- "resume_enabled": true,
24690
- "enabled": true,
24691
- "value_type": "flat",
24692
- "type": "transactions",
24693
- "transaction_types": "",
24694
- "date_range": 0,
24695
- "apply": "",
24696
- "resume_frequency": 7
24813
+ "id_type": 0,
24814
+ "id_category": 0,
24815
+ "id_user": 0,
24816
+ "id_subscription": 0,
24817
+ "id_file": 0,
24818
+ "id_thumbnail": 0,
24819
+ "name": "",
24820
+ "timestamp": "CURRENT_TIMESTAMP",
24821
+ "date": "2019-08-02 17:21:59.435173",
24822
+ "duedate": "2019-08-02",
24823
+ "total_amount": 0,
24824
+ "untaxed_amount": 0,
24825
+ "vat": 0,
24826
+ "income": true,
24827
+ "readonly": true,
24828
+ "number": "",
24829
+ "issuer": "",
24830
+ "last_update": "2019-08-02 17:21:59.435734",
24831
+ "has_file_on_website": true,
24832
+ "currency": ""
24697
24833
  }
24698
24834
  },
24699
- "AccountType": {
24835
+ "TransferLog": {
24700
24836
  "required": [
24701
24837
  "id",
24702
- "name",
24703
- "is_invest",
24704
- "weboob_type_id",
24705
- "display_name_p",
24706
- "display_name"
24838
+ "timestamp"
24707
24839
  ],
24708
24840
  "type": "object",
24709
24841
  "properties": {
24710
24842
  "id": {
24711
24843
  "type": "integer",
24712
- "description": "ID of the account type"
24713
- },
24714
- "name": {
24715
- "type": "string",
24716
- "description": "Name of the account type"
24844
+ "description": "ID of the transfer log entry"
24717
24845
  },
24718
- "is_invest": {
24719
- "default": false,
24720
- "type": "boolean",
24721
- "description": "Is it an investment account"
24846
+ "id_transfer": {
24847
+ "type": "integer",
24848
+ "description": "ID of the related transfer"
24722
24849
  },
24723
- "weboob_type_id": {
24850
+ "id_file": {
24724
24851
  "type": "integer",
24725
- "description": "Map to the weboob_type_id"
24852
+ "description": "ID of the related file"
24726
24853
  },
24727
- "display_name_p": {
24854
+ "request_data": {
24728
24855
  "type": "string",
24729
- "description": "Name to display in plurial"
24856
+ "description": "Data stored related to user who has requested the transfer"
24730
24857
  },
24731
- "display_name": {
24858
+ "state": {
24732
24859
  "type": "string",
24733
- "description": "Name to display in singular"
24860
+ "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
24734
24861
  },
24735
- "color": {
24862
+ "error": {
24736
24863
  "type": "string",
24737
- "description": "Color of the account type (hexdecimal)"
24864
+ "description": "Error message during transfer, if any"
24738
24865
  },
24739
- "id_parent": {
24740
- "type": "integer",
24741
- "description": "Id of the parent type"
24866
+ "timestamp": {
24867
+ "default": "CURRENT_TIMESTAMP",
24868
+ "type": "string",
24869
+ "description": "Timestamp of the log",
24870
+ "format": "date-time"
24871
+ },
24872
+ "fields": {
24873
+ "type": "string",
24874
+ "description": "Fields for transfer in additionalInformationNeeded state with background option"
24742
24875
  }
24743
24876
  },
24744
24877
  "example": {
24745
24878
  "id": 0,
24746
- "name": "",
24747
- "is_invest": false,
24748
- "weboob_type_id": 0,
24749
- "display_name_p": "",
24750
- "display_name": "",
24751
- "color": "",
24752
- "id_parent": 0
24879
+ "id_transfer": 0,
24880
+ "id_file": 0,
24881
+ "request_data": "",
24882
+ "state": "",
24883
+ "error": "",
24884
+ "timestamp": "CURRENT_TIMESTAMP"
24753
24885
  }
24754
24886
  },
24755
- "Subscription": {
24887
+ "TransactionInformation": {
24756
24888
  "required": [
24757
24889
  "id",
24758
- "number",
24759
- "label"
24890
+ "id_transaction",
24891
+ "key"
24760
24892
  ],
24761
24893
  "type": "object",
24762
24894
  "properties": {
24763
24895
  "id": {
24764
24896
  "type": "integer",
24765
- "description": "ID of subscription"
24766
- },
24767
- "id_connection": {
24768
- "type": "integer",
24769
- "description": "ID of related connection"
24770
- },
24771
- "id_user": {
24772
- "type": "integer",
24773
- "description": "ID of related user"
24897
+ "description": "ID of this transaction information"
24774
24898
  },
24775
- "id_source": {
24899
+ "id_transaction": {
24776
24900
  "type": "integer",
24777
- "description": "ID of the related connection source"
24778
- },
24779
- "number": {
24780
- "type": "string",
24781
- "description": "Subscription's number"
24782
- },
24783
- "label": {
24784
- "type": "string",
24785
- "description": "Label of the subscription"
24786
- },
24787
- "subscriber": {
24788
- "type": "string",
24789
- "description": "Name of the subscriber"
24901
+ "description": "ID of the related transaction"
24790
24902
  },
24791
- "validity": {
24903
+ "key": {
24792
24904
  "type": "string",
24793
- "description": "The subscription is valid until this date, if any",
24794
- "format": "date"
24905
+ "description": "Key of the transaction information"
24795
24906
  },
24796
- "renewdate": {
24907
+ "value": {
24797
24908
  "type": "string",
24798
- "description": "Next renew date, if any",
24799
- "format": "date"
24800
- },
24801
- "last_update": {
24802
- "type": "string",
24803
- "description": "Last successful update of the subscription",
24804
- "format": "date-time"
24805
- },
24806
- "deleted": {
24807
- "type": "string",
24808
- "description": "This subscription is not found on the website anymore",
24809
- "format": "date-time"
24810
- },
24811
- "disabled": {
24812
- "type": "string",
24813
- "description": "This subscription has been deleted by user and will not be synchronized anymore",
24814
- "format": "date-time"
24815
- },
24816
- "error": {
24817
- "type": "string",
24818
- "description": "If the last update has failed, the error code"
24909
+ "description": "Value of the transaction information"
24819
24910
  }
24820
24911
  },
24821
24912
  "example": {
24822
24913
  "id": 0,
24823
- "id_connection": 0,
24824
- "id_user": 0,
24825
- "id_source": 0,
24826
- "number": "",
24827
- "label": "",
24828
- "subscriber": "",
24829
- "validity": "2019-08-02",
24830
- "renewdate": "2019-08-02",
24831
- "last_update": "2019-08-02 17:21:59.421714",
24832
- "deleted": "2019-08-02 17:21:59.421772",
24833
- "disabled": "2019-08-02 17:21:59.421828",
24834
- "error": ""
24914
+ "id_transaction": 0,
24915
+ "key": "",
24916
+ "value": ""
24835
24917
  }
24836
24918
  },
24837
24919
  "Transaction": {
@@ -24987,45 +25069,406 @@
24987
25069
  "type": "string",
24988
25070
  "description": "Original country"
24989
25071
  },
24990
- "counterparty": {
24991
- "type": "string",
24992
- "description": "Counterparty"
25072
+ "counterparty": {
25073
+ "type": "string",
25074
+ "description": "Counterparty"
25075
+ },
25076
+ "card": {
25077
+ "type": "string",
25078
+ "description": "Card number associated to the transaction"
25079
+ }
25080
+ },
25081
+ "example": {
25082
+ "id": 0,
25083
+ "id_account": 0,
25084
+ "webid": "",
25085
+ "application_date": "2019-08-02",
25086
+ "date": "2019-08-02",
25087
+ "value": 0,
25088
+ "gross_value": 0,
25089
+ "nature": "inconnu",
25090
+ "wording": "",
25091
+ "id_category": 0,
25092
+ "state": "new",
25093
+ "date_scraped": "2019-08-02 17:21:59.425220",
25094
+ "rdate": "2019-08-02",
25095
+ "vdate": "2019-08-02",
25096
+ "bdate": "2019-08-02",
25097
+ "coming": false,
25098
+ "active": true,
25099
+ "id_cluster": 0,
25100
+ "comment": "",
25101
+ "last_update": "2019-08-02 17:21:59.425674",
25102
+ "deleted": "2019-08-02 17:21:59.425732",
25103
+ "original_value": 0,
25104
+ "original_gross_value": 0,
25105
+ "original_currency": "",
25106
+ "commission": 0,
25107
+ "commission_currency": "",
25108
+ "country": "",
25109
+ "counterparty": "",
25110
+ "card": ""
25111
+ }
25112
+ },
25113
+ "InvestmentValue": {
25114
+ "required": [
25115
+ "id",
25116
+ "id_investment",
25117
+ "vdate",
25118
+ "unitvalue"
25119
+ ],
25120
+ "type": "object",
25121
+ "properties": {
25122
+ "id": {
25123
+ "type": "integer",
25124
+ "description": "ID of the value"
25125
+ },
25126
+ "id_investment": {
25127
+ "type": "integer",
25128
+ "description": "ID of the related investment"
25129
+ },
25130
+ "vdate": {
25131
+ "type": "string",
25132
+ "description": "Date of this value",
25133
+ "format": "date"
25134
+ },
25135
+ "unitvalue": {
25136
+ "type": "number",
25137
+ "description": "Value on this date",
25138
+ "format": "float"
25139
+ },
25140
+ "original_currency": {
25141
+ "type": "object",
25142
+ "description": "Original currency"
25143
+ },
25144
+ "original_unitvalue": {
25145
+ "type": "number",
25146
+ "description": "Value on this date, in the original currency",
25147
+ "format": "float"
25148
+ }
25149
+ },
25150
+ "example": {
25151
+ "id": 0,
25152
+ "id_investment": 0,
25153
+ "vdate": "2019-08-02",
25154
+ "unitvalue": 0,
25155
+ "original_currency": "",
25156
+ "original_unitvalue": 0
25157
+ }
25158
+ },
25159
+ "Pocket": {
25160
+ "required": [
25161
+ "id",
25162
+ "id_account",
25163
+ "id_investment",
25164
+ "value",
25165
+ "condition"
25166
+ ],
25167
+ "type": "object",
25168
+ "properties": {
25169
+ "id": {
25170
+ "type": "integer",
25171
+ "description": "ID of the pocket"
25172
+ },
25173
+ "id_account": {
25174
+ "type": "integer",
25175
+ "description": "ID of the related account"
25176
+ },
25177
+ "id_investment": {
25178
+ "type": "integer",
25179
+ "description": "ID of the related investment"
25180
+ },
25181
+ "label": {
25182
+ "type": "string",
25183
+ "description": "Label of the pocket"
25184
+ },
25185
+ "value": {
25186
+ "type": "number",
25187
+ "description": "Value of the pocket",
25188
+ "format": "float"
25189
+ },
25190
+ "quantity": {
25191
+ "default": 0,
25192
+ "type": "number",
25193
+ "description": "Quantity of stocks",
25194
+ "format": "float"
25195
+ },
25196
+ "availability_date": {
25197
+ "type": "string",
25198
+ "description": "Availability date of the pocket",
25199
+ "format": "date"
25200
+ },
25201
+ "condition": {
25202
+ "default": "inconnu",
25203
+ "type": "string",
25204
+ "description": "Withdrawal condition of the pocket"
25205
+ },
25206
+ "last_update": {
25207
+ "type": "string",
25208
+ "description": "Last update of the pocket",
25209
+ "format": "date-time"
25210
+ },
25211
+ "deleted": {
25212
+ "type": "string",
25213
+ "description": "If set, this pocket has been removed from the website",
25214
+ "format": "date-time"
25215
+ }
25216
+ },
25217
+ "example": {
25218
+ "id": 0,
25219
+ "id_account": 0,
25220
+ "id_investment": 0,
25221
+ "label": "",
25222
+ "value": 0,
25223
+ "quantity": 0,
25224
+ "availability_date": "2019-08-02",
25225
+ "condition": "inconnu",
25226
+ "last_update": "2019-08-02 17:21:59.448433",
25227
+ "deleted": "2019-08-02 17:21:59.448498"
25228
+ }
25229
+ },
25230
+ "RecipientLog": {
25231
+ "required": [
25232
+ "id",
25233
+ "timestamp"
25234
+ ],
25235
+ "type": "object",
25236
+ "properties": {
25237
+ "id": {
25238
+ "type": "integer",
25239
+ "description": "ID of the transfer log entry"
25240
+ },
25241
+ "id_recipient": {
25242
+ "type": "integer",
25243
+ "description": "ID of the related recipient"
25244
+ },
25245
+ "id_file": {
25246
+ "type": "integer",
25247
+ "description": "ID of the related file"
25248
+ },
25249
+ "request_data": {
25250
+ "type": "string",
25251
+ "description": "Data stored related to user who has requested the recipient addition"
25252
+ },
25253
+ "step": {
25254
+ "type": "string",
25255
+ "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
25256
+ },
25257
+ "error": {
25258
+ "type": "string",
25259
+ "description": "Error message during recipient addition, if any"
25260
+ },
25261
+ "timestamp": {
25262
+ "default": "CURRENT_TIMESTAMP",
25263
+ "type": "string",
25264
+ "description": "Timestamp of the log",
25265
+ "format": "date-time"
25266
+ },
25267
+ "fields": {
25268
+ "type": "string",
25269
+ "description": "Fields for recipient in additionalInformationNeeded state with background option"
25270
+ }
25271
+ },
25272
+ "example": {
25273
+ "id": 0,
25274
+ "id_recipient": 0,
25275
+ "id_file": 0,
25276
+ "request_data": "",
25277
+ "step": "",
25278
+ "error": "",
25279
+ "timestamp": "CURRENT_TIMESTAMP"
25280
+ }
25281
+ },
25282
+ "SubscriptionLog": {
25283
+ "required": [
25284
+ "id",
25285
+ "id_subscription",
25286
+ "timestamp"
25287
+ ],
25288
+ "type": "object",
25289
+ "properties": {
25290
+ "id": {
25291
+ "type": "integer",
25292
+ "description": "ID of the log"
25293
+ },
25294
+ "id_subscription": {
25295
+ "type": "integer",
25296
+ "description": "ID of the related subscription"
25297
+ },
25298
+ "timestamp": {
25299
+ "default": "CURRENT_TIMESTAMP",
25300
+ "type": "string",
25301
+ "description": "Timestamp of log",
25302
+ "format": "date-time"
25303
+ },
25304
+ "nb_docs": {
25305
+ "type": "integer",
25306
+ "description": "Number of docs on the subscription"
25307
+ },
25308
+ "id_connection_log": {
25309
+ "type": "integer",
25310
+ "description": "ID of the related connection log"
25311
+ },
25312
+ "error": {
25313
+ "type": "string",
25314
+ "description": "If fail, contains the error code"
25315
+ },
25316
+ "error_message": {
25317
+ "type": "string",
25318
+ "description": "If fail, error message received from provider"
25319
+ },
25320
+ "id_source": {
25321
+ "type": "integer",
25322
+ "description": "ID of the related connection source"
25323
+ }
25324
+ },
25325
+ "example": {
25326
+ "id": 0,
25327
+ "id_subscription": 0,
25328
+ "timestamp": "CURRENT_TIMESTAMP",
25329
+ "nb_docs": 0,
25330
+ "id_connection_log": 0,
25331
+ "error": "",
25332
+ "error_message": "",
25333
+ "id_source": 0
25334
+ }
25335
+ },
25336
+ "TransactionsCluster": {
25337
+ "required": [
25338
+ "id",
25339
+ "id_account",
25340
+ "mean_amount",
25341
+ "enabled",
25342
+ "wording"
25343
+ ],
25344
+ "type": "object",
25345
+ "properties": {
25346
+ "id": {
25347
+ "type": "integer"
25348
+ },
25349
+ "id_account": {
25350
+ "type": "integer"
25351
+ },
25352
+ "mean_amount": {
25353
+ "type": "number",
25354
+ "format": "float"
25355
+ },
25356
+ "median_increment": {
25357
+ "type": "integer"
25358
+ },
25359
+ "enabled": {
25360
+ "default": true,
25361
+ "type": "boolean"
25362
+ },
25363
+ "next_date": {
25364
+ "type": "string",
25365
+ "format": "date"
25366
+ },
25367
+ "wording": {
25368
+ "type": "string"
25369
+ },
25370
+ "id_category": {
25371
+ "type": "integer"
25372
+ },
25373
+ "created_by": {
25374
+ "type": "string"
25375
+ }
25376
+ },
25377
+ "example": {
25378
+ "id": 0,
25379
+ "id_account": 0,
25380
+ "mean_amount": 0,
25381
+ "median_increment": 0,
25382
+ "enabled": true,
25383
+ "next_date": "2019-08-02",
25384
+ "wording": "",
25385
+ "id_category": 0,
25386
+ "created_by": ""
25387
+ }
25388
+ },
25389
+ "UserAlert": {
25390
+ "description": "/!\\ Careful we use default value from database if present\n\n For more information see AlertsPlugin.init",
25391
+ "required": [
25392
+ "id",
25393
+ "value_type",
25394
+ "type",
25395
+ "resume_frequency"
25396
+ ],
25397
+ "type": "object",
25398
+ "properties": {
25399
+ "id": {
25400
+ "type": "integer"
25401
+ },
25402
+ "income_max": {
25403
+ "default": 500,
25404
+ "type": "number",
25405
+ "format": "float"
25406
+ },
25407
+ "expense_max": {
25408
+ "default": 500,
25409
+ "type": "number",
25410
+ "format": "float"
25411
+ },
25412
+ "balance_min1": {
25413
+ "default": 500,
25414
+ "type": "number",
25415
+ "format": "float"
25416
+ },
25417
+ "balance_min2": {
25418
+ "default": 0,
25419
+ "type": "number",
25420
+ "format": "float"
25421
+ },
25422
+ "balance_max": {
25423
+ "default": 10000,
25424
+ "type": "number",
25425
+ "format": "float"
25426
+ },
25427
+ "resume_enabled": {
25428
+ "default": true,
25429
+ "type": "boolean"
25430
+ },
25431
+ "enabled": {
25432
+ "default": true,
25433
+ "type": "boolean"
25434
+ },
25435
+ "value_type": {
25436
+ "default": "flat",
25437
+ "type": "string"
25438
+ },
25439
+ "type": {
25440
+ "default": "transactions",
25441
+ "type": "string"
25442
+ },
25443
+ "transaction_types": {
25444
+ "type": "string"
25445
+ },
25446
+ "date_range": {
25447
+ "type": "integer"
25448
+ },
25449
+ "apply": {
25450
+ "type": "string"
24993
25451
  },
24994
- "card": {
24995
- "type": "string",
24996
- "description": "Card number associated to the transaction"
25452
+ "resume_frequency": {
25453
+ "default": 7,
25454
+ "type": "integer"
24997
25455
  }
24998
25456
  },
24999
25457
  "example": {
25000
25458
  "id": 0,
25001
- "id_account": 0,
25002
- "webid": "",
25003
- "application_date": "2019-08-02",
25004
- "date": "2019-08-02",
25005
- "value": 0,
25006
- "gross_value": 0,
25007
- "nature": "inconnu",
25008
- "wording": "",
25009
- "id_category": 0,
25010
- "state": "new",
25011
- "date_scraped": "2019-08-02 17:21:59.425220",
25012
- "rdate": "2019-08-02",
25013
- "vdate": "2019-08-02",
25014
- "bdate": "2019-08-02",
25015
- "coming": false,
25016
- "active": true,
25017
- "id_cluster": 0,
25018
- "comment": "",
25019
- "last_update": "2019-08-02 17:21:59.425674",
25020
- "deleted": "2019-08-02 17:21:59.425732",
25021
- "original_value": 0,
25022
- "original_gross_value": 0,
25023
- "original_currency": "",
25024
- "commission": 0,
25025
- "commission_currency": "",
25026
- "country": "",
25027
- "counterparty": "",
25028
- "card": ""
25459
+ "income_max": 500,
25460
+ "expense_max": 500,
25461
+ "balance_min1": 500,
25462
+ "balance_min2": 0,
25463
+ "balance_max": 10000,
25464
+ "resume_enabled": true,
25465
+ "enabled": true,
25466
+ "value_type": "flat",
25467
+ "type": "transactions",
25468
+ "transaction_types": "",
25469
+ "date_range": 0,
25470
+ "apply": "",
25471
+ "resume_frequency": 7
25029
25472
  }
25030
25473
  },
25031
25474
  "Investment": {
@@ -25294,116 +25737,180 @@
25294
25737
  "currency": ""
25295
25738
  }
25296
25739
  },
25297
- "Document": {
25740
+ "AccountLog": {
25298
25741
  "required": [
25299
25742
  "id",
25300
- "id_user",
25301
- "timestamp",
25302
- "readonly",
25303
- "has_file_on_website"
25743
+ "id_account",
25744
+ "balance",
25745
+ "timestamp"
25304
25746
  ],
25305
25747
  "type": "object",
25306
25748
  "properties": {
25307
25749
  "id": {
25308
- "type": "integer"
25309
- },
25310
- "id_type": {
25311
- "type": "integer"
25312
- },
25313
- "id_category": {
25314
- "type": "integer"
25315
- },
25316
- "id_user": {
25317
- "type": "integer"
25750
+ "type": "integer",
25751
+ "description": "ID of the log"
25318
25752
  },
25319
- "id_subscription": {
25320
- "type": "integer"
25753
+ "id_account": {
25754
+ "type": "integer",
25755
+ "description": "ID of the related account"
25321
25756
  },
25322
- "id_file": {
25323
- "type": "integer"
25757
+ "id_connector": {
25758
+ "type": "integer",
25759
+ "description": "provider id"
25324
25760
  },
25325
- "id_thumbnail": {
25326
- "type": "integer"
25761
+ "balance": {
25762
+ "type": "number",
25763
+ "description": "Balanced recorded",
25764
+ "format": "float"
25327
25765
  },
25328
- "name": {
25329
- "type": "string"
25766
+ "coming": {
25767
+ "default": 0,
25768
+ "type": "number",
25769
+ "description": "Coming debit recorded",
25770
+ "format": "float"
25330
25771
  },
25331
25772
  "timestamp": {
25332
25773
  "default": "CURRENT_TIMESTAMP",
25333
25774
  "type": "string",
25775
+ "description": "Timestamp of log",
25334
25776
  "format": "date-time"
25335
25777
  },
25336
- "date": {
25778
+ "error": {
25337
25779
  "type": "string",
25338
- "format": "date-time"
25780
+ "description": "If fail, contains the error code"
25339
25781
  },
25340
- "duedate": {
25782
+ "error_message": {
25341
25783
  "type": "string",
25342
- "format": "date"
25784
+ "description": "If fail, error message received from bank or provider"
25343
25785
  },
25344
- "total_amount": {
25345
- "type": "number",
25346
- "format": "float"
25786
+ "id_connection_log": {
25787
+ "type": "integer",
25788
+ "description": "ID of the related connection log"
25789
+ }
25790
+ },
25791
+ "example": {
25792
+ "id": 0,
25793
+ "id_account": 0,
25794
+ "id_connector": 0,
25795
+ "balance": 0,
25796
+ "coming": 0,
25797
+ "timestamp": "CURRENT_TIMESTAMP",
25798
+ "error": "",
25799
+ "error_message": "",
25800
+ "id_connection_log": 0
25801
+ }
25802
+ },
25803
+ "Access": {
25804
+ "required": [
25805
+ "id",
25806
+ "id_profile"
25807
+ ],
25808
+ "type": "object",
25809
+ "properties": {
25810
+ "id": {
25811
+ "type": "integer"
25347
25812
  },
25348
- "untaxed_amount": {
25349
- "type": "number",
25350
- "format": "float"
25813
+ "id_user": {
25814
+ "type": "integer"
25351
25815
  },
25352
- "vat": {
25353
- "type": "number",
25354
- "format": "float"
25816
+ "id_profile": {
25817
+ "type": "integer"
25355
25818
  },
25356
- "income": {
25357
- "default": true,
25358
- "type": "boolean"
25819
+ "id_role": {
25820
+ "type": "integer"
25359
25821
  },
25360
- "readonly": {
25361
- "default": true,
25362
- "type": "boolean"
25822
+ "email": {
25823
+ "type": "string"
25824
+ }
25825
+ },
25826
+ "example": {
25827
+ "id": 0,
25828
+ "id_user": 0,
25829
+ "id_profile": 0,
25830
+ "id_role": 0,
25831
+ "email": ""
25832
+ }
25833
+ },
25834
+ "Subscription": {
25835
+ "required": [
25836
+ "id",
25837
+ "number",
25838
+ "label"
25839
+ ],
25840
+ "type": "object",
25841
+ "properties": {
25842
+ "id": {
25843
+ "type": "integer",
25844
+ "description": "ID of subscription"
25845
+ },
25846
+ "id_connection": {
25847
+ "type": "integer",
25848
+ "description": "ID of related connection"
25849
+ },
25850
+ "id_user": {
25851
+ "type": "integer",
25852
+ "description": "ID of related user"
25853
+ },
25854
+ "id_source": {
25855
+ "type": "integer",
25856
+ "description": "ID of the related connection source"
25363
25857
  },
25364
25858
  "number": {
25365
- "type": "string"
25859
+ "type": "string",
25860
+ "description": "Subscription's number"
25366
25861
  },
25367
- "issuer": {
25368
- "type": "string"
25862
+ "label": {
25863
+ "type": "string",
25864
+ "description": "Label of the subscription"
25865
+ },
25866
+ "subscriber": {
25867
+ "type": "string",
25868
+ "description": "Name of the subscriber"
25869
+ },
25870
+ "validity": {
25871
+ "type": "string",
25872
+ "description": "The subscription is valid until this date, if any",
25873
+ "format": "date"
25874
+ },
25875
+ "renewdate": {
25876
+ "type": "string",
25877
+ "description": "Next renew date, if any",
25878
+ "format": "date"
25369
25879
  },
25370
25880
  "last_update": {
25371
25881
  "type": "string",
25372
- "description": "Last successful update of the document",
25882
+ "description": "Last successful update of the subscription",
25373
25883
  "format": "date-time"
25374
25884
  },
25375
- "has_file_on_website": {
25376
- "default": true,
25377
- "type": "boolean",
25378
- "description": "Boolean to set if file is available on website"
25885
+ "deleted": {
25886
+ "type": "string",
25887
+ "description": "This subscription is not found on the website anymore",
25888
+ "format": "date-time"
25379
25889
  },
25380
- "currency": {
25381
- "type": "object",
25382
- "description": "Document currency"
25890
+ "disabled": {
25891
+ "type": "string",
25892
+ "description": "This subscription has been deleted by user and will not be synchronized anymore",
25893
+ "format": "date-time"
25894
+ },
25895
+ "error": {
25896
+ "type": "string",
25897
+ "description": "If the last update has failed, the error code"
25383
25898
  }
25384
25899
  },
25385
25900
  "example": {
25386
25901
  "id": 0,
25387
- "id_type": 0,
25388
- "id_category": 0,
25902
+ "id_connection": 0,
25389
25903
  "id_user": 0,
25390
- "id_subscription": 0,
25391
- "id_file": 0,
25392
- "id_thumbnail": 0,
25393
- "name": "",
25394
- "timestamp": "CURRENT_TIMESTAMP",
25395
- "date": "2019-08-02 17:21:59.435173",
25396
- "duedate": "2019-08-02",
25397
- "total_amount": 0,
25398
- "untaxed_amount": 0,
25399
- "vat": 0,
25400
- "income": true,
25401
- "readonly": true,
25904
+ "id_source": 0,
25402
25905
  "number": "",
25403
- "issuer": "",
25404
- "last_update": "2019-08-02 17:21:59.435734",
25405
- "has_file_on_website": true,
25406
- "currency": ""
25906
+ "label": "",
25907
+ "subscriber": "",
25908
+ "validity": "2019-08-02",
25909
+ "renewdate": "2019-08-02",
25910
+ "last_update": "2019-08-02 17:21:59.421714",
25911
+ "deleted": "2019-08-02 17:21:59.421772",
25912
+ "disabled": "2019-08-02 17:21:59.421828",
25913
+ "error": ""
25407
25914
  }
25408
25915
  },
25409
25916
  "Account": {
@@ -25516,6 +26023,12 @@
25516
26023
  "$ref": "#/definitions/Transaction"
25517
26024
  }
25518
26025
  },
26026
+ "transfers": {
26027
+ "type": "array",
26028
+ "items": {
26029
+ "$ref": "#/definitions/Transfer"
26030
+ }
26031
+ },
25519
26032
  "error": {
25520
26033
  "type": "string",
25521
26034
  "description": "If the last update has failed, the error code"
@@ -25535,679 +26048,365 @@
25535
26048
  },
25536
26049
  "example": {
25537
26050
  "id": 0,
25538
- "id_connection": 0,
25539
- "id_user": 0,
25540
- "id_source": 0,
25541
- "id_parent": 0,
25542
- "number": "",
25543
- "webid": "",
25544
- "original_name": "",
25545
- "balance": 0,
25546
- "coming": 0,
25547
- "display": true,
25548
- "last_update": "2019-08-02 17:21:59.440223",
25549
- "deleted": "2019-08-02 17:21:59.440285",
25550
- "disabled": "2019-08-02 17:21:59.440342",
25551
- "iban": "",
25552
- "currency": "",
25553
- "id_type": 0,
25554
- "bookmarked": false,
25555
- "name": "",
25556
- "error": "",
25557
- "usage": "",
25558
- "ownership": "",
25559
- "company_name": ""
25560
- }
25561
- },
25562
- "Project": {
25563
- "required": [
25564
- "id",
25565
- "id_user",
25566
- "id_type",
25567
- "name",
25568
- "target",
25569
- "saved",
25570
- "monthly_savings",
25571
- "comment",
25572
- "active"
25573
- ],
25574
- "type": "object",
25575
- "properties": {
25576
- "id": {
25577
- "type": "integer"
25578
- },
25579
- "id_user": {
25580
- "type": "integer"
25581
- },
25582
- "id_type": {
25583
- "type": "integer"
25584
- },
25585
- "name": {
25586
- "type": "string"
25587
- },
25588
- "target": {
25589
- "type": "number",
25590
- "format": "float"
25591
- },
25592
- "saved": {
25593
- "default": 0,
25594
- "type": "number",
25595
- "format": "float"
25596
- },
25597
- "monthly_savings": {
25598
- "type": "number",
25599
- "format": "float"
25600
- },
25601
- "comment": {
25602
- "default": "",
25603
- "type": "string"
25604
- },
25605
- "active": {
25606
- "default": true,
25607
- "type": "boolean"
25608
- }
25609
- },
25610
- "example": {
25611
- "id": 0,
25612
- "id_user": 0,
25613
- "id_type": 0,
25614
- "name": "",
25615
- "target": 0,
25616
- "saved": 0,
25617
- "monthly_savings": 0,
25618
- "comment": "",
25619
- "active": true
25620
- }
25621
- },
25622
- "Device": {
25623
- "required": [
25624
- "id",
25625
- "id_token",
25626
- "type",
25627
- "notification_token",
25628
- "last_update",
25629
- "version",
25630
- "debug"
25631
- ],
25632
- "type": "object",
25633
- "properties": {
25634
- "id": {
25635
- "type": "integer"
25636
- },
25637
- "id_token": {
25638
- "type": "integer"
25639
- },
25640
- "type": {
25641
- "type": "string"
25642
- },
25643
- "notification_token": {
25644
- "type": "string"
25645
- },
25646
- "last_update": {
25647
- "default": "CURRENT_TIMESTAMP",
25648
- "type": "string",
25649
- "format": "date-time"
25650
- },
25651
- "version": {
25652
- "type": "string"
25653
- },
25654
- "debug": {
25655
- "default": false,
25656
- "type": "boolean"
25657
- }
25658
- },
25659
- "example": {
25660
- "id": 0,
25661
- "id_token": 0,
25662
- "type": "",
25663
- "notification_token": "",
25664
- "last_update": "CURRENT_TIMESTAMP",
25665
- "version": "",
25666
- "debug": false
25667
- }
25668
- },
25669
- "Pocket": {
25670
- "required": [
25671
- "id",
25672
- "id_account",
25673
- "id_investment",
25674
- "value",
25675
- "condition"
25676
- ],
25677
- "type": "object",
25678
- "properties": {
25679
- "id": {
25680
- "type": "integer",
25681
- "description": "ID of the pocket"
25682
- },
25683
- "id_account": {
25684
- "type": "integer",
25685
- "description": "ID of the related account"
25686
- },
25687
- "id_investment": {
25688
- "type": "integer",
25689
- "description": "ID of the related investment"
25690
- },
25691
- "label": {
25692
- "type": "string",
25693
- "description": "Label of the pocket"
25694
- },
25695
- "value": {
25696
- "type": "number",
25697
- "description": "Value of the pocket",
25698
- "format": "float"
25699
- },
25700
- "quantity": {
25701
- "default": 0,
25702
- "type": "number",
25703
- "description": "Quantity of stocks",
25704
- "format": "float"
25705
- },
25706
- "availability_date": {
25707
- "type": "string",
25708
- "description": "Availability date of the pocket",
25709
- "format": "date"
25710
- },
25711
- "condition": {
25712
- "default": "inconnu",
25713
- "type": "string",
25714
- "description": "Withdrawal condition of the pocket"
25715
- },
25716
- "last_update": {
25717
- "type": "string",
25718
- "description": "Last update of the pocket",
25719
- "format": "date-time"
25720
- },
25721
- "deleted": {
25722
- "type": "string",
25723
- "description": "If set, this pocket has been removed from the website",
25724
- "format": "date-time"
25725
- }
25726
- },
25727
- "example": {
25728
- "id": 0,
25729
- "id_account": 0,
25730
- "id_investment": 0,
25731
- "label": "",
25732
- "value": 0,
25733
- "quantity": 0,
25734
- "availability_date": "2019-08-02",
25735
- "condition": "inconnu",
25736
- "last_update": "2019-08-02 17:21:59.448433",
25737
- "deleted": "2019-08-02 17:21:59.448498"
25738
- }
25739
- },
25740
- "Alert": {
25741
- "required": [
25742
- "id",
25743
- "id_user",
25744
- "timestamp",
25745
- "type",
25746
- "value"
25747
- ],
25748
- "type": "object",
25749
- "properties": {
25750
- "id": {
25751
- "type": "integer"
25752
- },
25753
- "id_user": {
25754
- "type": "integer",
25755
- "description": "ID of the related user"
25756
- },
25757
- "timestamp": {
25758
- "default": "CURRENT_TIMESTAMP",
25759
- "type": "string",
25760
- "description": "Date of the alerts emission",
25761
- "format": "date-time"
25762
- },
25763
- "type": {
25764
- "type": "string",
25765
- "description": "Type of the alert"
25766
- },
25767
- "id_transaction": {
25768
- "type": "integer",
25769
- "description": "ID of the related transaction"
25770
- },
25771
- "id_account": {
25772
- "type": "integer",
25773
- "description": "ID of the related account"
25774
- },
25775
- "value": {
25776
- "type": "number",
25777
- "description": "Amount related to the alert",
25778
- "format": "float"
25779
- },
25780
- "id_investment": {
25781
- "type": "integer",
25782
- "description": "ID of the related investment"
25783
- }
25784
- },
25785
- "example": {
25786
- "id": 0,
26051
+ "id_connection": 0,
25787
26052
  "id_user": 0,
25788
- "timestamp": "CURRENT_TIMESTAMP",
25789
- "type": "",
25790
- "id_transaction": 0,
25791
- "id_account": 0,
25792
- "value": 0,
25793
- "id_investment": 0
26053
+ "id_source": 0,
26054
+ "id_parent": 0,
26055
+ "number": "",
26056
+ "webid": "",
26057
+ "original_name": "",
26058
+ "balance": 0,
26059
+ "coming": 0,
26060
+ "display": true,
26061
+ "last_update": "2019-08-02 17:21:59.440223",
26062
+ "deleted": "2019-08-02 17:21:59.440285",
26063
+ "disabled": "2019-08-02 17:21:59.440342",
26064
+ "iban": "",
26065
+ "currency": "",
26066
+ "id_type": 0,
26067
+ "bookmarked": false,
26068
+ "name": "",
26069
+ "error": "",
26070
+ "usage": "",
26071
+ "ownership": "",
26072
+ "company_name": ""
25794
26073
  }
25795
26074
  },
25796
- "Group": {
26075
+ "Profile": {
25797
26076
  "required": [
25798
- "id"
26077
+ "id",
26078
+ "id_user",
26079
+ "role",
26080
+ "email",
26081
+ "statut",
26082
+ "admin"
25799
26083
  ],
25800
26084
  "type": "object",
25801
26085
  "properties": {
25802
26086
  "id": {
25803
26087
  "type": "integer"
25804
26088
  },
25805
- "id_parent_group": {
25806
- "type": "integer"
25807
- },
25808
- "id_logo": {
26089
+ "id_user": {
25809
26090
  "type": "integer"
25810
26091
  },
25811
- "name": {
26092
+ "role": {
26093
+ "default": "admin",
26094
+ "enum": [
26095
+ "admin",
26096
+ "ser"
26097
+ ],
25812
26098
  "type": "string"
25813
26099
  },
25814
- "url": {
26100
+ "email": {
25815
26101
  "type": "string"
25816
26102
  },
25817
- "color": {
25818
- "type": "string"
26103
+ "statut": {
26104
+ "default": 0,
26105
+ "type": "integer"
25819
26106
  },
25820
- "email": {
25821
- "type": "string"
26107
+ "admin": {
26108
+ "default": false,
26109
+ "type": "boolean"
25822
26110
  },
25823
26111
  "conf": {
25824
26112
  "type": "string"
26113
+ },
26114
+ "lang": {
26115
+ "type": "string"
25825
26116
  }
25826
26117
  },
25827
26118
  "example": {
25828
26119
  "id": 0,
25829
- "id_parent_group": 0,
25830
- "id_logo": 0,
25831
- "name": "",
25832
- "url": "",
25833
- "color": "",
25834
- "email": "",
25835
- "conf": ""
26120
+ "id_user": 0,
26121
+ "role": "admin",
26122
+ "statut": 0,
26123
+ "admin": false,
26124
+ "conf": "",
26125
+ "lang": ""
25836
26126
  }
25837
26127
  },
25838
- "TransferLog": {
26128
+ "AccountType": {
25839
26129
  "required": [
25840
26130
  "id",
25841
- "timestamp"
26131
+ "name",
26132
+ "is_invest",
26133
+ "weboob_type_id",
26134
+ "display_name_p",
26135
+ "display_name"
25842
26136
  ],
25843
26137
  "type": "object",
25844
26138
  "properties": {
25845
26139
  "id": {
25846
26140
  "type": "integer",
25847
- "description": "ID of the transfer log entry"
25848
- },
25849
- "id_transfer": {
25850
- "type": "integer",
25851
- "description": "ID of the related transfer"
25852
- },
25853
- "id_file": {
25854
- "type": "integer",
25855
- "description": "ID of the related file"
26141
+ "description": "ID of the account type"
25856
26142
  },
25857
- "request_data": {
26143
+ "name": {
25858
26144
  "type": "string",
25859
- "description": "Data stored related to user who has requested the transfer"
26145
+ "description": "Name of the account type"
25860
26146
  },
25861
- "state": {
25862
- "type": "string",
25863
- "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
26147
+ "is_invest": {
26148
+ "default": false,
26149
+ "type": "boolean",
26150
+ "description": "Is it an investment account"
25864
26151
  },
25865
- "error": {
25866
- "type": "string",
25867
- "description": "Error message during transfer, if any"
26152
+ "weboob_type_id": {
26153
+ "type": "integer",
26154
+ "description": "Map to the weboob_type_id"
25868
26155
  },
25869
- "timestamp": {
25870
- "default": "CURRENT_TIMESTAMP",
26156
+ "display_name_p": {
25871
26157
  "type": "string",
25872
- "description": "Timestamp of the log",
25873
- "format": "date-time"
26158
+ "description": "Name to display in plurial"
25874
26159
  },
25875
- "fields": {
26160
+ "display_name": {
25876
26161
  "type": "string",
25877
- "description": "Fields for transfer in additionalInformationNeeded state with background option"
25878
- }
25879
- },
25880
- "example": {
25881
- "id": 0,
25882
- "id_transfer": 0,
25883
- "id_file": 0,
25884
- "request_data": "",
25885
- "state": "",
25886
- "error": "",
25887
- "timestamp": "CURRENT_TIMESTAMP"
25888
- }
25889
- },
25890
- "TransactionInformation": {
25891
- "required": [
25892
- "id",
25893
- "id_transaction",
25894
- "key"
25895
- ],
25896
- "type": "object",
25897
- "properties": {
25898
- "id": {
25899
- "type": "integer",
25900
- "description": "ID of this transaction information"
25901
- },
25902
- "id_transaction": {
25903
- "type": "integer",
25904
- "description": "ID of the related transaction"
26162
+ "description": "Name to display in singular"
25905
26163
  },
25906
- "key": {
26164
+ "color": {
25907
26165
  "type": "string",
25908
- "description": "Key of the transaction information"
26166
+ "description": "Color of the account type (hexdecimal)"
25909
26167
  },
25910
- "value": {
25911
- "type": "string",
25912
- "description": "Value of the transaction information"
26168
+ "id_parent": {
26169
+ "type": "integer",
26170
+ "description": "Id of the parent type"
25913
26171
  }
25914
26172
  },
25915
26173
  "example": {
25916
26174
  "id": 0,
25917
- "id_transaction": 0,
25918
- "key": "",
25919
- "value": ""
26175
+ "name": "",
26176
+ "is_invest": false,
26177
+ "weboob_type_id": 0,
26178
+ "display_name_p": "",
26179
+ "display_name": "",
26180
+ "color": "",
26181
+ "id_parent": 0
25920
26182
  }
25921
26183
  },
25922
- "InvestmentValue": {
26184
+ "Project": {
25923
26185
  "required": [
25924
26186
  "id",
25925
- "id_investment",
25926
- "vdate",
25927
- "unitvalue"
26187
+ "id_user",
26188
+ "id_type",
26189
+ "name",
26190
+ "target",
26191
+ "saved",
26192
+ "monthly_savings",
26193
+ "comment",
26194
+ "active"
25928
26195
  ],
25929
26196
  "type": "object",
25930
26197
  "properties": {
25931
26198
  "id": {
25932
- "type": "integer",
25933
- "description": "ID of the value"
26199
+ "type": "integer"
25934
26200
  },
25935
- "id_investment": {
25936
- "type": "integer",
25937
- "description": "ID of the related investment"
26201
+ "id_user": {
26202
+ "type": "integer"
25938
26203
  },
25939
- "vdate": {
25940
- "type": "string",
25941
- "description": "Date of this value",
25942
- "format": "date"
26204
+ "id_type": {
26205
+ "type": "integer"
25943
26206
  },
25944
- "unitvalue": {
26207
+ "name": {
26208
+ "type": "string"
26209
+ },
26210
+ "target": {
25945
26211
  "type": "number",
25946
- "description": "Value on this date",
25947
26212
  "format": "float"
25948
26213
  },
25949
- "original_currency": {
25950
- "type": "object",
25951
- "description": "Original currency"
26214
+ "saved": {
26215
+ "default": 0,
26216
+ "type": "number",
26217
+ "format": "float"
25952
26218
  },
25953
- "original_unitvalue": {
26219
+ "monthly_savings": {
25954
26220
  "type": "number",
25955
- "description": "Value on this date, in the original currency",
25956
26221
  "format": "float"
26222
+ },
26223
+ "comment": {
26224
+ "default": "",
26225
+ "type": "string"
26226
+ },
26227
+ "active": {
26228
+ "default": true,
26229
+ "type": "boolean"
25957
26230
  }
25958
26231
  },
25959
26232
  "example": {
25960
26233
  "id": 0,
25961
- "id_investment": 0,
25962
- "vdate": "2019-08-02",
25963
- "unitvalue": 0,
25964
- "original_currency": "",
25965
- "original_unitvalue": 0
26234
+ "id_user": 0,
26235
+ "id_type": 0,
26236
+ "name": "",
26237
+ "target": 0,
26238
+ "saved": 0,
26239
+ "monthly_savings": 0,
26240
+ "comment": "",
26241
+ "active": true
25966
26242
  }
25967
26243
  },
25968
- "RecipientLog": {
26244
+ "Device": {
25969
26245
  "required": [
25970
26246
  "id",
25971
- "timestamp"
26247
+ "id_token",
26248
+ "type",
26249
+ "notification_token",
26250
+ "last_update",
26251
+ "version",
26252
+ "debug"
25972
26253
  ],
25973
26254
  "type": "object",
25974
26255
  "properties": {
25975
26256
  "id": {
25976
- "type": "integer",
25977
- "description": "ID of the transfer log entry"
25978
- },
25979
- "id_recipient": {
25980
- "type": "integer",
25981
- "description": "ID of the related recipient"
25982
- },
25983
- "id_file": {
25984
- "type": "integer",
25985
- "description": "ID of the related file"
26257
+ "type": "integer"
25986
26258
  },
25987
- "request_data": {
25988
- "type": "string",
25989
- "description": "Data stored related to user who has requested the recipient addition"
26259
+ "id_token": {
26260
+ "type": "integer"
25990
26261
  },
25991
- "step": {
25992
- "type": "string",
25993
- "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
26262
+ "type": {
26263
+ "type": "string"
25994
26264
  },
25995
- "error": {
25996
- "type": "string",
25997
- "description": "Error message during recipient addition, if any"
26265
+ "notification_token": {
26266
+ "type": "string"
25998
26267
  },
25999
- "timestamp": {
26268
+ "last_update": {
26000
26269
  "default": "CURRENT_TIMESTAMP",
26001
26270
  "type": "string",
26002
- "description": "Timestamp of the log",
26003
26271
  "format": "date-time"
26004
26272
  },
26005
- "fields": {
26006
- "type": "string",
26007
- "description": "Fields for recipient in additionalInformationNeeded state with background option"
26273
+ "version": {
26274
+ "type": "string"
26275
+ },
26276
+ "debug": {
26277
+ "default": false,
26278
+ "type": "boolean"
26008
26279
  }
26009
26280
  },
26010
26281
  "example": {
26011
26282
  "id": 0,
26012
- "id_recipient": 0,
26013
- "id_file": 0,
26014
- "request_data": "",
26015
- "step": "",
26016
- "error": "",
26017
- "timestamp": "CURRENT_TIMESTAMP"
26283
+ "id_token": 0,
26284
+ "type": "",
26285
+ "notification_token": "",
26286
+ "last_update": "CURRENT_TIMESTAMP",
26287
+ "version": "",
26288
+ "debug": false
26018
26289
  }
26019
26290
  },
26020
- "SubscriptionLog": {
26291
+ "Group": {
26021
26292
  "required": [
26022
- "id",
26023
- "id_subscription",
26024
- "timestamp"
26293
+ "id"
26025
26294
  ],
26026
26295
  "type": "object",
26027
26296
  "properties": {
26028
26297
  "id": {
26029
- "type": "integer",
26030
- "description": "ID of the log"
26298
+ "type": "integer"
26031
26299
  },
26032
- "id_subscription": {
26033
- "type": "integer",
26034
- "description": "ID of the related subscription"
26300
+ "id_parent_group": {
26301
+ "type": "integer"
26035
26302
  },
26036
- "timestamp": {
26037
- "default": "CURRENT_TIMESTAMP",
26038
- "type": "string",
26039
- "description": "Timestamp of log",
26040
- "format": "date-time"
26303
+ "id_logo": {
26304
+ "type": "integer"
26041
26305
  },
26042
- "nb_docs": {
26043
- "type": "integer",
26044
- "description": "Number of docs on the subscription"
26306
+ "name": {
26307
+ "type": "string"
26045
26308
  },
26046
- "id_connection_log": {
26047
- "type": "integer",
26048
- "description": "ID of the related connection log"
26309
+ "url": {
26310
+ "type": "string"
26049
26311
  },
26050
- "error": {
26051
- "type": "string",
26052
- "description": "If fail, contains the error code"
26312
+ "color": {
26313
+ "type": "string"
26053
26314
  },
26054
- "error_message": {
26055
- "type": "string",
26056
- "description": "If fail, error message received from provider"
26315
+ "email": {
26316
+ "type": "string"
26057
26317
  },
26058
- "id_source": {
26059
- "type": "integer",
26060
- "description": "ID of the related connection source"
26318
+ "conf": {
26319
+ "type": "string"
26061
26320
  }
26062
26321
  },
26063
26322
  "example": {
26064
26323
  "id": 0,
26065
- "id_subscription": 0,
26066
- "timestamp": "CURRENT_TIMESTAMP",
26067
- "nb_docs": 0,
26068
- "id_connection_log": 0,
26069
- "error": "",
26070
- "error_message": "",
26071
- "id_source": 0
26324
+ "id_parent_group": 0,
26325
+ "id_logo": 0,
26326
+ "name": "",
26327
+ "url": "",
26328
+ "color": "",
26329
+ "email": "",
26330
+ "conf": ""
26072
26331
  }
26073
26332
  },
26074
- "ConnectionSource": {
26333
+ "Alert": {
26075
26334
  "required": [
26076
26335
  "id",
26077
- "id_connection",
26078
- "id_connector_source",
26079
- "name",
26080
- "created"
26336
+ "id_user",
26337
+ "timestamp",
26338
+ "type",
26339
+ "value"
26081
26340
  ],
26082
26341
  "type": "object",
26083
26342
  "properties": {
26084
26343
  "id": {
26085
- "type": "integer",
26086
- "description": "ID of connection"
26087
- },
26088
- "id_connection": {
26089
- "type": "integer",
26090
- "description": "ID of the related connection"
26344
+ "type": "integer"
26091
26345
  },
26092
- "id_connector_source": {
26346
+ "id_user": {
26093
26347
  "type": "integer",
26094
- "description": "ID of the related connector source"
26095
- },
26096
- "name": {
26097
- "type": "string",
26098
- "description": "Name of the connection source"
26099
- },
26100
- "last_update": {
26101
- "type": "string",
26102
- "description": "Last successful update",
26103
- "format": "date-time"
26348
+ "description": "ID of the related user"
26104
26349
  },
26105
- "disabled": {
26350
+ "timestamp": {
26351
+ "default": "CURRENT_TIMESTAMP",
26106
26352
  "type": "string",
26107
- "description": "This source is not used to synchronize the connection",
26353
+ "description": "Date of the alerts emission",
26108
26354
  "format": "date-time"
26109
26355
  },
26110
- "created": {
26111
- "default": "<function <lambda> at 0x7f8894cfe7d0>",
26356
+ "type": {
26112
26357
  "type": "string",
26113
- "description": "Creation date of the connection source",
26114
- "format": "date-time"
26358
+ "description": "Type of the alert"
26115
26359
  },
26116
- "state": {
26117
- "type": "string",
26118
- "description": "If the last update has failed, the state code"
26360
+ "id_transaction": {
26361
+ "type": "integer",
26362
+ "description": "ID of the related transaction"
26119
26363
  },
26120
- "access_expire": {
26121
- "type": "string",
26122
- "description": "Expiration date of the access",
26123
- "format": "date-time"
26364
+ "id_account": {
26365
+ "type": "integer",
26366
+ "description": "ID of the related account"
26124
26367
  },
26125
- "expire": {
26126
- "type": "string",
26127
- "description": "Expiration of the connection source. Used to purge the connection in case completion was not finished",
26128
- "format": "date-time"
26368
+ "value": {
26369
+ "type": "number",
26370
+ "description": "Amount related to the alert",
26371
+ "format": "float"
26129
26372
  },
26130
- "next_try": {
26131
- "type": "string",
26132
- "description": "Date of next synchronization",
26133
- "format": "date-time"
26373
+ "id_investment": {
26374
+ "type": "integer",
26375
+ "description": "ID of the related investment"
26134
26376
  }
26135
26377
  },
26136
26378
  "example": {
26137
26379
  "id": 0,
26138
- "id_connection": 0,
26139
- "id_connector_source": 0,
26140
- "name": "",
26141
- "last_update": "2019-12-27 16:17:55.317583",
26142
- "disabled": "2019-12-27 16:17:55.317658",
26143
- "created": "<function <lambda> at 0x7f8894cfe7d0>",
26144
- "state": "",
26145
- "access_expire": "2019-12-27 16:17:55.317849",
26146
- "expire": "2019-12-27 16:17:55.317911",
26147
- "next_try": "2019-12-27 16:17:55.318118"
26380
+ "id_user": 0,
26381
+ "timestamp": "CURRENT_TIMESTAMP",
26382
+ "type": "",
26383
+ "id_transaction": 0,
26384
+ "id_account": 0,
26385
+ "value": 0,
26386
+ "id_investment": 0
26148
26387
  }
26149
26388
  },
26150
- "AccountLog": {
26389
+ "ProjectType": {
26151
26390
  "required": [
26152
26391
  "id",
26153
- "id_account",
26154
- "balance",
26155
- "timestamp"
26392
+ "name"
26156
26393
  ],
26157
26394
  "type": "object",
26158
26395
  "properties": {
26159
26396
  "id": {
26160
- "type": "integer",
26161
- "description": "ID of the log"
26162
- },
26163
- "id_account": {
26164
- "type": "integer",
26165
- "description": "ID of the related account"
26166
- },
26167
- "id_connector": {
26168
- "type": "integer",
26169
- "description": "provider id"
26170
- },
26171
- "balance": {
26172
- "type": "number",
26173
- "description": "Balanced recorded",
26174
- "format": "float"
26175
- },
26176
- "coming": {
26177
- "default": 0,
26178
- "type": "number",
26179
- "description": "Coming debit recorded",
26180
- "format": "float"
26181
- },
26182
- "timestamp": {
26183
- "default": "CURRENT_TIMESTAMP",
26184
- "type": "string",
26185
- "description": "Timestamp of log",
26186
- "format": "date-time"
26187
- },
26188
- "error": {
26189
- "type": "string",
26190
- "description": "If fail, contains the error code"
26397
+ "type": "integer"
26191
26398
  },
26192
- "error_message": {
26193
- "type": "string",
26194
- "description": "If fail, error message received from bank or provider"
26399
+ "name": {
26400
+ "type": "string"
26195
26401
  },
26196
- "id_connection_log": {
26197
- "type": "integer",
26198
- "description": "ID of the related connection log"
26402
+ "icon_url": {
26403
+ "type": "string"
26199
26404
  }
26200
26405
  },
26201
26406
  "example": {
26202
26407
  "id": 0,
26203
- "id_account": 0,
26204
- "id_connector": 0,
26205
- "balance": 0,
26206
- "coming": 0,
26207
- "timestamp": "CURRENT_TIMESTAMP",
26208
- "error": "",
26209
- "error_message": "",
26210
- "id_connection_log": 0
26408
+ "name": "",
26409
+ "icon_url": ""
26211
26410
  }
26212
26411
  },
26213
26412
  "Currency": {
@@ -26350,24 +26549,29 @@
26350
26549
  "timestamp": "CURRENT_TIMESTAMP"
26351
26550
  }
26352
26551
  },
26353
- "OidcWhitelist": {
26552
+ "DocumentType": {
26354
26553
  "required": [
26355
26554
  "id",
26356
- "redirect_uri"
26555
+ "name",
26556
+ "attacheable"
26357
26557
  ],
26358
26558
  "type": "object",
26359
26559
  "properties": {
26360
26560
  "id": {
26361
26561
  "type": "integer"
26362
26562
  },
26363
- "redirect_uri": {
26364
- "type": "string",
26365
- "description": "authorized redirect uri"
26563
+ "name": {
26564
+ "type": "string"
26565
+ },
26566
+ "attacheable": {
26567
+ "default": true,
26568
+ "type": "boolean"
26366
26569
  }
26367
26570
  },
26368
26571
  "example": {
26369
26572
  "id": 0,
26370
- "redirect_uri": ""
26573
+ "name": "",
26574
+ "attacheable": true
26371
26575
  }
26372
26576
  }
26373
26577
  },