budgea_client 4.0.3 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +50 -5
  4. data/budgea_openapi.json +1888 -383
  5. data/docs/Account.md +2 -0
  6. data/docs/AccountLog.md +1 -0
  7. data/docs/AdministrationApi.md +366 -55
  8. data/docs/AuthenticationApi.md +15 -13
  9. data/docs/BanksApi.md +988 -194
  10. data/docs/Client.md +1 -1
  11. data/docs/Connection.md +2 -0
  12. data/docs/ConnectionLog.md +1 -0
  13. data/docs/ConnectionSource.md +18 -0
  14. data/docs/ConnectionsApi.md +618 -25
  15. data/docs/Connector.md +1 -1
  16. data/docs/ConnectorSource.md +15 -0
  17. data/docs/DocumentsApi.md +72 -72
  18. data/docs/Field.md +1 -0
  19. data/docs/InlineResponse20011.md +1 -1
  20. data/docs/InlineResponse20012.md +1 -1
  21. data/docs/InlineResponse20013.md +1 -1
  22. data/docs/InlineResponse20014.md +1 -1
  23. data/docs/InlineResponse20015.md +1 -1
  24. data/docs/InlineResponse20016.md +1 -1
  25. data/docs/InlineResponse20017.md +1 -1
  26. data/docs/InlineResponse20018.md +1 -1
  27. data/docs/InlineResponse20019.md +2 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/InlineResponse20031.md +1 -1
  30. data/docs/InlineResponse20032.md +1 -1
  31. data/docs/InlineResponse20033.md +1 -1
  32. data/docs/InlineResponse20034.md +1 -1
  33. data/docs/InlineResponse20035.md +1 -1
  34. data/docs/InlineResponse20036.md +1 -1
  35. data/docs/InlineResponse20037.md +1 -1
  36. data/docs/InlineResponse20038.md +1 -1
  37. data/docs/InlineResponse20039.md +1 -1
  38. data/docs/InlineResponse20040.md +1 -1
  39. data/docs/InlineResponse20041.md +9 -0
  40. data/docs/InlineResponse20042.md +9 -0
  41. data/docs/OIDCApi.md +3 -3
  42. data/docs/Order.md +14 -0
  43. data/docs/PFMApi.md +87 -39
  44. data/docs/ProvidersApi.md +979 -122
  45. data/docs/RecipientsApi.md +4 -4
  46. data/docs/Subscription.md +1 -0
  47. data/docs/SubscriptionLog.md +15 -0
  48. data/docs/TermsApi.md +3 -3
  49. data/docs/Transaction.md +1 -0
  50. data/docs/Transfer.md +5 -1
  51. data/docs/TransferApi.md +77 -0
  52. data/docs/TransfersApi.md +39 -39
  53. data/docs/UsersManagementApi.md +13 -13
  54. data/docs/WealthApi.md +24 -24
  55. data/lib/budgea_client.rb +7 -2
  56. data/lib/budgea_client/api/administration_api.rb +381 -71
  57. data/lib/budgea_client/api/authentication_api.rb +16 -13
  58. data/lib/budgea_client/api/banks_api.rb +1034 -211
  59. data/lib/budgea_client/api/connections_api.rb +648 -30
  60. data/lib/budgea_client/api/documents_api.rb +85 -85
  61. data/lib/budgea_client/api/oidc_api.rb +3 -3
  62. data/lib/budgea_client/api/pfm_api.rb +87 -40
  63. data/lib/budgea_client/api/providers_api.rb +1045 -151
  64. data/lib/budgea_client/api/recipients_api.rb +4 -4
  65. data/lib/budgea_client/api/terms_api.rb +3 -3
  66. data/lib/budgea_client/api/transfer_api.rb +94 -0
  67. data/lib/budgea_client/api/transfers_api.rb +39 -39
  68. data/lib/budgea_client/api/users_management_api.rb +14 -14
  69. data/lib/budgea_client/api/wealth_api.rb +25 -25
  70. data/lib/budgea_client/models/account.rb +24 -4
  71. data/lib/budgea_client/models/account_log.rb +16 -1
  72. data/lib/budgea_client/models/client.rb +11 -11
  73. data/lib/budgea_client/models/connection.rb +23 -4
  74. data/lib/budgea_client/models/connection_log.rb +11 -1
  75. data/lib/budgea_client/models/connection_source.rb +309 -0
  76. data/lib/budgea_client/models/connector.rb +18 -15
  77. data/lib/budgea_client/models/connector_source.rb +273 -0
  78. data/lib/budgea_client/models/field.rb +14 -4
  79. data/lib/budgea_client/models/inline_response_200_11.rb +18 -18
  80. data/lib/budgea_client/models/inline_response_200_12.rb +11 -11
  81. data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
  82. data/lib/budgea_client/models/inline_response_200_14.rb +18 -18
  83. data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
  84. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  85. data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
  86. data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
  87. data/lib/budgea_client/models/inline_response_200_19.rb +21 -11
  88. data/lib/budgea_client/models/inline_response_200_30.rb +18 -18
  89. data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
  90. data/lib/budgea_client/models/inline_response_200_32.rb +18 -18
  91. data/lib/budgea_client/models/inline_response_200_33.rb +18 -18
  92. data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
  93. data/lib/budgea_client/models/inline_response_200_35.rb +18 -18
  94. data/lib/budgea_client/models/inline_response_200_36.rb +18 -18
  95. data/lib/budgea_client/models/inline_response_200_37.rb +11 -11
  96. data/lib/budgea_client/models/inline_response_200_38.rb +18 -18
  97. data/lib/budgea_client/models/inline_response_200_39.rb +11 -11
  98. data/lib/budgea_client/models/inline_response_200_40.rb +18 -18
  99. data/lib/budgea_client/models/inline_response_200_41.rb +200 -0
  100. data/lib/budgea_client/models/inline_response_200_42.rb +200 -0
  101. data/lib/budgea_client/models/order.rb +259 -0
  102. data/lib/budgea_client/models/subscription.rb +11 -1
  103. data/lib/budgea_client/models/subscription_log.rb +269 -0
  104. data/lib/budgea_client/models/transaction.rb +11 -1
  105. data/lib/budgea_client/models/transfer.rb +49 -2
  106. data/lib/budgea_client/models/user.rb +2 -2
  107. data/lib/budgea_client/version.rb +1 -1
  108. data/original_budgea_openapi.json +1980 -351
  109. data/pkg/budgea_client-2.0.0.gem +0 -0
  110. data/pkg/budgea_client-3.0.1.gem +0 -0
  111. data/pkg/budgea_client-4.0.0.gem +0 -0
  112. data/spec/api/transfer_api_spec.rb +54 -0
  113. data/spec/models/connection_source_spec.rb +101 -0
  114. data/spec/models/connector_source_spec.rb +83 -0
  115. data/spec/models/inline_response_200_41_spec.rb +47 -0
  116. data/spec/models/inline_response_200_42_spec.rb +47 -0
  117. data/spec/models/order_spec.rb +77 -0
  118. data/spec/models/subscription_log_spec.rb +83 -0
  119. metadata +34 -9
  120. data/config.yaml +0 -15
  121. data/pkg/budgea_client-2.0.1.gem +0 -0
  122. data/pkg/budgea_client-2.0.2.gem +0 -0
  123. data/pkg/budgea_client-3.0.0.gem +0 -0
  124. data/pkg/budgea_client-4.0.1.gem +0 -0
  125. data/pkg/budgea_client-4.0.2.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a2738c7901ec082d6645b17bd87b0124cbbcbd929565ab2a440bfc249396b6e
4
- data.tar.gz: 926e89777bbb0757b24187b34dbd9312bca3a981a62b855b7879533adf2d7720
3
+ metadata.gz: d3df2d69bf7abbecb007ffd26f3a565e22d70dab912c50649658448180120d39
4
+ data.tar.gz: 7b314bdd99c3fc61ce01a5d63d1d4e277be4b0b52a516dd51ab4250c29aac67c
5
5
  SHA512:
6
- metadata.gz: b2a52cc0900f18be162dae4286ceb8df5be35ee047a952adb73d8d9f382931c39391bd6647bca3f4b3f262be47586942b3aa7dccae3a09bcbc940ee67ce2000a
7
- data.tar.gz: 1cc2f61c52b70c8682f44d2c932ab578423ceaa01a70d61421fe05f1d6d4ba8bec4e577a26641ebae9a62f0627f280b2047ab08315d87f99de71ec8260c7c209
6
+ metadata.gz: f6e664aac41426453f09389270c8a79285108258b48d571424c5de499e3dd2e72eb542f1f1fdf936283485e7996629f652fa3955043df13e276da49dccab949e
7
+ data.tar.gz: 828f94be14aacb767229ace826f1b901780207d520e607b0e27ee860cb3e45123ecc87729250d1d9646964e03a6cd30beb1245b6b6088f916d1d82909b76fc36
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- budgea_client (4.0.3)
4
+ budgea_client (5.0.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -24,7 +24,7 @@ GEM
24
24
  ffi (>= 1.3.0)
25
25
  ffi (1.9.25)
26
26
  hashdiff (0.3.7)
27
- json (2.2.0)
27
+ json (2.3.0)
28
28
  public_suffix (3.0.3)
29
29
  rake (12.0.0)
30
30
  rspec (3.8.0)
data/README.md CHANGED
@@ -109,7 +109,12 @@ Class | Method | HTTP request | Description
109
109
  *BudgeaClient::AdministrationApi* | [**webhooks_auth_post**](docs/AdministrationApi.md#webhooks_auth_post) | **POST** /webhooks/auth | Adds a new webhook authentication type
110
110
  *BudgeaClient::AdministrationApi* | [**webhooks_delete**](docs/AdministrationApi.md#webhooks_delete) | **DELETE** /webhooks | Deletes all webhooks
111
111
  *BudgeaClient::AdministrationApi* | [**webhooks_get**](docs/AdministrationApi.md#webhooks_get) | **GET** /webhooks | Get webhooks
112
+ *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_add_to_data_delete**](docs/AdministrationApi.md#webhooks_id_webhook_add_to_data_delete) | **DELETE** /webhooks/{id_webhook}/add_to_data | delete all entries
112
113
  *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_add_to_data_get**](docs/AdministrationApi.md#webhooks_id_webhook_add_to_data_get) | **GET** /webhooks/{id_webhook}/add_to_data | retrieve the list of the value to add in webhooks when sending the requested webhook
114
+ *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_add_to_data_key_delete**](docs/AdministrationApi.md#webhooks_id_webhook_add_to_data_key_delete) | **DELETE** /webhooks/{id_webhook}/add_to_data/{key} | delete the requested entry
115
+ *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_add_to_data_key_get**](docs/AdministrationApi.md#webhooks_id_webhook_add_to_data_key_get) | **GET** /webhooks/{id_webhook}/add_to_data/{key} | retrieve the value to add in the requested webhook for the requested name
116
+ *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_add_to_data_key_post**](docs/AdministrationApi.md#webhooks_id_webhook_add_to_data_key_post) | **POST** /webhooks/{id_webhook}/add_to_data/{key} | upate the requested field to store in user config when calling the endpoint
117
+ *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_add_to_data_post**](docs/AdministrationApi.md#webhooks_id_webhook_add_to_data_post) | **POST** /webhooks/{id_webhook}/add_to_data | Setup a field to store in user config when calling the endpoint
113
118
  *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_delete**](docs/AdministrationApi.md#webhooks_id_webhook_delete) | **DELETE** /webhooks/{id_webhook} | Deletes a webhook
114
119
  *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_logs_get**](docs/AdministrationApi.md#webhooks_id_webhook_logs_get) | **GET** /webhooks/{id_webhook}/logs | Get webhooks logs.
115
120
  *BudgeaClient::AdministrationApi* | [**webhooks_id_webhook_post**](docs/AdministrationApi.md#webhooks_id_webhook_post) | **POST** /webhooks/{id_webhook} | Updates a webhook
@@ -126,7 +131,7 @@ Class | Method | HTTP request | Description
126
131
  *BudgeaClient::AuthenticationApi* | [**users_id_user_delete**](docs/AuthenticationApi.md#users_id_user_delete) | **DELETE** /users/{id_user} | Delete the user
127
132
  *BudgeaClient::AuthenticationApi* | [**users_id_user_get**](docs/AuthenticationApi.md#users_id_user_get) | **GET** /users/{id_user} | Get a user
128
133
  *BudgeaClient::AuthenticationApi* | [**users_id_user_token_post**](docs/AuthenticationApi.md#users_id_user_token_post) | **POST** /users/{id_user}/token | Create a token
129
- *BudgeaClient::AuthenticationApi* | [**webauth_get**](docs/AuthenticationApi.md#webauth_get) | **GET** /webauth | Initialize a new OAuth2 proxy session.
134
+ *BudgeaClient::AuthenticationApi* | [**webauth_get**](docs/AuthenticationApi.md#webauth_get) | **GET** /webauth | First step to establish an oAuth2 connection.
130
135
  *BudgeaClient::BanksApi* | [**account_types_get**](docs/BanksApi.md#account_types_get) | **GET** /account_types | Get account types
131
136
  *BudgeaClient::BanksApi* | [**account_types_id_account_type_get**](docs/BanksApi.md#account_types_id_account_type_get) | **GET** /account_types/{id_account_type} | Get an account type
132
137
  *BudgeaClient::BanksApi* | [**banks_categories_id_category_delete**](docs/BanksApi.md#banks_categories_id_category_delete) | **DELETE** /banks/categories/{id_category} | Delete the supplied category
@@ -137,11 +142,13 @@ Class | Method | HTTP request | Description
137
142
  *BudgeaClient::BanksApi* | [**banks_id_connector_logos_get**](docs/BanksApi.md#banks_id_connector_logos_get) | **GET** /banks/{id_connector}/logos | Get all links to the files associated with this connector.
138
143
  *BudgeaClient::BanksApi* | [**banks_id_connector_logos_main_get**](docs/BanksApi.md#banks_id_connector_logos_main_get) | **GET** /banks/{id_connector}/logos/main | Get all links to the files associated with this connector.
139
144
  *BudgeaClient::BanksApi* | [**banks_id_connector_logos_thumbnail_get**](docs/BanksApi.md#banks_id_connector_logos_thumbnail_get) | **GET** /banks/{id_connector}/logos/thumbnail | Get all links to the files associated with this connector.
145
+ *BudgeaClient::BanksApi* | [**banks_id_connector_sources_get**](docs/BanksApi.md#banks_id_connector_sources_get) | **GET** /banks/{id_connector}/sources | Get list of connector sources
140
146
  *BudgeaClient::BanksApi* | [**categories_get**](docs/BanksApi.md#categories_get) | **GET** /categories | Get all categories
141
147
  *BudgeaClient::BanksApi* | [**categories_keywords_id_keyword_delete**](docs/BanksApi.md#categories_keywords_id_keyword_delete) | **DELETE** /categories/keywords/{id_keyword} | Delete a particular key-value pair on a transaction.
142
148
  *BudgeaClient::BanksApi* | [**categories_keywords_post**](docs/BanksApi.md#categories_keywords_post) | **POST** /categories/keywords | Add a new keyword associated with a category in the database.
143
149
  *BudgeaClient::BanksApi* | [**categorize_post**](docs/BanksApi.md#categorize_post) | **POST** /categorize | categorize transactions without storing them
144
150
  *BudgeaClient::BanksApi* | [**connections_get**](docs/BanksApi.md#connections_get) | **GET** /connections | Get connections without a user
151
+ *BudgeaClient::BanksApi* | [**connections_id_connection_logs_get**](docs/BanksApi.md#connections_id_connection_logs_get) | **GET** /connections/{id_connection}/logs | Get connection logs
145
152
  *BudgeaClient::BanksApi* | [**connectors_get**](docs/BanksApi.md#connectors_get) | **GET** /connectors | Get list of connectors
146
153
  *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.
147
154
  *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.
@@ -151,14 +158,18 @@ Class | Method | HTTP request | Description
151
158
  *BudgeaClient::BanksApi* | [**connectors_id_connector_logos_put**](docs/BanksApi.md#connectors_id_connector_logos_put) | **PUT** /connectors/{id_connector}/logos | Create or Update a connector Logo
152
159
  *BudgeaClient::BanksApi* | [**connectors_id_connector_logos_thumbnail_get**](docs/BanksApi.md#connectors_id_connector_logos_thumbnail_get) | **GET** /connectors/{id_connector}/logos/thumbnail | Get all links to the files associated with this connector.
153
160
  *BudgeaClient::BanksApi* | [**connectors_id_connector_put**](docs/BanksApi.md#connectors_id_connector_put) | **PUT** /connectors/{id_connector} | Edit the provided connector
161
+ *BudgeaClient::BanksApi* | [**connectors_id_connector_sources_get**](docs/BanksApi.md#connectors_id_connector_sources_get) | **GET** /connectors/{id_connector}/sources | Get list of connector sources
162
+ *BudgeaClient::BanksApi* | [**connectors_id_connector_sources_id_source_put**](docs/BanksApi.md#connectors_id_connector_sources_id_source_put) | **PUT** /connectors/{id_connector}/sources/{id_source} | Edit the provided connector source
154
163
  *BudgeaClient::BanksApi* | [**connectors_post**](docs/BanksApi.md#connectors_post) | **POST** /connectors | Request a new connector
155
- *BudgeaClient::BanksApi* | [**invoicing_get**](docs/BanksApi.md#invoicing_get) | **GET** /invoicing | Get number of accounts, connections and users synced.
164
+ *BudgeaClient::BanksApi* | [**connectors_put**](docs/BanksApi.md#connectors_put) | **PUT** /connectors | Enable/disable several connectors
165
+ *BudgeaClient::BanksApi* | [**invoicing_get**](docs/BanksApi.md#invoicing_get) | **GET** /invoicing | Get invoicing data for a given period (default is the current month).
156
166
  *BudgeaClient::BanksApi* | [**logs_get**](docs/BanksApi.md#logs_get) | **GET** /logs | Get connection logs
157
167
  *BudgeaClient::BanksApi* | [**providers_get**](docs/BanksApi.md#providers_get) | **GET** /providers | Get list of connectors
158
168
  *BudgeaClient::BanksApi* | [**providers_id_connector_connections_get**](docs/BanksApi.md#providers_id_connector_connections_get) | **GET** /providers/{id_connector}/connections | Get a random subset of provider's id_connection
159
169
  *BudgeaClient::BanksApi* | [**providers_id_connector_logos_get**](docs/BanksApi.md#providers_id_connector_logos_get) | **GET** /providers/{id_connector}/logos | Get all links to the files associated with this connector.
160
170
  *BudgeaClient::BanksApi* | [**providers_id_connector_logos_main_get**](docs/BanksApi.md#providers_id_connector_logos_main_get) | **GET** /providers/{id_connector}/logos/main | Get all links to the files associated with this connector.
161
171
  *BudgeaClient::BanksApi* | [**providers_id_connector_logos_thumbnail_get**](docs/BanksApi.md#providers_id_connector_logos_thumbnail_get) | **GET** /providers/{id_connector}/logos/thumbnail | Get all links to the files associated with this connector.
172
+ *BudgeaClient::BanksApi* | [**providers_id_connector_sources_get**](docs/BanksApi.md#providers_id_connector_sources_get) | **GET** /providers/{id_connector}/sources | Get list of connector sources
162
173
  *BudgeaClient::BanksApi* | [**users_id_user_account_types_get**](docs/BanksApi.md#users_id_user_account_types_get) | **GET** /users/{id_user}/account_types | Get account types
163
174
  *BudgeaClient::BanksApi* | [**users_id_user_account_types_id_account_type_get**](docs/BanksApi.md#users_id_user_account_types_id_account_type_get) | **GET** /users/{id_user}/account_types/{id_account_type} | Get an account type
164
175
  *BudgeaClient::BanksApi* | [**users_id_user_accounts_delete**](docs/BanksApi.md#users_id_user_accounts_delete) | **DELETE** /users/{id_user}/accounts | Delete all accounts
@@ -168,6 +179,7 @@ Class | Method | HTTP request | Description
168
179
  *BudgeaClient::BanksApi* | [**users_id_user_accounts_id_account_delta_get**](docs/BanksApi.md#users_id_user_accounts_id_account_delta_get) | **GET** /users/{id_user}/accounts/{id_account}/delta | Get deltas of accounts
169
180
  *BudgeaClient::BanksApi* | [**users_id_user_accounts_id_account_logs_get**](docs/BanksApi.md#users_id_user_accounts_id_account_logs_get) | **GET** /users/{id_user}/accounts/{id_account}/logs | Get accounts logs.
170
181
  *BudgeaClient::BanksApi* | [**users_id_user_accounts_id_account_put**](docs/BanksApi.md#users_id_user_accounts_id_account_put) | **PUT** /users/{id_user}/accounts/{id_account} | Update an account
182
+ *BudgeaClient::BanksApi* | [**users_id_user_accounts_id_account_sources_get**](docs/BanksApi.md#users_id_user_accounts_id_account_sources_get) | **GET** /users/{id_user}/accounts/{id_account}/sources | Get account sources
171
183
  *BudgeaClient::BanksApi* | [**users_id_user_accounts_id_account_transactions_delete**](docs/BanksApi.md#users_id_user_accounts_id_account_transactions_delete) | **DELETE** /users/{id_user}/accounts/{id_account}/transactions | Delete transactions
172
184
  *BudgeaClient::BanksApi* | [**users_id_user_accounts_id_account_transactions_get**](docs/BanksApi.md#users_id_user_accounts_id_account_transactions_get) | **GET** /users/{id_user}/accounts/{id_account}/transactions | Get transactions
173
185
  *BudgeaClient::BanksApi* | [**users_id_user_accounts_id_account_transactions_id_transaction_informations_delete**](docs/BanksApi.md#users_id_user_accounts_id_account_transactions_id_transaction_informations_delete) | **DELETE** /users/{id_user}/accounts/{id_account}/transactions/{id_transaction}/informations | Delete all arbitrary key-value pairs of a transaction
@@ -198,6 +210,7 @@ Class | Method | HTTP request | Description
198
210
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_id_account_delta_get**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_id_account_delta_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/delta | Get deltas of accounts
199
211
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_id_account_logs_get**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_id_account_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/logs | Get accounts logs.
200
212
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_id_account_put**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_id_account_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts/{id_account} | Update an account
213
+ *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_id_account_sources_get**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_id_account_sources_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/sources | Get account sources
201
214
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_id_account_transactions_delete**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_id_account_transactions_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/transactions | Delete transactions
202
215
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_id_account_transactions_get**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_id_account_transactions_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/transactions | Get transactions
203
216
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_delete**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/transactions/{id_transaction}/informations | Delete all arbitrary key-value pairs of a transaction
@@ -219,6 +232,10 @@ Class | Method | HTTP request | Description
219
232
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_logs_get**](docs/BanksApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
220
233
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_post**](docs/BanksApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
221
234
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_put**](docs/BanksApi.md#users_id_user_connections_id_connection_put) | **PUT** /users/{id_user}/connections/{id_connection} | Force synchronisation of a connection.
235
+ *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_sources_get**](docs/BanksApi.md#users_id_user_connections_id_connection_sources_get) | **GET** /users/{id_user}/connections/{id_connection}/sources | Get connection sources
236
+ *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_sources_id_source_delete**](docs/BanksApi.md#users_id_user_connections_id_connection_sources_id_source_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Disable a connection source
237
+ *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_sources_id_source_post**](docs/BanksApi.md#users_id_user_connections_id_connection_sources_id_source_post) | **POST** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
238
+ *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_sources_id_source_put**](docs/BanksApi.md#users_id_user_connections_id_connection_sources_id_source_put) | **PUT** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
222
239
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_transactions_delete**](docs/BanksApi.md#users_id_user_connections_id_connection_transactions_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/transactions | Delete transactions
223
240
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_transactions_get**](docs/BanksApi.md#users_id_user_connections_id_connection_transactions_get) | **GET** /users/{id_user}/connections/{id_connection}/transactions | Get transactions
224
241
  *BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_transactions_id_transaction_informations_delete**](docs/BanksApi.md#users_id_user_connections_id_connection_transactions_id_transaction_informations_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/transactions/{id_transaction}/informations | Delete all arbitrary key-value pairs of a transaction
@@ -250,12 +267,17 @@ Class | Method | HTTP request | Description
250
267
  *BudgeaClient::BanksApi* | [**users_id_user_transactionsclusters_post**](docs/BanksApi.md#users_id_user_transactionsclusters_post) | **POST** /users/{id_user}/transactionsclusters | Create clustered transaction
251
268
  *BudgeaClient::ConnectionsApi* | [**banks_get**](docs/ConnectionsApi.md#banks_get) | **GET** /banks | Get list of connectors
252
269
  *BudgeaClient::ConnectionsApi* | [**banks_id_connector_connections_get**](docs/ConnectionsApi.md#banks_id_connector_connections_get) | **GET** /banks/{id_connector}/connections | Get a subset of id_connection with the largest diversity of account
270
+ *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
253
271
  *BudgeaClient::ConnectionsApi* | [**connections_get**](docs/ConnectionsApi.md#connections_get) | **GET** /connections | Get connections without a user
272
+ *BudgeaClient::ConnectionsApi* | [**connections_id_connection_logs_get**](docs/ConnectionsApi.md#connections_id_connection_logs_get) | **GET** /connections/{id_connection}/logs | Get connection logs
254
273
  *BudgeaClient::ConnectionsApi* | [**connectors_get**](docs/ConnectionsApi.md#connectors_get) | **GET** /connectors | Get list of connectors
274
+ *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
+ *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
255
276
  *BudgeaClient::ConnectionsApi* | [**connectors_post**](docs/ConnectionsApi.md#connectors_post) | **POST** /connectors | Request a new connector
256
277
  *BudgeaClient::ConnectionsApi* | [**logs_get**](docs/ConnectionsApi.md#logs_get) | **GET** /logs | Get connection logs
257
278
  *BudgeaClient::ConnectionsApi* | [**providers_get**](docs/ConnectionsApi.md#providers_get) | **GET** /providers | Get list of connectors
258
279
  *BudgeaClient::ConnectionsApi* | [**providers_id_connector_connections_get**](docs/ConnectionsApi.md#providers_id_connector_connections_get) | **GET** /providers/{id_connector}/connections | Get a random subset of provider's id_connection
280
+ *BudgeaClient::ConnectionsApi* | [**providers_id_connector_sources_get**](docs/ConnectionsApi.md#providers_id_connector_sources_get) | **GET** /providers/{id_connector}/sources | Get list of connector sources
259
281
  *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_delete**](docs/ConnectionsApi.md#users_id_user_connections_delete) | **DELETE** /users/{id_user}/connections | Delete all connections
260
282
  *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_get**](docs/ConnectionsApi.md#users_id_user_connections_get) | **GET** /users/{id_user}/connections | Get connections
261
283
  *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_delete**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_delete) | **DELETE** /users/{id_user}/connections/{id_connection} | Delete a connection.
@@ -264,6 +286,10 @@ Class | Method | HTTP request | Description
264
286
  *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_logs_get**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
265
287
  *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_post**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
266
288
  *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_put**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_put) | **PUT** /users/{id_user}/connections/{id_connection} | Force synchronisation of a connection.
289
+ *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_sources_get**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_sources_get) | **GET** /users/{id_user}/connections/{id_connection}/sources | Get connection sources
290
+ *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_sources_id_source_delete**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_sources_id_source_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Disable a connection source
291
+ *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_sources_id_source_post**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_sources_id_source_post) | **POST** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
292
+ *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_sources_id_source_put**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_sources_id_source_put) | **PUT** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
267
293
  *BudgeaClient::ConnectionsApi* | [**users_id_user_connections_post**](docs/ConnectionsApi.md#users_id_user_connections_post) | **POST** /users/{id_user}/connections | Add a new connection.
268
294
  *BudgeaClient::ConnectionsApi* | [**users_id_user_logs_get**](docs/ConnectionsApi.md#users_id_user_logs_get) | **GET** /users/{id_user}/logs | Get connection logs
269
295
  *BudgeaClient::DocumentsApi* | [**documenttypes_get**](docs/DocumentsApi.md#documenttypes_get) | **GET** /documenttypes | Get document types
@@ -342,7 +368,6 @@ Class | Method | HTTP request | Description
342
368
  *BudgeaClient::DocumentsApi* | [**users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_put**](docs/DocumentsApi.md#users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_put) | **PUT** /users/{id_user}/transactionsclusters/{id_transactions_cluster}/documents/{id_document} | Edit a document
343
369
  *BudgeaClient::DocumentsApi* | [**users_id_user_transactionsclusters_id_transactions_cluster_documents_post**](docs/DocumentsApi.md#users_id_user_transactionsclusters_id_transactions_cluster_documents_post) | **POST** /users/{id_user}/transactionsclusters/{id_transactions_cluster}/documents | Add a new document
344
370
  *BudgeaClient::DocumentsApi* | [**users_id_user_transactionsclusters_id_transactions_cluster_documents_put**](docs/DocumentsApi.md#users_id_user_transactionsclusters_id_transactions_cluster_documents_put) | **PUT** /users/{id_user}/transactionsclusters/{id_transactions_cluster}/documents | Attach an existing document to a transaction or a transactions_cluster
345
- *BudgeaClient::HUBApi* | [**webhooks_id_webhook_add_to_data_post**](docs/HUBApi.md#webhooks_id_webhook_add_to_data_post) | **POST** /webhooks/{id_webhook}/add_to_data | Setup a field to store in user config when calling the endpoint
346
371
  *BudgeaClient::OCRApi* | [**ocr_post**](docs/OCRApi.md#ocr_post) | **POST** /ocr | Post an image with OCR
347
372
  *BudgeaClient::OCRApi* | [**users_id_user_ocr_post**](docs/OCRApi.md#users_id_user_ocr_post) | **POST** /users/{id_user}/ocr | Post an image with OCR
348
373
  *BudgeaClient::OIDCApi* | [**oidc_whitelist_id_whitelist_delete**](docs/OIDCApi.md#oidc_whitelist_id_whitelist_delete) | **DELETE** /oidc/whitelist/{id_whitelist} | Delete the supplied authorized redirect uri
@@ -352,6 +377,7 @@ Class | Method | HTTP request | Description
352
377
  *BudgeaClient::PFMApi* | [**auth_confirm_post**](docs/PFMApi.md#auth_confirm_post) | **POST** /auth/confirm | Confirm email address
353
378
  *BudgeaClient::PFMApi* | [**auth_cookie_post**](docs/PFMApi.md#auth_cookie_post) | **POST** /auth/cookie | Login with credentials and set as cookie
354
379
  *BudgeaClient::PFMApi* | [**auth_register_post**](docs/PFMApi.md#auth_register_post) | **POST** /auth/register | Register to API
380
+ *BudgeaClient::PFMApi* | [**auth_resend_confirm_email_post**](docs/PFMApi.md#auth_resend_confirm_email_post) | **POST** /auth/resendConfirmEmail | Resend an email to confirm email address.
355
381
  *BudgeaClient::PFMApi* | [**auth_token_delete**](docs/PFMApi.md#auth_token_delete) | **DELETE** /auth/token | Remove user access
356
382
  *BudgeaClient::PFMApi* | [**auth_token_post**](docs/PFMApi.md#auth_token_post) | **POST** /auth/token | Login to API with credentials
357
383
  *BudgeaClient::PFMApi* | [**hash_delete**](docs/PFMApi.md#hash_delete) | **DELETE** /hash | Delete the user's connections
@@ -366,7 +392,7 @@ Class | Method | HTTP request | Description
366
392
  *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
367
393
  *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
368
394
  *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
369
- *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
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
370
396
  *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
371
397
  *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
372
398
  *BudgeaClient::PFMApi* | [**users_id_user_devices_get**](docs/PFMApi.md#users_id_user_devices_get) | **GET** /users/{id_user}/devices | Get devices
@@ -391,7 +417,9 @@ Class | Method | HTTP request | Description
391
417
  *BudgeaClient::ProvidersApi* | [**banks_id_connector_logos_get**](docs/ProvidersApi.md#banks_id_connector_logos_get) | **GET** /banks/{id_connector}/logos | Get all links to the files associated with this connector.
392
418
  *BudgeaClient::ProvidersApi* | [**banks_id_connector_logos_main_get**](docs/ProvidersApi.md#banks_id_connector_logos_main_get) | **GET** /banks/{id_connector}/logos/main | Get all links to the files associated with this connector.
393
419
  *BudgeaClient::ProvidersApi* | [**banks_id_connector_logos_thumbnail_get**](docs/ProvidersApi.md#banks_id_connector_logos_thumbnail_get) | **GET** /banks/{id_connector}/logos/thumbnail | Get all links to the files associated with this connector.
420
+ *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
394
421
  *BudgeaClient::ProvidersApi* | [**connections_get**](docs/ProvidersApi.md#connections_get) | **GET** /connections | Get connections without a user
422
+ *BudgeaClient::ProvidersApi* | [**connections_id_connection_logs_get**](docs/ProvidersApi.md#connections_id_connection_logs_get) | **GET** /connections/{id_connection}/logs | Get connection logs
395
423
  *BudgeaClient::ProvidersApi* | [**connectors_get**](docs/ProvidersApi.md#connectors_get) | **GET** /connectors | Get list of connectors
396
424
  *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.
397
425
  *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.
@@ -400,6 +428,8 @@ Class | Method | HTTP request | Description
400
428
  *BudgeaClient::ProvidersApi* | [**connectors_id_connector_logos_post**](docs/ProvidersApi.md#connectors_id_connector_logos_post) | **POST** /connectors/{id_connector}/logos | Create a connector Logo
401
429
  *BudgeaClient::ProvidersApi* | [**connectors_id_connector_logos_put**](docs/ProvidersApi.md#connectors_id_connector_logos_put) | **PUT** /connectors/{id_connector}/logos | Create or Update a connector Logo
402
430
  *BudgeaClient::ProvidersApi* | [**connectors_id_connector_logos_thumbnail_get**](docs/ProvidersApi.md#connectors_id_connector_logos_thumbnail_get) | **GET** /connectors/{id_connector}/logos/thumbnail | Get all links to the files associated with this connector.
431
+ *BudgeaClient::ProvidersApi* | [**connectors_id_connector_sources_get**](docs/ProvidersApi.md#connectors_id_connector_sources_get) | **GET** /connectors/{id_connector}/sources | Get list of connector sources
432
+ *BudgeaClient::ProvidersApi* | [**connectors_id_connector_sources_id_source_put**](docs/ProvidersApi.md#connectors_id_connector_sources_id_source_put) | **PUT** /connectors/{id_connector}/sources/{id_source} | Edit the provided connector source
403
433
  *BudgeaClient::ProvidersApi* | [**connectors_post**](docs/ProvidersApi.md#connectors_post) | **POST** /connectors | Request a new connector
404
434
  *BudgeaClient::ProvidersApi* | [**documenttypes_get**](docs/ProvidersApi.md#documenttypes_get) | **GET** /documenttypes | Get document types
405
435
  *BudgeaClient::ProvidersApi* | [**documenttypes_id_documenttype_put**](docs/ProvidersApi.md#documenttypes_id_documenttype_put) | **PUT** /documenttypes/{id_documenttype} | Edit a document type
@@ -409,6 +439,7 @@ Class | Method | HTTP request | Description
409
439
  *BudgeaClient::ProvidersApi* | [**providers_id_connector_logos_get**](docs/ProvidersApi.md#providers_id_connector_logos_get) | **GET** /providers/{id_connector}/logos | Get all links to the files associated with this connector.
410
440
  *BudgeaClient::ProvidersApi* | [**providers_id_connector_logos_main_get**](docs/ProvidersApi.md#providers_id_connector_logos_main_get) | **GET** /providers/{id_connector}/logos/main | Get all links to the files associated with this connector.
411
441
  *BudgeaClient::ProvidersApi* | [**providers_id_connector_logos_thumbnail_get**](docs/ProvidersApi.md#providers_id_connector_logos_thumbnail_get) | **GET** /providers/{id_connector}/logos/thumbnail | Get all links to the files associated with this connector.
442
+ *BudgeaClient::ProvidersApi* | [**providers_id_connector_sources_get**](docs/ProvidersApi.md#providers_id_connector_sources_get) | **GET** /providers/{id_connector}/sources | Get list of connector sources
412
443
  *BudgeaClient::ProvidersApi* | [**users_id_user_accounts_id_account_transactions_id_transaction_documents_delete**](docs/ProvidersApi.md#users_id_user_accounts_id_account_transactions_id_transaction_documents_delete) | **DELETE** /users/{id_user}/accounts/{id_account}/transactions/{id_transaction}/documents | Delete documents
413
444
  *BudgeaClient::ProvidersApi* | [**users_id_user_accounts_id_account_transactions_id_transaction_documents_get**](docs/ProvidersApi.md#users_id_user_accounts_id_account_transactions_id_transaction_documents_get) | **GET** /users/{id_user}/accounts/{id_account}/transactions/{id_transaction}/documents | Get documents
414
445
  *BudgeaClient::ProvidersApi* | [**users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_delete**](docs/ProvidersApi.md#users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_delete) | **DELETE** /users/{id_user}/accounts/{id_account}/transactions/{id_transaction}/documents/{id_document} | Delete a document
@@ -447,6 +478,10 @@ Class | Method | HTTP request | Description
447
478
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_logs_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
448
479
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_post**](docs/ProvidersApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
449
480
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_put) | **PUT** /users/{id_user}/connections/{id_connection} | Force synchronisation of a connection.
481
+ *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_sources_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_sources_get) | **GET** /users/{id_user}/connections/{id_connection}/sources | Get connection sources
482
+ *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_sources_id_source_delete**](docs/ProvidersApi.md#users_id_user_connections_id_connection_sources_id_source_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Disable a connection source
483
+ *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_sources_id_source_post**](docs/ProvidersApi.md#users_id_user_connections_id_connection_sources_id_source_post) | **POST** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
484
+ *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_sources_id_source_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_sources_id_source_put) | **PUT** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
450
485
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_delete**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription} | Delete a subscription.
451
486
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_documents_delete**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_documents_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/documents | Delete documents
452
487
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get) | **GET** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/documents | Get documents
@@ -454,7 +489,9 @@ Class | Method | HTTP request | Description
454
489
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_put) | **PUT** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/documents/{id_document} | Edit a document
455
490
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_documents_post**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_documents_post) | **POST** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/documents | Add a new document
456
491
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_documents_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_documents_put) | **PUT** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/documents | Attach an existing document to a transaction or a transactions_cluster
492
+ *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/logs | Get subscriptions logs.
457
493
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_id_subscription_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_id_subscription_put) | **PUT** /users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription} | Update a subscription
494
+ *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_subscriptions_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_subscriptions_put) | **PUT** /users/{id_user}/connections/{id_connection}/subscriptions | Update many subscriptions at once
458
495
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_transactions_id_transaction_documents_delete**](docs/ProvidersApi.md#users_id_user_connections_id_connection_transactions_id_transaction_documents_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/transactions/{id_transaction}/documents | Delete documents
459
496
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_transactions_id_transaction_documents_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_transactions_id_transaction_documents_get) | **GET** /users/{id_user}/connections/{id_connection}/transactions/{id_transaction}/documents | Get documents
460
497
  *BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_delete**](docs/ProvidersApi.md#users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/transactions/{id_transaction}/documents/{id_document} | Delete a document
@@ -483,7 +520,9 @@ Class | Method | HTTP request | Description
483
520
  *BudgeaClient::ProvidersApi* | [**users_id_user_subscriptions_id_subscription_documents_id_document_put**](docs/ProvidersApi.md#users_id_user_subscriptions_id_subscription_documents_id_document_put) | **PUT** /users/{id_user}/subscriptions/{id_subscription}/documents/{id_document} | Edit a document
484
521
  *BudgeaClient::ProvidersApi* | [**users_id_user_subscriptions_id_subscription_documents_post**](docs/ProvidersApi.md#users_id_user_subscriptions_id_subscription_documents_post) | **POST** /users/{id_user}/subscriptions/{id_subscription}/documents | Add a new document
485
522
  *BudgeaClient::ProvidersApi* | [**users_id_user_subscriptions_id_subscription_documents_put**](docs/ProvidersApi.md#users_id_user_subscriptions_id_subscription_documents_put) | **PUT** /users/{id_user}/subscriptions/{id_subscription}/documents | Attach an existing document to a transaction or a transactions_cluster
523
+ *BudgeaClient::ProvidersApi* | [**users_id_user_subscriptions_id_subscription_logs_get**](docs/ProvidersApi.md#users_id_user_subscriptions_id_subscription_logs_get) | **GET** /users/{id_user}/subscriptions/{id_subscription}/logs | Get subscriptions logs.
486
524
  *BudgeaClient::ProvidersApi* | [**users_id_user_subscriptions_id_subscription_put**](docs/ProvidersApi.md#users_id_user_subscriptions_id_subscription_put) | **PUT** /users/{id_user}/subscriptions/{id_subscription} | Update a subscription
525
+ *BudgeaClient::ProvidersApi* | [**users_id_user_subscriptions_put**](docs/ProvidersApi.md#users_id_user_subscriptions_put) | **PUT** /users/{id_user}/subscriptions | Update many subscriptions at once
487
526
  *BudgeaClient::ProvidersApi* | [**users_id_user_transactions_id_transaction_documents_delete**](docs/ProvidersApi.md#users_id_user_transactions_id_transaction_documents_delete) | **DELETE** /users/{id_user}/transactions/{id_transaction}/documents | Delete documents
488
527
  *BudgeaClient::ProvidersApi* | [**users_id_user_transactions_id_transaction_documents_get**](docs/ProvidersApi.md#users_id_user_transactions_id_transaction_documents_get) | **GET** /users/{id_user}/transactions/{id_transaction}/documents | Get documents
489
528
  *BudgeaClient::ProvidersApi* | [**users_id_user_transactions_id_transaction_documents_id_document_delete**](docs/ProvidersApi.md#users_id_user_transactions_id_transaction_documents_id_document_delete) | **DELETE** /users/{id_user}/transactions/{id_transaction}/documents/{id_document} | Delete a document
@@ -504,6 +543,7 @@ Class | Method | HTTP request | Description
504
543
  *BudgeaClient::TermsApi* | [**terms_post**](docs/TermsApi.md#terms_post) | **POST** /terms | Register a version of 'Terms of Service' in database
505
544
  *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
506
545
  *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
546
+ *BudgeaClient::TransferApi* | [**webauth_get**](docs/TransferApi.md#webauth_get) | **GET** /webauth | First step to establish an oAuth2 connection.
507
547
  *BudgeaClient::TransfersApi* | [**users_id_user_accounts_id_account_recipients_get**](docs/TransfersApi.md#users_id_user_accounts_id_account_recipients_get) | **GET** /users/{id_user}/accounts/{id_account}/recipients | Returns the list of recipients.
508
548
  *BudgeaClient::TransfersApi* | [**users_id_user_accounts_id_account_recipients_id_recipient_post**](docs/TransfersApi.md#users_id_user_accounts_id_account_recipients_id_recipient_post) | **POST** /users/{id_user}/accounts/{id_account}/recipients/{id_recipient} | Continue addition of a recipient.
509
549
  *BudgeaClient::TransfersApi* | [**users_id_user_accounts_id_account_recipients_id_recipient_transfers_get**](docs/TransfersApi.md#users_id_user_accounts_id_account_recipients_id_recipient_transfers_get) | **GET** /users/{id_user}/accounts/{id_account}/recipients/{id_recipient}/transfers | Get transfers
@@ -594,9 +634,11 @@ Class | Method | HTTP request | Description
594
634
  - [BudgeaClient::ConfigLog](docs/ConfigLog.md)
595
635
  - [BudgeaClient::Connection](docs/Connection.md)
596
636
  - [BudgeaClient::ConnectionLog](docs/ConnectionLog.md)
637
+ - [BudgeaClient::ConnectionSource](docs/ConnectionSource.md)
597
638
  - [BudgeaClient::Connector](docs/Connector.md)
598
639
  - [BudgeaClient::ConnectorCategory](docs/ConnectorCategory.md)
599
640
  - [BudgeaClient::ConnectorLogo](docs/ConnectorLogo.md)
641
+ - [BudgeaClient::ConnectorSource](docs/ConnectorSource.md)
600
642
  - [BudgeaClient::Currency](docs/Currency.md)
601
643
  - [BudgeaClient::Device](docs/Device.md)
602
644
  - [BudgeaClient::Document](docs/Document.md)
@@ -642,6 +684,8 @@ Class | Method | HTTP request | Description
642
684
  - [BudgeaClient::InlineResponse20039](docs/InlineResponse20039.md)
643
685
  - [BudgeaClient::InlineResponse2004](docs/InlineResponse2004.md)
644
686
  - [BudgeaClient::InlineResponse20040](docs/InlineResponse20040.md)
687
+ - [BudgeaClient::InlineResponse20041](docs/InlineResponse20041.md)
688
+ - [BudgeaClient::InlineResponse20042](docs/InlineResponse20042.md)
645
689
  - [BudgeaClient::InlineResponse2005](docs/InlineResponse2005.md)
646
690
  - [BudgeaClient::InlineResponse2006](docs/InlineResponse2006.md)
647
691
  - [BudgeaClient::InlineResponse2007](docs/InlineResponse2007.md)
@@ -649,10 +693,10 @@ Class | Method | HTTP request | Description
649
693
  - [BudgeaClient::InlineResponse2009](docs/InlineResponse2009.md)
650
694
  - [BudgeaClient::Investment](docs/Investment.md)
651
695
  - [BudgeaClient::InvestmentValue](docs/InvestmentValue.md)
652
- - [BudgeaClient::Invite](docs/Invite.md)
653
696
  - [BudgeaClient::Keyword](docs/Keyword.md)
654
697
  - [BudgeaClient::LockedUser](docs/LockedUser.md)
655
698
  - [BudgeaClient::OidcWhitelist](docs/OidcWhitelist.md)
699
+ - [BudgeaClient::Order](docs/Order.md)
656
700
  - [BudgeaClient::Pocket](docs/Pocket.md)
657
701
  - [BudgeaClient::Profile](docs/Profile.md)
658
702
  - [BudgeaClient::Project](docs/Project.md)
@@ -661,6 +705,7 @@ Class | Method | HTTP request | Description
661
705
  - [BudgeaClient::RecipientLog](docs/RecipientLog.md)
662
706
  - [BudgeaClient::Security](docs/Security.md)
663
707
  - [BudgeaClient::Subscription](docs/Subscription.md)
708
+ - [BudgeaClient::SubscriptionLog](docs/SubscriptionLog.md)
664
709
  - [BudgeaClient::TermsOfService](docs/TermsOfService.md)
665
710
  - [BudgeaClient::Transaction](docs/Transaction.md)
666
711
  - [BudgeaClient::TransactionInformation](docs/TransactionInformation.md)
@@ -341,7 +341,7 @@
341
341
  "exp": 1538596697,
342
342
  "iat": 1538594897,
343
343
  "scope": "",
344
- "type": "shared_access"
344
+ "type": "sharedAccess"
345
345
  }
346
346
  }
347
347
  }
@@ -471,6 +471,21 @@
471
471
  ]
472
472
  }
473
473
  },
474
+ "/auth/resendConfirmEmail": {
475
+ "post": {
476
+ "responses": {
477
+ "200": {
478
+ "description": "standard HTTP response"
479
+ }
480
+ },
481
+ "tags": [
482
+ "PFM"
483
+ ],
484
+ "description": "Sent token can be re-generated as it might be expired. Note that requesting email confirmation on already confirmed profile will raise a BadRequest.<br><br>",
485
+ "parameters": [],
486
+ "summary": "Resend an email to confirm email address."
487
+ }
488
+ },
474
489
  "/auth/token": {
475
490
  "post": {
476
491
  "responses": {
@@ -1042,6 +1057,55 @@
1042
1057
  "summary": "Get all links to the files associated with this connector."
1043
1058
  }
1044
1059
  },
1060
+ "/banks/{id_connector}/sources": {
1061
+ "get": {
1062
+ "responses": {
1063
+ "200": {
1064
+ "description": "sources",
1065
+ "schema": {
1066
+ "required": [
1067
+ "sources"
1068
+ ],
1069
+ "type": "object",
1070
+ "properties": {
1071
+ "sources": {
1072
+ "items": {
1073
+ "$ref": "#/definitions/ConnectorSource"
1074
+ },
1075
+ "type": "array"
1076
+ },
1077
+ "total": {
1078
+ "type": "number",
1079
+ "description": "total number of results"
1080
+ }
1081
+ }
1082
+ }
1083
+ }
1084
+ },
1085
+ "tags": [
1086
+ "Connections",
1087
+ "Banks",
1088
+ "Providers"
1089
+ ],
1090
+ "description": "",
1091
+ "parameters": [
1092
+ {
1093
+ "required": true,
1094
+ "in": "path",
1095
+ "type": "integer",
1096
+ "name": "id_connector",
1097
+ "description": ""
1098
+ },
1099
+ {
1100
+ "required": false,
1101
+ "type": "string",
1102
+ "name": "expand",
1103
+ "in": "query"
1104
+ }
1105
+ ],
1106
+ "summary": "Get list of connector sources"
1107
+ }
1108
+ },
1045
1109
  "/categories": {
1046
1110
  "get": {
1047
1111
  "responses": {
@@ -1306,9 +1370,9 @@
1306
1370
  {
1307
1371
  "required": false,
1308
1372
  "in": "formData",
1309
- "type": "string",
1310
- "name": "redirect_uri",
1311
- "description": "redirect_uri"
1373
+ "type": "array",
1374
+ "name": "redirect_uris",
1375
+ "description": "list of allowed redirect uris"
1312
1376
  },
1313
1377
  {
1314
1378
  "required": false,
@@ -1340,7 +1404,7 @@
1340
1404
  "tags": [
1341
1405
  "Administration"
1342
1406
  ],
1343
- "description": "If you use the manage_token or a configuration token, you will get also the client_secret<br><br>",
1407
+ "description": "If you use the manage_token or a configuration token, you will get also the client secret.<br><br>",
1344
1408
  "parameters": [
1345
1409
  {
1346
1410
  "required": true,
@@ -1403,9 +1467,9 @@
1403
1467
  {
1404
1468
  "required": false,
1405
1469
  "in": "formData",
1406
- "type": "string",
1407
- "name": "redirect_uri",
1408
- "description": "redirect_uri"
1470
+ "type": "array",
1471
+ "name": "redirect_uris",
1472
+ "description": "list of allowed redirect uris"
1409
1473
  },
1410
1474
  {
1411
1475
  "required": false,
@@ -1730,6 +1794,134 @@
1730
1794
  "summary": "Get connections without a user"
1731
1795
  }
1732
1796
  },
1797
+ "/connections/{id_connection}/logs": {
1798
+ "get": {
1799
+ "responses": {
1800
+ "200": {
1801
+ "description": "connectionlogs",
1802
+ "schema": {
1803
+ "required": [
1804
+ "connectionlogs"
1805
+ ],
1806
+ "type": "object",
1807
+ "properties": {
1808
+ "total": {
1809
+ "type": "number",
1810
+ "description": "total number of results"
1811
+ },
1812
+ "connectionlogs": {
1813
+ "items": {
1814
+ "$ref": "#/definitions/ConnectionLog"
1815
+ },
1816
+ "type": "array"
1817
+ }
1818
+ }
1819
+ }
1820
+ }
1821
+ },
1822
+ "tags": [
1823
+ "Connections",
1824
+ "Banks",
1825
+ "Providers"
1826
+ ],
1827
+ "description": "Get logs about connections.<br><br>",
1828
+ "parameters": [
1829
+ {
1830
+ "required": true,
1831
+ "in": "path",
1832
+ "type": "integer",
1833
+ "name": "id_connection",
1834
+ "description": ""
1835
+ },
1836
+ {
1837
+ "required": false,
1838
+ "in": "query",
1839
+ "type": "integer",
1840
+ "name": "limit",
1841
+ "description": "limit number of results"
1842
+ },
1843
+ {
1844
+ "required": false,
1845
+ "in": "query",
1846
+ "type": "integer",
1847
+ "name": "offset",
1848
+ "description": "offset of first result"
1849
+ },
1850
+ {
1851
+ "name": "min_date",
1852
+ "format": "date",
1853
+ "required": false,
1854
+ "in": "query",
1855
+ "type": "string",
1856
+ "description": "minimal date"
1857
+ },
1858
+ {
1859
+ "name": "max_date",
1860
+ "format": "date",
1861
+ "required": false,
1862
+ "in": "query",
1863
+ "type": "string",
1864
+ "description": "maximum date"
1865
+ },
1866
+ {
1867
+ "required": false,
1868
+ "in": "query",
1869
+ "type": "integer",
1870
+ "name": "state",
1871
+ "description": "state of user"
1872
+ },
1873
+ {
1874
+ "required": false,
1875
+ "in": "query",
1876
+ "type": "string",
1877
+ "name": "period",
1878
+ "description": "period to group logs"
1879
+ },
1880
+ {
1881
+ "required": false,
1882
+ "in": "query",
1883
+ "type": "integer",
1884
+ "name": "id_user",
1885
+ "description": "ID of a user"
1886
+ },
1887
+ {
1888
+ "required": false,
1889
+ "in": "query",
1890
+ "type": "integer",
1891
+ "name": "id_connection",
1892
+ "description": "ID of a connection"
1893
+ },
1894
+ {
1895
+ "required": false,
1896
+ "in": "query",
1897
+ "type": "integer",
1898
+ "name": "id_connector",
1899
+ "description": "ID of a connector"
1900
+ },
1901
+ {
1902
+ "required": false,
1903
+ "in": "query",
1904
+ "type": "boolean",
1905
+ "name": "charged",
1906
+ "description": "consider only logs for charged connectors"
1907
+ },
1908
+ {
1909
+ "required": false,
1910
+ "in": "query",
1911
+ "type": "integer",
1912
+ "name": "id_source",
1913
+ "description": "ID of a source"
1914
+ },
1915
+ {
1916
+ "required": false,
1917
+ "type": "string",
1918
+ "name": "expand",
1919
+ "in": "query"
1920
+ }
1921
+ ],
1922
+ "summary": "Get connection logs"
1923
+ }
1924
+ },
1733
1925
  "/connectors": {
1734
1926
  "get": {
1735
1927
  "responses": {
@@ -1855,6 +2047,36 @@
1855
2047
  "consumes": [
1856
2048
  "application/x-www-form-urlencoded"
1857
2049
  ]
2050
+ },
2051
+ "put": {
2052
+ "responses": {
2053
+ "200": {
2054
+ "description": "Successful PUT on Connector resource",
2055
+ "schema": {
2056
+ "$ref": "#/definitions/Connector"
2057
+ }
2058
+ }
2059
+ },
2060
+ "tags": [
2061
+ "Banks"
2062
+ ],
2063
+ "description": "",
2064
+ "parameters": [
2065
+ {
2066
+ "required": false,
2067
+ "in": "formData",
2068
+ "type": "boolean",
2069
+ "name": "hidden",
2070
+ "description": "to enable or disable connector (bank or provider)"
2071
+ },
2072
+ {
2073
+ "required": false,
2074
+ "type": "string",
2075
+ "name": "expand",
2076
+ "in": "query"
2077
+ }
2078
+ ],
2079
+ "summary": "Enable/disable several connectors"
1858
2080
  }
1859
2081
  },
1860
2082
  "/connectors/{id_connector}": {
@@ -1870,6 +2092,7 @@
1870
2092
  "code": "40618",
1871
2093
  "name": "Boursorama",
1872
2094
  "color": "f10389",
2095
+ "beta": true,
1873
2096
  "capabilities": [
1874
2097
  "profile",
1875
2098
  "banktransferaddrecipient",
@@ -1878,7 +2101,7 @@
1878
2101
  "banktransfer"
1879
2102
  ],
1880
2103
  "id": 4,
1881
- "beta": true,
2104
+ "auth_mechanism": "credentials",
1882
2105
  "hidden": false,
1883
2106
  "slug": "BOU",
1884
2107
  "categories": [
@@ -1921,6 +2144,13 @@
1921
2144
  "name": "sync_frequency",
1922
2145
  "description": "Allows you to overload global sync_frequency param"
1923
2146
  },
2147
+ {
2148
+ "required": false,
2149
+ "in": "formData",
2150
+ "type": "string",
2151
+ "name": "auth_mechanism",
2152
+ "description": "the authentication mechanism to use for this connector"
2153
+ },
1924
2154
  {
1925
2155
  "required": false,
1926
2156
  "type": "string",
@@ -2215,37 +2445,45 @@
2215
2445
  "summary": "Delete a single Logo object."
2216
2446
  }
2217
2447
  },
2218
- "/documenttypes": {
2448
+ "/connectors/{id_connector}/sources": {
2219
2449
  "get": {
2220
2450
  "responses": {
2221
2451
  "200": {
2222
- "description": "documenttypes",
2452
+ "description": "sources",
2223
2453
  "schema": {
2224
2454
  "required": [
2225
- "documenttypes"
2455
+ "sources"
2226
2456
  ],
2227
2457
  "type": "object",
2228
2458
  "properties": {
2229
- "total": {
2230
- "type": "number",
2231
- "description": "total number of results"
2232
- },
2233
- "documenttypes": {
2459
+ "sources": {
2234
2460
  "items": {
2235
- "$ref": "#/definitions/DocumentType"
2461
+ "$ref": "#/definitions/ConnectorSource"
2236
2462
  },
2237
2463
  "type": "array"
2464
+ },
2465
+ "total": {
2466
+ "type": "number",
2467
+ "description": "total number of results"
2238
2468
  }
2239
2469
  }
2240
2470
  }
2241
2471
  }
2242
2472
  },
2243
2473
  "tags": [
2244
- "Providers",
2245
- "Documents"
2474
+ "Connections",
2475
+ "Banks",
2476
+ "Providers"
2246
2477
  ],
2247
2478
  "description": "",
2248
2479
  "parameters": [
2480
+ {
2481
+ "required": true,
2482
+ "in": "path",
2483
+ "type": "integer",
2484
+ "name": "id_connector",
2485
+ "description": ""
2486
+ },
2249
2487
  {
2250
2488
  "required": false,
2251
2489
  "type": "string",
@@ -2253,24 +2491,121 @@
2253
2491
  "in": "query"
2254
2492
  }
2255
2493
  ],
2256
- "summary": "Get document types"
2494
+ "summary": "Get list of connector sources"
2257
2495
  }
2258
2496
  },
2259
- "/documenttypes/{id_documenttype}": {
2497
+ "/connectors/{id_connector}/sources/{id_source}": {
2260
2498
  "put": {
2261
2499
  "responses": {
2262
2500
  "200": {
2263
- "description": "Successful PUT on DocumentType resource",
2501
+ "description": "Successful PUT on ConnectorSource resource",
2264
2502
  "schema": {
2265
- "$ref": "#/definitions/DocumentType"
2503
+ "$ref": "#/definitions/ConnectorSource"
2266
2504
  }
2267
2505
  }
2268
2506
  },
2269
2507
  "tags": [
2270
- "Providers",
2271
- "Documents"
2508
+ "Connections",
2509
+ "Banks",
2510
+ "Providers"
2272
2511
  ],
2273
- "description": "Change value of a document type.<br><br>",
2512
+ "description": "",
2513
+ "parameters": [
2514
+ {
2515
+ "required": true,
2516
+ "in": "path",
2517
+ "type": "integer",
2518
+ "name": "id_connector",
2519
+ "description": ""
2520
+ },
2521
+ {
2522
+ "required": true,
2523
+ "in": "path",
2524
+ "type": "integer",
2525
+ "name": "id_source",
2526
+ "description": ""
2527
+ },
2528
+ {
2529
+ "required": false,
2530
+ "in": "formData",
2531
+ "type": "string",
2532
+ "name": "auth_mechanism",
2533
+ "description": "the authentication mechanism to use for this connector source"
2534
+ },
2535
+ {
2536
+ "name": "disabled",
2537
+ "format": "date-time",
2538
+ "required": false,
2539
+ "in": "formData",
2540
+ "type": "string",
2541
+ "description": "to enable or disable connector source"
2542
+ },
2543
+ {
2544
+ "required": false,
2545
+ "type": "string",
2546
+ "name": "expand",
2547
+ "in": "query"
2548
+ }
2549
+ ],
2550
+ "summary": "Edit the provided connector source"
2551
+ }
2552
+ },
2553
+ "/documenttypes": {
2554
+ "get": {
2555
+ "responses": {
2556
+ "200": {
2557
+ "description": "documenttypes",
2558
+ "schema": {
2559
+ "required": [
2560
+ "documenttypes"
2561
+ ],
2562
+ "type": "object",
2563
+ "properties": {
2564
+ "total": {
2565
+ "type": "number",
2566
+ "description": "total number of results"
2567
+ },
2568
+ "documenttypes": {
2569
+ "items": {
2570
+ "$ref": "#/definitions/DocumentType"
2571
+ },
2572
+ "type": "array"
2573
+ }
2574
+ }
2575
+ }
2576
+ }
2577
+ },
2578
+ "tags": [
2579
+ "Providers",
2580
+ "Documents"
2581
+ ],
2582
+ "description": "",
2583
+ "parameters": [
2584
+ {
2585
+ "required": false,
2586
+ "type": "string",
2587
+ "name": "expand",
2588
+ "in": "query"
2589
+ }
2590
+ ],
2591
+ "summary": "Get document types"
2592
+ }
2593
+ },
2594
+ "/documenttypes/{id_documenttype}": {
2595
+ "put": {
2596
+ "responses": {
2597
+ "200": {
2598
+ "description": "Successful PUT on DocumentType resource",
2599
+ "schema": {
2600
+ "$ref": "#/definitions/DocumentType"
2601
+ }
2602
+ }
2603
+ },
2604
+ "tags": [
2605
+ "Providers",
2606
+ "Documents"
2607
+ ],
2608
+ "description": "Change value of a document type.<br><br>",
2274
2609
  "parameters": [
2275
2610
  {
2276
2611
  "required": true,
@@ -2430,7 +2765,7 @@
2430
2765
  "tags": [
2431
2766
  "Banks"
2432
2767
  ],
2433
- "description": "Get number of accounts, connections and users synced between two dates for the given period.<br><br>",
2768
+ "description": "You can get all the invoicing data or just specific ones by using the available parameters.<br><br>If no parameters are specified, no invoicing data is returned.<br><br>",
2434
2769
  "parameters": [
2435
2770
  {
2436
2771
  "name": "min_date",
@@ -2452,18 +2787,74 @@
2452
2787
  "required": false,
2453
2788
  "in": "query",
2454
2789
  "type": "string",
2455
- "name": "period",
2456
- "description": "period to group logs"
2790
+ "name": "users_synced",
2791
+ "description": "the number of user synchronized during the period"
2792
+ },
2793
+ {
2794
+ "required": false,
2795
+ "in": "query",
2796
+ "type": "string",
2797
+ "name": "users_bank",
2798
+ "description": "the number of user of the Bank API synchronized during the period"
2799
+ },
2800
+ {
2801
+ "required": false,
2802
+ "in": "query",
2803
+ "type": "string",
2804
+ "name": "users_bill",
2805
+ "description": " the number of user of the Bill API synchronized during the period"
2806
+ },
2807
+ {
2808
+ "required": false,
2809
+ "in": "query",
2810
+ "type": "string",
2811
+ "name": "accounts_synced",
2812
+ "description": "the number of accounts synchronized during the period"
2813
+ },
2814
+ {
2815
+ "required": false,
2816
+ "in": "query",
2817
+ "type": "string",
2818
+ "name": "subscriptions_synced",
2819
+ "description": "the number of subscriptions synchronized during the period"
2820
+ },
2821
+ {
2822
+ "required": false,
2823
+ "in": "query",
2824
+ "type": "string",
2825
+ "name": "connections_synced",
2826
+ "description": "the number of connections synchronized during the period"
2827
+ },
2828
+ {
2829
+ "required": false,
2830
+ "in": "query",
2831
+ "type": "string",
2832
+ "name": "connections_account",
2833
+ "description": "the number of Bank API connections synchronized during the period"
2834
+ },
2835
+ {
2836
+ "required": false,
2837
+ "in": "query",
2838
+ "type": "string",
2839
+ "name": "transfers_synced",
2840
+ "description": "the number of transfers done during the period"
2457
2841
  },
2458
2842
  {
2459
2843
  "required": false,
2460
2844
  "in": "query",
2461
2845
  "type": "string",
2462
2846
  "name": "all",
2847
+ "description": "get all the invoicing data at once"
2848
+ },
2849
+ {
2850
+ "required": false,
2851
+ "in": "query",
2852
+ "type": "string",
2853
+ "name": "detail",
2463
2854
  "description": "get full ids list instead of numbers"
2464
2855
  }
2465
2856
  ],
2466
- "summary": "Get number of accounts, connections and users synced."
2857
+ "summary": "Get invoicing data for a given period (default is the current month)."
2467
2858
  }
2468
2859
  },
2469
2860
  "/logs": {
@@ -2570,6 +2961,13 @@
2570
2961
  "name": "charged",
2571
2962
  "description": "consider only logs for charged connectors"
2572
2963
  },
2964
+ {
2965
+ "required": false,
2966
+ "in": "query",
2967
+ "type": "integer",
2968
+ "name": "id_source",
2969
+ "description": "ID of a source"
2970
+ },
2573
2971
  {
2574
2972
  "required": false,
2575
2973
  "type": "string",
@@ -2643,9 +3041,9 @@
2643
3041
  {
2644
3042
  "required": true,
2645
3043
  "in": "formData",
2646
- "type": "string",
2647
- "name": "redirect_uri",
2648
- "description": "regexp to check if given redirect_uri are authorized"
3044
+ "type": "array",
3045
+ "name": "redirect_uris",
3046
+ "description": "list of allowed redirect uris"
2649
3047
  },
2650
3048
  {
2651
3049
  "required": true,
@@ -3005,6 +3403,10 @@
3005
3403
  "$ref": "#/definitions/ConnectorLogo"
3006
3404
  },
3007
3405
  "type": "array"
3406
+ },
3407
+ "total": {
3408
+ "type": "number",
3409
+ "description": "total number of results"
3008
3410
  }
3009
3411
  }
3010
3412
  }
@@ -3129,6 +3531,55 @@
3129
3531
  "summary": "Get all links to the files associated with this connector."
3130
3532
  }
3131
3533
  },
3534
+ "/providers/{id_connector}/sources": {
3535
+ "get": {
3536
+ "responses": {
3537
+ "200": {
3538
+ "description": "sources",
3539
+ "schema": {
3540
+ "required": [
3541
+ "sources"
3542
+ ],
3543
+ "type": "object",
3544
+ "properties": {
3545
+ "sources": {
3546
+ "items": {
3547
+ "$ref": "#/definitions/ConnectorSource"
3548
+ },
3549
+ "type": "array"
3550
+ },
3551
+ "total": {
3552
+ "type": "number",
3553
+ "description": "total number of results"
3554
+ }
3555
+ }
3556
+ }
3557
+ }
3558
+ },
3559
+ "tags": [
3560
+ "Connections",
3561
+ "Banks",
3562
+ "Providers"
3563
+ ],
3564
+ "description": "",
3565
+ "parameters": [
3566
+ {
3567
+ "required": true,
3568
+ "in": "path",
3569
+ "type": "integer",
3570
+ "name": "id_connector",
3571
+ "description": ""
3572
+ },
3573
+ {
3574
+ "required": false,
3575
+ "type": "string",
3576
+ "name": "expand",
3577
+ "in": "query"
3578
+ }
3579
+ ],
3580
+ "summary": "Get list of connector sources"
3581
+ }
3582
+ },
3132
3583
  "/terms": {
3133
3584
  "get": {
3134
3585
  "responses": {
@@ -3511,7 +3962,7 @@
3511
3962
  {
3512
3963
  "name": "balance",
3513
3964
  "format": "float",
3514
- "required": true,
3965
+ "required": false,
3515
3966
  "in": "formData",
3516
3967
  "type": "number",
3517
3968
  "description": "balance of account"
@@ -4154,7 +4605,7 @@
4154
4605
  "tags": [
4155
4606
  "Banks"
4156
4607
  ],
4157
- "description": "Get logs of account.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>",
4608
+ "description": "Get logs of account. By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>",
4158
4609
  "parameters": [
4159
4610
  {
4160
4611
  "required": true,
@@ -5008,6 +5459,60 @@
5008
5459
  "summary": "Cancel a transfer."
5009
5460
  }
5010
5461
  },
5462
+ "/users/{id_user}/accounts/{id_account}/sources": {
5463
+ "get": {
5464
+ "responses": {
5465
+ "200": {
5466
+ "description": "sources",
5467
+ "schema": {
5468
+ "required": [
5469
+ "sources"
5470
+ ],
5471
+ "type": "object",
5472
+ "properties": {
5473
+ "sources": {
5474
+ "items": {
5475
+ "$ref": "#/definitions/ConnectionSource"
5476
+ },
5477
+ "type": "array"
5478
+ },
5479
+ "total": {
5480
+ "type": "number",
5481
+ "description": "total number of results"
5482
+ }
5483
+ }
5484
+ }
5485
+ }
5486
+ },
5487
+ "tags": [
5488
+ "Banks"
5489
+ ],
5490
+ "description": "",
5491
+ "parameters": [
5492
+ {
5493
+ "required": true,
5494
+ "in": "path",
5495
+ "type": "string",
5496
+ "name": "id_user",
5497
+ "description": "Hint: you can use 'me' or 'all'"
5498
+ },
5499
+ {
5500
+ "required": true,
5501
+ "in": "path",
5502
+ "type": "integer",
5503
+ "name": "id_account",
5504
+ "description": ""
5505
+ },
5506
+ {
5507
+ "required": false,
5508
+ "type": "string",
5509
+ "name": "expand",
5510
+ "in": "query"
5511
+ }
5512
+ ],
5513
+ "summary": "Get account sources"
5514
+ }
5515
+ },
5011
5516
  "/users/{id_user}/accounts/{id_account}/transactions": {
5012
5517
  "get": {
5013
5518
  "responses": {
@@ -7746,6 +8251,13 @@
7746
8251
  "name": "id_user",
7747
8252
  "description": "Hint: you can use 'me' or 'all'"
7748
8253
  },
8254
+ {
8255
+ "required": false,
8256
+ "in": "query",
8257
+ "type": "string",
8258
+ "name": "source",
8259
+ "description": "optional comma-separated list of sources to use for the connection synchronization"
8260
+ },
7749
8261
  {
7750
8262
  "required": false,
7751
8263
  "in": "formData",
@@ -7830,6 +8342,20 @@
7830
8342
  "name": "website",
7831
8343
  "description": "bank additional login parameter"
7832
8344
  },
8345
+ {
8346
+ "required": false,
8347
+ "in": "formData",
8348
+ "type": "string",
8349
+ "name": "openapiwebsite",
8350
+ "description": "bank additional login parameter"
8351
+ },
8352
+ {
8353
+ "required": false,
8354
+ "in": "formData",
8355
+ "type": "string",
8356
+ "name": "website",
8357
+ "description": "bank additional login parameter"
8358
+ },
7833
8359
  {
7834
8360
  "required": false,
7835
8361
  "in": "formData",
@@ -8177,7 +8703,7 @@
8177
8703
  {
8178
8704
  "name": "balance",
8179
8705
  "format": "float",
8180
- "required": true,
8706
+ "required": false,
8181
8707
  "in": "formData",
8182
8708
  "type": "number",
8183
8709
  "description": "balance of account"
@@ -8900,7 +9426,7 @@
8900
9426
  "tags": [
8901
9427
  "Banks"
8902
9428
  ],
8903
- "description": "Get logs of account.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>",
9429
+ "description": "Get logs of account. By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>",
8904
9430
  "parameters": [
8905
9431
  {
8906
9432
  "required": true,
@@ -9209,7 +9735,7 @@
9209
9735
  "in": "query"
9210
9736
  }
9211
9737
  ],
9212
- "summary": "Edit an alert on transactions or investments",
9738
+ "summary": "Edit an alert on transactions or investements",
9213
9739
  "consumes": [
9214
9740
  "application/x-www-form-urlencoded"
9215
9741
  ]
@@ -9797,6 +10323,67 @@
9797
10323
  "summary": "Cancel a transfer."
9798
10324
  }
9799
10325
  },
10326
+ "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/sources": {
10327
+ "get": {
10328
+ "responses": {
10329
+ "200": {
10330
+ "description": "sources",
10331
+ "schema": {
10332
+ "required": [
10333
+ "sources"
10334
+ ],
10335
+ "type": "object",
10336
+ "properties": {
10337
+ "sources": {
10338
+ "items": {
10339
+ "$ref": "#/definitions/ConnectionSource"
10340
+ },
10341
+ "type": "array"
10342
+ },
10343
+ "total": {
10344
+ "type": "number",
10345
+ "description": "total number of results"
10346
+ }
10347
+ }
10348
+ }
10349
+ }
10350
+ },
10351
+ "tags": [
10352
+ "Banks"
10353
+ ],
10354
+ "description": "",
10355
+ "parameters": [
10356
+ {
10357
+ "required": true,
10358
+ "in": "path",
10359
+ "type": "string",
10360
+ "name": "id_user",
10361
+ "description": "Hint: you can use 'me' or 'all'"
10362
+ },
10363
+ {
10364
+ "required": true,
10365
+ "in": "path",
10366
+ "type": "integer",
10367
+ "name": "id_connection",
10368
+ "description": ""
10369
+ },
10370
+ {
10371
+ "required": true,
10372
+ "in": "path",
10373
+ "type": "integer",
10374
+ "name": "id_account",
10375
+ "description": ""
10376
+ },
10377
+ {
10378
+ "required": false,
10379
+ "type": "string",
10380
+ "name": "expand",
10381
+ "in": "query"
10382
+ }
10383
+ ],
10384
+ "summary": "Get account sources"
10385
+ }
10386
+ },
9800
10387
  "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/transactions": {
9801
10388
  "get": {
9802
10389
  "responses": {
@@ -13154,6 +13741,13 @@
13154
13741
  "name": "charged",
13155
13742
  "description": "consider only logs for charged connectors"
13156
13743
  },
13744
+ {
13745
+ "required": false,
13746
+ "in": "query",
13747
+ "type": "integer",
13748
+ "name": "id_source",
13749
+ "description": "ID of a source"
13750
+ },
13157
13751
  {
13158
13752
  "required": false,
13159
13753
  "type": "string",
@@ -13636,20 +14230,37 @@
13636
14230
  "summary": "Cancel a transfer."
13637
14231
  }
13638
14232
  },
13639
- "/users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}": {
13640
- "put": {
14233
+ "/users/{id_user}/connections/{id_connection}/sources": {
14234
+ "get": {
13641
14235
  "responses": {
13642
14236
  "200": {
13643
- "description": "Successful PUT on Subscription resource",
14237
+ "description": "sources",
13644
14238
  "schema": {
13645
- "$ref": "#/definitions/Subscription"
14239
+ "required": [
14240
+ "sources"
14241
+ ],
14242
+ "type": "object",
14243
+ "properties": {
14244
+ "sources": {
14245
+ "items": {
14246
+ "$ref": "#/definitions/ConnectionSource"
14247
+ },
14248
+ "type": "array"
14249
+ },
14250
+ "total": {
14251
+ "type": "number",
14252
+ "description": "total number of results"
14253
+ }
14254
+ }
13646
14255
  }
13647
14256
  }
13648
14257
  },
13649
14258
  "tags": [
14259
+ "Connections",
14260
+ "Banks",
13650
14261
  "Providers"
13651
14262
  ],
13652
- "description": "It updates a specific subscription<br><br>",
14263
+ "description": "",
13653
14264
  "parameters": [
13654
14265
  {
13655
14266
  "required": true,
@@ -13665,27 +14276,6 @@
13665
14276
  "name": "id_connection",
13666
14277
  "description": ""
13667
14278
  },
13668
- {
13669
- "required": true,
13670
- "in": "path",
13671
- "type": "integer",
13672
- "name": "id_subscription",
13673
- "description": ""
13674
- },
13675
- {
13676
- "required": false,
13677
- "in": "formData",
13678
- "type": "string",
13679
- "name": "name",
13680
- "description": "Label of the subscription"
13681
- },
13682
- {
13683
- "required": false,
13684
- "in": "formData",
13685
- "type": "boolean",
13686
- "name": "disabled",
13687
- "description": "If the subscription is disabled (not synchronized)"
13688
- },
13689
14279
  {
13690
14280
  "required": false,
13691
14281
  "type": "string",
@@ -13693,21 +14283,25 @@
13693
14283
  "in": "query"
13694
14284
  }
13695
14285
  ],
13696
- "summary": "Update a subscription"
13697
- },
13698
- "delete": {
14286
+ "summary": "Get connection sources"
14287
+ }
14288
+ },
14289
+ "/users/{id_user}/connections/{id_connection}/sources/{id_source}": {
14290
+ "post": {
13699
14291
  "responses": {
13700
14292
  "200": {
13701
- "description": "Successful DELETE on Subscription resource",
14293
+ "description": "Successful POST on ConnectionSource resource",
13702
14294
  "schema": {
13703
- "$ref": "#/definitions/Subscription"
14295
+ "$ref": "#/definitions/ConnectionSource"
13704
14296
  }
13705
14297
  }
13706
14298
  },
13707
14299
  "tags": [
14300
+ "Connections",
14301
+ "Banks",
13708
14302
  "Providers"
13709
14303
  ],
13710
- "description": "It deletes a specific subscription.<br><br>",
14304
+ "description": "This will make it so the specified source will be able to be synchronized.<br><br>",
13711
14305
  "parameters": [
13712
14306
  {
13713
14307
  "required": true,
@@ -13727,7 +14321,7 @@
13727
14321
  "required": true,
13728
14322
  "in": "path",
13729
14323
  "type": "integer",
13730
- "name": "id_subscription",
14324
+ "name": "id_source",
13731
14325
  "description": ""
13732
14326
  },
13733
14327
  {
@@ -13737,39 +14331,23 @@
13737
14331
  "in": "query"
13738
14332
  }
13739
14333
  ],
13740
- "summary": "Delete a subscription."
13741
- }
13742
- },
13743
- "/users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/documents": {
13744
- "get": {
14334
+ "summary": "Enable connection source"
14335
+ },
14336
+ "put": {
13745
14337
  "responses": {
13746
14338
  "200": {
13747
- "description": "documents",
14339
+ "description": "Successful PUT on ConnectionSource resource",
13748
14340
  "schema": {
13749
- "required": [
13750
- "documents"
13751
- ],
13752
- "type": "object",
13753
- "properties": {
13754
- "total": {
13755
- "type": "number",
13756
- "description": "total number of results"
13757
- },
13758
- "documents": {
13759
- "items": {
13760
- "$ref": "#/definitions/Document"
13761
- },
13762
- "type": "array"
13763
- }
13764
- }
14341
+ "$ref": "#/definitions/ConnectionSource"
13765
14342
  }
13766
14343
  }
13767
14344
  },
13768
14345
  "tags": [
13769
- "Providers",
13770
- "Documents"
14346
+ "Connections",
14347
+ "Banks",
14348
+ "Providers"
13771
14349
  ],
13772
- "description": "Get list of documents<br><br>",
14350
+ "description": "This will make it so the specified source will be able to be synchronized.<br><br>",
13773
14351
  "parameters": [
13774
14352
  {
13775
14353
  "required": true,
@@ -13789,77 +14367,54 @@
13789
14367
  "required": true,
13790
14368
  "in": "path",
13791
14369
  "type": "integer",
13792
- "name": "id_subscription",
14370
+ "name": "id_source",
13793
14371
  "description": ""
13794
14372
  },
13795
14373
  {
13796
14374
  "required": false,
13797
- "in": "query",
13798
- "type": "integer",
13799
- "name": "limit",
13800
- "description": "limit number of results"
13801
- },
13802
- {
13803
- "required": false,
13804
- "in": "query",
13805
- "type": "integer",
13806
- "name": "offset",
13807
- "description": "offset of first result"
13808
- },
13809
- {
13810
- "name": "min_date",
13811
- "format": "date",
13812
- "required": false,
13813
- "in": "query",
13814
14375
  "type": "string",
13815
- "description": "minimal (inclusive) date"
13816
- },
14376
+ "name": "expand",
14377
+ "in": "query"
14378
+ }
14379
+ ],
14380
+ "summary": "Enable connection source"
14381
+ },
14382
+ "delete": {
14383
+ "responses": {
14384
+ "200": {
14385
+ "description": "Successful DELETE on ConnectionSource resource",
14386
+ "schema": {
14387
+ "$ref": "#/definitions/ConnectionSource"
14388
+ }
14389
+ }
14390
+ },
14391
+ "tags": [
14392
+ "Connections",
14393
+ "Banks",
14394
+ "Providers"
14395
+ ],
14396
+ "description": "This will make it so the specified source will not be synchronized anymore.<br><br>",
14397
+ "parameters": [
13817
14398
  {
13818
- "name": "max_date",
13819
- "format": "date",
13820
- "required": false,
13821
- "in": "query",
14399
+ "required": true,
14400
+ "in": "path",
13822
14401
  "type": "string",
13823
- "description": "maximum (inclusive) date"
13824
- },
13825
- {
13826
- "name": "min_amount",
13827
- "format": "float",
13828
- "required": false,
13829
- "in": "query",
13830
- "type": "number",
13831
- "description": "minimal (inclusive) amount"
13832
- },
13833
- {
13834
- "name": "max_amount",
13835
- "format": "float",
13836
- "required": false,
13837
- "in": "query",
13838
- "type": "number",
13839
- "description": "maximum (inclusive) amount"
13840
- },
13841
- {
13842
- "name": "min_timestamp",
13843
- "format": "float",
13844
- "required": false,
13845
- "in": "query",
13846
- "type": "number",
13847
- "description": "minimal (inclusive) timestamp"
14402
+ "name": "id_user",
14403
+ "description": "Hint: you can use 'me' or 'all'"
13848
14404
  },
13849
14405
  {
13850
- "name": "max_timestamp",
13851
- "format": "float",
13852
- "required": false,
13853
- "in": "query",
13854
- "type": "number",
13855
- "description": "maximum (inclusive) timestamp"
14406
+ "required": true,
14407
+ "in": "path",
14408
+ "type": "integer",
14409
+ "name": "id_connection",
14410
+ "description": ""
13856
14411
  },
13857
14412
  {
13858
- "required": false,
13859
- "in": "query",
14413
+ "required": true,
14414
+ "in": "path",
13860
14415
  "type": "integer",
13861
- "name": "id_type",
13862
- "description": "filter with a document type"
14416
+ "name": "id_source",
14417
+ "description": ""
13863
14418
  },
13864
14419
  {
13865
14420
  "required": false,
@@ -13868,17 +14423,23 @@
13868
14423
  "in": "query"
13869
14424
  }
13870
14425
  ],
13871
- "summary": "Get documents"
13872
- },
13873
- "post": {
14426
+ "summary": "Disable a connection source"
14427
+ }
14428
+ },
14429
+ "/users/{id_user}/connections/{id_connection}/subscriptions": {
14430
+ "put": {
13874
14431
  "responses": {
13875
14432
  "200": {
13876
- "description": "Successful POST on Document resource",
14433
+ "description": "Successful PUT on Subscription resource",
13877
14434
  "schema": {
13878
- "$ref": "#/definitions/Document"
14435
+ "$ref": "#/definitions/Subscription"
13879
14436
  }
13880
14437
  }
13881
14438
  },
14439
+ "tags": [
14440
+ "Providers"
14441
+ ],
14442
+ "description": "",
13882
14443
  "parameters": [
13883
14444
  {
13884
14445
  "required": true,
@@ -13894,13 +14455,281 @@
13894
14455
  "name": "id_connection",
13895
14456
  "description": ""
13896
14457
  },
13897
- {
13898
- "required": true,
13899
- "in": "path",
13900
- "type": "integer",
13901
- "name": "id_subscription",
13902
- "description": ""
13903
- },
14458
+ {
14459
+ "required": false,
14460
+ "type": "string",
14461
+ "name": "expand",
14462
+ "in": "query"
14463
+ }
14464
+ ],
14465
+ "summary": "Update many subscriptions at once"
14466
+ }
14467
+ },
14468
+ "/users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}": {
14469
+ "put": {
14470
+ "responses": {
14471
+ "200": {
14472
+ "description": "Successful PUT on Subscription resource",
14473
+ "schema": {
14474
+ "$ref": "#/definitions/Subscription"
14475
+ }
14476
+ }
14477
+ },
14478
+ "tags": [
14479
+ "Providers"
14480
+ ],
14481
+ "description": "It updates a specific subscription<br><br>",
14482
+ "parameters": [
14483
+ {
14484
+ "required": true,
14485
+ "in": "path",
14486
+ "type": "string",
14487
+ "name": "id_user",
14488
+ "description": "Hint: you can use 'me' or 'all'"
14489
+ },
14490
+ {
14491
+ "required": true,
14492
+ "in": "path",
14493
+ "type": "integer",
14494
+ "name": "id_connection",
14495
+ "description": ""
14496
+ },
14497
+ {
14498
+ "required": true,
14499
+ "in": "path",
14500
+ "type": "integer",
14501
+ "name": "id_subscription",
14502
+ "description": ""
14503
+ },
14504
+ {
14505
+ "required": false,
14506
+ "in": "formData",
14507
+ "type": "string",
14508
+ "name": "name",
14509
+ "description": "Label of the subscription"
14510
+ },
14511
+ {
14512
+ "required": false,
14513
+ "in": "formData",
14514
+ "type": "boolean",
14515
+ "name": "disabled",
14516
+ "description": "If the subscription is disabled (not synchronized)"
14517
+ },
14518
+ {
14519
+ "required": false,
14520
+ "type": "string",
14521
+ "name": "expand",
14522
+ "in": "query"
14523
+ }
14524
+ ],
14525
+ "summary": "Update a subscription"
14526
+ },
14527
+ "delete": {
14528
+ "responses": {
14529
+ "200": {
14530
+ "description": "Successful DELETE on Subscription resource",
14531
+ "schema": {
14532
+ "$ref": "#/definitions/Subscription"
14533
+ }
14534
+ }
14535
+ },
14536
+ "tags": [
14537
+ "Providers"
14538
+ ],
14539
+ "description": "It deletes a specific subscription.<br><br>",
14540
+ "parameters": [
14541
+ {
14542
+ "required": true,
14543
+ "in": "path",
14544
+ "type": "string",
14545
+ "name": "id_user",
14546
+ "description": "Hint: you can use 'me' or 'all'"
14547
+ },
14548
+ {
14549
+ "required": true,
14550
+ "in": "path",
14551
+ "type": "integer",
14552
+ "name": "id_connection",
14553
+ "description": ""
14554
+ },
14555
+ {
14556
+ "required": true,
14557
+ "in": "path",
14558
+ "type": "integer",
14559
+ "name": "id_subscription",
14560
+ "description": ""
14561
+ },
14562
+ {
14563
+ "required": false,
14564
+ "type": "string",
14565
+ "name": "expand",
14566
+ "in": "query"
14567
+ }
14568
+ ],
14569
+ "summary": "Delete a subscription."
14570
+ }
14571
+ },
14572
+ "/users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/documents": {
14573
+ "get": {
14574
+ "responses": {
14575
+ "200": {
14576
+ "description": "documents",
14577
+ "schema": {
14578
+ "required": [
14579
+ "documents"
14580
+ ],
14581
+ "type": "object",
14582
+ "properties": {
14583
+ "total": {
14584
+ "type": "number",
14585
+ "description": "total number of results"
14586
+ },
14587
+ "documents": {
14588
+ "items": {
14589
+ "$ref": "#/definitions/Document"
14590
+ },
14591
+ "type": "array"
14592
+ }
14593
+ }
14594
+ }
14595
+ }
14596
+ },
14597
+ "tags": [
14598
+ "Providers",
14599
+ "Documents"
14600
+ ],
14601
+ "description": "Get list of documents<br><br>",
14602
+ "parameters": [
14603
+ {
14604
+ "required": true,
14605
+ "in": "path",
14606
+ "type": "string",
14607
+ "name": "id_user",
14608
+ "description": "Hint: you can use 'me' or 'all'"
14609
+ },
14610
+ {
14611
+ "required": true,
14612
+ "in": "path",
14613
+ "type": "integer",
14614
+ "name": "id_connection",
14615
+ "description": ""
14616
+ },
14617
+ {
14618
+ "required": true,
14619
+ "in": "path",
14620
+ "type": "integer",
14621
+ "name": "id_subscription",
14622
+ "description": ""
14623
+ },
14624
+ {
14625
+ "required": false,
14626
+ "in": "query",
14627
+ "type": "integer",
14628
+ "name": "limit",
14629
+ "description": "limit number of results"
14630
+ },
14631
+ {
14632
+ "required": false,
14633
+ "in": "query",
14634
+ "type": "integer",
14635
+ "name": "offset",
14636
+ "description": "offset of first result"
14637
+ },
14638
+ {
14639
+ "name": "min_date",
14640
+ "format": "date",
14641
+ "required": false,
14642
+ "in": "query",
14643
+ "type": "string",
14644
+ "description": "minimal (inclusive) date"
14645
+ },
14646
+ {
14647
+ "name": "max_date",
14648
+ "format": "date",
14649
+ "required": false,
14650
+ "in": "query",
14651
+ "type": "string",
14652
+ "description": "maximum (inclusive) date"
14653
+ },
14654
+ {
14655
+ "name": "min_amount",
14656
+ "format": "float",
14657
+ "required": false,
14658
+ "in": "query",
14659
+ "type": "number",
14660
+ "description": "minimal (inclusive) amount"
14661
+ },
14662
+ {
14663
+ "name": "max_amount",
14664
+ "format": "float",
14665
+ "required": false,
14666
+ "in": "query",
14667
+ "type": "number",
14668
+ "description": "maximum (inclusive) amount"
14669
+ },
14670
+ {
14671
+ "name": "min_timestamp",
14672
+ "format": "float",
14673
+ "required": false,
14674
+ "in": "query",
14675
+ "type": "number",
14676
+ "description": "minimal (inclusive) timestamp"
14677
+ },
14678
+ {
14679
+ "name": "max_timestamp",
14680
+ "format": "float",
14681
+ "required": false,
14682
+ "in": "query",
14683
+ "type": "number",
14684
+ "description": "maximum (inclusive) timestamp"
14685
+ },
14686
+ {
14687
+ "required": false,
14688
+ "in": "query",
14689
+ "type": "integer",
14690
+ "name": "id_type",
14691
+ "description": "filter with a document type"
14692
+ },
14693
+ {
14694
+ "required": false,
14695
+ "type": "string",
14696
+ "name": "expand",
14697
+ "in": "query"
14698
+ }
14699
+ ],
14700
+ "summary": "Get documents"
14701
+ },
14702
+ "post": {
14703
+ "responses": {
14704
+ "200": {
14705
+ "description": "Successful POST on Document resource",
14706
+ "schema": {
14707
+ "$ref": "#/definitions/Document"
14708
+ }
14709
+ }
14710
+ },
14711
+ "parameters": [
14712
+ {
14713
+ "required": true,
14714
+ "in": "path",
14715
+ "type": "string",
14716
+ "name": "id_user",
14717
+ "description": "Hint: you can use 'me' or 'all'"
14718
+ },
14719
+ {
14720
+ "required": true,
14721
+ "in": "path",
14722
+ "type": "integer",
14723
+ "name": "id_connection",
14724
+ "description": ""
14725
+ },
14726
+ {
14727
+ "required": true,
14728
+ "in": "path",
14729
+ "type": "integer",
14730
+ "name": "id_subscription",
14731
+ "description": ""
14732
+ },
13904
14733
  {
13905
14734
  "required": false,
13906
14735
  "in": "formData",
@@ -14296,6 +15125,97 @@
14296
15125
  "summary": "Delete a document"
14297
15126
  }
14298
15127
  },
15128
+ "/users/{id_user}/connections/{id_connection}/subscriptions/{id_subscription}/logs": {
15129
+ "get": {
15130
+ "responses": {
15131
+ "200": {
15132
+ "description": "subscriptionlogs",
15133
+ "schema": {
15134
+ "required": [
15135
+ "subscriptionlogs"
15136
+ ],
15137
+ "type": "object",
15138
+ "properties": {
15139
+ "total": {
15140
+ "type": "number",
15141
+ "description": "total number of results"
15142
+ },
15143
+ "subscriptionlogs": {
15144
+ "items": {
15145
+ "$ref": "#/definitions/SubscriptionLog"
15146
+ },
15147
+ "type": "array"
15148
+ }
15149
+ }
15150
+ }
15151
+ }
15152
+ },
15153
+ "tags": [
15154
+ "Providers"
15155
+ ],
15156
+ "description": "Get logs of subscription.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>",
15157
+ "parameters": [
15158
+ {
15159
+ "required": true,
15160
+ "in": "path",
15161
+ "type": "string",
15162
+ "name": "id_user",
15163
+ "description": "Hint: you can use 'me' or 'all'"
15164
+ },
15165
+ {
15166
+ "required": true,
15167
+ "in": "path",
15168
+ "type": "integer",
15169
+ "name": "id_connection",
15170
+ "description": ""
15171
+ },
15172
+ {
15173
+ "required": true,
15174
+ "in": "path",
15175
+ "type": "integer",
15176
+ "name": "id_subscription",
15177
+ "description": ""
15178
+ },
15179
+ {
15180
+ "required": false,
15181
+ "in": "query",
15182
+ "type": "integer",
15183
+ "name": "limit",
15184
+ "description": "limit number of results"
15185
+ },
15186
+ {
15187
+ "required": false,
15188
+ "in": "query",
15189
+ "type": "integer",
15190
+ "name": "offset",
15191
+ "description": "offset of first result"
15192
+ },
15193
+ {
15194
+ "name": "min_date",
15195
+ "format": "date",
15196
+ "required": false,
15197
+ "in": "query",
15198
+ "type": "string",
15199
+ "description": "minimal (inclusive) date"
15200
+ },
15201
+ {
15202
+ "name": "max_date",
15203
+ "format": "date",
15204
+ "required": false,
15205
+ "in": "query",
15206
+ "type": "string",
15207
+ "description": "maximum (inclusive) date"
15208
+ },
15209
+ {
15210
+ "required": false,
15211
+ "type": "string",
15212
+ "name": "expand",
15213
+ "in": "query"
15214
+ }
15215
+ ],
15216
+ "summary": "Get subscriptions logs."
15217
+ }
15218
+ },
14299
15219
  "/users/{id_user}/connections/{id_connection}/transactions": {
14300
15220
  "get": {
14301
15221
  "responses": {
@@ -17507,6 +18427,13 @@
17507
18427
  "name": "charged",
17508
18428
  "description": "consider only logs for charged connectors"
17509
18429
  },
18430
+ {
18431
+ "required": false,
18432
+ "in": "query",
18433
+ "type": "integer",
18434
+ "name": "id_source",
18435
+ "description": "ID of a source"
18436
+ },
17510
18437
  {
17511
18438
  "required": false,
17512
18439
  "type": "string",
@@ -18547,6 +19474,38 @@
18547
19474
  "summary": "Update synthesis configuration"
18548
19475
  }
18549
19476
  },
19477
+ "/users/{id_user}/subscriptions": {
19478
+ "put": {
19479
+ "responses": {
19480
+ "200": {
19481
+ "description": "Successful PUT on Subscription resource",
19482
+ "schema": {
19483
+ "$ref": "#/definitions/Subscription"
19484
+ }
19485
+ }
19486
+ },
19487
+ "tags": [
19488
+ "Providers"
19489
+ ],
19490
+ "description": "",
19491
+ "parameters": [
19492
+ {
19493
+ "required": true,
19494
+ "in": "path",
19495
+ "type": "string",
19496
+ "name": "id_user",
19497
+ "description": "Hint: you can use 'me' or 'all'"
19498
+ },
19499
+ {
19500
+ "required": false,
19501
+ "type": "string",
19502
+ "name": "expand",
19503
+ "in": "query"
19504
+ }
19505
+ ],
19506
+ "summary": "Update many subscriptions at once"
19507
+ }
19508
+ },
18550
19509
  "/users/{id_user}/subscriptions/{id_subscription}": {
18551
19510
  "put": {
18552
19511
  "responses": {
@@ -19101,30 +20060,91 @@
19101
20060
  "in": "query"
19102
20061
  }
19103
20062
  ],
19104
- "tags": [
19105
- "Providers",
19106
- "Documents"
19107
- ],
19108
- "summary": "Edit a document",
19109
- "consumes": [
19110
- "multipart/form-data"
19111
- ],
19112
- "description": "Edit meta-data of a specific document."
19113
- },
19114
- "delete": {
20063
+ "tags": [
20064
+ "Providers",
20065
+ "Documents"
20066
+ ],
20067
+ "summary": "Edit a document",
20068
+ "consumes": [
20069
+ "multipart/form-data"
20070
+ ],
20071
+ "description": "Edit meta-data of a specific document."
20072
+ },
20073
+ "delete": {
20074
+ "responses": {
20075
+ "200": {
20076
+ "description": "Successful DELETE on Document resource",
20077
+ "schema": {
20078
+ "$ref": "#/definitions/Document"
20079
+ }
20080
+ }
20081
+ },
20082
+ "tags": [
20083
+ "Providers",
20084
+ "Documents"
20085
+ ],
20086
+ "description": "",
20087
+ "parameters": [
20088
+ {
20089
+ "required": true,
20090
+ "in": "path",
20091
+ "type": "string",
20092
+ "name": "id_user",
20093
+ "description": "Hint: you can use 'me' or 'all'"
20094
+ },
20095
+ {
20096
+ "required": true,
20097
+ "in": "path",
20098
+ "type": "integer",
20099
+ "name": "id_subscription",
20100
+ "description": ""
20101
+ },
20102
+ {
20103
+ "required": true,
20104
+ "in": "path",
20105
+ "type": "integer",
20106
+ "name": "id_document",
20107
+ "description": ""
20108
+ },
20109
+ {
20110
+ "required": false,
20111
+ "type": "string",
20112
+ "name": "expand",
20113
+ "in": "query"
20114
+ }
20115
+ ],
20116
+ "summary": "Delete a document"
20117
+ }
20118
+ },
20119
+ "/users/{id_user}/subscriptions/{id_subscription}/logs": {
20120
+ "get": {
19115
20121
  "responses": {
19116
20122
  "200": {
19117
- "description": "Successful DELETE on Document resource",
20123
+ "description": "subscriptionlogs",
19118
20124
  "schema": {
19119
- "$ref": "#/definitions/Document"
20125
+ "required": [
20126
+ "subscriptionlogs"
20127
+ ],
20128
+ "type": "object",
20129
+ "properties": {
20130
+ "total": {
20131
+ "type": "number",
20132
+ "description": "total number of results"
20133
+ },
20134
+ "subscriptionlogs": {
20135
+ "items": {
20136
+ "$ref": "#/definitions/SubscriptionLog"
20137
+ },
20138
+ "type": "array"
20139
+ }
20140
+ }
19120
20141
  }
19121
20142
  }
19122
20143
  },
19123
20144
  "tags": [
19124
- "Providers",
19125
- "Documents"
20145
+ "Providers"
19126
20146
  ],
19127
- "description": "",
20147
+ "description": "Get logs of subscription.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>",
19128
20148
  "parameters": [
19129
20149
  {
19130
20150
  "required": true,
@@ -19141,11 +20161,34 @@
19141
20161
  "description": ""
19142
20162
  },
19143
20163
  {
19144
- "required": true,
19145
- "in": "path",
20164
+ "required": false,
20165
+ "in": "query",
19146
20166
  "type": "integer",
19147
- "name": "id_document",
19148
- "description": ""
20167
+ "name": "limit",
20168
+ "description": "limit number of results"
20169
+ },
20170
+ {
20171
+ "required": false,
20172
+ "in": "query",
20173
+ "type": "integer",
20174
+ "name": "offset",
20175
+ "description": "offset of first result"
20176
+ },
20177
+ {
20178
+ "name": "min_date",
20179
+ "format": "date",
20180
+ "required": false,
20181
+ "in": "query",
20182
+ "type": "string",
20183
+ "description": "minimal (inclusive) date"
20184
+ },
20185
+ {
20186
+ "name": "max_date",
20187
+ "format": "date",
20188
+ "required": false,
20189
+ "in": "query",
20190
+ "type": "string",
20191
+ "description": "maximum (inclusive) date"
19149
20192
  },
19150
20193
  {
19151
20194
  "required": false,
@@ -19154,7 +20197,7 @@
19154
20197
  "in": "query"
19155
20198
  }
19156
20199
  ],
19157
- "summary": "Delete a document"
20200
+ "summary": "Get subscriptions logs."
19158
20201
  }
19159
20202
  },
19160
20203
  "/users/{id_user}/terms": {
@@ -21257,9 +22300,10 @@
21257
22300
  }
21258
22301
  },
21259
22302
  "tags": [
21260
- "Authentication"
22303
+ "Authentication",
22304
+ "Transfer"
21261
22305
  ],
21262
- "description": "",
22306
+ "description": "The route encapsulate 2 functionalities: 1. Create or update a connection through oAuth2 session.<br><br>2. Execute a transfer through OAuth2 session.",
21263
22307
  "parameters": [
21264
22308
  {
21265
22309
  "required": false,
@@ -21268,6 +22312,13 @@
21268
22312
  "name": "id_connector",
21269
22313
  "description": "ID of the connector"
21270
22314
  },
22315
+ {
22316
+ "required": false,
22317
+ "in": "query",
22318
+ "type": "integer",
22319
+ "name": "id_transfer",
22320
+ "description": "ID of the transfer"
22321
+ },
21271
22322
  {
21272
22323
  "required": false,
21273
22324
  "in": "query",
@@ -21311,7 +22362,7 @@
21311
22362
  "description": "Optional already existing connection to update"
21312
22363
  }
21313
22364
  ],
21314
- "summary": "Initialize a new OAuth2 proxy session."
22365
+ "summary": "First step to establish an oAuth2 connection."
21315
22366
  }
21316
22367
  },
21317
22368
  "/webhooks": {
@@ -21756,12 +22807,192 @@
21756
22807
  "in": "query"
21757
22808
  }
21758
22809
  ],
21759
- "summary": "Updates a webhook"
22810
+ "summary": "Updates a webhook"
22811
+ },
22812
+ "put": {
22813
+ "responses": {
22814
+ "200": {
22815
+ "description": "Successful PUT on Webhook resource",
22816
+ "schema": {
22817
+ "$ref": "#/definitions/Webhook"
22818
+ }
22819
+ }
22820
+ },
22821
+ "tags": [
22822
+ "Administration"
22823
+ ],
22824
+ "description": "",
22825
+ "parameters": [
22826
+ {
22827
+ "required": true,
22828
+ "in": "path",
22829
+ "type": "integer",
22830
+ "name": "id_webhook",
22831
+ "description": ""
22832
+ },
22833
+ {
22834
+ "required": false,
22835
+ "in": "formData",
22836
+ "type": "string",
22837
+ "name": "deleted",
22838
+ "description": "a date to delete the webhook or 'null' to enable it"
22839
+ },
22840
+ {
22841
+ "required": false,
22842
+ "in": "formData",
22843
+ "type": "integer",
22844
+ "name": "id_user",
22845
+ "description": "The user ID to associate with the webhook"
22846
+ },
22847
+ {
22848
+ "required": false,
22849
+ "in": "formData",
22850
+ "type": "integer",
22851
+ "name": "id_service",
22852
+ "description": "The service ID to associate with the webhook"
22853
+ },
22854
+ {
22855
+ "required": false,
22856
+ "in": "formData",
22857
+ "type": "integer",
22858
+ "name": "id_auth",
22859
+ "description": "The webhook authentication process to use"
22860
+ },
22861
+ {
22862
+ "name": "url",
22863
+ "format": "float",
22864
+ "required": false,
22865
+ "in": "formData",
22866
+ "type": "number",
22867
+ "description": "The webhook callback url"
22868
+ },
22869
+ {
22870
+ "required": false,
22871
+ "in": "formData",
22872
+ "type": "string",
22873
+ "name": "event",
22874
+ "description": "The webhook event"
22875
+ },
22876
+ {
22877
+ "required": false,
22878
+ "type": "string",
22879
+ "name": "expand",
22880
+ "in": "query"
22881
+ }
22882
+ ],
22883
+ "summary": "Updates a webhook"
22884
+ },
22885
+ "delete": {
22886
+ "responses": {
22887
+ "200": {
22888
+ "description": "Successful DELETE on Webhook resource",
22889
+ "schema": {
22890
+ "$ref": "#/definitions/Webhook"
22891
+ }
22892
+ }
22893
+ },
22894
+ "tags": [
22895
+ "Administration"
22896
+ ],
22897
+ "description": "Updates the deleted field with the date of the deletion<br><br>",
22898
+ "parameters": [
22899
+ {
22900
+ "required": true,
22901
+ "in": "path",
22902
+ "type": "integer",
22903
+ "name": "id_webhook",
22904
+ "description": ""
22905
+ },
22906
+ {
22907
+ "required": false,
22908
+ "type": "string",
22909
+ "name": "expand",
22910
+ "in": "query"
22911
+ }
22912
+ ],
22913
+ "summary": "Deletes a webhook"
22914
+ }
22915
+ },
22916
+ "/webhooks/{id_webhook}/add_to_data": {
22917
+ "get": {
22918
+ "responses": {
22919
+ "200": {
22920
+ "description": "webhooks",
22921
+ "schema": {
22922
+ "required": [
22923
+ "webhooks"
22924
+ ],
22925
+ "type": "object",
22926
+ "properties": {
22927
+ "webhooks": {
22928
+ "items": {
22929
+ "$ref": "#/definitions/Webhook"
22930
+ },
22931
+ "type": "array"
22932
+ },
22933
+ "total": {
22934
+ "type": "number",
22935
+ "description": "total number of results"
22936
+ }
22937
+ }
22938
+ }
22939
+ }
22940
+ },
22941
+ "tags": [
22942
+ "Administration"
22943
+ ],
22944
+ "description": "",
22945
+ "parameters": [
22946
+ {
22947
+ "required": true,
22948
+ "in": "path",
22949
+ "type": "integer",
22950
+ "name": "id_webhook",
22951
+ "description": ""
22952
+ },
22953
+ {
22954
+ "required": false,
22955
+ "type": "string",
22956
+ "name": "expand",
22957
+ "in": "query"
22958
+ }
22959
+ ],
22960
+ "summary": "retrieve the list of the value to add in webhooks when sending the requested webhook"
22961
+ },
22962
+ "post": {
22963
+ "responses": {
22964
+ "200": {
22965
+ "description": "Successful POST on Webhook resource",
22966
+ "schema": {
22967
+ "$ref": "#/definitions/Webhook"
22968
+ }
22969
+ }
22970
+ },
22971
+ "tags": [
22972
+ "Administration"
22973
+ ],
22974
+ "description": "For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.<br><br>",
22975
+ "parameters": [
22976
+ {
22977
+ "required": true,
22978
+ "in": "path",
22979
+ "type": "integer",
22980
+ "name": "id_webhook",
22981
+ "description": ""
22982
+ },
22983
+ {
22984
+ "required": false,
22985
+ "type": "string",
22986
+ "name": "expand",
22987
+ "in": "query"
22988
+ }
22989
+ ],
22990
+ "summary": "Setup a field to store in user config when calling the endpoint"
21760
22991
  },
21761
- "put": {
22992
+ "delete": {
21762
22993
  "responses": {
21763
22994
  "200": {
21764
- "description": "Successful PUT on Webhook resource",
22995
+ "description": "Successful DELETE on Webhook resource",
21765
22996
  "schema": {
21766
22997
  "$ref": "#/definitions/Webhook"
21767
22998
  }
@@ -21779,49 +23010,6 @@
21779
23010
  "name": "id_webhook",
21780
23011
  "description": ""
21781
23012
  },
21782
- {
21783
- "required": false,
21784
- "in": "formData",
21785
- "type": "string",
21786
- "name": "deleted",
21787
- "description": "a date to delete the webhook or 'null' to enable it"
21788
- },
21789
- {
21790
- "required": false,
21791
- "in": "formData",
21792
- "type": "integer",
21793
- "name": "id_user",
21794
- "description": "The user ID to associate with the webhook"
21795
- },
21796
- {
21797
- "required": false,
21798
- "in": "formData",
21799
- "type": "integer",
21800
- "name": "id_service",
21801
- "description": "The service ID to associate with the webhook"
21802
- },
21803
- {
21804
- "required": false,
21805
- "in": "formData",
21806
- "type": "integer",
21807
- "name": "id_auth",
21808
- "description": "The webhook authentication process to use"
21809
- },
21810
- {
21811
- "name": "url",
21812
- "format": "float",
21813
- "required": false,
21814
- "in": "formData",
21815
- "type": "number",
21816
- "description": "The webhook callback url"
21817
- },
21818
- {
21819
- "required": false,
21820
- "in": "formData",
21821
- "type": "string",
21822
- "name": "event",
21823
- "description": "The webhook event"
21824
- },
21825
23013
  {
21826
23014
  "required": false,
21827
23015
  "type": "string",
@@ -21829,12 +23017,14 @@
21829
23017
  "in": "query"
21830
23018
  }
21831
23019
  ],
21832
- "summary": "Updates a webhook"
21833
- },
21834
- "delete": {
23020
+ "summary": "delete all entries"
23021
+ }
23022
+ },
23023
+ "/webhooks/{id_webhook}/add_to_data/{key}": {
23024
+ "get": {
21835
23025
  "responses": {
21836
23026
  "200": {
21837
- "description": "Successful DELETE on Webhook resource",
23027
+ "description": "Successful GET on Webhook resource",
21838
23028
  "schema": {
21839
23029
  "$ref": "#/definitions/Webhook"
21840
23030
  }
@@ -21843,7 +23033,7 @@
21843
23033
  "tags": [
21844
23034
  "Administration"
21845
23035
  ],
21846
- "description": "Updates the deleted field with the date of the deletion<br><br>",
23036
+ "description": "",
21847
23037
  "parameters": [
21848
23038
  {
21849
23039
  "required": true,
@@ -21852,6 +23042,13 @@
21852
23042
  "name": "id_webhook",
21853
23043
  "description": ""
21854
23044
  },
23045
+ {
23046
+ "required": true,
23047
+ "in": "path",
23048
+ "type": "string",
23049
+ "name": "key",
23050
+ "description": ""
23051
+ },
21855
23052
  {
21856
23053
  "required": false,
21857
23054
  "type": "string",
@@ -21859,20 +23056,21 @@
21859
23056
  "in": "query"
21860
23057
  }
21861
23058
  ],
21862
- "summary": "Deletes a webhook"
21863
- }
21864
- },
21865
- "/webhooks/{id_webhook}/add_to_data": {
21866
- "get": {
23059
+ "summary": "retrieve the value to add in the requested webhook for the requested name"
23060
+ },
23061
+ "post": {
21867
23062
  "responses": {
21868
23063
  "200": {
21869
- "description": "standard HTTP response"
23064
+ "description": "Successful POST on Webhook resource",
23065
+ "schema": {
23066
+ "$ref": "#/definitions/Webhook"
23067
+ }
21870
23068
  }
21871
23069
  },
21872
23070
  "tags": [
21873
23071
  "Administration"
21874
23072
  ],
21875
- "description": "",
23073
+ "description": "For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.<br><br>",
21876
23074
  "parameters": [
21877
23075
  {
21878
23076
  "required": true,
@@ -21880,20 +23078,36 @@
21880
23078
  "type": "integer",
21881
23079
  "name": "id_webhook",
21882
23080
  "description": ""
23081
+ },
23082
+ {
23083
+ "required": true,
23084
+ "in": "path",
23085
+ "type": "string",
23086
+ "name": "key",
23087
+ "description": ""
23088
+ },
23089
+ {
23090
+ "required": false,
23091
+ "type": "string",
23092
+ "name": "expand",
23093
+ "in": "query"
21883
23094
  }
21884
23095
  ],
21885
- "summary": "retrieve the list of the value to add in webhooks when sending the requested webhook"
23096
+ "summary": "upate the requested field to store in user config when calling the endpoint"
21886
23097
  },
21887
- "post": {
23098
+ "delete": {
21888
23099
  "responses": {
21889
23100
  "200": {
21890
- "description": "standard HTTP response"
23101
+ "description": "Successful DELETE on Webhook resource",
23102
+ "schema": {
23103
+ "$ref": "#/definitions/Webhook"
23104
+ }
21891
23105
  }
21892
23106
  },
21893
23107
  "tags": [
21894
- "HUB"
23108
+ "Administration"
21895
23109
  ],
21896
- "description": "For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.<br><br>",
23110
+ "description": "",
21897
23111
  "parameters": [
21898
23112
  {
21899
23113
  "required": true,
@@ -21901,9 +23115,22 @@
21901
23115
  "type": "integer",
21902
23116
  "name": "id_webhook",
21903
23117
  "description": ""
23118
+ },
23119
+ {
23120
+ "required": true,
23121
+ "in": "path",
23122
+ "type": "string",
23123
+ "name": "key",
23124
+ "description": ""
23125
+ },
23126
+ {
23127
+ "required": false,
23128
+ "type": "string",
23129
+ "name": "expand",
23130
+ "in": "query"
21904
23131
  }
21905
23132
  ],
21906
- "summary": "Setup a field to store in user config when calling the endpoint"
23133
+ "summary": "delete the requested entry"
21907
23134
  }
21908
23135
  },
21909
23136
  "/webhooks/{id_webhook}/logs": {
@@ -21943,6 +23170,13 @@
21943
23170
  "name": "id_webhook",
21944
23171
  "description": ""
21945
23172
  },
23173
+ {
23174
+ "required": false,
23175
+ "in": "query",
23176
+ "type": "integer",
23177
+ "name": "id_user",
23178
+ "description": "limit number of results to this user"
23179
+ },
21946
23180
  {
21947
23181
  "required": false,
21948
23182
  "in": "query",
@@ -21994,10 +23228,10 @@
21994
23228
  "required": [
21995
23229
  "id",
21996
23230
  "name",
21997
- "id_weboob",
21998
23231
  "charged",
21999
23232
  "beta",
22000
- "uuid"
23233
+ "uuid",
23234
+ "restricted"
22001
23235
  ],
22002
23236
  "type": "object",
22003
23237
  "properties": {
@@ -22009,9 +23243,6 @@
22009
23243
  "type": "string",
22010
23244
  "description": "Name of the bank or provider"
22011
23245
  },
22012
- "id_weboob": {
22013
- "type": "string"
22014
- },
22015
23246
  "hidden": {
22016
23247
  "default": false,
22017
23248
  "type": "boolean",
@@ -22065,6 +23296,11 @@
22065
23296
  "type": "string",
22066
23297
  "description": "Unique connector identifier"
22067
23298
  },
23299
+ "restricted": {
23300
+ "default": false,
23301
+ "type": "boolean",
23302
+ "description": "If true, new connections cannot be added with this connector"
23303
+ },
22068
23304
  "fields": {
22069
23305
  "type": "array",
22070
23306
  "items": {
@@ -22081,7 +23317,6 @@
22081
23317
  "example": {
22082
23318
  "id": 0,
22083
23319
  "name": "",
22084
- "id_weboob": "",
22085
23320
  "hidden": false,
22086
23321
  "charged": true,
22087
23322
  "code": "",
@@ -22092,7 +23327,61 @@
22092
23327
  "months_to_fetch": 0,
22093
23328
  "auth_mechanism": "",
22094
23329
  "siret": "",
22095
- "uuid": ""
23330
+ "uuid": "",
23331
+ "restricted": false
23332
+ }
23333
+ },
23334
+ "ConnectorSource": {
23335
+ "required": [
23336
+ "id",
23337
+ "id_connector",
23338
+ "name",
23339
+ "id_weboob"
23340
+ ],
23341
+ "type": "object",
23342
+ "properties": {
23343
+ "id": {
23344
+ "type": "integer",
23345
+ "description": "ID of the connector source"
23346
+ },
23347
+ "id_connector": {
23348
+ "type": "integer",
23349
+ "description": "ID of the connector"
23350
+ },
23351
+ "name": {
23352
+ "type": "string",
23353
+ "description": "Name of the source"
23354
+ },
23355
+ "id_weboob": {
23356
+ "type": "string"
23357
+ },
23358
+ "auth_mechanism": {
23359
+ "type": "string",
23360
+ "description": "Authentication mechanism to use"
23361
+ },
23362
+ "fallback": {
23363
+ "type": "string",
23364
+ "description": "Name of the source this fallback is for"
23365
+ },
23366
+ "disabled": {
23367
+ "type": "string",
23368
+ "description": "This source is not used to synchronize the connection",
23369
+ "format": "date-time"
23370
+ },
23371
+ "priority": {
23372
+ "type": "integer",
23373
+ "description": "The source priority order for the synchronization"
23374
+ }
23375
+ },
23376
+ "example": {
23377
+ "id": 0,
23378
+ "id_connector": 0,
23379
+ "name": "",
23380
+ "id_weboob": "",
23381
+ "auth_mechanism": "",
23382
+ "fallback": "",
23383
+ "disabled": "2019-12-27 16:17:55.183995",
23384
+ "priority": 0
22096
23385
  }
22097
23386
  },
22098
23387
  "Field": {
@@ -22148,6 +23437,10 @@
22148
23437
  "default": true,
22149
23438
  "type": "boolean",
22150
23439
  "description": "If true, field has to be set to synchronize the connection"
23440
+ },
23441
+ "auth_mechanisms": {
23442
+ "type": "string",
23443
+ "description": "Authentication mechanisms this field is used for"
22151
23444
  }
22152
23445
  },
22153
23446
  "example": {
@@ -22159,7 +23452,8 @@
22159
23452
  "type": "text",
22160
23453
  "ephemeral": false,
22161
23454
  "value": "",
22162
- "required": true
23455
+ "required": true,
23456
+ "auth_mechanisms": ""
22163
23457
  }
22164
23458
  },
22165
23459
  "FieldValue": {
@@ -22233,7 +23527,8 @@
22233
23527
  "CAstore",
22234
23528
  "requestAccess",
22235
23529
  "sharedAccess",
22236
- "transfer"
23530
+ "transfer",
23531
+ "refresh_token"
22237
23532
  ],
22238
23533
  "type": "string"
22239
23534
  }
@@ -22408,7 +23703,7 @@
22408
23703
  "id",
22409
23704
  "name",
22410
23705
  "secret",
22411
- "redirect_uri",
23706
+ "redirect_uris",
22412
23707
  "pro"
22413
23708
  ],
22414
23709
  "type": "object",
@@ -22429,7 +23724,7 @@
22429
23724
  "private_key": {
22430
23725
  "type": "string"
22431
23726
  },
22432
- "redirect_uri": {
23727
+ "redirect_uris": {
22433
23728
  "default": "",
22434
23729
  "type": "string"
22435
23730
  },
@@ -22452,7 +23747,7 @@
22452
23747
  "secret": "",
22453
23748
  "public_key": "",
22454
23749
  "private_key": "",
22455
- "redirect_uri": "",
23750
+ "redirect_uris": "",
22456
23751
  "pro": false,
22457
23752
  "id_logo": 0
22458
23753
  }
@@ -22780,6 +24075,12 @@
22780
24075
  "description": "Last successful update",
22781
24076
  "format": "date-time"
22782
24077
  },
24078
+ "created": {
24079
+ "default": "<function <lambda> at 0x7f8894ce1aa0>",
24080
+ "type": "string",
24081
+ "description": "Creation date",
24082
+ "format": "date-time"
24083
+ },
22783
24084
  "error": {
22784
24085
  "type": "string",
22785
24086
  "description": "If the last update has failed, the error code"
@@ -22819,6 +24120,12 @@
22819
24120
  "items": {
22820
24121
  "$ref": "#/definitions/Subscription"
22821
24122
  }
24123
+ },
24124
+ "connection": {
24125
+ "$ref": "#/definitions/Connection"
24126
+ },
24127
+ "message": {
24128
+ "type": "string"
22822
24129
  }
22823
24130
  },
22824
24131
  "example": {
@@ -22826,6 +24133,7 @@
22826
24133
  "id_user": 0,
22827
24134
  "id_connector": 0,
22828
24135
  "last_update": "2019-08-02 17:21:59.365076",
24136
+ "created": "<function <lambda> at 0x7f8894ce1aa0>",
22829
24137
  "error": "",
22830
24138
  "expire": "2019-08-02 17:21:59.365257",
22831
24139
  "active": true,
@@ -22833,41 +24141,6 @@
22833
24141
  "next_try": "2019-08-02 17:21:59.365554"
22834
24142
  }
22835
24143
  },
22836
- "Certificate": {
22837
- "required": [
22838
- "id",
22839
- "id_public_key_file",
22840
- "id_private_key_file",
22841
- "type",
22842
- "created"
22843
- ],
22844
- "type": "object",
22845
- "properties": {
22846
- "id": {
22847
- "type": "integer"
22848
- },
22849
- "id_public_key_file": {
22850
- "type": "integer"
22851
- },
22852
- "id_private_key_file": {
22853
- "type": "integer"
22854
- },
22855
- "type": {
22856
- "type": "string"
22857
- },
22858
- "created": {
22859
- "type": "string",
22860
- "format": "date-time"
22861
- }
22862
- },
22863
- "example": {
22864
- "id": 0,
22865
- "id_public_key_file": 0,
22866
- "id_private_key_file": 0,
22867
- "type": "",
22868
- "created": "2019-08-02 17:21:59.372311"
22869
- }
22870
- },
22871
24144
  "ConnectionLog": {
22872
24145
  "required": [
22873
24146
  "id",
@@ -22892,6 +24165,10 @@
22892
24165
  "type": "integer",
22893
24166
  "description": "ID of the connector"
22894
24167
  },
24168
+ "id_source": {
24169
+ "type": "integer",
24170
+ "description": "ID of the related connection source"
24171
+ },
22895
24172
  "login": {
22896
24173
  "type": "string",
22897
24174
  "description": "bcrypt hash of the login"
@@ -22947,43 +24224,21 @@
22947
24224
  },
22948
24225
  "example": {
22949
24226
  "id": 0,
22950
- "id_user": 0,
22951
- "id_connection": 0,
22952
- "id_connector": 0,
22953
- "login": "",
22954
- "error_uid": "",
22955
- "timestamp": "CURRENT_TIMESTAMP",
22956
- "next_try": "2019-08-02 17:21:59.374222",
22957
- "error": "",
22958
- "error_message": "",
22959
- "statut": 0,
22960
- "nb_accounts": 0,
22961
- "start": "2019-08-02 17:21:59.374490",
22962
- "worker": "",
22963
- "session_folder_id": ""
22964
- }
22965
- },
22966
- "ProjectType": {
22967
- "required": [
22968
- "id",
22969
- "name"
22970
- ],
22971
- "type": "object",
22972
- "properties": {
22973
- "id": {
22974
- "type": "integer"
22975
- },
22976
- "name": {
22977
- "type": "string"
22978
- },
22979
- "icon_url": {
22980
- "type": "string"
22981
- }
22982
- },
22983
- "example": {
22984
- "id": 0,
22985
- "name": "",
22986
- "icon_url": ""
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": ""
22987
24242
  }
22988
24243
  },
22989
24244
  "Transfer": {
@@ -22993,7 +24248,8 @@
22993
24248
  "exec_date",
22994
24249
  "register_date",
22995
24250
  "amount",
22996
- "state"
24251
+ "state",
24252
+ "beneficiary_type"
22997
24253
  ],
22998
24254
  "type": "object",
22999
24255
  "properties": {
@@ -23047,7 +24303,7 @@
23047
24303
  },
23048
24304
  "state": {
23049
24305
  "type": "string",
23050
- "description": "State of the transfer (created, scheduled, validating, pending, coming, done, canceled, transaction_not_found, deleted, error, bug)"
24306
+ "description": "State of the transfer (created, scheduled, validating, pending, coming, done, canceled, transactionNotFound, deleted, error, bug)"
23051
24307
  },
23052
24308
  "error": {
23053
24309
  "type": "string",
@@ -23066,6 +24322,23 @@
23066
24322
  "type": "integer",
23067
24323
  "description": "If found, ID of the related transaction"
23068
24324
  },
24325
+ "beneficiary_type": {
24326
+ "default": "recipient",
24327
+ "type": "string",
24328
+ "description": "Type of beneficiary number, for example: 'recipient' (in bank recipient list), 'iban' or 'phone_number'"
24329
+ },
24330
+ "beneficiary_number": {
24331
+ "type": "string",
24332
+ "description": "Beneficiary bank identifier value like recipient webid, iban: EX6713281847025300290000062 or phone_number: 06XXXXXX"
24333
+ },
24334
+ "beneficiary_label": {
24335
+ "type": "string",
24336
+ "description": "Label of the beneficiary (needed for transfer to other beneficiary type than 'recipient')"
24337
+ },
24338
+ "validate_mechanism": {
24339
+ "type": "string",
24340
+ "description": "Authentication method used to validate transfer (credentials or webauth)"
24341
+ },
23069
24342
  "currency": {
23070
24343
  "type": "object",
23071
24344
  "description": "Currency of the object"
@@ -23088,9 +24361,119 @@
23088
24361
  "label": "",
23089
24362
  "account_balance": 0,
23090
24363
  "id_transaction": 0,
24364
+ "beneficiary_type": "recipient",
24365
+ "beneficiary_number": "",
24366
+ "beneficiary_label": "",
24367
+ "validate_mechanism": "",
23091
24368
  "currency": ""
23092
24369
  }
23093
24370
  },
24371
+ "Order": {
24372
+ "required": [
24373
+ "id",
24374
+ "id_merchant",
24375
+ "id_transfer"
24376
+ ],
24377
+ "type": "object",
24378
+ "properties": {
24379
+ "id": {
24380
+ "type": "integer",
24381
+ "description": "ID of the order"
24382
+ },
24383
+ "id_merchant": {
24384
+ "type": "integer",
24385
+ "description": "id of the merchant who initiated the order"
24386
+ },
24387
+ "id_transfer": {
24388
+ "type": "integer",
24389
+ "description": "id of the transfer used to pay this the order"
24390
+ },
24391
+ "state": {
24392
+ "type": "string",
24393
+ "description": "State of the order (result of the recipient adding and the transfer execution)"
24394
+ },
24395
+ "error_message": {
24396
+ "type": "string",
24397
+ "description": "more information on the state if something went wrong during the order"
24398
+ },
24399
+ "opt_out_cause": {
24400
+ "type": "string",
24401
+ "description": "set by the webview, indicates at which step of the payment the user has left the order"
24402
+ },
24403
+ "refund_value": {
24404
+ "type": "number",
24405
+ "description": "Amount refunded",
24406
+ "format": "float"
24407
+ }
24408
+ },
24409
+ "example": {
24410
+ "id": 0,
24411
+ "id_merchant": 0,
24412
+ "id_transfer": 0,
24413
+ "state": "",
24414
+ "error_message": "",
24415
+ "opt_out_cause": "",
24416
+ "refund_value": 0
24417
+ }
24418
+ },
24419
+ "Certificate": {
24420
+ "required": [
24421
+ "id",
24422
+ "id_public_key_file",
24423
+ "id_private_key_file",
24424
+ "type",
24425
+ "created"
24426
+ ],
24427
+ "type": "object",
24428
+ "properties": {
24429
+ "id": {
24430
+ "type": "integer"
24431
+ },
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": {
24442
+ "type": "string",
24443
+ "format": "date-time"
24444
+ }
24445
+ },
24446
+ "example": {
24447
+ "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"
24452
+ }
24453
+ },
24454
+ "ProjectType": {
24455
+ "required": [
24456
+ "id",
24457
+ "name"
24458
+ ],
24459
+ "type": "object",
24460
+ "properties": {
24461
+ "id": {
24462
+ "type": "integer"
24463
+ },
24464
+ "name": {
24465
+ "type": "string"
24466
+ },
24467
+ "icon_url": {
24468
+ "type": "string"
24469
+ }
24470
+ },
24471
+ "example": {
24472
+ "id": 0,
24473
+ "name": "",
24474
+ "icon_url": ""
24475
+ }
24476
+ },
23094
24477
  "Access": {
23095
24478
  "required": [
23096
24479
  "id",
@@ -23389,6 +24772,10 @@
23389
24772
  "type": "integer",
23390
24773
  "description": "ID of related user"
23391
24774
  },
24775
+ "id_source": {
24776
+ "type": "integer",
24777
+ "description": "ID of the related connection source"
24778
+ },
23392
24779
  "number": {
23393
24780
  "type": "string",
23394
24781
  "description": "Subscription's number"
@@ -23435,6 +24822,7 @@
23435
24822
  "id": 0,
23436
24823
  "id_connection": 0,
23437
24824
  "id_user": 0,
24825
+ "id_source": 0,
23438
24826
  "number": "",
23439
24827
  "label": "",
23440
24828
  "subscriber": "",
@@ -23577,6 +24965,11 @@
23577
24965
  "description": "Value in the original currency",
23578
24966
  "format": "float"
23579
24967
  },
24968
+ "original_gross_value": {
24969
+ "type": "number",
24970
+ "description": "Gross value in the original currency",
24971
+ "format": "float"
24972
+ },
23580
24973
  "original_currency": {
23581
24974
  "type": "object",
23582
24975
  "description": "Original currency"
@@ -23626,6 +25019,7 @@
23626
25019
  "last_update": "2019-08-02 17:21:59.425674",
23627
25020
  "deleted": "2019-08-02 17:21:59.425732",
23628
25021
  "original_value": 0,
25022
+ "original_gross_value": 0,
23629
25023
  "original_currency": "",
23630
25024
  "commission": 0,
23631
25025
  "commission_currency": "",
@@ -24034,6 +25428,10 @@
24034
25428
  "type": "integer",
24035
25429
  "description": "ID of the related user"
24036
25430
  },
25431
+ "id_source": {
25432
+ "type": "integer",
25433
+ "description": "ID of the related connection source"
25434
+ },
24037
25435
  "id_parent": {
24038
25436
  "type": "integer",
24039
25437
  "description": "Id of the parent account"
@@ -24129,12 +25527,17 @@
24129
25527
  "ownership": {
24130
25528
  "type": "string",
24131
25529
  "description": "Relationship between the credentials owner and the account"
25530
+ },
25531
+ "company_name": {
25532
+ "type": "string",
25533
+ "description": "Name of the company holding the employee savings of the account"
24132
25534
  }
24133
25535
  },
24134
25536
  "example": {
24135
25537
  "id": 0,
24136
25538
  "id_connection": 0,
24137
25539
  "id_user": 0,
25540
+ "id_source": 0,
24138
25541
  "id_parent": 0,
24139
25542
  "number": "",
24140
25543
  "webid": "",
@@ -24152,7 +25555,8 @@
24152
25555
  "name": "",
24153
25556
  "error": "",
24154
25557
  "usage": "",
24155
- "ownership": ""
25558
+ "ownership": "",
25559
+ "company_name": ""
24156
25560
  }
24157
25561
  },
24158
25562
  "Project": {
@@ -24333,42 +25737,6 @@
24333
25737
  "deleted": "2019-08-02 17:21:59.448498"
24334
25738
  }
24335
25739
  },
24336
- "Invite": {
24337
- "required": [
24338
- "id",
24339
- "id_user_inviting"
24340
- ],
24341
- "type": "object",
24342
- "properties": {
24343
- "id": {
24344
- "type": "integer"
24345
- },
24346
- "id_unsubscribe": {
24347
- "type": "integer"
24348
- },
24349
- "id_user_inviting": {
24350
- "type": "integer"
24351
- },
24352
- "id_user_invited": {
24353
- "type": "integer"
24354
- },
24355
- "email_invited": {
24356
- "type": "string"
24357
- },
24358
- "timestamp": {
24359
- "type": "string",
24360
- "format": "date-time"
24361
- }
24362
- },
24363
- "example": {
24364
- "id": 0,
24365
- "id_unsubscribe": 0,
24366
- "id_user_inviting": 0,
24367
- "id_user_invited": 0,
24368
- "email_invited": "",
24369
- "timestamp": "2019-03-12 13:08:00.818970"
24370
- }
24371
- },
24372
25740
  "Alert": {
24373
25741
  "required": [
24374
25742
  "id",
@@ -24649,14 +26017,149 @@
24649
26017
  "timestamp": "CURRENT_TIMESTAMP"
24650
26018
  }
24651
26019
  },
26020
+ "SubscriptionLog": {
26021
+ "required": [
26022
+ "id",
26023
+ "id_subscription",
26024
+ "timestamp"
26025
+ ],
26026
+ "type": "object",
26027
+ "properties": {
26028
+ "id": {
26029
+ "type": "integer",
26030
+ "description": "ID of the log"
26031
+ },
26032
+ "id_subscription": {
26033
+ "type": "integer",
26034
+ "description": "ID of the related subscription"
26035
+ },
26036
+ "timestamp": {
26037
+ "default": "CURRENT_TIMESTAMP",
26038
+ "type": "string",
26039
+ "description": "Timestamp of log",
26040
+ "format": "date-time"
26041
+ },
26042
+ "nb_docs": {
26043
+ "type": "integer",
26044
+ "description": "Number of docs on the subscription"
26045
+ },
26046
+ "id_connection_log": {
26047
+ "type": "integer",
26048
+ "description": "ID of the related connection log"
26049
+ },
26050
+ "error": {
26051
+ "type": "string",
26052
+ "description": "If fail, contains the error code"
26053
+ },
26054
+ "error_message": {
26055
+ "type": "string",
26056
+ "description": "If fail, error message received from provider"
26057
+ },
26058
+ "id_source": {
26059
+ "type": "integer",
26060
+ "description": "ID of the related connection source"
26061
+ }
26062
+ },
26063
+ "example": {
26064
+ "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
26072
+ }
26073
+ },
26074
+ "ConnectionSource": {
26075
+ "required": [
26076
+ "id",
26077
+ "id_connection",
26078
+ "id_connector_source",
26079
+ "name",
26080
+ "created"
26081
+ ],
26082
+ "type": "object",
26083
+ "properties": {
26084
+ "id": {
26085
+ "type": "integer",
26086
+ "description": "ID of connection"
26087
+ },
26088
+ "id_connection": {
26089
+ "type": "integer",
26090
+ "description": "ID of the related connection"
26091
+ },
26092
+ "id_connector_source": {
26093
+ "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"
26104
+ },
26105
+ "disabled": {
26106
+ "type": "string",
26107
+ "description": "This source is not used to synchronize the connection",
26108
+ "format": "date-time"
26109
+ },
26110
+ "created": {
26111
+ "default": "<function <lambda> at 0x7f8894cfe7d0>",
26112
+ "type": "string",
26113
+ "description": "Creation date of the connection source",
26114
+ "format": "date-time"
26115
+ },
26116
+ "state": {
26117
+ "type": "string",
26118
+ "description": "If the last update has failed, the state code"
26119
+ },
26120
+ "access_expire": {
26121
+ "type": "string",
26122
+ "description": "Expiration date of the access",
26123
+ "format": "date-time"
26124
+ },
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"
26129
+ },
26130
+ "next_try": {
26131
+ "type": "string",
26132
+ "description": "Date of next synchronization",
26133
+ "format": "date-time"
26134
+ }
26135
+ },
26136
+ "example": {
26137
+ "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"
26148
+ }
26149
+ },
24652
26150
  "AccountLog": {
24653
26151
  "required": [
26152
+ "id",
24654
26153
  "id_account",
24655
26154
  "balance",
24656
26155
  "timestamp"
24657
26156
  ],
24658
26157
  "type": "object",
24659
26158
  "properties": {
26159
+ "id": {
26160
+ "type": "integer",
26161
+ "description": "ID of the log"
26162
+ },
24660
26163
  "id_account": {
24661
26164
  "type": "integer",
24662
26165
  "description": "ID of the related account"
@@ -24696,6 +26199,7 @@
24696
26199
  }
24697
26200
  },
24698
26201
  "example": {
26202
+ "id": 0,
24699
26203
  "id_account": 0,
24700
26204
  "id_connector": 0,
24701
26205
  "balance": 0,
@@ -24870,7 +26374,8 @@
24870
26374
  "basePath": "/2.0/",
24871
26375
  "swagger": "2.0",
24872
26376
  "consumes": [
24873
- "application/x-www-form-urlencoded"
26377
+ "application/json",
26378
+ "multipart/form-data"
24874
26379
  ],
24875
26380
  "tags": [
24876
26381
  {
@@ -24888,9 +26393,6 @@
24888
26393
  {
24889
26394
  "name": "Documents"
24890
26395
  },
24891
- {
24892
- "name": "HUB"
24893
- },
24894
26396
  {
24895
26397
  "name": "OCR"
24896
26398
  },
@@ -24912,6 +26414,9 @@
24912
26414
  {
24913
26415
  "name": "Terms"
24914
26416
  },
26417
+ {
26418
+ "name": "Transfer"
26419
+ },
24915
26420
  {
24916
26421
  "name": "Transfers"
24917
26422
  },