budgea_client 5.0.0 → 5.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +19 -6
  5. data/budgea_openapi.json +1690 -1377
  6. data/config.json +1 -1
  7. data/docs/Account.md +1 -0
  8. data/docs/AdministrationApi.md +48 -48
  9. data/docs/AuthenticationApi.md +9 -9
  10. data/docs/BanksApi.md +392 -145
  11. data/docs/Connection.md +3 -0
  12. data/docs/ConnectionsApi.md +277 -30
  13. data/docs/DocumentsApi.md +48 -48
  14. data/docs/InlineResponse20016.md +1 -1
  15. data/docs/InlineResponse20017.md +1 -1
  16. data/docs/InlineResponse20018.md +1 -1
  17. data/docs/InlineResponse20019.md +1 -1
  18. data/docs/InlineResponse20020.md +1 -1
  19. data/docs/InlineResponse20021.md +1 -1
  20. data/docs/InlineResponse20022.md +1 -1
  21. data/docs/InlineResponse20023.md +1 -1
  22. data/docs/InlineResponse20024.md +1 -1
  23. data/docs/InlineResponse20025.md +1 -1
  24. data/docs/InlineResponse20026.md +1 -1
  25. data/docs/InlineResponse20027.md +1 -1
  26. data/docs/InlineResponse20028.md +1 -1
  27. data/docs/InlineResponse20029.md +1 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/OIDCApi.md +3 -3
  30. data/docs/PFMApi.md +42 -42
  31. data/docs/ProvidersApi.md +343 -96
  32. data/docs/RecipientsApi.md +4 -4
  33. data/docs/TermsApi.md +74 -9
  34. data/docs/TransferApi.md +1 -1
  35. data/docs/TransfersApi.md +63 -63
  36. data/docs/UsersManagementApi.md +13 -13
  37. data/docs/WealthApi.md +75 -59
  38. data/lib/budgea_client/api/administration_api.rb +49 -49
  39. data/lib/budgea_client/api/authentication_api.rb +9 -9
  40. data/lib/budgea_client/api/banks_api.rb +403 -154
  41. data/lib/budgea_client/api/connections_api.rb +282 -33
  42. data/lib/budgea_client/api/documents_api.rb +49 -49
  43. data/lib/budgea_client/api/oidc_api.rb +3 -3
  44. data/lib/budgea_client/api/pfm_api.rb +44 -44
  45. data/lib/budgea_client/api/providers_api.rb +349 -100
  46. data/lib/budgea_client/api/recipients_api.rb +4 -4
  47. data/lib/budgea_client/api/terms_api.rb +77 -11
  48. data/lib/budgea_client/api/transfer_api.rb +1 -1
  49. data/lib/budgea_client/api/transfers_api.rb +75 -75
  50. data/lib/budgea_client/api/users_management_api.rb +14 -14
  51. data/lib/budgea_client/api/wealth_api.rb +99 -75
  52. data/lib/budgea_client/api_client.rb +2 -0
  53. data/lib/budgea_client/models/access.rb +2 -1
  54. data/lib/budgea_client/models/account.rb +14 -2
  55. data/lib/budgea_client/models/account_log.rb +2 -1
  56. data/lib/budgea_client/models/account_type.rb +2 -1
  57. data/lib/budgea_client/models/alert.rb +2 -1
  58. data/lib/budgea_client/models/auth_provider.rb +2 -1
  59. data/lib/budgea_client/models/category.rb +2 -1
  60. data/lib/budgea_client/models/certificate.rb +2 -1
  61. data/lib/budgea_client/models/client.rb +2 -1
  62. data/lib/budgea_client/models/config_log.rb +2 -1
  63. data/lib/budgea_client/models/connection.rb +70 -5
  64. data/lib/budgea_client/models/connection_log.rb +2 -1
  65. data/lib/budgea_client/models/connection_source.rb +2 -1
  66. data/lib/budgea_client/models/connector.rb +2 -1
  67. data/lib/budgea_client/models/connector_category.rb +2 -1
  68. data/lib/budgea_client/models/connector_logo.rb +2 -1
  69. data/lib/budgea_client/models/connector_source.rb +2 -1
  70. data/lib/budgea_client/models/currency.rb +2 -1
  71. data/lib/budgea_client/models/device.rb +2 -1
  72. data/lib/budgea_client/models/document.rb +2 -1
  73. data/lib/budgea_client/models/document_type.rb +2 -1
  74. data/lib/budgea_client/models/field.rb +2 -1
  75. data/lib/budgea_client/models/field_value.rb +2 -1
  76. data/lib/budgea_client/models/file.rb +2 -1
  77. data/lib/budgea_client/models/group.rb +2 -1
  78. data/lib/budgea_client/models/hash_table.rb +2 -1
  79. data/lib/budgea_client/models/inline_response_200.rb +2 -1
  80. data/lib/budgea_client/models/inline_response_200_1.rb +2 -1
  81. data/lib/budgea_client/models/inline_response_200_10.rb +2 -1
  82. data/lib/budgea_client/models/inline_response_200_11.rb +2 -1
  83. data/lib/budgea_client/models/inline_response_200_12.rb +2 -1
  84. data/lib/budgea_client/models/inline_response_200_13.rb +2 -1
  85. data/lib/budgea_client/models/inline_response_200_14.rb +2 -1
  86. data/lib/budgea_client/models/inline_response_200_15.rb +2 -1
  87. data/lib/budgea_client/models/inline_response_200_16.rb +13 -12
  88. data/lib/budgea_client/models/inline_response_200_17.rb +20 -19
  89. data/lib/budgea_client/models/inline_response_200_18.rb +20 -19
  90. data/lib/budgea_client/models/inline_response_200_19.rb +20 -19
  91. data/lib/budgea_client/models/inline_response_200_2.rb +2 -1
  92. data/lib/budgea_client/models/inline_response_200_20.rb +20 -19
  93. data/lib/budgea_client/models/inline_response_200_21.rb +20 -19
  94. data/lib/budgea_client/models/inline_response_200_22.rb +13 -12
  95. data/lib/budgea_client/models/inline_response_200_23.rb +13 -12
  96. data/lib/budgea_client/models/inline_response_200_24.rb +20 -19
  97. data/lib/budgea_client/models/inline_response_200_25.rb +20 -19
  98. data/lib/budgea_client/models/inline_response_200_26.rb +13 -12
  99. data/lib/budgea_client/models/inline_response_200_27.rb +13 -12
  100. data/lib/budgea_client/models/inline_response_200_28.rb +13 -12
  101. data/lib/budgea_client/models/inline_response_200_29.rb +20 -19
  102. data/lib/budgea_client/models/inline_response_200_3.rb +2 -1
  103. data/lib/budgea_client/models/inline_response_200_30.rb +13 -12
  104. data/lib/budgea_client/models/inline_response_200_31.rb +2 -1
  105. data/lib/budgea_client/models/inline_response_200_32.rb +2 -1
  106. data/lib/budgea_client/models/inline_response_200_33.rb +2 -1
  107. data/lib/budgea_client/models/inline_response_200_34.rb +2 -1
  108. data/lib/budgea_client/models/inline_response_200_35.rb +2 -1
  109. data/lib/budgea_client/models/inline_response_200_36.rb +2 -1
  110. data/lib/budgea_client/models/inline_response_200_37.rb +2 -1
  111. data/lib/budgea_client/models/inline_response_200_38.rb +2 -1
  112. data/lib/budgea_client/models/inline_response_200_39.rb +2 -1
  113. data/lib/budgea_client/models/inline_response_200_4.rb +2 -1
  114. data/lib/budgea_client/models/inline_response_200_40.rb +2 -1
  115. data/lib/budgea_client/models/inline_response_200_41.rb +2 -1
  116. data/lib/budgea_client/models/inline_response_200_42.rb +2 -1
  117. data/lib/budgea_client/models/inline_response_200_5.rb +2 -1
  118. data/lib/budgea_client/models/inline_response_200_6.rb +2 -1
  119. data/lib/budgea_client/models/inline_response_200_7.rb +2 -1
  120. data/lib/budgea_client/models/inline_response_200_8.rb +2 -1
  121. data/lib/budgea_client/models/inline_response_200_9.rb +2 -1
  122. data/lib/budgea_client/models/investment.rb +2 -1
  123. data/lib/budgea_client/models/investment_value.rb +2 -1
  124. data/lib/budgea_client/models/keyword.rb +2 -1
  125. data/lib/budgea_client/models/locked_user.rb +2 -1
  126. data/lib/budgea_client/models/oidc_whitelist.rb +2 -1
  127. data/lib/budgea_client/models/order.rb +2 -1
  128. data/lib/budgea_client/models/pocket.rb +2 -1
  129. data/lib/budgea_client/models/profile.rb +2 -1
  130. data/lib/budgea_client/models/project.rb +2 -1
  131. data/lib/budgea_client/models/project_type.rb +2 -1
  132. data/lib/budgea_client/models/recipient.rb +2 -1
  133. data/lib/budgea_client/models/recipient_log.rb +2 -1
  134. data/lib/budgea_client/models/security.rb +2 -1
  135. data/lib/budgea_client/models/subscription.rb +2 -1
  136. data/lib/budgea_client/models/subscription_log.rb +2 -1
  137. data/lib/budgea_client/models/terms_of_service.rb +2 -1
  138. data/lib/budgea_client/models/transaction.rb +2 -1
  139. data/lib/budgea_client/models/transaction_information.rb +2 -1
  140. data/lib/budgea_client/models/transactions_cluster.rb +2 -1
  141. data/lib/budgea_client/models/transfer.rb +2 -1
  142. data/lib/budgea_client/models/transfer_log.rb +2 -1
  143. data/lib/budgea_client/models/user.rb +2 -1
  144. data/lib/budgea_client/models/user_alert.rb +2 -1
  145. data/lib/budgea_client/models/webhook.rb +2 -1
  146. data/lib/budgea_client/models/webhook_data.rb +2 -1
  147. data/lib/budgea_client/models/webhook_log.rb +2 -1
  148. data/lib/budgea_client/version.rb +1 -1
  149. data/original_budgea_openapi.json +1559 -1474
  150. data/pkg/budgea_client-5.1.2.gem +0 -0
  151. data/spec/.!78900!.DS_Store +0 -0
  152. data/spec/.!79301!.DS_Store +0 -0
  153. data/spec/.!79684!.DS_Store +0 -0
  154. data/spec/.!83764!.DS_Store +0 -0
  155. data/spec/.DS_Store +0 -0
  156. metadata +9 -7
  157. data/pkg/budgea_client-2.0.0.gem +0 -0
  158. data/pkg/budgea_client-3.0.1.gem +0 -0
  159. data/pkg/budgea_client-4.0.0.gem +0 -0
@@ -164,7 +164,7 @@ module BudgeaClient
164
164
  return nil unless attributes.is_a?(Hash)
165
165
  self.class.swagger_types.each_pair do |key, type|
166
166
  if type =~ /\AArray<(.*)>/i
167
- # check to ensure the input is an array given that the the attribute
167
+ # check to ensure the input is an array given that the attribute
168
168
  # is documented as an array but the input is not
169
169
  if attributes[self.class.attribute_map[key]].is_a?(Array)
170
170
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -260,5 +260,6 @@ module BudgeaClient
260
260
  value
261
261
  end
262
262
  end
263
+
263
264
  end
264
265
  end
@@ -150,7 +150,7 @@ module BudgeaClient
150
150
  return nil unless attributes.is_a?(Hash)
151
151
  self.class.swagger_types.each_pair do |key, type|
152
152
  if type =~ /\AArray<(.*)>/i
153
- # check to ensure the input is an array given that the the attribute
153
+ # check to ensure the input is an array given that the attribute
154
154
  # is documented as an array but the input is not
155
155
  if attributes[self.class.attribute_map[key]].is_a?(Array)
156
156
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -246,5 +246,6 @@ module BudgeaClient
246
246
  value
247
247
  end
248
248
  end
249
+
249
250
  end
250
251
  end
@@ -239,7 +239,7 @@ module BudgeaClient
239
239
  return nil unless attributes.is_a?(Hash)
240
240
  self.class.swagger_types.each_pair do |key, type|
241
241
  if type =~ /\AArray<(.*)>/i
242
- # check to ensure the input is an array given that the the attribute
242
+ # check to ensure the input is an array given that the attribute
243
243
  # is documented as an array but the input is not
244
244
  if attributes[self.class.attribute_map[key]].is_a?(Array)
245
245
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -335,5 +335,6 @@ module BudgeaClient
335
335
  value
336
336
  end
337
337
  end
338
+
338
339
  end
339
340
  end
@@ -189,7 +189,7 @@ module BudgeaClient
189
189
  return nil unless attributes.is_a?(Hash)
190
190
  self.class.swagger_types.each_pair do |key, type|
191
191
  if type =~ /\AArray<(.*)>/i
192
- # check to ensure the input is an array given that the the attribute
192
+ # check to ensure the input is an array given that the attribute
193
193
  # is documented as an array but the input is not
194
194
  if attributes[self.class.attribute_map[key]].is_a?(Array)
195
195
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -285,5 +285,6 @@ module BudgeaClient
285
285
  value
286
286
  end
287
287
  end
288
+
288
289
  end
289
290
  end
@@ -184,7 +184,7 @@ module BudgeaClient
184
184
  return nil unless attributes.is_a?(Hash)
185
185
  self.class.swagger_types.each_pair do |key, type|
186
186
  if type =~ /\AArray<(.*)>/i
187
- # check to ensure the input is an array given that the the attribute
187
+ # check to ensure the input is an array given that the attribute
188
188
  # is documented as an array but the input is not
189
189
  if attributes[self.class.attribute_map[key]].is_a?(Array)
190
190
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -280,5 +280,6 @@ module BudgeaClient
280
280
  value
281
281
  end
282
282
  end
283
+
283
284
  end
284
285
  end
@@ -164,7 +164,7 @@ module BudgeaClient
164
164
  return nil unless attributes.is_a?(Hash)
165
165
  self.class.swagger_types.each_pair do |key, type|
166
166
  if type =~ /\AArray<(.*)>/i
167
- # check to ensure the input is an array given that the the attribute
167
+ # check to ensure the input is an array given that the attribute
168
168
  # is documented as an array but the input is not
169
169
  if attributes[self.class.attribute_map[key]].is_a?(Array)
170
170
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -260,5 +260,6 @@ module BudgeaClient
260
260
  value
261
261
  end
262
262
  end
263
+
263
264
  end
264
265
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.1
11
11
  =end
12
12
 
13
13
  module BudgeaClient
14
- VERSION = '5.0.0'
14
+ VERSION = '5.1.2'
15
15
  end
@@ -1349,7 +1349,7 @@
1349
1349
  {
1350
1350
  "required": false,
1351
1351
  "in": "formData",
1352
- "type": "array",
1352
+ "type": "string",
1353
1353
  "name": "redirect_uris",
1354
1354
  "description": "list of allowed redirect uris"
1355
1355
  },
@@ -1446,7 +1446,7 @@
1446
1446
  {
1447
1447
  "required": false,
1448
1448
  "in": "formData",
1449
- "type": "array",
1449
+ "type": "string",
1450
1450
  "name": "redirect_uris",
1451
1451
  "description": "list of allowed redirect uris"
1452
1452
  },
@@ -1901,6 +1901,174 @@
1901
1901
  "summary": "Get connection logs"
1902
1902
  }
1903
1903
  },
1904
+ "/connections/{id_connection}/sources": {
1905
+ "get": {
1906
+ "responses": {
1907
+ "200": {
1908
+ "description": "sources",
1909
+ "schema": {
1910
+ "required": [
1911
+ "sources"
1912
+ ],
1913
+ "type": "object",
1914
+ "properties": {
1915
+ "sources": {
1916
+ "items": {
1917
+ "$ref": "#/definitions/ConnectionSource"
1918
+ },
1919
+ "type": "array"
1920
+ },
1921
+ "total": {
1922
+ "type": "number",
1923
+ "description": "total number of results"
1924
+ }
1925
+ }
1926
+ }
1927
+ }
1928
+ },
1929
+ "tags": [
1930
+ "Connections",
1931
+ "Banks",
1932
+ "Providers"
1933
+ ],
1934
+ "description": "",
1935
+ "parameters": [
1936
+ {
1937
+ "required": true,
1938
+ "in": "path",
1939
+ "type": "integer",
1940
+ "name": "id_connection",
1941
+ "description": ""
1942
+ },
1943
+ {
1944
+ "required": false,
1945
+ "type": "string",
1946
+ "name": "expand",
1947
+ "in": "query"
1948
+ }
1949
+ ],
1950
+ "summary": "Get connection sources"
1951
+ }
1952
+ },
1953
+ "/connections/{id_connection}/sources/{id_source}": {
1954
+ "post": {
1955
+ "responses": {
1956
+ "200": {
1957
+ "description": "Successful POST on ConnectionSource resource",
1958
+ "schema": {
1959
+ "$ref": "#/definitions/ConnectionSource"
1960
+ }
1961
+ }
1962
+ },
1963
+ "tags": [
1964
+ "Connections",
1965
+ "Banks",
1966
+ "Providers"
1967
+ ],
1968
+ "description": "This will make it so the specified source will be able to be synchronized.<br><br>",
1969
+ "parameters": [
1970
+ {
1971
+ "required": true,
1972
+ "in": "path",
1973
+ "type": "integer",
1974
+ "name": "id_connection",
1975
+ "description": ""
1976
+ },
1977
+ {
1978
+ "required": true,
1979
+ "in": "path",
1980
+ "type": "integer",
1981
+ "name": "id_source",
1982
+ "description": ""
1983
+ },
1984
+ {
1985
+ "required": false,
1986
+ "type": "string",
1987
+ "name": "expand",
1988
+ "in": "query"
1989
+ }
1990
+ ],
1991
+ "summary": "Enable connection source"
1992
+ },
1993
+ "put": {
1994
+ "responses": {
1995
+ "200": {
1996
+ "description": "Successful PUT on ConnectionSource resource",
1997
+ "schema": {
1998
+ "$ref": "#/definitions/ConnectionSource"
1999
+ }
2000
+ }
2001
+ },
2002
+ "tags": [
2003
+ "Connections",
2004
+ "Banks",
2005
+ "Providers"
2006
+ ],
2007
+ "description": "This will make it so the specified source will be able to be synchronized.<br><br>",
2008
+ "parameters": [
2009
+ {
2010
+ "required": true,
2011
+ "in": "path",
2012
+ "type": "integer",
2013
+ "name": "id_connection",
2014
+ "description": ""
2015
+ },
2016
+ {
2017
+ "required": true,
2018
+ "in": "path",
2019
+ "type": "integer",
2020
+ "name": "id_source",
2021
+ "description": ""
2022
+ },
2023
+ {
2024
+ "required": false,
2025
+ "type": "string",
2026
+ "name": "expand",
2027
+ "in": "query"
2028
+ }
2029
+ ],
2030
+ "summary": "Enable connection source"
2031
+ },
2032
+ "delete": {
2033
+ "responses": {
2034
+ "200": {
2035
+ "description": "Successful DELETE on ConnectionSource resource",
2036
+ "schema": {
2037
+ "$ref": "#/definitions/ConnectionSource"
2038
+ }
2039
+ }
2040
+ },
2041
+ "tags": [
2042
+ "Connections",
2043
+ "Banks",
2044
+ "Providers"
2045
+ ],
2046
+ "description": "This will make it so the specified source will not be synchronized anymore.<br><br>",
2047
+ "parameters": [
2048
+ {
2049
+ "required": true,
2050
+ "in": "path",
2051
+ "type": "integer",
2052
+ "name": "id_connection",
2053
+ "description": ""
2054
+ },
2055
+ {
2056
+ "required": true,
2057
+ "in": "path",
2058
+ "type": "integer",
2059
+ "name": "id_source",
2060
+ "description": ""
2061
+ },
2062
+ {
2063
+ "required": false,
2064
+ "type": "string",
2065
+ "name": "expand",
2066
+ "in": "query"
2067
+ }
2068
+ ],
2069
+ "summary": "Disable a connection source"
2070
+ }
2071
+ },
1904
2072
  "/connectors": {
1905
2073
  "get": {
1906
2074
  "responses": {
@@ -2651,7 +2819,7 @@
2651
2819
  "in": "query"
2652
2820
  }
2653
2821
  ],
2654
- "summary": "Get securities"
2822
+ "summary": "Get finance securities"
2655
2823
  }
2656
2824
  },
2657
2825
  "/finance/securities/{id_security}/history": {
@@ -3017,7 +3185,7 @@
3017
3185
  {
3018
3186
  "required": true,
3019
3187
  "in": "formData",
3020
- "type": "array",
3188
+ "type": "string",
3021
3189
  "name": "redirect_uris",
3022
3190
  "description": "list of allowed redirect uris"
3023
3191
  },
@@ -3604,10 +3772,6 @@
3604
3772
  }
3605
3773
  }
3606
3774
  },
3607
- "tags": [
3608
- "Terms"
3609
- ],
3610
- "description": "",
3611
3775
  "parameters": [
3612
3776
  {
3613
3777
  "required": false,
@@ -3619,10 +3783,66 @@
3619
3783
  {
3620
3784
  "required": false,
3621
3785
  "in": "formData",
3622
- "type": "string",
3786
+ "type": "file",
3623
3787
  "name": "file_content",
3624
3788
  "description": "file containing the terms, optional"
3625
3789
  },
3790
+ {
3791
+ "required": false,
3792
+ "in": "formData",
3793
+ "type": "string",
3794
+ "name": "language",
3795
+ "description": "two letters code of the language of the inserted terms if provided. default: 'fr'"
3796
+ },
3797
+ {
3798
+ "required": false,
3799
+ "type": "string",
3800
+ "name": "expand",
3801
+ "in": "query"
3802
+ }
3803
+ ],
3804
+ "tags": [
3805
+ "Terms"
3806
+ ],
3807
+ "summary": "Register a version of 'Terms of Service' in database",
3808
+ "consumes": [
3809
+ "multipart/form-data"
3810
+ ],
3811
+ "description": ""
3812
+ }
3813
+ },
3814
+ "/terms/{id_term}": {
3815
+ "post": {
3816
+ "responses": {
3817
+ "200": {
3818
+ "description": "Successful POST on TermsOfService resource",
3819
+ "schema": {
3820
+ "$ref": "#/definitions/TermsOfService"
3821
+ }
3822
+ }
3823
+ },
3824
+ "parameters": [
3825
+ {
3826
+ "required": true,
3827
+ "in": "path",
3828
+ "type": "integer",
3829
+ "name": "id_term",
3830
+ "description": ""
3831
+ },
3832
+ {
3833
+ "required": false,
3834
+ "in": "formData",
3835
+ "type": "string",
3836
+ "name": "language",
3837
+ "description": "two letter code of the language to inserted"
3838
+ },
3839
+ {
3840
+ "required": false,
3841
+ "in": "formData",
3842
+ "type": "file",
3843
+ "name": "file_content",
3844
+ "description": "file containing the terms"
3845
+ },
3626
3846
  {
3627
3847
  "required": false,
3628
3848
  "type": "string",
@@ -3630,7 +3850,14 @@
3630
3850
  "in": "query"
3631
3851
  }
3632
3852
  ],
3633
- "summary": "Register a version of 'Terms of Service' in database"
3853
+ "tags": [
3854
+ "Terms"
3855
+ ],
3856
+ "summary": "Add terms content for a language. Only for the active terms, there is no use to update obsolete terms",
3857
+ "consumes": [
3858
+ "multipart/form-data"
3859
+ ],
3860
+ "description": ""
3634
3861
  }
3635
3862
  },
3636
3863
  "/test/sync": {
@@ -4347,6 +4574,20 @@
4347
4574
  "name": "id_account",
4348
4575
  "description": ""
4349
4576
  },
4577
+ {
4578
+ "required": false,
4579
+ "in": "query",
4580
+ "type": "string",
4581
+ "name": "label",
4582
+ "description": "filter investments using keywords in labels"
4583
+ },
4584
+ {
4585
+ "required": false,
4586
+ "in": "query",
4587
+ "type": "string",
4588
+ "name": "code",
4589
+ "description": "filter investments by ISIN codes"
4590
+ },
4350
4591
  {
4351
4592
  "required": false,
4352
4593
  "type": "string",
@@ -5012,60 +5253,6 @@
5012
5253
  "type": "string",
5013
5254
  "name": "expand",
5014
5255
  "in": "query"
5015
- },
5016
- {
5017
- "required": false,
5018
- "type": "string",
5019
- "name": "category",
5020
- "in": "query"
5021
- },
5022
- {
5023
- "required": false,
5024
- "type": "string",
5025
- "name": "bank_name",
5026
- "in": "query"
5027
- },
5028
- {
5029
- "required": false,
5030
- "type": "string",
5031
- "name": "deleted",
5032
- "in": "query"
5033
- },
5034
- {
5035
- "required": false,
5036
- "type": "string",
5037
- "name": "bic",
5038
- "in": "query"
5039
- },
5040
- {
5041
- "required": false,
5042
- "type": "string",
5043
- "name": "label",
5044
- "in": "query"
5045
- },
5046
- {
5047
- "required": false,
5048
- "type": "string",
5049
- "name": "state",
5050
- "in": "query"
5051
- },
5052
- {
5053
- "required": false,
5054
- "type": "string",
5055
- "name": "iban",
5056
- "in": "query"
5057
- },
5058
- {
5059
- "required": false,
5060
- "type": "string",
5061
- "name": "error",
5062
- "in": "query"
5063
- },
5064
- {
5065
- "required": false,
5066
- "type": "string",
5067
- "name": "id",
5068
- "in": "query"
5069
5256
  }
5070
5257
  ],
5071
5258
  "summary": "Returns the list of recipients."
@@ -8248,104 +8435,6 @@
8248
8435
  "name": "connector_uuid",
8249
8436
  "description": "optional uuid of the connector (replaces id_connector)"
8250
8437
  },
8251
- {
8252
- "required": false,
8253
- "in": "formData",
8254
- "type": "string",
8255
- "name": "birthday",
8256
- "description": "bank additional login parameter"
8257
- },
8258
- {
8259
- "required": false,
8260
- "in": "formData",
8261
- "type": "string",
8262
- "name": "password",
8263
- "description": "bank additional login parameter"
8264
- },
8265
- {
8266
- "required": false,
8267
- "in": "formData",
8268
- "type": "string",
8269
- "name": "oauth_token",
8270
- "description": "bank additional login parameter"
8271
- },
8272
- {
8273
- "required": false,
8274
- "in": "formData",
8275
- "type": "string",
8276
- "name": "oauth_token_secret",
8277
- "description": "bank additional login parameter"
8278
- },
8279
- {
8280
- "required": false,
8281
- "in": "formData",
8282
- "type": "string",
8283
- "name": "auth_type",
8284
- "description": "bank additional login parameter"
8285
- },
8286
- {
8287
- "required": false,
8288
- "in": "formData",
8289
- "type": "string",
8290
- "name": "secret",
8291
- "description": "bank additional login parameter"
8292
- },
8293
- {
8294
- "required": false,
8295
- "in": "formData",
8296
- "type": "string",
8297
- "name": "type",
8298
- "description": "bank additional login parameter"
8299
- },
8300
- {
8301
- "required": false,
8302
- "in": "formData",
8303
- "type": "string",
8304
- "name": "birthdate",
8305
- "description": "bank additional login parameter"
8306
- },
8307
- {
8308
- "required": false,
8309
- "in": "formData",
8310
- "type": "string",
8311
- "name": "nuser",
8312
- "description": "bank additional login parameter"
8313
- },
8314
- {
8315
- "required": false,
8316
- "in": "formData",
8317
- "type": "string",
8318
- "name": "website",
8319
- "description": "bank additional login parameter"
8320
- },
8321
- {
8322
- "required": false,
8323
- "in": "formData",
8324
- "type": "string",
8325
- "name": "openapiwebsite",
8326
- "description": "bank additional login parameter"
8327
- },
8328
- {
8329
- "required": false,
8330
- "in": "formData",
8331
- "type": "string",
8332
- "name": "directaccesswebsite",
8333
- "description": "bank additional login parameter"
8334
- },
8335
- {
8336
- "required": false,
8337
- "in": "formData",
8338
- "type": "string",
8339
- "name": "login",
8340
- "description": "bank additional login parameter"
8341
- },
8342
- {
8343
- "required": false,
8344
- "in": "formData",
8345
- "type": "integer",
8346
- "name": "id_provider",
8347
- "description": "ID of the provider"
8348
- },
8349
8438
  {
8350
8439
  "required": false,
8351
8440
  "type": "string",
@@ -8389,45 +8478,6 @@
8389
8478
  }
8390
8479
  },
8391
8480
  "/users/{id_user}/connections/{id_connection}": {
8392
- "get": {
8393
- "responses": {
8394
- "200": {
8395
- "description": "connection",
8396
- "schema": {
8397
- "$ref": "#/definitions/Connection"
8398
- }
8399
- }
8400
- },
8401
- "tags": [
8402
- "Connections",
8403
- "Banks",
8404
- "Providers"
8405
- ],
8406
- "description": "Get connection by ID",
8407
- "parameters": [
8408
- {
8409
- "required": true,
8410
- "in": "path",
8411
- "type": "string",
8412
- "name": "id_user",
8413
- "description": "Hint: you can use 'me' or 'all'"
8414
- },
8415
- {
8416
- "required": true,
8417
- "in": "path",
8418
- "type": "integer",
8419
- "name": "id_connection",
8420
- "description": ""
8421
- },
8422
- {
8423
- "required": false,
8424
- "type": "string",
8425
- "name": "expand",
8426
- "in": "query"
8427
- }
8428
- ],
8429
- "summary": "Get connection"
8430
- },
8431
8481
  "post": {
8432
8482
  "responses": {
8433
8483
  "200": {
@@ -9138,6 +9188,20 @@
9138
9188
  "name": "id_account",
9139
9189
  "description": ""
9140
9190
  },
9191
+ {
9192
+ "required": false,
9193
+ "in": "query",
9194
+ "type": "string",
9195
+ "name": "label",
9196
+ "description": "filter investments using keywords in labels"
9197
+ },
9198
+ {
9199
+ "required": false,
9200
+ "in": "query",
9201
+ "type": "string",
9202
+ "name": "code",
9203
+ "description": "filter investments by ISIN codes"
9204
+ },
9141
9205
  {
9142
9206
  "required": false,
9143
9207
  "type": "string",
@@ -13375,6 +13439,20 @@
13375
13439
  "name": "id_connection",
13376
13440
  "description": ""
13377
13441
  },
13442
+ {
13443
+ "required": false,
13444
+ "in": "query",
13445
+ "type": "string",
13446
+ "name": "label",
13447
+ "description": "filter investments using keywords in labels"
13448
+ },
13449
+ {
13450
+ "required": false,
13451
+ "in": "query",
13452
+ "type": "string",
13453
+ "name": "code",
13454
+ "description": "filter investments by ISIN codes"
13455
+ },
13378
13456
  {
13379
13457
  "required": false,
13380
13458
  "type": "string",
@@ -18089,6 +18167,20 @@
18089
18167
  "name": "id_user",
18090
18168
  "description": "Hint: you can use 'me' or 'all'"
18091
18169
  },
18170
+ {
18171
+ "required": false,
18172
+ "in": "query",
18173
+ "type": "string",
18174
+ "name": "label",
18175
+ "description": "filter investments using keywords in labels"
18176
+ },
18177
+ {
18178
+ "required": false,
18179
+ "in": "query",
18180
+ "type": "string",
18181
+ "name": "code",
18182
+ "description": "filter investments by ISIN codes"
18183
+ },
18092
18184
  {
18093
18185
  "required": false,
18094
18186
  "type": "string",
@@ -22343,11 +22435,10 @@
22343
22435
  "description": "The webhook authentication process to use (its ID or its name)"
22344
22436
  },
22345
22437
  {
22346
- "name": "url",
22347
- "format": "float",
22348
22438
  "required": false,
22349
22439
  "in": "formData",
22350
- "type": "number",
22440
+ "type": "string",
22441
+ "name": "url",
22351
22442
  "description": "The webhook callback url"
22352
22443
  },
22353
22444
  {
@@ -22689,11 +22780,10 @@
22689
22780
  "description": "The webhook authentication process to use"
22690
22781
  },
22691
22782
  {
22692
- "name": "url",
22693
- "format": "float",
22694
22783
  "required": false,
22695
22784
  "in": "formData",
22696
- "type": "number",
22785
+ "type": "string",
22786
+ "name": "url",
22697
22787
  "description": "The webhook callback url"
22698
22788
  },
22699
22789
  {
@@ -22762,11 +22852,10 @@
22762
22852
  "description": "The webhook authentication process to use"
22763
22853
  },
22764
22854
  {
22765
- "name": "url",
22766
- "format": "float",
22767
22855
  "required": false,
22768
22856
  "in": "formData",
22769
- "type": "number",
22857
+ "type": "string",
22858
+ "name": "url",
22770
22859
  "description": "The webhook callback url"
22771
22860
  },
22772
22861
  {
@@ -23216,6 +23305,37 @@
23216
23305
  "restricted": false
23217
23306
  }
23218
23307
  },
23308
+ "ConnectorLogo": {
23309
+ "required": [
23310
+ "id",
23311
+ "id_connector",
23312
+ "id_file"
23313
+ ],
23314
+ "type": "object",
23315
+ "properties": {
23316
+ "id": {
23317
+ "type": "integer"
23318
+ },
23319
+ "id_connector": {
23320
+ "type": "integer",
23321
+ "description": "ID of the connector"
23322
+ },
23323
+ "id_file": {
23324
+ "type": "integer",
23325
+ "description": "Id of the Bank/Provider Logo"
23326
+ },
23327
+ "type": {
23328
+ "type": "string",
23329
+ "description": "Logo's type"
23330
+ }
23331
+ },
23332
+ "example": {
23333
+ "id": 0,
23334
+ "id_connector": 0,
23335
+ "id_file": 0,
23336
+ "type": ""
23337
+ }
23338
+ },
23219
23339
  "ConnectorSource": {
23220
23340
  "required": [
23221
23341
  "id",
@@ -23265,7 +23385,7 @@
23265
23385
  "id_weboob": "",
23266
23386
  "auth_mechanism": "",
23267
23387
  "fallback": "",
23268
- "disabled": "2019-12-27 16:17:55.183995",
23388
+ "disabled": "2020-03-26 17:25:37.346715",
23269
23389
  "priority": 0
23270
23390
  }
23271
23391
  },
@@ -23335,37 +23455,6 @@
23335
23455
  "auth_mechanisms": ""
23336
23456
  }
23337
23457
  },
23338
- "ConnectorLogo": {
23339
- "required": [
23340
- "id",
23341
- "id_connector",
23342
- "id_file"
23343
- ],
23344
- "type": "object",
23345
- "properties": {
23346
- "id": {
23347
- "type": "integer"
23348
- },
23349
- "id_connector": {
23350
- "type": "integer",
23351
- "description": "ID of the connector"
23352
- },
23353
- "id_file": {
23354
- "type": "integer",
23355
- "description": "Id of the Bank/Provider Logo"
23356
- },
23357
- "type": {
23358
- "type": "string",
23359
- "description": "Logo's type"
23360
- }
23361
- },
23362
- "example": {
23363
- "id": 0,
23364
- "id_connector": 0,
23365
- "id_file": 0,
23366
- "type": ""
23367
- }
23368
- },
23369
23458
  "User": {
23370
23459
  "required": [
23371
23460
  "id",
@@ -23463,223 +23552,238 @@
23463
23552
  "type": ""
23464
23553
  }
23465
23554
  },
23466
- "TermsOfService": {
23555
+ "Connection": {
23467
23556
  "required": [
23468
23557
  "id",
23469
- "version",
23470
- "created"
23558
+ "id_connector",
23559
+ "active"
23471
23560
  ],
23472
23561
  "type": "object",
23473
23562
  "properties": {
23474
23563
  "id": {
23475
- "type": "integer"
23564
+ "type": "integer",
23565
+ "description": "ID of connection"
23476
23566
  },
23477
- "version": {
23478
- "type": "string"
23567
+ "id_user": {
23568
+ "type": "integer",
23569
+ "description": "ID of the related user"
23479
23570
  },
23480
- "id_file": {
23481
- "type": "integer"
23571
+ "id_connector": {
23572
+ "type": "integer",
23573
+ "description": "ID of the related connector"
23574
+ },
23575
+ "last_update": {
23576
+ "type": "string",
23577
+ "description": "Last successful update",
23578
+ "format": "date-time"
23482
23579
  },
23483
23580
  "created": {
23581
+ "default": "<function now at 0x7f62ec002230>",
23484
23582
  "type": "string",
23583
+ "description": "Creation date",
23485
23584
  "format": "date-time"
23486
23585
  },
23487
- "deleted": {
23586
+ "active": {
23587
+ "default": true,
23588
+ "type": "boolean",
23589
+ "description": "This connection is active and will be automatically synced"
23590
+ },
23591
+ "last_push": {
23488
23592
  "type": "string",
23593
+ "description": "Last successful push",
23594
+ "format": "date-time"
23595
+ },
23596
+ "next_try": {
23597
+ "type": "string",
23598
+ "description": "Date of next synchronization",
23489
23599
  "format": "date-time"
23490
23600
  }
23491
23601
  },
23492
23602
  "example": {
23493
23603
  "id": 0,
23494
- "version": "",
23495
- "id_file": 0,
23496
- "created": "2019-12-27 16:17:55.197166",
23497
- "deleted": "2019-12-27 16:17:55.197240"
23604
+ "id_user": 0,
23605
+ "id_connector": 0,
23606
+ "last_update": "2020-03-26 17:25:37.351177",
23607
+ "created": "<function now at 0x7f62ec002230>",
23608
+ "active": true,
23609
+ "last_push": "2020-03-26 17:25:37.351279",
23610
+ "next_try": "2020-03-26 17:25:37.351308"
23498
23611
  }
23499
23612
  },
23500
- "Category": {
23613
+ "ConnectionSource": {
23501
23614
  "required": [
23502
23615
  "id",
23503
- "id_parent_category",
23616
+ "id_connection",
23617
+ "id_connector_source",
23504
23618
  "name",
23505
- "color",
23506
- "id_parent_category_in_menu",
23507
- "refundable"
23619
+ "created"
23508
23620
  ],
23509
23621
  "type": "object",
23510
23622
  "properties": {
23511
23623
  "id": {
23512
23624
  "type": "integer",
23513
- "description": "ID of the category"
23625
+ "description": "ID of connection"
23514
23626
  },
23515
- "id_parent_category": {
23627
+ "id_connection": {
23516
23628
  "type": "integer",
23517
- "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
23629
+ "description": "ID of the related connection"
23630
+ },
23631
+ "id_connector_source": {
23632
+ "type": "integer",
23633
+ "description": "ID of the related connector source"
23518
23634
  },
23519
23635
  "name": {
23520
23636
  "type": "string",
23521
- "description": "Name of the category"
23637
+ "description": "Name of the connection source"
23522
23638
  },
23523
- "income": {
23524
- "type": "boolean",
23525
- "description": "Is an income category. If null, this is both an income and an expense category"
23639
+ "last_update": {
23640
+ "type": "string",
23641
+ "description": "Last successful update",
23642
+ "format": "date-time"
23526
23643
  },
23527
- "color": {
23644
+ "disabled": {
23528
23645
  "type": "string",
23529
- "description": "Color of the category"
23646
+ "description": "This source is not used to synchronize the connection",
23647
+ "format": "date-time"
23530
23648
  },
23531
- "id_parent_category_in_menu": {
23532
- "type": "integer",
23533
- "description": "ID of the parent category to be displayed"
23649
+ "created": {
23650
+ "default": "<function now at 0x7f62ebfbb320>",
23651
+ "type": "string",
23652
+ "description": "Creation date of the connection source",
23653
+ "format": "date-time"
23534
23654
  },
23535
- "name_displayed": {
23655
+ "state": {
23536
23656
  "type": "string",
23537
- "description": "Displayed name, with HTML tags"
23657
+ "description": "If the last update has failed, the state code"
23538
23658
  },
23539
- "refundable": {
23540
- "type": "boolean",
23541
- "description": "This category accepts opposite sign of transactions"
23659
+ "access_expire": {
23660
+ "type": "string",
23661
+ "description": "Expiration date of the access",
23662
+ "format": "date-time"
23542
23663
  },
23543
- "id_user": {
23544
- "type": "integer",
23545
- "description": "If not null, this category is specific to a user"
23664
+ "expire": {
23665
+ "type": "string",
23666
+ "description": "Expiration of the connection source. Used to purge the connection in case completion was not finished",
23667
+ "format": "date-time"
23546
23668
  },
23547
- "id_logo": {
23548
- "type": "integer",
23549
- "description": "ID of the logo"
23669
+ "next_try": {
23670
+ "type": "string",
23671
+ "description": "Date of next synchronization",
23672
+ "format": "date-time"
23550
23673
  }
23551
23674
  },
23552
23675
  "example": {
23553
23676
  "id": 0,
23554
- "id_parent_category": 0,
23677
+ "id_connection": 0,
23678
+ "id_connector_source": 0,
23555
23679
  "name": "",
23556
- "income": false,
23557
- "color": "",
23558
- "id_parent_category_in_menu": 0,
23559
- "name_displayed": "",
23560
- "refundable": false,
23561
- "id_user": 0,
23562
- "id_logo": 0
23680
+ "last_update": "2020-03-26 17:25:37.351741",
23681
+ "disabled": "2020-03-26 17:25:37.351773",
23682
+ "created": "<function now at 0x7f62ebfbb320>",
23683
+ "state": "",
23684
+ "access_expire": "2020-03-26 17:25:37.351856",
23685
+ "expire": "2020-03-26 17:25:37.351883",
23686
+ "next_try": "2020-03-26 17:25:37.351968"
23563
23687
  }
23564
23688
  },
23565
- "Client": {
23689
+ "ConnectionLog": {
23566
23690
  "required": [
23567
23691
  "id",
23568
- "name",
23569
- "secret",
23570
- "redirect_uris",
23571
- "pro"
23692
+ "id_connection",
23693
+ "timestamp"
23572
23694
  ],
23573
23695
  "type": "object",
23574
23696
  "properties": {
23575
23697
  "id": {
23576
- "type": "integer"
23698
+ "type": "integer",
23699
+ "description": "ID of the log"
23577
23700
  },
23578
- "name": {
23579
- "default": "",
23580
- "type": "string"
23701
+ "id_user": {
23702
+ "type": "integer",
23703
+ "description": "ID of the user"
23581
23704
  },
23582
- "secret": {
23583
- "type": "string"
23705
+ "id_connection": {
23706
+ "type": "integer",
23707
+ "description": "ID of the connection"
23584
23708
  },
23585
- "public_key": {
23586
- "type": "string"
23709
+ "id_connector": {
23710
+ "type": "integer",
23711
+ "description": "ID of the connector"
23587
23712
  },
23588
- "private_key": {
23589
- "type": "string"
23713
+ "id_source": {
23714
+ "type": "integer",
23715
+ "description": "ID of the related connection source"
23590
23716
  },
23591
- "redirect_uris": {
23592
- "default": "",
23593
- "type": "string"
23717
+ "login": {
23718
+ "type": "string",
23719
+ "description": "bcrypt hash of the login"
23594
23720
  },
23595
- "pro": {
23596
- "default": false,
23597
- "type": "boolean",
23598
- "description": "Should the client display the company manager page."
23721
+ "error_uid": {
23722
+ "type": "string",
23723
+ "description": "MD5 hash of the exception backtrace"
23599
23724
  },
23600
- "id_logo": {
23601
- "type": "integer"
23725
+ "timestamp": {
23726
+ "default": "CURRENT_TIMESTAMP",
23727
+ "type": "string",
23728
+ "description": "Timestamp of log, when the synchronization has finished",
23729
+ "format": "date-time"
23602
23730
  },
23603
- "config": {
23731
+ "next_try": {
23604
23732
  "type": "string",
23605
- "description": "customizable config"
23606
- }
23607
- },
23608
- "example": {
23609
- "id": 0,
23610
- "name": "",
23611
- "secret": "",
23612
- "public_key": "",
23613
- "private_key": "",
23614
- "redirect_uris": "",
23615
- "pro": false,
23616
- "id_logo": 0
23617
- }
23618
- },
23619
- "File": {
23620
- "required": [
23621
- "id",
23622
- "content_type",
23623
- "filename",
23624
- "file_size"
23625
- ],
23626
- "type": "object",
23627
- "properties": {
23628
- "id": {
23629
- "type": "integer"
23733
+ "description": "If fail, the date represents the next try to connect",
23734
+ "format": "date-time"
23630
23735
  },
23631
- "content_type": {
23632
- "type": "string"
23736
+ "error": {
23737
+ "type": "string",
23738
+ "description": "If fail, contains the error code"
23633
23739
  },
23634
- "filename": {
23635
- "type": "string"
23740
+ "error_message": {
23741
+ "type": "string",
23742
+ "description": "If fail, error message received from connector"
23636
23743
  },
23637
- "file_size": {
23638
- "type": "integer"
23639
- }
23640
- },
23641
- "example": {
23642
- "id": 0,
23643
- "content_type": "",
23644
- "filename": "",
23645
- "file_size": 0
23646
- }
23647
- },
23648
- "Security": {
23649
- "required": [
23650
- "id",
23651
- "name"
23652
- ],
23653
- "type": "object",
23654
- "properties": {
23655
- "id": {
23744
+ "statut": {
23656
23745
  "type": "integer",
23657
- "description": "ID of the security"
23746
+ "description": "Status of user (1 = charged user)"
23658
23747
  },
23659
- "code": {
23748
+ "nb_accounts": {
23749
+ "type": "integer",
23750
+ "description": "In case of bank connection, number of accounts"
23751
+ },
23752
+ "start": {
23660
23753
  "type": "string",
23661
- "description": "ISIN code of the security"
23754
+ "description": "Timestamp when the synchronization has started",
23755
+ "format": "date-time"
23662
23756
  },
23663
- "name": {
23757
+ "worker": {
23664
23758
  "type": "string",
23665
- "description": "Name of the security"
23759
+ "description": "Worker used to do synchronization"
23666
23760
  },
23667
- "id_type": {
23668
- "type": "integer",
23669
- "description": "ID of the security type"
23761
+ "session_folder_id": {
23762
+ "type": "string",
23763
+ "description": "Session folder uid"
23670
23764
  },
23671
- "last_update": {
23765
+ "fields": {
23672
23766
  "type": "string",
23673
- "description": "Last update of the security",
23674
- "format": "date-time"
23767
+ "description": "Fields for connection in additionalInformationNeeded state with background option"
23675
23768
  }
23676
23769
  },
23677
23770
  "example": {
23678
23771
  "id": 0,
23679
- "code": "",
23680
- "name": "",
23681
- "id_type": 0,
23682
- "last_update": "2019-12-27 16:17:55.203476"
23772
+ "id_user": 0,
23773
+ "id_connection": 0,
23774
+ "id_connector": 0,
23775
+ "id_source": 0,
23776
+ "login": "",
23777
+ "error_uid": "",
23778
+ "timestamp": "CURRENT_TIMESTAMP",
23779
+ "next_try": "2020-03-26 17:25:37.352671",
23780
+ "error": "",
23781
+ "error_message": "",
23782
+ "statut": 0,
23783
+ "nb_accounts": 0,
23784
+ "start": "2020-03-26 17:25:37.352794",
23785
+ "worker": "",
23786
+ "session_folder_id": ""
23683
23787
  }
23684
23788
  },
23685
23789
  "Webhook": {
@@ -23736,9 +23840,9 @@
23736
23840
  },
23737
23841
  "example": {
23738
23842
  "id": 0,
23739
- "created": "2019-12-27 16:17:55.205052",
23740
- "updated": "2019-12-27 16:17:55.205127",
23741
- "deleted": "2019-12-27 16:17:55.205189",
23843
+ "created": "2020-03-26 17:25:37.353793",
23844
+ "updated": "2020-03-26 17:25:37.353841",
23845
+ "deleted": "2020-03-26 17:25:37.353873",
23742
23846
  "id_service": 0,
23743
23847
  "id_user": 0,
23744
23848
  "id_event": 0,
@@ -23801,8 +23905,8 @@
23801
23905
  "id_user": 0,
23802
23906
  "id_resource": 0,
23803
23907
  "mimetype": "",
23804
- "created": "2019-12-27 16:17:55.207112",
23805
- "success": "2019-12-27 16:17:55.207178"
23908
+ "created": "2020-03-26 17:25:37.355000",
23909
+ "success": "2020-03-26 17:25:37.355035"
23806
23910
  }
23807
23911
  },
23808
23912
  "WebhookLog": {
@@ -23853,223 +23957,225 @@
23853
23957
  "id_webhook_data": 0,
23854
23958
  "id_service": 0,
23855
23959
  "id_user": 0,
23856
- "timestamp": "2019-12-27 16:17:55.207847",
23857
- "response_date": "2019-12-27 16:17:55.207908",
23960
+ "timestamp": "2020-03-26 17:25:37.355367",
23961
+ "response_date": "2020-03-26 17:25:37.355402",
23858
23962
  "response_code": 0,
23859
- "next_try": "2019-12-27 16:17:55.208014"
23963
+ "next_try": "2020-03-26 17:25:37.355452"
23860
23964
  }
23861
23965
  },
23862
- "DocumentType": {
23966
+ "TermsOfService": {
23863
23967
  "required": [
23864
23968
  "id",
23865
- "name",
23866
- "attacheable"
23969
+ "version",
23970
+ "created"
23867
23971
  ],
23868
23972
  "type": "object",
23869
23973
  "properties": {
23870
23974
  "id": {
23871
23975
  "type": "integer"
23872
23976
  },
23873
- "name": {
23977
+ "version": {
23874
23978
  "type": "string"
23875
23979
  },
23876
- "attacheable": {
23877
- "default": true,
23878
- "type": "boolean"
23980
+ "created": {
23981
+ "type": "string",
23982
+ "format": "date-time"
23983
+ },
23984
+ "deleted": {
23985
+ "type": "string",
23986
+ "format": "date-time"
23879
23987
  }
23880
23988
  },
23881
23989
  "example": {
23882
23990
  "id": 0,
23883
- "name": "",
23884
- "attacheable": true
23991
+ "version": "",
23992
+ "created": "2020-03-26 17:25:37.356606",
23993
+ "deleted": "2020-03-26 17:25:37.356644"
23885
23994
  }
23886
23995
  },
23887
- "HashTable": {
23996
+ "Category": {
23888
23997
  "required": [
23889
- "wording",
23890
- "income",
23891
- "display",
23892
- "nature"
23998
+ "id",
23999
+ "id_parent_category",
24000
+ "name",
24001
+ "color",
24002
+ "id_parent_category_in_menu",
24003
+ "refundable"
23893
24004
  ],
23894
24005
  "type": "object",
23895
24006
  "properties": {
23896
- "wording": {
23897
- "type": "string"
24007
+ "id": {
24008
+ "type": "integer",
24009
+ "description": "ID of the category"
24010
+ },
24011
+ "id_parent_category": {
24012
+ "type": "integer",
24013
+ "description": "ID of the parent category. If this is a parent category, it will be equal to its own ID"
24014
+ },
24015
+ "name": {
24016
+ "type": "string",
24017
+ "description": "Name of the category"
23898
24018
  },
23899
24019
  "income": {
23900
- "type": "boolean"
24020
+ "type": "boolean",
24021
+ "description": "Is an income category. If null, this is both an income and an expense category"
23901
24022
  },
23902
- "display": {
23903
- "default": true,
23904
- "type": "boolean"
24023
+ "color": {
24024
+ "type": "string",
24025
+ "description": "Color of the category"
23905
24026
  },
23906
- "nature": {
23907
- "type": "string"
24027
+ "id_parent_category_in_menu": {
24028
+ "type": "integer",
24029
+ "description": "ID of the parent category to be displayed"
24030
+ },
24031
+ "name_displayed": {
24032
+ "type": "string",
24033
+ "description": "Displayed name, with HTML tags"
24034
+ },
24035
+ "refundable": {
24036
+ "type": "boolean",
24037
+ "description": "This category accepts opposite sign of transactions"
24038
+ },
24039
+ "id_user": {
24040
+ "type": "integer",
24041
+ "description": "If not null, this category is specific to a user"
24042
+ },
24043
+ "id_logo": {
24044
+ "type": "integer",
24045
+ "description": "ID of the logo"
23908
24046
  }
23909
24047
  },
23910
24048
  "example": {
23911
- "wording": "",
24049
+ "id": 0,
24050
+ "id_parent_category": 0,
24051
+ "name": "",
23912
24052
  "income": false,
23913
- "display": true,
23914
- "nature": ""
24053
+ "color": "",
24054
+ "id_parent_category_in_menu": 0,
24055
+ "name_displayed": "",
24056
+ "refundable": false,
24057
+ "id_user": 0,
24058
+ "id_logo": 0
23915
24059
  }
23916
24060
  },
23917
- "Connection": {
24061
+ "Client": {
23918
24062
  "required": [
23919
24063
  "id",
23920
- "id_connector",
23921
- "active"
24064
+ "name",
24065
+ "secret",
24066
+ "redirect_uris",
24067
+ "pro"
23922
24068
  ],
23923
24069
  "type": "object",
23924
24070
  "properties": {
23925
24071
  "id": {
23926
- "type": "integer",
23927
- "description": "ID of connection"
24072
+ "type": "integer"
23928
24073
  },
23929
- "id_user": {
23930
- "type": "integer",
23931
- "description": "ID of the related user"
24074
+ "name": {
24075
+ "default": "",
24076
+ "type": "string"
23932
24077
  },
23933
- "id_connector": {
23934
- "type": "integer",
23935
- "description": "ID of the related connector"
24078
+ "secret": {
24079
+ "type": "string"
23936
24080
  },
23937
- "last_update": {
23938
- "type": "string",
23939
- "description": "Last successful update",
23940
- "format": "date-time"
24081
+ "public_key": {
24082
+ "type": "string"
23941
24083
  },
23942
- "created": {
23943
- "default": "<function <lambda> at 0x7f8894ce1aa0>",
23944
- "type": "string",
23945
- "description": "Creation date",
23946
- "format": "date-time"
24084
+ "private_key": {
24085
+ "type": "string"
23947
24086
  },
23948
- "active": {
23949
- "default": true,
24087
+ "redirect_uris": {
24088
+ "default": "",
24089
+ "type": "string"
24090
+ },
24091
+ "pro": {
24092
+ "default": false,
23950
24093
  "type": "boolean",
23951
- "description": "This connection is active and will be automatically synced"
24094
+ "description": "Should the client display the company manager page."
23952
24095
  },
23953
- "last_push": {
23954
- "type": "string",
23955
- "description": "Last successful push",
23956
- "format": "date-time"
24096
+ "id_logo": {
24097
+ "type": "integer"
23957
24098
  },
23958
- "next_try": {
24099
+ "config": {
23959
24100
  "type": "string",
23960
- "description": "Date of next synchronization",
23961
- "format": "date-time"
24101
+ "description": "customizable config"
23962
24102
  }
23963
24103
  },
23964
24104
  "example": {
23965
24105
  "id": 0,
23966
- "id_user": 0,
23967
- "id_connector": 0,
23968
- "last_update": "2019-12-27 16:17:55.214719",
23969
- "created": "<function <lambda> at 0x7f8894ce1aa0>",
23970
- "active": true,
23971
- "last_push": "2019-12-27 16:17:55.214905",
23972
- "next_try": "2019-12-27 16:17:55.214963"
24106
+ "name": "",
24107
+ "secret": "",
24108
+ "public_key": "",
24109
+ "private_key": "",
24110
+ "redirect_uris": "",
24111
+ "pro": false,
24112
+ "id_logo": 0
23973
24113
  }
23974
24114
  },
23975
- "ConnectionLog": {
24115
+ "File": {
23976
24116
  "required": [
23977
24117
  "id",
23978
- "id_connection",
23979
- "timestamp"
24118
+ "content_type",
24119
+ "filename",
24120
+ "file_size"
23980
24121
  ],
23981
24122
  "type": "object",
23982
24123
  "properties": {
23983
24124
  "id": {
23984
- "type": "integer",
23985
- "description": "ID of the log"
23986
- },
23987
- "id_user": {
23988
- "type": "integer",
23989
- "description": "ID of the user"
24125
+ "type": "integer"
23990
24126
  },
23991
- "id_connection": {
23992
- "type": "integer",
23993
- "description": "ID of the connection"
24127
+ "content_type": {
24128
+ "type": "string"
23994
24129
  },
23995
- "id_connector": {
23996
- "type": "integer",
23997
- "description": "ID of the connector"
24130
+ "filename": {
24131
+ "type": "string"
23998
24132
  },
23999
- "id_source": {
24133
+ "file_size": {
24134
+ "type": "integer"
24135
+ }
24136
+ },
24137
+ "example": {
24138
+ "id": 0,
24139
+ "content_type": "",
24140
+ "filename": "",
24141
+ "file_size": 0
24142
+ }
24143
+ },
24144
+ "Security": {
24145
+ "required": [
24146
+ "id",
24147
+ "name"
24148
+ ],
24149
+ "type": "object",
24150
+ "properties": {
24151
+ "id": {
24000
24152
  "type": "integer",
24001
- "description": "ID of the related connection source"
24002
- },
24003
- "login": {
24004
- "type": "string",
24005
- "description": "bcrypt hash of the login"
24006
- },
24007
- "error_uid": {
24008
- "type": "string",
24009
- "description": "MD5 hash of the exception backtrace"
24010
- },
24011
- "timestamp": {
24012
- "default": "CURRENT_TIMESTAMP",
24013
- "type": "string",
24014
- "description": "Timestamp of log, when the synchronization has finished",
24015
- "format": "date-time"
24016
- },
24017
- "next_try": {
24018
- "type": "string",
24019
- "description": "If fail, the date represents the next try to connect",
24020
- "format": "date-time"
24153
+ "description": "ID of the security"
24021
24154
  },
24022
- "error": {
24155
+ "code": {
24023
24156
  "type": "string",
24024
- "description": "If fail, contains the error code"
24157
+ "description": "ISIN code of the security"
24025
24158
  },
24026
- "error_message": {
24159
+ "name": {
24027
24160
  "type": "string",
24028
- "description": "If fail, error message received from connector"
24029
- },
24030
- "statut": {
24031
- "type": "integer",
24032
- "description": "Status of user (1 = charged user)"
24161
+ "description": "Name of the security"
24033
24162
  },
24034
- "nb_accounts": {
24163
+ "id_type": {
24035
24164
  "type": "integer",
24036
- "description": "In case of bank connection, number of accounts"
24165
+ "description": "ID of the security type"
24037
24166
  },
24038
- "start": {
24167
+ "last_update": {
24039
24168
  "type": "string",
24040
- "description": "Timestamp when the synchronization has started",
24169
+ "description": "Last update of the security",
24041
24170
  "format": "date-time"
24042
- },
24043
- "worker": {
24044
- "type": "string",
24045
- "description": "Worker used to do synchronization"
24046
- },
24047
- "session_folder_id": {
24048
- "type": "string",
24049
- "description": "Session folder uid"
24050
- },
24051
- "fields": {
24052
- "type": "string",
24053
- "description": "Fields for connection in additionalInformationNeeded state with background option"
24054
24171
  }
24055
24172
  },
24056
24173
  "example": {
24057
24174
  "id": 0,
24058
- "id_user": 0,
24059
- "id_connection": 0,
24060
- "id_connector": 0,
24061
- "id_source": 0,
24062
- "login": "",
24063
- "error_uid": "",
24064
- "timestamp": "CURRENT_TIMESTAMP",
24065
- "next_try": "2019-12-27 16:17:55.216094",
24066
- "error": "",
24067
- "error_message": "",
24068
- "statut": 0,
24069
- "nb_accounts": 0,
24070
- "start": "2019-12-27 16:17:55.216370",
24071
- "worker": "",
24072
- "session_folder_id": ""
24175
+ "code": "",
24176
+ "name": "",
24177
+ "id_type": 0,
24178
+ "last_update": "2020-03-26 17:25:37.359686"
24073
24179
  }
24074
24180
  },
24075
24181
  "Transfer": {
@@ -24182,8 +24288,8 @@
24182
24288
  "id_recipient": 0,
24183
24289
  "account_iban": "",
24184
24290
  "recipient_iban": "",
24185
- "exec_date": "2019-12-27",
24186
- "register_date": "2019-12-27 16:17:55.220954",
24291
+ "exec_date": "2020-03-26",
24292
+ "register_date": "2020-03-26 17:25:37.360825",
24187
24293
  "amount": 0,
24188
24294
  "fees": 0,
24189
24295
  "webid": "",
@@ -24247,422 +24353,285 @@
24247
24353
  "refund_value": 0
24248
24354
  }
24249
24355
  },
24250
- "Certificate": {
24356
+ "OidcWhitelist": {
24251
24357
  "required": [
24252
24358
  "id",
24253
- "id_public_key_file",
24254
- "id_private_key_file",
24255
- "type",
24256
- "created"
24359
+ "redirect_uri"
24257
24360
  ],
24258
24361
  "type": "object",
24259
24362
  "properties": {
24260
24363
  "id": {
24261
24364
  "type": "integer"
24262
24365
  },
24263
- "id_public_key_file": {
24264
- "type": "integer"
24265
- },
24266
- "id_private_key_file": {
24267
- "type": "integer"
24268
- },
24269
- "type": {
24270
- "type": "string"
24271
- },
24272
- "created": {
24366
+ "redirect_uri": {
24273
24367
  "type": "string",
24274
- "format": "date-time"
24368
+ "description": "authorized redirect uri"
24275
24369
  }
24276
24370
  },
24277
24371
  "example": {
24278
24372
  "id": 0,
24279
- "id_public_key_file": 0,
24280
- "id_private_key_file": 0,
24281
- "type": "",
24282
- "created": "2019-12-27 16:17:55.226500"
24373
+ "redirect_uri": ""
24283
24374
  }
24284
24375
  },
24285
- "ProjectType": {
24376
+ "HashTable": {
24286
24377
  "required": [
24287
- "id",
24288
- "name"
24378
+ "wording",
24379
+ "income",
24380
+ "display",
24381
+ "nature"
24289
24382
  ],
24290
24383
  "type": "object",
24291
24384
  "properties": {
24292
- "id": {
24293
- "type": "integer"
24294
- },
24295
- "name": {
24385
+ "wording": {
24296
24386
  "type": "string"
24297
24387
  },
24298
- "icon_url": {
24388
+ "income": {
24389
+ "type": "boolean"
24390
+ },
24391
+ "display": {
24392
+ "default": true,
24393
+ "type": "boolean"
24394
+ },
24395
+ "nature": {
24299
24396
  "type": "string"
24300
24397
  }
24301
24398
  },
24302
24399
  "example": {
24303
- "id": 0,
24304
- "name": "",
24305
- "icon_url": ""
24400
+ "wording": "",
24401
+ "income": false,
24402
+ "display": true,
24403
+ "nature": ""
24306
24404
  }
24307
24405
  },
24308
- "Access": {
24406
+ "Certificate": {
24309
24407
  "required": [
24310
24408
  "id",
24311
- "id_profile"
24409
+ "id_public_key_file",
24410
+ "id_private_key_file",
24411
+ "type",
24412
+ "created"
24312
24413
  ],
24313
24414
  "type": "object",
24314
24415
  "properties": {
24315
24416
  "id": {
24316
24417
  "type": "integer"
24317
24418
  },
24318
- "id_user": {
24319
- "type": "integer"
24320
- },
24321
- "id_profile": {
24419
+ "id_public_key_file": {
24322
24420
  "type": "integer"
24323
24421
  },
24324
- "id_role": {
24422
+ "id_private_key_file": {
24325
24423
  "type": "integer"
24326
24424
  },
24327
- "email": {
24425
+ "type": {
24328
24426
  "type": "string"
24427
+ },
24428
+ "created": {
24429
+ "type": "string",
24430
+ "format": "date-time"
24329
24431
  }
24330
24432
  },
24331
24433
  "example": {
24332
24434
  "id": 0,
24333
- "id_user": 0,
24334
- "id_profile": 0,
24335
- "id_role": 0,
24336
- "email": ""
24435
+ "id_public_key_file": 0,
24436
+ "id_private_key_file": 0,
24437
+ "type": "",
24438
+ "created": "2020-03-26 17:25:37.366489"
24337
24439
  }
24338
24440
  },
24339
- "Profile": {
24441
+ "Document": {
24340
24442
  "required": [
24341
24443
  "id",
24342
24444
  "id_user",
24343
- "role",
24344
- "email",
24345
- "statut",
24346
- "admin"
24445
+ "timestamp",
24446
+ "readonly",
24447
+ "has_file_on_website"
24347
24448
  ],
24348
24449
  "type": "object",
24349
24450
  "properties": {
24350
24451
  "id": {
24351
24452
  "type": "integer"
24352
24453
  },
24353
- "id_user": {
24454
+ "id_type": {
24354
24455
  "type": "integer"
24355
24456
  },
24356
- "role": {
24357
- "default": "admin",
24358
- "enum": [
24359
- "admin",
24360
- "ser"
24361
- ],
24362
- "type": "string"
24363
- },
24364
- "email": {
24365
- "type": "string"
24366
- },
24367
- "statut": {
24368
- "default": 0,
24457
+ "id_category": {
24369
24458
  "type": "integer"
24370
24459
  },
24371
- "admin": {
24372
- "default": false,
24373
- "type": "boolean"
24374
- },
24375
- "conf": {
24376
- "type": "string"
24377
- },
24378
- "lang": {
24379
- "type": "string"
24380
- }
24381
- },
24382
- "example": {
24383
- "id": 0,
24384
- "id_user": 0,
24385
- "role": "admin",
24386
- "statut": 0,
24387
- "admin": false,
24388
- "conf": "",
24389
- "lang": ""
24390
- }
24391
- },
24392
- "TransactionsCluster": {
24393
- "required": [
24394
- "id",
24395
- "id_account",
24396
- "mean_amount",
24397
- "enabled",
24398
- "wording"
24399
- ],
24400
- "type": "object",
24401
- "properties": {
24402
- "id": {
24460
+ "id_user": {
24403
24461
  "type": "integer"
24404
24462
  },
24405
- "id_account": {
24463
+ "id_subscription": {
24406
24464
  "type": "integer"
24407
24465
  },
24408
- "mean_amount": {
24409
- "type": "number",
24410
- "format": "float"
24411
- },
24412
- "median_increment": {
24466
+ "id_file": {
24413
24467
  "type": "integer"
24414
24468
  },
24415
- "enabled": {
24416
- "default": true,
24417
- "type": "boolean"
24418
- },
24419
- "next_date": {
24420
- "type": "string",
24421
- "format": "date"
24422
- },
24423
- "wording": {
24424
- "type": "string"
24425
- },
24426
- "id_category": {
24469
+ "id_thumbnail": {
24427
24470
  "type": "integer"
24428
24471
  },
24429
- "created_by": {
24472
+ "name": {
24430
24473
  "type": "string"
24431
- }
24432
- },
24433
- "example": {
24434
- "id": 0,
24435
- "id_account": 0,
24436
- "mean_amount": 0,
24437
- "median_increment": 0,
24438
- "enabled": true,
24439
- "next_date": "2019-12-27",
24440
- "wording": "",
24441
- "id_category": 0,
24442
- "created_by": ""
24443
- }
24444
- },
24445
- "UserAlert": {
24446
- "description": "/!\\ Careful we use default value from database if present\n\n For more information see AlertsPlugin.init",
24447
- "required": [
24448
- "id",
24449
- "value_type",
24450
- "type",
24451
- "resume_frequency"
24452
- ],
24453
- "type": "object",
24454
- "properties": {
24455
- "id": {
24456
- "type": "integer"
24457
24474
  },
24458
- "income_max": {
24459
- "default": 500,
24460
- "type": "number",
24461
- "format": "float"
24475
+ "timestamp": {
24476
+ "default": "CURRENT_TIMESTAMP",
24477
+ "type": "string",
24478
+ "format": "date-time"
24462
24479
  },
24463
- "expense_max": {
24464
- "default": 500,
24465
- "type": "number",
24466
- "format": "float"
24480
+ "date": {
24481
+ "type": "string",
24482
+ "format": "date-time"
24467
24483
  },
24468
- "balance_min1": {
24469
- "default": 500,
24484
+ "duedate": {
24485
+ "type": "string",
24486
+ "format": "date"
24487
+ },
24488
+ "total_amount": {
24470
24489
  "type": "number",
24471
24490
  "format": "float"
24472
24491
  },
24473
- "balance_min2": {
24474
- "default": 0,
24492
+ "untaxed_amount": {
24475
24493
  "type": "number",
24476
24494
  "format": "float"
24477
24495
  },
24478
- "balance_max": {
24479
- "default": 10000,
24496
+ "vat": {
24480
24497
  "type": "number",
24481
24498
  "format": "float"
24482
24499
  },
24483
- "resume_enabled": {
24500
+ "income": {
24484
24501
  "default": true,
24485
24502
  "type": "boolean"
24486
24503
  },
24487
- "enabled": {
24504
+ "readonly": {
24488
24505
  "default": true,
24489
24506
  "type": "boolean"
24490
24507
  },
24491
- "value_type": {
24492
- "default": "flat",
24508
+ "number": {
24493
24509
  "type": "string"
24494
24510
  },
24495
- "type": {
24496
- "default": "transactions",
24511
+ "issuer": {
24497
24512
  "type": "string"
24498
24513
  },
24499
- "transaction_types": {
24500
- "type": "string"
24514
+ "last_update": {
24515
+ "type": "string",
24516
+ "description": "Last successful update of the document",
24517
+ "format": "date-time"
24501
24518
  },
24502
- "date_range": {
24503
- "type": "integer"
24504
- },
24505
- "apply": {
24506
- "type": "string"
24519
+ "has_file_on_website": {
24520
+ "default": true,
24521
+ "type": "boolean",
24522
+ "description": "Boolean to set if file is available on website"
24507
24523
  },
24508
- "resume_frequency": {
24509
- "default": 7,
24510
- "type": "integer"
24524
+ "currency": {
24525
+ "type": "object",
24526
+ "description": "Document currency"
24511
24527
  }
24512
24528
  },
24513
24529
  "example": {
24514
24530
  "id": 0,
24515
- "income_max": 500,
24516
- "expense_max": 500,
24517
- "balance_min1": 500,
24518
- "balance_min2": 0,
24519
- "balance_max": 10000,
24520
- "resume_enabled": true,
24521
- "enabled": true,
24522
- "value_type": "flat",
24523
- "type": "transactions",
24524
- "transaction_types": "",
24525
- "date_range": 0,
24526
- "apply": "",
24527
- "resume_frequency": 7
24531
+ "id_type": 0,
24532
+ "id_category": 0,
24533
+ "id_user": 0,
24534
+ "id_subscription": 0,
24535
+ "id_file": 0,
24536
+ "id_thumbnail": 0,
24537
+ "name": "",
24538
+ "timestamp": "CURRENT_TIMESTAMP",
24539
+ "date": "2020-03-26 17:25:37.368698",
24540
+ "duedate": "2020-03-26",
24541
+ "total_amount": 0,
24542
+ "untaxed_amount": 0,
24543
+ "vat": 0,
24544
+ "income": true,
24545
+ "readonly": true,
24546
+ "number": "",
24547
+ "issuer": "",
24548
+ "last_update": "2020-03-26 17:25:37.368983",
24549
+ "has_file_on_website": true,
24550
+ "currency": ""
24528
24551
  }
24529
24552
  },
24530
- "AccountType": {
24553
+ "TransferLog": {
24531
24554
  "required": [
24532
24555
  "id",
24533
- "name",
24534
- "is_invest",
24535
- "weboob_type_id",
24536
- "display_name_p",
24537
- "display_name"
24556
+ "timestamp"
24538
24557
  ],
24539
24558
  "type": "object",
24540
24559
  "properties": {
24541
24560
  "id": {
24542
24561
  "type": "integer",
24543
- "description": "ID of the account type"
24544
- },
24545
- "name": {
24546
- "type": "string",
24547
- "description": "Name of the account type"
24562
+ "description": "ID of the transfer log entry"
24548
24563
  },
24549
- "is_invest": {
24550
- "default": false,
24551
- "type": "boolean",
24552
- "description": "Is it an investment account"
24564
+ "id_transfer": {
24565
+ "type": "integer",
24566
+ "description": "ID of the related transfer"
24553
24567
  },
24554
- "weboob_type_id": {
24568
+ "id_file": {
24555
24569
  "type": "integer",
24556
- "description": "Map to the weboob_type_id"
24570
+ "description": "ID of the related file"
24557
24571
  },
24558
- "display_name_p": {
24572
+ "request_data": {
24559
24573
  "type": "string",
24560
- "description": "Name to display in plurial"
24574
+ "description": "Data stored related to user who has requested the transfer"
24561
24575
  },
24562
- "display_name": {
24576
+ "state": {
24563
24577
  "type": "string",
24564
- "description": "Name to display in singular"
24578
+ "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
24565
24579
  },
24566
- "color": {
24580
+ "error": {
24567
24581
  "type": "string",
24568
- "description": "Color of the account type (hexdecimal)"
24582
+ "description": "Error message during transfer, if any"
24569
24583
  },
24570
- "id_parent": {
24571
- "type": "integer",
24572
- "description": "Id of the parent type"
24584
+ "timestamp": {
24585
+ "default": "CURRENT_TIMESTAMP",
24586
+ "type": "string",
24587
+ "description": "Timestamp of the log",
24588
+ "format": "date-time"
24589
+ },
24590
+ "fields": {
24591
+ "type": "string",
24592
+ "description": "Fields for transfer in additionalInformationNeeded state with background option"
24573
24593
  }
24574
24594
  },
24575
24595
  "example": {
24576
24596
  "id": 0,
24577
- "name": "",
24578
- "is_invest": false,
24579
- "weboob_type_id": 0,
24580
- "display_name_p": "",
24581
- "display_name": "",
24582
- "color": "",
24583
- "id_parent": 0
24597
+ "id_transfer": 0,
24598
+ "id_file": 0,
24599
+ "request_data": "",
24600
+ "state": "",
24601
+ "error": "",
24602
+ "timestamp": "CURRENT_TIMESTAMP"
24584
24603
  }
24585
24604
  },
24586
- "Subscription": {
24605
+ "TransactionInformation": {
24587
24606
  "required": [
24588
24607
  "id",
24589
- "number",
24590
- "label"
24608
+ "id_transaction",
24609
+ "key"
24591
24610
  ],
24592
24611
  "type": "object",
24593
24612
  "properties": {
24594
24613
  "id": {
24595
24614
  "type": "integer",
24596
- "description": "ID of subscription"
24597
- },
24598
- "id_connection": {
24599
- "type": "integer",
24600
- "description": "ID of related connection"
24601
- },
24602
- "id_user": {
24603
- "type": "integer",
24604
- "description": "ID of related user"
24615
+ "description": "ID of this transaction information"
24605
24616
  },
24606
- "id_source": {
24617
+ "id_transaction": {
24607
24618
  "type": "integer",
24608
- "description": "ID of the related connection source"
24609
- },
24610
- "number": {
24611
- "type": "string",
24612
- "description": "Subscription's number"
24613
- },
24614
- "label": {
24615
- "type": "string",
24616
- "description": "Label of the subscription"
24617
- },
24618
- "subscriber": {
24619
- "type": "string",
24620
- "description": "Name of the subscriber"
24621
- },
24622
- "validity": {
24623
- "type": "string",
24624
- "description": "The subscription is valid until this date, if any",
24625
- "format": "date"
24626
- },
24627
- "renewdate": {
24628
- "type": "string",
24629
- "description": "Next renew date, if any",
24630
- "format": "date"
24631
- },
24632
- "last_update": {
24633
- "type": "string",
24634
- "description": "Last successful update of the subscription",
24635
- "format": "date-time"
24636
- },
24637
- "deleted": {
24638
- "type": "string",
24639
- "description": "This subscription is not found on the website anymore",
24640
- "format": "date-time"
24619
+ "description": "ID of the related transaction"
24641
24620
  },
24642
- "disabled": {
24621
+ "key": {
24643
24622
  "type": "string",
24644
- "description": "This subscription has been deleted by user and will not be synchronized anymore",
24645
- "format": "date-time"
24623
+ "description": "Key of the transaction information"
24646
24624
  },
24647
- "error": {
24625
+ "value": {
24648
24626
  "type": "string",
24649
- "description": "If the last update has failed, the error code"
24627
+ "description": "Value of the transaction information"
24650
24628
  }
24651
24629
  },
24652
24630
  "example": {
24653
24631
  "id": 0,
24654
- "id_connection": 0,
24655
- "id_user": 0,
24656
- "id_source": 0,
24657
- "number": "",
24658
- "label": "",
24659
- "subscriber": "",
24660
- "validity": "2019-12-27",
24661
- "renewdate": "2019-12-27",
24662
- "last_update": "2019-12-27 16:17:55.250146",
24663
- "deleted": "2019-12-27 16:17:55.250214",
24664
- "disabled": "2019-12-27 16:17:55.250273",
24665
- "error": ""
24632
+ "id_transaction": 0,
24633
+ "key": "",
24634
+ "value": ""
24666
24635
  }
24667
24636
  },
24668
24637
  "Transaction": {
@@ -24805,58 +24774,419 @@
24805
24774
  "type": "object",
24806
24775
  "description": "Original currency"
24807
24776
  },
24808
- "commission": {
24809
- "type": "number",
24810
- "description": "Commission taken on the transaction",
24811
- "format": "float"
24777
+ "commission": {
24778
+ "type": "number",
24779
+ "description": "Commission taken on the transaction",
24780
+ "format": "float"
24781
+ },
24782
+ "commission_currency": {
24783
+ "type": "object",
24784
+ "description": "Commission currency"
24785
+ },
24786
+ "country": {
24787
+ "type": "string",
24788
+ "description": "Original country"
24789
+ },
24790
+ "counterparty": {
24791
+ "type": "string",
24792
+ "description": "Counterparty"
24793
+ },
24794
+ "card": {
24795
+ "type": "string",
24796
+ "description": "Card number associated to the transaction"
24797
+ }
24798
+ },
24799
+ "example": {
24800
+ "id": 0,
24801
+ "id_account": 0,
24802
+ "webid": "",
24803
+ "application_date": "2020-03-26",
24804
+ "date": "2020-03-26",
24805
+ "value": 0,
24806
+ "gross_value": 0,
24807
+ "nature": "inconnu",
24808
+ "wording": "",
24809
+ "id_category": 0,
24810
+ "state": "new",
24811
+ "date_scraped": "2020-03-26 17:25:37.384220",
24812
+ "rdate": "2020-03-26",
24813
+ "vdate": "2020-03-26",
24814
+ "bdate": "2020-03-26",
24815
+ "coming": false,
24816
+ "active": true,
24817
+ "id_cluster": 0,
24818
+ "comment": "",
24819
+ "last_update": "2020-03-26 17:25:37.384460",
24820
+ "deleted": "2020-03-26 17:25:37.384488",
24821
+ "original_value": 0,
24822
+ "original_gross_value": 0,
24823
+ "original_currency": "",
24824
+ "commission": 0,
24825
+ "commission_currency": "",
24826
+ "country": "",
24827
+ "counterparty": "",
24828
+ "card": ""
24829
+ }
24830
+ },
24831
+ "InvestmentValue": {
24832
+ "required": [
24833
+ "id",
24834
+ "id_investment",
24835
+ "vdate",
24836
+ "unitvalue"
24837
+ ],
24838
+ "type": "object",
24839
+ "properties": {
24840
+ "id": {
24841
+ "type": "integer",
24842
+ "description": "ID of the value"
24843
+ },
24844
+ "id_investment": {
24845
+ "type": "integer",
24846
+ "description": "ID of the related investment"
24847
+ },
24848
+ "vdate": {
24849
+ "type": "string",
24850
+ "description": "Date of this value",
24851
+ "format": "date"
24852
+ },
24853
+ "unitvalue": {
24854
+ "type": "number",
24855
+ "description": "Value on this date",
24856
+ "format": "float"
24857
+ },
24858
+ "original_currency": {
24859
+ "type": "object",
24860
+ "description": "Original currency"
24861
+ },
24862
+ "original_unitvalue": {
24863
+ "type": "number",
24864
+ "description": "Value on this date, in the original currency",
24865
+ "format": "float"
24866
+ }
24867
+ },
24868
+ "example": {
24869
+ "id": 0,
24870
+ "id_investment": 0,
24871
+ "vdate": "2020-03-26",
24872
+ "unitvalue": 0,
24873
+ "original_currency": "",
24874
+ "original_unitvalue": 0
24875
+ }
24876
+ },
24877
+ "Pocket": {
24878
+ "required": [
24879
+ "id",
24880
+ "id_account",
24881
+ "id_investment",
24882
+ "value",
24883
+ "condition"
24884
+ ],
24885
+ "type": "object",
24886
+ "properties": {
24887
+ "id": {
24888
+ "type": "integer",
24889
+ "description": "ID of the pocket"
24890
+ },
24891
+ "id_account": {
24892
+ "type": "integer",
24893
+ "description": "ID of the related account"
24894
+ },
24895
+ "id_investment": {
24896
+ "type": "integer",
24897
+ "description": "ID of the related investment"
24898
+ },
24899
+ "label": {
24900
+ "type": "string",
24901
+ "description": "Label of the pocket"
24902
+ },
24903
+ "value": {
24904
+ "type": "number",
24905
+ "description": "Value of the pocket",
24906
+ "format": "float"
24907
+ },
24908
+ "quantity": {
24909
+ "default": 0,
24910
+ "type": "number",
24911
+ "description": "Quantity of stocks",
24912
+ "format": "float"
24913
+ },
24914
+ "availability_date": {
24915
+ "type": "string",
24916
+ "description": "Availability date of the pocket",
24917
+ "format": "date"
24918
+ },
24919
+ "condition": {
24920
+ "default": "inconnu",
24921
+ "type": "string",
24922
+ "description": "Withdrawal condition of the pocket"
24923
+ },
24924
+ "last_update": {
24925
+ "type": "string",
24926
+ "description": "Last update of the pocket",
24927
+ "format": "date-time"
24928
+ },
24929
+ "deleted": {
24930
+ "type": "string",
24931
+ "description": "If set, this pocket has been removed from the website",
24932
+ "format": "date-time"
24933
+ }
24934
+ },
24935
+ "example": {
24936
+ "id": 0,
24937
+ "id_account": 0,
24938
+ "id_investment": 0,
24939
+ "label": "",
24940
+ "value": 0,
24941
+ "quantity": 0,
24942
+ "availability_date": "2020-03-26",
24943
+ "condition": "inconnu",
24944
+ "last_update": "2020-03-26 17:25:37.385690",
24945
+ "deleted": "2020-03-26 17:25:37.385719"
24946
+ }
24947
+ },
24948
+ "RecipientLog": {
24949
+ "required": [
24950
+ "id",
24951
+ "timestamp"
24952
+ ],
24953
+ "type": "object",
24954
+ "properties": {
24955
+ "id": {
24956
+ "type": "integer",
24957
+ "description": "ID of the transfer log entry"
24958
+ },
24959
+ "id_recipient": {
24960
+ "type": "integer",
24961
+ "description": "ID of the related recipient"
24962
+ },
24963
+ "id_file": {
24964
+ "type": "integer",
24965
+ "description": "ID of the related file"
24966
+ },
24967
+ "request_data": {
24968
+ "type": "string",
24969
+ "description": "Data stored related to user who has requested the recipient addition"
24970
+ },
24971
+ "step": {
24972
+ "type": "string",
24973
+ "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
24974
+ },
24975
+ "error": {
24976
+ "type": "string",
24977
+ "description": "Error message during recipient addition, if any"
24978
+ },
24979
+ "timestamp": {
24980
+ "default": "CURRENT_TIMESTAMP",
24981
+ "type": "string",
24982
+ "description": "Timestamp of the log",
24983
+ "format": "date-time"
24984
+ },
24985
+ "fields": {
24986
+ "type": "string",
24987
+ "description": "Fields for recipient in additionalInformationNeeded state with background option"
24988
+ }
24989
+ },
24990
+ "example": {
24991
+ "id": 0,
24992
+ "id_recipient": 0,
24993
+ "id_file": 0,
24994
+ "request_data": "",
24995
+ "step": "",
24996
+ "error": "",
24997
+ "timestamp": "CURRENT_TIMESTAMP"
24998
+ }
24999
+ },
25000
+ "SubscriptionLog": {
25001
+ "required": [
25002
+ "id",
25003
+ "id_subscription",
25004
+ "timestamp"
25005
+ ],
25006
+ "type": "object",
25007
+ "properties": {
25008
+ "id": {
25009
+ "type": "integer",
25010
+ "description": "ID of the log"
25011
+ },
25012
+ "id_subscription": {
25013
+ "type": "integer",
25014
+ "description": "ID of the related subscription"
25015
+ },
25016
+ "timestamp": {
25017
+ "default": "CURRENT_TIMESTAMP",
25018
+ "type": "string",
25019
+ "description": "Timestamp of log",
25020
+ "format": "date-time"
25021
+ },
25022
+ "nb_docs": {
25023
+ "type": "integer",
25024
+ "description": "Number of docs on the subscription"
25025
+ },
25026
+ "id_connection_log": {
25027
+ "type": "integer",
25028
+ "description": "ID of the related connection log"
25029
+ },
25030
+ "error": {
25031
+ "type": "string",
25032
+ "description": "If fail, contains the error code"
25033
+ },
25034
+ "error_message": {
25035
+ "type": "string",
25036
+ "description": "If fail, error message received from provider"
25037
+ },
25038
+ "id_source": {
25039
+ "type": "integer",
25040
+ "description": "ID of the related connection source"
25041
+ }
25042
+ },
25043
+ "example": {
25044
+ "id": 0,
25045
+ "id_subscription": 0,
25046
+ "timestamp": "CURRENT_TIMESTAMP",
25047
+ "nb_docs": 0,
25048
+ "id_connection_log": 0,
25049
+ "error": "",
25050
+ "error_message": "",
25051
+ "id_source": 0
25052
+ }
25053
+ },
25054
+ "TransactionsCluster": {
25055
+ "required": [
25056
+ "id",
25057
+ "id_account",
25058
+ "mean_amount",
25059
+ "enabled",
25060
+ "wording"
25061
+ ],
25062
+ "type": "object",
25063
+ "properties": {
25064
+ "id": {
25065
+ "type": "integer"
25066
+ },
25067
+ "id_account": {
25068
+ "type": "integer"
25069
+ },
25070
+ "mean_amount": {
25071
+ "type": "number",
25072
+ "format": "float"
25073
+ },
25074
+ "median_increment": {
25075
+ "type": "integer"
25076
+ },
25077
+ "enabled": {
25078
+ "default": true,
25079
+ "type": "boolean"
25080
+ },
25081
+ "next_date": {
25082
+ "type": "string",
25083
+ "format": "date"
25084
+ },
25085
+ "wording": {
25086
+ "type": "string"
25087
+ },
25088
+ "id_category": {
25089
+ "type": "integer"
25090
+ },
25091
+ "created_by": {
25092
+ "type": "string"
25093
+ }
25094
+ },
25095
+ "example": {
25096
+ "id": 0,
25097
+ "id_account": 0,
25098
+ "mean_amount": 0,
25099
+ "median_increment": 0,
25100
+ "enabled": true,
25101
+ "next_date": "2020-03-26",
25102
+ "wording": "",
25103
+ "id_category": 0,
25104
+ "created_by": ""
25105
+ }
25106
+ },
25107
+ "UserAlert": {
25108
+ "description": "/!\\ Careful we use default value from database if present\n\n For more information see AlertsPlugin.init",
25109
+ "required": [
25110
+ "id",
25111
+ "value_type",
25112
+ "type",
25113
+ "resume_frequency"
25114
+ ],
25115
+ "type": "object",
25116
+ "properties": {
25117
+ "id": {
25118
+ "type": "integer"
25119
+ },
25120
+ "income_max": {
25121
+ "default": 500,
25122
+ "type": "number",
25123
+ "format": "float"
25124
+ },
25125
+ "expense_max": {
25126
+ "default": 500,
25127
+ "type": "number",
25128
+ "format": "float"
25129
+ },
25130
+ "balance_min1": {
25131
+ "default": 500,
25132
+ "type": "number",
25133
+ "format": "float"
25134
+ },
25135
+ "balance_min2": {
25136
+ "default": 0,
25137
+ "type": "number",
25138
+ "format": "float"
25139
+ },
25140
+ "balance_max": {
25141
+ "default": 10000,
25142
+ "type": "number",
25143
+ "format": "float"
25144
+ },
25145
+ "resume_enabled": {
25146
+ "default": true,
25147
+ "type": "boolean"
25148
+ },
25149
+ "enabled": {
25150
+ "default": true,
25151
+ "type": "boolean"
25152
+ },
25153
+ "value_type": {
25154
+ "default": "flat",
25155
+ "type": "string"
25156
+ },
25157
+ "type": {
25158
+ "default": "transactions",
25159
+ "type": "string"
24812
25160
  },
24813
- "commission_currency": {
24814
- "type": "object",
24815
- "description": "Commission currency"
25161
+ "transaction_types": {
25162
+ "type": "string"
24816
25163
  },
24817
- "country": {
24818
- "type": "string",
24819
- "description": "Original country"
25164
+ "date_range": {
25165
+ "type": "integer"
24820
25166
  },
24821
- "counterparty": {
24822
- "type": "string",
24823
- "description": "Counterparty"
25167
+ "apply": {
25168
+ "type": "string"
24824
25169
  },
24825
- "card": {
24826
- "type": "string",
24827
- "description": "Card number associated to the transaction"
25170
+ "resume_frequency": {
25171
+ "default": 7,
25172
+ "type": "integer"
24828
25173
  }
24829
25174
  },
24830
25175
  "example": {
24831
25176
  "id": 0,
24832
- "id_account": 0,
24833
- "webid": "",
24834
- "application_date": "2019-12-27",
24835
- "date": "2019-12-27",
24836
- "value": 0,
24837
- "gross_value": 0,
24838
- "nature": "inconnu",
24839
- "wording": "",
24840
- "id_category": 0,
24841
- "state": "new",
24842
- "date_scraped": "2019-12-27 16:17:55.252832",
24843
- "rdate": "2019-12-27",
24844
- "vdate": "2019-12-27",
24845
- "bdate": "2019-12-27",
24846
- "coming": false,
24847
- "active": true,
24848
- "id_cluster": 0,
24849
- "comment": "",
24850
- "last_update": "2019-12-27 16:17:55.253360",
24851
- "deleted": "2019-12-27 16:17:55.253424",
24852
- "original_value": 0,
24853
- "original_gross_value": 0,
24854
- "original_currency": "",
24855
- "commission": 0,
24856
- "commission_currency": "",
24857
- "country": "",
24858
- "counterparty": "",
24859
- "card": ""
25177
+ "income_max": 500,
25178
+ "expense_max": 500,
25179
+ "balance_min1": 500,
25180
+ "balance_min2": 0,
25181
+ "balance_max": 10000,
25182
+ "resume_enabled": true,
25183
+ "enabled": true,
25184
+ "value_type": "flat",
25185
+ "type": "transactions",
25186
+ "transaction_types": "",
25187
+ "date_range": 0,
25188
+ "apply": "",
25189
+ "resume_frequency": 7
24860
25190
  }
24861
25191
  },
24862
25192
  "Investment": {
@@ -25006,16 +25336,16 @@
25006
25336
  "diff_percent": 0,
25007
25337
  "prev_diff": 0,
25008
25338
  "portfolio_share": 0,
25009
- "vdate": "2019-12-27",
25010
- "prev_vdate": "2019-12-27",
25339
+ "vdate": "2020-03-26",
25340
+ "prev_vdate": "2020-03-26",
25011
25341
  "id_security": 0,
25012
25342
  "original_currency": "",
25013
25343
  "original_valuation": 0,
25014
25344
  "original_unitvalue": 0,
25015
25345
  "original_unitprice": 0,
25016
25346
  "original_diff": 0,
25017
- "last_update": "2019-12-27 16:17:55.257343",
25018
- "deleted": "2019-12-27 16:17:55.257402"
25347
+ "last_update": "2020-03-26 17:25:37.402602",
25348
+ "deleted": "2020-03-26 17:25:37.402631"
25019
25349
  }
25020
25350
  },
25021
25351
  "Recipient": {
@@ -25114,127 +25444,191 @@
25114
25444
  "iban": "",
25115
25445
  "webid": "",
25116
25446
  "category": "",
25117
- "last_update": "2019-12-27 16:17:55.258763",
25118
- "time_scraped": "2019-12-27 16:17:55.258823",
25119
- "deleted": "2019-12-27 16:17:55.258879",
25120
- "expire": "2019-12-27 16:17:55.258940",
25121
- "enabled_at": "2019-12-27 16:17:55.259115",
25447
+ "last_update": "2020-03-26 17:25:37.403218",
25448
+ "time_scraped": "2020-03-26 17:25:37.403249",
25449
+ "deleted": "2020-03-26 17:25:37.403276",
25450
+ "expire": "2020-03-26 17:25:37.403301",
25451
+ "enabled_at": "2020-03-26 17:25:37.403325",
25122
25452
  "add_verified": false,
25123
25453
  "state": "",
25124
25454
  "error": "",
25125
25455
  "currency": ""
25126
25456
  }
25127
25457
  },
25128
- "Document": {
25458
+ "AccountLog": {
25129
25459
  "required": [
25130
25460
  "id",
25131
- "id_user",
25132
- "timestamp",
25133
- "readonly",
25134
- "has_file_on_website"
25461
+ "id_account",
25462
+ "balance",
25463
+ "timestamp"
25135
25464
  ],
25136
25465
  "type": "object",
25137
25466
  "properties": {
25138
25467
  "id": {
25139
- "type": "integer"
25140
- },
25141
- "id_type": {
25142
- "type": "integer"
25143
- },
25144
- "id_category": {
25145
- "type": "integer"
25146
- },
25147
- "id_user": {
25148
- "type": "integer"
25468
+ "type": "integer",
25469
+ "description": "ID of the log"
25149
25470
  },
25150
- "id_subscription": {
25151
- "type": "integer"
25471
+ "id_account": {
25472
+ "type": "integer",
25473
+ "description": "ID of the related account"
25152
25474
  },
25153
- "id_file": {
25154
- "type": "integer"
25475
+ "id_connector": {
25476
+ "type": "integer",
25477
+ "description": "provider id"
25155
25478
  },
25156
- "id_thumbnail": {
25157
- "type": "integer"
25479
+ "balance": {
25480
+ "type": "number",
25481
+ "description": "Balanced recorded",
25482
+ "format": "float"
25158
25483
  },
25159
- "name": {
25160
- "type": "string"
25484
+ "coming": {
25485
+ "default": 0,
25486
+ "type": "number",
25487
+ "description": "Coming debit recorded",
25488
+ "format": "float"
25161
25489
  },
25162
25490
  "timestamp": {
25163
25491
  "default": "CURRENT_TIMESTAMP",
25164
25492
  "type": "string",
25493
+ "description": "Timestamp of log",
25165
25494
  "format": "date-time"
25166
25495
  },
25167
- "date": {
25496
+ "error": {
25168
25497
  "type": "string",
25169
- "format": "date-time"
25498
+ "description": "If fail, contains the error code"
25170
25499
  },
25171
- "duedate": {
25500
+ "error_message": {
25172
25501
  "type": "string",
25173
- "format": "date"
25502
+ "description": "If fail, error message received from bank or provider"
25174
25503
  },
25175
- "total_amount": {
25176
- "type": "number",
25177
- "format": "float"
25504
+ "id_connection_log": {
25505
+ "type": "integer",
25506
+ "description": "ID of the related connection log"
25507
+ }
25508
+ },
25509
+ "example": {
25510
+ "id": 0,
25511
+ "id_account": 0,
25512
+ "id_connector": 0,
25513
+ "balance": 0,
25514
+ "coming": 0,
25515
+ "timestamp": "CURRENT_TIMESTAMP",
25516
+ "error": "",
25517
+ "error_message": "",
25518
+ "id_connection_log": 0
25519
+ }
25520
+ },
25521
+ "Access": {
25522
+ "required": [
25523
+ "id",
25524
+ "id_profile"
25525
+ ],
25526
+ "type": "object",
25527
+ "properties": {
25528
+ "id": {
25529
+ "type": "integer"
25178
25530
  },
25179
- "untaxed_amount": {
25180
- "type": "number",
25181
- "format": "float"
25531
+ "id_user": {
25532
+ "type": "integer"
25182
25533
  },
25183
- "vat": {
25184
- "type": "number",
25185
- "format": "float"
25534
+ "id_profile": {
25535
+ "type": "integer"
25186
25536
  },
25187
- "income": {
25188
- "default": true,
25189
- "type": "boolean"
25537
+ "id_role": {
25538
+ "type": "integer"
25190
25539
  },
25191
- "readonly": {
25192
- "default": true,
25193
- "type": "boolean"
25540
+ "email": {
25541
+ "type": "string"
25542
+ }
25543
+ },
25544
+ "example": {
25545
+ "id": 0,
25546
+ "id_user": 0,
25547
+ "id_profile": 0,
25548
+ "id_role": 0,
25549
+ "email": ""
25550
+ }
25551
+ },
25552
+ "Subscription": {
25553
+ "required": [
25554
+ "id",
25555
+ "number",
25556
+ "label"
25557
+ ],
25558
+ "type": "object",
25559
+ "properties": {
25560
+ "id": {
25561
+ "type": "integer",
25562
+ "description": "ID of subscription"
25563
+ },
25564
+ "id_connection": {
25565
+ "type": "integer",
25566
+ "description": "ID of related connection"
25567
+ },
25568
+ "id_user": {
25569
+ "type": "integer",
25570
+ "description": "ID of related user"
25571
+ },
25572
+ "id_source": {
25573
+ "type": "integer",
25574
+ "description": "ID of the related connection source"
25194
25575
  },
25195
25576
  "number": {
25196
- "type": "string"
25577
+ "type": "string",
25578
+ "description": "Subscription's number"
25197
25579
  },
25198
- "issuer": {
25199
- "type": "string"
25580
+ "label": {
25581
+ "type": "string",
25582
+ "description": "Label of the subscription"
25583
+ },
25584
+ "subscriber": {
25585
+ "type": "string",
25586
+ "description": "Name of the subscriber"
25587
+ },
25588
+ "validity": {
25589
+ "type": "string",
25590
+ "description": "The subscription is valid until this date, if any",
25591
+ "format": "date"
25592
+ },
25593
+ "renewdate": {
25594
+ "type": "string",
25595
+ "description": "Next renew date, if any",
25596
+ "format": "date"
25200
25597
  },
25201
25598
  "last_update": {
25202
25599
  "type": "string",
25203
- "description": "Last successful update of the document",
25600
+ "description": "Last successful update of the subscription",
25204
25601
  "format": "date-time"
25205
25602
  },
25206
- "has_file_on_website": {
25207
- "default": true,
25208
- "type": "boolean",
25209
- "description": "Boolean to set if file is available on website"
25603
+ "deleted": {
25604
+ "type": "string",
25605
+ "description": "This subscription is not found on the website anymore",
25606
+ "format": "date-time"
25210
25607
  },
25211
- "currency": {
25212
- "type": "object",
25213
- "description": "Document currency"
25608
+ "disabled": {
25609
+ "type": "string",
25610
+ "description": "This subscription has been deleted by user and will not be synchronized anymore",
25611
+ "format": "date-time"
25612
+ },
25613
+ "error": {
25614
+ "type": "string",
25615
+ "description": "If the last update has failed, the error code"
25214
25616
  }
25215
- },
25216
- "example": {
25217
- "id": 0,
25218
- "id_type": 0,
25219
- "id_category": 0,
25220
- "id_user": 0,
25221
- "id_subscription": 0,
25222
- "id_file": 0,
25223
- "id_thumbnail": 0,
25224
- "name": "",
25225
- "timestamp": "CURRENT_TIMESTAMP",
25226
- "date": "2019-12-27 16:17:55.260543",
25227
- "duedate": "2019-12-27",
25228
- "total_amount": 0,
25229
- "untaxed_amount": 0,
25230
- "vat": 0,
25231
- "income": true,
25232
- "readonly": true,
25617
+ },
25618
+ "example": {
25619
+ "id": 0,
25620
+ "id_connection": 0,
25621
+ "id_user": 0,
25622
+ "id_source": 0,
25233
25623
  "number": "",
25234
- "issuer": "",
25235
- "last_update": "2019-12-27 16:17:55.261123",
25236
- "has_file_on_website": true,
25237
- "currency": ""
25624
+ "label": "",
25625
+ "subscriber": "",
25626
+ "validity": "2020-03-26",
25627
+ "renewdate": "2020-03-26",
25628
+ "last_update": "2020-03-26 17:25:37.414077",
25629
+ "deleted": "2020-03-26 17:25:37.414109",
25630
+ "disabled": "2020-03-26 17:25:37.414136",
25631
+ "error": ""
25238
25632
  }
25239
25633
  },
25240
25634
  "Account": {
@@ -25341,688 +25735,374 @@
25341
25735
  },
25342
25736
  "ownership": {
25343
25737
  "type": "string",
25344
- "description": "Relationship between the credentials owner and the account"
25345
- },
25346
- "company_name": {
25347
- "type": "string",
25348
- "description": "Name of the company holding the employee savings of the account"
25349
- }
25350
- },
25351
- "example": {
25352
- "id": 0,
25353
- "id_connection": 0,
25354
- "id_user": 0,
25355
- "id_source": 0,
25356
- "id_parent": 0,
25357
- "number": "",
25358
- "webid": "",
25359
- "original_name": "",
25360
- "balance": 0,
25361
- "coming": 0,
25362
- "display": true,
25363
- "last_update": "2019-12-27 16:17:55.263959",
25364
- "deleted": "2019-12-27 16:17:55.264019",
25365
- "disabled": "2019-12-27 16:17:55.264077",
25366
- "iban": "",
25367
- "currency": "",
25368
- "id_type": 0,
25369
- "bookmarked": false,
25370
- "name": "",
25371
- "error": "",
25372
- "usage": "",
25373
- "ownership": "",
25374
- "company_name": ""
25375
- }
25376
- },
25377
- "Project": {
25378
- "required": [
25379
- "id",
25380
- "id_user",
25381
- "id_type",
25382
- "name",
25383
- "target",
25384
- "saved",
25385
- "monthly_savings",
25386
- "comment",
25387
- "active"
25388
- ],
25389
- "type": "object",
25390
- "properties": {
25391
- "id": {
25392
- "type": "integer"
25393
- },
25394
- "id_user": {
25395
- "type": "integer"
25396
- },
25397
- "id_type": {
25398
- "type": "integer"
25399
- },
25400
- "name": {
25401
- "type": "string"
25402
- },
25403
- "target": {
25404
- "type": "number",
25405
- "format": "float"
25406
- },
25407
- "saved": {
25408
- "default": 0,
25409
- "type": "number",
25410
- "format": "float"
25411
- },
25412
- "monthly_savings": {
25413
- "type": "number",
25414
- "format": "float"
25415
- },
25416
- "comment": {
25417
- "default": "",
25418
- "type": "string"
25419
- },
25420
- "active": {
25421
- "default": true,
25422
- "type": "boolean"
25423
- }
25424
- },
25425
- "example": {
25426
- "id": 0,
25427
- "id_user": 0,
25428
- "id_type": 0,
25429
- "name": "",
25430
- "target": 0,
25431
- "saved": 0,
25432
- "monthly_savings": 0,
25433
- "comment": "",
25434
- "active": true
25435
- }
25436
- },
25437
- "Device": {
25438
- "required": [
25439
- "id",
25440
- "id_token",
25441
- "type",
25442
- "notification_token",
25443
- "last_update",
25444
- "version",
25445
- "debug"
25446
- ],
25447
- "type": "object",
25448
- "properties": {
25449
- "id": {
25450
- "type": "integer"
25451
- },
25452
- "id_token": {
25453
- "type": "integer"
25454
- },
25455
- "type": {
25456
- "type": "string"
25457
- },
25458
- "notification_token": {
25459
- "type": "string"
25460
- },
25461
- "last_update": {
25462
- "default": "CURRENT_TIMESTAMP",
25463
- "type": "string",
25464
- "format": "date-time"
25465
- },
25466
- "version": {
25467
- "type": "string"
25468
- },
25469
- "debug": {
25470
- "default": false,
25471
- "type": "boolean"
25472
- }
25473
- },
25474
- "example": {
25475
- "id": 0,
25476
- "id_token": 0,
25477
- "type": "",
25478
- "notification_token": "",
25479
- "last_update": "CURRENT_TIMESTAMP",
25480
- "version": "",
25481
- "debug": false
25482
- }
25483
- },
25484
- "Pocket": {
25485
- "required": [
25486
- "id",
25487
- "id_account",
25488
- "id_investment",
25489
- "value",
25490
- "condition"
25491
- ],
25492
- "type": "object",
25493
- "properties": {
25494
- "id": {
25495
- "type": "integer",
25496
- "description": "ID of the pocket"
25497
- },
25498
- "id_account": {
25499
- "type": "integer",
25500
- "description": "ID of the related account"
25501
- },
25502
- "id_investment": {
25503
- "type": "integer",
25504
- "description": "ID of the related investment"
25505
- },
25506
- "label": {
25507
- "type": "string",
25508
- "description": "Label of the pocket"
25509
- },
25510
- "value": {
25511
- "type": "number",
25512
- "description": "Value of the pocket",
25513
- "format": "float"
25514
- },
25515
- "quantity": {
25516
- "default": 0,
25517
- "type": "number",
25518
- "description": "Quantity of stocks",
25519
- "format": "float"
25520
- },
25521
- "availability_date": {
25522
- "type": "string",
25523
- "description": "Availability date of the pocket",
25524
- "format": "date"
25525
- },
25526
- "condition": {
25527
- "default": "inconnu",
25528
- "type": "string",
25529
- "description": "Withdrawal condition of the pocket"
25530
- },
25531
- "last_update": {
25532
- "type": "string",
25533
- "description": "Last update of the pocket",
25534
- "format": "date-time"
25535
- },
25536
- "deleted": {
25537
- "type": "string",
25538
- "description": "If set, this pocket has been removed from the website",
25539
- "format": "date-time"
25540
- }
25541
- },
25542
- "example": {
25543
- "id": 0,
25544
- "id_account": 0,
25545
- "id_investment": 0,
25546
- "label": "",
25547
- "value": 0,
25548
- "quantity": 0,
25549
- "availability_date": "2019-12-27",
25550
- "condition": "inconnu",
25551
- "last_update": "2019-12-27 16:17:55.268919",
25552
- "deleted": "2019-12-27 16:17:55.268982"
25553
- }
25554
- },
25555
- "Alert": {
25556
- "required": [
25557
- "id",
25558
- "id_user",
25559
- "timestamp",
25560
- "type",
25561
- "value"
25562
- ],
25563
- "type": "object",
25564
- "properties": {
25565
- "id": {
25566
- "type": "integer"
25567
- },
25568
- "id_user": {
25569
- "type": "integer",
25570
- "description": "ID of the related user"
25571
- },
25572
- "timestamp": {
25573
- "default": "CURRENT_TIMESTAMP",
25574
- "type": "string",
25575
- "description": "Date of the alerts emission",
25576
- "format": "date-time"
25577
- },
25578
- "type": {
25579
- "type": "string",
25580
- "description": "Type of the alert"
25581
- },
25582
- "id_transaction": {
25583
- "type": "integer",
25584
- "description": "ID of the related transaction"
25585
- },
25586
- "id_account": {
25587
- "type": "integer",
25588
- "description": "ID of the related account"
25589
- },
25590
- "value": {
25591
- "type": "number",
25592
- "description": "Amount related to the alert",
25593
- "format": "float"
25738
+ "description": "Relationship between the credentials owner and the account"
25594
25739
  },
25595
- "id_investment": {
25596
- "type": "integer",
25597
- "description": "ID of the related investment"
25740
+ "company_name": {
25741
+ "type": "string",
25742
+ "description": "Name of the company holding the employee savings of the account"
25598
25743
  }
25599
25744
  },
25600
25745
  "example": {
25601
25746
  "id": 0,
25747
+ "id_connection": 0,
25602
25748
  "id_user": 0,
25603
- "timestamp": "CURRENT_TIMESTAMP",
25604
- "type": "",
25605
- "id_transaction": 0,
25606
- "id_account": 0,
25607
- "value": 0,
25608
- "id_investment": 0
25749
+ "id_source": 0,
25750
+ "id_parent": 0,
25751
+ "number": "",
25752
+ "webid": "",
25753
+ "original_name": "",
25754
+ "balance": 0,
25755
+ "coming": 0,
25756
+ "display": true,
25757
+ "last_update": "2020-03-26 17:25:37.417669",
25758
+ "deleted": "2020-03-26 17:25:37.417704",
25759
+ "disabled": "2020-03-26 17:25:37.417736",
25760
+ "iban": "",
25761
+ "currency": "",
25762
+ "id_type": 0,
25763
+ "bookmarked": false,
25764
+ "name": "",
25765
+ "error": "",
25766
+ "usage": "",
25767
+ "ownership": "",
25768
+ "company_name": ""
25609
25769
  }
25610
25770
  },
25611
- "Group": {
25771
+ "Profile": {
25612
25772
  "required": [
25613
- "id"
25773
+ "id",
25774
+ "id_user",
25775
+ "role",
25776
+ "email",
25777
+ "statut",
25778
+ "admin"
25614
25779
  ],
25615
25780
  "type": "object",
25616
25781
  "properties": {
25617
25782
  "id": {
25618
25783
  "type": "integer"
25619
25784
  },
25620
- "id_parent_group": {
25621
- "type": "integer"
25622
- },
25623
- "id_logo": {
25785
+ "id_user": {
25624
25786
  "type": "integer"
25625
25787
  },
25626
- "name": {
25788
+ "role": {
25789
+ "default": "admin",
25790
+ "enum": [
25791
+ "admin",
25792
+ "ser"
25793
+ ],
25627
25794
  "type": "string"
25628
25795
  },
25629
- "url": {
25796
+ "email": {
25630
25797
  "type": "string"
25631
25798
  },
25632
- "color": {
25633
- "type": "string"
25799
+ "statut": {
25800
+ "default": 0,
25801
+ "type": "integer"
25634
25802
  },
25635
- "email": {
25636
- "type": "string"
25803
+ "admin": {
25804
+ "default": false,
25805
+ "type": "boolean"
25637
25806
  },
25638
25807
  "conf": {
25639
25808
  "type": "string"
25809
+ },
25810
+ "lang": {
25811
+ "type": "string"
25640
25812
  }
25641
25813
  },
25642
25814
  "example": {
25643
25815
  "id": 0,
25644
- "id_parent_group": 0,
25645
- "id_logo": 0,
25646
- "name": "",
25647
- "url": "",
25648
- "color": "",
25649
- "email": "",
25650
- "conf": ""
25816
+ "id_user": 0,
25817
+ "role": "admin",
25818
+ "statut": 0,
25819
+ "admin": false,
25820
+ "conf": "",
25821
+ "lang": ""
25651
25822
  }
25652
25823
  },
25653
- "TransferLog": {
25824
+ "AccountType": {
25654
25825
  "required": [
25655
25826
  "id",
25656
- "timestamp"
25827
+ "name",
25828
+ "is_invest",
25829
+ "weboob_type_id",
25830
+ "display_name_p",
25831
+ "display_name"
25657
25832
  ],
25658
25833
  "type": "object",
25659
25834
  "properties": {
25660
25835
  "id": {
25661
25836
  "type": "integer",
25662
- "description": "ID of the transfer log entry"
25663
- },
25664
- "id_transfer": {
25665
- "type": "integer",
25666
- "description": "ID of the related transfer"
25667
- },
25668
- "id_file": {
25669
- "type": "integer",
25670
- "description": "ID of the related file"
25837
+ "description": "ID of the account type"
25671
25838
  },
25672
- "request_data": {
25839
+ "name": {
25673
25840
  "type": "string",
25674
- "description": "Data stored related to user who has requested the transfer"
25841
+ "description": "Name of the account type"
25675
25842
  },
25676
- "state": {
25677
- "type": "string",
25678
- "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
25843
+ "is_invest": {
25844
+ "default": false,
25845
+ "type": "boolean",
25846
+ "description": "Is it an investment account"
25679
25847
  },
25680
- "error": {
25681
- "type": "string",
25682
- "description": "Error message during transfer, if any"
25848
+ "weboob_type_id": {
25849
+ "type": "integer",
25850
+ "description": "Map to the weboob_type_id"
25683
25851
  },
25684
- "timestamp": {
25685
- "default": "CURRENT_TIMESTAMP",
25852
+ "display_name_p": {
25686
25853
  "type": "string",
25687
- "description": "Timestamp of the log",
25688
- "format": "date-time"
25854
+ "description": "Name to display in plurial"
25689
25855
  },
25690
- "fields": {
25856
+ "display_name": {
25691
25857
  "type": "string",
25692
- "description": "Fields for transfer in additionalInformationNeeded state with background option"
25693
- }
25694
- },
25695
- "example": {
25696
- "id": 0,
25697
- "id_transfer": 0,
25698
- "id_file": 0,
25699
- "request_data": "",
25700
- "state": "",
25701
- "error": "",
25702
- "timestamp": "CURRENT_TIMESTAMP"
25703
- }
25704
- },
25705
- "TransactionInformation": {
25706
- "required": [
25707
- "id",
25708
- "id_transaction",
25709
- "key"
25710
- ],
25711
- "type": "object",
25712
- "properties": {
25713
- "id": {
25714
- "type": "integer",
25715
- "description": "ID of this transaction information"
25716
- },
25717
- "id_transaction": {
25718
- "type": "integer",
25719
- "description": "ID of the related transaction"
25858
+ "description": "Name to display in singular"
25720
25859
  },
25721
- "key": {
25860
+ "color": {
25722
25861
  "type": "string",
25723
- "description": "Key of the transaction information"
25862
+ "description": "Color of the account type (hexdecimal)"
25724
25863
  },
25725
- "value": {
25726
- "type": "string",
25727
- "description": "Value of the transaction information"
25864
+ "id_parent": {
25865
+ "type": "integer",
25866
+ "description": "Id of the parent type"
25728
25867
  }
25729
25868
  },
25730
25869
  "example": {
25731
25870
  "id": 0,
25732
- "id_transaction": 0,
25733
- "key": "",
25734
- "value": ""
25871
+ "name": "",
25872
+ "is_invest": false,
25873
+ "weboob_type_id": 0,
25874
+ "display_name_p": "",
25875
+ "display_name": "",
25876
+ "color": "",
25877
+ "id_parent": 0
25735
25878
  }
25736
25879
  },
25737
- "InvestmentValue": {
25880
+ "Project": {
25738
25881
  "required": [
25739
25882
  "id",
25740
- "id_investment",
25741
- "vdate",
25742
- "unitvalue"
25883
+ "id_user",
25884
+ "id_type",
25885
+ "name",
25886
+ "target",
25887
+ "saved",
25888
+ "monthly_savings",
25889
+ "comment",
25890
+ "active"
25743
25891
  ],
25744
25892
  "type": "object",
25745
25893
  "properties": {
25746
25894
  "id": {
25747
- "type": "integer",
25748
- "description": "ID of the value"
25895
+ "type": "integer"
25749
25896
  },
25750
- "id_investment": {
25751
- "type": "integer",
25752
- "description": "ID of the related investment"
25897
+ "id_user": {
25898
+ "type": "integer"
25753
25899
  },
25754
- "vdate": {
25755
- "type": "string",
25756
- "description": "Date of this value",
25757
- "format": "date"
25900
+ "id_type": {
25901
+ "type": "integer"
25758
25902
  },
25759
- "unitvalue": {
25903
+ "name": {
25904
+ "type": "string"
25905
+ },
25906
+ "target": {
25760
25907
  "type": "number",
25761
- "description": "Value on this date",
25762
25908
  "format": "float"
25763
25909
  },
25764
- "original_currency": {
25765
- "type": "object",
25766
- "description": "Original currency"
25910
+ "saved": {
25911
+ "default": 0,
25912
+ "type": "number",
25913
+ "format": "float"
25767
25914
  },
25768
- "original_unitvalue": {
25915
+ "monthly_savings": {
25769
25916
  "type": "number",
25770
- "description": "Value on this date, in the original currency",
25771
25917
  "format": "float"
25918
+ },
25919
+ "comment": {
25920
+ "default": "",
25921
+ "type": "string"
25922
+ },
25923
+ "active": {
25924
+ "default": true,
25925
+ "type": "boolean"
25772
25926
  }
25773
25927
  },
25774
25928
  "example": {
25775
25929
  "id": 0,
25776
- "id_investment": 0,
25777
- "vdate": "2019-12-27",
25778
- "unitvalue": 0,
25779
- "original_currency": "",
25780
- "original_unitvalue": 0
25930
+ "id_user": 0,
25931
+ "id_type": 0,
25932
+ "name": "",
25933
+ "target": 0,
25934
+ "saved": 0,
25935
+ "monthly_savings": 0,
25936
+ "comment": "",
25937
+ "active": true
25781
25938
  }
25782
25939
  },
25783
- "RecipientLog": {
25940
+ "Device": {
25784
25941
  "required": [
25785
25942
  "id",
25786
- "timestamp"
25943
+ "id_token",
25944
+ "type",
25945
+ "notification_token",
25946
+ "last_update",
25947
+ "version",
25948
+ "debug"
25787
25949
  ],
25788
25950
  "type": "object",
25789
- "properties": {
25790
- "id": {
25791
- "type": "integer",
25792
- "description": "ID of the transfer log entry"
25793
- },
25794
- "id_recipient": {
25795
- "type": "integer",
25796
- "description": "ID of the related recipient"
25797
- },
25798
- "id_file": {
25799
- "type": "integer",
25800
- "description": "ID of the related file"
25951
+ "properties": {
25952
+ "id": {
25953
+ "type": "integer"
25801
25954
  },
25802
- "request_data": {
25803
- "type": "string",
25804
- "description": "Data stored related to user who has requested the recipient addition"
25955
+ "id_token": {
25956
+ "type": "integer"
25805
25957
  },
25806
- "step": {
25807
- "type": "string",
25808
- "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
25958
+ "type": {
25959
+ "type": "string"
25809
25960
  },
25810
- "error": {
25811
- "type": "string",
25812
- "description": "Error message during recipient addition, if any"
25961
+ "notification_token": {
25962
+ "type": "string"
25813
25963
  },
25814
- "timestamp": {
25964
+ "last_update": {
25815
25965
  "default": "CURRENT_TIMESTAMP",
25816
25966
  "type": "string",
25817
- "description": "Timestamp of the log",
25818
25967
  "format": "date-time"
25819
25968
  },
25820
- "fields": {
25821
- "type": "string",
25822
- "description": "Fields for recipient in additionalInformationNeeded state with background option"
25969
+ "version": {
25970
+ "type": "string"
25971
+ },
25972
+ "debug": {
25973
+ "default": false,
25974
+ "type": "boolean"
25823
25975
  }
25824
25976
  },
25825
25977
  "example": {
25826
25978
  "id": 0,
25827
- "id_recipient": 0,
25828
- "id_file": 0,
25829
- "request_data": "",
25830
- "step": "",
25831
- "error": "",
25832
- "timestamp": "CURRENT_TIMESTAMP"
25979
+ "id_token": 0,
25980
+ "type": "",
25981
+ "notification_token": "",
25982
+ "last_update": "CURRENT_TIMESTAMP",
25983
+ "version": "",
25984
+ "debug": false
25833
25985
  }
25834
25986
  },
25835
- "SubscriptionLog": {
25987
+ "Group": {
25836
25988
  "required": [
25837
- "id",
25838
- "id_subscription",
25839
- "timestamp"
25989
+ "id"
25840
25990
  ],
25841
25991
  "type": "object",
25842
25992
  "properties": {
25843
25993
  "id": {
25844
- "type": "integer",
25845
- "description": "ID of the log"
25994
+ "type": "integer"
25846
25995
  },
25847
- "id_subscription": {
25848
- "type": "integer",
25849
- "description": "ID of the related subscription"
25996
+ "id_parent_group": {
25997
+ "type": "integer"
25850
25998
  },
25851
- "timestamp": {
25852
- "default": "CURRENT_TIMESTAMP",
25853
- "type": "string",
25854
- "description": "Timestamp of log",
25855
- "format": "date-time"
25999
+ "id_logo": {
26000
+ "type": "integer"
25856
26001
  },
25857
- "nb_docs": {
25858
- "type": "integer",
25859
- "description": "Number of docs on the subscription"
26002
+ "name": {
26003
+ "type": "string"
25860
26004
  },
25861
- "id_connection_log": {
25862
- "type": "integer",
25863
- "description": "ID of the related connection log"
26005
+ "url": {
26006
+ "type": "string"
25864
26007
  },
25865
- "error": {
25866
- "type": "string",
25867
- "description": "If fail, contains the error code"
26008
+ "color": {
26009
+ "type": "string"
25868
26010
  },
25869
- "error_message": {
25870
- "type": "string",
25871
- "description": "If fail, error message received from provider"
26011
+ "email": {
26012
+ "type": "string"
25872
26013
  },
25873
- "id_source": {
25874
- "type": "integer",
25875
- "description": "ID of the related connection source"
26014
+ "conf": {
26015
+ "type": "string"
25876
26016
  }
25877
26017
  },
25878
26018
  "example": {
25879
26019
  "id": 0,
25880
- "id_subscription": 0,
25881
- "timestamp": "CURRENT_TIMESTAMP",
25882
- "nb_docs": 0,
25883
- "id_connection_log": 0,
25884
- "error": "",
25885
- "error_message": "",
25886
- "id_source": 0
26020
+ "id_parent_group": 0,
26021
+ "id_logo": 0,
26022
+ "name": "",
26023
+ "url": "",
26024
+ "color": "",
26025
+ "email": "",
26026
+ "conf": ""
25887
26027
  }
25888
26028
  },
25889
- "ConnectionSource": {
26029
+ "Alert": {
25890
26030
  "required": [
25891
26031
  "id",
25892
- "id_connection",
25893
- "id_connector_source",
25894
- "name",
25895
- "created"
26032
+ "id_user",
26033
+ "timestamp",
26034
+ "type",
26035
+ "value"
25896
26036
  ],
25897
26037
  "type": "object",
25898
26038
  "properties": {
25899
26039
  "id": {
25900
- "type": "integer",
25901
- "description": "ID of connection"
25902
- },
25903
- "id_connection": {
25904
- "type": "integer",
25905
- "description": "ID of the related connection"
26040
+ "type": "integer"
25906
26041
  },
25907
- "id_connector_source": {
26042
+ "id_user": {
25908
26043
  "type": "integer",
25909
- "description": "ID of the related connector source"
25910
- },
25911
- "name": {
25912
- "type": "string",
25913
- "description": "Name of the connection source"
25914
- },
25915
- "last_update": {
25916
- "type": "string",
25917
- "description": "Last successful update",
25918
- "format": "date-time"
26044
+ "description": "ID of the related user"
25919
26045
  },
25920
- "disabled": {
26046
+ "timestamp": {
26047
+ "default": "CURRENT_TIMESTAMP",
25921
26048
  "type": "string",
25922
- "description": "This source is not used to synchronize the connection",
26049
+ "description": "Date of the alerts emission",
25923
26050
  "format": "date-time"
25924
26051
  },
25925
- "created": {
25926
- "default": "<function <lambda> at 0x7f8894cfe7d0>",
26052
+ "type": {
25927
26053
  "type": "string",
25928
- "description": "Creation date of the connection source",
25929
- "format": "date-time"
26054
+ "description": "Type of the alert"
25930
26055
  },
25931
- "state": {
25932
- "type": "string",
25933
- "description": "If the last update has failed, the state code"
26056
+ "id_transaction": {
26057
+ "type": "integer",
26058
+ "description": "ID of the related transaction"
25934
26059
  },
25935
- "access_expire": {
25936
- "type": "string",
25937
- "description": "Expiration date of the access",
25938
- "format": "date-time"
26060
+ "id_account": {
26061
+ "type": "integer",
26062
+ "description": "ID of the related account"
25939
26063
  },
25940
- "expire": {
25941
- "type": "string",
25942
- "description": "Expiration of the connection source. Used to purge the connection in case completion was not finished",
25943
- "format": "date-time"
26064
+ "value": {
26065
+ "type": "number",
26066
+ "description": "Amount related to the alert",
26067
+ "format": "float"
25944
26068
  },
25945
- "next_try": {
25946
- "type": "string",
25947
- "description": "Date of next synchronization",
25948
- "format": "date-time"
26069
+ "id_investment": {
26070
+ "type": "integer",
26071
+ "description": "ID of the related investment"
25949
26072
  }
25950
26073
  },
25951
26074
  "example": {
25952
26075
  "id": 0,
25953
- "id_connection": 0,
25954
- "id_connector_source": 0,
25955
- "name": "",
25956
- "last_update": "2019-12-27 16:17:55.317583",
25957
- "disabled": "2019-12-27 16:17:55.317658",
25958
- "created": "<function <lambda> at 0x7f8894cfe7d0>",
25959
- "state": "",
25960
- "access_expire": "2019-12-27 16:17:55.317849",
25961
- "expire": "2019-12-27 16:17:55.317911",
25962
- "next_try": "2019-12-27 16:17:55.318118"
26076
+ "id_user": 0,
26077
+ "timestamp": "CURRENT_TIMESTAMP",
26078
+ "type": "",
26079
+ "id_transaction": 0,
26080
+ "id_account": 0,
26081
+ "value": 0,
26082
+ "id_investment": 0
25963
26083
  }
25964
26084
  },
25965
- "AccountLog": {
26085
+ "ProjectType": {
25966
26086
  "required": [
25967
26087
  "id",
25968
- "id_account",
25969
- "balance",
25970
- "timestamp"
26088
+ "name"
25971
26089
  ],
25972
26090
  "type": "object",
25973
26091
  "properties": {
25974
26092
  "id": {
25975
- "type": "integer",
25976
- "description": "ID of the log"
25977
- },
25978
- "id_account": {
25979
- "type": "integer",
25980
- "description": "ID of the related account"
25981
- },
25982
- "id_connector": {
25983
- "type": "integer",
25984
- "description": "provider id"
25985
- },
25986
- "balance": {
25987
- "type": "number",
25988
- "description": "Balanced recorded",
25989
- "format": "float"
25990
- },
25991
- "coming": {
25992
- "default": 0,
25993
- "type": "number",
25994
- "description": "Coming debit recorded",
25995
- "format": "float"
25996
- },
25997
- "timestamp": {
25998
- "default": "CURRENT_TIMESTAMP",
25999
- "type": "string",
26000
- "description": "Timestamp of log",
26001
- "format": "date-time"
26002
- },
26003
- "error": {
26004
- "type": "string",
26005
- "description": "If fail, contains the error code"
26093
+ "type": "integer"
26006
26094
  },
26007
- "error_message": {
26008
- "type": "string",
26009
- "description": "If fail, error message received from bank or provider"
26095
+ "name": {
26096
+ "type": "string"
26010
26097
  },
26011
- "id_connection_log": {
26012
- "type": "integer",
26013
- "description": "ID of the related connection log"
26098
+ "icon_url": {
26099
+ "type": "string"
26014
26100
  }
26015
26101
  },
26016
26102
  "example": {
26017
26103
  "id": 0,
26018
- "id_account": 0,
26019
- "id_connector": 0,
26020
- "balance": 0,
26021
- "coming": 0,
26022
- "timestamp": "CURRENT_TIMESTAMP",
26023
- "error": "",
26024
- "error_message": "",
26025
- "id_connection_log": 0
26104
+ "name": "",
26105
+ "icon_url": ""
26026
26106
  }
26027
26107
  },
26028
26108
  "Currency": {
@@ -26074,7 +26154,7 @@
26074
26154
  "crypto": false,
26075
26155
  "precision": 2,
26076
26156
  "marketcap": 0,
26077
- "datetime": "2019-12-27 16:17:55.397255"
26157
+ "datetime": "2020-03-26 17:25:37.501642"
26078
26158
  }
26079
26159
  },
26080
26160
  "ConnectorCategory": {
@@ -26164,24 +26244,29 @@
26164
26244
  "timestamp": "CURRENT_TIMESTAMP"
26165
26245
  }
26166
26246
  },
26167
- "OidcWhitelist": {
26247
+ "DocumentType": {
26168
26248
  "required": [
26169
26249
  "id",
26170
- "redirect_uri"
26250
+ "name",
26251
+ "attacheable"
26171
26252
  ],
26172
26253
  "type": "object",
26173
26254
  "properties": {
26174
26255
  "id": {
26175
26256
  "type": "integer"
26176
26257
  },
26177
- "redirect_uri": {
26178
- "type": "string",
26179
- "description": "authorized redirect uri"
26258
+ "name": {
26259
+ "type": "string"
26260
+ },
26261
+ "attacheable": {
26262
+ "default": true,
26263
+ "type": "boolean"
26180
26264
  }
26181
26265
  },
26182
26266
  "example": {
26183
26267
  "id": 0,
26184
- "redirect_uri": ""
26268
+ "name": "",
26269
+ "attacheable": true
26185
26270
  }
26186
26271
  }
26187
26272
  },