budgea_client 5.0.1 → 5.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +19 -6
  5. data/budgea_openapi.json +1684 -1370
  6. data/config.json +1 -1
  7. data/docs/Account.md +1 -0
  8. data/docs/AdministrationApi.md +48 -48
  9. data/docs/AuthenticationApi.md +9 -9
  10. data/docs/BanksApi.md +396 -149
  11. data/docs/Connection.md +3 -0
  12. data/docs/ConnectionsApi.md +281 -34
  13. data/docs/DocumentsApi.md +48 -48
  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/OIDCApi.md +3 -3
  30. data/docs/PFMApi.md +42 -42
  31. data/docs/ProvidersApi.md +347 -100
  32. data/docs/RecipientsApi.md +4 -4
  33. data/docs/TermsApi.md +74 -9
  34. data/docs/TransferApi.md +1 -1
  35. data/docs/TransfersApi.md +63 -63
  36. data/docs/UsersManagementApi.md +13 -13
  37. data/docs/WealthApi.md +75 -59
  38. data/lib/budgea_client/api/administration_api.rb +49 -49
  39. data/lib/budgea_client/api/authentication_api.rb +9 -9
  40. data/lib/budgea_client/api/banks_api.rb +409 -160
  41. data/lib/budgea_client/api/connections_api.rb +288 -39
  42. data/lib/budgea_client/api/documents_api.rb +49 -49
  43. data/lib/budgea_client/api/oidc_api.rb +3 -3
  44. data/lib/budgea_client/api/pfm_api.rb +44 -44
  45. data/lib/budgea_client/api/providers_api.rb +355 -106
  46. data/lib/budgea_client/api/recipients_api.rb +4 -4
  47. data/lib/budgea_client/api/terms_api.rb +77 -11
  48. data/lib/budgea_client/api/transfer_api.rb +1 -1
  49. data/lib/budgea_client/api/transfers_api.rb +75 -75
  50. data/lib/budgea_client/api/users_management_api.rb +14 -14
  51. data/lib/budgea_client/api/wealth_api.rb +99 -75
  52. data/lib/budgea_client/api_client.rb +2 -0
  53. data/lib/budgea_client/models/access.rb +2 -1
  54. data/lib/budgea_client/models/account.rb +14 -2
  55. data/lib/budgea_client/models/account_log.rb +2 -1
  56. data/lib/budgea_client/models/account_type.rb +2 -1
  57. data/lib/budgea_client/models/alert.rb +2 -1
  58. data/lib/budgea_client/models/auth_provider.rb +2 -1
  59. data/lib/budgea_client/models/category.rb +2 -1
  60. data/lib/budgea_client/models/certificate.rb +2 -1
  61. data/lib/budgea_client/models/client.rb +2 -1
  62. data/lib/budgea_client/models/config_log.rb +2 -1
  63. data/lib/budgea_client/models/connection.rb +70 -5
  64. data/lib/budgea_client/models/connection_log.rb +2 -1
  65. data/lib/budgea_client/models/connection_source.rb +2 -1
  66. data/lib/budgea_client/models/connector.rb +2 -1
  67. data/lib/budgea_client/models/connector_category.rb +2 -1
  68. data/lib/budgea_client/models/connector_logo.rb +2 -1
  69. data/lib/budgea_client/models/connector_source.rb +2 -1
  70. data/lib/budgea_client/models/currency.rb +2 -1
  71. data/lib/budgea_client/models/device.rb +2 -1
  72. data/lib/budgea_client/models/document.rb +2 -1
  73. data/lib/budgea_client/models/document_type.rb +2 -1
  74. data/lib/budgea_client/models/field.rb +2 -1
  75. data/lib/budgea_client/models/field_value.rb +2 -1
  76. data/lib/budgea_client/models/file.rb +2 -1
  77. data/lib/budgea_client/models/group.rb +2 -1
  78. data/lib/budgea_client/models/hash_table.rb +2 -1
  79. data/lib/budgea_client/models/inline_response_200.rb +2 -1
  80. data/lib/budgea_client/models/inline_response_200_1.rb +2 -1
  81. data/lib/budgea_client/models/inline_response_200_10.rb +2 -1
  82. data/lib/budgea_client/models/inline_response_200_11.rb +2 -1
  83. data/lib/budgea_client/models/inline_response_200_12.rb +2 -1
  84. data/lib/budgea_client/models/inline_response_200_13.rb +2 -1
  85. data/lib/budgea_client/models/inline_response_200_14.rb +2 -1
  86. data/lib/budgea_client/models/inline_response_200_15.rb +2 -1
  87. data/lib/budgea_client/models/inline_response_200_16.rb +13 -12
  88. data/lib/budgea_client/models/inline_response_200_17.rb +20 -19
  89. data/lib/budgea_client/models/inline_response_200_18.rb +20 -19
  90. data/lib/budgea_client/models/inline_response_200_19.rb +20 -19
  91. data/lib/budgea_client/models/inline_response_200_2.rb +2 -1
  92. data/lib/budgea_client/models/inline_response_200_20.rb +20 -19
  93. data/lib/budgea_client/models/inline_response_200_21.rb +20 -19
  94. data/lib/budgea_client/models/inline_response_200_22.rb +13 -12
  95. data/lib/budgea_client/models/inline_response_200_23.rb +13 -12
  96. data/lib/budgea_client/models/inline_response_200_24.rb +20 -19
  97. data/lib/budgea_client/models/inline_response_200_25.rb +20 -19
  98. data/lib/budgea_client/models/inline_response_200_26.rb +13 -12
  99. data/lib/budgea_client/models/inline_response_200_27.rb +13 -12
  100. data/lib/budgea_client/models/inline_response_200_28.rb +13 -12
  101. data/lib/budgea_client/models/inline_response_200_29.rb +20 -19
  102. data/lib/budgea_client/models/inline_response_200_3.rb +2 -1
  103. data/lib/budgea_client/models/inline_response_200_30.rb +13 -12
  104. data/lib/budgea_client/models/inline_response_200_31.rb +2 -1
  105. data/lib/budgea_client/models/inline_response_200_32.rb +2 -1
  106. data/lib/budgea_client/models/inline_response_200_33.rb +2 -1
  107. data/lib/budgea_client/models/inline_response_200_34.rb +2 -1
  108. data/lib/budgea_client/models/inline_response_200_35.rb +2 -1
  109. data/lib/budgea_client/models/inline_response_200_36.rb +2 -1
  110. data/lib/budgea_client/models/inline_response_200_37.rb +2 -1
  111. data/lib/budgea_client/models/inline_response_200_38.rb +2 -1
  112. data/lib/budgea_client/models/inline_response_200_39.rb +2 -1
  113. data/lib/budgea_client/models/inline_response_200_4.rb +2 -1
  114. data/lib/budgea_client/models/inline_response_200_40.rb +2 -1
  115. data/lib/budgea_client/models/inline_response_200_41.rb +2 -1
  116. data/lib/budgea_client/models/inline_response_200_42.rb +2 -1
  117. data/lib/budgea_client/models/inline_response_200_5.rb +2 -1
  118. data/lib/budgea_client/models/inline_response_200_6.rb +2 -1
  119. data/lib/budgea_client/models/inline_response_200_7.rb +2 -1
  120. data/lib/budgea_client/models/inline_response_200_8.rb +2 -1
  121. data/lib/budgea_client/models/inline_response_200_9.rb +2 -1
  122. data/lib/budgea_client/models/investment.rb +2 -1
  123. data/lib/budgea_client/models/investment_value.rb +2 -1
  124. data/lib/budgea_client/models/keyword.rb +2 -1
  125. data/lib/budgea_client/models/locked_user.rb +2 -1
  126. data/lib/budgea_client/models/oidc_whitelist.rb +2 -1
  127. data/lib/budgea_client/models/order.rb +2 -1
  128. data/lib/budgea_client/models/pocket.rb +2 -1
  129. data/lib/budgea_client/models/profile.rb +2 -1
  130. data/lib/budgea_client/models/project.rb +2 -1
  131. data/lib/budgea_client/models/project_type.rb +2 -1
  132. data/lib/budgea_client/models/recipient.rb +2 -1
  133. data/lib/budgea_client/models/recipient_log.rb +2 -1
  134. data/lib/budgea_client/models/security.rb +2 -1
  135. data/lib/budgea_client/models/subscription.rb +2 -1
  136. data/lib/budgea_client/models/subscription_log.rb +2 -1
  137. data/lib/budgea_client/models/terms_of_service.rb +2 -1
  138. data/lib/budgea_client/models/transaction.rb +2 -1
  139. data/lib/budgea_client/models/transaction_information.rb +2 -1
  140. data/lib/budgea_client/models/transactions_cluster.rb +2 -1
  141. data/lib/budgea_client/models/transfer.rb +2 -1
  142. data/lib/budgea_client/models/transfer_log.rb +2 -1
  143. data/lib/budgea_client/models/user.rb +2 -1
  144. data/lib/budgea_client/models/user_alert.rb +2 -1
  145. data/lib/budgea_client/models/webhook.rb +2 -1
  146. data/lib/budgea_client/models/webhook_data.rb +2 -1
  147. data/lib/budgea_client/models/webhook_log.rb +2 -1
  148. data/lib/budgea_client/version.rb +1 -1
  149. data/original_budgea_openapi.json +1559 -1474
  150. data/pkg/budgea_client-5.1.1.gem +0 -0
  151. metadata +4 -7
  152. data/pkg/budgea_client-2.0.0.gem +0 -0
  153. data/pkg/budgea_client-3.0.1.gem +0 -0
  154. data/pkg/budgea_client-4.0.0.gem +0 -0
  155. data/pkg/budgea_client-5.0.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ae74612e90c7af96c27288df2b14612c28d61c51f6ee3ee094923775b7533e6
4
- data.tar.gz: 7e4c40c1d84c627943b06349f4684675c27b0c4712238e8836531fe729d8ccff
3
+ metadata.gz: 454880b602f8a1e58803232905b6174d833ba97a3273900ae7e4cef4508ecd89
4
+ data.tar.gz: 874c20fb2cc84a65d8bd6bd49b659f3e01eedb4d3d0ecbd60ac23f367b879bb6
5
5
  SHA512:
6
- metadata.gz: be35f40daf2197e0df157111b525b0ac7e844e3be55aa36b0cc3e6faf0114bc27d8f4101c7367d3e5c42aed13788f846dddd08d30b2d5eea3d194b8c4eda92dc
7
- data.tar.gz: f6af7c82ca9c01337f65f8366f6446214f348b3c6c682f03f814569a6d922711282c1c075d6e7a5d1d8e45bf4de3f721e1bcc709d1c648705e46685217ee95ba
6
+ metadata.gz: 00bc72a0aac6b176fae122fade7f21f03648dfe4ef5a4c77550d44237184b533ec3679a47d2dfc769f2f60fa17add98b5c10a03a6816afc493e7a6992540866e
7
+ data.tar.gz: 4508d148fbb45a4a7cfb92a32f0d7dcec6a24180272042db78982f91573b6d4728e0673866a8de49a8e21b91d99c80abc76c6986de3310eed8356b68881ac340
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.1)
4
+ budgea_client (5.1.1)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
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
@@ -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",
@@ -8332,14 +8573,14 @@
8332
8573
  "required": false,
8333
8574
  "in": "formData",
8334
8575
  "type": "string",
8335
- "name": "nuser",
8576
+ "name": "otp",
8336
8577
  "description": "bank additional login parameter"
8337
8578
  },
8338
8579
  {
8339
8580
  "required": false,
8340
8581
  "in": "formData",
8341
8582
  "type": "string",
8342
- "name": "website",
8583
+ "name": "nuser",
8343
8584
  "description": "bank additional login parameter"
8344
8585
  },
8345
8586
  {
@@ -8370,6 +8611,13 @@
8370
8611
  "name": "id_provider",
8371
8612
  "description": "ID of the provider"
8372
8613
  },
8614
+ {
8615
+ "required": false,
8616
+ "in": "formData",
8617
+ "type": "boolean",
8618
+ "name": "resume",
8619
+ "description": "Resume a decoupled connection creation"
8620
+ },
8373
8621
  {
8374
8622
  "required": false,
8375
8623
  "type": "string",
@@ -9173,14 +9421,28 @@
9173
9421
  },
9174
9422
  {
9175
9423
  "required": false,
9424
+ "in": "query",
9176
9425
  "type": "string",
9177
- "name": "expand",
9178
- "in": "query"
9179
- }
9180
- ],
9181
- "summary": "Get investments"
9182
- }
9183
- },
9426
+ "name": "label",
9427
+ "description": "filter investments using keywords in labels"
9428
+ },
9429
+ {
9430
+ "required": false,
9431
+ "in": "query",
9432
+ "type": "string",
9433
+ "name": "code",
9434
+ "description": "filter investments by ISIN codes"
9435
+ },
9436
+ {
9437
+ "required": false,
9438
+ "type": "string",
9439
+ "name": "expand",
9440
+ "in": "query"
9441
+ }
9442
+ ],
9443
+ "summary": "Get investments"
9444
+ }
9445
+ },
9184
9446
  "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/history": {
9185
9447
  "get": {
9186
9448
  "responses": {
@@ -9735,7 +9997,7 @@
9735
9997
  "in": "query"
9736
9998
  }
9737
9999
  ],
9738
- "summary": "Edit an alert on transactions or investements",
10000
+ "summary": "Edit an alert on transactions or investments",
9739
10001
  "consumes": [
9740
10002
  "application/x-www-form-urlencoded"
9741
10003
  ]
@@ -13417,6 +13679,20 @@
13417
13679
  "name": "id_connection",
13418
13680
  "description": ""
13419
13681
  },
13682
+ {
13683
+ "required": false,
13684
+ "in": "query",
13685
+ "type": "string",
13686
+ "name": "label",
13687
+ "description": "filter investments using keywords in labels"
13688
+ },
13689
+ {
13690
+ "required": false,
13691
+ "in": "query",
13692
+ "type": "string",
13693
+ "name": "code",
13694
+ "description": "filter investments by ISIN codes"
13695
+ },
13420
13696
  {
13421
13697
  "required": false,
13422
13698
  "type": "string",
@@ -18131,6 +18407,20 @@
18131
18407
  "name": "id_user",
18132
18408
  "description": "Hint: you can use 'me' or 'all'"
18133
18409
  },
18410
+ {
18411
+ "required": false,
18412
+ "in": "query",
18413
+ "type": "string",
18414
+ "name": "label",
18415
+ "description": "filter investments using keywords in labels"
18416
+ },
18417
+ {
18418
+ "required": false,
18419
+ "in": "query",
18420
+ "type": "string",
18421
+ "name": "code",
18422
+ "description": "filter investments by ISIN codes"
18423
+ },
18134
18424
  {
18135
18425
  "required": false,
18136
18426
  "type": "string",
@@ -22440,11 +22730,10 @@
22440
22730
  "description": "The webhook authentication process to use (its ID or its name)"
22441
22731
  },
22442
22732
  {
22443
- "name": "url",
22444
- "format": "float",
22445
22733
  "required": false,
22446
22734
  "in": "formData",
22447
- "type": "number",
22735
+ "type": "string",
22736
+ "name": "url",
22448
22737
  "description": "The webhook callback url"
22449
22738
  },
22450
22739
  {
@@ -22786,11 +23075,10 @@
22786
23075
  "description": "The webhook authentication process to use"
22787
23076
  },
22788
23077
  {
22789
- "name": "url",
22790
- "format": "float",
22791
23078
  "required": false,
22792
23079
  "in": "formData",
22793
- "type": "number",
23080
+ "type": "string",
23081
+ "name": "url",
22794
23082
  "description": "The webhook callback url"
22795
23083
  },
22796
23084
  {
@@ -22859,11 +23147,10 @@
22859
23147
  "description": "The webhook authentication process to use"
22860
23148
  },
22861
23149
  {
22862
- "name": "url",
22863
- "format": "float",
22864
23150
  "required": false,
22865
23151
  "in": "formData",
22866
- "type": "number",
23152
+ "type": "string",
23153
+ "name": "url",
22867
23154
  "description": "The webhook callback url"
22868
23155
  },
22869
23156
  {
@@ -23331,6 +23618,37 @@
23331
23618
  "restricted": false
23332
23619
  }
23333
23620
  },
23621
+ "ConnectorLogo": {
23622
+ "required": [
23623
+ "id",
23624
+ "id_connector",
23625
+ "id_file"
23626
+ ],
23627
+ "type": "object",
23628
+ "properties": {
23629
+ "id": {
23630
+ "type": "integer"
23631
+ },
23632
+ "id_connector": {
23633
+ "type": "integer",
23634
+ "description": "ID of the connector"
23635
+ },
23636
+ "id_file": {
23637
+ "type": "integer",
23638
+ "description": "Id of the Bank/Provider Logo"
23639
+ },
23640
+ "type": {
23641
+ "type": "string",
23642
+ "description": "Logo's type"
23643
+ }
23644
+ },
23645
+ "example": {
23646
+ "id": 0,
23647
+ "id_connector": 0,
23648
+ "id_file": 0,
23649
+ "type": ""
23650
+ }
23651
+ },
23334
23652
  "ConnectorSource": {
23335
23653
  "required": [
23336
23654
  "id",
@@ -23471,37 +23789,6 @@
23471
23789
  }
23472
23790
  }
23473
23791
  },
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
23792
  "User": {
23506
23793
  "required": [
23507
23794
  "id",
@@ -23599,223 +23886,292 @@
23599
23886
  "type": ""
23600
23887
  }
23601
23888
  },
23602
- "TermsOfService": {
23889
+ "Connection": {
23603
23890
  "required": [
23604
23891
  "id",
23605
- "version",
23606
- "created"
23892
+ "id_connector",
23893
+ "active"
23607
23894
  ],
23608
23895
  "type": "object",
23609
23896
  "properties": {
23610
23897
  "id": {
23611
- "type": "integer"
23898
+ "type": "integer",
23899
+ "description": "ID of connection"
23612
23900
  },
23613
- "version": {
23614
- "type": "string"
23901
+ "id_user": {
23902
+ "type": "integer",
23903
+ "description": "ID of the related user"
23615
23904
  },
23616
- "id_file": {
23617
- "type": "integer"
23905
+ "id_connector": {
23906
+ "type": "integer",
23907
+ "description": "ID of the related connector"
23908
+ },
23909
+ "last_update": {
23910
+ "type": "string",
23911
+ "description": "Last successful update",
23912
+ "format": "date-time"
23618
23913
  },
23619
23914
  "created": {
23915
+ "default": "<function <lambda> at 0x7f8894ce1aa0>",
23620
23916
  "type": "string",
23917
+ "description": "Creation date",
23621
23918
  "format": "date-time"
23622
23919
  },
23623
- "deleted": {
23920
+ "error": {
23921
+ "type": "string",
23922
+ "description": "If the last update has failed, the error code"
23923
+ },
23924
+ "error_message": {
23925
+ "type": "string",
23926
+ "description": "If fail, error message received from connector"
23927
+ },
23928
+ "expire": {
23929
+ "type": "string",
23930
+ "description": "Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort",
23931
+ "format": "date-time"
23932
+ },
23933
+ "active": {
23934
+ "default": true,
23935
+ "type": "boolean",
23936
+ "description": "This connection is active and will be automatically synced"
23937
+ },
23938
+ "last_push": {
23939
+ "type": "string",
23940
+ "description": "Last successful push",
23941
+ "format": "date-time"
23942
+ },
23943
+ "state": {
23944
+ "type": "string",
23945
+ "enum": [
23946
+ "wrongpass",
23947
+ "additionalInformationNeeded",
23948
+ "websiteUnavailable",
23949
+ "actionNeeded",
23950
+ "SCARequired",
23951
+ "decoupled",
23952
+ "passwordExpired",
23953
+ "webauthRequired",
23954
+ "bug"
23955
+ ],
23956
+ "description": "State of Connection"
23957
+ },
23958
+ "fields": {
23959
+ "type": "array",
23960
+ "items": {
23961
+ "$ref": "#/definitions/Field"
23962
+ }
23963
+ },
23964
+ "next_try": {
23624
23965
  "type": "string",
23966
+ "description": "Date of next synchronization",
23625
23967
  "format": "date-time"
23968
+ },
23969
+ "accounts": {
23970
+ "type": "array",
23971
+ "items": {
23972
+ "$ref": "#/definitions/Account"
23973
+ }
23974
+ },
23975
+ "subscriptions": {
23976
+ "type": "array",
23977
+ "items": {
23978
+ "$ref": "#/definitions/Subscription"
23979
+ }
23980
+ },
23981
+ "connection": {
23982
+ "$ref": "#/definitions/Connection"
23983
+ },
23984
+ "message": {
23985
+ "type": "string"
23626
23986
  }
23627
23987
  },
23628
23988
  "example": {
23629
23989
  "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"
23990
+ "id_user": 0,
23991
+ "id_connector": 0,
23992
+ "last_update": "2019-08-02 17:21:59.365076",
23993
+ "created": "<function <lambda> at 0x7f8894ce1aa0>",
23994
+ "error": "",
23995
+ "expire": "2019-08-02 17:21:59.365257",
23996
+ "active": true,
23997
+ "last_push": "2019-08-02 17:21:59.365378",
23998
+ "next_try": "2019-08-02 17:21:59.365554"
23634
23999
  }
23635
24000
  },
23636
- "Category": {
24001
+ "ConnectionSource": {
23637
24002
  "required": [
23638
24003
  "id",
23639
- "id_parent_category",
24004
+ "id_connection",
24005
+ "id_connector_source",
23640
24006
  "name",
23641
- "color",
23642
- "id_parent_category_in_menu",
23643
- "refundable"
24007
+ "created"
23644
24008
  ],
23645
24009
  "type": "object",
23646
24010
  "properties": {
23647
24011
  "id": {
23648
24012
  "type": "integer",
23649
- "description": "ID of the category"
24013
+ "description": "ID of connection"
23650
24014
  },
23651
- "id_parent_category": {
24015
+ "id_connection": {
23652
24016
  "type": "integer",
23653
- "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
24017
+ "description": "ID of the related connection"
24018
+ },
24019
+ "id_connector_source": {
24020
+ "type": "integer",
24021
+ "description": "ID of the related connector source"
23654
24022
  },
23655
24023
  "name": {
23656
24024
  "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"
24025
+ "description": "Name of the connection source"
23662
24026
  },
23663
- "color": {
24027
+ "last_update": {
23664
24028
  "type": "string",
23665
- "description": "Color of the category"
24029
+ "description": "Last successful update",
24030
+ "format": "date-time"
23666
24031
  },
23667
- "id_parent_category_in_menu": {
23668
- "type": "integer",
23669
- "description": "ID of the parent category to be displayed"
24032
+ "disabled": {
24033
+ "type": "string",
24034
+ "description": "This source is not used to synchronize the connection",
24035
+ "format": "date-time"
23670
24036
  },
23671
- "name_displayed": {
24037
+ "created": {
24038
+ "default": "<function <lambda> at 0x7f8894cfe7d0>",
23672
24039
  "type": "string",
23673
- "description": "Displayed name, with HTML tags"
24040
+ "description": "Creation date of the connection source",
24041
+ "format": "date-time"
23674
24042
  },
23675
- "refundable": {
23676
- "type": "boolean",
23677
- "description": "This category accepts opposite sign of transactions"
24043
+ "state": {
24044
+ "type": "string",
24045
+ "description": "If the last update has failed, the state code"
23678
24046
  },
23679
- "id_user": {
23680
- "type": "integer",
23681
- "description": "If not null, this category is specific to a user"
24047
+ "access_expire": {
24048
+ "type": "string",
24049
+ "description": "Expiration date of the access",
24050
+ "format": "date-time"
23682
24051
  },
23683
- "id_logo": {
23684
- "type": "integer",
23685
- "description": "ID of the logo"
24052
+ "expire": {
24053
+ "type": "string",
24054
+ "description": "Expiration of the connection source. Used to purge the connection in case completion was not finished",
24055
+ "format": "date-time"
24056
+ },
24057
+ "next_try": {
24058
+ "type": "string",
24059
+ "description": "Date of next synchronization",
24060
+ "format": "date-time"
23686
24061
  }
23687
24062
  },
23688
24063
  "example": {
23689
24064
  "id": 0,
23690
- "id_parent_category": 0,
24065
+ "id_connection": 0,
24066
+ "id_connector_source": 0,
23691
24067
  "name": "",
23692
- "income": false,
23693
- "color": "",
23694
- "id_parent_category_in_menu": 0,
23695
- "name_displayed": "",
23696
- "refundable": false,
23697
- "id_user": 0,
23698
- "id_logo": 0
24068
+ "last_update": "2019-12-27 16:17:55.317583",
24069
+ "disabled": "2019-12-27 16:17:55.317658",
24070
+ "created": "<function <lambda> at 0x7f8894cfe7d0>",
24071
+ "state": "",
24072
+ "access_expire": "2019-12-27 16:17:55.317849",
24073
+ "expire": "2019-12-27 16:17:55.317911",
24074
+ "next_try": "2019-12-27 16:17:55.318118"
23699
24075
  }
23700
24076
  },
23701
- "Client": {
24077
+ "ConnectionLog": {
23702
24078
  "required": [
23703
24079
  "id",
23704
- "name",
23705
- "secret",
23706
- "redirect_uris",
23707
- "pro"
24080
+ "id_connection",
24081
+ "timestamp"
23708
24082
  ],
23709
24083
  "type": "object",
23710
24084
  "properties": {
23711
24085
  "id": {
23712
- "type": "integer"
24086
+ "type": "integer",
24087
+ "description": "ID of the log"
23713
24088
  },
23714
- "name": {
23715
- "default": "",
23716
- "type": "string"
24089
+ "id_user": {
24090
+ "type": "integer",
24091
+ "description": "ID of the user"
23717
24092
  },
23718
- "secret": {
23719
- "type": "string"
24093
+ "id_connection": {
24094
+ "type": "integer",
24095
+ "description": "ID of the connection"
23720
24096
  },
23721
- "public_key": {
23722
- "type": "string"
24097
+ "id_connector": {
24098
+ "type": "integer",
24099
+ "description": "ID of the connector"
23723
24100
  },
23724
- "private_key": {
23725
- "type": "string"
24101
+ "id_source": {
24102
+ "type": "integer",
24103
+ "description": "ID of the related connection source"
23726
24104
  },
23727
- "redirect_uris": {
23728
- "default": "",
23729
- "type": "string"
24105
+ "login": {
24106
+ "type": "string",
24107
+ "description": "bcrypt hash of the login"
23730
24108
  },
23731
- "pro": {
23732
- "default": false,
23733
- "type": "boolean",
23734
- "description": "Should the client display the company manager page."
24109
+ "error_uid": {
24110
+ "type": "string",
24111
+ "description": "MD5 hash of the exception backtrace"
23735
24112
  },
23736
- "id_logo": {
23737
- "type": "integer"
24113
+ "timestamp": {
24114
+ "default": "CURRENT_TIMESTAMP",
24115
+ "type": "string",
24116
+ "description": "Timestamp of log, when the synchronization has finished",
24117
+ "format": "date-time"
23738
24118
  },
23739
- "config": {
24119
+ "next_try": {
23740
24120
  "type": "string",
23741
- "description": "customizable config"
23742
- }
23743
- },
23744
- "example": {
23745
- "id": 0,
23746
- "name": "",
23747
- "secret": "",
23748
- "public_key": "",
23749
- "private_key": "",
23750
- "redirect_uris": "",
23751
- "pro": false,
23752
- "id_logo": 0
23753
- }
23754
- },
23755
- "File": {
23756
- "required": [
23757
- "id",
23758
- "content_type",
23759
- "filename",
23760
- "file_size"
23761
- ],
23762
- "type": "object",
23763
- "properties": {
23764
- "id": {
23765
- "type": "integer"
24121
+ "description": "If fail, the date represents the next try to connect",
24122
+ "format": "date-time"
23766
24123
  },
23767
- "content_type": {
23768
- "type": "string"
24124
+ "error": {
24125
+ "type": "string",
24126
+ "description": "If fail, contains the error code"
23769
24127
  },
23770
- "filename": {
23771
- "type": "string"
24128
+ "error_message": {
24129
+ "type": "string",
24130
+ "description": "If fail, error message received from connector"
23772
24131
  },
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": {
24132
+ "statut": {
23792
24133
  "type": "integer",
23793
- "description": "ID of the security"
24134
+ "description": "Status of user (1 = charged user)"
23794
24135
  },
23795
- "code": {
24136
+ "nb_accounts": {
24137
+ "type": "integer",
24138
+ "description": "In case of bank connection, number of accounts"
24139
+ },
24140
+ "start": {
23796
24141
  "type": "string",
23797
- "description": "ISIN code of the security"
24142
+ "description": "Timestamp when the synchronization has started",
24143
+ "format": "date-time"
23798
24144
  },
23799
- "name": {
24145
+ "worker": {
23800
24146
  "type": "string",
23801
- "description": "Name of the security"
24147
+ "description": "Worker used to do synchronization"
23802
24148
  },
23803
- "id_type": {
23804
- "type": "integer",
23805
- "description": "ID of the security type"
24149
+ "session_folder_id": {
24150
+ "type": "string",
24151
+ "description": "Session folder uid"
23806
24152
  },
23807
- "last_update": {
24153
+ "fields": {
23808
24154
  "type": "string",
23809
- "description": "Last update of the security",
23810
- "format": "date-time"
24155
+ "description": "Fields for connection in additionalInformationNeeded state with background option"
23811
24156
  }
23812
24157
  },
23813
24158
  "example": {
23814
24159
  "id": 0,
23815
- "code": "",
23816
- "name": "",
23817
- "id_type": 0,
23818
- "last_update": "2019-08-02 17:21:59.346961"
24160
+ "id_user": 0,
24161
+ "id_connection": 0,
24162
+ "id_connector": 0,
24163
+ "id_source": 0,
24164
+ "login": "",
24165
+ "error_uid": "",
24166
+ "timestamp": "CURRENT_TIMESTAMP",
24167
+ "next_try": "2019-08-02 17:21:59.374222",
24168
+ "error": "",
24169
+ "error_message": "",
24170
+ "statut": 0,
24171
+ "nb_accounts": 0,
24172
+ "start": "2019-08-02 17:21:59.374490",
24173
+ "worker": "",
24174
+ "session_folder_id": ""
23819
24175
  }
23820
24176
  },
23821
24177
  "Webhook": {
@@ -23995,302 +24351,275 @@
23995
24351
  "next_try": "2019-08-02 17:21:59.353228"
23996
24352
  }
23997
24353
  },
23998
- "DocumentType": {
24354
+ "TermsOfService": {
23999
24355
  "required": [
24000
24356
  "id",
24001
- "name",
24002
- "attacheable"
24357
+ "version",
24358
+ "created"
24003
24359
  ],
24004
24360
  "type": "object",
24005
24361
  "properties": {
24006
24362
  "id": {
24007
24363
  "type": "integer"
24008
24364
  },
24009
- "name": {
24365
+ "version": {
24010
24366
  "type": "string"
24011
24367
  },
24012
- "attacheable": {
24013
- "default": true,
24014
- "type": "boolean"
24368
+ "id_file": {
24369
+ "type": "integer"
24370
+ },
24371
+ "created": {
24372
+ "type": "string",
24373
+ "format": "date-time"
24374
+ },
24375
+ "deleted": {
24376
+ "type": "string",
24377
+ "format": "date-time"
24015
24378
  }
24016
24379
  },
24017
24380
  "example": {
24018
24381
  "id": 0,
24019
- "name": "",
24020
- "attacheable": true
24382
+ "version": "",
24383
+ "id_file": 0,
24384
+ "created": "2019-03-12 13:08:00.680453",
24385
+ "deleted": "2019-03-12 13:08:00.680558"
24021
24386
  }
24022
24387
  },
24023
- "HashTable": {
24388
+ "Category": {
24024
24389
  "required": [
24025
- "wording",
24026
- "income",
24027
- "display",
24028
- "nature"
24390
+ "id",
24391
+ "id_parent_category",
24392
+ "name",
24393
+ "color",
24394
+ "id_parent_category_in_menu",
24395
+ "refundable"
24029
24396
  ],
24030
24397
  "type": "object",
24031
24398
  "properties": {
24032
- "wording": {
24033
- "type": "string"
24399
+ "id": {
24400
+ "type": "integer",
24401
+ "description": "ID of the category"
24034
24402
  },
24035
- "income": {
24036
- "type": "boolean"
24403
+ "id_parent_category": {
24404
+ "type": "integer",
24405
+ "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
24037
24406
  },
24038
- "display": {
24039
- "default": true,
24040
- "type": "boolean"
24407
+ "name": {
24408
+ "type": "string",
24409
+ "description": "Name of the category"
24041
24410
  },
24042
- "nature": {
24043
- "type": "string"
24044
- }
24411
+ "income": {
24412
+ "type": "boolean",
24413
+ "description": "Is an income category. If null, this is both an income and an expense category"
24414
+ },
24415
+ "color": {
24416
+ "type": "string",
24417
+ "description": "Color of the category"
24418
+ },
24419
+ "id_parent_category_in_menu": {
24420
+ "type": "integer",
24421
+ "description": "ID of the parent category to be displayed"
24422
+ },
24423
+ "name_displayed": {
24424
+ "type": "string",
24425
+ "description": "Displayed name, with HTML tags"
24426
+ },
24427
+ "refundable": {
24428
+ "type": "boolean",
24429
+ "description": "This category accepts opposite sign of transactions"
24430
+ },
24431
+ "id_user": {
24432
+ "type": "integer",
24433
+ "description": "If not null, this category is specific to a user"
24434
+ },
24435
+ "id_logo": {
24436
+ "type": "integer",
24437
+ "description": "ID of the logo"
24438
+ }
24045
24439
  },
24046
24440
  "example": {
24047
- "wording": "",
24441
+ "id": 0,
24442
+ "id_parent_category": 0,
24443
+ "name": "",
24048
24444
  "income": false,
24049
- "display": true,
24050
- "nature": ""
24445
+ "color": "",
24446
+ "id_parent_category_in_menu": 0,
24447
+ "name_displayed": "",
24448
+ "refundable": false,
24449
+ "id_user": 0,
24450
+ "id_logo": 0
24051
24451
  }
24052
24452
  },
24053
- "Connection": {
24453
+ "Client": {
24054
24454
  "required": [
24055
24455
  "id",
24056
- "id_connector",
24057
- "active"
24456
+ "name",
24457
+ "secret",
24458
+ "redirect_uris",
24459
+ "pro"
24058
24460
  ],
24059
24461
  "type": "object",
24060
24462
  "properties": {
24061
24463
  "id": {
24062
- "type": "integer",
24063
- "description": "ID of connection"
24064
- },
24065
- "id_user": {
24066
- "type": "integer",
24067
- "description": "ID of the related user"
24068
- },
24069
- "id_connector": {
24070
- "type": "integer",
24071
- "description": "ID of the related connector"
24464
+ "type": "integer"
24072
24465
  },
24073
- "last_update": {
24074
- "type": "string",
24075
- "description": "Last successful update",
24076
- "format": "date-time"
24466
+ "name": {
24467
+ "default": "",
24468
+ "type": "string"
24077
24469
  },
24078
- "created": {
24079
- "default": "<function <lambda> at 0x7f8894ce1aa0>",
24080
- "type": "string",
24081
- "description": "Creation date",
24082
- "format": "date-time"
24470
+ "secret": {
24471
+ "type": "string"
24083
24472
  },
24084
- "error": {
24085
- "type": "string",
24086
- "description": "If the last update has failed, the error code"
24473
+ "public_key": {
24474
+ "type": "string"
24087
24475
  },
24088
- "error_message": {
24089
- "type": "string",
24090
- "description": "If fail, error message received from connector"
24476
+ "private_key": {
24477
+ "type": "string"
24091
24478
  },
24092
- "expire": {
24093
- "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"
24479
+ "redirect_uris": {
24480
+ "default": "",
24481
+ "type": "string"
24096
24482
  },
24097
- "active": {
24098
- "default": true,
24483
+ "pro": {
24484
+ "default": false,
24099
24485
  "type": "boolean",
24100
- "description": "This connection is active and will be automatically synced"
24486
+ "description": "Should the client display the company manager page."
24101
24487
  },
24102
- "last_push": {
24103
- "type": "string",
24104
- "description": "Last successful push",
24105
- "format": "date-time"
24488
+ "id_logo": {
24489
+ "type": "integer"
24106
24490
  },
24107
- "next_try": {
24491
+ "config": {
24108
24492
  "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
- }
24493
+ "description": "customizable config"
24494
+ }
24495
+ },
24496
+ "example": {
24497
+ "id": 0,
24498
+ "name": "",
24499
+ "secret": "",
24500
+ "public_key": "",
24501
+ "private_key": "",
24502
+ "redirect_uris": "",
24503
+ "pro": false,
24504
+ "id_logo": 0
24505
+ }
24506
+ },
24507
+ "File": {
24508
+ "required": [
24509
+ "id",
24510
+ "content_type",
24511
+ "filename",
24512
+ "file_size"
24513
+ ],
24514
+ "type": "object",
24515
+ "properties": {
24516
+ "id": {
24517
+ "type": "integer"
24123
24518
  },
24124
- "connection": {
24125
- "$ref": "#/definitions/Connection"
24519
+ "content_type": {
24520
+ "type": "string"
24126
24521
  },
24127
- "message": {
24522
+ "filename": {
24128
24523
  "type": "string"
24524
+ },
24525
+ "file_size": {
24526
+ "type": "integer"
24129
24527
  }
24130
24528
  },
24131
24529
  "example": {
24132
24530
  "id": 0,
24133
- "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"
24531
+ "content_type": "",
24532
+ "filename": "",
24533
+ "file_size": 0
24142
24534
  }
24143
24535
  },
24144
- "ConnectionLog": {
24536
+ "Security": {
24145
24537
  "required": [
24146
24538
  "id",
24147
- "id_connection",
24148
- "timestamp"
24539
+ "name"
24149
24540
  ],
24150
24541
  "type": "object",
24151
24542
  "properties": {
24152
24543
  "id": {
24153
24544
  "type": "integer",
24154
- "description": "ID of the log"
24545
+ "description": "ID of the security"
24155
24546
  },
24156
- "id_user": {
24547
+ "code": {
24548
+ "type": "string",
24549
+ "description": "ISIN code of the security"
24550
+ },
24551
+ "name": {
24552
+ "type": "string",
24553
+ "description": "Name of the security"
24554
+ },
24555
+ "id_type": {
24157
24556
  "type": "integer",
24158
- "description": "ID of the user"
24557
+ "description": "ID of the security type"
24159
24558
  },
24160
- "id_connection": {
24559
+ "last_update": {
24560
+ "type": "string",
24561
+ "description": "Last update of the security",
24562
+ "format": "date-time"
24563
+ }
24564
+ },
24565
+ "example": {
24566
+ "id": 0,
24567
+ "code": "",
24568
+ "name": "",
24569
+ "id_type": 0,
24570
+ "last_update": "2019-08-02 17:21:59.346961"
24571
+ }
24572
+ },
24573
+ "Transfer": {
24574
+ "description": "This is a representation of a transfer.",
24575
+ "required": [
24576
+ "id",
24577
+ "exec_date",
24578
+ "register_date",
24579
+ "amount",
24580
+ "state",
24581
+ "beneficiary_type"
24582
+ ],
24583
+ "type": "object",
24584
+ "properties": {
24585
+ "id": {
24161
24586
  "type": "integer",
24162
- "description": "ID of the connection"
24587
+ "description": "ID of transfer"
24163
24588
  },
24164
- "id_connector": {
24589
+ "id_account": {
24165
24590
  "type": "integer",
24166
- "description": "ID of the connector"
24591
+ "description": "ID of the debited account"
24167
24592
  },
24168
- "id_source": {
24593
+ "id_user": {
24169
24594
  "type": "integer",
24170
- "description": "ID of the related connection source"
24595
+ "description": "ID of the related user"
24171
24596
  },
24172
- "login": {
24173
- "type": "string",
24174
- "description": "bcrypt hash of the login"
24597
+ "id_recipient": {
24598
+ "type": "integer",
24599
+ "description": "ID of the recipient"
24175
24600
  },
24176
- "error_uid": {
24601
+ "account_iban": {
24177
24602
  "type": "string",
24178
- "description": "MD5 hash of the exception backtrace"
24603
+ "description": "IBAN of the debited account"
24179
24604
  },
24180
- "timestamp": {
24181
- "default": "CURRENT_TIMESTAMP",
24605
+ "recipient_iban": {
24182
24606
  "type": "string",
24183
- "description": "Timestamp of log, when the synchronization has finished",
24184
- "format": "date-time"
24607
+ "description": "IBAN of the recipient in bank recipient list"
24185
24608
  },
24186
- "next_try": {
24609
+ "exec_date": {
24187
24610
  "type": "string",
24188
- "description": "If fail, the date represents the next try to connect",
24189
- "format": "date-time"
24611
+ "description": "Date when the transfer will be operated by the bank",
24612
+ "format": "date"
24190
24613
  },
24191
- "error": {
24614
+ "register_date": {
24192
24615
  "type": "string",
24193
- "description": "If fail, contains the error code"
24616
+ "description": "Date when the transfer has been registered",
24617
+ "format": "date-time"
24194
24618
  },
24195
- "error_message": {
24196
- "type": "string",
24197
- "description": "If fail, error message received from connector"
24198
- },
24199
- "statut": {
24200
- "type": "integer",
24201
- "description": "Status of user (1 = charged user)"
24202
- },
24203
- "nb_accounts": {
24204
- "type": "integer",
24205
- "description": "In case of bank connection, number of accounts"
24206
- },
24207
- "start": {
24208
- "type": "string",
24209
- "description": "Timestamp when the synchronization has started",
24210
- "format": "date-time"
24211
- },
24212
- "worker": {
24213
- "type": "string",
24214
- "description": "Worker used to do synchronization"
24215
- },
24216
- "session_folder_id": {
24217
- "type": "string",
24218
- "description": "Session folder uid"
24219
- },
24220
- "fields": {
24221
- "type": "string",
24222
- "description": "Fields for connection in additionalInformationNeeded state with background option"
24223
- }
24224
- },
24225
- "example": {
24226
- "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": ""
24242
- }
24243
- },
24244
- "Transfer": {
24245
- "description": "This is a representation of a transfer.",
24246
- "required": [
24247
- "id",
24248
- "exec_date",
24249
- "register_date",
24250
- "amount",
24251
- "state",
24252
- "beneficiary_type"
24253
- ],
24254
- "type": "object",
24255
- "properties": {
24256
- "id": {
24257
- "type": "integer",
24258
- "description": "ID of transfer"
24259
- },
24260
- "id_account": {
24261
- "type": "integer",
24262
- "description": "ID of the debited account"
24263
- },
24264
- "id_user": {
24265
- "type": "integer",
24266
- "description": "ID of the related user"
24267
- },
24268
- "id_recipient": {
24269
- "type": "integer",
24270
- "description": "ID of the recipient"
24271
- },
24272
- "account_iban": {
24273
- "type": "string",
24274
- "description": "IBAN of the debited account"
24275
- },
24276
- "recipient_iban": {
24277
- "type": "string",
24278
- "description": "IBAN of the recipient in bank recipient list"
24279
- },
24280
- "exec_date": {
24281
- "type": "string",
24282
- "description": "Date when the transfer will be operated by the bank",
24283
- "format": "date"
24284
- },
24285
- "register_date": {
24286
- "type": "string",
24287
- "description": "Date when the transfer has been registered",
24288
- "format": "date-time"
24289
- },
24290
- "amount": {
24291
- "type": "number",
24292
- "description": "Amount of the transfer",
24293
- "format": "float"
24619
+ "amount": {
24620
+ "type": "number",
24621
+ "description": "Amount of the transfer",
24622
+ "format": "float"
24294
24623
  },
24295
24624
  "fees": {
24296
24625
  "type": "number",
@@ -24416,461 +24745,324 @@
24416
24745
  "refund_value": 0
24417
24746
  }
24418
24747
  },
24419
- "Certificate": {
24748
+ "OidcWhitelist": {
24420
24749
  "required": [
24421
24750
  "id",
24422
- "id_public_key_file",
24423
- "id_private_key_file",
24424
- "type",
24425
- "created"
24751
+ "redirect_uri"
24426
24752
  ],
24427
24753
  "type": "object",
24428
24754
  "properties": {
24429
24755
  "id": {
24430
24756
  "type": "integer"
24431
24757
  },
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": {
24758
+ "redirect_uri": {
24442
24759
  "type": "string",
24443
- "format": "date-time"
24760
+ "description": "authorized redirect uri"
24444
24761
  }
24445
24762
  },
24446
24763
  "example": {
24447
24764
  "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"
24765
+ "redirect_uri": ""
24452
24766
  }
24453
24767
  },
24454
- "ProjectType": {
24768
+ "HashTable": {
24455
24769
  "required": [
24456
- "id",
24457
- "name"
24770
+ "wording",
24771
+ "income",
24772
+ "display",
24773
+ "nature"
24458
24774
  ],
24459
24775
  "type": "object",
24460
24776
  "properties": {
24461
- "id": {
24462
- "type": "integer"
24463
- },
24464
- "name": {
24777
+ "wording": {
24465
24778
  "type": "string"
24466
24779
  },
24467
- "icon_url": {
24780
+ "income": {
24781
+ "type": "boolean"
24782
+ },
24783
+ "display": {
24784
+ "default": true,
24785
+ "type": "boolean"
24786
+ },
24787
+ "nature": {
24468
24788
  "type": "string"
24469
24789
  }
24470
24790
  },
24471
24791
  "example": {
24472
- "id": 0,
24473
- "name": "",
24474
- "icon_url": ""
24792
+ "wording": "",
24793
+ "income": false,
24794
+ "display": true,
24795
+ "nature": ""
24475
24796
  }
24476
24797
  },
24477
- "Access": {
24798
+ "Certificate": {
24478
24799
  "required": [
24479
24800
  "id",
24480
- "id_profile"
24801
+ "id_public_key_file",
24802
+ "id_private_key_file",
24803
+ "type",
24804
+ "created"
24481
24805
  ],
24482
24806
  "type": "object",
24483
24807
  "properties": {
24484
24808
  "id": {
24485
24809
  "type": "integer"
24486
24810
  },
24487
- "id_user": {
24488
- "type": "integer"
24489
- },
24490
- "id_profile": {
24811
+ "id_public_key_file": {
24491
24812
  "type": "integer"
24492
24813
  },
24493
- "id_role": {
24814
+ "id_private_key_file": {
24494
24815
  "type": "integer"
24495
24816
  },
24496
- "email": {
24817
+ "type": {
24497
24818
  "type": "string"
24819
+ },
24820
+ "created": {
24821
+ "type": "string",
24822
+ "format": "date-time"
24498
24823
  }
24499
24824
  },
24500
24825
  "example": {
24501
24826
  "id": 0,
24502
- "id_user": 0,
24503
- "id_profile": 0,
24504
- "id_role": 0,
24505
- "email": ""
24827
+ "id_public_key_file": 0,
24828
+ "id_private_key_file": 0,
24829
+ "type": "",
24830
+ "created": "2019-12-27 16:17:55.226500"
24506
24831
  }
24507
24832
  },
24508
- "Profile": {
24833
+ "Document": {
24509
24834
  "required": [
24510
24835
  "id",
24511
24836
  "id_user",
24512
- "role",
24513
- "email",
24514
- "statut",
24515
- "admin"
24837
+ "timestamp",
24838
+ "readonly",
24839
+ "has_file_on_website"
24516
24840
  ],
24517
24841
  "type": "object",
24518
24842
  "properties": {
24519
24843
  "id": {
24520
24844
  "type": "integer"
24521
24845
  },
24522
- "id_user": {
24846
+ "id_type": {
24523
24847
  "type": "integer"
24524
24848
  },
24525
- "role": {
24526
- "default": "admin",
24527
- "enum": [
24528
- "admin",
24529
- "ser"
24530
- ],
24531
- "type": "string"
24532
- },
24533
- "email": {
24534
- "type": "string"
24535
- },
24536
- "statut": {
24537
- "default": 0,
24849
+ "id_category": {
24538
24850
  "type": "integer"
24539
24851
  },
24540
- "admin": {
24541
- "default": false,
24542
- "type": "boolean"
24543
- },
24544
- "conf": {
24545
- "type": "string"
24546
- },
24547
- "lang": {
24548
- "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": {
24852
+ "id_user": {
24572
24853
  "type": "integer"
24573
24854
  },
24574
- "id_account": {
24855
+ "id_subscription": {
24575
24856
  "type": "integer"
24576
24857
  },
24577
- "mean_amount": {
24578
- "type": "number",
24579
- "format": "float"
24858
+ "id_file": {
24859
+ "type": "integer"
24580
24860
  },
24581
- "median_increment": {
24861
+ "id_thumbnail": {
24582
24862
  "type": "integer"
24583
24863
  },
24584
- "enabled": {
24585
- "default": true,
24586
- "type": "boolean"
24864
+ "name": {
24865
+ "type": "string"
24587
24866
  },
24588
- "next_date": {
24867
+ "timestamp": {
24868
+ "default": "CURRENT_TIMESTAMP",
24589
24869
  "type": "string",
24590
- "format": "date"
24870
+ "format": "date-time"
24591
24871
  },
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"
24872
+ "date": {
24873
+ "type": "string",
24874
+ "format": "date-time"
24631
24875
  },
24632
- "expense_max": {
24633
- "default": 500,
24634
- "type": "number",
24635
- "format": "float"
24876
+ "duedate": {
24877
+ "type": "string",
24878
+ "format": "date"
24636
24879
  },
24637
- "balance_min1": {
24638
- "default": 500,
24880
+ "total_amount": {
24639
24881
  "type": "number",
24640
24882
  "format": "float"
24641
24883
  },
24642
- "balance_min2": {
24643
- "default": 0,
24884
+ "untaxed_amount": {
24644
24885
  "type": "number",
24645
24886
  "format": "float"
24646
24887
  },
24647
- "balance_max": {
24648
- "default": 10000,
24888
+ "vat": {
24649
24889
  "type": "number",
24650
24890
  "format": "float"
24651
24891
  },
24652
- "resume_enabled": {
24892
+ "income": {
24653
24893
  "default": true,
24654
24894
  "type": "boolean"
24655
24895
  },
24656
- "enabled": {
24896
+ "readonly": {
24657
24897
  "default": true,
24658
24898
  "type": "boolean"
24659
24899
  },
24660
- "value_type": {
24661
- "default": "flat",
24662
- "type": "string"
24663
- },
24664
- "type": {
24665
- "default": "transactions",
24900
+ "number": {
24666
24901
  "type": "string"
24667
24902
  },
24668
- "transaction_types": {
24903
+ "issuer": {
24669
24904
  "type": "string"
24670
24905
  },
24671
- "date_range": {
24672
- "type": "integer"
24906
+ "last_update": {
24907
+ "type": "string",
24908
+ "description": "Last successful update of the document",
24909
+ "format": "date-time"
24673
24910
  },
24674
- "apply": {
24675
- "type": "string"
24911
+ "has_file_on_website": {
24912
+ "default": true,
24913
+ "type": "boolean",
24914
+ "description": "Boolean to set if file is available on website"
24676
24915
  },
24677
- "resume_frequency": {
24678
- "default": 7,
24679
- "type": "integer"
24916
+ "currency": {
24917
+ "type": "object",
24918
+ "description": "Document currency"
24680
24919
  }
24681
24920
  },
24682
24921
  "example": {
24683
24922
  "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
24923
+ "id_type": 0,
24924
+ "id_category": 0,
24925
+ "id_user": 0,
24926
+ "id_subscription": 0,
24927
+ "id_file": 0,
24928
+ "id_thumbnail": 0,
24929
+ "name": "",
24930
+ "timestamp": "CURRENT_TIMESTAMP",
24931
+ "date": "2019-08-02 17:21:59.435173",
24932
+ "duedate": "2019-08-02",
24933
+ "total_amount": 0,
24934
+ "untaxed_amount": 0,
24935
+ "vat": 0,
24936
+ "income": true,
24937
+ "readonly": true,
24938
+ "number": "",
24939
+ "issuer": "",
24940
+ "last_update": "2019-08-02 17:21:59.435734",
24941
+ "has_file_on_website": true,
24942
+ "currency": ""
24697
24943
  }
24698
24944
  },
24699
- "AccountType": {
24945
+ "TransferLog": {
24700
24946
  "required": [
24701
24947
  "id",
24702
- "name",
24703
- "is_invest",
24704
- "weboob_type_id",
24705
- "display_name_p",
24706
- "display_name"
24948
+ "timestamp"
24707
24949
  ],
24708
24950
  "type": "object",
24709
24951
  "properties": {
24710
24952
  "id": {
24711
24953
  "type": "integer",
24712
- "description": "ID of the account type"
24713
- },
24714
- "name": {
24715
- "type": "string",
24716
- "description": "Name of the account type"
24954
+ "description": "ID of the transfer log entry"
24717
24955
  },
24718
- "is_invest": {
24719
- "default": false,
24720
- "type": "boolean",
24721
- "description": "Is it an investment account"
24956
+ "id_transfer": {
24957
+ "type": "integer",
24958
+ "description": "ID of the related transfer"
24722
24959
  },
24723
- "weboob_type_id": {
24960
+ "id_file": {
24724
24961
  "type": "integer",
24725
- "description": "Map to the weboob_type_id"
24962
+ "description": "ID of the related file"
24726
24963
  },
24727
- "display_name_p": {
24964
+ "request_data": {
24728
24965
  "type": "string",
24729
- "description": "Name to display in plurial"
24966
+ "description": "Data stored related to user who has requested the transfer"
24730
24967
  },
24731
- "display_name": {
24968
+ "state": {
24732
24969
  "type": "string",
24733
- "description": "Name to display in singular"
24970
+ "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
24734
24971
  },
24735
- "color": {
24972
+ "error": {
24736
24973
  "type": "string",
24737
- "description": "Color of the account type (hexdecimal)"
24974
+ "description": "Error message during transfer, if any"
24738
24975
  },
24739
- "id_parent": {
24740
- "type": "integer",
24741
- "description": "Id of the parent type"
24976
+ "timestamp": {
24977
+ "default": "CURRENT_TIMESTAMP",
24978
+ "type": "string",
24979
+ "description": "Timestamp of the log",
24980
+ "format": "date-time"
24981
+ },
24982
+ "fields": {
24983
+ "type": "string",
24984
+ "description": "Fields for transfer in additionalInformationNeeded state with background option"
24742
24985
  }
24743
24986
  },
24744
24987
  "example": {
24745
24988
  "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
24989
+ "id_transfer": 0,
24990
+ "id_file": 0,
24991
+ "request_data": "",
24992
+ "state": "",
24993
+ "error": "",
24994
+ "timestamp": "CURRENT_TIMESTAMP"
24753
24995
  }
24754
24996
  },
24755
- "Subscription": {
24997
+ "TransactionInformation": {
24756
24998
  "required": [
24757
24999
  "id",
24758
- "number",
24759
- "label"
25000
+ "id_transaction",
25001
+ "key"
24760
25002
  ],
24761
25003
  "type": "object",
24762
25004
  "properties": {
24763
25005
  "id": {
24764
25006
  "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"
25007
+ "description": "ID of this transaction information"
24774
25008
  },
24775
- "id_source": {
25009
+ "id_transaction": {
24776
25010
  "type": "integer",
24777
- "description": "ID of the related connection source"
25011
+ "description": "ID of the related transaction"
24778
25012
  },
24779
- "number": {
25013
+ "key": {
24780
25014
  "type": "string",
24781
- "description": "Subscription's number"
25015
+ "description": "Key of the transaction information"
24782
25016
  },
24783
- "label": {
25017
+ "value": {
24784
25018
  "type": "string",
24785
- "description": "Label of the subscription"
25019
+ "description": "Value of the transaction information"
25020
+ }
25021
+ },
25022
+ "example": {
25023
+ "id": 0,
25024
+ "id_transaction": 0,
25025
+ "key": "",
25026
+ "value": ""
25027
+ }
25028
+ },
25029
+ "Transaction": {
25030
+ "required": [
25031
+ "id",
25032
+ "id_account",
25033
+ "date",
25034
+ "nature",
25035
+ "original_wording",
25036
+ "simplified_wording",
25037
+ "stemmed_wording",
25038
+ "state",
25039
+ "date_scraped",
25040
+ "rdate",
25041
+ "coming",
25042
+ "active"
25043
+ ],
25044
+ "type": "object",
25045
+ "properties": {
25046
+ "id": {
25047
+ "type": "integer",
25048
+ "description": "ID of the transaction"
24786
25049
  },
24787
- "subscriber": {
25050
+ "id_account": {
25051
+ "type": "integer",
25052
+ "description": "ID of the related account"
25053
+ },
25054
+ "webid": {
24788
25055
  "type": "string",
24789
- "description": "Name of the subscriber"
25056
+ "description": "Webid of the transaction"
24790
25057
  },
24791
- "validity": {
25058
+ "application_date": {
24792
25059
  "type": "string",
24793
- "description": "The subscription is valid until this date, if any",
25060
+ "description": "Date considered by PFM services. It is used to change the month of a transaction, for example.",
24794
25061
  "format": "date"
24795
25062
  },
24796
- "renewdate": {
25063
+ "date": {
24797
25064
  "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"
24819
- }
24820
- },
24821
- "example": {
24822
- "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": ""
24835
- }
24836
- },
24837
- "Transaction": {
24838
- "required": [
24839
- "id",
24840
- "id_account",
24841
- "date",
24842
- "nature",
24843
- "original_wording",
24844
- "simplified_wording",
24845
- "stemmed_wording",
24846
- "state",
24847
- "date_scraped",
24848
- "rdate",
24849
- "coming",
24850
- "active"
24851
- ],
24852
- "type": "object",
24853
- "properties": {
24854
- "id": {
24855
- "type": "integer",
24856
- "description": "ID of the transaction"
24857
- },
24858
- "id_account": {
24859
- "type": "integer",
24860
- "description": "ID of the related account"
24861
- },
24862
- "webid": {
24863
- "type": "string",
24864
- "description": "Webid of the transaction"
24865
- },
24866
- "application_date": {
24867
- "type": "string",
24868
- "description": "Date considered by PFM services. It is used to change the month of a transaction, for example.",
24869
- "format": "date"
24870
- },
24871
- "date": {
24872
- "type": "string",
24873
- "description": "Debit date",
25065
+ "description": "Debit date",
24874
25066
  "format": "date"
24875
25067
  },
24876
25068
  "value": {
@@ -24987,45 +25179,406 @@
24987
25179
  "type": "string",
24988
25180
  "description": "Original country"
24989
25181
  },
24990
- "counterparty": {
24991
- "type": "string",
24992
- "description": "Counterparty"
25182
+ "counterparty": {
25183
+ "type": "string",
25184
+ "description": "Counterparty"
25185
+ },
25186
+ "card": {
25187
+ "type": "string",
25188
+ "description": "Card number associated to the transaction"
25189
+ }
25190
+ },
25191
+ "example": {
25192
+ "id": 0,
25193
+ "id_account": 0,
25194
+ "webid": "",
25195
+ "application_date": "2019-08-02",
25196
+ "date": "2019-08-02",
25197
+ "value": 0,
25198
+ "gross_value": 0,
25199
+ "nature": "inconnu",
25200
+ "wording": "",
25201
+ "id_category": 0,
25202
+ "state": "new",
25203
+ "date_scraped": "2019-08-02 17:21:59.425220",
25204
+ "rdate": "2019-08-02",
25205
+ "vdate": "2019-08-02",
25206
+ "bdate": "2019-08-02",
25207
+ "coming": false,
25208
+ "active": true,
25209
+ "id_cluster": 0,
25210
+ "comment": "",
25211
+ "last_update": "2019-08-02 17:21:59.425674",
25212
+ "deleted": "2019-08-02 17:21:59.425732",
25213
+ "original_value": 0,
25214
+ "original_gross_value": 0,
25215
+ "original_currency": "",
25216
+ "commission": 0,
25217
+ "commission_currency": "",
25218
+ "country": "",
25219
+ "counterparty": "",
25220
+ "card": ""
25221
+ }
25222
+ },
25223
+ "InvestmentValue": {
25224
+ "required": [
25225
+ "id",
25226
+ "id_investment",
25227
+ "vdate",
25228
+ "unitvalue"
25229
+ ],
25230
+ "type": "object",
25231
+ "properties": {
25232
+ "id": {
25233
+ "type": "integer",
25234
+ "description": "ID of the value"
25235
+ },
25236
+ "id_investment": {
25237
+ "type": "integer",
25238
+ "description": "ID of the related investment"
25239
+ },
25240
+ "vdate": {
25241
+ "type": "string",
25242
+ "description": "Date of this value",
25243
+ "format": "date"
25244
+ },
25245
+ "unitvalue": {
25246
+ "type": "number",
25247
+ "description": "Value on this date",
25248
+ "format": "float"
25249
+ },
25250
+ "original_currency": {
25251
+ "type": "object",
25252
+ "description": "Original currency"
25253
+ },
25254
+ "original_unitvalue": {
25255
+ "type": "number",
25256
+ "description": "Value on this date, in the original currency",
25257
+ "format": "float"
25258
+ }
25259
+ },
25260
+ "example": {
25261
+ "id": 0,
25262
+ "id_investment": 0,
25263
+ "vdate": "2019-08-02",
25264
+ "unitvalue": 0,
25265
+ "original_currency": "",
25266
+ "original_unitvalue": 0
25267
+ }
25268
+ },
25269
+ "Pocket": {
25270
+ "required": [
25271
+ "id",
25272
+ "id_account",
25273
+ "id_investment",
25274
+ "value",
25275
+ "condition"
25276
+ ],
25277
+ "type": "object",
25278
+ "properties": {
25279
+ "id": {
25280
+ "type": "integer",
25281
+ "description": "ID of the pocket"
25282
+ },
25283
+ "id_account": {
25284
+ "type": "integer",
25285
+ "description": "ID of the related account"
25286
+ },
25287
+ "id_investment": {
25288
+ "type": "integer",
25289
+ "description": "ID of the related investment"
25290
+ },
25291
+ "label": {
25292
+ "type": "string",
25293
+ "description": "Label of the pocket"
25294
+ },
25295
+ "value": {
25296
+ "type": "number",
25297
+ "description": "Value of the pocket",
25298
+ "format": "float"
25299
+ },
25300
+ "quantity": {
25301
+ "default": 0,
25302
+ "type": "number",
25303
+ "description": "Quantity of stocks",
25304
+ "format": "float"
25305
+ },
25306
+ "availability_date": {
25307
+ "type": "string",
25308
+ "description": "Availability date of the pocket",
25309
+ "format": "date"
25310
+ },
25311
+ "condition": {
25312
+ "default": "inconnu",
25313
+ "type": "string",
25314
+ "description": "Withdrawal condition of the pocket"
25315
+ },
25316
+ "last_update": {
25317
+ "type": "string",
25318
+ "description": "Last update of the pocket",
25319
+ "format": "date-time"
25320
+ },
25321
+ "deleted": {
25322
+ "type": "string",
25323
+ "description": "If set, this pocket has been removed from the website",
25324
+ "format": "date-time"
25325
+ }
25326
+ },
25327
+ "example": {
25328
+ "id": 0,
25329
+ "id_account": 0,
25330
+ "id_investment": 0,
25331
+ "label": "",
25332
+ "value": 0,
25333
+ "quantity": 0,
25334
+ "availability_date": "2019-08-02",
25335
+ "condition": "inconnu",
25336
+ "last_update": "2019-08-02 17:21:59.448433",
25337
+ "deleted": "2019-08-02 17:21:59.448498"
25338
+ }
25339
+ },
25340
+ "RecipientLog": {
25341
+ "required": [
25342
+ "id",
25343
+ "timestamp"
25344
+ ],
25345
+ "type": "object",
25346
+ "properties": {
25347
+ "id": {
25348
+ "type": "integer",
25349
+ "description": "ID of the transfer log entry"
25350
+ },
25351
+ "id_recipient": {
25352
+ "type": "integer",
25353
+ "description": "ID of the related recipient"
25354
+ },
25355
+ "id_file": {
25356
+ "type": "integer",
25357
+ "description": "ID of the related file"
25358
+ },
25359
+ "request_data": {
25360
+ "type": "string",
25361
+ "description": "Data stored related to user who has requested the recipient addition"
25362
+ },
25363
+ "step": {
25364
+ "type": "string",
25365
+ "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
25366
+ },
25367
+ "error": {
25368
+ "type": "string",
25369
+ "description": "Error message during recipient addition, if any"
25370
+ },
25371
+ "timestamp": {
25372
+ "default": "CURRENT_TIMESTAMP",
25373
+ "type": "string",
25374
+ "description": "Timestamp of the log",
25375
+ "format": "date-time"
25376
+ },
25377
+ "fields": {
25378
+ "type": "string",
25379
+ "description": "Fields for recipient in additionalInformationNeeded state with background option"
25380
+ }
25381
+ },
25382
+ "example": {
25383
+ "id": 0,
25384
+ "id_recipient": 0,
25385
+ "id_file": 0,
25386
+ "request_data": "",
25387
+ "step": "",
25388
+ "error": "",
25389
+ "timestamp": "CURRENT_TIMESTAMP"
25390
+ }
25391
+ },
25392
+ "SubscriptionLog": {
25393
+ "required": [
25394
+ "id",
25395
+ "id_subscription",
25396
+ "timestamp"
25397
+ ],
25398
+ "type": "object",
25399
+ "properties": {
25400
+ "id": {
25401
+ "type": "integer",
25402
+ "description": "ID of the log"
25403
+ },
25404
+ "id_subscription": {
25405
+ "type": "integer",
25406
+ "description": "ID of the related subscription"
25407
+ },
25408
+ "timestamp": {
25409
+ "default": "CURRENT_TIMESTAMP",
25410
+ "type": "string",
25411
+ "description": "Timestamp of log",
25412
+ "format": "date-time"
25413
+ },
25414
+ "nb_docs": {
25415
+ "type": "integer",
25416
+ "description": "Number of docs on the subscription"
25417
+ },
25418
+ "id_connection_log": {
25419
+ "type": "integer",
25420
+ "description": "ID of the related connection log"
25421
+ },
25422
+ "error": {
25423
+ "type": "string",
25424
+ "description": "If fail, contains the error code"
25425
+ },
25426
+ "error_message": {
25427
+ "type": "string",
25428
+ "description": "If fail, error message received from provider"
25429
+ },
25430
+ "id_source": {
25431
+ "type": "integer",
25432
+ "description": "ID of the related connection source"
25433
+ }
25434
+ },
25435
+ "example": {
25436
+ "id": 0,
25437
+ "id_subscription": 0,
25438
+ "timestamp": "CURRENT_TIMESTAMP",
25439
+ "nb_docs": 0,
25440
+ "id_connection_log": 0,
25441
+ "error": "",
25442
+ "error_message": "",
25443
+ "id_source": 0
25444
+ }
25445
+ },
25446
+ "TransactionsCluster": {
25447
+ "required": [
25448
+ "id",
25449
+ "id_account",
25450
+ "mean_amount",
25451
+ "enabled",
25452
+ "wording"
25453
+ ],
25454
+ "type": "object",
25455
+ "properties": {
25456
+ "id": {
25457
+ "type": "integer"
25458
+ },
25459
+ "id_account": {
25460
+ "type": "integer"
25461
+ },
25462
+ "mean_amount": {
25463
+ "type": "number",
25464
+ "format": "float"
25465
+ },
25466
+ "median_increment": {
25467
+ "type": "integer"
25468
+ },
25469
+ "enabled": {
25470
+ "default": true,
25471
+ "type": "boolean"
25472
+ },
25473
+ "next_date": {
25474
+ "type": "string",
25475
+ "format": "date"
25476
+ },
25477
+ "wording": {
25478
+ "type": "string"
25479
+ },
25480
+ "id_category": {
25481
+ "type": "integer"
25482
+ },
25483
+ "created_by": {
25484
+ "type": "string"
25485
+ }
25486
+ },
25487
+ "example": {
25488
+ "id": 0,
25489
+ "id_account": 0,
25490
+ "mean_amount": 0,
25491
+ "median_increment": 0,
25492
+ "enabled": true,
25493
+ "next_date": "2019-08-02",
25494
+ "wording": "",
25495
+ "id_category": 0,
25496
+ "created_by": ""
25497
+ }
25498
+ },
25499
+ "UserAlert": {
25500
+ "description": "/!\\ Careful we use default value from database if present\n\n For more information see AlertsPlugin.init",
25501
+ "required": [
25502
+ "id",
25503
+ "value_type",
25504
+ "type",
25505
+ "resume_frequency"
25506
+ ],
25507
+ "type": "object",
25508
+ "properties": {
25509
+ "id": {
25510
+ "type": "integer"
25511
+ },
25512
+ "income_max": {
25513
+ "default": 500,
25514
+ "type": "number",
25515
+ "format": "float"
25516
+ },
25517
+ "expense_max": {
25518
+ "default": 500,
25519
+ "type": "number",
25520
+ "format": "float"
25521
+ },
25522
+ "balance_min1": {
25523
+ "default": 500,
25524
+ "type": "number",
25525
+ "format": "float"
25526
+ },
25527
+ "balance_min2": {
25528
+ "default": 0,
25529
+ "type": "number",
25530
+ "format": "float"
25531
+ },
25532
+ "balance_max": {
25533
+ "default": 10000,
25534
+ "type": "number",
25535
+ "format": "float"
25536
+ },
25537
+ "resume_enabled": {
25538
+ "default": true,
25539
+ "type": "boolean"
25540
+ },
25541
+ "enabled": {
25542
+ "default": true,
25543
+ "type": "boolean"
25544
+ },
25545
+ "value_type": {
25546
+ "default": "flat",
25547
+ "type": "string"
25548
+ },
25549
+ "type": {
25550
+ "default": "transactions",
25551
+ "type": "string"
25552
+ },
25553
+ "transaction_types": {
25554
+ "type": "string"
25555
+ },
25556
+ "date_range": {
25557
+ "type": "integer"
25558
+ },
25559
+ "apply": {
25560
+ "type": "string"
24993
25561
  },
24994
- "card": {
24995
- "type": "string",
24996
- "description": "Card number associated to the transaction"
25562
+ "resume_frequency": {
25563
+ "default": 7,
25564
+ "type": "integer"
24997
25565
  }
24998
25566
  },
24999
25567
  "example": {
25000
25568
  "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": ""
25569
+ "income_max": 500,
25570
+ "expense_max": 500,
25571
+ "balance_min1": 500,
25572
+ "balance_min2": 0,
25573
+ "balance_max": 10000,
25574
+ "resume_enabled": true,
25575
+ "enabled": true,
25576
+ "value_type": "flat",
25577
+ "type": "transactions",
25578
+ "transaction_types": "",
25579
+ "date_range": 0,
25580
+ "apply": "",
25581
+ "resume_frequency": 7
25029
25582
  }
25030
25583
  },
25031
25584
  "Investment": {
@@ -25294,116 +25847,180 @@
25294
25847
  "currency": ""
25295
25848
  }
25296
25849
  },
25297
- "Document": {
25850
+ "AccountLog": {
25298
25851
  "required": [
25299
25852
  "id",
25300
- "id_user",
25301
- "timestamp",
25302
- "readonly",
25303
- "has_file_on_website"
25853
+ "id_account",
25854
+ "balance",
25855
+ "timestamp"
25304
25856
  ],
25305
25857
  "type": "object",
25306
25858
  "properties": {
25307
25859
  "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"
25860
+ "type": "integer",
25861
+ "description": "ID of the log"
25318
25862
  },
25319
- "id_subscription": {
25320
- "type": "integer"
25863
+ "id_account": {
25864
+ "type": "integer",
25865
+ "description": "ID of the related account"
25321
25866
  },
25322
- "id_file": {
25323
- "type": "integer"
25867
+ "id_connector": {
25868
+ "type": "integer",
25869
+ "description": "provider id"
25324
25870
  },
25325
- "id_thumbnail": {
25326
- "type": "integer"
25871
+ "balance": {
25872
+ "type": "number",
25873
+ "description": "Balanced recorded",
25874
+ "format": "float"
25327
25875
  },
25328
- "name": {
25329
- "type": "string"
25876
+ "coming": {
25877
+ "default": 0,
25878
+ "type": "number",
25879
+ "description": "Coming debit recorded",
25880
+ "format": "float"
25330
25881
  },
25331
25882
  "timestamp": {
25332
25883
  "default": "CURRENT_TIMESTAMP",
25333
25884
  "type": "string",
25885
+ "description": "Timestamp of log",
25334
25886
  "format": "date-time"
25335
25887
  },
25336
- "date": {
25888
+ "error": {
25337
25889
  "type": "string",
25338
- "format": "date-time"
25890
+ "description": "If fail, contains the error code"
25339
25891
  },
25340
- "duedate": {
25892
+ "error_message": {
25341
25893
  "type": "string",
25342
- "format": "date"
25894
+ "description": "If fail, error message received from bank or provider"
25343
25895
  },
25344
- "total_amount": {
25345
- "type": "number",
25346
- "format": "float"
25896
+ "id_connection_log": {
25897
+ "type": "integer",
25898
+ "description": "ID of the related connection log"
25899
+ }
25900
+ },
25901
+ "example": {
25902
+ "id": 0,
25903
+ "id_account": 0,
25904
+ "id_connector": 0,
25905
+ "balance": 0,
25906
+ "coming": 0,
25907
+ "timestamp": "CURRENT_TIMESTAMP",
25908
+ "error": "",
25909
+ "error_message": "",
25910
+ "id_connection_log": 0
25911
+ }
25912
+ },
25913
+ "Access": {
25914
+ "required": [
25915
+ "id",
25916
+ "id_profile"
25917
+ ],
25918
+ "type": "object",
25919
+ "properties": {
25920
+ "id": {
25921
+ "type": "integer"
25347
25922
  },
25348
- "untaxed_amount": {
25349
- "type": "number",
25350
- "format": "float"
25923
+ "id_user": {
25924
+ "type": "integer"
25351
25925
  },
25352
- "vat": {
25353
- "type": "number",
25354
- "format": "float"
25926
+ "id_profile": {
25927
+ "type": "integer"
25355
25928
  },
25356
- "income": {
25357
- "default": true,
25358
- "type": "boolean"
25929
+ "id_role": {
25930
+ "type": "integer"
25359
25931
  },
25360
- "readonly": {
25361
- "default": true,
25362
- "type": "boolean"
25932
+ "email": {
25933
+ "type": "string"
25934
+ }
25935
+ },
25936
+ "example": {
25937
+ "id": 0,
25938
+ "id_user": 0,
25939
+ "id_profile": 0,
25940
+ "id_role": 0,
25941
+ "email": ""
25942
+ }
25943
+ },
25944
+ "Subscription": {
25945
+ "required": [
25946
+ "id",
25947
+ "number",
25948
+ "label"
25949
+ ],
25950
+ "type": "object",
25951
+ "properties": {
25952
+ "id": {
25953
+ "type": "integer",
25954
+ "description": "ID of subscription"
25955
+ },
25956
+ "id_connection": {
25957
+ "type": "integer",
25958
+ "description": "ID of related connection"
25959
+ },
25960
+ "id_user": {
25961
+ "type": "integer",
25962
+ "description": "ID of related user"
25963
+ },
25964
+ "id_source": {
25965
+ "type": "integer",
25966
+ "description": "ID of the related connection source"
25363
25967
  },
25364
25968
  "number": {
25365
- "type": "string"
25969
+ "type": "string",
25970
+ "description": "Subscription's number"
25366
25971
  },
25367
- "issuer": {
25368
- "type": "string"
25972
+ "label": {
25973
+ "type": "string",
25974
+ "description": "Label of the subscription"
25975
+ },
25976
+ "subscriber": {
25977
+ "type": "string",
25978
+ "description": "Name of the subscriber"
25979
+ },
25980
+ "validity": {
25981
+ "type": "string",
25982
+ "description": "The subscription is valid until this date, if any",
25983
+ "format": "date"
25984
+ },
25985
+ "renewdate": {
25986
+ "type": "string",
25987
+ "description": "Next renew date, if any",
25988
+ "format": "date"
25369
25989
  },
25370
25990
  "last_update": {
25371
25991
  "type": "string",
25372
- "description": "Last successful update of the document",
25992
+ "description": "Last successful update of the subscription",
25373
25993
  "format": "date-time"
25374
25994
  },
25375
- "has_file_on_website": {
25376
- "default": true,
25377
- "type": "boolean",
25378
- "description": "Boolean to set if file is available on website"
25995
+ "deleted": {
25996
+ "type": "string",
25997
+ "description": "This subscription is not found on the website anymore",
25998
+ "format": "date-time"
25379
25999
  },
25380
- "currency": {
25381
- "type": "object",
25382
- "description": "Document currency"
26000
+ "disabled": {
26001
+ "type": "string",
26002
+ "description": "This subscription has been deleted by user and will not be synchronized anymore",
26003
+ "format": "date-time"
26004
+ },
26005
+ "error": {
26006
+ "type": "string",
26007
+ "description": "If the last update has failed, the error code"
25383
26008
  }
25384
26009
  },
25385
26010
  "example": {
25386
26011
  "id": 0,
25387
- "id_type": 0,
25388
- "id_category": 0,
26012
+ "id_connection": 0,
25389
26013
  "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,
26014
+ "id_source": 0,
25402
26015
  "number": "",
25403
- "issuer": "",
25404
- "last_update": "2019-08-02 17:21:59.435734",
25405
- "has_file_on_website": true,
25406
- "currency": ""
26016
+ "label": "",
26017
+ "subscriber": "",
26018
+ "validity": "2019-08-02",
26019
+ "renewdate": "2019-08-02",
26020
+ "last_update": "2019-08-02 17:21:59.421714",
26021
+ "deleted": "2019-08-02 17:21:59.421772",
26022
+ "disabled": "2019-08-02 17:21:59.421828",
26023
+ "error": ""
25407
26024
  }
25408
26025
  },
25409
26026
  "Account": {
@@ -25516,6 +26133,12 @@
25516
26133
  "$ref": "#/definitions/Transaction"
25517
26134
  }
25518
26135
  },
26136
+ "transfers": {
26137
+ "type": "array",
26138
+ "items": {
26139
+ "$ref": "#/definitions/Transfer"
26140
+ }
26141
+ },
25519
26142
  "error": {
25520
26143
  "type": "string",
25521
26144
  "description": "If the last update has failed, the error code"
@@ -25535,679 +26158,365 @@
25535
26158
  },
25536
26159
  "example": {
25537
26160
  "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,
26161
+ "id_connection": 0,
25787
26162
  "id_user": 0,
25788
- "timestamp": "CURRENT_TIMESTAMP",
25789
- "type": "",
25790
- "id_transaction": 0,
25791
- "id_account": 0,
25792
- "value": 0,
25793
- "id_investment": 0
26163
+ "id_source": 0,
26164
+ "id_parent": 0,
26165
+ "number": "",
26166
+ "webid": "",
26167
+ "original_name": "",
26168
+ "balance": 0,
26169
+ "coming": 0,
26170
+ "display": true,
26171
+ "last_update": "2019-08-02 17:21:59.440223",
26172
+ "deleted": "2019-08-02 17:21:59.440285",
26173
+ "disabled": "2019-08-02 17:21:59.440342",
26174
+ "iban": "",
26175
+ "currency": "",
26176
+ "id_type": 0,
26177
+ "bookmarked": false,
26178
+ "name": "",
26179
+ "error": "",
26180
+ "usage": "",
26181
+ "ownership": "",
26182
+ "company_name": ""
25794
26183
  }
25795
26184
  },
25796
- "Group": {
26185
+ "Profile": {
25797
26186
  "required": [
25798
- "id"
26187
+ "id",
26188
+ "id_user",
26189
+ "role",
26190
+ "email",
26191
+ "statut",
26192
+ "admin"
25799
26193
  ],
25800
26194
  "type": "object",
25801
26195
  "properties": {
25802
26196
  "id": {
25803
26197
  "type": "integer"
25804
26198
  },
25805
- "id_parent_group": {
25806
- "type": "integer"
25807
- },
25808
- "id_logo": {
26199
+ "id_user": {
25809
26200
  "type": "integer"
25810
26201
  },
25811
- "name": {
26202
+ "role": {
26203
+ "default": "admin",
26204
+ "enum": [
26205
+ "admin",
26206
+ "ser"
26207
+ ],
25812
26208
  "type": "string"
25813
26209
  },
25814
- "url": {
26210
+ "email": {
25815
26211
  "type": "string"
25816
26212
  },
25817
- "color": {
25818
- "type": "string"
26213
+ "statut": {
26214
+ "default": 0,
26215
+ "type": "integer"
25819
26216
  },
25820
- "email": {
25821
- "type": "string"
26217
+ "admin": {
26218
+ "default": false,
26219
+ "type": "boolean"
25822
26220
  },
25823
26221
  "conf": {
25824
26222
  "type": "string"
26223
+ },
26224
+ "lang": {
26225
+ "type": "string"
25825
26226
  }
25826
26227
  },
25827
26228
  "example": {
25828
26229
  "id": 0,
25829
- "id_parent_group": 0,
25830
- "id_logo": 0,
25831
- "name": "",
25832
- "url": "",
25833
- "color": "",
25834
- "email": "",
25835
- "conf": ""
26230
+ "id_user": 0,
26231
+ "role": "admin",
26232
+ "statut": 0,
26233
+ "admin": false,
26234
+ "conf": "",
26235
+ "lang": ""
25836
26236
  }
25837
26237
  },
25838
- "TransferLog": {
26238
+ "AccountType": {
25839
26239
  "required": [
25840
26240
  "id",
25841
- "timestamp"
26241
+ "name",
26242
+ "is_invest",
26243
+ "weboob_type_id",
26244
+ "display_name_p",
26245
+ "display_name"
25842
26246
  ],
25843
26247
  "type": "object",
25844
26248
  "properties": {
25845
26249
  "id": {
25846
26250
  "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"
26251
+ "description": "ID of the account type"
25856
26252
  },
25857
- "request_data": {
26253
+ "name": {
25858
26254
  "type": "string",
25859
- "description": "Data stored related to user who has requested the transfer"
26255
+ "description": "Name of the account type"
25860
26256
  },
25861
- "state": {
25862
- "type": "string",
25863
- "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
26257
+ "is_invest": {
26258
+ "default": false,
26259
+ "type": "boolean",
26260
+ "description": "Is it an investment account"
25864
26261
  },
25865
- "error": {
25866
- "type": "string",
25867
- "description": "Error message during transfer, if any"
26262
+ "weboob_type_id": {
26263
+ "type": "integer",
26264
+ "description": "Map to the weboob_type_id"
25868
26265
  },
25869
- "timestamp": {
25870
- "default": "CURRENT_TIMESTAMP",
26266
+ "display_name_p": {
25871
26267
  "type": "string",
25872
- "description": "Timestamp of the log",
25873
- "format": "date-time"
26268
+ "description": "Name to display in plurial"
25874
26269
  },
25875
- "fields": {
26270
+ "display_name": {
25876
26271
  "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"
26272
+ "description": "Name to display in singular"
25905
26273
  },
25906
- "key": {
26274
+ "color": {
25907
26275
  "type": "string",
25908
- "description": "Key of the transaction information"
26276
+ "description": "Color of the account type (hexdecimal)"
25909
26277
  },
25910
- "value": {
25911
- "type": "string",
25912
- "description": "Value of the transaction information"
26278
+ "id_parent": {
26279
+ "type": "integer",
26280
+ "description": "Id of the parent type"
25913
26281
  }
25914
26282
  },
25915
26283
  "example": {
25916
26284
  "id": 0,
25917
- "id_transaction": 0,
25918
- "key": "",
25919
- "value": ""
26285
+ "name": "",
26286
+ "is_invest": false,
26287
+ "weboob_type_id": 0,
26288
+ "display_name_p": "",
26289
+ "display_name": "",
26290
+ "color": "",
26291
+ "id_parent": 0
25920
26292
  }
25921
26293
  },
25922
- "InvestmentValue": {
26294
+ "Project": {
25923
26295
  "required": [
25924
26296
  "id",
25925
- "id_investment",
25926
- "vdate",
25927
- "unitvalue"
26297
+ "id_user",
26298
+ "id_type",
26299
+ "name",
26300
+ "target",
26301
+ "saved",
26302
+ "monthly_savings",
26303
+ "comment",
26304
+ "active"
25928
26305
  ],
25929
26306
  "type": "object",
25930
26307
  "properties": {
25931
26308
  "id": {
25932
- "type": "integer",
25933
- "description": "ID of the value"
26309
+ "type": "integer"
25934
26310
  },
25935
- "id_investment": {
25936
- "type": "integer",
25937
- "description": "ID of the related investment"
26311
+ "id_user": {
26312
+ "type": "integer"
25938
26313
  },
25939
- "vdate": {
25940
- "type": "string",
25941
- "description": "Date of this value",
25942
- "format": "date"
26314
+ "id_type": {
26315
+ "type": "integer"
25943
26316
  },
25944
- "unitvalue": {
26317
+ "name": {
26318
+ "type": "string"
26319
+ },
26320
+ "target": {
25945
26321
  "type": "number",
25946
- "description": "Value on this date",
25947
26322
  "format": "float"
25948
26323
  },
25949
- "original_currency": {
25950
- "type": "object",
25951
- "description": "Original currency"
26324
+ "saved": {
26325
+ "default": 0,
26326
+ "type": "number",
26327
+ "format": "float"
25952
26328
  },
25953
- "original_unitvalue": {
26329
+ "monthly_savings": {
25954
26330
  "type": "number",
25955
- "description": "Value on this date, in the original currency",
25956
26331
  "format": "float"
26332
+ },
26333
+ "comment": {
26334
+ "default": "",
26335
+ "type": "string"
26336
+ },
26337
+ "active": {
26338
+ "default": true,
26339
+ "type": "boolean"
25957
26340
  }
25958
26341
  },
25959
26342
  "example": {
25960
26343
  "id": 0,
25961
- "id_investment": 0,
25962
- "vdate": "2019-08-02",
25963
- "unitvalue": 0,
25964
- "original_currency": "",
25965
- "original_unitvalue": 0
26344
+ "id_user": 0,
26345
+ "id_type": 0,
26346
+ "name": "",
26347
+ "target": 0,
26348
+ "saved": 0,
26349
+ "monthly_savings": 0,
26350
+ "comment": "",
26351
+ "active": true
25966
26352
  }
25967
26353
  },
25968
- "RecipientLog": {
26354
+ "Device": {
25969
26355
  "required": [
25970
26356
  "id",
25971
- "timestamp"
26357
+ "id_token",
26358
+ "type",
26359
+ "notification_token",
26360
+ "last_update",
26361
+ "version",
26362
+ "debug"
25972
26363
  ],
25973
26364
  "type": "object",
25974
26365
  "properties": {
25975
26366
  "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"
26367
+ "type": "integer"
25986
26368
  },
25987
- "request_data": {
25988
- "type": "string",
25989
- "description": "Data stored related to user who has requested the recipient addition"
26369
+ "id_token": {
26370
+ "type": "integer"
25990
26371
  },
25991
- "step": {
25992
- "type": "string",
25993
- "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
26372
+ "type": {
26373
+ "type": "string"
25994
26374
  },
25995
- "error": {
25996
- "type": "string",
25997
- "description": "Error message during recipient addition, if any"
26375
+ "notification_token": {
26376
+ "type": "string"
25998
26377
  },
25999
- "timestamp": {
26378
+ "last_update": {
26000
26379
  "default": "CURRENT_TIMESTAMP",
26001
26380
  "type": "string",
26002
- "description": "Timestamp of the log",
26003
26381
  "format": "date-time"
26004
26382
  },
26005
- "fields": {
26006
- "type": "string",
26007
- "description": "Fields for recipient in additionalInformationNeeded state with background option"
26383
+ "version": {
26384
+ "type": "string"
26385
+ },
26386
+ "debug": {
26387
+ "default": false,
26388
+ "type": "boolean"
26008
26389
  }
26009
26390
  },
26010
26391
  "example": {
26011
26392
  "id": 0,
26012
- "id_recipient": 0,
26013
- "id_file": 0,
26014
- "request_data": "",
26015
- "step": "",
26016
- "error": "",
26017
- "timestamp": "CURRENT_TIMESTAMP"
26393
+ "id_token": 0,
26394
+ "type": "",
26395
+ "notification_token": "",
26396
+ "last_update": "CURRENT_TIMESTAMP",
26397
+ "version": "",
26398
+ "debug": false
26018
26399
  }
26019
26400
  },
26020
- "SubscriptionLog": {
26401
+ "Group": {
26021
26402
  "required": [
26022
- "id",
26023
- "id_subscription",
26024
- "timestamp"
26403
+ "id"
26025
26404
  ],
26026
26405
  "type": "object",
26027
26406
  "properties": {
26028
26407
  "id": {
26029
- "type": "integer",
26030
- "description": "ID of the log"
26408
+ "type": "integer"
26031
26409
  },
26032
- "id_subscription": {
26033
- "type": "integer",
26034
- "description": "ID of the related subscription"
26410
+ "id_parent_group": {
26411
+ "type": "integer"
26035
26412
  },
26036
- "timestamp": {
26037
- "default": "CURRENT_TIMESTAMP",
26038
- "type": "string",
26039
- "description": "Timestamp of log",
26040
- "format": "date-time"
26413
+ "id_logo": {
26414
+ "type": "integer"
26041
26415
  },
26042
- "nb_docs": {
26043
- "type": "integer",
26044
- "description": "Number of docs on the subscription"
26416
+ "name": {
26417
+ "type": "string"
26045
26418
  },
26046
- "id_connection_log": {
26047
- "type": "integer",
26048
- "description": "ID of the related connection log"
26419
+ "url": {
26420
+ "type": "string"
26049
26421
  },
26050
- "error": {
26051
- "type": "string",
26052
- "description": "If fail, contains the error code"
26422
+ "color": {
26423
+ "type": "string"
26053
26424
  },
26054
- "error_message": {
26055
- "type": "string",
26056
- "description": "If fail, error message received from provider"
26425
+ "email": {
26426
+ "type": "string"
26057
26427
  },
26058
- "id_source": {
26059
- "type": "integer",
26060
- "description": "ID of the related connection source"
26428
+ "conf": {
26429
+ "type": "string"
26061
26430
  }
26062
26431
  },
26063
26432
  "example": {
26064
26433
  "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
26434
+ "id_parent_group": 0,
26435
+ "id_logo": 0,
26436
+ "name": "",
26437
+ "url": "",
26438
+ "color": "",
26439
+ "email": "",
26440
+ "conf": ""
26072
26441
  }
26073
26442
  },
26074
- "ConnectionSource": {
26443
+ "Alert": {
26075
26444
  "required": [
26076
26445
  "id",
26077
- "id_connection",
26078
- "id_connector_source",
26079
- "name",
26080
- "created"
26446
+ "id_user",
26447
+ "timestamp",
26448
+ "type",
26449
+ "value"
26081
26450
  ],
26082
26451
  "type": "object",
26083
26452
  "properties": {
26084
26453
  "id": {
26085
- "type": "integer",
26086
- "description": "ID of connection"
26087
- },
26088
- "id_connection": {
26089
- "type": "integer",
26090
- "description": "ID of the related connection"
26454
+ "type": "integer"
26091
26455
  },
26092
- "id_connector_source": {
26456
+ "id_user": {
26093
26457
  "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"
26458
+ "description": "ID of the related user"
26104
26459
  },
26105
- "disabled": {
26460
+ "timestamp": {
26461
+ "default": "CURRENT_TIMESTAMP",
26106
26462
  "type": "string",
26107
- "description": "This source is not used to synchronize the connection",
26463
+ "description": "Date of the alerts emission",
26108
26464
  "format": "date-time"
26109
26465
  },
26110
- "created": {
26111
- "default": "<function <lambda> at 0x7f8894cfe7d0>",
26466
+ "type": {
26112
26467
  "type": "string",
26113
- "description": "Creation date of the connection source",
26114
- "format": "date-time"
26468
+ "description": "Type of the alert"
26115
26469
  },
26116
- "state": {
26117
- "type": "string",
26118
- "description": "If the last update has failed, the state code"
26470
+ "id_transaction": {
26471
+ "type": "integer",
26472
+ "description": "ID of the related transaction"
26119
26473
  },
26120
- "access_expire": {
26121
- "type": "string",
26122
- "description": "Expiration date of the access",
26123
- "format": "date-time"
26474
+ "id_account": {
26475
+ "type": "integer",
26476
+ "description": "ID of the related account"
26124
26477
  },
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"
26478
+ "value": {
26479
+ "type": "number",
26480
+ "description": "Amount related to the alert",
26481
+ "format": "float"
26129
26482
  },
26130
- "next_try": {
26131
- "type": "string",
26132
- "description": "Date of next synchronization",
26133
- "format": "date-time"
26483
+ "id_investment": {
26484
+ "type": "integer",
26485
+ "description": "ID of the related investment"
26134
26486
  }
26135
26487
  },
26136
26488
  "example": {
26137
26489
  "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"
26490
+ "id_user": 0,
26491
+ "timestamp": "CURRENT_TIMESTAMP",
26492
+ "type": "",
26493
+ "id_transaction": 0,
26494
+ "id_account": 0,
26495
+ "value": 0,
26496
+ "id_investment": 0
26148
26497
  }
26149
26498
  },
26150
- "AccountLog": {
26499
+ "ProjectType": {
26151
26500
  "required": [
26152
26501
  "id",
26153
- "id_account",
26154
- "balance",
26155
- "timestamp"
26502
+ "name"
26156
26503
  ],
26157
26504
  "type": "object",
26158
26505
  "properties": {
26159
26506
  "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"
26507
+ "type": "integer"
26191
26508
  },
26192
- "error_message": {
26193
- "type": "string",
26194
- "description": "If fail, error message received from bank or provider"
26509
+ "name": {
26510
+ "type": "string"
26195
26511
  },
26196
- "id_connection_log": {
26197
- "type": "integer",
26198
- "description": "ID of the related connection log"
26512
+ "icon_url": {
26513
+ "type": "string"
26199
26514
  }
26200
26515
  },
26201
26516
  "example": {
26202
26517
  "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
26518
+ "name": "",
26519
+ "icon_url": ""
26211
26520
  }
26212
26521
  },
26213
26522
  "Currency": {
@@ -26350,24 +26659,29 @@
26350
26659
  "timestamp": "CURRENT_TIMESTAMP"
26351
26660
  }
26352
26661
  },
26353
- "OidcWhitelist": {
26662
+ "DocumentType": {
26354
26663
  "required": [
26355
26664
  "id",
26356
- "redirect_uri"
26665
+ "name",
26666
+ "attacheable"
26357
26667
  ],
26358
26668
  "type": "object",
26359
26669
  "properties": {
26360
26670
  "id": {
26361
26671
  "type": "integer"
26362
26672
  },
26363
- "redirect_uri": {
26364
- "type": "string",
26365
- "description": "authorized redirect uri"
26673
+ "name": {
26674
+ "type": "string"
26675
+ },
26676
+ "attacheable": {
26677
+ "default": true,
26678
+ "type": "boolean"
26366
26679
  }
26367
26680
  },
26368
26681
  "example": {
26369
26682
  "id": 0,
26370
- "redirect_uri": ""
26683
+ "name": "",
26684
+ "attacheable": true
26371
26685
  }
26372
26686
  }
26373
26687
  },