budgea_client 1.4.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +67 -725
  4. data/budgea_client.gemspec +15 -3
  5. data/budgea_openapi.json +2011 -524
  6. data/docs/Account.md +3 -1
  7. data/docs/AccountLog.md +2 -2
  8. data/docs/AdministrationApi.md +354 -34
  9. data/docs/AuthenticationApi.md +264 -18
  10. data/docs/BankCategory.md +1 -1
  11. data/docs/BanksApi.md +939 -550
  12. data/docs/Certificate.md +12 -0
  13. data/docs/Client.md +5 -2
  14. data/docs/Connection.md +1 -1
  15. data/docs/ConnectionLog.md +3 -2
  16. data/docs/ConnectionsApi.md +162 -103
  17. data/docs/Connector.md +21 -0
  18. data/docs/ConnectorCategory.md +9 -0
  19. data/docs/ConnectorLogo.md +1 -1
  20. data/docs/Currency.md +4 -0
  21. data/docs/DocumentsApi.md +350 -350
  22. data/docs/Field.md +3 -2
  23. data/docs/InlineResponse20010.md +1 -1
  24. data/docs/InlineResponse20011.md +1 -1
  25. data/docs/InlineResponse20012.md +1 -1
  26. data/docs/InlineResponse20013.md +1 -1
  27. data/docs/InlineResponse20014.md +1 -1
  28. data/docs/InlineResponse20015.md +1 -1
  29. data/docs/InlineResponse20016.md +1 -1
  30. data/docs/InlineResponse20017.md +1 -1
  31. data/docs/InlineResponse20018.md +1 -1
  32. data/docs/InlineResponse20019.md +1 -1
  33. data/docs/InlineResponse20020.md +1 -1
  34. data/docs/InlineResponse20021.md +1 -1
  35. data/docs/InlineResponse20022.md +1 -1
  36. data/docs/InlineResponse20023.md +1 -1
  37. data/docs/InlineResponse20024.md +1 -1
  38. data/docs/InlineResponse20025.md +1 -1
  39. data/docs/InlineResponse20026.md +1 -1
  40. data/docs/InlineResponse20027.md +1 -1
  41. data/docs/InlineResponse20028.md +1 -1
  42. data/docs/InlineResponse20029.md +1 -1
  43. data/docs/InlineResponse2003.md +2 -3
  44. data/docs/InlineResponse20030.md +1 -1
  45. data/docs/InlineResponse20031.md +1 -1
  46. data/docs/InlineResponse20032.md +1 -1
  47. data/docs/InlineResponse20033.md +1 -1
  48. data/docs/InlineResponse20034.md +8 -0
  49. data/docs/InlineResponse20035.md +8 -0
  50. data/docs/InlineResponse20036.md +8 -0
  51. data/docs/InlineResponse2004.md +0 -2
  52. data/docs/InlineResponse2005.md +5 -2
  53. data/docs/InlineResponse2006.md +2 -3
  54. data/docs/InlineResponse2007.md +3 -1
  55. data/docs/InlineResponse2008.md +1 -1
  56. data/docs/InlineResponse2009.md +1 -1
  57. data/docs/OCRApi.md +5 -5
  58. data/docs/OIDCApi.md +5 -5
  59. data/docs/PFMApi.md +122 -122
  60. data/docs/Pocket.md +1 -1
  61. data/docs/Profile.md +1 -1
  62. data/docs/Project.md +1 -1
  63. data/docs/ProvidersApi.md +602 -604
  64. data/docs/Recipient.md +3 -0
  65. data/docs/RecipientLog.md +14 -0
  66. data/docs/RecipientsApi.md +28 -20
  67. data/docs/Subscription.md +2 -1
  68. data/docs/TermsApi.md +13 -15
  69. data/docs/Transaction.md +8 -3
  70. data/docs/Transfer.md +1 -0
  71. data/docs/TransferLog.md +14 -0
  72. data/docs/TransfersApi.md +165 -141
  73. data/docs/UserAlert.md +2 -2
  74. data/docs/UsersManagementApi.md +24 -24
  75. data/docs/WealthApi.md +54 -54
  76. data/docs/WebhookLog.md +15 -0
  77. data/lib/budgea_client.rb +27 -3
  78. data/lib/budgea_client/api/administration_api.rb +425 -106
  79. data/lib/budgea_client/api/authentication_api.rb +287 -46
  80. data/lib/budgea_client/api/banks_api.rb +1271 -974
  81. data/lib/budgea_client/api/connections_api.rb +207 -156
  82. data/lib/budgea_client/api/documents_api.rb +627 -693
  83. data/lib/budgea_client/api/ocr_api.rb +24 -16
  84. data/lib/budgea_client/api/oidc_api.rb +23 -16
  85. data/lib/budgea_client/api/pfm_api.rb +219 -248
  86. data/lib/budgea_client/api/providers_api.rb +998 -1099
  87. data/lib/budgea_client/api/recipients_api.rb +52 -34
  88. data/lib/budgea_client/api/terms_api.rb +34 -31
  89. data/lib/budgea_client/api/transfers_api.rb +245 -239
  90. data/lib/budgea_client/api/users_management_api.rb +56 -58
  91. data/lib/budgea_client/api/wealth_api.rb +81 -85
  92. data/lib/budgea_client/api_client.rb +20 -11
  93. data/lib/budgea_client/api_error.rb +11 -1
  94. data/lib/budgea_client/configuration.rb +12 -2
  95. data/lib/budgea_client/models/access.rb +18 -13
  96. data/lib/budgea_client/models/account.rb +44 -23
  97. data/lib/budgea_client/models/account_log.rb +33 -28
  98. data/lib/budgea_client/models/account_type.rb +22 -17
  99. data/lib/budgea_client/models/alert.rb +21 -16
  100. data/lib/budgea_client/models/bank.rb +21 -16
  101. data/lib/budgea_client/models/bank_category.rb +19 -14
  102. data/lib/budgea_client/models/category.rb +22 -17
  103. data/lib/budgea_client/models/certificate.rb +244 -0
  104. data/lib/budgea_client/models/client.rb +53 -20
  105. data/lib/budgea_client/models/connection.rb +29 -24
  106. data/lib/budgea_client/models/connection_log.rb +39 -24
  107. data/lib/budgea_client/models/connector.rb +345 -0
  108. data/lib/budgea_client/models/connector_category.rb +206 -0
  109. data/lib/budgea_client/models/connector_logo.rb +29 -24
  110. data/lib/budgea_client/models/currency.rb +63 -16
  111. data/lib/budgea_client/models/device.rb +23 -18
  112. data/lib/budgea_client/models/document.rb +21 -16
  113. data/lib/budgea_client/models/document_type.rb +19 -14
  114. data/lib/budgea_client/models/field.rb +44 -27
  115. data/lib/budgea_client/models/field_value.rb +18 -13
  116. data/lib/budgea_client/models/file.rb +20 -15
  117. data/lib/budgea_client/models/group.rb +17 -12
  118. data/lib/budgea_client/models/hash_table.rb +20 -15
  119. data/lib/budgea_client/models/inline_response_200.rb +17 -12
  120. data/lib/budgea_client/models/inline_response_200_1.rb +18 -13
  121. data/lib/budgea_client/models/inline_response_200_10.rb +27 -22
  122. data/lib/budgea_client/models/inline_response_200_11.rb +27 -22
  123. data/lib/budgea_client/models/inline_response_200_12.rb +27 -22
  124. data/lib/budgea_client/models/inline_response_200_13.rb +27 -22
  125. data/lib/budgea_client/models/inline_response_200_14.rb +27 -22
  126. data/lib/budgea_client/models/inline_response_200_15.rb +27 -22
  127. data/lib/budgea_client/models/inline_response_200_16.rb +27 -22
  128. data/lib/budgea_client/models/inline_response_200_17.rb +27 -22
  129. data/lib/budgea_client/models/inline_response_200_18.rb +27 -22
  130. data/lib/budgea_client/models/inline_response_200_19.rb +27 -22
  131. data/lib/budgea_client/models/inline_response_200_2.rb +18 -13
  132. data/lib/budgea_client/models/inline_response_200_20.rb +27 -22
  133. data/lib/budgea_client/models/inline_response_200_21.rb +27 -22
  134. data/lib/budgea_client/models/inline_response_200_22.rb +27 -22
  135. data/lib/budgea_client/models/inline_response_200_23.rb +27 -22
  136. data/lib/budgea_client/models/inline_response_200_24.rb +27 -22
  137. data/lib/budgea_client/models/inline_response_200_25.rb +27 -22
  138. data/lib/budgea_client/models/inline_response_200_26.rb +27 -22
  139. data/lib/budgea_client/models/inline_response_200_27.rb +27 -22
  140. data/lib/budgea_client/models/inline_response_200_28.rb +27 -22
  141. data/lib/budgea_client/models/inline_response_200_29.rb +27 -22
  142. data/lib/budgea_client/models/inline_response_200_3.rb +37 -47
  143. data/lib/budgea_client/models/inline_response_200_30.rb +27 -22
  144. data/lib/budgea_client/models/inline_response_200_31.rb +27 -22
  145. data/lib/budgea_client/models/inline_response_200_32.rb +27 -22
  146. data/lib/budgea_client/models/inline_response_200_33.rb +27 -22
  147. data/lib/budgea_client/models/inline_response_200_34.rb +190 -0
  148. data/lib/budgea_client/models/inline_response_200_35.rb +190 -0
  149. data/lib/budgea_client/models/inline_response_200_36.rb +190 -0
  150. data/lib/budgea_client/models/inline_response_200_4.rb +20 -40
  151. data/lib/budgea_client/models/inline_response_200_5.rb +75 -30
  152. data/lib/budgea_client/models/inline_response_200_6.rb +37 -47
  153. data/lib/budgea_client/models/inline_response_200_7.rb +55 -21
  154. data/lib/budgea_client/models/inline_response_200_8.rb +27 -22
  155. data/lib/budgea_client/models/inline_response_200_9.rb +27 -22
  156. data/lib/budgea_client/models/investment.rb +20 -15
  157. data/lib/budgea_client/models/investment_value.rb +20 -15
  158. data/lib/budgea_client/models/invite.rb +18 -13
  159. data/lib/budgea_client/models/locked_user.rb +18 -13
  160. data/lib/budgea_client/models/oidc_whitelist.rb +18 -13
  161. data/lib/budgea_client/models/pocket.rb +22 -17
  162. data/lib/budgea_client/models/profile.rb +26 -20
  163. data/lib/budgea_client/models/project.rb +26 -21
  164. data/lib/budgea_client/models/project_type.rb +18 -13
  165. data/lib/budgea_client/models/recipient.rb +52 -17
  166. data/lib/budgea_client/models/recipient_log.rb +254 -0
  167. data/lib/budgea_client/models/security.rb +18 -13
  168. data/lib/budgea_client/models/subscription.rb +31 -21
  169. data/lib/budgea_client/models/terms_of_service.rb +19 -14
  170. data/lib/budgea_client/models/transaction.rb +83 -33
  171. data/lib/budgea_client/models/transaction_information.rb +19 -14
  172. data/lib/budgea_client/models/transactions_cluster.rb +21 -16
  173. data/lib/budgea_client/models/transfer.rb +32 -16
  174. data/lib/budgea_client/models/transfer_log.rb +254 -0
  175. data/lib/budgea_client/models/user.rb +22 -16
  176. data/lib/budgea_client/models/user_alert.rb +22 -16
  177. data/lib/budgea_client/models/webhook.rb +19 -14
  178. data/lib/budgea_client/models/webhook_log.rb +264 -0
  179. data/lib/budgea_client/version.rb +12 -2
  180. data/original_budgea_openapi.json +23188 -0
  181. data/spec/models/certificate_spec.rb +65 -0
  182. data/spec/models/connector_category_spec.rb +47 -0
  183. data/spec/models/connector_spec.rb +119 -0
  184. data/spec/models/inline_response_200_34_spec.rb +41 -0
  185. data/spec/models/inline_response_200_35_spec.rb +41 -0
  186. data/spec/models/inline_response_200_36_spec.rb +41 -0
  187. data/spec/models/recipient_log_spec.rb +77 -0
  188. data/spec/models/transfer_log_spec.rb +77 -0
  189. data/spec/models/webhook_log_spec.rb +83 -0
  190. metadata +52 -18
  191. data/pkg/budgea_client-1.3.9.gem +0 -0
  192. data/pkg/budgea_client-1.4.2.gem +0 -0
  193. data/pkg/budgea_client-1.4.3.gem +0 -0
@@ -1,4 +1,16 @@
1
- # frozen_string_literal: true
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Budgea API Documentation
5
+
6
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7
+
8
+ OpenAPI spec version: 2.0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ Swagger Codegen version: 2.4.1
12
+
13
+ =end
2
14
 
3
15
  $:.push File.expand_path("../lib", __FILE__)
4
16
  require "budgea_client/version"
@@ -12,7 +24,7 @@ Gem::Specification.new do |s|
12
24
  s.homepage = "https://github.com/cashbee-team/budgea_client"
13
25
  s.summary = "Budgea API Documentation Ruby Gem"
14
26
  s.description = "Budgea API Documentation Ruby Gem"
15
- s.license = "Apache 2.0"
27
+ s.license = 'Apache 2.0'
16
28
  s.required_ruby_version = ">= 1.9"
17
29
 
18
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
@@ -26,7 +38,7 @@ Gem::Specification.new do |s|
26
38
  s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
27
39
  s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
28
40
 
29
- s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
41
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
30
42
  s.test_files = `find spec/*`.split("\n")
31
43
  s.executables = []
32
44
  s.require_paths = ["lib"]
data/budgea_openapi.json CHANGED
@@ -73,6 +73,53 @@
73
73
  "summary": "Get an account type"
74
74
  }
75
75
  },
76
+ "/admin/jwt": {
77
+ "post": {
78
+ "responses": {
79
+ "200": {
80
+ "schema": {
81
+ "required": [
82
+ "jwt_token",
83
+ "payload"
84
+ ],
85
+ "type": "object"
86
+ },
87
+ "description": "",
88
+ "examples": {
89
+ "jwt_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1Mzg1OTUwODYsInR5cGUiOiJtYW5hZ2VfdG9rZW4iLCJhdWQiOiJsb2NhbGhvc3Q6MzE1OCIsImV4cCI6MTUzODU5NTE0Niwic2NvcGUiOiJjb25maWcifQ.Z-ygtorGB3yitd2MNias9r3dPojPh4yxFKO5uVM0NhEty5UhnwkqSZA29JKZKmTc7mUSDc30THFIL-VkHBOu2gfxv3fjrZ9R35jo29H_TEYpxiOxxl0m5jLxDn4KEoWpDCiuwkoEdklVJCOMFGC_Sp3uZ89C82OZ_-7CDExnA99FPKbJpVVHaIQdlmOAATHG-KvRJKJu7j2wIUSpIZ3flIqav9dBtaHbjaI-K0WTSC-a13gdzHJKhHmReKWNL8cOMIziPrUx4zv57_DSLWSI2e2FJ_SKbiEAgHcfEmnwktPwTeAdJhgUq5UVH1EP71NkpTQQL4SzHi3tlKmsG3SCbg",
90
+ "payload": {
91
+ "iat": 1538595086,
92
+ "type": "manage_token",
93
+ "aud": "localhost:3158",
94
+ "exp": 1538595146,
95
+ "scope": "config"
96
+ }
97
+ }
98
+ }
99
+ },
100
+ "tags": [
101
+ "Authentication"
102
+ ],
103
+ "description": "This endpoint generates a new jwt manage token. It requires an admin manage token to be used<br><br>",
104
+ "parameters": [
105
+ {
106
+ "required": false,
107
+ "in": "formData",
108
+ "type": "string",
109
+ "name": "scope",
110
+ "description": "scope requested for the token (default: config)"
111
+ },
112
+ {
113
+ "required": false,
114
+ "in": "formData",
115
+ "type": "integer",
116
+ "name": "duration",
117
+ "description": "number of minute before the token expiration (0 for token that won't expire unless the client application is deleted) (default: 1)"
118
+ }
119
+ ],
120
+ "summary": "Generate a jwt manage token"
121
+ }
122
+ },
76
123
  "/auth/confirm": {
77
124
  "post": {
78
125
  "responses": {
@@ -123,7 +170,7 @@
123
170
  ],
124
171
  "summary": "Confirm email address",
125
172
  "consumes": [
126
- "multipart/form-data"
173
+ "application/x-www-form-urlencoded"
127
174
  ]
128
175
  }
129
176
  },
@@ -259,6 +306,86 @@
259
306
  ]
260
307
  }
261
308
  },
309
+ "/auth/jwt": {
310
+ "post": {
311
+ "responses": {
312
+ "200": {
313
+ "schema": {
314
+ "required": [
315
+ "jwt_token",
316
+ "payload"
317
+ ],
318
+ "type": "object",
319
+ "properties": {
320
+ "jwt_token": {
321
+ "type": "string",
322
+ "description": "the jwt token"
323
+ },
324
+ "payload": {
325
+ "type": "object",
326
+ "description": "the payload contained in the jwt token"
327
+ }
328
+ }
329
+ },
330
+ "description": "",
331
+ "examples": {
332
+ "jwt_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZF91c2VyIjozMywiYXVkIjoibG9jYWxob3N0OjMxNTgiLCJpc3MiOjE5ODM4OTgyLCJleHAiOjE1Mzg1OTY2OTcsInNjb3BlIjoiIiwiaWF0IjoxNTM4NTk0ODk3LCJ0eXBlIjoic2hhcmVkX2FjY2VzcyJ9.Tesc90tQ35Fk2SbRXw_Da1Ec-AwAzi104N-hrZWyBeXYkoao6512Ym8v_3207zm-bE1mRDjmQJQN0bbvImZlNGKA8JqoxbXF5l8eetXnv-U9yZXp9ScpUoNWxrRbtyyiwIGWDsRjCjOXcrVvzYd0oJ2RpUXR2NFyCCRjuMJFU87ojGj9eHo5e1B78vB1xZe3c3Yyx8bCvm0Qe2JjoSuhnXgMzAuLQm2KHha_9iHuQBC4zmmICOvNsQ5gBWAnf0W0IYHTZG1vioGNstX05nYiGSSlmzP6HgA5CmB2A57rBERFYB7V59wSQJzUyVOpCOuPCp7zPkRNfgFsZqqACg-DDg",
333
+ "payload": {
334
+ "id_user": 33,
335
+ "aud": "localhost:3158",
336
+ "iss": 19838982,
337
+ "exp": 1538596697,
338
+ "iat": 1538594897,
339
+ "scope": "",
340
+ "type": "shared_access"
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "tags": [
346
+ "Authentication"
347
+ ],
348
+ "description": "This endpoint generates a new jwt token for the user. This token will last the time in minutes given by the config key auth.default_token_expire (permanent if this the parameter expire=False is given)<br><br>",
349
+ "parameters": [
350
+ {
351
+ "required": false,
352
+ "in": "formData",
353
+ "type": "string",
354
+ "name": "client_id",
355
+ "description": "id of the client"
356
+ },
357
+ {
358
+ "required": false,
359
+ "in": "formData",
360
+ "type": "string",
361
+ "name": "client_secret",
362
+ "description": "secret for the client"
363
+ },
364
+ {
365
+ "required": false,
366
+ "in": "formData",
367
+ "type": "string",
368
+ "name": "scope",
369
+ "description": "scope requested for the token"
370
+ },
371
+ {
372
+ "required": false,
373
+ "in": "formData",
374
+ "type": "integer",
375
+ "name": "id_user",
376
+ "description": "user for whom the token has to be generated. If not supplied, a user will be created"
377
+ },
378
+ {
379
+ "required": false,
380
+ "in": "formData",
381
+ "type": "boolean",
382
+ "name": "expire",
383
+ "description": "if set to True, the token will expire n minutes after its creation, n being the value of configuration key auth.default_token_expire (default: True)"
384
+ }
385
+ ],
386
+ "summary": "Generate a user jwt token"
387
+ }
388
+ },
262
389
  "/auth/register": {
263
390
  "post": {
264
391
  "responses": {
@@ -568,7 +695,7 @@
568
695
  "properties": {
569
696
  "banks": {
570
697
  "items": {
571
- "$ref": "#/definitions/Bank"
698
+ "$ref": "#/definitions/Connector"
572
699
  },
573
700
  "type": "array"
574
701
  }
@@ -597,9 +724,9 @@
597
724
  "post": {
598
725
  "responses": {
599
726
  "200": {
600
- "description": "Successful POST on BankCategory resource",
727
+ "description": "Successful POST on ConnectorCategory resource",
601
728
  "schema": {
602
- "$ref": "#/definitions/BankCategory"
729
+ "$ref": "#/definitions/ConnectorCategory"
603
730
  }
604
731
  }
605
732
  },
@@ -629,9 +756,9 @@
629
756
  "post": {
630
757
  "responses": {
631
758
  "200": {
632
- "description": "Successful POST on BankCategory resource",
759
+ "description": "Successful POST on ConnectorCategory resource",
633
760
  "schema": {
634
- "$ref": "#/definitions/BankCategory"
761
+ "$ref": "#/definitions/ConnectorCategory"
635
762
  }
636
763
  }
637
764
  },
@@ -666,9 +793,9 @@
666
793
  "delete": {
667
794
  "responses": {
668
795
  "200": {
669
- "description": "Successful DELETE on BankCategory resource",
796
+ "description": "Successful DELETE on ConnectorCategory resource",
670
797
  "schema": {
671
- "$ref": "#/definitions/BankCategory"
798
+ "$ref": "#/definitions/ConnectorCategory"
672
799
  }
673
800
  }
674
801
  },
@@ -694,7 +821,7 @@
694
821
  "summary": "Delete the supplied category"
695
822
  }
696
823
  },
697
- "/banks/{id_bank}/connections": {
824
+ "/banks/{id_connector}/connections": {
698
825
  "get": {
699
826
  "responses": {
700
827
  "200": {
@@ -725,7 +852,7 @@
725
852
  "required": true,
726
853
  "in": "path",
727
854
  "type": "integer",
728
- "name": "id_bank",
855
+ "name": "id_connector",
729
856
  "description": ""
730
857
  },
731
858
  {
@@ -752,7 +879,7 @@
752
879
  "summary": "Get a subset of id_connection with the largest diversity of account"
753
880
  }
754
881
  },
755
- "/banks/{id_bank}/logos": {
882
+ "/banks/{id_connector}/logos": {
756
883
  "get": {
757
884
  "responses": {
758
885
  "200": {
@@ -777,13 +904,13 @@
777
904
  "Banks",
778
905
  "Providers"
779
906
  ],
780
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
907
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
781
908
  "parameters": [
782
909
  {
783
910
  "required": true,
784
911
  "in": "path",
785
912
  "type": "integer",
786
- "name": "id_bank",
913
+ "name": "id_connector",
787
914
  "description": ""
788
915
  },
789
916
  {
@@ -793,10 +920,10 @@
793
920
  "in": "query"
794
921
  }
795
922
  ],
796
- "summary": "Get all links to the files associated with this bank."
923
+ "summary": "Get all links to the files associated with this connector."
797
924
  }
798
925
  },
799
- "/banks/{id_bank}/logos/main": {
926
+ "/banks/{id_connector}/logos/main": {
800
927
  "get": {
801
928
  "responses": {
802
929
  "200": {
@@ -821,13 +948,13 @@
821
948
  "Banks",
822
949
  "Providers"
823
950
  ],
824
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
951
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
825
952
  "parameters": [
826
953
  {
827
954
  "required": true,
828
955
  "in": "path",
829
956
  "type": "integer",
830
- "name": "id_bank",
957
+ "name": "id_connector",
831
958
  "description": ""
832
959
  },
833
960
  {
@@ -837,10 +964,10 @@
837
964
  "in": "query"
838
965
  }
839
966
  ],
840
- "summary": "Get all links to the files associated with this bank."
967
+ "summary": "Get all links to the files associated with this connector."
841
968
  }
842
969
  },
843
- "/banks/{id_bank}/logos/thumbnail": {
970
+ "/banks/{id_connector}/logos/thumbnail": {
844
971
  "get": {
845
972
  "responses": {
846
973
  "200": {
@@ -865,13 +992,13 @@
865
992
  "Banks",
866
993
  "Providers"
867
994
  ],
868
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
995
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
869
996
  "parameters": [
870
997
  {
871
998
  "required": true,
872
999
  "in": "path",
873
1000
  "type": "integer",
874
- "name": "id_bank",
1001
+ "name": "id_connector",
875
1002
  "description": ""
876
1003
  },
877
1004
  {
@@ -881,7 +1008,7 @@
881
1008
  "in": "query"
882
1009
  }
883
1010
  ],
884
- "summary": "Get all links to the files associated with this bank."
1011
+ "summary": "Get all links to the files associated with this connector."
885
1012
  }
886
1013
  },
887
1014
  "/categories": {
@@ -972,7 +1099,7 @@
972
1099
  "in": "formData",
973
1100
  "type": "integer",
974
1101
  "name": "value",
975
- "description": "vallue of the transaction"
1102
+ "description": "value of the transaction"
976
1103
  },
977
1104
  {
978
1105
  "required": true,
@@ -985,6 +1112,38 @@
985
1112
  "summary": "categorize transactions without storing them"
986
1113
  }
987
1114
  },
1115
+ "/certificate/{type}": {
1116
+ "get": {
1117
+ "responses": {
1118
+ "200": {
1119
+ "description": "Successful GET on Certificate resource",
1120
+ "schema": {
1121
+ "$ref": "#/definitions/Certificate"
1122
+ }
1123
+ }
1124
+ },
1125
+ "tags": [
1126
+ "Authentication"
1127
+ ],
1128
+ "description": "",
1129
+ "parameters": [
1130
+ {
1131
+ "required": true,
1132
+ "in": "path",
1133
+ "type": "string",
1134
+ "name": "type",
1135
+ "description": ""
1136
+ },
1137
+ {
1138
+ "required": false,
1139
+ "type": "string",
1140
+ "name": "expand",
1141
+ "in": "query"
1142
+ }
1143
+ ],
1144
+ "summary": "Get the latest certificate of a type"
1145
+ }
1146
+ },
988
1147
  "/clients": {
989
1148
  "get": {
990
1149
  "responses": {
@@ -1034,6 +1193,34 @@
1034
1193
  ],
1035
1194
  "description": "",
1036
1195
  "parameters": [
1196
+ {
1197
+ "required": false,
1198
+ "in": "formData",
1199
+ "type": "boolean",
1200
+ "name": "generate_keys",
1201
+ "description": "if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)"
1202
+ },
1203
+ {
1204
+ "required": false,
1205
+ "in": "formData",
1206
+ "type": "string",
1207
+ "name": "name",
1208
+ "description": "name of client"
1209
+ },
1210
+ {
1211
+ "required": false,
1212
+ "in": "formData",
1213
+ "type": "string",
1214
+ "name": "redirect_uri",
1215
+ "description": "redirect_uri"
1216
+ },
1217
+ {
1218
+ "required": false,
1219
+ "in": "formData",
1220
+ "type": "string",
1221
+ "name": "information",
1222
+ "description": "custom information about the client"
1223
+ },
1037
1224
  {
1038
1225
  "required": false,
1039
1226
  "type": "string",
@@ -1057,7 +1244,7 @@
1057
1244
  "tags": [
1058
1245
  "Administration"
1059
1246
  ],
1060
- "description": "If you use the manage_token, you will get also the client_secret.<br><br>",
1247
+ "description": "If you use the manage_token or a configuration token, you will get also the client_secret<br><br>",
1061
1248
  "parameters": [
1062
1249
  {
1063
1250
  "required": true,
@@ -1096,6 +1283,13 @@
1096
1283
  "name": "id_client",
1097
1284
  "description": ""
1098
1285
  },
1286
+ {
1287
+ "required": false,
1288
+ "in": "formData",
1289
+ "type": "boolean",
1290
+ "name": "generate_keys",
1291
+ "description": "set a rsa key pair for the client, which make it possible to generate a jwt user token using this client. No effect if the client already has a set of keys(default: False)"
1292
+ },
1099
1293
  {
1100
1294
  "required": false,
1101
1295
  "in": "formData",
@@ -1159,6 +1353,20 @@
1159
1353
  "name": "pro",
1160
1354
  "description": "Wether the client should display the company manager page"
1161
1355
  },
1356
+ {
1357
+ "required": false,
1358
+ "in": "formData",
1359
+ "type": "string",
1360
+ "name": "information",
1361
+ "description": "custom information about the client"
1362
+ },
1363
+ {
1364
+ "required": false,
1365
+ "in": "formData",
1366
+ "type": "boolean",
1367
+ "name": "update_information",
1368
+ "description": "update the custom information about the client instead of replacing the existing one (default: True)"
1369
+ },
1162
1370
  {
1163
1371
  "required": false,
1164
1372
  "type": "string",
@@ -1288,20 +1496,20 @@
1288
1496
  "200": {
1289
1497
  "schema": {
1290
1498
  "required": [
1291
- "bank.connection.disable_new"
1499
+ "connection.disable_new"
1292
1500
  ],
1293
1501
  "type": "object"
1294
1502
  },
1295
1503
  "description": "",
1296
1504
  "examples": {
1297
- "bank.connection.disable_new": "0"
1505
+ "connection.disable_new": "0"
1298
1506
  }
1299
1507
  }
1300
1508
  },
1301
1509
  "tags": [
1302
1510
  "Administration"
1303
1511
  ],
1304
- "description": "Request: { \"bank.connection.disable_new\": \"0\", \"search\": \"bank.connection.disable_new\" }<br><br>",
1512
+ "description": "Request: { \"connection.disable_new\": \"0\", \"search\": \"connection.disable_new\" }<br><br>",
1305
1513
  "parameters": [
1306
1514
  {
1307
1515
  "required": false,
@@ -1365,7 +1573,7 @@
1365
1573
  "properties": {
1366
1574
  "connectors": {
1367
1575
  "items": {
1368
- "$ref": "#/definitions/Bank"
1576
+ "$ref": "#/definitions/Connector"
1369
1577
  },
1370
1578
  "type": "array"
1371
1579
  }
@@ -1393,9 +1601,9 @@
1393
1601
  "responses": {
1394
1602
  "200": {
1395
1603
  "schema": {
1396
- "$ref": "#/definitions/Bank"
1604
+ "$ref": "#/definitions/Connector"
1397
1605
  },
1398
- "description": "Successful POST on Bank resource",
1606
+ "description": "Successful POST on Connector resource",
1399
1607
  "examples": {}
1400
1608
  }
1401
1609
  },
@@ -1478,11 +1686,85 @@
1478
1686
  ],
1479
1687
  "summary": "Request a new connector",
1480
1688
  "consumes": [
1481
- "multipart/form-data"
1689
+ "application/x-www-form-urlencoded"
1482
1690
  ]
1483
1691
  }
1484
1692
  },
1485
- "/connectors/{id_bank}/logos": {
1693
+ "/connectors/{id_connector}": {
1694
+ "put": {
1695
+ "responses": {
1696
+ "200": {
1697
+ "schema": {
1698
+ "$ref": "#/definitions/Connector"
1699
+ },
1700
+ "description": "Successful PUT on Connector resource",
1701
+ "examples": {
1702
+ "sync_frequency": null,
1703
+ "code": "40618",
1704
+ "name": "Boursorama",
1705
+ "color": "f10389",
1706
+ "capabilities": [
1707
+ "profile",
1708
+ "banktransferaddrecipient",
1709
+ "contact",
1710
+ "bank",
1711
+ "banktransfer"
1712
+ ],
1713
+ "id": 4,
1714
+ "beta": true,
1715
+ "hidden": false,
1716
+ "slug": "BOU",
1717
+ "categories": [
1718
+ "virtual"
1719
+ ],
1720
+ "charged": true
1721
+ }
1722
+ }
1723
+ },
1724
+ "tags": [
1725
+ "Banks"
1726
+ ],
1727
+ "description": "<br><br>",
1728
+ "parameters": [
1729
+ {
1730
+ "required": true,
1731
+ "in": "path",
1732
+ "type": "integer",
1733
+ "name": "id_connector",
1734
+ "description": ""
1735
+ },
1736
+ {
1737
+ "required": false,
1738
+ "in": "formData",
1739
+ "type": "string",
1740
+ "name": "id_categories",
1741
+ "description": "one or several comma separated categories to map to the given connector (or null to map no category)"
1742
+ },
1743
+ {
1744
+ "required": false,
1745
+ "in": "formData",
1746
+ "type": "boolean",
1747
+ "name": "hidden",
1748
+ "description": "to enable or disable connector (bank or provider)"
1749
+ },
1750
+ {
1751
+ "required": false,
1752
+ "in": "formData",
1753
+ "type": "integer",
1754
+ "name": "sync_frequency",
1755
+ "description": "Allows you to overload global sync_frequency param"
1756
+ },
1757
+ {
1758
+ "required": false,
1759
+ "type": "string",
1760
+ "name": "expand",
1761
+ "in": "query"
1762
+ }
1763
+ ],
1764
+ "summary": "Edit the provided connector"
1765
+ }
1766
+ },
1767
+ "/connectors/{id_connector}/logos": {
1486
1768
  "get": {
1487
1769
  "responses": {
1488
1770
  "200": {
@@ -1507,13 +1789,13 @@
1507
1789
  "Banks",
1508
1790
  "Providers"
1509
1791
  ],
1510
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
1792
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
1511
1793
  "parameters": [
1512
1794
  {
1513
1795
  "required": true,
1514
1796
  "in": "path",
1515
1797
  "type": "integer",
1516
- "name": "id_bank",
1798
+ "name": "id_connector",
1517
1799
  "description": ""
1518
1800
  },
1519
1801
  {
@@ -1523,7 +1805,7 @@
1523
1805
  "in": "query"
1524
1806
  }
1525
1807
  ],
1526
- "summary": "Get all links to the files associated with this bank."
1808
+ "summary": "Get all links to the files associated with this connector."
1527
1809
  },
1528
1810
  "post": {
1529
1811
  "responses": {
@@ -1538,13 +1820,13 @@
1538
1820
  "Banks",
1539
1821
  "Providers"
1540
1822
  ],
1541
- "description": "This endpoint creates a bank logo. You can either pass a file to as a parameter to insert and link it with the bank or pass an id_file to link a bank with an existing file. Will fail if the file is already linked with that bank.<br><br>Form params: - id_file (integer): The id of the file to link with that bank. - img (string): Path to the image to link with that bank.<br><br>",
1823
+ "description": "This endpoint creates a connector logo. You can either pass a file to as a parameter to insert and link it with the connector or pass an id_file to link a connector with an existing file. Will fail if the file is already linked with that connector.<br><br>Form params: - id_file (integer): The id of the file to link with that connector. - img (string): Path to the image to link with that connector.<br><br>",
1542
1824
  "parameters": [
1543
1825
  {
1544
1826
  "required": true,
1545
1827
  "in": "path",
1546
1828
  "type": "integer",
1547
- "name": "id_bank",
1829
+ "name": "id_connector",
1548
1830
  "description": ""
1549
1831
  },
1550
1832
  {
@@ -1554,7 +1836,7 @@
1554
1836
  "in": "query"
1555
1837
  }
1556
1838
  ],
1557
- "summary": "Create a Bank Logo"
1839
+ "summary": "Create a connector Logo"
1558
1840
  },
1559
1841
  "put": {
1560
1842
  "responses": {
@@ -1569,13 +1851,13 @@
1569
1851
  "Banks",
1570
1852
  "Providers"
1571
1853
  ],
1572
- "description": "This endpoint creates or update a bank logo. This logo is a mapping between a file (/file route) and a bank (/banks route) or a provider (/providers route).<br><br>Form params: - id_file (integer): The id of the file to link with that bank.<br><br>",
1854
+ "description": "This endpoint creates or update a connector logo. This logo is a mapping between a file (/file route) and a connector (/connectors route) or a provider (/providers route).<br><br>Form params: - id_file (integer): The id of the file to link with that connector.<br><br>",
1573
1855
  "parameters": [
1574
1856
  {
1575
1857
  "required": true,
1576
1858
  "in": "path",
1577
1859
  "type": "integer",
1578
- "name": "id_bank",
1860
+ "name": "id_connector",
1579
1861
  "description": ""
1580
1862
  },
1581
1863
  {
@@ -1585,10 +1867,10 @@
1585
1867
  "in": "query"
1586
1868
  }
1587
1869
  ],
1588
- "summary": "Create or Update a Bank Logo"
1870
+ "summary": "Create or Update a connector Logo"
1589
1871
  }
1590
1872
  },
1591
- "/connectors/{id_bank}/logos/main": {
1873
+ "/connectors/{id_connector}/logos/main": {
1592
1874
  "get": {
1593
1875
  "responses": {
1594
1876
  "200": {
@@ -1613,13 +1895,13 @@
1613
1895
  "Banks",
1614
1896
  "Providers"
1615
1897
  ],
1616
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
1898
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
1617
1899
  "parameters": [
1618
1900
  {
1619
1901
  "required": true,
1620
1902
  "in": "path",
1621
1903
  "type": "integer",
1622
- "name": "id_bank",
1904
+ "name": "id_connector",
1623
1905
  "description": ""
1624
1906
  },
1625
1907
  {
@@ -1629,10 +1911,10 @@
1629
1911
  "in": "query"
1630
1912
  }
1631
1913
  ],
1632
- "summary": "Get all links to the files associated with this bank."
1914
+ "summary": "Get all links to the files associated with this connector."
1633
1915
  }
1634
1916
  },
1635
- "/connectors/{id_bank}/logos/thumbnail": {
1917
+ "/connectors/{id_connector}/logos/thumbnail": {
1636
1918
  "get": {
1637
1919
  "responses": {
1638
1920
  "200": {
@@ -1657,13 +1939,13 @@
1657
1939
  "Banks",
1658
1940
  "Providers"
1659
1941
  ],
1660
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
1942
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
1661
1943
  "parameters": [
1662
1944
  {
1663
1945
  "required": true,
1664
1946
  "in": "path",
1665
1947
  "type": "integer",
1666
- "name": "id_bank",
1948
+ "name": "id_connector",
1667
1949
  "description": ""
1668
1950
  },
1669
1951
  {
@@ -1673,10 +1955,10 @@
1673
1955
  "in": "query"
1674
1956
  }
1675
1957
  ],
1676
- "summary": "Get all links to the files associated with this bank."
1958
+ "summary": "Get all links to the files associated with this connector."
1677
1959
  }
1678
1960
  },
1679
- "/connectors/{id_bank}/logos/{id_logo}": {
1961
+ "/connectors/{id_connector}/logos/{id_logo}": {
1680
1962
  "put": {
1681
1963
  "responses": {
1682
1964
  "200": {
@@ -1690,13 +1972,13 @@
1690
1972
  "Banks",
1691
1973
  "Providers"
1692
1974
  ],
1693
- "description": "This endpoint creates or update a bank logo. This logo is a mapping between a file (/file route) and a bank (/banks route) or a provider (/providers route).<br><br>Form params: - id_file (integer): The id of the file to link with that bank.<br><br>",
1975
+ "description": "This endpoint creates or update a connector logo. This logo is a mapping between a file (/file route) and a connector (/connectors route) or a provider (/providers route).<br><br>Form params: - id_file (integer): The id of the file to link with that connector.<br><br>",
1694
1976
  "parameters": [
1695
1977
  {
1696
1978
  "required": true,
1697
1979
  "in": "path",
1698
1980
  "type": "integer",
1699
- "name": "id_bank",
1981
+ "name": "id_connector",
1700
1982
  "description": ""
1701
1983
  },
1702
1984
  {
@@ -1713,7 +1995,7 @@
1713
1995
  "in": "query"
1714
1996
  }
1715
1997
  ],
1716
- "summary": "Create or Update a Bank Logo."
1998
+ "summary": "Create or Update a connector Logo."
1717
1999
  },
1718
2000
  "delete": {
1719
2001
  "responses": {
@@ -1734,7 +2016,7 @@
1734
2016
  "required": true,
1735
2017
  "in": "path",
1736
2018
  "type": "integer",
1737
- "name": "id_bank",
2019
+ "name": "id_connector",
1738
2020
  "description": ""
1739
2021
  },
1740
2022
  {
@@ -1754,85 +2036,11 @@
1754
2036
  "summary": "Delete a single Logo object."
1755
2037
  }
1756
2038
  },
1757
- "/connectors/{id_connector}": {
1758
- "put": {
2039
+ "/documenttypes": {
2040
+ "get": {
1759
2041
  "responses": {
1760
2042
  "200": {
1761
- "schema": {
1762
- "$ref": "#/definitions/Bank"
1763
- },
1764
- "description": "Successful PUT on Bank resource",
1765
- "examples": {
1766
- "sync_frequency": null,
1767
- "code": "40618",
1768
- "name": "Boursorama",
1769
- "color": "f10389",
1770
- "capabilities": [
1771
- "profile",
1772
- "banktransferaddrecipient",
1773
- "contact",
1774
- "bank",
1775
- "banktransfer"
1776
- ],
1777
- "id": 4,
1778
- "beta": true,
1779
- "hidden": false,
1780
- "slug": "BOU",
1781
- "categories": [
1782
- "virtual"
1783
- ],
1784
- "charged": true
1785
- }
1786
- }
1787
- },
1788
- "tags": [
1789
- "Banks"
1790
- ],
1791
- "description": "<br><br>",
1792
- "parameters": [
1793
- {
1794
- "required": true,
1795
- "in": "path",
1796
- "type": "integer",
1797
- "name": "id_connector",
1798
- "description": ""
1799
- },
1800
- {
1801
- "required": false,
1802
- "in": "formData",
1803
- "type": "string",
1804
- "name": "id_categories",
1805
- "description": "one or several comma separated categories to map to the given bank (or null to map no category)"
1806
- },
1807
- {
1808
- "required": false,
1809
- "in": "formData",
1810
- "type": "boolean",
1811
- "name": "hidden",
1812
- "description": "to enable or disable connector (bank or provider)"
1813
- },
1814
- {
1815
- "required": false,
1816
- "in": "formData",
1817
- "type": "integer",
1818
- "name": "sync_frequency",
1819
- "description": "Allows you to overload global sync_frequency param"
1820
- },
1821
- {
1822
- "required": false,
1823
- "type": "string",
1824
- "name": "expand",
1825
- "in": "query"
1826
- }
1827
- ],
1828
- "summary": "Edit the provided bank"
1829
- }
1830
- },
1831
- "/documenttypes": {
1832
- "get": {
1833
- "responses": {
1834
- "200": {
1835
- "description": "documenttypes",
2043
+ "description": "documenttypes",
1836
2044
  "schema": {
1837
2045
  "required": [
1838
2046
  "documenttypes"
@@ -2161,15 +2369,15 @@
2161
2369
  "required": false,
2162
2370
  "in": "query",
2163
2371
  "type": "integer",
2164
- "name": "id_bank",
2165
- "description": "ID of a bank"
2372
+ "name": "id_connector",
2373
+ "description": "ID of a connector"
2166
2374
  },
2167
2375
  {
2168
2376
  "required": false,
2169
2377
  "in": "query",
2170
2378
  "type": "boolean",
2171
2379
  "name": "charged",
2172
- "description": "consider only logs for charged banks"
2380
+ "description": "consider only logs for charged connectors"
2173
2381
  },
2174
2382
  {
2175
2383
  "required": false,
@@ -2181,6 +2389,148 @@
2181
2389
  "summary": "Get connection logs"
2182
2390
  }
2183
2391
  },
2392
+ "/merchants": {
2393
+ "get": {
2394
+ "responses": {
2395
+ "200": {
2396
+ "description": "clients",
2397
+ "schema": {
2398
+ "required": [
2399
+ "clients"
2400
+ ],
2401
+ "type": "object",
2402
+ "properties": {
2403
+ "clients": {
2404
+ "items": {
2405
+ "$ref": "#/definitions/Client"
2406
+ },
2407
+ "type": "array"
2408
+ }
2409
+ }
2410
+ }
2411
+ }
2412
+ },
2413
+ "tags": [
2414
+ "Administration"
2415
+ ],
2416
+ "description": "",
2417
+ "parameters": [
2418
+ {
2419
+ "required": false,
2420
+ "type": "string",
2421
+ "name": "expand",
2422
+ "in": "query"
2423
+ }
2424
+ ],
2425
+ "summary": "List clients"
2426
+ },
2427
+ "post": {
2428
+ "responses": {
2429
+ "200": {
2430
+ "description": "Successful POST on Client resource",
2431
+ "schema": {
2432
+ "$ref": "#/definitions/Client"
2433
+ }
2434
+ }
2435
+ },
2436
+ "tags": [
2437
+ "Administration"
2438
+ ],
2439
+ "description": "",
2440
+ "parameters": [
2441
+ {
2442
+ "required": true,
2443
+ "in": "formData",
2444
+ "type": "string",
2445
+ "name": "name",
2446
+ "description": "name of merchant"
2447
+ },
2448
+ {
2449
+ "required": true,
2450
+ "in": "formData",
2451
+ "type": "string",
2452
+ "name": "redirect_uri",
2453
+ "description": "regexp to check if given redirect_uri are authorized"
2454
+ },
2455
+ {
2456
+ "required": true,
2457
+ "in": "formData",
2458
+ "type": "string",
2459
+ "name": "iban",
2460
+ "description": "payments initiated by this merchant will be done to this IBAN"
2461
+ },
2462
+ {
2463
+ "required": false,
2464
+ "type": "string",
2465
+ "name": "expand",
2466
+ "in": "query"
2467
+ }
2468
+ ],
2469
+ "summary": "Create a merchant. Needs a user identified in bearer to be used"
2470
+ }
2471
+ },
2472
+ "/merchants/{id_client}/logo": {
2473
+ "post": {
2474
+ "responses": {
2475
+ "200": {
2476
+ "description": "Successful POST on File resource",
2477
+ "schema": {
2478
+ "$ref": "#/definitions/File"
2479
+ }
2480
+ }
2481
+ },
2482
+ "tags": [
2483
+ "Administration"
2484
+ ],
2485
+ "description": "",
2486
+ "parameters": [
2487
+ {
2488
+ "required": true,
2489
+ "in": "path",
2490
+ "type": "integer",
2491
+ "name": "id_client",
2492
+ "description": ""
2493
+ },
2494
+ {
2495
+ "required": false,
2496
+ "type": "string",
2497
+ "name": "expand",
2498
+ "in": "query"
2499
+ }
2500
+ ],
2501
+ "summary": "Update the client logo"
2502
+ },
2503
+ "delete": {
2504
+ "responses": {
2505
+ "200": {
2506
+ "description": "Successful DELETE on File resource",
2507
+ "schema": {
2508
+ "$ref": "#/definitions/File"
2509
+ }
2510
+ }
2511
+ },
2512
+ "tags": [
2513
+ "Administration"
2514
+ ],
2515
+ "description": "",
2516
+ "parameters": [
2517
+ {
2518
+ "required": true,
2519
+ "in": "path",
2520
+ "type": "integer",
2521
+ "name": "id_client",
2522
+ "description": ""
2523
+ },
2524
+ {
2525
+ "required": false,
2526
+ "type": "string",
2527
+ "name": "expand",
2528
+ "in": "query"
2529
+ }
2530
+ ],
2531
+ "summary": "Delete the client logo"
2532
+ }
2533
+ },
2184
2534
  "/monitoring": {
2185
2535
  "get": {
2186
2536
  "responses": {
@@ -2351,16 +2701,16 @@
2351
2701
  "get": {
2352
2702
  "responses": {
2353
2703
  "200": {
2354
- "description": "banks",
2704
+ "description": "providers",
2355
2705
  "schema": {
2356
2706
  "required": [
2357
- "banks"
2707
+ "providers"
2358
2708
  ],
2359
2709
  "type": "object",
2360
2710
  "properties": {
2361
- "banks": {
2711
+ "providers": {
2362
2712
  "items": {
2363
- "$ref": "#/definitions/Bank"
2713
+ "$ref": "#/definitions/Connector"
2364
2714
  },
2365
2715
  "type": "array"
2366
2716
  }
@@ -2385,7 +2735,58 @@
2385
2735
  "summary": "Get list of connectors"
2386
2736
  }
2387
2737
  },
2388
- "/providers/{id_bank}/logos": {
2738
+ "/providers/{id_connector}/connections": {
2739
+ "get": {
2740
+ "responses": {
2741
+ "200": {
2742
+ "description": "connections",
2743
+ "schema": {
2744
+ "required": [
2745
+ "connections"
2746
+ ],
2747
+ "type": "object",
2748
+ "properties": {
2749
+ "connections": {
2750
+ "items": {
2751
+ "$ref": "#/definitions/Connection"
2752
+ },
2753
+ "type": "array"
2754
+ }
2755
+ }
2756
+ }
2757
+ }
2758
+ },
2759
+ "tags": [
2760
+ "Banks",
2761
+ "Connections"
2762
+ ],
2763
+ "description": "By default, it selects a set of 3 connections.<br><br>",
2764
+ "parameters": [
2765
+ {
2766
+ "required": true,
2767
+ "in": "path",
2768
+ "type": "integer",
2769
+ "name": "id_connector",
2770
+ "description": ""
2771
+ },
2772
+ {
2773
+ "required": false,
2774
+ "in": "query",
2775
+ "type": "integer",
2776
+ "name": "range",
2777
+ "description": "the length of the connection subset"
2778
+ },
2779
+ {
2780
+ "required": false,
2781
+ "type": "string",
2782
+ "name": "expand",
2783
+ "in": "query"
2784
+ }
2785
+ ],
2786
+ "summary": "Get a random subset of provider's id_connection"
2787
+ }
2788
+ },
2789
+ "/providers/{id_connector}/logos": {
2389
2790
  "get": {
2390
2791
  "responses": {
2391
2792
  "200": {
@@ -2410,13 +2811,13 @@
2410
2811
  "Banks",
2411
2812
  "Providers"
2412
2813
  ],
2413
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
2814
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
2414
2815
  "parameters": [
2415
2816
  {
2416
2817
  "required": true,
2417
2818
  "in": "path",
2418
2819
  "type": "integer",
2419
- "name": "id_bank",
2820
+ "name": "id_connector",
2420
2821
  "description": ""
2421
2822
  },
2422
2823
  {
@@ -2426,10 +2827,10 @@
2426
2827
  "in": "query"
2427
2828
  }
2428
2829
  ],
2429
- "summary": "Get all links to the files associated with this bank."
2830
+ "summary": "Get all links to the files associated with this connector."
2430
2831
  }
2431
2832
  },
2432
- "/providers/{id_bank}/logos/main": {
2833
+ "/providers/{id_connector}/logos/main": {
2433
2834
  "get": {
2434
2835
  "responses": {
2435
2836
  "200": {
@@ -2454,13 +2855,13 @@
2454
2855
  "Banks",
2455
2856
  "Providers"
2456
2857
  ],
2457
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
2858
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
2458
2859
  "parameters": [
2459
2860
  {
2460
2861
  "required": true,
2461
2862
  "in": "path",
2462
2863
  "type": "integer",
2463
- "name": "id_bank",
2864
+ "name": "id_connector",
2464
2865
  "description": ""
2465
2866
  },
2466
2867
  {
@@ -2470,10 +2871,10 @@
2470
2871
  "in": "query"
2471
2872
  }
2472
2873
  ],
2473
- "summary": "Get all links to the files associated with this bank."
2874
+ "summary": "Get all links to the files associated with this connector."
2474
2875
  }
2475
2876
  },
2476
- "/providers/{id_bank}/logos/thumbnail": {
2877
+ "/providers/{id_connector}/logos/thumbnail": {
2477
2878
  "get": {
2478
2879
  "responses": {
2479
2880
  "200": {
@@ -2498,13 +2899,13 @@
2498
2899
  "Banks",
2499
2900
  "Providers"
2500
2901
  ],
2501
- "description": "This endpoint returns all links to files associated with this bank.<br><br>",
2902
+ "description": "This endpoint returns all links to files associated with this connector.<br><br>",
2502
2903
  "parameters": [
2503
2904
  {
2504
2905
  "required": true,
2505
2906
  "in": "path",
2506
2907
  "type": "integer",
2507
- "name": "id_bank",
2908
+ "name": "id_connector",
2508
2909
  "description": ""
2509
2910
  },
2510
2911
  {
@@ -2514,7 +2915,7 @@
2514
2915
  "in": "query"
2515
2916
  }
2516
2917
  ],
2517
- "summary": "Get all links to the files associated with this bank."
2918
+ "summary": "Get all links to the files associated with this connector."
2518
2919
  }
2519
2920
  },
2520
2921
  "/terms": {
@@ -2864,7 +3265,7 @@
2864
3265
  "tags": [
2865
3266
  "Banks"
2866
3267
  ],
2867
- "description": "This endpoint creates an account not related to a connection.<br><br>",
3268
+ "description": "This endpoint creates an account related to a connection or not.<br><br>",
2868
3269
  "parameters": [
2869
3270
  {
2870
3271
  "required": true,
@@ -2911,13 +3312,50 @@
2911
3312
  },
2912
3313
  {
2913
3314
  "required": false,
2914
- "type": "string",
3315
+ "in": "formData",
3316
+ "type": "integer",
3317
+ "name": "id_connection",
3318
+ "description": "the connection to attach to the account"
3319
+ },
3320
+ {
3321
+ "required": false,
3322
+ "type": "string",
2915
3323
  "name": "expand",
2916
3324
  "in": "query"
2917
3325
  }
2918
3326
  ],
2919
3327
  "summary": "Create an account"
2920
3328
  },
3329
+ "put": {
3330
+ "responses": {
3331
+ "200": {
3332
+ "description": "Successful PUT on Account resource",
3333
+ "schema": {
3334
+ "$ref": "#/definitions/Account"
3335
+ }
3336
+ }
3337
+ },
3338
+ "tags": [
3339
+ "Banks"
3340
+ ],
3341
+ "description": "",
3342
+ "parameters": [
3343
+ {
3344
+ "required": true,
3345
+ "in": "path",
3346
+ "type": "string",
3347
+ "name": "id_user",
3348
+ "description": "Hint: you can use 'me' or 'all'"
3349
+ },
3350
+ {
3351
+ "required": false,
3352
+ "type": "string",
3353
+ "name": "expand",
3354
+ "in": "query"
3355
+ }
3356
+ ],
3357
+ "summary": "Update many accounts at once"
3358
+ },
2921
3359
  "delete": {
2922
3360
  "responses": {
2923
3361
  "200": {
@@ -3021,6 +3459,13 @@
3021
3459
  "name": "bookmarked",
3022
3460
  "description": "If the account is bookmarked"
3023
3461
  },
3462
+ {
3463
+ "required": false,
3464
+ "in": "formData",
3465
+ "type": "string",
3466
+ "name": "usage",
3467
+ "description": "Usage of the account : PRIV, ORGA or ASSO"
3468
+ },
3024
3469
  {
3025
3470
  "required": false,
3026
3471
  "type": "string",
@@ -3042,7 +3487,7 @@
3042
3487
  "tags": [
3043
3488
  "Banks"
3044
3489
  ],
3045
- "description": "It deletes a specific account. If this is the last synced account of a connection, it will be removed too.<br><br>",
3490
+ "description": "It deletes a specific account.<br><br>",
3046
3491
  "parameters": [
3047
3492
  {
3048
3493
  "required": true,
@@ -3780,7 +4225,7 @@
3780
4225
  "in": "query"
3781
4226
  }
3782
4227
  ],
3783
- "summary": "Returns the list of recipients"
4228
+ "summary": "Returns the list of recipients."
3784
4229
  },
3785
4230
  "post": {
3786
4231
  "responses": {
@@ -3794,7 +4239,7 @@
3794
4239
  "tags": [
3795
4240
  "Recipients"
3796
4241
  ],
3797
- "description": "",
4242
+ "description": "if config key transfer.recipient.iban_white_list.enabled is set to 1, recipients whose IBAN are not from countries codes contained in transfer.recipient.iban_white_list.entries will be deleted<br><br>",
3798
4243
  "parameters": [
3799
4244
  {
3800
4245
  "required": true,
@@ -3810,6 +4255,13 @@
3810
4255
  "name": "id_account",
3811
4256
  "description": ""
3812
4257
  },
4258
+ {
4259
+ "required": false,
4260
+ "in": "query",
4261
+ "type": "boolean",
4262
+ "name": "background",
4263
+ "description": "if true, do synchronization in background"
4264
+ },
3813
4265
  {
3814
4266
  "required": false,
3815
4267
  "in": "formData",
@@ -3870,6 +4322,13 @@
3870
4322
  "name": "id_recipient",
3871
4323
  "description": ""
3872
4324
  },
4325
+ {
4326
+ "required": false,
4327
+ "in": "query",
4328
+ "type": "boolean",
4329
+ "name": "background",
4330
+ "description": "if true, do synchronization in background"
4331
+ },
3873
4332
  {
3874
4333
  "required": false,
3875
4334
  "type": "string",
@@ -4061,6 +4520,13 @@
4061
4520
  "name": "validated",
4062
4521
  "description": "set it to initialize transfer on the bank website."
4063
4522
  },
4523
+ {
4524
+ "required": false,
4525
+ "in": "formData",
4526
+ "type": "integer",
4527
+ "name": "id_recipient",
4528
+ "description": "set the recipient of the transfer"
4529
+ },
4064
4530
  {
4065
4531
  "required": false,
4066
4532
  "type": "string",
@@ -4589,7 +5055,7 @@
4589
5055
  "required": false,
4590
5056
  "in": "query",
4591
5057
  "type": "number",
4592
- "description": "maximumd (inclusive) amount"
5058
+ "description": "maximum (inclusive) amount"
4593
5059
  },
4594
5060
  {
4595
5061
  "name": "min_timestamp",
@@ -4605,7 +5071,7 @@
4605
5071
  "required": false,
4606
5072
  "in": "query",
4607
5073
  "type": "number",
4608
- "description": "maximumd (inclusive) timestamp"
5074
+ "description": "maximum (inclusive) timestamp"
4609
5075
  },
4610
5076
  {
4611
5077
  "required": false,
@@ -5477,7 +5943,7 @@
5477
5943
  "required": false,
5478
5944
  "in": "query",
5479
5945
  "type": "number",
5480
- "description": "maximumd (inclusive) amount"
5946
+ "description": "maximum (inclusive) amount"
5481
5947
  },
5482
5948
  {
5483
5949
  "name": "min_timestamp",
@@ -5493,7 +5959,7 @@
5493
5959
  "required": false,
5494
5960
  "in": "query",
5495
5961
  "type": "number",
5496
- "description": "maximumd (inclusive) timestamp"
5962
+ "description": "maximum (inclusive) timestamp"
5497
5963
  },
5498
5964
  {
5499
5965
  "required": false,
@@ -6187,6 +6653,13 @@
6187
6653
  "name": "validated",
6188
6654
  "description": "set it to initialize transfer on the bank website."
6189
6655
  },
6656
+ {
6657
+ "required": false,
6658
+ "in": "formData",
6659
+ "type": "integer",
6660
+ "name": "id_recipient",
6661
+ "description": "set the recipient of the transfer"
6662
+ },
6190
6663
  {
6191
6664
  "required": false,
6192
6665
  "type": "string",
@@ -6505,6 +6978,175 @@
6505
6978
  }
6506
6979
  ],
6507
6980
  "summary": "Get the category"
6981
+ },
6982
+ "post": {
6983
+ "responses": {
6984
+ "200": {
6985
+ "description": "Successful POST on Category resource",
6986
+ "schema": {
6987
+ "$ref": "#/definitions/Category"
6988
+ }
6989
+ }
6990
+ },
6991
+ "tags": [
6992
+ "Banks"
6993
+ ],
6994
+ "description": "",
6995
+ "parameters": [
6996
+ {
6997
+ "required": true,
6998
+ "in": "path",
6999
+ "type": "string",
7000
+ "name": "id_user",
7001
+ "description": "Hint: you can use 'me' or 'all'"
7002
+ },
7003
+ {
7004
+ "required": false,
7005
+ "in": "formData",
7006
+ "type": "string",
7007
+ "name": "name",
7008
+ "description": "Name of the category."
7009
+ },
7010
+ {
7011
+ "required": false,
7012
+ "in": "formData",
7013
+ "type": "integer",
7014
+ "name": "id_parent_category",
7015
+ "description": "ID of the parent category."
7016
+ },
7017
+ {
7018
+ "required": false,
7019
+ "in": "formData",
7020
+ "type": "integer",
7021
+ "name": "id_parent_category_in_menu",
7022
+ "description": "ID of the parent category to be displayed."
7023
+ },
7024
+ {
7025
+ "required": false,
7026
+ "in": "formData",
7027
+ "type": "string",
7028
+ "name": "color",
7029
+ "description": "Color of the category."
7030
+ },
7031
+ {
7032
+ "required": false,
7033
+ "in": "formData",
7034
+ "type": "boolean",
7035
+ "name": "income",
7036
+ "description": "Is an income category. If null, this is both an income and an expense category."
7037
+ },
7038
+ {
7039
+ "required": false,
7040
+ "in": "formData",
7041
+ "type": "boolean",
7042
+ "name": "refundable",
7043
+ "description": "This category accepts opposite sign of transactions."
7044
+ },
7045
+ {
7046
+ "required": false,
7047
+ "in": "formData",
7048
+ "type": "string",
7049
+ "name": "accountant_account",
7050
+ "description": "Accountant account number."
7051
+ },
7052
+ {
7053
+ "required": false,
7054
+ "type": "string",
7055
+ "name": "expand",
7056
+ "in": "query"
7057
+ }
7058
+ ],
7059
+ "summary": "Create a new transaction category"
7060
+ }
7061
+ },
7062
+ "/users/{id_user}/categories/full/{id_full}": {
7063
+ "put": {
7064
+ "responses": {
7065
+ "200": {
7066
+ "description": "Successful PUT on Category resource",
7067
+ "schema": {
7068
+ "$ref": "#/definitions/Category"
7069
+ }
7070
+ }
7071
+ },
7072
+ "tags": [
7073
+ "Banks"
7074
+ ],
7075
+ "description": "",
7076
+ "parameters": [
7077
+ {
7078
+ "required": true,
7079
+ "in": "path",
7080
+ "type": "string",
7081
+ "name": "id_user",
7082
+ "description": "Hint: you can use 'me' or 'all'"
7083
+ },
7084
+ {
7085
+ "required": true,
7086
+ "in": "path",
7087
+ "type": "integer",
7088
+ "name": "id_full",
7089
+ "description": ""
7090
+ },
7091
+ {
7092
+ "required": false,
7093
+ "in": "formData",
7094
+ "type": "string",
7095
+ "name": "hide",
7096
+ "description": "Hide (but not delete) a category. Must be 0, 1 or toggle."
7097
+ },
7098
+ {
7099
+ "required": false,
7100
+ "in": "formData",
7101
+ "type": "string",
7102
+ "name": "accountant_account",
7103
+ "description": "Accountant account number."
7104
+ },
7105
+ {
7106
+ "required": false,
7107
+ "type": "string",
7108
+ "name": "expand",
7109
+ "in": "query"
7110
+ }
7111
+ ],
7112
+ "summary": "Modify a user-created category"
7113
+ },
7114
+ "delete": {
7115
+ "responses": {
7116
+ "200": {
7117
+ "description": "Successful DELETE on Category resource",
7118
+ "schema": {
7119
+ "$ref": "#/definitions/Category"
7120
+ }
7121
+ }
7122
+ },
7123
+ "tags": [
7124
+ "Banks"
7125
+ ],
7126
+ "description": "",
7127
+ "parameters": [
7128
+ {
7129
+ "required": true,
7130
+ "in": "path",
7131
+ "type": "string",
7132
+ "name": "id_user",
7133
+ "description": "Hint: you can use 'me' or 'all'"
7134
+ },
7135
+ {
7136
+ "required": true,
7137
+ "in": "path",
7138
+ "type": "integer",
7139
+ "name": "id_full",
7140
+ "description": ""
7141
+ },
7142
+ {
7143
+ "required": false,
7144
+ "type": "string",
7145
+ "name": "expand",
7146
+ "in": "query"
7147
+ }
7148
+ ],
7149
+ "summary": "Delete a user-created transaction category"
6508
7150
  }
6509
7151
  },
6510
7152
  "/users/{id_user}/config": {
@@ -6652,8 +7294,8 @@
6652
7294
  "required": false,
6653
7295
  "in": "formData",
6654
7296
  "type": "integer",
6655
- "name": "id_bank",
6656
- "description": "ID of the bank"
7297
+ "name": "id_connector",
7298
+ "description": "ID of the connector"
6657
7299
  },
6658
7300
  {
6659
7301
  "required": false,
@@ -6725,13 +7367,6 @@
6725
7367
  "name": "website",
6726
7368
  "description": "bank additional login parameter"
6727
7369
  },
6728
- {
6729
- "required": false,
6730
- "in": "formData",
6731
- "type": "string",
6732
- "name": "password",
6733
- "description": "bank additional login parameter"
6734
- },
6735
7370
  {
6736
7371
  "required": false,
6737
7372
  "in": "formData",
@@ -6755,7 +7390,7 @@
6755
7390
  ],
6756
7391
  "summary": "Add a new connection.",
6757
7392
  "consumes": [
6758
- "multipart/form-data"
7393
+ "application/x-www-form-urlencoded"
6759
7394
  ]
6760
7395
  },
6761
7396
  "delete": {
@@ -6860,7 +7495,7 @@
6860
7495
  ],
6861
7496
  "summary": "Update a connection.",
6862
7497
  "consumes": [
6863
- "multipart/form-data"
7498
+ "application/x-www-form-urlencoded"
6864
7499
  ]
6865
7500
  },
6866
7501
  "put": {
@@ -7003,7 +7638,7 @@
7003
7638
  "tags": [
7004
7639
  "Banks"
7005
7640
  ],
7006
- "description": "This endpoint creates an account not related to a connection.<br><br>",
7641
+ "description": "This endpoint creates an account related to a connection or not.<br><br>",
7007
7642
  "parameters": [
7008
7643
  {
7009
7644
  "required": true,
@@ -7055,6 +7690,13 @@
7055
7690
  "name": "id_currency",
7056
7691
  "description": "the currency of the account (default: 'EUR')"
7057
7692
  },
7693
+ {
7694
+ "required": false,
7695
+ "in": "formData",
7696
+ "type": "integer",
7697
+ "name": "id_connection",
7698
+ "description": "the connection to attach to the account"
7699
+ },
7058
7700
  {
7059
7701
  "required": false,
7060
7702
  "type": "string",
@@ -7064,13 +7706,13 @@
7064
7706
  ],
7065
7707
  "summary": "Create an account",
7066
7708
  "consumes": [
7067
- "multipart/form-data"
7709
+ "application/x-www-form-urlencoded"
7068
7710
  ]
7069
7711
  },
7070
- "delete": {
7712
+ "put": {
7071
7713
  "responses": {
7072
7714
  "200": {
7073
- "description": "Successful DELETE on Account resource",
7715
+ "description": "Successful PUT on Account resource",
7074
7716
  "schema": {
7075
7717
  "$ref": "#/definitions/Account"
7076
7718
  }
@@ -7102,14 +7744,12 @@
7102
7744
  "in": "query"
7103
7745
  }
7104
7746
  ],
7105
- "summary": "Delete all accounts"
7106
- }
7107
- },
7108
- "/users/{id_user}/connections/{id_connection}/accounts/{id_account}": {
7109
- "put": {
7747
+ "summary": "Update many accounts at once"
7748
+ },
7749
+ "delete": {
7110
7750
  "responses": {
7111
7751
  "200": {
7112
- "description": "Successful PUT on Account resource",
7752
+ "description": "Successful DELETE on Account resource",
7113
7753
  "schema": {
7114
7754
  "$ref": "#/definitions/Account"
7115
7755
  }
@@ -7118,7 +7758,7 @@
7118
7758
  "tags": [
7119
7759
  "Banks"
7120
7760
  ],
7121
- "description": "It updates a specific account<br><br>",
7761
+ "description": "",
7122
7762
  "parameters": [
7123
7763
  {
7124
7764
  "required": true,
@@ -7134,25 +7774,64 @@
7134
7774
  "name": "id_connection",
7135
7775
  "description": ""
7136
7776
  },
7137
- {
7138
- "required": true,
7139
- "in": "path",
7140
- "type": "integer",
7141
- "name": "id_account",
7142
- "description": ""
7143
- },
7144
- {
7145
- "required": false,
7146
- "in": "formData",
7147
- "type": "boolean",
7148
- "name": "display",
7149
- "description": "If the account is displayed"
7150
- },
7151
7777
  {
7152
7778
  "required": false,
7153
- "in": "formData",
7154
7779
  "type": "string",
7155
- "name": "name",
7780
+ "name": "expand",
7781
+ "in": "query"
7782
+ }
7783
+ ],
7784
+ "summary": "Delete all accounts"
7785
+ }
7786
+ },
7787
+ "/users/{id_user}/connections/{id_connection}/accounts/{id_account}": {
7788
+ "put": {
7789
+ "responses": {
7790
+ "200": {
7791
+ "description": "Successful PUT on Account resource",
7792
+ "schema": {
7793
+ "$ref": "#/definitions/Account"
7794
+ }
7795
+ }
7796
+ },
7797
+ "tags": [
7798
+ "Banks"
7799
+ ],
7800
+ "description": "It updates a specific account<br><br>",
7801
+ "parameters": [
7802
+ {
7803
+ "required": true,
7804
+ "in": "path",
7805
+ "type": "string",
7806
+ "name": "id_user",
7807
+ "description": "Hint: you can use 'me' or 'all'"
7808
+ },
7809
+ {
7810
+ "required": true,
7811
+ "in": "path",
7812
+ "type": "integer",
7813
+ "name": "id_connection",
7814
+ "description": ""
7815
+ },
7816
+ {
7817
+ "required": true,
7818
+ "in": "path",
7819
+ "type": "integer",
7820
+ "name": "id_account",
7821
+ "description": ""
7822
+ },
7823
+ {
7824
+ "required": false,
7825
+ "in": "formData",
7826
+ "type": "boolean",
7827
+ "name": "display",
7828
+ "description": "If the account is displayed"
7829
+ },
7830
+ {
7831
+ "required": false,
7832
+ "in": "formData",
7833
+ "type": "string",
7834
+ "name": "name",
7156
7835
  "description": "Label of the account"
7157
7836
  },
7158
7837
  {
@@ -7184,6 +7863,13 @@
7184
7863
  "name": "bookmarked",
7185
7864
  "description": "If the account is bookmarked"
7186
7865
  },
7866
+ {
7867
+ "required": false,
7868
+ "in": "formData",
7869
+ "type": "string",
7870
+ "name": "usage",
7871
+ "description": "Usage of the account : PRIV, ORGA or ASSO"
7872
+ },
7187
7873
  {
7188
7874
  "required": false,
7189
7875
  "type": "string",
@@ -7205,7 +7891,7 @@
7205
7891
  "tags": [
7206
7892
  "Banks"
7207
7893
  ],
7208
- "description": "It deletes a specific account. If this is the last synced account of a connection, it will be removed too.<br><br>",
7894
+ "description": "It deletes a specific account.<br><br>",
7209
7895
  "parameters": [
7210
7896
  {
7211
7897
  "required": true,
@@ -7837,7 +8523,7 @@
7837
8523
  ],
7838
8524
  "summary": "Create an alert on transactions or investemens of a given user",
7839
8525
  "consumes": [
7840
- "multipart/form-data"
8526
+ "application/x-www-form-urlencoded"
7841
8527
  ]
7842
8528
  }
7843
8529
  },
@@ -7928,7 +8614,7 @@
7928
8614
  ],
7929
8615
  "summary": "Edit an alert on transactions or investments",
7930
8616
  "consumes": [
7931
- "multipart/form-data"
8617
+ "application/x-www-form-urlencoded"
7932
8618
  ]
7933
8619
  },
7934
8620
  "delete": {
@@ -8040,7 +8726,7 @@
8040
8726
  "in": "query"
8041
8727
  }
8042
8728
  ],
8043
- "summary": "Returns the list of recipients"
8729
+ "summary": "Returns the list of recipients."
8044
8730
  },
8045
8731
  "post": {
8046
8732
  "responses": {
@@ -8054,7 +8740,7 @@
8054
8740
  "tags": [
8055
8741
  "Recipients"
8056
8742
  ],
8057
- "description": "",
8743
+ "description": "if config key transfer.recipient.iban_white_list.enabled is set to 1, recipients whose IBAN are not from countries codes contained in transfer.recipient.iban_white_list.entries will be deleted<br><br>",
8058
8744
  "parameters": [
8059
8745
  {
8060
8746
  "required": true,
@@ -8077,6 +8763,13 @@
8077
8763
  "name": "id_account",
8078
8764
  "description": ""
8079
8765
  },
8766
+ {
8767
+ "required": false,
8768
+ "in": "query",
8769
+ "type": "boolean",
8770
+ "name": "background",
8771
+ "description": "if true, do synchronization in background"
8772
+ },
8080
8773
  {
8081
8774
  "required": false,
8082
8775
  "in": "formData",
@@ -8144,6 +8837,13 @@
8144
8837
  "name": "id_recipient",
8145
8838
  "description": ""
8146
8839
  },
8840
+ {
8841
+ "required": false,
8842
+ "in": "query",
8843
+ "type": "boolean",
8844
+ "name": "background",
8845
+ "description": "if true, do synchronization in background"
8846
+ },
8147
8847
  {
8148
8848
  "required": false,
8149
8849
  "type": "string",
@@ -8356,6 +9056,13 @@
8356
9056
  "name": "validated",
8357
9057
  "description": "set it to initialize transfer on the bank website."
8358
9058
  },
9059
+ {
9060
+ "required": false,
9061
+ "in": "formData",
9062
+ "type": "integer",
9063
+ "name": "id_recipient",
9064
+ "description": "set the recipient of the transfer"
9065
+ },
8359
9066
  {
8360
9067
  "required": false,
8361
9068
  "type": "string",
@@ -8926,7 +9633,7 @@
8926
9633
  "required": false,
8927
9634
  "in": "query",
8928
9635
  "type": "number",
8929
- "description": "maximumd (inclusive) amount"
9636
+ "description": "maximum (inclusive) amount"
8930
9637
  },
8931
9638
  {
8932
9639
  "name": "min_timestamp",
@@ -8942,7 +9649,7 @@
8942
9649
  "required": false,
8943
9650
  "in": "query",
8944
9651
  "type": "number",
8945
- "description": "maximumd (inclusive) timestamp"
9652
+ "description": "maximum (inclusive) timestamp"
8946
9653
  },
8947
9654
  {
8948
9655
  "required": false,
@@ -9905,7 +10612,7 @@
9905
10612
  "required": false,
9906
10613
  "in": "query",
9907
10614
  "type": "number",
9908
- "description": "maximumd (inclusive) amount"
10615
+ "description": "maximum (inclusive) amount"
9909
10616
  },
9910
10617
  {
9911
10618
  "name": "min_timestamp",
@@ -9921,7 +10628,7 @@
9921
10628
  "required": false,
9922
10629
  "in": "query",
9923
10630
  "type": "number",
9924
- "description": "maximumd (inclusive) timestamp"
10631
+ "description": "maximum (inclusive) timestamp"
9925
10632
  },
9926
10633
  {
9927
10634
  "required": false,
@@ -10142,7 +10849,7 @@
10142
10849
  ],
10143
10850
  "summary": "Attach an existing document to a transaction or a transactions_cluster",
10144
10851
  "consumes": [
10145
- "multipart/form-data"
10852
+ "application/x-www-form-urlencoded"
10146
10853
  ]
10147
10854
  },
10148
10855
  "delete": {
@@ -10688,6 +11395,13 @@
10688
11395
  "name": "validated",
10689
11396
  "description": "set it to initialize transfer on the bank website."
10690
11397
  },
11398
+ {
11399
+ "required": false,
11400
+ "in": "formData",
11401
+ "type": "integer",
11402
+ "name": "id_recipient",
11403
+ "description": "set the recipient of the transfer"
11404
+ },
10691
11405
  {
10692
11406
  "required": false,
10693
11407
  "type": "string",
@@ -10887,7 +11601,7 @@
10887
11601
  "required": false,
10888
11602
  "in": "query",
10889
11603
  "type": "number",
10890
- "description": "maximumd (inclusive) amount"
11604
+ "description": "maximum (inclusive) amount"
10891
11605
  },
10892
11606
  {
10893
11607
  "name": "min_timestamp",
@@ -10903,7 +11617,7 @@
10903
11617
  "required": false,
10904
11618
  "in": "query",
10905
11619
  "type": "number",
10906
- "description": "maximumd (inclusive) timestamp"
11620
+ "description": "maximum (inclusive) timestamp"
10907
11621
  },
10908
11622
  {
10909
11623
  "required": false,
@@ -11659,15 +12373,15 @@
11659
12373
  "required": false,
11660
12374
  "in": "query",
11661
12375
  "type": "integer",
11662
- "name": "id_bank",
11663
- "description": "ID of a bank"
12376
+ "name": "id_connector",
12377
+ "description": "ID of a connector"
11664
12378
  },
11665
12379
  {
11666
12380
  "required": false,
11667
12381
  "in": "query",
11668
12382
  "type": "boolean",
11669
12383
  "name": "charged",
11670
- "description": "consider only logs for charged banks"
12384
+ "description": "consider only logs for charged connectors"
11671
12385
  },
11672
12386
  {
11673
12387
  "required": false,
@@ -11726,7 +12440,7 @@
11726
12440
  "in": "query"
11727
12441
  }
11728
12442
  ],
11729
- "summary": "Returns the list of recipients"
12443
+ "summary": "Returns the list of recipients."
11730
12444
  },
11731
12445
  "post": {
11732
12446
  "responses": {
@@ -11740,7 +12454,7 @@
11740
12454
  "tags": [
11741
12455
  "Recipients"
11742
12456
  ],
11743
- "description": "",
12457
+ "description": "if config key transfer.recipient.iban_white_list.enabled is set to 1, recipients whose IBAN are not from countries codes contained in transfer.recipient.iban_white_list.entries will be deleted<br><br>",
11744
12458
  "parameters": [
11745
12459
  {
11746
12460
  "required": true,
@@ -11756,6 +12470,13 @@
11756
12470
  "name": "id_connection",
11757
12471
  "description": ""
11758
12472
  },
12473
+ {
12474
+ "required": false,
12475
+ "in": "query",
12476
+ "type": "boolean",
12477
+ "name": "background",
12478
+ "description": "if true, do synchronization in background"
12479
+ },
11759
12480
  {
11760
12481
  "required": false,
11761
12482
  "in": "formData",
@@ -11816,6 +12537,13 @@
11816
12537
  "name": "id_recipient",
11817
12538
  "description": ""
11818
12539
  },
12540
+ {
12541
+ "required": false,
12542
+ "in": "query",
12543
+ "type": "boolean",
12544
+ "name": "background",
12545
+ "description": "if true, do synchronization in background"
12546
+ },
11819
12547
  {
11820
12548
  "required": false,
11821
12549
  "type": "string",
@@ -12007,6 +12735,13 @@
12007
12735
  "name": "validated",
12008
12736
  "description": "set it to initialize transfer on the bank website."
12009
12737
  },
12738
+ {
12739
+ "required": false,
12740
+ "in": "formData",
12741
+ "type": "integer",
12742
+ "name": "id_recipient",
12743
+ "description": "set the recipient of the transfer"
12744
+ },
12010
12745
  {
12011
12746
  "required": false,
12012
12747
  "type": "string",
@@ -12264,7 +12999,7 @@
12264
12999
  "required": false,
12265
13000
  "in": "query",
12266
13001
  "type": "number",
12267
- "description": "maximumd (inclusive) amount"
13002
+ "description": "maximum (inclusive) amount"
12268
13003
  },
12269
13004
  {
12270
13005
  "name": "min_timestamp",
@@ -12280,7 +13015,7 @@
12280
13015
  "required": false,
12281
13016
  "in": "query",
12282
13017
  "type": "number",
12283
- "description": "maximumd (inclusive) timestamp"
13018
+ "description": "maximum (inclusive) timestamp"
12284
13019
  },
12285
13020
  {
12286
13021
  "required": false,
@@ -13191,7 +13926,7 @@
13191
13926
  "required": false,
13192
13927
  "in": "query",
13193
13928
  "type": "number",
13194
- "description": "maximumd (inclusive) amount"
13929
+ "description": "maximum (inclusive) amount"
13195
13930
  },
13196
13931
  {
13197
13932
  "name": "min_timestamp",
@@ -13207,7 +13942,7 @@
13207
13942
  "required": false,
13208
13943
  "in": "query",
13209
13944
  "type": "number",
13210
- "description": "maximumd (inclusive) timestamp"
13945
+ "description": "maximum (inclusive) timestamp"
13211
13946
  },
13212
13947
  {
13213
13948
  "required": false,
@@ -14079,7 +14814,7 @@
14079
14814
  "required": false,
14080
14815
  "in": "query",
14081
14816
  "type": "number",
14082
- "description": "maximumd (inclusive) amount"
14817
+ "description": "maximum (inclusive) amount"
14083
14818
  },
14084
14819
  {
14085
14820
  "name": "min_timestamp",
@@ -14095,7 +14830,7 @@
14095
14830
  "required": false,
14096
14831
  "in": "query",
14097
14832
  "type": "number",
14098
- "description": "maximumd (inclusive) timestamp"
14833
+ "description": "maximum (inclusive) timestamp"
14099
14834
  },
14100
14835
  {
14101
14836
  "required": false,
@@ -14789,6 +15524,13 @@
14789
15524
  "name": "validated",
14790
15525
  "description": "set it to initialize transfer on the bank website."
14791
15526
  },
15527
+ {
15528
+ "required": false,
15529
+ "in": "formData",
15530
+ "type": "integer",
15531
+ "name": "id_recipient",
15532
+ "description": "set the recipient of the transfer"
15533
+ },
14792
15534
  {
14793
15535
  "required": false,
14794
15536
  "type": "string",
@@ -15149,7 +15891,7 @@
15149
15891
  "required": false,
15150
15892
  "in": "query",
15151
15893
  "type": "number",
15152
- "description": "maximumd (inclusive) amount"
15894
+ "description": "maximum (inclusive) amount"
15153
15895
  },
15154
15896
  {
15155
15897
  "name": "min_timestamp",
@@ -15165,7 +15907,7 @@
15165
15907
  "required": false,
15166
15908
  "in": "query",
15167
15909
  "type": "number",
15168
- "description": "maximumd (inclusive) timestamp"
15910
+ "description": "maximum (inclusive) timestamp"
15169
15911
  },
15170
15912
  {
15171
15913
  "required": false,
@@ -15820,15 +16562,15 @@
15820
16562
  "required": false,
15821
16563
  "in": "query",
15822
16564
  "type": "integer",
15823
- "name": "id_bank",
15824
- "description": "ID of a bank"
16565
+ "name": "id_connector",
16566
+ "description": "ID of a connector"
15825
16567
  },
15826
16568
  {
15827
16569
  "required": false,
15828
16570
  "in": "query",
15829
16571
  "type": "boolean",
15830
16572
  "name": "charged",
15831
- "description": "consider only logs for charged banks"
16573
+ "description": "consider only logs for charged connectors"
15832
16574
  },
15833
16575
  {
15834
16576
  "required": false,
@@ -16398,7 +17140,7 @@
16398
17140
  "in": "query"
16399
17141
  }
16400
17142
  ],
16401
- "summary": "Returns the list of recipients"
17143
+ "summary": "Returns the list of recipients."
16402
17144
  },
16403
17145
  "post": {
16404
17146
  "responses": {
@@ -16412,7 +17154,7 @@
16412
17154
  "tags": [
16413
17155
  "Recipients"
16414
17156
  ],
16415
- "description": "",
17157
+ "description": "if config key transfer.recipient.iban_white_list.enabled is set to 1, recipients whose IBAN are not from countries codes contained in transfer.recipient.iban_white_list.entries will be deleted<br><br>",
16416
17158
  "parameters": [
16417
17159
  {
16418
17160
  "required": true,
@@ -16421,6 +17163,13 @@
16421
17163
  "name": "id_user",
16422
17164
  "description": "Hint: you can use 'me' or 'all'"
16423
17165
  },
17166
+ {
17167
+ "required": false,
17168
+ "in": "query",
17169
+ "type": "boolean",
17170
+ "name": "background",
17171
+ "description": "if true, do synchronization in background"
17172
+ },
16424
17173
  {
16425
17174
  "required": false,
16426
17175
  "in": "formData",
@@ -16474,6 +17223,13 @@
16474
17223
  "name": "id_recipient",
16475
17224
  "description": ""
16476
17225
  },
17226
+ {
17227
+ "required": false,
17228
+ "in": "query",
17229
+ "type": "boolean",
17230
+ "name": "background",
17231
+ "description": "if true, do synchronization in background"
17232
+ },
16477
17233
  {
16478
17234
  "required": false,
16479
17235
  "type": "string",
@@ -16644,6 +17400,13 @@
16644
17400
  "name": "validated",
16645
17401
  "description": "set it to initialize transfer on the bank website."
16646
17402
  },
17403
+ {
17404
+ "required": false,
17405
+ "in": "formData",
17406
+ "type": "integer",
17407
+ "name": "id_recipient",
17408
+ "description": "set the recipient of the transfer"
17409
+ },
16647
17410
  {
16648
17411
  "required": false,
16649
17412
  "type": "string",
@@ -16838,7 +17601,7 @@
16838
17601
  ],
16839
17602
  "summary": "Update a subscription",
16840
17603
  "consumes": [
16841
- "multipart/form-data"
17604
+ "application/x-www-form-urlencoded"
16842
17605
  ]
16843
17606
  },
16844
17607
  "delete": {
@@ -16964,7 +17727,7 @@
16964
17727
  "required": false,
16965
17728
  "in": "query",
16966
17729
  "type": "number",
16967
- "description": "maximumd (inclusive) amount"
17730
+ "description": "maximum (inclusive) amount"
16968
17731
  },
16969
17732
  {
16970
17733
  "name": "min_timestamp",
@@ -16980,7 +17743,7 @@
16980
17743
  "required": false,
16981
17744
  "in": "query",
16982
17745
  "type": "number",
16983
- "description": "maximumd (inclusive) timestamp"
17746
+ "description": "maximum (inclusive) timestamp"
16984
17747
  },
16985
17748
  {
16986
17749
  "required": false,
@@ -17173,7 +17936,7 @@
17173
17936
  ],
17174
17937
  "summary": "Attach an existing document to a transaction or a transactions_cluster",
17175
17938
  "consumes": [
17176
- "multipart/form-data"
17939
+ "application/x-www-form-urlencoded"
17177
17940
  ]
17178
17941
  },
17179
17942
  "delete": {
@@ -17455,13 +18218,6 @@
17455
18218
  "name": "id_user",
17456
18219
  "description": "Hint: you can use 'me' or 'all'"
17457
18220
  },
17458
- {
17459
- "required": false,
17460
- "in": "formData",
17461
- "type": "integer",
17462
- "name": "id_user",
17463
- "description": "user id (optionnal)"
17464
- },
17465
18221
  {
17466
18222
  "required": false,
17467
18223
  "in": "formData",
@@ -17478,7 +18234,7 @@
17478
18234
  ],
17479
18235
  "summary": "Register user's consent for a specific terms id",
17480
18236
  "consumes": [
17481
- "multipart/form-data"
18237
+ "application/x-www-form-urlencoded"
17482
18238
  ]
17483
18239
  }
17484
18240
  },
@@ -17521,7 +18277,7 @@
17521
18277
  ],
17522
18278
  "summary": "Create a token",
17523
18279
  "consumes": [
17524
- "multipart/form-data"
18280
+ "application/x-www-form-urlencoded"
17525
18281
  ]
17526
18282
  }
17527
18283
  },
@@ -17766,7 +18522,7 @@
17766
18522
  ],
17767
18523
  "summary": "Create transactions",
17768
18524
  "consumes": [
17769
- "multipart/form-data"
18525
+ "application/x-www-form-urlencoded"
17770
18526
  ]
17771
18527
  },
17772
18528
  "delete": {
@@ -17874,7 +18630,7 @@
17874
18630
  ],
17875
18631
  "summary": "Edit a transaction meta-data",
17876
18632
  "consumes": [
17877
- "multipart/form-data"
18633
+ "application/x-www-form-urlencoded"
17878
18634
  ]
17879
18635
  }
17880
18636
  },
@@ -17963,7 +18719,7 @@
17963
18719
  "required": false,
17964
18720
  "in": "query",
17965
18721
  "type": "number",
17966
- "description": "maximumd (inclusive) amount"
18722
+ "description": "maximum (inclusive) amount"
17967
18723
  },
17968
18724
  {
17969
18725
  "name": "min_timestamp",
@@ -17979,7 +18735,7 @@
17979
18735
  "required": false,
17980
18736
  "in": "query",
17981
18737
  "type": "number",
17982
- "description": "maximumd (inclusive) timestamp"
18738
+ "description": "maximum (inclusive) timestamp"
17983
18739
  },
17984
18740
  {
17985
18741
  "required": false,
@@ -18172,7 +18928,7 @@
18172
18928
  ],
18173
18929
  "summary": "Attach an existing document to a transaction or a transactions_cluster",
18174
18930
  "consumes": [
18175
- "multipart/form-data"
18931
+ "application/x-www-form-urlencoded"
18176
18932
  ]
18177
18933
  },
18178
18934
  "delete": {
@@ -18763,7 +19519,7 @@
18763
19519
  "required": false,
18764
19520
  "in": "query",
18765
19521
  "type": "number",
18766
- "description": "maximumd (inclusive) amount"
19522
+ "description": "maximum (inclusive) amount"
18767
19523
  },
18768
19524
  {
18769
19525
  "name": "min_timestamp",
@@ -18779,7 +19535,7 @@
18779
19535
  "required": false,
18780
19536
  "in": "query",
18781
19537
  "type": "number",
18782
- "description": "maximumd (inclusive) timestamp"
19538
+ "description": "maximum (inclusive) timestamp"
18783
19539
  },
18784
19540
  {
18785
19541
  "required": false,
@@ -18972,7 +19728,7 @@
18972
19728
  ],
18973
19729
  "summary": "Attach an existing document to a transaction or a transactions_cluster",
18974
19730
  "consumes": [
18975
- "multipart/form-data"
19731
+ "application/x-www-form-urlencoded"
18976
19732
  ]
18977
19733
  },
18978
19734
  "delete": {
@@ -19369,7 +20125,7 @@
19369
20125
  ],
19370
20126
  "summary": "Create a transfer object.",
19371
20127
  "consumes": [
19372
- "multipart/form-data"
20128
+ "application/x-www-form-urlencoded"
19373
20129
  ]
19374
20130
  }
19375
20131
  },
@@ -19409,6 +20165,13 @@
19409
20165
  "name": "validated",
19410
20166
  "description": "set it to initialize transfer on the bank website."
19411
20167
  },
20168
+ {
20169
+ "required": false,
20170
+ "in": "formData",
20171
+ "type": "integer",
20172
+ "name": "id_recipient",
20173
+ "description": "set the recipient of the transfer"
20174
+ },
19412
20175
  {
19413
20176
  "required": false,
19414
20177
  "type": "string",
@@ -19456,6 +20219,64 @@
19456
20219
  "summary": "Cancel a transfer."
19457
20220
  }
19458
20221
  },
20222
+ "/webauth": {
20223
+ "get": {
20224
+ "responses": {
20225
+ "200": {
20226
+ "description": "standard HTTP response"
20227
+ }
20228
+ },
20229
+ "tags": [
20230
+ "Authentication"
20231
+ ],
20232
+ "description": "",
20233
+ "parameters": [
20234
+ {
20235
+ "required": false,
20236
+ "in": "formData",
20237
+ "type": "integer",
20238
+ "name": "id_connector",
20239
+ "description": "ID of the connector"
20240
+ },
20241
+ {
20242
+ "required": false,
20243
+ "in": "formData",
20244
+ "type": "integer",
20245
+ "name": "client_id",
20246
+ "description": "Client Application ID"
20247
+ },
20248
+ {
20249
+ "required": false,
20250
+ "in": "formData",
20251
+ "type": "string",
20252
+ "name": "redirect_uri",
20253
+ "description": "Redirect URI"
20254
+ },
20255
+ {
20256
+ "required": false,
20257
+ "in": "formData",
20258
+ "type": "string",
20259
+ "name": "state",
20260
+ "description": "Optional state"
20261
+ },
20262
+ {
20263
+ "required": false,
20264
+ "in": "formData",
20265
+ "type": "string",
20266
+ "name": "fields",
20267
+ "description": "Optional fields"
20268
+ },
20269
+ {
20270
+ "required": false,
20271
+ "in": "formData",
20272
+ "type": "integer",
20273
+ "name": "id_connection",
20274
+ "description": "Optional already existing connection to update"
20275
+ }
20276
+ ],
20277
+ "summary": "Initialize a new OAuth2 proxy session."
20278
+ }
20279
+ },
19459
20280
  "/webhooks": {
19460
20281
  "get": {
19461
20282
  "responses": {
@@ -19737,38 +20558,111 @@
19737
20558
  ],
19738
20559
  "summary": "Deletes a webhook"
19739
20560
  }
19740
- }
19741
- },
19742
- "host": "demo.biapi.pro",
19743
- "x-deactivated_services": [],
19744
- "produces": [
19745
- "application/json"
19746
- ],
19747
- "definitions": {
19748
- "Bank": {
19749
- "required": [
19750
- "id",
19751
- "name",
19752
- "id_weboob",
19753
- "charged",
19754
- "beta"
19755
- ],
19756
- "type": "object",
19757
- "properties": {
19758
- "id": {
19759
- "type": "integer",
19760
- "description": "ID of the connector"
19761
- },
19762
- "name": {
19763
- "type": "string",
19764
- "description": "Name of the bank or provider"
19765
- },
19766
- "id_weboob": {
19767
- "type": "string"
20561
+ },
20562
+ "/webhooks/{id_webhook}/logs": {
20563
+ "get": {
20564
+ "responses": {
20565
+ "200": {
20566
+ "description": "webhooklogs",
20567
+ "schema": {
20568
+ "required": [
20569
+ "webhooklogs"
20570
+ ],
20571
+ "type": "object",
20572
+ "properties": {
20573
+ "webhooklogs": {
20574
+ "items": {
20575
+ "$ref": "#/definitions/WebhookLog"
20576
+ },
20577
+ "type": "array"
20578
+ }
20579
+ }
20580
+ }
20581
+ }
19768
20582
  },
19769
- "hidden": {
19770
- "default": false,
19771
- "type": "boolean",
20583
+ "tags": [
20584
+ "Administration"
20585
+ ],
20586
+ "description": "Get logs of the webhooks.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>",
20587
+ "parameters": [
20588
+ {
20589
+ "required": true,
20590
+ "in": "path",
20591
+ "type": "integer",
20592
+ "name": "id_webhook",
20593
+ "description": ""
20594
+ },
20595
+ {
20596
+ "required": false,
20597
+ "in": "query",
20598
+ "type": "integer",
20599
+ "name": "limit",
20600
+ "description": "limit number of results"
20601
+ },
20602
+ {
20603
+ "required": false,
20604
+ "in": "query",
20605
+ "type": "integer",
20606
+ "name": "offset",
20607
+ "description": "offset of first result"
20608
+ },
20609
+ {
20610
+ "name": "min_date",
20611
+ "format": "date",
20612
+ "required": false,
20613
+ "in": "query",
20614
+ "type": "string",
20615
+ "description": "minimal (inclusive) date"
20616
+ },
20617
+ {
20618
+ "name": "max_date",
20619
+ "format": "date",
20620
+ "required": false,
20621
+ "in": "query",
20622
+ "type": "string",
20623
+ "description": "maximum (inclusive) date"
20624
+ },
20625
+ {
20626
+ "required": false,
20627
+ "type": "string",
20628
+ "name": "expand",
20629
+ "in": "query"
20630
+ }
20631
+ ],
20632
+ "summary": "Get webhooks logs."
20633
+ }
20634
+ }
20635
+ },
20636
+ "host": "demo.biapi.pro",
20637
+ "x-deactivated_services": [],
20638
+ "produces": [
20639
+ "application/json"
20640
+ ],
20641
+ "definitions": {
20642
+ "Connector": {
20643
+ "required": [
20644
+ "id",
20645
+ "name",
20646
+ "id_weboob",
20647
+ "charged",
20648
+ "beta"
20649
+ ],
20650
+ "type": "object",
20651
+ "properties": {
20652
+ "id": {
20653
+ "type": "integer",
20654
+ "description": "ID of the connector"
20655
+ },
20656
+ "name": {
20657
+ "type": "string",
20658
+ "description": "Name of the bank or provider"
20659
+ },
20660
+ "id_weboob": {
20661
+ "type": "string"
20662
+ },
20663
+ "hidden": {
20664
+ "default": false,
20665
+ "type": "boolean",
19772
20666
  "description": "This connector is hidden from your users"
19773
20667
  },
19774
20668
  "charged": {
@@ -19807,6 +20701,10 @@
19807
20701
  "type": "string"
19808
20702
  }
19809
20703
  },
20704
+ "auth_mechanism": {
20705
+ "type": "string",
20706
+ "description": "Authentication mechanism to use"
20707
+ },
19810
20708
  "fields": {
19811
20709
  "type": "array",
19812
20710
  "items": {
@@ -19825,21 +20723,22 @@
19825
20723
  "color": "",
19826
20724
  "slug": "",
19827
20725
  "sync_frequency": 0,
19828
- "months_to_fetch": 0
20726
+ "months_to_fetch": 0,
20727
+ "auth_mechanism": ""
19829
20728
  }
19830
20729
  },
19831
20730
  "Field": {
19832
20731
  "required": [
19833
- "id_bank",
20732
+ "id_connector",
19834
20733
  "id",
19835
20734
  "name",
19836
20735
  "label"
19837
20736
  ],
19838
20737
  "type": "object",
19839
20738
  "properties": {
19840
- "id_bank": {
20739
+ "id_connector": {
19841
20740
  "type": "integer",
19842
- "description": "ID of the related bank"
20741
+ "description": "ID of the related connector"
19843
20742
  },
19844
20743
  "id": {
19845
20744
  "type": "integer",
@@ -19876,17 +20775,23 @@
19876
20775
  "items": {
19877
20776
  "$ref": "#/definitions/FieldValue"
19878
20777
  }
20778
+ },
20779
+ "required": {
20780
+ "default": true,
20781
+ "type": "boolean",
20782
+ "description": "If true, field has to be set to synchronize the connection"
19879
20783
  }
19880
20784
  },
19881
20785
  "example": {
19882
- "id_bank": 0,
20786
+ "id_connector": 0,
19883
20787
  "id": 0,
19884
20788
  "name": "",
19885
20789
  "label": "",
19886
20790
  "regex": "",
19887
20791
  "type": "text",
19888
20792
  "ephemeral": false,
19889
- "value": ""
20793
+ "value": "",
20794
+ "required": true
19890
20795
  }
19891
20796
  },
19892
20797
  "FieldValue": {
@@ -19907,7 +20812,7 @@
19907
20812
  "ConnectorLogo": {
19908
20813
  "required": [
19909
20814
  "id",
19910
- "id_bank",
20815
+ "id_connector",
19911
20816
  "id_file"
19912
20817
  ],
19913
20818
  "type": "object",
@@ -19915,9 +20820,9 @@
19915
20820
  "id": {
19916
20821
  "type": "integer"
19917
20822
  },
19918
- "id_bank": {
20823
+ "id_connector": {
19919
20824
  "type": "integer",
19920
- "description": "ID of the bank"
20825
+ "description": "ID of the connector"
19921
20826
  },
19922
20827
  "id_file": {
19923
20828
  "type": "integer",
@@ -19930,11 +20835,47 @@
19930
20835
  },
19931
20836
  "example": {
19932
20837
  "id": 0,
19933
- "id_bank": 0,
20838
+ "id_connector": 0,
19934
20839
  "id_file": 0,
19935
20840
  "type": ""
19936
20841
  }
19937
20842
  },
20843
+ "User": {
20844
+ "required": [
20845
+ "id",
20846
+ "signin",
20847
+ "platform"
20848
+ ],
20849
+ "type": "object",
20850
+ "properties": {
20851
+ "id": {
20852
+ "type": "integer"
20853
+ },
20854
+ "signin": {
20855
+ "default": "CURRENT_TIMESTAMP",
20856
+ "type": "string",
20857
+ "format": "date-time"
20858
+ },
20859
+ "platform": {
20860
+ "enum": [
20861
+ "web",
20862
+ "iPad",
20863
+ "iPhone",
20864
+ "Android",
20865
+ "CAstore",
20866
+ "requestAccess",
20867
+ "sharedAccess",
20868
+ "transfer"
20869
+ ],
20870
+ "type": "string"
20871
+ }
20872
+ },
20873
+ "example": {
20874
+ "id": 0,
20875
+ "signin": "CURRENT_TIMESTAMP",
20876
+ "platform": ""
20877
+ }
20878
+ },
19938
20879
  "TermsOfService": {
19939
20880
  "required": [
19940
20881
  "id",
@@ -19965,8 +20906,8 @@
19965
20906
  "id": 0,
19966
20907
  "version": "",
19967
20908
  "id_file": 0,
19968
- "created": "2018-09-19 10:44:12.438640",
19969
- "deleted": "2018-09-19 10:44:12.438702"
20909
+ "created": "2019-03-12 13:08:00.680453",
20910
+ "deleted": "2019-03-12 13:08:00.680558"
19970
20911
  }
19971
20912
  },
19972
20913
  "Category": {
@@ -20054,6 +20995,12 @@
20054
20995
  "secret": {
20055
20996
  "type": "string"
20056
20997
  },
20998
+ "public_key": {
20999
+ "type": "string"
21000
+ },
21001
+ "private_key": {
21002
+ "type": "string"
21003
+ },
20057
21004
  "redirect_uri": {
20058
21005
  "default": "",
20059
21006
  "type": "string"
@@ -20085,12 +21032,18 @@
20085
21032
  },
20086
21033
  "id_logo": {
20087
21034
  "type": "integer"
21035
+ },
21036
+ "information": {
21037
+ "type": "string",
21038
+ "description": "customizable information"
20088
21039
  }
20089
21040
  },
20090
21041
  "example": {
20091
21042
  "id": 0,
20092
21043
  "name": "",
20093
21044
  "secret": "",
21045
+ "public_key": "",
21046
+ "private_key": "",
20094
21047
  "redirect_uri": "",
20095
21048
  "primary_color": "",
20096
21049
  "secondary_color": "",
@@ -20164,7 +21117,7 @@
20164
21117
  "code": "",
20165
21118
  "name": "",
20166
21119
  "id_type": 0,
20167
- "last_update": "2018-09-19 10:44:12.447943"
21120
+ "last_update": "2019-03-12 13:08:00.694060"
20168
21121
  }
20169
21122
  },
20170
21123
  "Webhook": {
@@ -20213,15 +21166,69 @@
20213
21166
  },
20214
21167
  "example": {
20215
21168
  "id": 0,
20216
- "created": "2018-09-19 10:44:12.450710",
20217
- "updated": "2018-09-19 10:44:12.450787",
20218
- "deleted": "2018-09-19 10:44:12.450846",
21169
+ "created": "2019-03-12 13:08:00.697921",
21170
+ "updated": "2019-03-12 13:08:00.698025",
21171
+ "deleted": "2019-03-12 13:08:00.698104",
20219
21172
  "id_service": 0,
20220
21173
  "id_user": 0,
20221
21174
  "id_event": 0,
20222
21175
  "url": ""
20223
21176
  }
20224
21177
  },
21178
+ "WebhookLog": {
21179
+ "required": [
21180
+ "id",
21181
+ "timestamp"
21182
+ ],
21183
+ "type": "object",
21184
+ "properties": {
21185
+ "id": {
21186
+ "type": "integer",
21187
+ "description": "ID of the log"
21188
+ },
21189
+ "id_webhook_data": {
21190
+ "type": "integer",
21191
+ "description": "ID of the webhook data"
21192
+ },
21193
+ "id_service": {
21194
+ "type": "integer",
21195
+ "description": "ID of the service"
21196
+ },
21197
+ "id_user": {
21198
+ "type": "integer",
21199
+ "description": "ID of the user"
21200
+ },
21201
+ "timestamp": {
21202
+ "type": "string",
21203
+ "description": "Timestamp when the hook was sent",
21204
+ "format": "date-time"
21205
+ },
21206
+ "response_date": {
21207
+ "type": "string",
21208
+ "description": "Timestamp of the reply to the hook",
21209
+ "format": "date-time"
21210
+ },
21211
+ "response_code": {
21212
+ "type": "integer",
21213
+ "description": "Return code of the reply to the hook"
21214
+ },
21215
+ "next_try": {
21216
+ "type": "string",
21217
+ "description": "If the log is an error, do not retry to push before this timestamp",
21218
+ "format": "date-time"
21219
+ }
21220
+ },
21221
+ "example": {
21222
+ "id": 0,
21223
+ "id_webhook_data": 0,
21224
+ "id_service": 0,
21225
+ "id_user": 0,
21226
+ "timestamp": "2019-03-12 13:08:00.700198",
21227
+ "response_date": "2019-03-12 13:08:00.700288",
21228
+ "response_code": 0,
21229
+ "next_try": "2019-03-12 13:08:00.700427"
21230
+ }
21231
+ },
20225
21232
  "DocumentType": {
20226
21233
  "required": [
20227
21234
  "id",
@@ -20247,46 +21254,40 @@
20247
21254
  "attacheable": true
20248
21255
  }
20249
21256
  },
20250
- "User": {
21257
+ "HashTable": {
20251
21258
  "required": [
20252
- "id",
20253
- "signin",
20254
- "platform"
21259
+ "wording",
21260
+ "income",
21261
+ "display",
21262
+ "nature"
20255
21263
  ],
20256
21264
  "type": "object",
20257
21265
  "properties": {
20258
- "id": {
20259
- "type": "integer"
21266
+ "wording": {
21267
+ "type": "string"
20260
21268
  },
20261
- "signin": {
20262
- "default": "CURRENT_TIMESTAMP",
20263
- "type": "string",
20264
- "format": "date-time"
21269
+ "income": {
21270
+ "type": "boolean"
20265
21271
  },
20266
- "platform": {
20267
- "enum": [
20268
- "web",
20269
- "iPad",
20270
- "iPhone",
20271
- "Android",
20272
- "CAstore",
20273
- "requestAccess",
20274
- "sharedAccess",
20275
- "transfer"
20276
- ],
21272
+ "display": {
21273
+ "default": true,
21274
+ "type": "boolean"
21275
+ },
21276
+ "nature": {
20277
21277
  "type": "string"
20278
21278
  }
20279
21279
  },
20280
21280
  "example": {
20281
- "id": 0,
20282
- "signin": "CURRENT_TIMESTAMP",
20283
- "platform": ""
21281
+ "wording": "",
21282
+ "income": false,
21283
+ "display": true,
21284
+ "nature": ""
20284
21285
  }
20285
21286
  },
20286
21287
  "Connection": {
20287
21288
  "required": [
20288
21289
  "id",
20289
- "id_bank",
21290
+ "id_connector",
20290
21291
  "active"
20291
21292
  ],
20292
21293
  "type": "object",
@@ -20299,9 +21300,9 @@
20299
21300
  "type": "integer",
20300
21301
  "description": "ID of the related user"
20301
21302
  },
20302
- "id_bank": {
21303
+ "id_connector": {
20303
21304
  "type": "integer",
20304
- "description": "ID of the related bank or provider"
21305
+ "description": "ID of the related connector"
20305
21306
  },
20306
21307
  "last_update": {
20307
21308
  "type": "string",
@@ -20342,13 +21343,48 @@
20342
21343
  "example": {
20343
21344
  "id": 0,
20344
21345
  "id_user": 0,
20345
- "id_bank": 0,
20346
- "last_update": "2018-09-19 10:44:12.461304",
21346
+ "id_connector": 0,
21347
+ "last_update": "2019-03-12 13:08:00.715434",
20347
21348
  "error": "",
20348
- "expire": "2018-09-19 10:44:12.461430",
21349
+ "expire": "2019-03-12 13:08:00.715687",
20349
21350
  "active": true,
20350
- "last_push": "2018-09-19 10:44:12.461552",
20351
- "next_try": "2018-09-19 10:44:12.461740"
21351
+ "last_push": "2019-03-12 13:08:00.715851",
21352
+ "next_try": "2019-03-12 13:08:00.716098"
21353
+ }
21354
+ },
21355
+ "Certificate": {
21356
+ "required": [
21357
+ "id",
21358
+ "id_public_key_file",
21359
+ "id_private_key_file",
21360
+ "type",
21361
+ "created"
21362
+ ],
21363
+ "type": "object",
21364
+ "properties": {
21365
+ "id": {
21366
+ "type": "integer"
21367
+ },
21368
+ "id_public_key_file": {
21369
+ "type": "integer"
21370
+ },
21371
+ "id_private_key_file": {
21372
+ "type": "integer"
21373
+ },
21374
+ "type": {
21375
+ "type": "string"
21376
+ },
21377
+ "created": {
21378
+ "type": "string",
21379
+ "format": "date-time"
21380
+ }
21381
+ },
21382
+ "example": {
21383
+ "id": 0,
21384
+ "id_public_key_file": 0,
21385
+ "id_private_key_file": 0,
21386
+ "type": "",
21387
+ "created": "2019-03-12 13:08:00.724039"
20352
21388
  }
20353
21389
  },
20354
21390
  "ConnectionLog": {
@@ -20371,9 +21407,9 @@
20371
21407
  "type": "integer",
20372
21408
  "description": "ID of the connection"
20373
21409
  },
20374
- "id_bank": {
21410
+ "id_connector": {
20375
21411
  "type": "integer",
20376
- "description": "ID of the bank"
21412
+ "description": "ID of the connector"
20377
21413
  },
20378
21414
  "login": {
20379
21415
  "type": "string",
@@ -20400,7 +21436,7 @@
20400
21436
  },
20401
21437
  "error_message": {
20402
21438
  "type": "string",
20403
- "description": "If fail, error message received from bank or provider"
21439
+ "description": "If fail, error message received from connector"
20404
21440
  },
20405
21441
  "statut": {
20406
21442
  "type": "integer",
@@ -20418,51 +21454,215 @@
20418
21454
  "worker": {
20419
21455
  "type": "string",
20420
21456
  "description": "Worker used to do synchronization"
21457
+ },
21458
+ "session_folder_id": {
21459
+ "type": "string",
21460
+ "description": "Session folder uid"
20421
21461
  }
20422
21462
  },
20423
21463
  "example": {
20424
21464
  "id": 0,
20425
21465
  "id_user": 0,
20426
21466
  "id_connection": 0,
20427
- "id_bank": 0,
21467
+ "id_connector": 0,
20428
21468
  "login": "",
20429
21469
  "error_uid": "",
20430
21470
  "timestamp": "CURRENT_TIMESTAMP",
20431
- "next_try": "2018-09-19 10:44:12.468834",
21471
+ "next_try": "2019-03-12 13:08:00.726321",
20432
21472
  "error": "",
20433
21473
  "error_message": "",
20434
21474
  "statut": 0,
20435
21475
  "nb_accounts": 0,
20436
- "start": "2018-09-19 10:44:12.469108",
20437
- "worker": ""
21476
+ "start": "2019-03-12 13:08:00.726630",
21477
+ "worker": "",
21478
+ "session_folder_id": ""
20438
21479
  }
20439
21480
  },
20440
- "Profile": {
21481
+ "ProjectType": {
20441
21482
  "required": [
20442
21483
  "id",
20443
- "id_user",
20444
- "role",
20445
- "email",
20446
- "statut",
20447
- "admin"
21484
+ "name"
20448
21485
  ],
20449
21486
  "type": "object",
20450
21487
  "properties": {
20451
21488
  "id": {
20452
21489
  "type": "integer"
20453
21490
  },
20454
- "id_user": {
20455
- "type": "integer"
20456
- },
20457
- "role": {
20458
- "default": "admin",
20459
- "enum": [
20460
- "admin",
20461
- "ser"
20462
- ],
21491
+ "name": {
20463
21492
  "type": "string"
20464
21493
  },
20465
- "email": {
21494
+ "icon_url": {
21495
+ "type": "string"
21496
+ }
21497
+ },
21498
+ "example": {
21499
+ "id": 0,
21500
+ "name": "",
21501
+ "icon_url": ""
21502
+ }
21503
+ },
21504
+ "Transfer": {
21505
+ "description": "This is a representation of a transfer.",
21506
+ "required": [
21507
+ "id",
21508
+ "exec_date",
21509
+ "register_date",
21510
+ "amount",
21511
+ "state"
21512
+ ],
21513
+ "type": "object",
21514
+ "properties": {
21515
+ "id": {
21516
+ "type": "integer",
21517
+ "description": "ID of transfer"
21518
+ },
21519
+ "id_account": {
21520
+ "type": "integer",
21521
+ "description": "ID of the debited account"
21522
+ },
21523
+ "id_user": {
21524
+ "type": "integer",
21525
+ "description": "ID of the related user"
21526
+ },
21527
+ "id_recipient": {
21528
+ "type": "integer",
21529
+ "description": "ID of the recipient"
21530
+ },
21531
+ "account_iban": {
21532
+ "type": "string",
21533
+ "description": "IBAN of the debited account"
21534
+ },
21535
+ "recipient_iban": {
21536
+ "type": "string",
21537
+ "description": "IBAN of the recipient"
21538
+ },
21539
+ "exec_date": {
21540
+ "type": "string",
21541
+ "description": "Date when the transfer will be operated by the bank",
21542
+ "format": "date"
21543
+ },
21544
+ "register_date": {
21545
+ "type": "string",
21546
+ "description": "Date when the transfer has been registered",
21547
+ "format": "date-time"
21548
+ },
21549
+ "amount": {
21550
+ "type": "number",
21551
+ "description": "Amount of the transfer",
21552
+ "format": "float"
21553
+ },
21554
+ "fees": {
21555
+ "type": "number",
21556
+ "description": "Fees taken by the bank",
21557
+ "format": "float"
21558
+ },
21559
+ "webid": {
21560
+ "type": "string",
21561
+ "description": "WebID of the transfer"
21562
+ },
21563
+ "state": {
21564
+ "type": "string",
21565
+ "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
21566
+ },
21567
+ "error": {
21568
+ "type": "string",
21569
+ "description": "Error message during transfer, if any"
21570
+ },
21571
+ "label": {
21572
+ "type": "string",
21573
+ "description": "Label of the transfer"
21574
+ },
21575
+ "account_balance": {
21576
+ "type": "number",
21577
+ "description": "Balance of the account just before the transfer",
21578
+ "format": "float"
21579
+ },
21580
+ "id_transaction": {
21581
+ "type": "integer",
21582
+ "description": "If found, ID of the related transaction"
21583
+ },
21584
+ "currency": {
21585
+ "type": "object",
21586
+ "description": "Currency of the object"
21587
+ }
21588
+ },
21589
+ "example": {
21590
+ "id": 0,
21591
+ "id_account": 0,
21592
+ "id_user": 0,
21593
+ "id_recipient": 0,
21594
+ "account_iban": "",
21595
+ "recipient_iban": "",
21596
+ "exec_date": "2019-03-12",
21597
+ "register_date": "2019-03-12 13:08:00.736646",
21598
+ "amount": 0,
21599
+ "fees": 0,
21600
+ "webid": "",
21601
+ "state": "",
21602
+ "error": "",
21603
+ "label": "",
21604
+ "account_balance": 0,
21605
+ "id_transaction": 0,
21606
+ "currency": ""
21607
+ }
21608
+ },
21609
+ "Access": {
21610
+ "required": [
21611
+ "id",
21612
+ "id_profile"
21613
+ ],
21614
+ "type": "object",
21615
+ "properties": {
21616
+ "id": {
21617
+ "type": "integer"
21618
+ },
21619
+ "id_user": {
21620
+ "type": "integer"
21621
+ },
21622
+ "id_profile": {
21623
+ "type": "integer"
21624
+ },
21625
+ "id_role": {
21626
+ "type": "integer"
21627
+ },
21628
+ "email": {
21629
+ "type": "string"
21630
+ }
21631
+ },
21632
+ "example": {
21633
+ "id": 0,
21634
+ "id_user": 0,
21635
+ "id_profile": 0,
21636
+ "id_role": 0,
21637
+ "email": ""
21638
+ }
21639
+ },
21640
+ "Profile": {
21641
+ "required": [
21642
+ "id",
21643
+ "id_user",
21644
+ "role",
21645
+ "email",
21646
+ "statut",
21647
+ "admin"
21648
+ ],
21649
+ "type": "object",
21650
+ "properties": {
21651
+ "id": {
21652
+ "type": "integer"
21653
+ },
21654
+ "id_user": {
21655
+ "type": "integer"
21656
+ },
21657
+ "role": {
21658
+ "default": "admin",
21659
+ "enum": [
21660
+ "admin",
21661
+ "ser"
21662
+ ],
21663
+ "type": "string"
21664
+ },
21665
+ "email": {
20466
21666
  "type": "string"
20467
21667
  },
20468
21668
  "statut": {
@@ -20484,7 +21684,6 @@
20484
21684
  "id": 0,
20485
21685
  "id_user": 0,
20486
21686
  "role": "admin",
20487
- "email": "",
20488
21687
  "statut": 0,
20489
21688
  "admin": false,
20490
21689
  "conf": "",
@@ -20538,7 +21737,7 @@
20538
21737
  "mean_amount": 0,
20539
21738
  "median_increment": 0,
20540
21739
  "enabled": true,
20541
- "next_date": "2018-09-19",
21740
+ "next_date": "2019-03-12",
20542
21741
  "wording": "",
20543
21742
  "id_category": 0,
20544
21743
  "created_by": ""
@@ -20688,7 +21887,6 @@
20688
21887
  "Subscription": {
20689
21888
  "required": [
20690
21889
  "id",
20691
- "id_user",
20692
21890
  "number",
20693
21891
  "label"
20694
21892
  ],
@@ -20742,6 +21940,10 @@
20742
21940
  "type": "string",
20743
21941
  "description": "This subscription has been deleted by user and will not be synchronized anymore",
20744
21942
  "format": "date-time"
21943
+ },
21944
+ "error": {
21945
+ "type": "string",
21946
+ "description": "If the last update has failed, the error code"
20745
21947
  }
20746
21948
  },
20747
21949
  "example": {
@@ -20751,11 +21953,12 @@
20751
21953
  "number": "",
20752
21954
  "label": "",
20753
21955
  "subscriber": "",
20754
- "validity": "2018-09-19",
20755
- "renewdate": "2018-09-19",
20756
- "last_update": "2018-09-19 10:44:12.502349",
20757
- "deleted": "2018-09-19 10:44:12.502406",
20758
- "disabled": "2018-09-19 10:44:12.502462"
21956
+ "validity": "2019-03-12",
21957
+ "renewdate": "2019-03-12",
21958
+ "last_update": "2019-03-12 13:08:00.782154",
21959
+ "deleted": "2019-03-12 13:08:00.782232",
21960
+ "disabled": "2019-03-12 13:08:00.782310",
21961
+ "error": ""
20759
21962
  }
20760
21963
  },
20761
21964
  "Transaction": {
@@ -20763,7 +21966,6 @@
20763
21966
  "id",
20764
21967
  "id_account",
20765
21968
  "date",
20766
- "value",
20767
21969
  "nature",
20768
21970
  "original_wording",
20769
21971
  "simplified_wording",
@@ -20804,6 +22006,11 @@
20804
22006
  "description": "Value of the transaction",
20805
22007
  "format": "float"
20806
22008
  },
22009
+ "gross_value": {
22010
+ "type": "number",
22011
+ "description": "Gross value of the transaction",
22012
+ "format": "float"
22013
+ },
20807
22014
  "nature": {
20808
22015
  "default": "inconnu",
20809
22016
  "type": "string",
@@ -20844,6 +22051,11 @@
20844
22051
  "description": "Realization of the transaction",
20845
22052
  "format": "date"
20846
22053
  },
22054
+ "vdate": {
22055
+ "type": "string",
22056
+ "description": "Value date of the transaction",
22057
+ "format": "date"
22058
+ },
20847
22059
  "coming": {
20848
22060
  "type": "boolean",
20849
22061
  "description": "If true, this transaction hasn't been yet debited"
@@ -20890,38 +22102,52 @@
20890
22102
  "description": "Commission taken on the transaction",
20891
22103
  "format": "float"
20892
22104
  },
22105
+ "commission_currency": {
22106
+ "type": "object",
22107
+ "description": "Commission currency"
22108
+ },
20893
22109
  "country": {
20894
22110
  "type": "string",
20895
22111
  "description": "Original country"
22112
+ },
22113
+ "counterparty": {
22114
+ "type": "string",
22115
+ "description": "Counterparty"
22116
+ },
22117
+ "card": {
22118
+ "type": "string",
22119
+ "description": "Card number associated to the transaction"
20896
22120
  }
20897
22121
  },
20898
22122
  "example": {
20899
22123
  "id": 0,
20900
22124
  "id_account": 0,
20901
22125
  "webid": "",
20902
- "application_date": "2018-09-19",
20903
- "date": "2018-09-19",
22126
+ "application_date": "2019-03-12",
22127
+ "date": "2019-03-12",
20904
22128
  "value": 0,
22129
+ "gross_value": 0,
20905
22130
  "nature": "inconnu",
20906
- "original_wording": "",
20907
- "simplified_wording": "",
20908
- "stemmed_wording": "",
20909
22131
  "wording": "",
20910
22132
  "id_category": 0,
20911
22133
  "state": "new",
20912
- "date_scraped": "2018-09-19 10:44:12.504942",
20913
- "rdate": "2018-09-19",
22134
+ "date_scraped": "2019-03-12 13:08:00.787303",
22135
+ "rdate": "2019-03-12",
22136
+ "vdate": "2019-03-12",
20914
22137
  "coming": false,
20915
22138
  "active": true,
20916
22139
  "id_cluster": 0,
20917
22140
  "comment": "",
20918
- "last_update": "2018-09-19 10:44:12.505381",
20919
- "deleted": "2018-09-19 10:44:12.505440",
22141
+ "last_update": "2019-03-12 13:08:00.787854",
22142
+ "deleted": "2019-03-12 13:08:00.787941",
20920
22143
  "nopurge": false,
20921
22144
  "original_value": 0,
20922
22145
  "original_currency": "",
20923
22146
  "commission": 0,
20924
- "country": ""
22147
+ "commission_currency": "",
22148
+ "country": "",
22149
+ "counterparty": "",
22150
+ "card": ""
20925
22151
  }
20926
22152
  },
20927
22153
  "Investment": {
@@ -21071,16 +22297,16 @@
21071
22297
  "diff_percent": 0,
21072
22298
  "prev_diff": 0,
21073
22299
  "portfolio_share": 0,
21074
- "vdate": "2018-09-19",
21075
- "prev_vdate": "2018-09-19",
22300
+ "vdate": "2019-03-12",
22301
+ "prev_vdate": "2019-03-12",
21076
22302
  "id_security": 0,
21077
22303
  "original_currency": "",
21078
22304
  "original_valuation": 0,
21079
22305
  "original_unitvalue": 0,
21080
22306
  "original_unitprice": 0,
21081
22307
  "original_diff": 0,
21082
- "last_update": "2018-09-19 10:44:12.509707",
21083
- "deleted": "2018-09-19 10:44:12.509764"
22308
+ "last_update": "2019-03-12 13:08:00.794806",
22309
+ "deleted": "2019-03-12 13:08:00.794887"
21084
22310
  }
21085
22311
  },
21086
22312
  "Recipient": {
@@ -21153,6 +22379,18 @@
21153
22379
  "type": "boolean",
21154
22380
  "description": "Was the recipient adding authorized"
21155
22381
  },
22382
+ "state": {
22383
+ "type": "string",
22384
+ "description": "State of recipient"
22385
+ },
22386
+ "error": {
22387
+ "type": "string",
22388
+ "description": "Error message"
22389
+ },
22390
+ "fields": {
22391
+ "type": "string",
22392
+ "description": "Fields for recipient with additionalInformationNeeded state"
22393
+ },
21156
22394
  "currency": {
21157
22395
  "type": "object",
21158
22396
  "description": "Currency of the object"
@@ -21167,12 +22405,14 @@
21167
22405
  "iban": "",
21168
22406
  "webid": "",
21169
22407
  "category": "",
21170
- "last_update": "2018-09-19 10:44:12.510904",
21171
- "time_scraped": "2018-09-19 10:44:12.510962",
21172
- "deleted": "2018-09-19 10:44:12.511019",
21173
- "expire": "2018-09-19 10:44:12.511073",
21174
- "enabled_at": "2018-09-19 10:44:12.511128",
22408
+ "last_update": "2019-03-12 13:08:00.798766",
22409
+ "time_scraped": "2019-03-12 13:08:00.798874",
22410
+ "deleted": "2019-03-12 13:08:00.798949",
22411
+ "expire": "2019-03-12 13:08:00.799022",
22412
+ "enabled_at": "2019-03-12 13:08:00.799096",
21175
22413
  "add_verified": false,
22414
+ "state": "",
22415
+ "error": "",
21176
22416
  "currency": ""
21177
22417
  }
21178
22418
  },
@@ -21277,8 +22517,8 @@
21277
22517
  "thumb_url": "",
21278
22518
  "name": "",
21279
22519
  "timestamp": "CURRENT_TIMESTAMP",
21280
- "date": "2018-09-19 10:44:12.513896",
21281
- "duedate": "2018-09-19",
22520
+ "date": "2019-03-12 13:08:00.801723",
22521
+ "duedate": "2019-03-12",
21282
22522
  "total_amount": 0,
21283
22523
  "untaxed_amount": 0,
21284
22524
  "vat": 0,
@@ -21286,165 +22526,64 @@
21286
22526
  "readonly": true,
21287
22527
  "number": "",
21288
22528
  "issuer": "",
21289
- "last_update": "2018-09-19 10:44:12.514455",
22529
+ "last_update": "2019-03-12 13:08:00.802639",
21290
22530
  "currency": ""
21291
22531
  }
21292
22532
  },
21293
- "Transfer": {
21294
- "description": "This is a representation of a transfer.",
22533
+ "Account": {
21295
22534
  "required": [
21296
22535
  "id",
21297
- "exec_date",
21298
- "register_date",
21299
- "amount",
21300
- "state"
22536
+ "original_name",
22537
+ "balance",
22538
+ "display",
22539
+ "bookmarked"
21301
22540
  ],
21302
22541
  "type": "object",
21303
22542
  "properties": {
21304
22543
  "id": {
21305
22544
  "type": "integer",
21306
- "description": "ID of transfer"
22545
+ "description": "ID of the account"
21307
22546
  },
21308
- "id_account": {
22547
+ "id_connection": {
21309
22548
  "type": "integer",
21310
- "description": "ID of the debited account"
22549
+ "description": "ID of the related connection"
21311
22550
  },
21312
- "id_recipient": {
22551
+ "id_user": {
21313
22552
  "type": "integer",
21314
- "description": "ID of the recipient"
21315
- },
21316
- "account_iban": {
21317
- "type": "string",
21318
- "description": "IBAN of the debited account"
22553
+ "description": "ID of the related user"
21319
22554
  },
21320
- "recipient_iban": {
21321
- "type": "string",
21322
- "description": "IBAN of the recipient"
22555
+ "id_parent": {
22556
+ "type": "integer",
22557
+ "description": "Id of the parent account"
21323
22558
  },
21324
- "exec_date": {
22559
+ "number": {
21325
22560
  "type": "string",
21326
- "description": "Date when the transfer will be operated by the bank",
21327
- "format": "date"
22561
+ "description": "Account number"
21328
22562
  },
21329
- "register_date": {
22563
+ "original_name": {
21330
22564
  "type": "string",
21331
- "description": "Date when the transfer has been registered",
21332
- "format": "date-time"
22565
+ "description": "Original name of the account on the bank"
21333
22566
  },
21334
- "amount": {
22567
+ "balance": {
21335
22568
  "type": "number",
21336
- "description": "Amount of the transfer",
22569
+ "description": "Balance of the account",
21337
22570
  "format": "float"
21338
22571
  },
21339
- "fees": {
22572
+ "coming": {
22573
+ "default": 0,
21340
22574
  "type": "number",
21341
- "description": "Fees taken by the bank",
22575
+ "description": "Amount of coming operations not yet debited",
21342
22576
  "format": "float"
21343
22577
  },
21344
- "webid": {
21345
- "type": "string",
21346
- "description": "WebID of the transfer"
22578
+ "display": {
22579
+ "default": true,
22580
+ "type": "boolean",
22581
+ "description": "Display this account in accounts list"
21347
22582
  },
21348
- "state": {
22583
+ "last_update": {
21349
22584
  "type": "string",
21350
- "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
21351
- },
21352
- "error": {
21353
- "type": "string",
21354
- "description": "Error message during transfer, if any"
21355
- },
21356
- "label": {
21357
- "type": "string",
21358
- "description": "Label of the transfer"
21359
- },
21360
- "account_balance": {
21361
- "type": "number",
21362
- "description": "Balance of the account just before the transfer",
21363
- "format": "float"
21364
- },
21365
- "id_transaction": {
21366
- "type": "integer",
21367
- "description": "If found, ID of the related transaction"
21368
- },
21369
- "currency": {
21370
- "type": "object",
21371
- "description": "Currency of the object"
21372
- }
21373
- },
21374
- "example": {
21375
- "id": 0,
21376
- "id_account": 0,
21377
- "id_recipient": 0,
21378
- "account_iban": "",
21379
- "recipient_iban": "",
21380
- "exec_date": "2018-09-19",
21381
- "register_date": "2018-09-19 10:44:12.516705",
21382
- "amount": 0,
21383
- "fees": 0,
21384
- "webid": "",
21385
- "state": "",
21386
- "error": "",
21387
- "label": "",
21388
- "account_balance": 0,
21389
- "id_transaction": 0,
21390
- "currency": ""
21391
- }
21392
- },
21393
- "Account": {
21394
- "required": [
21395
- "id",
21396
- "id_user",
21397
- "original_name",
21398
- "balance",
21399
- "display",
21400
- "bookmarked"
21401
- ],
21402
- "type": "object",
21403
- "properties": {
21404
- "id": {
21405
- "type": "integer",
21406
- "description": "ID of the account"
21407
- },
21408
- "id_connection": {
21409
- "type": "integer",
21410
- "description": "ID of the related connection"
21411
- },
21412
- "id_user": {
21413
- "type": "integer",
21414
- "description": "ID of the related user"
21415
- },
21416
- "id_parent": {
21417
- "type": "integer",
21418
- "description": "Id of the parent account"
21419
- },
21420
- "number": {
21421
- "type": "string",
21422
- "description": "Account number"
21423
- },
21424
- "original_name": {
21425
- "type": "string",
21426
- "description": "Original name of the account on the bank"
21427
- },
21428
- "balance": {
21429
- "type": "number",
21430
- "description": "Balance of the account",
21431
- "format": "float"
21432
- },
21433
- "coming": {
21434
- "default": 0,
21435
- "type": "number",
21436
- "description": "Amount of coming operations not yet debited",
21437
- "format": "float"
21438
- },
21439
- "display": {
21440
- "default": true,
21441
- "type": "boolean",
21442
- "description": "Display this account in accounts list"
21443
- },
21444
- "last_update": {
21445
- "type": "string",
21446
- "description": "Last successful update of the account",
21447
- "format": "date-time"
22585
+ "description": "Last successful update of the account",
22586
+ "format": "date-time"
21448
22587
  },
21449
22588
  "deleted": {
21450
22589
  "type": "string",
@@ -21481,9 +22620,19 @@
21481
22620
  "type": "string",
21482
22621
  "description": "Name of the account"
21483
22622
  },
22623
+ "transactions": {
22624
+ "type": "array",
22625
+ "items": {
22626
+ "$ref": "#/definitions/Transaction"
22627
+ }
22628
+ },
21484
22629
  "error": {
21485
22630
  "type": "string",
21486
22631
  "description": "If the last update has failed, the error code"
22632
+ },
22633
+ "usage": {
22634
+ "type": "string",
22635
+ "description": "Account usage"
21487
22636
  }
21488
22637
  },
21489
22638
  "example": {
@@ -21496,15 +22645,76 @@
21496
22645
  "balance": 0,
21497
22646
  "coming": 0,
21498
22647
  "display": true,
21499
- "last_update": "2018-09-19 10:44:12.520118",
21500
- "deleted": "2018-09-19 10:44:12.520178",
21501
- "disabled": "2018-09-19 10:44:12.520235",
22648
+ "last_update": "2019-03-12 13:08:00.808463",
22649
+ "deleted": "2019-03-12 13:08:00.808560",
22650
+ "disabled": "2019-03-12 13:08:00.808639",
21502
22651
  "iban": "",
21503
22652
  "currency": "",
21504
22653
  "id_type": 0,
21505
22654
  "bookmarked": false,
21506
22655
  "name": "",
21507
- "error": ""
22656
+ "error": "",
22657
+ "usage": ""
22658
+ }
22659
+ },
22660
+ "Project": {
22661
+ "required": [
22662
+ "id",
22663
+ "id_user",
22664
+ "id_type",
22665
+ "name",
22666
+ "target",
22667
+ "saved",
22668
+ "monthly_savings",
22669
+ "comment",
22670
+ "active"
22671
+ ],
22672
+ "type": "object",
22673
+ "properties": {
22674
+ "id": {
22675
+ "type": "integer"
22676
+ },
22677
+ "id_user": {
22678
+ "type": "integer"
22679
+ },
22680
+ "id_type": {
22681
+ "type": "integer"
22682
+ },
22683
+ "name": {
22684
+ "type": "string"
22685
+ },
22686
+ "target": {
22687
+ "type": "number",
22688
+ "format": "float"
22689
+ },
22690
+ "saved": {
22691
+ "default": 0,
22692
+ "type": "number",
22693
+ "format": "float"
22694
+ },
22695
+ "monthly_savings": {
22696
+ "type": "number",
22697
+ "format": "float"
22698
+ },
22699
+ "comment": {
22700
+ "default": "",
22701
+ "type": "string"
22702
+ },
22703
+ "active": {
22704
+ "default": true,
22705
+ "type": "boolean"
22706
+ }
22707
+ },
22708
+ "example": {
22709
+ "id": 0,
22710
+ "id_user": 0,
22711
+ "id_type": 0,
22712
+ "name": "",
22713
+ "target": 0,
22714
+ "saved": 0,
22715
+ "monthly_savings": 0,
22716
+ "comment": "",
22717
+ "active": true
21508
22718
  }
21509
22719
  },
21510
22720
  "Device": {
@@ -21554,6 +22764,113 @@
21554
22764
  "debug": false
21555
22765
  }
21556
22766
  },
22767
+ "Pocket": {
22768
+ "required": [
22769
+ "id",
22770
+ "id_account",
22771
+ "id_investment",
22772
+ "value",
22773
+ "condition"
22774
+ ],
22775
+ "type": "object",
22776
+ "properties": {
22777
+ "id": {
22778
+ "type": "integer",
22779
+ "description": "ID of the pocket"
22780
+ },
22781
+ "id_account": {
22782
+ "type": "integer",
22783
+ "description": "ID of the related account"
22784
+ },
22785
+ "id_investment": {
22786
+ "type": "integer",
22787
+ "description": "ID of the related investment"
22788
+ },
22789
+ "label": {
22790
+ "type": "string",
22791
+ "description": "Label of the pocket"
22792
+ },
22793
+ "value": {
22794
+ "type": "number",
22795
+ "description": "Value of the pocket",
22796
+ "format": "float"
22797
+ },
22798
+ "quantity": {
22799
+ "default": 0,
22800
+ "type": "number",
22801
+ "description": "Quantity of stocks",
22802
+ "format": "float"
22803
+ },
22804
+ "availability_date": {
22805
+ "type": "string",
22806
+ "description": "Availability date of the pocket",
22807
+ "format": "date"
22808
+ },
22809
+ "condition": {
22810
+ "default": "inconnu",
22811
+ "type": "string",
22812
+ "description": "Withdrawal condition of the pocket"
22813
+ },
22814
+ "last_update": {
22815
+ "type": "string",
22816
+ "description": "Last update of the pocket",
22817
+ "format": "date-time"
22818
+ },
22819
+ "deleted": {
22820
+ "type": "string",
22821
+ "description": "If set, this pocket has been removed from the website",
22822
+ "format": "date-time"
22823
+ }
22824
+ },
22825
+ "example": {
22826
+ "id": 0,
22827
+ "id_account": 0,
22828
+ "id_investment": 0,
22829
+ "label": "",
22830
+ "value": 0,
22831
+ "quantity": 0,
22832
+ "availability_date": "2019-03-12",
22833
+ "condition": "inconnu",
22834
+ "last_update": "2019-03-12 13:08:00.817603",
22835
+ "deleted": "2019-03-12 13:08:00.817684"
22836
+ }
22837
+ },
22838
+ "Invite": {
22839
+ "required": [
22840
+ "id",
22841
+ "id_user_inviting"
22842
+ ],
22843
+ "type": "object",
22844
+ "properties": {
22845
+ "id": {
22846
+ "type": "integer"
22847
+ },
22848
+ "id_unsubscribe": {
22849
+ "type": "integer"
22850
+ },
22851
+ "id_user_inviting": {
22852
+ "type": "integer"
22853
+ },
22854
+ "id_user_invited": {
22855
+ "type": "integer"
22856
+ },
22857
+ "email_invited": {
22858
+ "type": "string"
22859
+ },
22860
+ "timestamp": {
22861
+ "type": "string",
22862
+ "format": "date-time"
22863
+ }
22864
+ },
22865
+ "example": {
22866
+ "id": 0,
22867
+ "id_unsubscribe": 0,
22868
+ "id_user_inviting": 0,
22869
+ "id_user_invited": 0,
22870
+ "email_invited": "",
22871
+ "timestamp": "2019-03-12 13:08:00.818970"
22872
+ }
22873
+ },
21557
22874
  "Alert": {
21558
22875
  "required": [
21559
22876
  "id",
@@ -21610,6 +22927,96 @@
21610
22927
  "id_investment": 0
21611
22928
  }
21612
22929
  },
22930
+ "Group": {
22931
+ "required": [
22932
+ "id"
22933
+ ],
22934
+ "type": "object",
22935
+ "properties": {
22936
+ "id": {
22937
+ "type": "integer"
22938
+ },
22939
+ "id_parent_group": {
22940
+ "type": "integer"
22941
+ },
22942
+ "id_logo": {
22943
+ "type": "integer"
22944
+ },
22945
+ "name": {
22946
+ "type": "string"
22947
+ },
22948
+ "url": {
22949
+ "type": "string"
22950
+ },
22951
+ "color": {
22952
+ "type": "string"
22953
+ },
22954
+ "email": {
22955
+ "type": "string"
22956
+ },
22957
+ "conf": {
22958
+ "type": "string"
22959
+ }
22960
+ },
22961
+ "example": {
22962
+ "id": 0,
22963
+ "id_parent_group": 0,
22964
+ "id_logo": 0,
22965
+ "name": "",
22966
+ "url": "",
22967
+ "color": "",
22968
+ "email": "",
22969
+ "conf": ""
22970
+ }
22971
+ },
22972
+ "TransferLog": {
22973
+ "required": [
22974
+ "id",
22975
+ "timestamp"
22976
+ ],
22977
+ "type": "object",
22978
+ "properties": {
22979
+ "id": {
22980
+ "type": "integer",
22981
+ "description": "ID of the transfer log entry"
22982
+ },
22983
+ "id_transfer": {
22984
+ "type": "integer",
22985
+ "description": "ID of the related transfer"
22986
+ },
22987
+ "id_file": {
22988
+ "type": "integer",
22989
+ "description": "ID of the related file"
22990
+ },
22991
+ "request_data": {
22992
+ "type": "string",
22993
+ "description": "Data stored related to user who has requested the transfer"
22994
+ },
22995
+ "state": {
22996
+ "type": "string",
22997
+ "description": "State of the transfer (created, scheduled, validating, pending, done, canceled, error, bug)"
22998
+ },
22999
+ "error": {
23000
+ "type": "string",
23001
+ "description": "Error message during transfer, if any"
23002
+ },
23003
+ "timestamp": {
23004
+ "default": "CURRENT_TIMESTAMP",
23005
+ "type": "string",
23006
+ "description": "Timestamp of the log",
23007
+ "format": "date-time"
23008
+ }
23009
+ },
23010
+ "example": {
23011
+ "id": 0,
23012
+ "id_transfer": 0,
23013
+ "id_file": 0,
23014
+ "request_data": "",
23015
+ "state": "",
23016
+ "error": "",
23017
+ "timestamp": "CURRENT_TIMESTAMP"
23018
+ }
23019
+ },
21613
23020
  "TransactionInformation": {
21614
23021
  "required": [
21615
23022
  "id",
@@ -21682,12 +23089,60 @@
21682
23089
  "example": {
21683
23090
  "id": 0,
21684
23091
  "id_investment": 0,
21685
- "vdate": "2018-09-19",
23092
+ "vdate": "2019-03-12",
21686
23093
  "unitvalue": 0,
21687
23094
  "original_currency": "",
21688
23095
  "original_unitvalue": 0
21689
23096
  }
21690
23097
  },
23098
+ "RecipientLog": {
23099
+ "required": [
23100
+ "id",
23101
+ "timestamp"
23102
+ ],
23103
+ "type": "object",
23104
+ "properties": {
23105
+ "id": {
23106
+ "type": "integer",
23107
+ "description": "ID of the transfer log entry"
23108
+ },
23109
+ "id_recipient": {
23110
+ "type": "integer",
23111
+ "description": "ID of the related recipient"
23112
+ },
23113
+ "id_file": {
23114
+ "type": "integer",
23115
+ "description": "ID of the related file"
23116
+ },
23117
+ "request_data": {
23118
+ "type": "string",
23119
+ "description": "Data stored related to user who has requested the recipient addition"
23120
+ },
23121
+ "step": {
23122
+ "type": "string",
23123
+ "description": "Step of recipient addition, (add_recipient, asking_field, recipient addition validated, creation, storing_files)"
23124
+ },
23125
+ "error": {
23126
+ "type": "string",
23127
+ "description": "Error message during recipient addition, if any"
23128
+ },
23129
+ "timestamp": {
23130
+ "default": "CURRENT_TIMESTAMP",
23131
+ "type": "string",
23132
+ "description": "Timestamp of the log",
23133
+ "format": "date-time"
23134
+ }
23135
+ },
23136
+ "example": {
23137
+ "id": 0,
23138
+ "id_recipient": 0,
23139
+ "id_file": 0,
23140
+ "request_data": "",
23141
+ "step": "",
23142
+ "error": "",
23143
+ "timestamp": "CURRENT_TIMESTAMP"
23144
+ }
23145
+ },
21691
23146
  "AccountLog": {
21692
23147
  "required": [
21693
23148
  "id_account",
@@ -21700,7 +23155,7 @@
21700
23155
  "type": "integer",
21701
23156
  "description": "ID of the related account"
21702
23157
  },
21703
- "id_bank": {
23158
+ "id_connector": {
21704
23159
  "type": "integer",
21705
23160
  "description": "provider id"
21706
23161
  },
@@ -21729,20 +23184,20 @@
21729
23184
  "type": "string",
21730
23185
  "description": "If fail, error message received from bank or provider"
21731
23186
  },
21732
- "id_connection": {
23187
+ "id_connection_log": {
21733
23188
  "type": "integer",
21734
- "description": "ID of the related connection"
23189
+ "description": "ID of the related connection log"
21735
23190
  }
21736
23191
  },
21737
23192
  "example": {
21738
23193
  "id_account": 0,
21739
- "id_bank": 0,
23194
+ "id_connector": 0,
21740
23195
  "balance": 0,
21741
23196
  "coming": 0,
21742
23197
  "timestamp": "CURRENT_TIMESTAMP",
21743
23198
  "error": "",
21744
23199
  "error_message": "",
21745
- "id_connection": 0
23200
+ "id_connection_log": 0
21746
23201
  }
21747
23202
  },
21748
23203
  "Currency": {
@@ -21765,15 +23220,39 @@
21765
23220
  "default": false,
21766
23221
  "type": "boolean",
21767
23222
  "description": "Amount is prefixed or not by the currency"
23223
+ },
23224
+ "crypto": {
23225
+ "default": false,
23226
+ "type": "boolean",
23227
+ "description": "It is a crypto currency or not"
23228
+ },
23229
+ "precision": {
23230
+ "default": 2,
23231
+ "type": "integer",
23232
+ "description": "Numbers of significant digits"
23233
+ },
23234
+ "marketcap": {
23235
+ "type": "number",
23236
+ "description": "Market Capitalization in EUR",
23237
+ "format": "float"
23238
+ },
23239
+ "datetime": {
23240
+ "type": "string",
23241
+ "description": "Time and date of Market Cap (for cryptos)",
23242
+ "format": "date-time"
21768
23243
  }
21769
23244
  },
21770
23245
  "example": {
21771
23246
  "id": "",
21772
23247
  "symbol": "",
21773
- "prefix": false
23248
+ "prefix": false,
23249
+ "crypto": false,
23250
+ "precision": 2,
23251
+ "marketcap": 0,
23252
+ "datetime": "2019-03-12 13:08:01.124343"
21774
23253
  }
21775
23254
  },
21776
- "BankCategory": {
23255
+ "ConnectorCategory": {
21777
23256
  "required": [
21778
23257
  "id",
21779
23258
  "name"
@@ -21895,6 +23374,14 @@
21895
23374
  }
21896
23375
  ],
21897
23376
  "x-servers": [
23377
+ {
23378
+ "url": "https://cashbee-local-sandbox.biapi.pro/2.0",
23379
+ "description": "cashbee-local-sandbox.biapi.pro"
23380
+ },
23381
+ {
23382
+ "url": "https://cashbee-mordor-sandbox.biapi.pro/2.0",
23383
+ "description": "cashbee-mordor-sandbox.biapi.pro"
23384
+ },
21898
23385
  {
21899
23386
  "url": "https://cashbee-sandbox.biapi.pro/2.0",
21900
23387
  "description": "cashbee-sandbox.biapi.pro"