budgea_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +89 -0
  4. data/README.md +619 -0
  5. data/Rakefile +13 -0
  6. data/budgea_client.gemspec +35 -0
  7. data/docs/Access.md +12 -0
  8. data/docs/Account.md +25 -0
  9. data/docs/AccountLog.md +15 -0
  10. data/docs/AccountType.md +15 -0
  11. data/docs/AdministrationApi.md +944 -0
  12. data/docs/Alert.md +15 -0
  13. data/docs/AuthenticationApi.md +398 -0
  14. data/docs/Bank.md +18 -0
  15. data/docs/BankCategory.md +9 -0
  16. data/docs/BanksApi.md +6558 -0
  17. data/docs/Category.md +17 -0
  18. data/docs/Client.md +18 -0
  19. data/docs/Connection.md +16 -0
  20. data/docs/ConnectionContact.md +17 -0
  21. data/docs/ConnectionLog.md +21 -0
  22. data/docs/ConnectionsApi.md +934 -0
  23. data/docs/ConnectorLogo.md +11 -0
  24. data/docs/Currency.md +10 -0
  25. data/docs/Device.md +14 -0
  26. data/docs/Document.md +29 -0
  27. data/docs/DocumentType.md +10 -0
  28. data/docs/DocumentsApi.md +5228 -0
  29. data/docs/Field.md +15 -0
  30. data/docs/File.md +11 -0
  31. data/docs/Group.md +15 -0
  32. data/docs/HashTable.md +11 -0
  33. data/docs/InlineResponse200.md +8 -0
  34. data/docs/InlineResponse2001.md +9 -0
  35. data/docs/InlineResponse20010.md +8 -0
  36. data/docs/InlineResponse20011.md +8 -0
  37. data/docs/InlineResponse20012.md +8 -0
  38. data/docs/InlineResponse20013.md +8 -0
  39. data/docs/InlineResponse20014.md +8 -0
  40. data/docs/InlineResponse20015.md +8 -0
  41. data/docs/InlineResponse20016.md +8 -0
  42. data/docs/InlineResponse20017.md +8 -0
  43. data/docs/InlineResponse20018.md +8 -0
  44. data/docs/InlineResponse20019.md +8 -0
  45. data/docs/InlineResponse2002.md +10 -0
  46. data/docs/InlineResponse20020.md +8 -0
  47. data/docs/InlineResponse20021.md +8 -0
  48. data/docs/InlineResponse20022.md +8 -0
  49. data/docs/InlineResponse20023.md +8 -0
  50. data/docs/InlineResponse20024.md +8 -0
  51. data/docs/InlineResponse20025.md +8 -0
  52. data/docs/InlineResponse20026.md +8 -0
  53. data/docs/InlineResponse20027.md +8 -0
  54. data/docs/InlineResponse20028.md +8 -0
  55. data/docs/InlineResponse20029.md +8 -0
  56. data/docs/InlineResponse2003.md +10 -0
  57. data/docs/InlineResponse20030.md +8 -0
  58. data/docs/InlineResponse20031.md +8 -0
  59. data/docs/InlineResponse20032.md +8 -0
  60. data/docs/InlineResponse20033.md +8 -0
  61. data/docs/InlineResponse2004.md +12 -0
  62. data/docs/InlineResponse2005.md +9 -0
  63. data/docs/InlineResponse2006.md +10 -0
  64. data/docs/InlineResponse2007.md +8 -0
  65. data/docs/InlineResponse2008.md +8 -0
  66. data/docs/InlineResponse2009.md +8 -0
  67. data/docs/Investment.md +32 -0
  68. data/docs/InvestmentValue.md +13 -0
  69. data/docs/Invite.md +13 -0
  70. data/docs/LockedUser.md +10 -0
  71. data/docs/OCRApi.md +117 -0
  72. data/docs/OIDCApi.md +167 -0
  73. data/docs/OidcWhitelist.md +9 -0
  74. data/docs/PFMApi.md +2204 -0
  75. data/docs/Pocket.md +17 -0
  76. data/docs/Profile.md +15 -0
  77. data/docs/Project.md +16 -0
  78. data/docs/ProjectType.md +10 -0
  79. data/docs/ProvidersApi.md +7014 -0
  80. data/docs/Recipient.md +22 -0
  81. data/docs/RecipientsApi.md +244 -0
  82. data/docs/Security.md +12 -0
  83. data/docs/Subscription.md +18 -0
  84. data/docs/TermsApi.md +218 -0
  85. data/docs/TermsOfService.md +12 -0
  86. data/docs/Transaction.md +33 -0
  87. data/docs/TransactionInformation.md +11 -0
  88. data/docs/TransactionsCluster.md +16 -0
  89. data/docs/Transfer.md +23 -0
  90. data/docs/TransfersApi.md +2404 -0
  91. data/docs/User.md +10 -0
  92. data/docs/UserAlert.md +21 -0
  93. data/docs/UsersManagementApi.md +608 -0
  94. data/docs/WealthApi.md +828 -0
  95. data/docs/Webhook.md +15 -0
  96. data/git_push.sh +55 -0
  97. data/lib/budgea_client.rb +118 -0
  98. data/lib/budgea_client/api/administration_api.rb +1059 -0
  99. data/lib/budgea_client/api/authentication_api.rb +467 -0
  100. data/lib/budgea_client/api/banks_api.rb +7837 -0
  101. data/lib/budgea_client/api/connections_api.rb +1088 -0
  102. data/lib/budgea_client/api/documents_api.rb +6637 -0
  103. data/lib/budgea_client/api/ocr_api.rb +141 -0
  104. data/lib/budgea_client/api/oidc_api.rb +195 -0
  105. data/lib/budgea_client/api/pfm_api.rb +2630 -0
  106. data/lib/budgea_client/api/providers_api.rb +8694 -0
  107. data/lib/budgea_client/api/recipients_api.rb +293 -0
  108. data/lib/budgea_client/api/terms_api.rb +245 -0
  109. data/lib/budgea_client/api/transfers_api.rb +2941 -0
  110. data/lib/budgea_client/api/users_management_api.rb +695 -0
  111. data/lib/budgea_client/api/wealth_api.rb +994 -0
  112. data/lib/budgea_client/api_client.rb +378 -0
  113. data/lib/budgea_client/api_error.rb +28 -0
  114. data/lib/budgea_client/configuration.rb +192 -0
  115. data/lib/budgea_client/models/access.rb +224 -0
  116. data/lib/budgea_client/models/account.rb +383 -0
  117. data/lib/budgea_client/models/account_log.rb +266 -0
  118. data/lib/budgea_client/models/account_type.rb +281 -0
  119. data/lib/budgea_client/models/alert.rb +273 -0
  120. data/lib/budgea_client/models/bank.rb +308 -0
  121. data/lib/budgea_client/models/bank_category.rb +201 -0
  122. data/lib/budgea_client/models/category.rb +299 -0
  123. data/lib/budgea_client/models/client.rb +305 -0
  124. data/lib/budgea_client/models/connection.rb +276 -0
  125. data/lib/budgea_client/models/connection_contact.rb +274 -0
  126. data/lib/budgea_client/models/connection_log.rb +324 -0
  127. data/lib/budgea_client/models/connector_logo.rb +223 -0
  128. data/lib/budgea_client/models/currency.rb +216 -0
  129. data/lib/budgea_client/models/device.rb +269 -0
  130. data/lib/budgea_client/models/document.rb +398 -0
  131. data/lib/budgea_client/models/document_type.rb +213 -0
  132. data/lib/budgea_client/models/field.rb +273 -0
  133. data/lib/budgea_client/models/file.rb +225 -0
  134. data/lib/budgea_client/models/group.rb +246 -0
  135. data/lib/budgea_client/models/hash_table.rb +227 -0
  136. data/lib/budgea_client/models/inline_response_200.rb +185 -0
  137. data/lib/budgea_client/models/inline_response_200_1.rb +199 -0
  138. data/lib/budgea_client/models/inline_response_200_10.rb +185 -0
  139. data/lib/budgea_client/models/inline_response_200_11.rb +185 -0
  140. data/lib/budgea_client/models/inline_response_200_12.rb +185 -0
  141. data/lib/budgea_client/models/inline_response_200_13.rb +185 -0
  142. data/lib/budgea_client/models/inline_response_200_14.rb +185 -0
  143. data/lib/budgea_client/models/inline_response_200_15.rb +185 -0
  144. data/lib/budgea_client/models/inline_response_200_16.rb +185 -0
  145. data/lib/budgea_client/models/inline_response_200_17.rb +185 -0
  146. data/lib/budgea_client/models/inline_response_200_18.rb +185 -0
  147. data/lib/budgea_client/models/inline_response_200_19.rb +185 -0
  148. data/lib/budgea_client/models/inline_response_200_2.rb +209 -0
  149. data/lib/budgea_client/models/inline_response_200_20.rb +185 -0
  150. data/lib/budgea_client/models/inline_response_200_21.rb +185 -0
  151. data/lib/budgea_client/models/inline_response_200_22.rb +185 -0
  152. data/lib/budgea_client/models/inline_response_200_23.rb +185 -0
  153. data/lib/budgea_client/models/inline_response_200_24.rb +185 -0
  154. data/lib/budgea_client/models/inline_response_200_25.rb +185 -0
  155. data/lib/budgea_client/models/inline_response_200_26.rb +185 -0
  156. data/lib/budgea_client/models/inline_response_200_27.rb +185 -0
  157. data/lib/budgea_client/models/inline_response_200_28.rb +185 -0
  158. data/lib/budgea_client/models/inline_response_200_29.rb +185 -0
  159. data/lib/budgea_client/models/inline_response_200_3.rb +214 -0
  160. data/lib/budgea_client/models/inline_response_200_30.rb +185 -0
  161. data/lib/budgea_client/models/inline_response_200_31.rb +185 -0
  162. data/lib/budgea_client/models/inline_response_200_32.rb +185 -0
  163. data/lib/budgea_client/models/inline_response_200_33.rb +185 -0
  164. data/lib/budgea_client/models/inline_response_200_4.rb +239 -0
  165. data/lib/budgea_client/models/inline_response_200_5.rb +199 -0
  166. data/lib/budgea_client/models/inline_response_200_6.rb +214 -0
  167. data/lib/budgea_client/models/inline_response_200_7.rb +185 -0
  168. data/lib/budgea_client/models/inline_response_200_8.rb +185 -0
  169. data/lib/budgea_client/models/inline_response_200_9.rb +185 -0
  170. data/lib/budgea_client/models/investment.rb +449 -0
  171. data/lib/budgea_client/models/investment_value.rb +249 -0
  172. data/lib/budgea_client/models/invite.rb +233 -0
  173. data/lib/budgea_client/models/locked_user.rb +206 -0
  174. data/lib/budgea_client/models/oidc_whitelist.rb +198 -0
  175. data/lib/budgea_client/models/pocket.rb +298 -0
  176. data/lib/budgea_client/models/profile.rb +308 -0
  177. data/lib/budgea_client/models/project.rb +301 -0
  178. data/lib/budgea_client/models/project_type.rb +206 -0
  179. data/lib/budgea_client/models/recipient.rb +343 -0
  180. data/lib/budgea_client/models/security.rb +229 -0
  181. data/lib/budgea_client/models/subscription.rb +299 -0
  182. data/lib/budgea_client/models/terms_of_service.rb +229 -0
  183. data/lib/budgea_client/models/transaction.rb +507 -0
  184. data/lib/budgea_client/models/transaction_information.rb +224 -0
  185. data/lib/budgea_client/models/transactions_cluster.rb +277 -0
  186. data/lib/budgea_client/models/transfer.rb +354 -0
  187. data/lib/budgea_client/models/user.rb +244 -0
  188. data/lib/budgea_client/models/user_alert.rb +333 -0
  189. data/lib/budgea_client/models/webhook.rb +264 -0
  190. data/lib/budgea_client/version.rb +5 -0
  191. data/pkg/budgea_client-1.0.0.gem +0 -0
  192. data/spec/api/administration_api_spec.rb +271 -0
  193. data/spec/api/authentication_api_spec.rb +126 -0
  194. data/spec/api/banks_api_spec.rb +1787 -0
  195. data/spec/api/connections_api_spec.rb +279 -0
  196. data/spec/api/documents_api_spec.rb +1557 -0
  197. data/spec/api/ocr_api_spec.rb +54 -0
  198. data/spec/api/oidc_api_spec.rb +65 -0
  199. data/spec/api/pfm_api_spec.rb +613 -0
  200. data/spec/api/providers_api_spec.rb +2029 -0
  201. data/spec/api/recipients_api_spec.rb +89 -0
  202. data/spec/api/terms_api_spec.rb +79 -0
  203. data/spec/api/transfers_api_spec.rb +661 -0
  204. data/spec/api/users_management_api_spec.rb +177 -0
  205. data/spec/api/wealth_api_spec.rb +246 -0
  206. data/spec/api_client_spec.rb +216 -0
  207. data/spec/configuration_spec.rb +32 -0
  208. data/spec/models/access_spec.rb +56 -0
  209. data/spec/models/account_log_spec.rb +74 -0
  210. data/spec/models/account_spec.rb +134 -0
  211. data/spec/models/account_type_spec.rb +74 -0
  212. data/spec/models/alert_spec.rb +74 -0
  213. data/spec/models/bank_category_spec.rb +38 -0
  214. data/spec/models/bank_spec.rb +92 -0
  215. data/spec/models/category_spec.rb +86 -0
  216. data/spec/models/client_spec.rb +92 -0
  217. data/spec/models/connection_contact_spec.rb +86 -0
  218. data/spec/models/connection_log_spec.rb +110 -0
  219. data/spec/models/connection_spec.rb +80 -0
  220. data/spec/models/connector_logo_spec.rb +50 -0
  221. data/spec/models/currency_spec.rb +44 -0
  222. data/spec/models/device_spec.rb +68 -0
  223. data/spec/models/document_spec.rb +158 -0
  224. data/spec/models/document_type_spec.rb +44 -0
  225. data/spec/models/field_spec.rb +74 -0
  226. data/spec/models/file_spec.rb +50 -0
  227. data/spec/models/group_spec.rb +74 -0
  228. data/spec/models/hash_table_spec.rb +50 -0
  229. data/spec/models/inline_response_200_10_spec.rb +32 -0
  230. data/spec/models/inline_response_200_11_spec.rb +32 -0
  231. data/spec/models/inline_response_200_12_spec.rb +32 -0
  232. data/spec/models/inline_response_200_13_spec.rb +32 -0
  233. data/spec/models/inline_response_200_14_spec.rb +32 -0
  234. data/spec/models/inline_response_200_15_spec.rb +32 -0
  235. data/spec/models/inline_response_200_16_spec.rb +32 -0
  236. data/spec/models/inline_response_200_17_spec.rb +32 -0
  237. data/spec/models/inline_response_200_18_spec.rb +32 -0
  238. data/spec/models/inline_response_200_19_spec.rb +32 -0
  239. data/spec/models/inline_response_200_1_spec.rb +38 -0
  240. data/spec/models/inline_response_200_20_spec.rb +32 -0
  241. data/spec/models/inline_response_200_21_spec.rb +32 -0
  242. data/spec/models/inline_response_200_22_spec.rb +32 -0
  243. data/spec/models/inline_response_200_23_spec.rb +32 -0
  244. data/spec/models/inline_response_200_24_spec.rb +32 -0
  245. data/spec/models/inline_response_200_25_spec.rb +32 -0
  246. data/spec/models/inline_response_200_26_spec.rb +32 -0
  247. data/spec/models/inline_response_200_27_spec.rb +32 -0
  248. data/spec/models/inline_response_200_28_spec.rb +32 -0
  249. data/spec/models/inline_response_200_29_spec.rb +32 -0
  250. data/spec/models/inline_response_200_2_spec.rb +44 -0
  251. data/spec/models/inline_response_200_30_spec.rb +32 -0
  252. data/spec/models/inline_response_200_31_spec.rb +32 -0
  253. data/spec/models/inline_response_200_32_spec.rb +32 -0
  254. data/spec/models/inline_response_200_33_spec.rb +32 -0
  255. data/spec/models/inline_response_200_3_spec.rb +44 -0
  256. data/spec/models/inline_response_200_4_spec.rb +56 -0
  257. data/spec/models/inline_response_200_5_spec.rb +38 -0
  258. data/spec/models/inline_response_200_6_spec.rb +44 -0
  259. data/spec/models/inline_response_200_7_spec.rb +32 -0
  260. data/spec/models/inline_response_200_8_spec.rb +32 -0
  261. data/spec/models/inline_response_200_9_spec.rb +32 -0
  262. data/spec/models/inline_response_200_spec.rb +32 -0
  263. data/spec/models/investment_spec.rb +176 -0
  264. data/spec/models/investment_value_spec.rb +62 -0
  265. data/spec/models/invite_spec.rb +62 -0
  266. data/spec/models/locked_user_spec.rb +44 -0
  267. data/spec/models/oidc_whitelist_spec.rb +38 -0
  268. data/spec/models/pocket_spec.rb +86 -0
  269. data/spec/models/profile_spec.rb +78 -0
  270. data/spec/models/project_spec.rb +80 -0
  271. data/spec/models/project_type_spec.rb +44 -0
  272. data/spec/models/recipient_spec.rb +116 -0
  273. data/spec/models/security_spec.rb +56 -0
  274. data/spec/models/subscription_spec.rb +92 -0
  275. data/spec/models/terms_of_service_spec.rb +56 -0
  276. data/spec/models/transaction_information_spec.rb +50 -0
  277. data/spec/models/transaction_spec.rb +182 -0
  278. data/spec/models/transactions_cluster_spec.rb +80 -0
  279. data/spec/models/transfer_spec.rb +122 -0
  280. data/spec/models/user_alert_spec.rb +110 -0
  281. data/spec/models/user_spec.rb +48 -0
  282. data/spec/models/webhook_spec.rb +74 -0
  283. data/spec/spec_helper.rb +51 -0
  284. metadata +599 -0
@@ -0,0 +1,22 @@
1
+ # BudgeaClient::Recipient
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | ID of the recipient |
7
+ **id_account** | **Integer** | ID of the related account |
8
+ **id_target_account** | **Integer** | ID of the target account, in case of internal recipient | [optional]
9
+ **label** | **String** | Label of the recipient |
10
+ **bank_name** | **String** | Bank of the recipient | [optional]
11
+ **iban** | **String** | IBAN of the recipient | [optional]
12
+ **webid** | **String** | Webid of the recipient | [optional]
13
+ **category** | **String** | Category in which the recipient is |
14
+ **last_update** | **DateTime** | Last time we have fetched this recipient |
15
+ **time_scraped** | **DateTime** | First time we've seen this recipient | [optional]
16
+ **deleted** | **DateTime** | The recipient isn't found anymore on the bank | [optional]
17
+ **expire** | **DateTime** | | [optional]
18
+ **enabled_at** | **DateTime** | It will be possible to do transfers to this recipient at this date | [optional]
19
+ **add_verified** | **BOOLEAN** | Was the recipient adding authorized | [optional]
20
+ **currency** | **Object** | Currency of the object | [optional]
21
+
22
+
@@ -0,0 +1,244 @@
1
+ # BudgeaClient::RecipientsApi
2
+
3
+ All URIs are relative to *https://demo.biapi.pro/2.0/*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**users_id_user_accounts_id_account_recipients_post**](RecipientsApi.md#users_id_user_accounts_id_account_recipients_post) | **POST** /users/{id_user}/accounts/{id_account}/recipients | Add a recipient.
8
+ [**users_id_user_connections_id_connection_accounts_id_account_recipients_post**](RecipientsApi.md#users_id_user_connections_id_connection_accounts_id_account_recipients_post) | **POST** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/recipients | Add a recipient.
9
+ [**users_id_user_connections_id_connection_recipients_post**](RecipientsApi.md#users_id_user_connections_id_connection_recipients_post) | **POST** /users/{id_user}/connections/{id_connection}/recipients | Add a recipient.
10
+ [**users_id_user_recipients_post**](RecipientsApi.md#users_id_user_recipients_post) | **POST** /users/{id_user}/recipients | Add a recipient.
11
+
12
+
13
+ # **users_id_user_accounts_id_account_recipients_post**
14
+ > Recipient users_id_user_accounts_id_account_recipients_post(id_user, id_account, opts)
15
+
16
+ Add a recipient.
17
+
18
+
19
+
20
+ ### Example
21
+ ```ruby
22
+ # load the gem
23
+ require 'budgea_client'
24
+
25
+ api_instance = BudgeaClient::RecipientsApi.new
26
+
27
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
28
+
29
+ id_account = 56 # Integer |
30
+
31
+ opts = {
32
+ label: "label_example", # String | label of recipient
33
+ iban: "iban_example", # String | iban of recipient
34
+ expand: "expand_example" # String |
35
+ }
36
+
37
+ begin
38
+ #Add a recipient.
39
+ result = api_instance.users_id_user_accounts_id_account_recipients_post(id_user, id_account, opts)
40
+ p result
41
+ rescue BudgeaClient::ApiError => e
42
+ puts "Exception when calling RecipientsApi->users_id_user_accounts_id_account_recipients_post: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **id_user** | **String**| Hint: you can use 'me' or 'all' |
51
+ **id_account** | **Integer**| |
52
+ **label** | **String**| label of recipient | [optional]
53
+ **iban** | **String**| iban of recipient | [optional]
54
+ **expand** | **String**| | [optional]
55
+
56
+ ### Return type
57
+
58
+ [**Recipient**](Recipient.md)
59
+
60
+ ### Authorization
61
+
62
+ No authorization required
63
+
64
+ ### HTTP request headers
65
+
66
+ - **Content-Type**: application/json, multipart/form-data
67
+ - **Accept**: application/json
68
+
69
+
70
+
71
+ # **users_id_user_connections_id_connection_accounts_id_account_recipients_post**
72
+ > Recipient users_id_user_connections_id_connection_accounts_id_account_recipients_post(id_user, id_connection, id_account, opts)
73
+
74
+ Add a recipient.
75
+
76
+
77
+
78
+ ### Example
79
+ ```ruby
80
+ # load the gem
81
+ require 'budgea_client'
82
+
83
+ api_instance = BudgeaClient::RecipientsApi.new
84
+
85
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
86
+
87
+ id_connection = 56 # Integer |
88
+
89
+ id_account = 56 # Integer |
90
+
91
+ opts = {
92
+ label: "label_example", # String | label of recipient
93
+ iban: "iban_example", # String | iban of recipient
94
+ expand: "expand_example" # String |
95
+ }
96
+
97
+ begin
98
+ #Add a recipient.
99
+ result = api_instance.users_id_user_connections_id_connection_accounts_id_account_recipients_post(id_user, id_connection, id_account, opts)
100
+ p result
101
+ rescue BudgeaClient::ApiError => e
102
+ puts "Exception when calling RecipientsApi->users_id_user_connections_id_connection_accounts_id_account_recipients_post: #{e}"
103
+ end
104
+ ```
105
+
106
+ ### Parameters
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **id_user** | **String**| Hint: you can use 'me' or 'all' |
111
+ **id_connection** | **Integer**| |
112
+ **id_account** | **Integer**| |
113
+ **label** | **String**| label of recipient | [optional]
114
+ **iban** | **String**| iban of recipient | [optional]
115
+ **expand** | **String**| | [optional]
116
+
117
+ ### Return type
118
+
119
+ [**Recipient**](Recipient.md)
120
+
121
+ ### Authorization
122
+
123
+ No authorization required
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: application/json, multipart/form-data
128
+ - **Accept**: application/json
129
+
130
+
131
+
132
+ # **users_id_user_connections_id_connection_recipients_post**
133
+ > Recipient users_id_user_connections_id_connection_recipients_post(id_user, id_connection, opts)
134
+
135
+ Add a recipient.
136
+
137
+
138
+
139
+ ### Example
140
+ ```ruby
141
+ # load the gem
142
+ require 'budgea_client'
143
+
144
+ api_instance = BudgeaClient::RecipientsApi.new
145
+
146
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
147
+
148
+ id_connection = 56 # Integer |
149
+
150
+ opts = {
151
+ label: "label_example", # String | label of recipient
152
+ iban: "iban_example", # String | iban of recipient
153
+ expand: "expand_example" # String |
154
+ }
155
+
156
+ begin
157
+ #Add a recipient.
158
+ result = api_instance.users_id_user_connections_id_connection_recipients_post(id_user, id_connection, opts)
159
+ p result
160
+ rescue BudgeaClient::ApiError => e
161
+ puts "Exception when calling RecipientsApi->users_id_user_connections_id_connection_recipients_post: #{e}"
162
+ end
163
+ ```
164
+
165
+ ### Parameters
166
+
167
+ Name | Type | Description | Notes
168
+ ------------- | ------------- | ------------- | -------------
169
+ **id_user** | **String**| Hint: you can use 'me' or 'all' |
170
+ **id_connection** | **Integer**| |
171
+ **label** | **String**| label of recipient | [optional]
172
+ **iban** | **String**| iban of recipient | [optional]
173
+ **expand** | **String**| | [optional]
174
+
175
+ ### Return type
176
+
177
+ [**Recipient**](Recipient.md)
178
+
179
+ ### Authorization
180
+
181
+ No authorization required
182
+
183
+ ### HTTP request headers
184
+
185
+ - **Content-Type**: application/json, multipart/form-data
186
+ - **Accept**: application/json
187
+
188
+
189
+
190
+ # **users_id_user_recipients_post**
191
+ > Recipient users_id_user_recipients_post(id_user, opts)
192
+
193
+ Add a recipient.
194
+
195
+
196
+
197
+ ### Example
198
+ ```ruby
199
+ # load the gem
200
+ require 'budgea_client'
201
+
202
+ api_instance = BudgeaClient::RecipientsApi.new
203
+
204
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
205
+
206
+ opts = {
207
+ label: "label_example", # String | label of recipient
208
+ iban: "iban_example", # String | iban of recipient
209
+ expand: "expand_example" # String |
210
+ }
211
+
212
+ begin
213
+ #Add a recipient.
214
+ result = api_instance.users_id_user_recipients_post(id_user, opts)
215
+ p result
216
+ rescue BudgeaClient::ApiError => e
217
+ puts "Exception when calling RecipientsApi->users_id_user_recipients_post: #{e}"
218
+ end
219
+ ```
220
+
221
+ ### Parameters
222
+
223
+ Name | Type | Description | Notes
224
+ ------------- | ------------- | ------------- | -------------
225
+ **id_user** | **String**| Hint: you can use 'me' or 'all' |
226
+ **label** | **String**| label of recipient | [optional]
227
+ **iban** | **String**| iban of recipient | [optional]
228
+ **expand** | **String**| | [optional]
229
+
230
+ ### Return type
231
+
232
+ [**Recipient**](Recipient.md)
233
+
234
+ ### Authorization
235
+
236
+ No authorization required
237
+
238
+ ### HTTP request headers
239
+
240
+ - **Content-Type**: application/json, multipart/form-data
241
+ - **Accept**: application/json
242
+
243
+
244
+
@@ -0,0 +1,12 @@
1
+ # BudgeaClient::Security
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | ID of the security |
7
+ **code** | **String** | ISIN code of the security | [optional]
8
+ **name** | **String** | Name of the security |
9
+ **id_type** | **Integer** | ID of the security type | [optional]
10
+ **last_update** | **DateTime** | Last update of the security | [optional]
11
+
12
+
@@ -0,0 +1,18 @@
1
+ # BudgeaClient::Subscription
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | ID of subscription |
7
+ **id_connection** | **Integer** | ID of related connection | [optional]
8
+ **id_user** | **Integer** | ID of related user |
9
+ **number** | **String** | Subscription's number |
10
+ **label** | **String** | Label of the subscription |
11
+ **subscriber** | **String** | Name of the subscriber | [optional]
12
+ **validity** | **Date** | The subscription is valid until this date, if any | [optional]
13
+ **renewdate** | **Date** | Next renew date, if any | [optional]
14
+ **last_update** | **DateTime** | Last successful update of the subscription | [optional]
15
+ **deleted** | **DateTime** | This subscription is not found on the website anymore | [optional]
16
+ **disabled** | **DateTime** | This subscription has been deleted by user and will not be synchronized anymore | [optional]
17
+
18
+
@@ -0,0 +1,218 @@
1
+ # BudgeaClient::TermsApi
2
+
3
+ All URIs are relative to *https://demo.biapi.pro/2.0/*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**terms_get**](TermsApi.md#terms_get) | **GET** /terms | Return the current terms and the content of the associated file
8
+ [**terms_post**](TermsApi.md#terms_post) | **POST** /terms | Register a version of 'Terms of Service' in database
9
+ [**users_id_user_terms_get**](TermsApi.md#users_id_user_terms_get) | **GET** /users/{id_user}/terms | Get active terms object for a specific user, only one terms can be active
10
+ [**users_id_user_terms_post**](TermsApi.md#users_id_user_terms_post) | **POST** /users/{id_user}/terms | Register user's consent for a specific terms id
11
+
12
+
13
+ # **terms_get**
14
+ > InlineResponse20016 terms_get(opts)
15
+
16
+ Return the current terms and the content of the associated file
17
+
18
+
19
+
20
+ ### Example
21
+ ```ruby
22
+ # load the gem
23
+ require 'budgea_client'
24
+
25
+ api_instance = BudgeaClient::TermsApi.new
26
+
27
+ opts = {
28
+ expand: "expand_example" # String |
29
+ }
30
+
31
+ begin
32
+ #Return the current terms and the content of the associated file
33
+ result = api_instance.terms_get(opts)
34
+ p result
35
+ rescue BudgeaClient::ApiError => e
36
+ puts "Exception when calling TermsApi->terms_get: #{e}"
37
+ end
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ Name | Type | Description | Notes
43
+ ------------- | ------------- | ------------- | -------------
44
+ **expand** | **String**| | [optional]
45
+
46
+ ### Return type
47
+
48
+ [**InlineResponse20016**](InlineResponse20016.md)
49
+
50
+ ### Authorization
51
+
52
+ No authorization required
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: application/json, multipart/form-data
57
+ - **Accept**: application/json
58
+
59
+
60
+
61
+ # **terms_post**
62
+ > TermsOfService terms_post(opts)
63
+
64
+ Register a version of 'Terms of Service' in database
65
+
66
+
67
+
68
+ ### Example
69
+ ```ruby
70
+ # load the gem
71
+ require 'budgea_client'
72
+
73
+ api_instance = BudgeaClient::TermsApi.new
74
+
75
+ opts = {
76
+ version: "version_example", # String | Number of version
77
+ file_content: "file_content_example", # String | file containing the terms, optional
78
+ expand: "expand_example" # String |
79
+ }
80
+
81
+ begin
82
+ #Register a version of 'Terms of Service' in database
83
+ result = api_instance.terms_post(opts)
84
+ p result
85
+ rescue BudgeaClient::ApiError => e
86
+ puts "Exception when calling TermsApi->terms_post: #{e}"
87
+ end
88
+ ```
89
+
90
+ ### Parameters
91
+
92
+ Name | Type | Description | Notes
93
+ ------------- | ------------- | ------------- | -------------
94
+ **version** | **String**| Number of version | [optional]
95
+ **file_content** | **String**| file containing the terms, optional | [optional]
96
+ **expand** | **String**| | [optional]
97
+
98
+ ### Return type
99
+
100
+ [**TermsOfService**](TermsOfService.md)
101
+
102
+ ### Authorization
103
+
104
+ No authorization required
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: application/json, multipart/form-data
109
+ - **Accept**: application/json
110
+
111
+
112
+
113
+ # **users_id_user_terms_get**
114
+ > InlineResponse20016 users_id_user_terms_get(id_user, opts)
115
+
116
+ Get active terms object for a specific user, only one terms can be active
117
+
118
+
119
+
120
+ ### Example
121
+ ```ruby
122
+ # load the gem
123
+ require 'budgea_client'
124
+
125
+ api_instance = BudgeaClient::TermsApi.new
126
+
127
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
128
+
129
+ opts = {
130
+ expand: "expand_example" # String |
131
+ }
132
+
133
+ begin
134
+ #Get active terms object for a specific user, only one terms can be active
135
+ result = api_instance.users_id_user_terms_get(id_user, opts)
136
+ p result
137
+ rescue BudgeaClient::ApiError => e
138
+ puts "Exception when calling TermsApi->users_id_user_terms_get: #{e}"
139
+ end
140
+ ```
141
+
142
+ ### Parameters
143
+
144
+ Name | Type | Description | Notes
145
+ ------------- | ------------- | ------------- | -------------
146
+ **id_user** | **String**| Hint: you can use 'me' or 'all' |
147
+ **expand** | **String**| | [optional]
148
+
149
+ ### Return type
150
+
151
+ [**InlineResponse20016**](InlineResponse20016.md)
152
+
153
+ ### Authorization
154
+
155
+ No authorization required
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: application/json, multipart/form-data
160
+ - **Accept**: application/json
161
+
162
+
163
+
164
+ # **users_id_user_terms_post**
165
+ > TermsOfService users_id_user_terms_post(id_user, opts)
166
+
167
+ Register user's consent for a specific terms id
168
+
169
+
170
+
171
+ ### Example
172
+ ```ruby
173
+ # load the gem
174
+ require 'budgea_client'
175
+
176
+ api_instance = BudgeaClient::TermsApi.new
177
+
178
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
179
+
180
+ opts = {
181
+ id_user2: 56, # Integer | user id (optionnal)
182
+ id_terms: 56, # Integer | terms id
183
+ expand: "expand_example" # String |
184
+ }
185
+
186
+ begin
187
+ #Register user's consent for a specific terms id
188
+ result = api_instance.users_id_user_terms_post(id_user, opts)
189
+ p result
190
+ rescue BudgeaClient::ApiError => e
191
+ puts "Exception when calling TermsApi->users_id_user_terms_post: #{e}"
192
+ end
193
+ ```
194
+
195
+ ### Parameters
196
+
197
+ Name | Type | Description | Notes
198
+ ------------- | ------------- | ------------- | -------------
199
+ **id_user** | **String**| Hint: you can use 'me' or 'all' |
200
+ **id_user2** | **Integer**| user id (optionnal) | [optional]
201
+ **id_terms** | **Integer**| terms id | [optional]
202
+ **expand** | **String**| | [optional]
203
+
204
+ ### Return type
205
+
206
+ [**TermsOfService**](TermsOfService.md)
207
+
208
+ ### Authorization
209
+
210
+ No authorization required
211
+
212
+ ### HTTP request headers
213
+
214
+ - **Content-Type**: application/json, multipart/form-data
215
+ - **Accept**: application/json
216
+
217
+
218
+