budgea_client 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,10 @@
1
+ # BudgeaClient::User
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | |
7
+ **signin** | **DateTime** | |
8
+ **platform** | **String** | |
9
+
10
+
@@ -0,0 +1,21 @@
1
+ # BudgeaClient::UserAlert
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | |
7
+ **income_max** | **Float** | | [optional] [default to 500.0]
8
+ **expense_max** | **Float** | | [optional] [default to 500.0]
9
+ **balance_min1** | **Float** | | [optional] [default to 500.0]
10
+ **balance_min2** | **Float** | | [optional] [default to 0.0]
11
+ **balance_max** | **Float** | | [optional] [default to 10000.0]
12
+ **resume_enabled** | **BOOLEAN** | | [optional] [default to true]
13
+ **enabled** | **BOOLEAN** | | [optional] [default to true]
14
+ **value_type** | **String** | | [default to "flat"]
15
+ **type** | **String** | | [default to "transactions"]
16
+ **transaction_types** | **String** | | [optional]
17
+ **date_range** | **Integer** | | [optional]
18
+ **apply** | **String** | | [optional]
19
+ **resume_frequency** | **Integer** | |
20
+
21
+
@@ -0,0 +1,608 @@
1
+ # BudgeaClient::UsersManagementApi
2
+
3
+ All URIs are relative to *https://demo.biapi.pro/2.0/*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**hash_delete**](UsersManagementApi.md#hash_delete) | **DELETE** /hash | Delete the user's connections
8
+ [**users_get**](UsersManagementApi.md#users_get) | **GET** /users | Get users
9
+ [**users_id_user_config_delete**](UsersManagementApi.md#users_id_user_config_delete) | **DELETE** /users/{id_user}/config | Delete the given user configurations. deletions on keys prefixed by 'biapi.' (except callback_url) are ignored
10
+ [**users_id_user_config_get**](UsersManagementApi.md#users_id_user_config_get) | **GET** /users/{id_user}/config | Get configuration of a user.
11
+ [**users_id_user_config_post**](UsersManagementApi.md#users_id_user_config_post) | **POST** /users/{id_user}/config | Change configuration of a user. modifications on keys prefixed by 'biapi.' (except callback_url) are ignored
12
+ [**users_id_user_delete**](UsersManagementApi.md#users_id_user_delete) | **DELETE** /users/{id_user} | Delete the user
13
+ [**users_id_user_get**](UsersManagementApi.md#users_id_user_get) | **GET** /users/{id_user} | Get a user
14
+ [**users_id_user_profiles_get**](UsersManagementApi.md#users_id_user_profiles_get) | **GET** /users/{id_user}/profiles | Get profiles
15
+ [**users_id_user_profiles_id_profile_get**](UsersManagementApi.md#users_id_user_profiles_id_profile_get) | **GET** /users/{id_user}/profiles/{id_profile} | Get a profile
16
+ [**users_id_user_profiles_main_get**](UsersManagementApi.md#users_id_user_profiles_main_get) | **GET** /users/{id_user}/profiles/main | Get the main profile
17
+ [**users_id_user_profiles_me_get**](UsersManagementApi.md#users_id_user_profiles_me_get) | **GET** /users/{id_user}/profiles/me | Get my profile
18
+ [**users_id_user_token_post**](UsersManagementApi.md#users_id_user_token_post) | **POST** /users/{id_user}/token | Create a token
19
+
20
+
21
+ # **hash_delete**
22
+ > hash_delete
23
+
24
+ Delete the user's connections
25
+
26
+ deletes all connections of the user given his hash<br><br>
27
+
28
+ ### Example
29
+ ```ruby
30
+ # load the gem
31
+ require 'budgea_client'
32
+
33
+ api_instance = BudgeaClient::UsersManagementApi.new
34
+
35
+ begin
36
+ #Delete the user's connections
37
+ api_instance.hash_delete
38
+ rescue BudgeaClient::ApiError => e
39
+ puts "Exception when calling UsersManagementApi->hash_delete: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+ This endpoint does not need any parameter.
45
+
46
+ ### Return type
47
+
48
+ nil (empty response body)
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
+ # **users_get**
62
+ > InlineResponse20017 users_get(opts)
63
+
64
+ Get users
65
+
66
+
67
+
68
+ ### Example
69
+ ```ruby
70
+ # load the gem
71
+ require 'budgea_client'
72
+
73
+ api_instance = BudgeaClient::UsersManagementApi.new
74
+
75
+ opts = {
76
+ search: "search_example", # String | searches a user by mail (if it contains no '@', '@biapi.pro' will be added at the end)
77
+ expand: "expand_example" # String |
78
+ }
79
+
80
+ begin
81
+ #Get users
82
+ result = api_instance.users_get(opts)
83
+ p result
84
+ rescue BudgeaClient::ApiError => e
85
+ puts "Exception when calling UsersManagementApi->users_get: #{e}"
86
+ end
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ Name | Type | Description | Notes
92
+ ------------- | ------------- | ------------- | -------------
93
+ **search** | **String**| searches a user by mail (if it contains no &#39;@&#39;, &#39;@biapi.pro&#39; will be added at the end) | [optional]
94
+ **expand** | **String**| | [optional]
95
+
96
+ ### Return type
97
+
98
+ [**InlineResponse20017**](InlineResponse20017.md)
99
+
100
+ ### Authorization
101
+
102
+ No authorization required
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: application/json, multipart/form-data
107
+ - **Accept**: application/json
108
+
109
+
110
+
111
+ # **users_id_user_config_delete**
112
+ > users_id_user_config_delete(id_user)
113
+
114
+ Delete the given user configurations. deletions on keys prefixed by 'biapi.' (except callback_url) are ignored
115
+
116
+ - keys (string): list of coma separated keys to be deleted.<br><br>
117
+
118
+ ### Example
119
+ ```ruby
120
+ # load the gem
121
+ require 'budgea_client'
122
+
123
+ api_instance = BudgeaClient::UsersManagementApi.new
124
+
125
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
126
+
127
+
128
+ begin
129
+ #Delete the given user configurations. deletions on keys prefixed by 'biapi.' (except callback_url) are ignored
130
+ api_instance.users_id_user_config_delete(id_user)
131
+ rescue BudgeaClient::ApiError => e
132
+ puts "Exception when calling UsersManagementApi->users_id_user_config_delete: #{e}"
133
+ end
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+ Name | Type | Description | Notes
139
+ ------------- | ------------- | ------------- | -------------
140
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
141
+
142
+ ### Return type
143
+
144
+ nil (empty response body)
145
+
146
+ ### Authorization
147
+
148
+ No authorization required
149
+
150
+ ### HTTP request headers
151
+
152
+ - **Content-Type**: application/json, multipart/form-data
153
+ - **Accept**: application/json
154
+
155
+
156
+
157
+ # **users_id_user_config_get**
158
+ > Object users_id_user_config_get(id_user)
159
+
160
+ Get configuration of a user.
161
+
162
+ <br><br>
163
+
164
+ ### Example
165
+ ```ruby
166
+ # load the gem
167
+ require 'budgea_client'
168
+
169
+ api_instance = BudgeaClient::UsersManagementApi.new
170
+
171
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
172
+
173
+
174
+ begin
175
+ #Get configuration of a user.
176
+ result = api_instance.users_id_user_config_get(id_user)
177
+ p result
178
+ rescue BudgeaClient::ApiError => e
179
+ puts "Exception when calling UsersManagementApi->users_id_user_config_get: #{e}"
180
+ end
181
+ ```
182
+
183
+ ### Parameters
184
+
185
+ Name | Type | Description | Notes
186
+ ------------- | ------------- | ------------- | -------------
187
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
188
+
189
+ ### Return type
190
+
191
+ **Object**
192
+
193
+ ### Authorization
194
+
195
+ No authorization required
196
+
197
+ ### HTTP request headers
198
+
199
+ - **Content-Type**: application/json, multipart/form-data
200
+ - **Accept**: application/json
201
+
202
+
203
+
204
+ # **users_id_user_config_post**
205
+ > users_id_user_config_post(id_user)
206
+
207
+ Change configuration of a user. modifications on keys prefixed by 'biapi.' (except callback_url) are ignored
208
+
209
+
210
+
211
+ ### Example
212
+ ```ruby
213
+ # load the gem
214
+ require 'budgea_client'
215
+
216
+ api_instance = BudgeaClient::UsersManagementApi.new
217
+
218
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
219
+
220
+
221
+ begin
222
+ #Change configuration of a user. modifications on keys prefixed by 'biapi.' (except callback_url) are ignored
223
+ api_instance.users_id_user_config_post(id_user)
224
+ rescue BudgeaClient::ApiError => e
225
+ puts "Exception when calling UsersManagementApi->users_id_user_config_post: #{e}"
226
+ end
227
+ ```
228
+
229
+ ### Parameters
230
+
231
+ Name | Type | Description | Notes
232
+ ------------- | ------------- | ------------- | -------------
233
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
234
+
235
+ ### Return type
236
+
237
+ nil (empty response body)
238
+
239
+ ### Authorization
240
+
241
+ No authorization required
242
+
243
+ ### HTTP request headers
244
+
245
+ - **Content-Type**: application/json, multipart/form-data
246
+ - **Accept**: application/json
247
+
248
+
249
+
250
+ # **users_id_user_delete**
251
+ > User users_id_user_delete(id_user, opts)
252
+
253
+ Delete the user
254
+
255
+ This endpoint deletes the user.<br><br>
256
+
257
+ ### Example
258
+ ```ruby
259
+ # load the gem
260
+ require 'budgea_client'
261
+
262
+ api_instance = BudgeaClient::UsersManagementApi.new
263
+
264
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
265
+
266
+ opts = {
267
+ expand: "expand_example" # String |
268
+ }
269
+
270
+ begin
271
+ #Delete the user
272
+ result = api_instance.users_id_user_delete(id_user, opts)
273
+ p result
274
+ rescue BudgeaClient::ApiError => e
275
+ puts "Exception when calling UsersManagementApi->users_id_user_delete: #{e}"
276
+ end
277
+ ```
278
+
279
+ ### Parameters
280
+
281
+ Name | Type | Description | Notes
282
+ ------------- | ------------- | ------------- | -------------
283
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
284
+ **expand** | **String**| | [optional]
285
+
286
+ ### Return type
287
+
288
+ [**User**](User.md)
289
+
290
+ ### Authorization
291
+
292
+ No authorization required
293
+
294
+ ### HTTP request headers
295
+
296
+ - **Content-Type**: application/json, multipart/form-data
297
+ - **Accept**: application/json
298
+
299
+
300
+
301
+ # **users_id_user_get**
302
+ > User users_id_user_get(id_user, opts)
303
+
304
+ Get a user
305
+
306
+
307
+
308
+ ### Example
309
+ ```ruby
310
+ # load the gem
311
+ require 'budgea_client'
312
+
313
+ api_instance = BudgeaClient::UsersManagementApi.new
314
+
315
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
316
+
317
+ opts = {
318
+ expand: "expand_example" # String |
319
+ }
320
+
321
+ begin
322
+ #Get a user
323
+ result = api_instance.users_id_user_get(id_user, opts)
324
+ p result
325
+ rescue BudgeaClient::ApiError => e
326
+ puts "Exception when calling UsersManagementApi->users_id_user_get: #{e}"
327
+ end
328
+ ```
329
+
330
+ ### Parameters
331
+
332
+ Name | Type | Description | Notes
333
+ ------------- | ------------- | ------------- | -------------
334
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
335
+ **expand** | **String**| | [optional]
336
+
337
+ ### Return type
338
+
339
+ [**User**](User.md)
340
+
341
+ ### Authorization
342
+
343
+ No authorization required
344
+
345
+ ### HTTP request headers
346
+
347
+ - **Content-Type**: application/json, multipart/form-data
348
+ - **Accept**: application/json
349
+
350
+
351
+
352
+ # **users_id_user_profiles_get**
353
+ > InlineResponse20032 users_id_user_profiles_get(id_user, opts)
354
+
355
+ Get profiles
356
+
357
+
358
+
359
+ ### Example
360
+ ```ruby
361
+ # load the gem
362
+ require 'budgea_client'
363
+
364
+ api_instance = BudgeaClient::UsersManagementApi.new
365
+
366
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
367
+
368
+ opts = {
369
+ expand: "expand_example" # String |
370
+ }
371
+
372
+ begin
373
+ #Get profiles
374
+ result = api_instance.users_id_user_profiles_get(id_user, opts)
375
+ p result
376
+ rescue BudgeaClient::ApiError => e
377
+ puts "Exception when calling UsersManagementApi->users_id_user_profiles_get: #{e}"
378
+ end
379
+ ```
380
+
381
+ ### Parameters
382
+
383
+ Name | Type | Description | Notes
384
+ ------------- | ------------- | ------------- | -------------
385
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
386
+ **expand** | **String**| | [optional]
387
+
388
+ ### Return type
389
+
390
+ [**InlineResponse20032**](InlineResponse20032.md)
391
+
392
+ ### Authorization
393
+
394
+ No authorization required
395
+
396
+ ### HTTP request headers
397
+
398
+ - **Content-Type**: application/json, multipart/form-data
399
+ - **Accept**: application/json
400
+
401
+
402
+
403
+ # **users_id_user_profiles_id_profile_get**
404
+ > Profile users_id_user_profiles_id_profile_get(id_user, id_profile, opts)
405
+
406
+ Get a profile
407
+
408
+
409
+
410
+ ### Example
411
+ ```ruby
412
+ # load the gem
413
+ require 'budgea_client'
414
+
415
+ api_instance = BudgeaClient::UsersManagementApi.new
416
+
417
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
418
+
419
+ id_profile = 56 # Integer |
420
+
421
+ opts = {
422
+ expand: "expand_example" # String |
423
+ }
424
+
425
+ begin
426
+ #Get a profile
427
+ result = api_instance.users_id_user_profiles_id_profile_get(id_user, id_profile, opts)
428
+ p result
429
+ rescue BudgeaClient::ApiError => e
430
+ puts "Exception when calling UsersManagementApi->users_id_user_profiles_id_profile_get: #{e}"
431
+ end
432
+ ```
433
+
434
+ ### Parameters
435
+
436
+ Name | Type | Description | Notes
437
+ ------------- | ------------- | ------------- | -------------
438
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
439
+ **id_profile** | **Integer**| |
440
+ **expand** | **String**| | [optional]
441
+
442
+ ### Return type
443
+
444
+ [**Profile**](Profile.md)
445
+
446
+ ### Authorization
447
+
448
+ No authorization required
449
+
450
+ ### HTTP request headers
451
+
452
+ - **Content-Type**: application/json, multipart/form-data
453
+ - **Accept**: application/json
454
+
455
+
456
+
457
+ # **users_id_user_profiles_main_get**
458
+ > Profile users_id_user_profiles_main_get(id_user, opts)
459
+
460
+ Get the main profile
461
+
462
+
463
+
464
+ ### Example
465
+ ```ruby
466
+ # load the gem
467
+ require 'budgea_client'
468
+
469
+ api_instance = BudgeaClient::UsersManagementApi.new
470
+
471
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
472
+
473
+ opts = {
474
+ expand: "expand_example" # String |
475
+ }
476
+
477
+ begin
478
+ #Get the main profile
479
+ result = api_instance.users_id_user_profiles_main_get(id_user, opts)
480
+ p result
481
+ rescue BudgeaClient::ApiError => e
482
+ puts "Exception when calling UsersManagementApi->users_id_user_profiles_main_get: #{e}"
483
+ end
484
+ ```
485
+
486
+ ### Parameters
487
+
488
+ Name | Type | Description | Notes
489
+ ------------- | ------------- | ------------- | -------------
490
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
491
+ **expand** | **String**| | [optional]
492
+
493
+ ### Return type
494
+
495
+ [**Profile**](Profile.md)
496
+
497
+ ### Authorization
498
+
499
+ No authorization required
500
+
501
+ ### HTTP request headers
502
+
503
+ - **Content-Type**: application/json, multipart/form-data
504
+ - **Accept**: application/json
505
+
506
+
507
+
508
+ # **users_id_user_profiles_me_get**
509
+ > Profile users_id_user_profiles_me_get(id_user, opts)
510
+
511
+ Get my profile
512
+
513
+
514
+
515
+ ### Example
516
+ ```ruby
517
+ # load the gem
518
+ require 'budgea_client'
519
+
520
+ api_instance = BudgeaClient::UsersManagementApi.new
521
+
522
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
523
+
524
+ opts = {
525
+ expand: "expand_example" # String |
526
+ }
527
+
528
+ begin
529
+ #Get my profile
530
+ result = api_instance.users_id_user_profiles_me_get(id_user, opts)
531
+ p result
532
+ rescue BudgeaClient::ApiError => e
533
+ puts "Exception when calling UsersManagementApi->users_id_user_profiles_me_get: #{e}"
534
+ end
535
+ ```
536
+
537
+ ### Parameters
538
+
539
+ Name | Type | Description | Notes
540
+ ------------- | ------------- | ------------- | -------------
541
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
542
+ **expand** | **String**| | [optional]
543
+
544
+ ### Return type
545
+
546
+ [**Profile**](Profile.md)
547
+
548
+ ### Authorization
549
+
550
+ No authorization required
551
+
552
+ ### HTTP request headers
553
+
554
+ - **Content-Type**: application/json, multipart/form-data
555
+ - **Accept**: application/json
556
+
557
+
558
+
559
+ # **users_id_user_token_post**
560
+ > Object users_id_user_token_post(id_user, application)
561
+
562
+ Create a token
563
+
564
+ Create an access_token for this user and get it.<br><br>
565
+
566
+ ### Example
567
+ ```ruby
568
+ # load the gem
569
+ require 'budgea_client'
570
+
571
+ api_instance = BudgeaClient::UsersManagementApi.new
572
+
573
+ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
574
+
575
+ application = "application_example" # String | application name
576
+
577
+
578
+ begin
579
+ #Create a token
580
+ result = api_instance.users_id_user_token_post(id_user, application)
581
+ p result
582
+ rescue BudgeaClient::ApiError => e
583
+ puts "Exception when calling UsersManagementApi->users_id_user_token_post: #{e}"
584
+ end
585
+ ```
586
+
587
+ ### Parameters
588
+
589
+ Name | Type | Description | Notes
590
+ ------------- | ------------- | ------------- | -------------
591
+ **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
592
+ **application** | **String**| application name |
593
+
594
+ ### Return type
595
+
596
+ **Object**
597
+
598
+ ### Authorization
599
+
600
+ No authorization required
601
+
602
+ ### HTTP request headers
603
+
604
+ - **Content-Type**: application/json, multipart/form-data
605
+ - **Accept**: application/json
606
+
607
+
608
+