budgea_client 4.0.3 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +50 -5
- data/budgea_openapi.json +1888 -383
- data/docs/Account.md +2 -0
- data/docs/AccountLog.md +1 -0
- data/docs/AdministrationApi.md +366 -55
- data/docs/AuthenticationApi.md +15 -13
- data/docs/BanksApi.md +988 -194
- data/docs/Client.md +1 -1
- data/docs/Connection.md +2 -0
- data/docs/ConnectionLog.md +1 -0
- data/docs/ConnectionSource.md +18 -0
- data/docs/ConnectionsApi.md +618 -25
- data/docs/Connector.md +1 -1
- data/docs/ConnectorSource.md +15 -0
- data/docs/DocumentsApi.md +72 -72
- data/docs/Field.md +1 -0
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +1 -1
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20017.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +2 -1
- data/docs/InlineResponse20030.md +1 -1
- data/docs/InlineResponse20031.md +1 -1
- data/docs/InlineResponse20032.md +1 -1
- data/docs/InlineResponse20033.md +1 -1
- data/docs/InlineResponse20034.md +1 -1
- data/docs/InlineResponse20035.md +1 -1
- data/docs/InlineResponse20036.md +1 -1
- data/docs/InlineResponse20037.md +1 -1
- data/docs/InlineResponse20038.md +1 -1
- data/docs/InlineResponse20039.md +1 -1
- data/docs/InlineResponse20040.md +1 -1
- data/docs/InlineResponse20041.md +9 -0
- data/docs/InlineResponse20042.md +9 -0
- data/docs/OIDCApi.md +3 -3
- data/docs/Order.md +14 -0
- data/docs/PFMApi.md +87 -39
- data/docs/ProvidersApi.md +979 -122
- data/docs/RecipientsApi.md +4 -4
- data/docs/Subscription.md +1 -0
- data/docs/SubscriptionLog.md +15 -0
- data/docs/TermsApi.md +3 -3
- data/docs/Transaction.md +1 -0
- data/docs/Transfer.md +5 -1
- data/docs/TransferApi.md +77 -0
- data/docs/TransfersApi.md +39 -39
- data/docs/UsersManagementApi.md +13 -13
- data/docs/WealthApi.md +24 -24
- data/lib/budgea_client.rb +7 -2
- data/lib/budgea_client/api/administration_api.rb +381 -71
- data/lib/budgea_client/api/authentication_api.rb +16 -13
- data/lib/budgea_client/api/banks_api.rb +1034 -211
- data/lib/budgea_client/api/connections_api.rb +648 -30
- data/lib/budgea_client/api/documents_api.rb +85 -85
- data/lib/budgea_client/api/oidc_api.rb +3 -3
- data/lib/budgea_client/api/pfm_api.rb +87 -40
- data/lib/budgea_client/api/providers_api.rb +1045 -151
- data/lib/budgea_client/api/recipients_api.rb +4 -4
- data/lib/budgea_client/api/terms_api.rb +3 -3
- data/lib/budgea_client/api/transfer_api.rb +94 -0
- data/lib/budgea_client/api/transfers_api.rb +39 -39
- data/lib/budgea_client/api/users_management_api.rb +14 -14
- data/lib/budgea_client/api/wealth_api.rb +25 -25
- data/lib/budgea_client/models/account.rb +24 -4
- data/lib/budgea_client/models/account_log.rb +16 -1
- data/lib/budgea_client/models/client.rb +11 -11
- data/lib/budgea_client/models/connection.rb +23 -4
- data/lib/budgea_client/models/connection_log.rb +11 -1
- data/lib/budgea_client/models/connection_source.rb +309 -0
- data/lib/budgea_client/models/connector.rb +18 -15
- data/lib/budgea_client/models/connector_source.rb +273 -0
- data/lib/budgea_client/models/field.rb +14 -4
- data/lib/budgea_client/models/inline_response_200_11.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_12.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_14.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_19.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_30.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_32.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_33.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_35.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_36.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_37.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_38.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_39.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_40.rb +18 -18
- data/lib/budgea_client/models/inline_response_200_41.rb +200 -0
- data/lib/budgea_client/models/inline_response_200_42.rb +200 -0
- data/lib/budgea_client/models/order.rb +259 -0
- data/lib/budgea_client/models/subscription.rb +11 -1
- data/lib/budgea_client/models/subscription_log.rb +269 -0
- data/lib/budgea_client/models/transaction.rb +11 -1
- data/lib/budgea_client/models/transfer.rb +49 -2
- data/lib/budgea_client/models/user.rb +2 -2
- data/lib/budgea_client/version.rb +1 -1
- data/original_budgea_openapi.json +1980 -351
- data/pkg/budgea_client-2.0.0.gem +0 -0
- data/pkg/budgea_client-3.0.1.gem +0 -0
- data/pkg/budgea_client-4.0.0.gem +0 -0
- data/spec/api/transfer_api_spec.rb +54 -0
- data/spec/models/connection_source_spec.rb +101 -0
- data/spec/models/connector_source_spec.rb +83 -0
- data/spec/models/inline_response_200_41_spec.rb +47 -0
- data/spec/models/inline_response_200_42_spec.rb +47 -0
- data/spec/models/order_spec.rb +77 -0
- data/spec/models/subscription_log_spec.rb +83 -0
- metadata +34 -9
- data/config.yaml +0 -15
- data/pkg/budgea_client-2.0.1.gem +0 -0
- data/pkg/budgea_client-2.0.2.gem +0 -0
- data/pkg/budgea_client-3.0.0.gem +0 -0
- data/pkg/budgea_client-4.0.1.gem +0 -0
- data/pkg/budgea_client-4.0.2.gem +0 -0
data/docs/Client.md
CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**secret** | **String** | |
|
9
9
|
**public_key** | **String** | | [optional]
|
10
10
|
**private_key** | **String** | | [optional]
|
11
|
-
**
|
11
|
+
**redirect_uris** | **String** | | [default to '']
|
12
12
|
**pro** | **BOOLEAN** | Should the client display the company manager page. | [default to false]
|
13
13
|
**id_logo** | **Integer** | | [optional]
|
14
14
|
**config** | **String** | customizable config | [optional]
|
data/docs/Connection.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**id_user** | **Integer** | ID of the related user | [optional]
|
8
8
|
**id_connector** | **Integer** | ID of the related connector |
|
9
9
|
**last_update** | **DateTime** | Last successful update | [optional]
|
10
|
+
**created** | **DateTime** | Creation date | [optional]
|
10
11
|
**error** | **String** | If the last update has failed, the error code | [optional]
|
11
12
|
**error_message** | **String** | If fail, error message received from connector | [optional]
|
12
13
|
**expire** | **DateTime** | Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort | [optional]
|
@@ -15,5 +16,6 @@ Name | Type | Description | Notes
|
|
15
16
|
**next_try** | **DateTime** | Date of next synchronization | [optional]
|
16
17
|
**accounts** | [**Array<Account>**](Account.md) | | [optional]
|
17
18
|
**subscriptions** | [**Array<Subscription>**](Subscription.md) | | [optional]
|
19
|
+
**connection** | [**Connection**](Connection.md) | | [optional]
|
18
20
|
|
19
21
|
|
data/docs/ConnectionLog.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**id_user** | **Integer** | ID of the user | [optional]
|
8
8
|
**id_connection** | **Integer** | ID of the connection |
|
9
9
|
**id_connector** | **Integer** | ID of the connector | [optional]
|
10
|
+
**id_source** | **Integer** | ID of the related connection source | [optional]
|
10
11
|
**login** | **String** | bcrypt hash of the login | [optional]
|
11
12
|
**error_uid** | **String** | MD5 hash of the exception backtrace | [optional]
|
12
13
|
**timestamp** | **DateTime** | Timestamp of log, when the synchronization has finished |
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# BudgeaClient::ConnectionSource
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | ID of connection |
|
7
|
+
**id_connection** | **Integer** | ID of the related connection |
|
8
|
+
**id_connector_source** | **Integer** | ID of the related connector source |
|
9
|
+
**name** | **String** | Name of the connection source |
|
10
|
+
**last_update** | **DateTime** | Last successful update | [optional]
|
11
|
+
**disabled** | **DateTime** | This source is not used to synchronize the connection | [optional]
|
12
|
+
**created** | **DateTime** | Creation date of the connection source |
|
13
|
+
**state** | **String** | If the last update has failed, the state code | [optional]
|
14
|
+
**access_expire** | **DateTime** | Expiration date of the access | [optional]
|
15
|
+
**expire** | **DateTime** | Expiration of the connection source. Used to purge the connection in case completion was not finished | [optional]
|
16
|
+
**next_try** | **DateTime** | Date of next synchronization | [optional]
|
17
|
+
|
18
|
+
|
data/docs/ConnectionsApi.md
CHANGED
@@ -6,12 +6,17 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**banks_get**](ConnectionsApi.md#banks_get) | **GET** /banks | Get list of connectors
|
8
8
|
[**banks_id_connector_connections_get**](ConnectionsApi.md#banks_id_connector_connections_get) | **GET** /banks/{id_connector}/connections | Get a subset of id_connection with the largest diversity of account
|
9
|
+
[**banks_id_connector_sources_get**](ConnectionsApi.md#banks_id_connector_sources_get) | **GET** /banks/{id_connector}/sources | Get list of connector sources
|
9
10
|
[**connections_get**](ConnectionsApi.md#connections_get) | **GET** /connections | Get connections without a user
|
11
|
+
[**connections_id_connection_logs_get**](ConnectionsApi.md#connections_id_connection_logs_get) | **GET** /connections/{id_connection}/logs | Get connection logs
|
10
12
|
[**connectors_get**](ConnectionsApi.md#connectors_get) | **GET** /connectors | Get list of connectors
|
13
|
+
[**connectors_id_connector_sources_get**](ConnectionsApi.md#connectors_id_connector_sources_get) | **GET** /connectors/{id_connector}/sources | Get list of connector sources
|
14
|
+
[**connectors_id_connector_sources_id_source_put**](ConnectionsApi.md#connectors_id_connector_sources_id_source_put) | **PUT** /connectors/{id_connector}/sources/{id_source} | Edit the provided connector source
|
11
15
|
[**connectors_post**](ConnectionsApi.md#connectors_post) | **POST** /connectors | Request a new connector
|
12
16
|
[**logs_get**](ConnectionsApi.md#logs_get) | **GET** /logs | Get connection logs
|
13
17
|
[**providers_get**](ConnectionsApi.md#providers_get) | **GET** /providers | Get list of connectors
|
14
18
|
[**providers_id_connector_connections_get**](ConnectionsApi.md#providers_id_connector_connections_get) | **GET** /providers/{id_connector}/connections | Get a random subset of provider's id_connection
|
19
|
+
[**providers_id_connector_sources_get**](ConnectionsApi.md#providers_id_connector_sources_get) | **GET** /providers/{id_connector}/sources | Get list of connector sources
|
15
20
|
[**users_id_user_connections_delete**](ConnectionsApi.md#users_id_user_connections_delete) | **DELETE** /users/{id_user}/connections | Delete all connections
|
16
21
|
[**users_id_user_connections_get**](ConnectionsApi.md#users_id_user_connections_get) | **GET** /users/{id_user}/connections | Get connections
|
17
22
|
[**users_id_user_connections_id_connection_delete**](ConnectionsApi.md#users_id_user_connections_id_connection_delete) | **DELETE** /users/{id_user}/connections/{id_connection} | Delete a connection.
|
@@ -20,6 +25,10 @@ Method | HTTP request | Description
|
|
20
25
|
[**users_id_user_connections_id_connection_logs_get**](ConnectionsApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
|
21
26
|
[**users_id_user_connections_id_connection_post**](ConnectionsApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
|
22
27
|
[**users_id_user_connections_id_connection_put**](ConnectionsApi.md#users_id_user_connections_id_connection_put) | **PUT** /users/{id_user}/connections/{id_connection} | Force synchronisation of a connection.
|
28
|
+
[**users_id_user_connections_id_connection_sources_get**](ConnectionsApi.md#users_id_user_connections_id_connection_sources_get) | **GET** /users/{id_user}/connections/{id_connection}/sources | Get connection sources
|
29
|
+
[**users_id_user_connections_id_connection_sources_id_source_delete**](ConnectionsApi.md#users_id_user_connections_id_connection_sources_id_source_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Disable a connection source
|
30
|
+
[**users_id_user_connections_id_connection_sources_id_source_post**](ConnectionsApi.md#users_id_user_connections_id_connection_sources_id_source_post) | **POST** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
|
31
|
+
[**users_id_user_connections_id_connection_sources_id_source_put**](ConnectionsApi.md#users_id_user_connections_id_connection_sources_id_source_put) | **PUT** /users/{id_user}/connections/{id_connection}/sources/{id_source} | Enable connection source
|
23
32
|
[**users_id_user_connections_post**](ConnectionsApi.md#users_id_user_connections_post) | **POST** /users/{id_user}/connections | Add a new connection.
|
24
33
|
[**users_id_user_logs_get**](ConnectionsApi.md#users_id_user_logs_get) | **GET** /users/{id_user}/logs | Get connection logs
|
25
34
|
|
@@ -74,7 +83,7 @@ Name | Type | Description | Notes
|
|
74
83
|
|
75
84
|
### HTTP request headers
|
76
85
|
|
77
|
-
- **Content-Type**: application/
|
86
|
+
- **Content-Type**: application/json, multipart/form-data
|
78
87
|
- **Accept**: application/json
|
79
88
|
|
80
89
|
|
@@ -138,7 +147,65 @@ Name | Type | Description | Notes
|
|
138
147
|
|
139
148
|
### HTTP request headers
|
140
149
|
|
141
|
-
- **Content-Type**: application/
|
150
|
+
- **Content-Type**: application/json, multipart/form-data
|
151
|
+
- **Accept**: application/json
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
# **banks_id_connector_sources_get**
|
156
|
+
> InlineResponse20011 banks_id_connector_sources_get(id_connector, opts)
|
157
|
+
|
158
|
+
Get list of connector sources
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
### Example
|
163
|
+
```ruby
|
164
|
+
# load the gem
|
165
|
+
require 'budgea_client'
|
166
|
+
# setup authorization
|
167
|
+
BudgeaClient.configure do |config|
|
168
|
+
# Configure API key authorization: api_key
|
169
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
170
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
171
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
172
|
+
end
|
173
|
+
|
174
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
175
|
+
|
176
|
+
id_connector = 56 # Integer |
|
177
|
+
|
178
|
+
opts = {
|
179
|
+
expand: 'expand_example' # String |
|
180
|
+
}
|
181
|
+
|
182
|
+
begin
|
183
|
+
#Get list of connector sources
|
184
|
+
result = api_instance.banks_id_connector_sources_get(id_connector, opts)
|
185
|
+
p result
|
186
|
+
rescue BudgeaClient::ApiError => e
|
187
|
+
puts "Exception when calling ConnectionsApi->banks_id_connector_sources_get: #{e}"
|
188
|
+
end
|
189
|
+
```
|
190
|
+
|
191
|
+
### Parameters
|
192
|
+
|
193
|
+
Name | Type | Description | Notes
|
194
|
+
------------- | ------------- | ------------- | -------------
|
195
|
+
**id_connector** | **Integer**| |
|
196
|
+
**expand** | **String**| | [optional]
|
197
|
+
|
198
|
+
### Return type
|
199
|
+
|
200
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
201
|
+
|
202
|
+
### Authorization
|
203
|
+
|
204
|
+
[api_key](../README.md#api_key)
|
205
|
+
|
206
|
+
### HTTP request headers
|
207
|
+
|
208
|
+
- **Content-Type**: application/json, multipart/form-data
|
142
209
|
- **Accept**: application/json
|
143
210
|
|
144
211
|
|
@@ -193,13 +260,93 @@ Name | Type | Description | Notes
|
|
193
260
|
|
194
261
|
### HTTP request headers
|
195
262
|
|
196
|
-
- **Content-Type**: application/
|
263
|
+
- **Content-Type**: application/json, multipart/form-data
|
264
|
+
- **Accept**: application/json
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
# **connections_id_connection_logs_get**
|
269
|
+
> InlineResponse20015 connections_id_connection_logs_get(id_connection, opts)
|
270
|
+
|
271
|
+
Get connection logs
|
272
|
+
|
273
|
+
Get logs about connections.<br><br>
|
274
|
+
|
275
|
+
### Example
|
276
|
+
```ruby
|
277
|
+
# load the gem
|
278
|
+
require 'budgea_client'
|
279
|
+
# setup authorization
|
280
|
+
BudgeaClient.configure do |config|
|
281
|
+
# Configure API key authorization: api_key
|
282
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
283
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
284
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
285
|
+
end
|
286
|
+
|
287
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
288
|
+
|
289
|
+
id_connection = 56 # Integer |
|
290
|
+
|
291
|
+
opts = {
|
292
|
+
limit: 56, # Integer | limit number of results
|
293
|
+
offset: 56, # Integer | offset of first result
|
294
|
+
min_date: Date.parse('2013-10-20'), # Date | minimal date
|
295
|
+
max_date: Date.parse('2013-10-20'), # Date | maximum date
|
296
|
+
state: 56, # Integer | state of user
|
297
|
+
period: 'period_example', # String | period to group logs
|
298
|
+
id_user: 56, # Integer | ID of a user
|
299
|
+
id_connection2: 56, # Integer | ID of a connection
|
300
|
+
id_connector: 56, # Integer | ID of a connector
|
301
|
+
charged: true, # BOOLEAN | consider only logs for charged connectors
|
302
|
+
id_source: 56, # Integer | ID of a source
|
303
|
+
expand: 'expand_example' # String |
|
304
|
+
}
|
305
|
+
|
306
|
+
begin
|
307
|
+
#Get connection logs
|
308
|
+
result = api_instance.connections_id_connection_logs_get(id_connection, opts)
|
309
|
+
p result
|
310
|
+
rescue BudgeaClient::ApiError => e
|
311
|
+
puts "Exception when calling ConnectionsApi->connections_id_connection_logs_get: #{e}"
|
312
|
+
end
|
313
|
+
```
|
314
|
+
|
315
|
+
### Parameters
|
316
|
+
|
317
|
+
Name | Type | Description | Notes
|
318
|
+
------------- | ------------- | ------------- | -------------
|
319
|
+
**id_connection** | **Integer**| |
|
320
|
+
**limit** | **Integer**| limit number of results | [optional]
|
321
|
+
**offset** | **Integer**| offset of first result | [optional]
|
322
|
+
**min_date** | **Date**| minimal date | [optional]
|
323
|
+
**max_date** | **Date**| maximum date | [optional]
|
324
|
+
**state** | **Integer**| state of user | [optional]
|
325
|
+
**period** | **String**| period to group logs | [optional]
|
326
|
+
**id_user** | **Integer**| ID of a user | [optional]
|
327
|
+
**id_connection2** | **Integer**| ID of a connection | [optional]
|
328
|
+
**id_connector** | **Integer**| ID of a connector | [optional]
|
329
|
+
**charged** | **BOOLEAN**| consider only logs for charged connectors | [optional]
|
330
|
+
**id_source** | **Integer**| ID of a source | [optional]
|
331
|
+
**expand** | **String**| | [optional]
|
332
|
+
|
333
|
+
### Return type
|
334
|
+
|
335
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
336
|
+
|
337
|
+
### Authorization
|
338
|
+
|
339
|
+
[api_key](../README.md#api_key)
|
340
|
+
|
341
|
+
### HTTP request headers
|
342
|
+
|
343
|
+
- **Content-Type**: application/json, multipart/form-data
|
197
344
|
- **Accept**: application/json
|
198
345
|
|
199
346
|
|
200
347
|
|
201
348
|
# **connectors_get**
|
202
|
-
>
|
349
|
+
> InlineResponse20016 connectors_get(opts)
|
203
350
|
|
204
351
|
Get list of connectors
|
205
352
|
|
@@ -240,7 +387,7 @@ Name | Type | Description | Notes
|
|
240
387
|
|
241
388
|
### Return type
|
242
389
|
|
243
|
-
[**
|
390
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
244
391
|
|
245
392
|
### Authorization
|
246
393
|
|
@@ -248,7 +395,130 @@ Name | Type | Description | Notes
|
|
248
395
|
|
249
396
|
### HTTP request headers
|
250
397
|
|
251
|
-
- **Content-Type**: application/
|
398
|
+
- **Content-Type**: application/json, multipart/form-data
|
399
|
+
- **Accept**: application/json
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
# **connectors_id_connector_sources_get**
|
404
|
+
> InlineResponse20011 connectors_id_connector_sources_get(id_connector, opts)
|
405
|
+
|
406
|
+
Get list of connector sources
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
### Example
|
411
|
+
```ruby
|
412
|
+
# load the gem
|
413
|
+
require 'budgea_client'
|
414
|
+
# setup authorization
|
415
|
+
BudgeaClient.configure do |config|
|
416
|
+
# Configure API key authorization: api_key
|
417
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
418
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
419
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
420
|
+
end
|
421
|
+
|
422
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
423
|
+
|
424
|
+
id_connector = 56 # Integer |
|
425
|
+
|
426
|
+
opts = {
|
427
|
+
expand: 'expand_example' # String |
|
428
|
+
}
|
429
|
+
|
430
|
+
begin
|
431
|
+
#Get list of connector sources
|
432
|
+
result = api_instance.connectors_id_connector_sources_get(id_connector, opts)
|
433
|
+
p result
|
434
|
+
rescue BudgeaClient::ApiError => e
|
435
|
+
puts "Exception when calling ConnectionsApi->connectors_id_connector_sources_get: #{e}"
|
436
|
+
end
|
437
|
+
```
|
438
|
+
|
439
|
+
### Parameters
|
440
|
+
|
441
|
+
Name | Type | Description | Notes
|
442
|
+
------------- | ------------- | ------------- | -------------
|
443
|
+
**id_connector** | **Integer**| |
|
444
|
+
**expand** | **String**| | [optional]
|
445
|
+
|
446
|
+
### Return type
|
447
|
+
|
448
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
449
|
+
|
450
|
+
### Authorization
|
451
|
+
|
452
|
+
[api_key](../README.md#api_key)
|
453
|
+
|
454
|
+
### HTTP request headers
|
455
|
+
|
456
|
+
- **Content-Type**: application/json, multipart/form-data
|
457
|
+
- **Accept**: application/json
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
# **connectors_id_connector_sources_id_source_put**
|
462
|
+
> ConnectorSource connectors_id_connector_sources_id_source_put(id_connector, id_source, opts)
|
463
|
+
|
464
|
+
Edit the provided connector source
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
### Example
|
469
|
+
```ruby
|
470
|
+
# load the gem
|
471
|
+
require 'budgea_client'
|
472
|
+
# setup authorization
|
473
|
+
BudgeaClient.configure do |config|
|
474
|
+
# Configure API key authorization: api_key
|
475
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
476
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
477
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
478
|
+
end
|
479
|
+
|
480
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
481
|
+
|
482
|
+
id_connector = 56 # Integer |
|
483
|
+
|
484
|
+
id_source = 56 # Integer |
|
485
|
+
|
486
|
+
opts = {
|
487
|
+
auth_mechanism: 'auth_mechanism_example', # String | the authentication mechanism to use for this connector source
|
488
|
+
disabled: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | to enable or disable connector source
|
489
|
+
expand: 'expand_example' # String |
|
490
|
+
}
|
491
|
+
|
492
|
+
begin
|
493
|
+
#Edit the provided connector source
|
494
|
+
result = api_instance.connectors_id_connector_sources_id_source_put(id_connector, id_source, opts)
|
495
|
+
p result
|
496
|
+
rescue BudgeaClient::ApiError => e
|
497
|
+
puts "Exception when calling ConnectionsApi->connectors_id_connector_sources_id_source_put: #{e}"
|
498
|
+
end
|
499
|
+
```
|
500
|
+
|
501
|
+
### Parameters
|
502
|
+
|
503
|
+
Name | Type | Description | Notes
|
504
|
+
------------- | ------------- | ------------- | -------------
|
505
|
+
**id_connector** | **Integer**| |
|
506
|
+
**id_source** | **Integer**| |
|
507
|
+
**auth_mechanism** | **String**| the authentication mechanism to use for this connector source | [optional]
|
508
|
+
**disabled** | **DateTime**| to enable or disable connector source | [optional]
|
509
|
+
**expand** | **String**| | [optional]
|
510
|
+
|
511
|
+
### Return type
|
512
|
+
|
513
|
+
[**ConnectorSource**](ConnectorSource.md)
|
514
|
+
|
515
|
+
### Authorization
|
516
|
+
|
517
|
+
[api_key](../README.md#api_key)
|
518
|
+
|
519
|
+
### HTTP request headers
|
520
|
+
|
521
|
+
- **Content-Type**: application/json, multipart/form-data
|
252
522
|
- **Accept**: application/json
|
253
523
|
|
254
524
|
|
@@ -328,7 +598,7 @@ Name | Type | Description | Notes
|
|
328
598
|
|
329
599
|
|
330
600
|
# **logs_get**
|
331
|
-
>
|
601
|
+
> InlineResponse20015 logs_get(opts)
|
332
602
|
|
333
603
|
Get connection logs
|
334
604
|
|
@@ -359,6 +629,7 @@ opts = {
|
|
359
629
|
id_connection: 56, # Integer | ID of a connection
|
360
630
|
id_connector: 56, # Integer | ID of a connector
|
361
631
|
charged: true, # BOOLEAN | consider only logs for charged connectors
|
632
|
+
id_source: 56, # Integer | ID of a source
|
362
633
|
expand: 'expand_example' # String |
|
363
634
|
}
|
364
635
|
|
@@ -385,11 +656,12 @@ Name | Type | Description | Notes
|
|
385
656
|
**id_connection** | **Integer**| ID of a connection | [optional]
|
386
657
|
**id_connector** | **Integer**| ID of a connector | [optional]
|
387
658
|
**charged** | **BOOLEAN**| consider only logs for charged connectors | [optional]
|
659
|
+
**id_source** | **Integer**| ID of a source | [optional]
|
388
660
|
**expand** | **String**| | [optional]
|
389
661
|
|
390
662
|
### Return type
|
391
663
|
|
392
|
-
[**
|
664
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
393
665
|
|
394
666
|
### Authorization
|
395
667
|
|
@@ -397,13 +669,13 @@ Name | Type | Description | Notes
|
|
397
669
|
|
398
670
|
### HTTP request headers
|
399
671
|
|
400
|
-
- **Content-Type**: application/
|
672
|
+
- **Content-Type**: application/json, multipart/form-data
|
401
673
|
- **Accept**: application/json
|
402
674
|
|
403
675
|
|
404
676
|
|
405
677
|
# **providers_get**
|
406
|
-
>
|
678
|
+
> InlineResponse20019 providers_get(opts)
|
407
679
|
|
408
680
|
Get list of connectors
|
409
681
|
|
@@ -444,7 +716,7 @@ Name | Type | Description | Notes
|
|
444
716
|
|
445
717
|
### Return type
|
446
718
|
|
447
|
-
[**
|
719
|
+
[**InlineResponse20019**](InlineResponse20019.md)
|
448
720
|
|
449
721
|
### Authorization
|
450
722
|
|
@@ -452,7 +724,7 @@ Name | Type | Description | Notes
|
|
452
724
|
|
453
725
|
### HTTP request headers
|
454
726
|
|
455
|
-
- **Content-Type**: application/
|
727
|
+
- **Content-Type**: application/json, multipart/form-data
|
456
728
|
- **Accept**: application/json
|
457
729
|
|
458
730
|
|
@@ -512,7 +784,65 @@ Name | Type | Description | Notes
|
|
512
784
|
|
513
785
|
### HTTP request headers
|
514
786
|
|
515
|
-
- **Content-Type**: application/
|
787
|
+
- **Content-Type**: application/json, multipart/form-data
|
788
|
+
- **Accept**: application/json
|
789
|
+
|
790
|
+
|
791
|
+
|
792
|
+
# **providers_id_connector_sources_get**
|
793
|
+
> InlineResponse20011 providers_id_connector_sources_get(id_connector, opts)
|
794
|
+
|
795
|
+
Get list of connector sources
|
796
|
+
|
797
|
+
|
798
|
+
|
799
|
+
### Example
|
800
|
+
```ruby
|
801
|
+
# load the gem
|
802
|
+
require 'budgea_client'
|
803
|
+
# setup authorization
|
804
|
+
BudgeaClient.configure do |config|
|
805
|
+
# Configure API key authorization: api_key
|
806
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
807
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
808
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
809
|
+
end
|
810
|
+
|
811
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
812
|
+
|
813
|
+
id_connector = 56 # Integer |
|
814
|
+
|
815
|
+
opts = {
|
816
|
+
expand: 'expand_example' # String |
|
817
|
+
}
|
818
|
+
|
819
|
+
begin
|
820
|
+
#Get list of connector sources
|
821
|
+
result = api_instance.providers_id_connector_sources_get(id_connector, opts)
|
822
|
+
p result
|
823
|
+
rescue BudgeaClient::ApiError => e
|
824
|
+
puts "Exception when calling ConnectionsApi->providers_id_connector_sources_get: #{e}"
|
825
|
+
end
|
826
|
+
```
|
827
|
+
|
828
|
+
### Parameters
|
829
|
+
|
830
|
+
Name | Type | Description | Notes
|
831
|
+
------------- | ------------- | ------------- | -------------
|
832
|
+
**id_connector** | **Integer**| |
|
833
|
+
**expand** | **String**| | [optional]
|
834
|
+
|
835
|
+
### Return type
|
836
|
+
|
837
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
838
|
+
|
839
|
+
### Authorization
|
840
|
+
|
841
|
+
[api_key](../README.md#api_key)
|
842
|
+
|
843
|
+
### HTTP request headers
|
844
|
+
|
845
|
+
- **Content-Type**: application/json, multipart/form-data
|
516
846
|
- **Accept**: application/json
|
517
847
|
|
518
848
|
|
@@ -570,7 +900,7 @@ Name | Type | Description | Notes
|
|
570
900
|
|
571
901
|
### HTTP request headers
|
572
902
|
|
573
|
-
- **Content-Type**: application/
|
903
|
+
- **Content-Type**: application/json, multipart/form-data
|
574
904
|
- **Accept**: application/json
|
575
905
|
|
576
906
|
|
@@ -628,7 +958,7 @@ Name | Type | Description | Notes
|
|
628
958
|
|
629
959
|
### HTTP request headers
|
630
960
|
|
631
|
-
- **Content-Type**: application/
|
961
|
+
- **Content-Type**: application/json, multipart/form-data
|
632
962
|
- **Accept**: application/json
|
633
963
|
|
634
964
|
|
@@ -689,7 +1019,7 @@ Name | Type | Description | Notes
|
|
689
1019
|
|
690
1020
|
### HTTP request headers
|
691
1021
|
|
692
|
-
- **Content-Type**: application/
|
1022
|
+
- **Content-Type**: application/json, multipart/form-data
|
693
1023
|
- **Accept**: application/json
|
694
1024
|
|
695
1025
|
|
@@ -750,7 +1080,7 @@ Name | Type | Description | Notes
|
|
750
1080
|
|
751
1081
|
### HTTP request headers
|
752
1082
|
|
753
|
-
- **Content-Type**: application/
|
1083
|
+
- **Content-Type**: application/json, multipart/form-data
|
754
1084
|
- **Accept**: application/json
|
755
1085
|
|
756
1086
|
|
@@ -811,13 +1141,13 @@ Name | Type | Description | Notes
|
|
811
1141
|
|
812
1142
|
### HTTP request headers
|
813
1143
|
|
814
|
-
- **Content-Type**: application/
|
1144
|
+
- **Content-Type**: application/json, multipart/form-data
|
815
1145
|
- **Accept**: application/json
|
816
1146
|
|
817
1147
|
|
818
1148
|
|
819
1149
|
# **users_id_user_connections_id_connection_logs_get**
|
820
|
-
>
|
1150
|
+
> InlineResponse20015 users_id_user_connections_id_connection_logs_get(id_user, id_connection, opts)
|
821
1151
|
|
822
1152
|
Get connection logs
|
823
1153
|
|
@@ -852,6 +1182,7 @@ opts = {
|
|
852
1182
|
id_connection2: 56, # Integer | ID of a connection
|
853
1183
|
id_connector: 56, # Integer | ID of a connector
|
854
1184
|
charged: true, # BOOLEAN | consider only logs for charged connectors
|
1185
|
+
id_source: 56, # Integer | ID of a source
|
855
1186
|
expand: 'expand_example' # String |
|
856
1187
|
}
|
857
1188
|
|
@@ -880,11 +1211,12 @@ Name | Type | Description | Notes
|
|
880
1211
|
**id_connection2** | **Integer**| ID of a connection | [optional]
|
881
1212
|
**id_connector** | **Integer**| ID of a connector | [optional]
|
882
1213
|
**charged** | **BOOLEAN**| consider only logs for charged connectors | [optional]
|
1214
|
+
**id_source** | **Integer**| ID of a source | [optional]
|
883
1215
|
**expand** | **String**| | [optional]
|
884
1216
|
|
885
1217
|
### Return type
|
886
1218
|
|
887
|
-
[**
|
1219
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
888
1220
|
|
889
1221
|
### Authorization
|
890
1222
|
|
@@ -892,7 +1224,7 @@ Name | Type | Description | Notes
|
|
892
1224
|
|
893
1225
|
### HTTP request headers
|
894
1226
|
|
895
|
-
- **Content-Type**: application/
|
1227
|
+
- **Content-Type**: application/json, multipart/form-data
|
896
1228
|
- **Accept**: application/json
|
897
1229
|
|
898
1230
|
|
@@ -1024,7 +1356,260 @@ Name | Type | Description | Notes
|
|
1024
1356
|
|
1025
1357
|
### HTTP request headers
|
1026
1358
|
|
1027
|
-
- **Content-Type**: application/
|
1359
|
+
- **Content-Type**: application/json, multipart/form-data
|
1360
|
+
- **Accept**: application/json
|
1361
|
+
|
1362
|
+
|
1363
|
+
|
1364
|
+
# **users_id_user_connections_id_connection_sources_get**
|
1365
|
+
> InlineResponse20030 users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts)
|
1366
|
+
|
1367
|
+
Get connection sources
|
1368
|
+
|
1369
|
+
|
1370
|
+
|
1371
|
+
### Example
|
1372
|
+
```ruby
|
1373
|
+
# load the gem
|
1374
|
+
require 'budgea_client'
|
1375
|
+
# setup authorization
|
1376
|
+
BudgeaClient.configure do |config|
|
1377
|
+
# Configure API key authorization: api_key
|
1378
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1379
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1380
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
1384
|
+
|
1385
|
+
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
1386
|
+
|
1387
|
+
id_connection = 56 # Integer |
|
1388
|
+
|
1389
|
+
opts = {
|
1390
|
+
expand: 'expand_example' # String |
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
begin
|
1394
|
+
#Get connection sources
|
1395
|
+
result = api_instance.users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts)
|
1396
|
+
p result
|
1397
|
+
rescue BudgeaClient::ApiError => e
|
1398
|
+
puts "Exception when calling ConnectionsApi->users_id_user_connections_id_connection_sources_get: #{e}"
|
1399
|
+
end
|
1400
|
+
```
|
1401
|
+
|
1402
|
+
### Parameters
|
1403
|
+
|
1404
|
+
Name | Type | Description | Notes
|
1405
|
+
------------- | ------------- | ------------- | -------------
|
1406
|
+
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
1407
|
+
**id_connection** | **Integer**| |
|
1408
|
+
**expand** | **String**| | [optional]
|
1409
|
+
|
1410
|
+
### Return type
|
1411
|
+
|
1412
|
+
[**InlineResponse20030**](InlineResponse20030.md)
|
1413
|
+
|
1414
|
+
### Authorization
|
1415
|
+
|
1416
|
+
[api_key](../README.md#api_key)
|
1417
|
+
|
1418
|
+
### HTTP request headers
|
1419
|
+
|
1420
|
+
- **Content-Type**: application/json, multipart/form-data
|
1421
|
+
- **Accept**: application/json
|
1422
|
+
|
1423
|
+
|
1424
|
+
|
1425
|
+
# **users_id_user_connections_id_connection_sources_id_source_delete**
|
1426
|
+
> ConnectionSource users_id_user_connections_id_connection_sources_id_source_delete(id_user, id_connection, id_source, opts)
|
1427
|
+
|
1428
|
+
Disable a connection source
|
1429
|
+
|
1430
|
+
This will make it so the specified source will not be synchronized anymore.<br><br>
|
1431
|
+
|
1432
|
+
### Example
|
1433
|
+
```ruby
|
1434
|
+
# load the gem
|
1435
|
+
require 'budgea_client'
|
1436
|
+
# setup authorization
|
1437
|
+
BudgeaClient.configure do |config|
|
1438
|
+
# Configure API key authorization: api_key
|
1439
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1440
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1441
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
1445
|
+
|
1446
|
+
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
1447
|
+
|
1448
|
+
id_connection = 56 # Integer |
|
1449
|
+
|
1450
|
+
id_source = 56 # Integer |
|
1451
|
+
|
1452
|
+
opts = {
|
1453
|
+
expand: 'expand_example' # String |
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
begin
|
1457
|
+
#Disable a connection source
|
1458
|
+
result = api_instance.users_id_user_connections_id_connection_sources_id_source_delete(id_user, id_connection, id_source, opts)
|
1459
|
+
p result
|
1460
|
+
rescue BudgeaClient::ApiError => e
|
1461
|
+
puts "Exception when calling ConnectionsApi->users_id_user_connections_id_connection_sources_id_source_delete: #{e}"
|
1462
|
+
end
|
1463
|
+
```
|
1464
|
+
|
1465
|
+
### Parameters
|
1466
|
+
|
1467
|
+
Name | Type | Description | Notes
|
1468
|
+
------------- | ------------- | ------------- | -------------
|
1469
|
+
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
1470
|
+
**id_connection** | **Integer**| |
|
1471
|
+
**id_source** | **Integer**| |
|
1472
|
+
**expand** | **String**| | [optional]
|
1473
|
+
|
1474
|
+
### Return type
|
1475
|
+
|
1476
|
+
[**ConnectionSource**](ConnectionSource.md)
|
1477
|
+
|
1478
|
+
### Authorization
|
1479
|
+
|
1480
|
+
[api_key](../README.md#api_key)
|
1481
|
+
|
1482
|
+
### HTTP request headers
|
1483
|
+
|
1484
|
+
- **Content-Type**: application/json, multipart/form-data
|
1485
|
+
- **Accept**: application/json
|
1486
|
+
|
1487
|
+
|
1488
|
+
|
1489
|
+
# **users_id_user_connections_id_connection_sources_id_source_post**
|
1490
|
+
> ConnectionSource users_id_user_connections_id_connection_sources_id_source_post(id_user, id_connection, id_source, opts)
|
1491
|
+
|
1492
|
+
Enable connection source
|
1493
|
+
|
1494
|
+
This will make it so the specified source will be able to be synchronized.<br><br>
|
1495
|
+
|
1496
|
+
### Example
|
1497
|
+
```ruby
|
1498
|
+
# load the gem
|
1499
|
+
require 'budgea_client'
|
1500
|
+
# setup authorization
|
1501
|
+
BudgeaClient.configure do |config|
|
1502
|
+
# Configure API key authorization: api_key
|
1503
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1504
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1505
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
1509
|
+
|
1510
|
+
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
1511
|
+
|
1512
|
+
id_connection = 56 # Integer |
|
1513
|
+
|
1514
|
+
id_source = 56 # Integer |
|
1515
|
+
|
1516
|
+
opts = {
|
1517
|
+
expand: 'expand_example' # String |
|
1518
|
+
}
|
1519
|
+
|
1520
|
+
begin
|
1521
|
+
#Enable connection source
|
1522
|
+
result = api_instance.users_id_user_connections_id_connection_sources_id_source_post(id_user, id_connection, id_source, opts)
|
1523
|
+
p result
|
1524
|
+
rescue BudgeaClient::ApiError => e
|
1525
|
+
puts "Exception when calling ConnectionsApi->users_id_user_connections_id_connection_sources_id_source_post: #{e}"
|
1526
|
+
end
|
1527
|
+
```
|
1528
|
+
|
1529
|
+
### Parameters
|
1530
|
+
|
1531
|
+
Name | Type | Description | Notes
|
1532
|
+
------------- | ------------- | ------------- | -------------
|
1533
|
+
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
1534
|
+
**id_connection** | **Integer**| |
|
1535
|
+
**id_source** | **Integer**| |
|
1536
|
+
**expand** | **String**| | [optional]
|
1537
|
+
|
1538
|
+
### Return type
|
1539
|
+
|
1540
|
+
[**ConnectionSource**](ConnectionSource.md)
|
1541
|
+
|
1542
|
+
### Authorization
|
1543
|
+
|
1544
|
+
[api_key](../README.md#api_key)
|
1545
|
+
|
1546
|
+
### HTTP request headers
|
1547
|
+
|
1548
|
+
- **Content-Type**: application/json, multipart/form-data
|
1549
|
+
- **Accept**: application/json
|
1550
|
+
|
1551
|
+
|
1552
|
+
|
1553
|
+
# **users_id_user_connections_id_connection_sources_id_source_put**
|
1554
|
+
> ConnectionSource users_id_user_connections_id_connection_sources_id_source_put(id_user, id_connection, id_source, opts)
|
1555
|
+
|
1556
|
+
Enable connection source
|
1557
|
+
|
1558
|
+
This will make it so the specified source will be able to be synchronized.<br><br>
|
1559
|
+
|
1560
|
+
### Example
|
1561
|
+
```ruby
|
1562
|
+
# load the gem
|
1563
|
+
require 'budgea_client'
|
1564
|
+
# setup authorization
|
1565
|
+
BudgeaClient.configure do |config|
|
1566
|
+
# Configure API key authorization: api_key
|
1567
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1568
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1569
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
1573
|
+
|
1574
|
+
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
1575
|
+
|
1576
|
+
id_connection = 56 # Integer |
|
1577
|
+
|
1578
|
+
id_source = 56 # Integer |
|
1579
|
+
|
1580
|
+
opts = {
|
1581
|
+
expand: 'expand_example' # String |
|
1582
|
+
}
|
1583
|
+
|
1584
|
+
begin
|
1585
|
+
#Enable connection source
|
1586
|
+
result = api_instance.users_id_user_connections_id_connection_sources_id_source_put(id_user, id_connection, id_source, opts)
|
1587
|
+
p result
|
1588
|
+
rescue BudgeaClient::ApiError => e
|
1589
|
+
puts "Exception when calling ConnectionsApi->users_id_user_connections_id_connection_sources_id_source_put: #{e}"
|
1590
|
+
end
|
1591
|
+
```
|
1592
|
+
|
1593
|
+
### Parameters
|
1594
|
+
|
1595
|
+
Name | Type | Description | Notes
|
1596
|
+
------------- | ------------- | ------------- | -------------
|
1597
|
+
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
1598
|
+
**id_connection** | **Integer**| |
|
1599
|
+
**id_source** | **Integer**| |
|
1600
|
+
**expand** | **String**| | [optional]
|
1601
|
+
|
1602
|
+
### Return type
|
1603
|
+
|
1604
|
+
[**ConnectionSource**](ConnectionSource.md)
|
1605
|
+
|
1606
|
+
### Authorization
|
1607
|
+
|
1608
|
+
[api_key](../README.md#api_key)
|
1609
|
+
|
1610
|
+
### HTTP request headers
|
1611
|
+
|
1612
|
+
- **Content-Type**: application/json, multipart/form-data
|
1028
1613
|
- **Accept**: application/json
|
1029
1614
|
|
1030
1615
|
|
@@ -1053,6 +1638,7 @@ api_instance = BudgeaClient::ConnectionsApi.new
|
|
1053
1638
|
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
1054
1639
|
|
1055
1640
|
opts = {
|
1641
|
+
source: 'source_example', # String | optional comma-separated list of sources to use for the connection synchronization
|
1056
1642
|
id_connector: 56, # Integer | ID of the connector
|
1057
1643
|
connector_uuid: 'connector_uuid_example', # String | optional uuid of the connector (replaces id_connector)
|
1058
1644
|
birthday: 'birthday_example', # String | bank additional login parameter
|
@@ -1065,6 +1651,8 @@ opts = {
|
|
1065
1651
|
birthdate: 'birthdate_example', # String | bank additional login parameter
|
1066
1652
|
nuser: 'nuser_example', # String | bank additional login parameter
|
1067
1653
|
website: 'website_example', # String | bank additional login parameter
|
1654
|
+
openapiwebsite: 'openapiwebsite_example', # String | bank additional login parameter
|
1655
|
+
website2: 'website_example', # String | bank additional login parameter
|
1068
1656
|
login: 'login_example', # String | bank additional login parameter
|
1069
1657
|
id_provider: 56, # Integer | ID of the provider
|
1070
1658
|
expand: 'expand_example' # String |
|
@@ -1084,6 +1672,7 @@ end
|
|
1084
1672
|
Name | Type | Description | Notes
|
1085
1673
|
------------- | ------------- | ------------- | -------------
|
1086
1674
|
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
1675
|
+
**source** | **String**| optional comma-separated list of sources to use for the connection synchronization | [optional]
|
1087
1676
|
**id_connector** | **Integer**| ID of the connector | [optional]
|
1088
1677
|
**connector_uuid** | **String**| optional uuid of the connector (replaces id_connector) | [optional]
|
1089
1678
|
**birthday** | **String**| bank additional login parameter | [optional]
|
@@ -1096,6 +1685,8 @@ Name | Type | Description | Notes
|
|
1096
1685
|
**birthdate** | **String**| bank additional login parameter | [optional]
|
1097
1686
|
**nuser** | **String**| bank additional login parameter | [optional]
|
1098
1687
|
**website** | **String**| bank additional login parameter | [optional]
|
1688
|
+
**openapiwebsite** | **String**| bank additional login parameter | [optional]
|
1689
|
+
**website2** | **String**| bank additional login parameter | [optional]
|
1099
1690
|
**login** | **String**| bank additional login parameter | [optional]
|
1100
1691
|
**id_provider** | **Integer**| ID of the provider | [optional]
|
1101
1692
|
**expand** | **String**| | [optional]
|
@@ -1116,7 +1707,7 @@ Name | Type | Description | Notes
|
|
1116
1707
|
|
1117
1708
|
|
1118
1709
|
# **users_id_user_logs_get**
|
1119
|
-
>
|
1710
|
+
> InlineResponse20015 users_id_user_logs_get(id_user, opts)
|
1120
1711
|
|
1121
1712
|
Get connection logs
|
1122
1713
|
|
@@ -1149,6 +1740,7 @@ opts = {
|
|
1149
1740
|
id_connection: 56, # Integer | ID of a connection
|
1150
1741
|
id_connector: 56, # Integer | ID of a connector
|
1151
1742
|
charged: true, # BOOLEAN | consider only logs for charged connectors
|
1743
|
+
id_source: 56, # Integer | ID of a source
|
1152
1744
|
expand: 'expand_example' # String |
|
1153
1745
|
}
|
1154
1746
|
|
@@ -1176,11 +1768,12 @@ Name | Type | Description | Notes
|
|
1176
1768
|
**id_connection** | **Integer**| ID of a connection | [optional]
|
1177
1769
|
**id_connector** | **Integer**| ID of a connector | [optional]
|
1178
1770
|
**charged** | **BOOLEAN**| consider only logs for charged connectors | [optional]
|
1771
|
+
**id_source** | **Integer**| ID of a source | [optional]
|
1179
1772
|
**expand** | **String**| | [optional]
|
1180
1773
|
|
1181
1774
|
### Return type
|
1182
1775
|
|
1183
|
-
[**
|
1776
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
1184
1777
|
|
1185
1778
|
### Authorization
|
1186
1779
|
|
@@ -1188,7 +1781,7 @@ Name | Type | Description | Notes
|
|
1188
1781
|
|
1189
1782
|
### HTTP request headers
|
1190
1783
|
|
1191
|
-
- **Content-Type**: application/
|
1784
|
+
- **Content-Type**: application/json, multipart/form-data
|
1192
1785
|
- **Accept**: application/json
|
1193
1786
|
|
1194
1787
|
|