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,6 +1,16 @@
1
- # frozen_string_literal: true
1
+ =begin
2
+ #Budgea API Documentation
2
3
 
3
- require "uri"
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.1
10
+
11
+ =end
12
+
13
+ require 'uri'
4
14
 
5
15
  module BudgeaClient
6
16
  class UsersManagementApi
@@ -9,14 +19,13 @@ module BudgeaClient
9
19
  def initialize(api_client = ApiClient.default)
10
20
  @api_client = api_client
11
21
  end
12
-
13
22
  # Delete the user's connections
14
23
  # deletes all connections of the user given his hash<br><br>
15
24
  # @param [Hash] opts the optional parameters
16
25
  # @return [nil]
17
26
  def hash_delete(opts = {})
18
27
  hash_delete_with_http_info(opts)
19
- return nil
28
+ nil
20
29
  end
21
30
 
22
31
  # Delete the user&#39;s connections
@@ -25,10 +34,10 @@ module BudgeaClient
25
34
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
26
35
  def hash_delete_with_http_info(opts = {})
27
36
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: UsersManagementApi.hash_delete ..."
37
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.hash_delete ...'
29
38
  end
30
39
  # resource path
31
- local_var_path = "/hash"
40
+ local_var_path = '/hash'
32
41
 
33
42
  # query parameters
34
43
  query_params = {}
@@ -57,16 +66,15 @@ module BudgeaClient
57
66
  end
58
67
  return data, status_code, headers
59
68
  end
60
-
61
69
  # Get users
62
70
  #
63
71
  # @param [Hash] opts the optional parameters
64
72
  # @option opts [String] :search searches a user by mail (if it contains no &#39;@&#39;, &#39;@biapi.pro&#39; will be added at the end)
65
73
  # @option opts [String] :expand
66
- # @return [InlineResponse20017]
74
+ # @return [InlineResponse20019]
67
75
  def users_get(opts = {})
68
76
  data, _status_code, _headers = users_get_with_http_info(opts)
69
- return data
77
+ data
70
78
  end
71
79
 
72
80
  # Get users
@@ -74,13 +82,13 @@ module BudgeaClient
74
82
  # @param [Hash] opts the optional parameters
75
83
  # @option opts [String] :search searches a user by mail (if it contains no &#39;@&#39;, &#39;@biapi.pro&#39; will be added at the end)
76
84
  # @option opts [String] :expand
77
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
85
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
78
86
  def users_get_with_http_info(opts = {})
79
87
  if @api_client.config.debugging
80
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_get ..."
88
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_get ...'
81
89
  end
82
90
  # resource path
83
- local_var_path = "/users"
91
+ local_var_path = '/users'
84
92
 
85
93
  # query parameters
86
94
  query_params = {}
@@ -106,13 +114,12 @@ module BudgeaClient
106
114
  :form_params => form_params,
107
115
  :body => post_body,
108
116
  :auth_names => auth_names,
109
- :return_type => 'InlineResponse20017')
117
+ :return_type => 'InlineResponse20019')
110
118
  if @api_client.config.debugging
111
119
  @api_client.config.logger.debug "API called: UsersManagementApi#users_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
112
120
  end
113
121
  return data, status_code, headers
114
122
  end
115
-
116
123
  # Delete the given user configurations. deletions on keys prefixed by 'biapi.' (except callback_url) are ignored
117
124
  # - keys (string): list of coma separated keys to be deleted.<br><br>
118
125
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -120,7 +127,7 @@ module BudgeaClient
120
127
  # @return [nil]
121
128
  def users_id_user_config_delete(id_user, opts = {})
122
129
  users_id_user_config_delete_with_http_info(id_user, opts)
123
- return nil
130
+ nil
124
131
  end
125
132
 
126
133
  # Delete the given user configurations. deletions on keys prefixed by &#39;biapi.&#39; (except callback_url) are ignored
@@ -130,14 +137,14 @@ module BudgeaClient
130
137
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
131
138
  def users_id_user_config_delete_with_http_info(id_user, opts = {})
132
139
  if @api_client.config.debugging
133
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_config_delete ..."
140
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_config_delete ...'
134
141
  end
135
142
  # verify the required parameter 'id_user' is set
136
143
  if @api_client.config.client_side_validation && id_user.nil?
137
144
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_config_delete"
138
145
  end
139
146
  # resource path
140
- local_var_path = "/users/{id_user}/config".sub('{' + 'id_user' + '}', id_user.to_s)
147
+ local_var_path = '/users/{id_user}/config'.sub('{' + 'id_user' + '}', id_user.to_s)
141
148
 
142
149
  # query parameters
143
150
  query_params = {}
@@ -166,7 +173,6 @@ module BudgeaClient
166
173
  end
167
174
  return data, status_code, headers
168
175
  end
169
-
170
176
  # Get configuration of a user.
171
177
  # <br><br>
172
178
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -174,7 +180,7 @@ module BudgeaClient
174
180
  # @return [Object]
175
181
  def users_id_user_config_get(id_user, opts = {})
176
182
  data, _status_code, _headers = users_id_user_config_get_with_http_info(id_user, opts)
177
- return data
183
+ data
178
184
  end
179
185
 
180
186
  # Get configuration of a user.
@@ -184,14 +190,14 @@ module BudgeaClient
184
190
  # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
185
191
  def users_id_user_config_get_with_http_info(id_user, opts = {})
186
192
  if @api_client.config.debugging
187
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_config_get ..."
193
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_config_get ...'
188
194
  end
189
195
  # verify the required parameter 'id_user' is set
190
196
  if @api_client.config.client_side_validation && id_user.nil?
191
197
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_config_get"
192
198
  end
193
199
  # resource path
194
- local_var_path = "/users/{id_user}/config".sub('{' + 'id_user' + '}', id_user.to_s)
200
+ local_var_path = '/users/{id_user}/config'.sub('{' + 'id_user' + '}', id_user.to_s)
195
201
 
196
202
  # query parameters
197
203
  query_params = {}
@@ -221,7 +227,6 @@ module BudgeaClient
221
227
  end
222
228
  return data, status_code, headers
223
229
  end
224
-
225
230
  # Change configuration of a user. modifications on keys prefixed by 'biapi.' (except callback_url) are ignored
226
231
  #
227
232
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -229,7 +234,7 @@ module BudgeaClient
229
234
  # @return [nil]
230
235
  def users_id_user_config_post(id_user, opts = {})
231
236
  users_id_user_config_post_with_http_info(id_user, opts)
232
- return nil
237
+ nil
233
238
  end
234
239
 
235
240
  # Change configuration of a user. modifications on keys prefixed by &#39;biapi.&#39; (except callback_url) are ignored
@@ -239,14 +244,14 @@ module BudgeaClient
239
244
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
240
245
  def users_id_user_config_post_with_http_info(id_user, opts = {})
241
246
  if @api_client.config.debugging
242
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_config_post ..."
247
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_config_post ...'
243
248
  end
244
249
  # verify the required parameter 'id_user' is set
245
250
  if @api_client.config.client_side_validation && id_user.nil?
246
251
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_config_post"
247
252
  end
248
253
  # resource path
249
- local_var_path = "/users/{id_user}/config".sub('{' + 'id_user' + '}', id_user.to_s)
254
+ local_var_path = '/users/{id_user}/config'.sub('{' + 'id_user' + '}', id_user.to_s)
250
255
 
251
256
  # query parameters
252
257
  query_params = {}
@@ -275,7 +280,6 @@ module BudgeaClient
275
280
  end
276
281
  return data, status_code, headers
277
282
  end
278
-
279
283
  # Delete the user
280
284
  # This endpoint deletes the user.<br><br>
281
285
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -284,7 +288,7 @@ module BudgeaClient
284
288
  # @return [User]
285
289
  def users_id_user_delete(id_user, opts = {})
286
290
  data, _status_code, _headers = users_id_user_delete_with_http_info(id_user, opts)
287
- return data
291
+ data
288
292
  end
289
293
 
290
294
  # Delete the user
@@ -295,14 +299,14 @@ module BudgeaClient
295
299
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
296
300
  def users_id_user_delete_with_http_info(id_user, opts = {})
297
301
  if @api_client.config.debugging
298
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_delete ..."
302
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_delete ...'
299
303
  end
300
304
  # verify the required parameter 'id_user' is set
301
305
  if @api_client.config.client_side_validation && id_user.nil?
302
306
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_delete"
303
307
  end
304
308
  # resource path
305
- local_var_path = "/users/{id_user}".sub('{' + 'id_user' + '}', id_user.to_s)
309
+ local_var_path = '/users/{id_user}'.sub('{' + 'id_user' + '}', id_user.to_s)
306
310
 
307
311
  # query parameters
308
312
  query_params = {}
@@ -333,7 +337,6 @@ module BudgeaClient
333
337
  end
334
338
  return data, status_code, headers
335
339
  end
336
-
337
340
  # Get a user
338
341
  #
339
342
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -342,7 +345,7 @@ module BudgeaClient
342
345
  # @return [User]
343
346
  def users_id_user_get(id_user, opts = {})
344
347
  data, _status_code, _headers = users_id_user_get_with_http_info(id_user, opts)
345
- return data
348
+ data
346
349
  end
347
350
 
348
351
  # Get a user
@@ -353,14 +356,14 @@ module BudgeaClient
353
356
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
354
357
  def users_id_user_get_with_http_info(id_user, opts = {})
355
358
  if @api_client.config.debugging
356
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_get ..."
359
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_get ...'
357
360
  end
358
361
  # verify the required parameter 'id_user' is set
359
362
  if @api_client.config.client_side_validation && id_user.nil?
360
363
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_get"
361
364
  end
362
365
  # resource path
363
- local_var_path = "/users/{id_user}".sub('{' + 'id_user' + '}', id_user.to_s)
366
+ local_var_path = '/users/{id_user}'.sub('{' + 'id_user' + '}', id_user.to_s)
364
367
 
365
368
  # query parameters
366
369
  query_params = {}
@@ -391,16 +394,15 @@ module BudgeaClient
391
394
  end
392
395
  return data, status_code, headers
393
396
  end
394
-
395
397
  # Get profiles
396
398
  #
397
399
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
398
400
  # @param [Hash] opts the optional parameters
399
401
  # @option opts [String] :expand
400
- # @return [InlineResponse20032]
402
+ # @return [InlineResponse20034]
401
403
  def users_id_user_profiles_get(id_user, opts = {})
402
404
  data, _status_code, _headers = users_id_user_profiles_get_with_http_info(id_user, opts)
403
- return data
405
+ data
404
406
  end
405
407
 
406
408
  # Get profiles
@@ -408,17 +410,17 @@ module BudgeaClient
408
410
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
409
411
  # @param [Hash] opts the optional parameters
410
412
  # @option opts [String] :expand
411
- # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
413
+ # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
412
414
  def users_id_user_profiles_get_with_http_info(id_user, opts = {})
413
415
  if @api_client.config.debugging
414
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_profiles_get ..."
416
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_profiles_get ...'
415
417
  end
416
418
  # verify the required parameter 'id_user' is set
417
419
  if @api_client.config.client_side_validation && id_user.nil?
418
420
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_profiles_get"
419
421
  end
420
422
  # resource path
421
- local_var_path = "/users/{id_user}/profiles".sub('{' + 'id_user' + '}', id_user.to_s)
423
+ local_var_path = '/users/{id_user}/profiles'.sub('{' + 'id_user' + '}', id_user.to_s)
422
424
 
423
425
  # query parameters
424
426
  query_params = {}
@@ -443,13 +445,12 @@ module BudgeaClient
443
445
  :form_params => form_params,
444
446
  :body => post_body,
445
447
  :auth_names => auth_names,
446
- :return_type => 'InlineResponse20032')
448
+ :return_type => 'InlineResponse20034')
447
449
  if @api_client.config.debugging
448
450
  @api_client.config.logger.debug "API called: UsersManagementApi#users_id_user_profiles_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
449
451
  end
450
452
  return data, status_code, headers
451
453
  end
452
-
453
454
  # Get a profile
454
455
  #
455
456
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -459,7 +460,7 @@ module BudgeaClient
459
460
  # @return [Profile]
460
461
  def users_id_user_profiles_id_profile_get(id_user, id_profile, opts = {})
461
462
  data, _status_code, _headers = users_id_user_profiles_id_profile_get_with_http_info(id_user, id_profile, opts)
462
- return data
463
+ data
463
464
  end
464
465
 
465
466
  # Get a profile
@@ -471,7 +472,7 @@ module BudgeaClient
471
472
  # @return [Array<(Profile, Fixnum, Hash)>] Profile data, response status code and response headers
472
473
  def users_id_user_profiles_id_profile_get_with_http_info(id_user, id_profile, opts = {})
473
474
  if @api_client.config.debugging
474
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_profiles_id_profile_get ..."
475
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_profiles_id_profile_get ...'
475
476
  end
476
477
  # verify the required parameter 'id_user' is set
477
478
  if @api_client.config.client_side_validation && id_user.nil?
@@ -482,7 +483,7 @@ module BudgeaClient
482
483
  fail ArgumentError, "Missing the required parameter 'id_profile' when calling UsersManagementApi.users_id_user_profiles_id_profile_get"
483
484
  end
484
485
  # resource path
485
- local_var_path = "/users/{id_user}/profiles/{id_profile}".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_profile' + '}', id_profile.to_s)
486
+ local_var_path = '/users/{id_user}/profiles/{id_profile}'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_profile' + '}', id_profile.to_s)
486
487
 
487
488
  # query parameters
488
489
  query_params = {}
@@ -513,7 +514,6 @@ module BudgeaClient
513
514
  end
514
515
  return data, status_code, headers
515
516
  end
516
-
517
517
  # Get the main profile
518
518
  #
519
519
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -522,7 +522,7 @@ module BudgeaClient
522
522
  # @return [Profile]
523
523
  def users_id_user_profiles_main_get(id_user, opts = {})
524
524
  data, _status_code, _headers = users_id_user_profiles_main_get_with_http_info(id_user, opts)
525
- return data
525
+ data
526
526
  end
527
527
 
528
528
  # Get the main profile
@@ -533,14 +533,14 @@ module BudgeaClient
533
533
  # @return [Array<(Profile, Fixnum, Hash)>] Profile data, response status code and response headers
534
534
  def users_id_user_profiles_main_get_with_http_info(id_user, opts = {})
535
535
  if @api_client.config.debugging
536
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_profiles_main_get ..."
536
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_profiles_main_get ...'
537
537
  end
538
538
  # verify the required parameter 'id_user' is set
539
539
  if @api_client.config.client_side_validation && id_user.nil?
540
540
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_profiles_main_get"
541
541
  end
542
542
  # resource path
543
- local_var_path = "/users/{id_user}/profiles/main".sub('{' + 'id_user' + '}', id_user.to_s)
543
+ local_var_path = '/users/{id_user}/profiles/main'.sub('{' + 'id_user' + '}', id_user.to_s)
544
544
 
545
545
  # query parameters
546
546
  query_params = {}
@@ -571,7 +571,6 @@ module BudgeaClient
571
571
  end
572
572
  return data, status_code, headers
573
573
  end
574
-
575
574
  # Get my profile
576
575
  #
577
576
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -580,7 +579,7 @@ module BudgeaClient
580
579
  # @return [Profile]
581
580
  def users_id_user_profiles_me_get(id_user, opts = {})
582
581
  data, _status_code, _headers = users_id_user_profiles_me_get_with_http_info(id_user, opts)
583
- return data
582
+ data
584
583
  end
585
584
 
586
585
  # Get my profile
@@ -591,14 +590,14 @@ module BudgeaClient
591
590
  # @return [Array<(Profile, Fixnum, Hash)>] Profile data, response status code and response headers
592
591
  def users_id_user_profiles_me_get_with_http_info(id_user, opts = {})
593
592
  if @api_client.config.debugging
594
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_profiles_me_get ..."
593
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_profiles_me_get ...'
595
594
  end
596
595
  # verify the required parameter 'id_user' is set
597
596
  if @api_client.config.client_side_validation && id_user.nil?
598
597
  fail ArgumentError, "Missing the required parameter 'id_user' when calling UsersManagementApi.users_id_user_profiles_me_get"
599
598
  end
600
599
  # resource path
601
- local_var_path = "/users/{id_user}/profiles/me".sub('{' + 'id_user' + '}', id_user.to_s)
600
+ local_var_path = '/users/{id_user}/profiles/me'.sub('{' + 'id_user' + '}', id_user.to_s)
602
601
 
603
602
  # query parameters
604
603
  query_params = {}
@@ -629,7 +628,6 @@ module BudgeaClient
629
628
  end
630
629
  return data, status_code, headers
631
630
  end
632
-
633
631
  # Create a token
634
632
  # Create an access_token for this user and get it.<br><br>
635
633
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -638,7 +636,7 @@ module BudgeaClient
638
636
  # @return [Object]
639
637
  def users_id_user_token_post(id_user, application, opts = {})
640
638
  data, _status_code, _headers = users_id_user_token_post_with_http_info(id_user, application, opts)
641
- return data
639
+ data
642
640
  end
643
641
 
644
642
  # Create a token
@@ -649,7 +647,7 @@ module BudgeaClient
649
647
  # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
650
648
  def users_id_user_token_post_with_http_info(id_user, application, opts = {})
651
649
  if @api_client.config.debugging
652
- @api_client.config.logger.debug "Calling API: UsersManagementApi.users_id_user_token_post ..."
650
+ @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_token_post ...'
653
651
  end
654
652
  # verify the required parameter 'id_user' is set
655
653
  if @api_client.config.client_side_validation && id_user.nil?
@@ -660,7 +658,7 @@ module BudgeaClient
660
658
  fail ArgumentError, "Missing the required parameter 'application' when calling UsersManagementApi.users_id_user_token_post"
661
659
  end
662
660
  # resource path
663
- local_var_path = "/users/{id_user}/token".sub('{' + 'id_user' + '}', id_user.to_s)
661
+ local_var_path = '/users/{id_user}/token'.sub('{' + 'id_user' + '}', id_user.to_s)
664
662
 
665
663
  # query parameters
666
664
  query_params = {}
@@ -670,11 +668,11 @@ module BudgeaClient
670
668
  # HTTP header 'Accept' (if needed)
671
669
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
672
670
  # HTTP header 'Content-Type'
673
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
671
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
674
672
 
675
673
  # form parameters
676
674
  form_params = {}
677
- form_params["application"] = application
675
+ form_params['application'] = application
678
676
 
679
677
  # http body (model)
680
678
  post_body = nil
@@ -1,6 +1,16 @@
1
- # frozen_string_literal: true
1
+ =begin
2
+ #Budgea API Documentation
2
3
 
3
- require "uri"
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.1
10
+
11
+ =end
12
+
13
+ require 'uri'
4
14
 
5
15
  module BudgeaClient
6
16
  class WealthApi
@@ -9,28 +19,27 @@ module BudgeaClient
9
19
  def initialize(api_client = ApiClient.default)
10
20
  @api_client = api_client
11
21
  end
12
-
13
22
  # Get securities
14
23
  #
15
24
  # @param [Hash] opts the optional parameters
16
25
  # @option opts [String] :expand
17
- # @return [InlineResponse20014]
26
+ # @return [InlineResponse20015]
18
27
  def finance_securities_get(opts = {})
19
28
  data, _status_code, _headers = finance_securities_get_with_http_info(opts)
20
- return data
29
+ data
21
30
  end
22
31
 
23
32
  # Get securities
24
33
  #
25
34
  # @param [Hash] opts the optional parameters
26
35
  # @option opts [String] :expand
27
- # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
36
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
28
37
  def finance_securities_get_with_http_info(opts = {})
29
38
  if @api_client.config.debugging
30
- @api_client.config.logger.debug "Calling API: WealthApi.finance_securities_get ..."
39
+ @api_client.config.logger.debug 'Calling API: WealthApi.finance_securities_get ...'
31
40
  end
32
41
  # resource path
33
- local_var_path = "/finance/securities"
42
+ local_var_path = '/finance/securities'
34
43
 
35
44
  # query parameters
36
45
  query_params = {}
@@ -55,13 +64,12 @@ module BudgeaClient
55
64
  :form_params => form_params,
56
65
  :body => post_body,
57
66
  :auth_names => auth_names,
58
- :return_type => 'InlineResponse20014')
67
+ :return_type => 'InlineResponse20015')
59
68
  if @api_client.config.debugging
60
69
  @api_client.config.logger.debug "API called: WealthApi#finance_securities_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
61
70
  end
62
71
  return data, status_code, headers
63
72
  end
64
-
65
73
  # Get connection logs
66
74
  # Get logs about connections.<br><br>
67
75
  # @param id_security
@@ -74,7 +82,7 @@ module BudgeaClient
74
82
  # @return [nil]
75
83
  def finance_securities_id_security_history_get(id_security, opts = {})
76
84
  finance_securities_id_security_history_get_with_http_info(id_security, opts)
77
- return nil
85
+ nil
78
86
  end
79
87
 
80
88
  # Get connection logs
@@ -89,14 +97,14 @@ module BudgeaClient
89
97
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
90
98
  def finance_securities_id_security_history_get_with_http_info(id_security, opts = {})
91
99
  if @api_client.config.debugging
92
- @api_client.config.logger.debug "Calling API: WealthApi.finance_securities_id_security_history_get ..."
100
+ @api_client.config.logger.debug 'Calling API: WealthApi.finance_securities_id_security_history_get ...'
93
101
  end
94
102
  # verify the required parameter 'id_security' is set
95
103
  if @api_client.config.client_side_validation && id_security.nil?
96
104
  fail ArgumentError, "Missing the required parameter 'id_security' when calling WealthApi.finance_securities_id_security_history_get"
97
105
  end
98
106
  # resource path
99
- local_var_path = "/finance/securities/{id_security}/history".sub('{' + 'id_security' + '}', id_security.to_s)
107
+ local_var_path = '/finance/securities/{id_security}/history'.sub('{' + 'id_security' + '}', id_security.to_s)
100
108
 
101
109
  # query parameters
102
110
  query_params = {}
@@ -130,17 +138,16 @@ module BudgeaClient
130
138
  end
131
139
  return data, status_code, headers
132
140
  end
133
-
134
141
  # Get investments
135
142
  #
136
143
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
137
144
  # @param id_account
138
145
  # @param [Hash] opts the optional parameters
139
146
  # @option opts [String] :expand
140
- # @return [InlineResponse20019]
147
+ # @return [InlineResponse20021]
141
148
  def users_id_user_accounts_id_account_investments_get(id_user, id_account, opts = {})
142
149
  data, _status_code, _headers = users_id_user_accounts_id_account_investments_get_with_http_info(id_user, id_account, opts)
143
- return data
150
+ data
144
151
  end
145
152
 
146
153
  # Get investments
@@ -149,10 +156,10 @@ module BudgeaClient
149
156
  # @param id_account
150
157
  # @param [Hash] opts the optional parameters
151
158
  # @option opts [String] :expand
152
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
159
+ # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
153
160
  def users_id_user_accounts_id_account_investments_get_with_http_info(id_user, id_account, opts = {})
154
161
  if @api_client.config.debugging
155
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_accounts_id_account_investments_get ..."
162
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_get ...'
156
163
  end
157
164
  # verify the required parameter 'id_user' is set
158
165
  if @api_client.config.client_side_validation && id_user.nil?
@@ -163,7 +170,7 @@ module BudgeaClient
163
170
  fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_accounts_id_account_investments_get"
164
171
  end
165
172
  # resource path
166
- local_var_path = "/users/{id_user}/accounts/{id_account}/investments".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s)
173
+ local_var_path = '/users/{id_user}/accounts/{id_account}/investments'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s)
167
174
 
168
175
  # query parameters
169
176
  query_params = {}
@@ -188,13 +195,12 @@ module BudgeaClient
188
195
  :form_params => form_params,
189
196
  :body => post_body,
190
197
  :auth_names => auth_names,
191
- :return_type => 'InlineResponse20019')
198
+ :return_type => 'InlineResponse20021')
192
199
  if @api_client.config.debugging
193
200
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
194
201
  end
195
202
  return data, status_code, headers
196
203
  end
197
-
198
204
  # Get investment values
199
205
  #
200
206
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -202,10 +208,10 @@ module BudgeaClient
202
208
  # @param id_investment
203
209
  # @param [Hash] opts the optional parameters
204
210
  # @option opts [String] :expand
205
- # @return [InlineResponse20020]
211
+ # @return [InlineResponse20022]
206
212
  def users_id_user_accounts_id_account_investments_id_investment_history_get(id_user, id_account, id_investment, opts = {})
207
213
  data, _status_code, _headers = users_id_user_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_account, id_investment, opts)
208
- return data
214
+ data
209
215
  end
210
216
 
211
217
  # Get investment values
@@ -215,10 +221,10 @@ module BudgeaClient
215
221
  # @param id_investment
216
222
  # @param [Hash] opts the optional parameters
217
223
  # @option opts [String] :expand
218
- # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
224
+ # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
219
225
  def users_id_user_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_account, id_investment, opts = {})
220
226
  if @api_client.config.debugging
221
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get ..."
227
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get ...'
222
228
  end
223
229
  # verify the required parameter 'id_user' is set
224
230
  if @api_client.config.client_side_validation && id_user.nil?
@@ -233,7 +239,7 @@ module BudgeaClient
233
239
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get"
234
240
  end
235
241
  # resource path
236
- local_var_path = "/users/{id_user}/accounts/{id_account}/investments/{id_investment}/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
242
+ local_var_path = '/users/{id_user}/accounts/{id_account}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
237
243
 
238
244
  # query parameters
239
245
  query_params = {}
@@ -258,13 +264,12 @@ module BudgeaClient
258
264
  :form_params => form_params,
259
265
  :body => post_body,
260
266
  :auth_names => auth_names,
261
- :return_type => 'InlineResponse20020')
267
+ :return_type => 'InlineResponse20022')
262
268
  if @api_client.config.debugging
263
269
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
264
270
  end
265
271
  return data, status_code, headers
266
272
  end
267
-
268
273
  # Get connection logs
269
274
  # Get logs about connections.<br><br>
270
275
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -279,7 +284,7 @@ module BudgeaClient
279
284
  # @return [nil]
280
285
  def users_id_user_accounts_id_account_investments_id_investment_security_history_get(id_user, id_account, id_investment, opts = {})
281
286
  users_id_user_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_account, id_investment, opts)
282
- return nil
287
+ nil
283
288
  end
284
289
 
285
290
  # Get connection logs
@@ -296,7 +301,7 @@ module BudgeaClient
296
301
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
297
302
  def users_id_user_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_account, id_investment, opts = {})
298
303
  if @api_client.config.debugging
299
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_security_history_get ..."
304
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_security_history_get ...'
300
305
  end
301
306
  # verify the required parameter 'id_user' is set
302
307
  if @api_client.config.client_side_validation && id_user.nil?
@@ -311,7 +316,7 @@ module BudgeaClient
311
316
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_security_history_get"
312
317
  end
313
318
  # resource path
314
- local_var_path = "/users/{id_user}/accounts/{id_account}/investments/{id_investment}/security/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
319
+ local_var_path = '/users/{id_user}/accounts/{id_account}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
315
320
 
316
321
  # query parameters
317
322
  query_params = {}
@@ -345,7 +350,6 @@ module BudgeaClient
345
350
  end
346
351
  return data, status_code, headers
347
352
  end
348
-
349
353
  # Get investments
350
354
  #
351
355
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -353,10 +357,10 @@ module BudgeaClient
353
357
  # @param id_account
354
358
  # @param [Hash] opts the optional parameters
355
359
  # @option opts [String] :expand
356
- # @return [InlineResponse20019]
360
+ # @return [InlineResponse20021]
357
361
  def users_id_user_connections_id_connection_accounts_id_account_investments_get(id_user, id_connection, id_account, opts = {})
358
362
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_investments_get_with_http_info(id_user, id_connection, id_account, opts)
359
- return data
363
+ data
360
364
  end
361
365
 
362
366
  # Get investments
@@ -366,10 +370,10 @@ module BudgeaClient
366
370
  # @param id_account
367
371
  # @param [Hash] opts the optional parameters
368
372
  # @option opts [String] :expand
369
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
373
+ # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
370
374
  def users_id_user_connections_id_connection_accounts_id_account_investments_get_with_http_info(id_user, id_connection, id_account, opts = {})
371
375
  if @api_client.config.debugging
372
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get ..."
376
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get ...'
373
377
  end
374
378
  # verify the required parameter 'id_user' is set
375
379
  if @api_client.config.client_side_validation && id_user.nil?
@@ -384,7 +388,7 @@ module BudgeaClient
384
388
  fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get"
385
389
  end
386
390
  # resource path
387
- local_var_path = "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s)
391
+ local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s)
388
392
 
389
393
  # query parameters
390
394
  query_params = {}
@@ -409,13 +413,12 @@ module BudgeaClient
409
413
  :form_params => form_params,
410
414
  :body => post_body,
411
415
  :auth_names => auth_names,
412
- :return_type => 'InlineResponse20019')
416
+ :return_type => 'InlineResponse20021')
413
417
  if @api_client.config.debugging
414
418
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
415
419
  end
416
420
  return data, status_code, headers
417
421
  end
418
-
419
422
  # Get investment values
420
423
  #
421
424
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -424,10 +427,10 @@ module BudgeaClient
424
427
  # @param id_investment
425
428
  # @param [Hash] opts the optional parameters
426
429
  # @option opts [String] :expand
427
- # @return [InlineResponse20020]
430
+ # @return [InlineResponse20022]
428
431
  def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get(id_user, id_connection, id_account, id_investment, opts = {})
429
432
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts)
430
- return data
433
+ data
431
434
  end
432
435
 
433
436
  # Get investment values
@@ -438,10 +441,10 @@ module BudgeaClient
438
441
  # @param id_investment
439
442
  # @param [Hash] opts the optional parameters
440
443
  # @option opts [String] :expand
441
- # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
444
+ # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
442
445
  def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {})
443
446
  if @api_client.config.debugging
444
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get ..."
447
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get ...'
445
448
  end
446
449
  # verify the required parameter 'id_user' is set
447
450
  if @api_client.config.client_side_validation && id_user.nil?
@@ -460,7 +463,7 @@ module BudgeaClient
460
463
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get"
461
464
  end
462
465
  # resource path
463
- local_var_path = "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
466
+ local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
464
467
 
465
468
  # query parameters
466
469
  query_params = {}
@@ -485,13 +488,12 @@ module BudgeaClient
485
488
  :form_params => form_params,
486
489
  :body => post_body,
487
490
  :auth_names => auth_names,
488
- :return_type => 'InlineResponse20020')
491
+ :return_type => 'InlineResponse20022')
489
492
  if @api_client.config.debugging
490
493
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
491
494
  end
492
495
  return data, status_code, headers
493
496
  end
494
-
495
497
  # Get connection logs
496
498
  # Get logs about connections.<br><br>
497
499
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -507,7 +509,7 @@ module BudgeaClient
507
509
  # @return [nil]
508
510
  def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get(id_user, id_connection, id_account, id_investment, opts = {})
509
511
  users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts)
510
- return nil
512
+ nil
511
513
  end
512
514
 
513
515
  # Get connection logs
@@ -525,7 +527,7 @@ module BudgeaClient
525
527
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
526
528
  def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {})
527
529
  if @api_client.config.debugging
528
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get ..."
530
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get ...'
529
531
  end
530
532
  # verify the required parameter 'id_user' is set
531
533
  if @api_client.config.client_side_validation && id_user.nil?
@@ -544,7 +546,7 @@ module BudgeaClient
544
546
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get"
545
547
  end
546
548
  # resource path
547
- local_var_path = "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/security/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
549
+ local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
548
550
 
549
551
  # query parameters
550
552
  query_params = {}
@@ -578,17 +580,16 @@ module BudgeaClient
578
580
  end
579
581
  return data, status_code, headers
580
582
  end
581
-
582
583
  # Get investments
583
584
  #
584
585
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
585
586
  # @param id_connection
586
587
  # @param [Hash] opts the optional parameters
587
588
  # @option opts [String] :expand
588
- # @return [InlineResponse20019]
589
+ # @return [InlineResponse20021]
589
590
  def users_id_user_connections_id_connection_investments_get(id_user, id_connection, opts = {})
590
591
  data, _status_code, _headers = users_id_user_connections_id_connection_investments_get_with_http_info(id_user, id_connection, opts)
591
- return data
592
+ data
592
593
  end
593
594
 
594
595
  # Get investments
@@ -597,10 +598,10 @@ module BudgeaClient
597
598
  # @param id_connection
598
599
  # @param [Hash] opts the optional parameters
599
600
  # @option opts [String] :expand
600
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
601
+ # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
601
602
  def users_id_user_connections_id_connection_investments_get_with_http_info(id_user, id_connection, opts = {})
602
603
  if @api_client.config.debugging
603
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_connections_id_connection_investments_get ..."
604
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_get ...'
604
605
  end
605
606
  # verify the required parameter 'id_user' is set
606
607
  if @api_client.config.client_side_validation && id_user.nil?
@@ -611,7 +612,7 @@ module BudgeaClient
611
612
  fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_investments_get"
612
613
  end
613
614
  # resource path
614
- local_var_path = "/users/{id_user}/connections/{id_connection}/investments".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
615
+ local_var_path = '/users/{id_user}/connections/{id_connection}/investments'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
615
616
 
616
617
  # query parameters
617
618
  query_params = {}
@@ -636,13 +637,12 @@ module BudgeaClient
636
637
  :form_params => form_params,
637
638
  :body => post_body,
638
639
  :auth_names => auth_names,
639
- :return_type => 'InlineResponse20019')
640
+ :return_type => 'InlineResponse20021')
640
641
  if @api_client.config.debugging
641
642
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
642
643
  end
643
644
  return data, status_code, headers
644
645
  end
645
-
646
646
  # Get investment values
647
647
  #
648
648
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -650,10 +650,10 @@ module BudgeaClient
650
650
  # @param id_investment
651
651
  # @param [Hash] opts the optional parameters
652
652
  # @option opts [String] :expand
653
- # @return [InlineResponse20020]
653
+ # @return [InlineResponse20022]
654
654
  def users_id_user_connections_id_connection_investments_id_investment_history_get(id_user, id_connection, id_investment, opts = {})
655
655
  data, _status_code, _headers = users_id_user_connections_id_connection_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_investment, opts)
656
- return data
656
+ data
657
657
  end
658
658
 
659
659
  # Get investment values
@@ -663,10 +663,10 @@ module BudgeaClient
663
663
  # @param id_investment
664
664
  # @param [Hash] opts the optional parameters
665
665
  # @option opts [String] :expand
666
- # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
666
+ # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
667
667
  def users_id_user_connections_id_connection_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_investment, opts = {})
668
668
  if @api_client.config.debugging
669
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get ..."
669
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get ...'
670
670
  end
671
671
  # verify the required parameter 'id_user' is set
672
672
  if @api_client.config.client_side_validation && id_user.nil?
@@ -681,7 +681,7 @@ module BudgeaClient
681
681
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get"
682
682
  end
683
683
  # resource path
684
- local_var_path = "/users/{id_user}/connections/{id_connection}/investments/{id_investment}/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
684
+ local_var_path = '/users/{id_user}/connections/{id_connection}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
685
685
 
686
686
  # query parameters
687
687
  query_params = {}
@@ -706,13 +706,12 @@ module BudgeaClient
706
706
  :form_params => form_params,
707
707
  :body => post_body,
708
708
  :auth_names => auth_names,
709
- :return_type => 'InlineResponse20020')
709
+ :return_type => 'InlineResponse20022')
710
710
  if @api_client.config.debugging
711
711
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
712
712
  end
713
713
  return data, status_code, headers
714
714
  end
715
-
716
715
  # Get connection logs
717
716
  # Get logs about connections.<br><br>
718
717
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -727,7 +726,7 @@ module BudgeaClient
727
726
  # @return [nil]
728
727
  def users_id_user_connections_id_connection_investments_id_investment_security_history_get(id_user, id_connection, id_investment, opts = {})
729
728
  users_id_user_connections_id_connection_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_investment, opts)
730
- return nil
729
+ nil
731
730
  end
732
731
 
733
732
  # Get connection logs
@@ -744,7 +743,7 @@ module BudgeaClient
744
743
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
745
744
  def users_id_user_connections_id_connection_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_investment, opts = {})
746
745
  if @api_client.config.debugging
747
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_security_history_get ..."
746
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_security_history_get ...'
748
747
  end
749
748
  # verify the required parameter 'id_user' is set
750
749
  if @api_client.config.client_side_validation && id_user.nil?
@@ -759,7 +758,7 @@ module BudgeaClient
759
758
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_security_history_get"
760
759
  end
761
760
  # resource path
762
- local_var_path = "/users/{id_user}/connections/{id_connection}/investments/{id_investment}/security/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
761
+ local_var_path = '/users/{id_user}/connections/{id_connection}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
763
762
 
764
763
  # query parameters
765
764
  query_params = {}
@@ -793,16 +792,15 @@ module BudgeaClient
793
792
  end
794
793
  return data, status_code, headers
795
794
  end
796
-
797
795
  # Get investments
798
796
  #
799
797
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
800
798
  # @param [Hash] opts the optional parameters
801
799
  # @option opts [String] :expand
802
- # @return [InlineResponse20019]
800
+ # @return [InlineResponse20021]
803
801
  def users_id_user_investments_get(id_user, opts = {})
804
802
  data, _status_code, _headers = users_id_user_investments_get_with_http_info(id_user, opts)
805
- return data
803
+ data
806
804
  end
807
805
 
808
806
  # Get investments
@@ -810,17 +808,17 @@ module BudgeaClient
810
808
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
811
809
  # @param [Hash] opts the optional parameters
812
810
  # @option opts [String] :expand
813
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
811
+ # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
814
812
  def users_id_user_investments_get_with_http_info(id_user, opts = {})
815
813
  if @api_client.config.debugging
816
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_investments_get ..."
814
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_get ...'
817
815
  end
818
816
  # verify the required parameter 'id_user' is set
819
817
  if @api_client.config.client_side_validation && id_user.nil?
820
818
  fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_investments_get"
821
819
  end
822
820
  # resource path
823
- local_var_path = "/users/{id_user}/investments".sub('{' + 'id_user' + '}', id_user.to_s)
821
+ local_var_path = '/users/{id_user}/investments'.sub('{' + 'id_user' + '}', id_user.to_s)
824
822
 
825
823
  # query parameters
826
824
  query_params = {}
@@ -845,23 +843,22 @@ module BudgeaClient
845
843
  :form_params => form_params,
846
844
  :body => post_body,
847
845
  :auth_names => auth_names,
848
- :return_type => 'InlineResponse20019')
846
+ :return_type => 'InlineResponse20021')
849
847
  if @api_client.config.debugging
850
848
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
851
849
  end
852
850
  return data, status_code, headers
853
851
  end
854
-
855
852
  # Get investment values
856
853
  #
857
854
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
858
855
  # @param id_investment
859
856
  # @param [Hash] opts the optional parameters
860
857
  # @option opts [String] :expand
861
- # @return [InlineResponse20020]
858
+ # @return [InlineResponse20022]
862
859
  def users_id_user_investments_id_investment_history_get(id_user, id_investment, opts = {})
863
860
  data, _status_code, _headers = users_id_user_investments_id_investment_history_get_with_http_info(id_user, id_investment, opts)
864
- return data
861
+ data
865
862
  end
866
863
 
867
864
  # Get investment values
@@ -870,10 +867,10 @@ module BudgeaClient
870
867
  # @param id_investment
871
868
  # @param [Hash] opts the optional parameters
872
869
  # @option opts [String] :expand
873
- # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
870
+ # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
874
871
  def users_id_user_investments_id_investment_history_get_with_http_info(id_user, id_investment, opts = {})
875
872
  if @api_client.config.debugging
876
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_investments_id_investment_history_get ..."
873
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_id_investment_history_get ...'
877
874
  end
878
875
  # verify the required parameter 'id_user' is set
879
876
  if @api_client.config.client_side_validation && id_user.nil?
@@ -884,7 +881,7 @@ module BudgeaClient
884
881
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_investments_id_investment_history_get"
885
882
  end
886
883
  # resource path
887
- local_var_path = "/users/{id_user}/investments/{id_investment}/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
884
+ local_var_path = '/users/{id_user}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
888
885
 
889
886
  # query parameters
890
887
  query_params = {}
@@ -909,13 +906,12 @@ module BudgeaClient
909
906
  :form_params => form_params,
910
907
  :body => post_body,
911
908
  :auth_names => auth_names,
912
- :return_type => 'InlineResponse20020')
909
+ :return_type => 'InlineResponse20022')
913
910
  if @api_client.config.debugging
914
911
  @api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
915
912
  end
916
913
  return data, status_code, headers
917
914
  end
918
-
919
915
  # Get connection logs
920
916
  # Get logs about connections.<br><br>
921
917
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
@@ -929,7 +925,7 @@ module BudgeaClient
929
925
  # @return [nil]
930
926
  def users_id_user_investments_id_investment_security_history_get(id_user, id_investment, opts = {})
931
927
  users_id_user_investments_id_investment_security_history_get_with_http_info(id_user, id_investment, opts)
932
- return nil
928
+ nil
933
929
  end
934
930
 
935
931
  # Get connection logs
@@ -945,7 +941,7 @@ module BudgeaClient
945
941
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
946
942
  def users_id_user_investments_id_investment_security_history_get_with_http_info(id_user, id_investment, opts = {})
947
943
  if @api_client.config.debugging
948
- @api_client.config.logger.debug "Calling API: WealthApi.users_id_user_investments_id_investment_security_history_get ..."
944
+ @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_id_investment_security_history_get ...'
949
945
  end
950
946
  # verify the required parameter 'id_user' is set
951
947
  if @api_client.config.client_side_validation && id_user.nil?
@@ -956,7 +952,7 @@ module BudgeaClient
956
952
  fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_investments_id_investment_security_history_get"
957
953
  end
958
954
  # resource path
959
- local_var_path = "/users/{id_user}/investments/{id_investment}/security/history".sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
955
+ local_var_path = '/users/{id_user}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)
960
956
 
961
957
  # query parameters
962
958
  query_params = {}