budgea_client 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -4
- data/budgea_openapi.json +46 -7
- data/config.json +1 -1
- data/config.yaml +15 -0
- data/docs/BanksApi.md +62 -0
- data/docs/ConnectionsApi.md +62 -0
- data/docs/ProvidersApi.md +62 -0
- data/lib/budgea_client/api/authentication_api.rb +7 -7
- data/lib/budgea_client/api/banks_api.rb +63 -0
- data/lib/budgea_client/api/connections_api.rb +63 -0
- data/lib/budgea_client/api/providers_api.rb +63 -0
- data/lib/budgea_client/version.rb +1 -1
- data/original_budgea_openapi.json +1 -1
- data/pkg/budgea_client-4.0.2.gem +0 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a2738c7901ec082d6645b17bd87b0124cbbcbd929565ab2a440bfc249396b6e
|
|
4
|
+
data.tar.gz: 926e89777bbb0757b24187b34dbd9312bca3a981a62b855b7879533adf2d7720
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2a52cc0900f18be162dae4286ceb8df5be35ee047a952adb73d8d9f382931c39391bd6647bca3f4b3f262be47586942b3aa7dccae3a09bcbc940ee67ce2000a
|
|
7
|
+
data.tar.gz: 1cc2f61c52b70c8682f44d2c932ab578423ceaa01a70d61421fe05f1d6d4ba8bec4e577a26641ebae9a62f0627f280b2047ab08315d87f99de71ec8260c7c209
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0
|
|
10
|
-
- Package version: 4.0.
|
|
10
|
+
- Package version: 4.0.3
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,15 +23,15 @@ gem build budgea_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./budgea_client-4.0.
|
|
26
|
+
gem install ./budgea_client-4.0.3.gem
|
|
27
27
|
```
|
|
28
|
-
(for development, run `gem install --dev ./budgea_client-4.0.
|
|
28
|
+
(for development, run `gem install --dev ./budgea_client-4.0.3.gem` to install the development dependencies)
|
|
29
29
|
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
31
31
|
|
|
32
32
|
Finally add this to the Gemfile:
|
|
33
33
|
|
|
34
|
-
gem 'budgea_client', '~> 4.0.
|
|
34
|
+
gem 'budgea_client', '~> 4.0.3'
|
|
35
35
|
|
|
36
36
|
### Install from Git
|
|
37
37
|
|
|
@@ -214,6 +214,7 @@ Class | Method | HTTP request | Description
|
|
|
214
214
|
*BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_post**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_post) | **POST** /users/{id_user}/connections/{id_connection}/accounts | Create an account
|
|
215
215
|
*BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_accounts_put**](docs/BanksApi.md#users_id_user_connections_id_connection_accounts_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts | Update many accounts at once
|
|
216
216
|
*BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_delete**](docs/BanksApi.md#users_id_user_connections_id_connection_delete) | **DELETE** /users/{id_user}/connections/{id_connection} | Delete a connection.
|
|
217
|
+
*BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_get**](docs/BanksApi.md#users_id_user_connections_id_connection_get) | **GET** /users/{id_user}/connections/{id_connection} | Get connection
|
|
217
218
|
*BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_informations_get**](docs/BanksApi.md#users_id_user_connections_id_connection_informations_get) | **GET** /users/{id_user}/connections/{id_connection}/informations | Get connection additionnal informations
|
|
218
219
|
*BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_logs_get**](docs/BanksApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
|
|
219
220
|
*BudgeaClient::BanksApi* | [**users_id_user_connections_id_connection_post**](docs/BanksApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
|
|
@@ -258,6 +259,7 @@ Class | Method | HTTP request | Description
|
|
|
258
259
|
*BudgeaClient::ConnectionsApi* | [**users_id_user_connections_delete**](docs/ConnectionsApi.md#users_id_user_connections_delete) | **DELETE** /users/{id_user}/connections | Delete all connections
|
|
259
260
|
*BudgeaClient::ConnectionsApi* | [**users_id_user_connections_get**](docs/ConnectionsApi.md#users_id_user_connections_get) | **GET** /users/{id_user}/connections | Get connections
|
|
260
261
|
*BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_delete**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_delete) | **DELETE** /users/{id_user}/connections/{id_connection} | Delete a connection.
|
|
262
|
+
*BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_get**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_get) | **GET** /users/{id_user}/connections/{id_connection} | Get connection
|
|
261
263
|
*BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_informations_get**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_informations_get) | **GET** /users/{id_user}/connections/{id_connection}/informations | Get connection additionnal informations
|
|
262
264
|
*BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_logs_get**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
|
|
263
265
|
*BudgeaClient::ConnectionsApi* | [**users_id_user_connections_id_connection_post**](docs/ConnectionsApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
|
|
@@ -440,6 +442,7 @@ Class | Method | HTTP request | Description
|
|
|
440
442
|
*BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_documents_id_document_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_documents_id_document_put) | **PUT** /users/{id_user}/connections/{id_connection}/documents/{id_document} | Edit a document
|
|
441
443
|
*BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_documents_post**](docs/ProvidersApi.md#users_id_user_connections_id_connection_documents_post) | **POST** /users/{id_user}/connections/{id_connection}/documents | Add a new document
|
|
442
444
|
*BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_documents_put**](docs/ProvidersApi.md#users_id_user_connections_id_connection_documents_put) | **PUT** /users/{id_user}/connections/{id_connection}/documents | Attach an existing document to a transaction or a transactions_cluster
|
|
445
|
+
*BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_get) | **GET** /users/{id_user}/connections/{id_connection} | Get connection
|
|
443
446
|
*BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_informations_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_informations_get) | **GET** /users/{id_user}/connections/{id_connection}/informations | Get connection additionnal informations
|
|
444
447
|
*BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_logs_get**](docs/ProvidersApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
|
|
445
448
|
*BudgeaClient::ProvidersApi* | [**users_id_user_connections_id_connection_post**](docs/ProvidersApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
|
data/budgea_openapi.json
CHANGED
|
@@ -7890,6 +7890,45 @@
|
|
|
7890
7890
|
}
|
|
7891
7891
|
},
|
|
7892
7892
|
"/users/{id_user}/connections/{id_connection}": {
|
|
7893
|
+
"get": {
|
|
7894
|
+
"responses": {
|
|
7895
|
+
"200": {
|
|
7896
|
+
"description": "connection",
|
|
7897
|
+
"schema": {
|
|
7898
|
+
"$ref": "#/definitions/Connection"
|
|
7899
|
+
}
|
|
7900
|
+
}
|
|
7901
|
+
},
|
|
7902
|
+
"tags": [
|
|
7903
|
+
"Connections",
|
|
7904
|
+
"Banks",
|
|
7905
|
+
"Providers"
|
|
7906
|
+
],
|
|
7907
|
+
"description": "Get connection by ID",
|
|
7908
|
+
"parameters": [
|
|
7909
|
+
{
|
|
7910
|
+
"required": true,
|
|
7911
|
+
"in": "path",
|
|
7912
|
+
"type": "string",
|
|
7913
|
+
"name": "id_user",
|
|
7914
|
+
"description": "Hint: you can use 'me' or 'all'"
|
|
7915
|
+
},
|
|
7916
|
+
{
|
|
7917
|
+
"required": true,
|
|
7918
|
+
"in": "path",
|
|
7919
|
+
"type": "integer",
|
|
7920
|
+
"name": "id_connection",
|
|
7921
|
+
"description": ""
|
|
7922
|
+
},
|
|
7923
|
+
{
|
|
7924
|
+
"required": false,
|
|
7925
|
+
"type": "string",
|
|
7926
|
+
"name": "expand",
|
|
7927
|
+
"in": "query"
|
|
7928
|
+
}
|
|
7929
|
+
],
|
|
7930
|
+
"summary": "Get connection"
|
|
7931
|
+
},
|
|
7893
7932
|
"post": {
|
|
7894
7933
|
"responses": {
|
|
7895
7934
|
"200": {
|
|
@@ -21224,49 +21263,49 @@
|
|
|
21224
21263
|
"parameters": [
|
|
21225
21264
|
{
|
|
21226
21265
|
"required": false,
|
|
21227
|
-
"in": "
|
|
21266
|
+
"in": "query",
|
|
21228
21267
|
"type": "integer",
|
|
21229
21268
|
"name": "id_connector",
|
|
21230
21269
|
"description": "ID of the connector"
|
|
21231
21270
|
},
|
|
21232
21271
|
{
|
|
21233
21272
|
"required": false,
|
|
21234
|
-
"in": "
|
|
21273
|
+
"in": "query",
|
|
21235
21274
|
"type": "string",
|
|
21236
21275
|
"name": "connector_uuid",
|
|
21237
21276
|
"description": "Optional unique ID of the connector (replaces id_connector)"
|
|
21238
21277
|
},
|
|
21239
21278
|
{
|
|
21240
21279
|
"required": false,
|
|
21241
|
-
"in": "
|
|
21280
|
+
"in": "query",
|
|
21242
21281
|
"type": "integer",
|
|
21243
21282
|
"name": "client_id",
|
|
21244
21283
|
"description": "Client Application ID"
|
|
21245
21284
|
},
|
|
21246
21285
|
{
|
|
21247
21286
|
"required": false,
|
|
21248
|
-
"in": "
|
|
21287
|
+
"in": "query",
|
|
21249
21288
|
"type": "string",
|
|
21250
21289
|
"name": "redirect_uri",
|
|
21251
21290
|
"description": "Redirect URI"
|
|
21252
21291
|
},
|
|
21253
21292
|
{
|
|
21254
21293
|
"required": false,
|
|
21255
|
-
"in": "
|
|
21294
|
+
"in": "query",
|
|
21256
21295
|
"type": "string",
|
|
21257
21296
|
"name": "state",
|
|
21258
21297
|
"description": "Optional state"
|
|
21259
21298
|
},
|
|
21260
21299
|
{
|
|
21261
21300
|
"required": false,
|
|
21262
|
-
"in": "
|
|
21301
|
+
"in": "query",
|
|
21263
21302
|
"type": "string",
|
|
21264
21303
|
"name": "fields",
|
|
21265
21304
|
"description": "Optional fields"
|
|
21266
21305
|
},
|
|
21267
21306
|
{
|
|
21268
21307
|
"required": false,
|
|
21269
|
-
"in": "
|
|
21308
|
+
"in": "query",
|
|
21270
21309
|
"type": "integer",
|
|
21271
21310
|
"name": "id_connection",
|
|
21272
21311
|
"description": "Optional already existing connection to update"
|
data/config.json
CHANGED
data/config.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Description: gem name (convention: underscore_case).
|
|
2
|
+
gemName: budgea_client
|
|
3
|
+
|
|
4
|
+
# Description: top module name (convention: CamelCase, usually corresponding to gem name).
|
|
5
|
+
moduleName: BudgeaClient
|
|
6
|
+
|
|
7
|
+
# Description: gem version.
|
|
8
|
+
gemVersion: 4.0.1
|
|
9
|
+
|
|
10
|
+
# Description: gem author (only one is supported).
|
|
11
|
+
gemAuthor: Cashbee
|
|
12
|
+
|
|
13
|
+
# Description: gem author email (only one is supported).
|
|
14
|
+
gemAuthorEmail: hello@cashbee.fr
|
|
15
|
+
|
data/docs/BanksApi.md
CHANGED
|
@@ -91,6 +91,7 @@ Method | HTTP request | Description
|
|
|
91
91
|
[**users_id_user_connections_id_connection_accounts_post**](BanksApi.md#users_id_user_connections_id_connection_accounts_post) | **POST** /users/{id_user}/connections/{id_connection}/accounts | Create an account
|
|
92
92
|
[**users_id_user_connections_id_connection_accounts_put**](BanksApi.md#users_id_user_connections_id_connection_accounts_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts | Update many accounts at once
|
|
93
93
|
[**users_id_user_connections_id_connection_delete**](BanksApi.md#users_id_user_connections_id_connection_delete) | **DELETE** /users/{id_user}/connections/{id_connection} | Delete a connection.
|
|
94
|
+
[**users_id_user_connections_id_connection_get**](BanksApi.md#users_id_user_connections_id_connection_get) | **GET** /users/{id_user}/connections/{id_connection} | Get connection
|
|
94
95
|
[**users_id_user_connections_id_connection_informations_get**](BanksApi.md#users_id_user_connections_id_connection_informations_get) | **GET** /users/{id_user}/connections/{id_connection}/informations | Get connection additionnal informations
|
|
95
96
|
[**users_id_user_connections_id_connection_logs_get**](BanksApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
|
|
96
97
|
[**users_id_user_connections_id_connection_post**](BanksApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
|
|
@@ -5656,6 +5657,67 @@ Name | Type | Description | Notes
|
|
|
5656
5657
|
|
|
5657
5658
|
|
|
5658
5659
|
|
|
5660
|
+
# **users_id_user_connections_id_connection_get**
|
|
5661
|
+
> Connection users_id_user_connections_id_connection_get(id_user, id_connection, opts)
|
|
5662
|
+
|
|
5663
|
+
Get connection
|
|
5664
|
+
|
|
5665
|
+
Get connection by ID
|
|
5666
|
+
|
|
5667
|
+
### Example
|
|
5668
|
+
```ruby
|
|
5669
|
+
# load the gem
|
|
5670
|
+
require 'budgea_client'
|
|
5671
|
+
# setup authorization
|
|
5672
|
+
BudgeaClient.configure do |config|
|
|
5673
|
+
# Configure API key authorization: api_key
|
|
5674
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
5675
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
5676
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
|
5677
|
+
end
|
|
5678
|
+
|
|
5679
|
+
api_instance = BudgeaClient::BanksApi.new
|
|
5680
|
+
|
|
5681
|
+
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
|
5682
|
+
|
|
5683
|
+
id_connection = 56 # Integer |
|
|
5684
|
+
|
|
5685
|
+
opts = {
|
|
5686
|
+
expand: 'expand_example' # String |
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
begin
|
|
5690
|
+
#Get connection
|
|
5691
|
+
result = api_instance.users_id_user_connections_id_connection_get(id_user, id_connection, opts)
|
|
5692
|
+
p result
|
|
5693
|
+
rescue BudgeaClient::ApiError => e
|
|
5694
|
+
puts "Exception when calling BanksApi->users_id_user_connections_id_connection_get: #{e}"
|
|
5695
|
+
end
|
|
5696
|
+
```
|
|
5697
|
+
|
|
5698
|
+
### Parameters
|
|
5699
|
+
|
|
5700
|
+
Name | Type | Description | Notes
|
|
5701
|
+
------------- | ------------- | ------------- | -------------
|
|
5702
|
+
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
|
5703
|
+
**id_connection** | **Integer**| |
|
|
5704
|
+
**expand** | **String**| | [optional]
|
|
5705
|
+
|
|
5706
|
+
### Return type
|
|
5707
|
+
|
|
5708
|
+
[**Connection**](Connection.md)
|
|
5709
|
+
|
|
5710
|
+
### Authorization
|
|
5711
|
+
|
|
5712
|
+
[api_key](../README.md#api_key)
|
|
5713
|
+
|
|
5714
|
+
### HTTP request headers
|
|
5715
|
+
|
|
5716
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
5717
|
+
- **Accept**: application/json
|
|
5718
|
+
|
|
5719
|
+
|
|
5720
|
+
|
|
5659
5721
|
# **users_id_user_connections_id_connection_informations_get**
|
|
5660
5722
|
> InlineResponse2009 users_id_user_connections_id_connection_informations_get(id_user, id_connection, opts)
|
|
5661
5723
|
|
data/docs/ConnectionsApi.md
CHANGED
|
@@ -15,6 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
[**users_id_user_connections_delete**](ConnectionsApi.md#users_id_user_connections_delete) | **DELETE** /users/{id_user}/connections | Delete all connections
|
|
16
16
|
[**users_id_user_connections_get**](ConnectionsApi.md#users_id_user_connections_get) | **GET** /users/{id_user}/connections | Get connections
|
|
17
17
|
[**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.
|
|
18
|
+
[**users_id_user_connections_id_connection_get**](ConnectionsApi.md#users_id_user_connections_id_connection_get) | **GET** /users/{id_user}/connections/{id_connection} | Get connection
|
|
18
19
|
[**users_id_user_connections_id_connection_informations_get**](ConnectionsApi.md#users_id_user_connections_id_connection_informations_get) | **GET** /users/{id_user}/connections/{id_connection}/informations | Get connection additionnal informations
|
|
19
20
|
[**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
|
|
20
21
|
[**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.
|
|
@@ -693,6 +694,67 @@ Name | Type | Description | Notes
|
|
|
693
694
|
|
|
694
695
|
|
|
695
696
|
|
|
697
|
+
# **users_id_user_connections_id_connection_get**
|
|
698
|
+
> Connection users_id_user_connections_id_connection_get(id_user, id_connection, opts)
|
|
699
|
+
|
|
700
|
+
Get connection
|
|
701
|
+
|
|
702
|
+
Get connection by ID
|
|
703
|
+
|
|
704
|
+
### Example
|
|
705
|
+
```ruby
|
|
706
|
+
# load the gem
|
|
707
|
+
require 'budgea_client'
|
|
708
|
+
# setup authorization
|
|
709
|
+
BudgeaClient.configure do |config|
|
|
710
|
+
# Configure API key authorization: api_key
|
|
711
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
712
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
713
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
api_instance = BudgeaClient::ConnectionsApi.new
|
|
717
|
+
|
|
718
|
+
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
|
719
|
+
|
|
720
|
+
id_connection = 56 # Integer |
|
|
721
|
+
|
|
722
|
+
opts = {
|
|
723
|
+
expand: 'expand_example' # String |
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
begin
|
|
727
|
+
#Get connection
|
|
728
|
+
result = api_instance.users_id_user_connections_id_connection_get(id_user, id_connection, opts)
|
|
729
|
+
p result
|
|
730
|
+
rescue BudgeaClient::ApiError => e
|
|
731
|
+
puts "Exception when calling ConnectionsApi->users_id_user_connections_id_connection_get: #{e}"
|
|
732
|
+
end
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
### Parameters
|
|
736
|
+
|
|
737
|
+
Name | Type | Description | Notes
|
|
738
|
+
------------- | ------------- | ------------- | -------------
|
|
739
|
+
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
|
740
|
+
**id_connection** | **Integer**| |
|
|
741
|
+
**expand** | **String**| | [optional]
|
|
742
|
+
|
|
743
|
+
### Return type
|
|
744
|
+
|
|
745
|
+
[**Connection**](Connection.md)
|
|
746
|
+
|
|
747
|
+
### Authorization
|
|
748
|
+
|
|
749
|
+
[api_key](../README.md#api_key)
|
|
750
|
+
|
|
751
|
+
### HTTP request headers
|
|
752
|
+
|
|
753
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
754
|
+
- **Accept**: application/json
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
696
758
|
# **users_id_user_connections_id_connection_informations_get**
|
|
697
759
|
> InlineResponse2009 users_id_user_connections_id_connection_informations_get(id_user, id_connection, opts)
|
|
698
760
|
|
data/docs/ProvidersApi.md
CHANGED
|
@@ -59,6 +59,7 @@ Method | HTTP request | Description
|
|
|
59
59
|
[**users_id_user_connections_id_connection_documents_id_document_put**](ProvidersApi.md#users_id_user_connections_id_connection_documents_id_document_put) | **PUT** /users/{id_user}/connections/{id_connection}/documents/{id_document} | Edit a document
|
|
60
60
|
[**users_id_user_connections_id_connection_documents_post**](ProvidersApi.md#users_id_user_connections_id_connection_documents_post) | **POST** /users/{id_user}/connections/{id_connection}/documents | Add a new document
|
|
61
61
|
[**users_id_user_connections_id_connection_documents_put**](ProvidersApi.md#users_id_user_connections_id_connection_documents_put) | **PUT** /users/{id_user}/connections/{id_connection}/documents | Attach an existing document to a transaction or a transactions_cluster
|
|
62
|
+
[**users_id_user_connections_id_connection_get**](ProvidersApi.md#users_id_user_connections_id_connection_get) | **GET** /users/{id_user}/connections/{id_connection} | Get connection
|
|
62
63
|
[**users_id_user_connections_id_connection_informations_get**](ProvidersApi.md#users_id_user_connections_id_connection_informations_get) | **GET** /users/{id_user}/connections/{id_connection}/informations | Get connection additionnal informations
|
|
63
64
|
[**users_id_user_connections_id_connection_logs_get**](ProvidersApi.md#users_id_user_connections_id_connection_logs_get) | **GET** /users/{id_user}/connections/{id_connection}/logs | Get connection logs
|
|
64
65
|
[**users_id_user_connections_id_connection_post**](ProvidersApi.md#users_id_user_connections_id_connection_post) | **POST** /users/{id_user}/connections/{id_connection} | Update a connection.
|
|
@@ -3911,6 +3912,67 @@ Name | Type | Description | Notes
|
|
|
3911
3912
|
|
|
3912
3913
|
|
|
3913
3914
|
|
|
3915
|
+
# **users_id_user_connections_id_connection_get**
|
|
3916
|
+
> Connection users_id_user_connections_id_connection_get(id_user, id_connection, opts)
|
|
3917
|
+
|
|
3918
|
+
Get connection
|
|
3919
|
+
|
|
3920
|
+
Get connection by ID
|
|
3921
|
+
|
|
3922
|
+
### Example
|
|
3923
|
+
```ruby
|
|
3924
|
+
# load the gem
|
|
3925
|
+
require 'budgea_client'
|
|
3926
|
+
# setup authorization
|
|
3927
|
+
BudgeaClient.configure do |config|
|
|
3928
|
+
# Configure API key authorization: api_key
|
|
3929
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
3930
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3931
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
|
3932
|
+
end
|
|
3933
|
+
|
|
3934
|
+
api_instance = BudgeaClient::ProvidersApi.new
|
|
3935
|
+
|
|
3936
|
+
id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
|
3937
|
+
|
|
3938
|
+
id_connection = 56 # Integer |
|
|
3939
|
+
|
|
3940
|
+
opts = {
|
|
3941
|
+
expand: 'expand_example' # String |
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
begin
|
|
3945
|
+
#Get connection
|
|
3946
|
+
result = api_instance.users_id_user_connections_id_connection_get(id_user, id_connection, opts)
|
|
3947
|
+
p result
|
|
3948
|
+
rescue BudgeaClient::ApiError => e
|
|
3949
|
+
puts "Exception when calling ProvidersApi->users_id_user_connections_id_connection_get: #{e}"
|
|
3950
|
+
end
|
|
3951
|
+
```
|
|
3952
|
+
|
|
3953
|
+
### Parameters
|
|
3954
|
+
|
|
3955
|
+
Name | Type | Description | Notes
|
|
3956
|
+
------------- | ------------- | ------------- | -------------
|
|
3957
|
+
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
|
3958
|
+
**id_connection** | **Integer**| |
|
|
3959
|
+
**expand** | **String**| | [optional]
|
|
3960
|
+
|
|
3961
|
+
### Return type
|
|
3962
|
+
|
|
3963
|
+
[**Connection**](Connection.md)
|
|
3964
|
+
|
|
3965
|
+
### Authorization
|
|
3966
|
+
|
|
3967
|
+
[api_key](../README.md#api_key)
|
|
3968
|
+
|
|
3969
|
+
### HTTP request headers
|
|
3970
|
+
|
|
3971
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
3972
|
+
- **Accept**: application/json
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
|
|
3914
3976
|
# **users_id_user_connections_id_connection_informations_get**
|
|
3915
3977
|
> InlineResponse2009 users_id_user_connections_id_connection_informations_get(id_user, id_connection, opts)
|
|
3916
3978
|
|
|
@@ -675,6 +675,13 @@ module BudgeaClient
|
|
|
675
675
|
|
|
676
676
|
# query parameters
|
|
677
677
|
query_params = {}
|
|
678
|
+
query_params[:'id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
|
|
679
|
+
query_params[:'connector_uuid'] = opts[:'connector_uuid'] if !opts[:'connector_uuid'].nil?
|
|
680
|
+
query_params[:'client_id'] = opts[:'client_id'] if !opts[:'client_id'].nil?
|
|
681
|
+
query_params[:'redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
|
|
682
|
+
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
|
683
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
684
|
+
query_params[:'id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
|
|
678
685
|
|
|
679
686
|
# header parameters
|
|
680
687
|
header_params = {}
|
|
@@ -685,13 +692,6 @@ module BudgeaClient
|
|
|
685
692
|
|
|
686
693
|
# form parameters
|
|
687
694
|
form_params = {}
|
|
688
|
-
form_params['id_connector'] = opts[:'id_connector'] if !opts[:'id_connector'].nil?
|
|
689
|
-
form_params['connector_uuid'] = opts[:'connector_uuid'] if !opts[:'connector_uuid'].nil?
|
|
690
|
-
form_params['client_id'] = opts[:'client_id'] if !opts[:'client_id'].nil?
|
|
691
|
-
form_params['redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
|
|
692
|
-
form_params['state'] = opts[:'state'] if !opts[:'state'].nil?
|
|
693
|
-
form_params['fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
694
|
-
form_params['id_connection'] = opts[:'id_connection'] if !opts[:'id_connection'].nil?
|
|
695
695
|
|
|
696
696
|
# http body (model)
|
|
697
697
|
post_body = nil
|
|
@@ -5872,6 +5872,69 @@ module BudgeaClient
|
|
|
5872
5872
|
end
|
|
5873
5873
|
return data, status_code, headers
|
|
5874
5874
|
end
|
|
5875
|
+
# Get connection
|
|
5876
|
+
# Get connection by ID
|
|
5877
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
5878
|
+
# @param id_connection
|
|
5879
|
+
# @param [Hash] opts the optional parameters
|
|
5880
|
+
# @option opts [String] :expand
|
|
5881
|
+
# @return [Connection]
|
|
5882
|
+
def users_id_user_connections_id_connection_get(id_user, id_connection, opts = {})
|
|
5883
|
+
data, _status_code, _headers = users_id_user_connections_id_connection_get_with_http_info(id_user, id_connection, opts)
|
|
5884
|
+
data
|
|
5885
|
+
end
|
|
5886
|
+
|
|
5887
|
+
# Get connection
|
|
5888
|
+
# Get connection by ID
|
|
5889
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
5890
|
+
# @param id_connection
|
|
5891
|
+
# @param [Hash] opts the optional parameters
|
|
5892
|
+
# @option opts [String] :expand
|
|
5893
|
+
# @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
|
|
5894
|
+
def users_id_user_connections_id_connection_get_with_http_info(id_user, id_connection, opts = {})
|
|
5895
|
+
if @api_client.config.debugging
|
|
5896
|
+
@api_client.config.logger.debug 'Calling API: BanksApi.users_id_user_connections_id_connection_get ...'
|
|
5897
|
+
end
|
|
5898
|
+
# verify the required parameter 'id_user' is set
|
|
5899
|
+
if @api_client.config.client_side_validation && id_user.nil?
|
|
5900
|
+
fail ArgumentError, "Missing the required parameter 'id_user' when calling BanksApi.users_id_user_connections_id_connection_get"
|
|
5901
|
+
end
|
|
5902
|
+
# verify the required parameter 'id_connection' is set
|
|
5903
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
5904
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling BanksApi.users_id_user_connections_id_connection_get"
|
|
5905
|
+
end
|
|
5906
|
+
# resource path
|
|
5907
|
+
local_var_path = '/users/{id_user}/connections/{id_connection}'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
|
|
5908
|
+
|
|
5909
|
+
# query parameters
|
|
5910
|
+
query_params = {}
|
|
5911
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
5912
|
+
|
|
5913
|
+
# header parameters
|
|
5914
|
+
header_params = {}
|
|
5915
|
+
# HTTP header 'Accept' (if needed)
|
|
5916
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5917
|
+
# HTTP header 'Content-Type'
|
|
5918
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
|
5919
|
+
|
|
5920
|
+
# form parameters
|
|
5921
|
+
form_params = {}
|
|
5922
|
+
|
|
5923
|
+
# http body (model)
|
|
5924
|
+
post_body = nil
|
|
5925
|
+
auth_names = ['api_key']
|
|
5926
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
5927
|
+
:header_params => header_params,
|
|
5928
|
+
:query_params => query_params,
|
|
5929
|
+
:form_params => form_params,
|
|
5930
|
+
:body => post_body,
|
|
5931
|
+
:auth_names => auth_names,
|
|
5932
|
+
:return_type => 'Connection')
|
|
5933
|
+
if @api_client.config.debugging
|
|
5934
|
+
@api_client.config.logger.debug "API called: BanksApi#users_id_user_connections_id_connection_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5935
|
+
end
|
|
5936
|
+
return data, status_code, headers
|
|
5937
|
+
end
|
|
5875
5938
|
# Get connection additionnal informations
|
|
5876
5939
|
# <br><br>
|
|
5877
5940
|
# @param id_user Hint: you can use 'me' or 'all'
|
|
@@ -694,6 +694,69 @@ module BudgeaClient
|
|
|
694
694
|
end
|
|
695
695
|
return data, status_code, headers
|
|
696
696
|
end
|
|
697
|
+
# Get connection
|
|
698
|
+
# Get connection by ID
|
|
699
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
700
|
+
# @param id_connection
|
|
701
|
+
# @param [Hash] opts the optional parameters
|
|
702
|
+
# @option opts [String] :expand
|
|
703
|
+
# @return [Connection]
|
|
704
|
+
def users_id_user_connections_id_connection_get(id_user, id_connection, opts = {})
|
|
705
|
+
data, _status_code, _headers = users_id_user_connections_id_connection_get_with_http_info(id_user, id_connection, opts)
|
|
706
|
+
data
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
# Get connection
|
|
710
|
+
# Get connection by ID
|
|
711
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
712
|
+
# @param id_connection
|
|
713
|
+
# @param [Hash] opts the optional parameters
|
|
714
|
+
# @option opts [String] :expand
|
|
715
|
+
# @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
|
|
716
|
+
def users_id_user_connections_id_connection_get_with_http_info(id_user, id_connection, opts = {})
|
|
717
|
+
if @api_client.config.debugging
|
|
718
|
+
@api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_get ...'
|
|
719
|
+
end
|
|
720
|
+
# verify the required parameter 'id_user' is set
|
|
721
|
+
if @api_client.config.client_side_validation && id_user.nil?
|
|
722
|
+
fail ArgumentError, "Missing the required parameter 'id_user' when calling ConnectionsApi.users_id_user_connections_id_connection_get"
|
|
723
|
+
end
|
|
724
|
+
# verify the required parameter 'id_connection' is set
|
|
725
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
726
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.users_id_user_connections_id_connection_get"
|
|
727
|
+
end
|
|
728
|
+
# resource path
|
|
729
|
+
local_var_path = '/users/{id_user}/connections/{id_connection}'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
|
|
730
|
+
|
|
731
|
+
# query parameters
|
|
732
|
+
query_params = {}
|
|
733
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
734
|
+
|
|
735
|
+
# header parameters
|
|
736
|
+
header_params = {}
|
|
737
|
+
# HTTP header 'Accept' (if needed)
|
|
738
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
739
|
+
# HTTP header 'Content-Type'
|
|
740
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
|
741
|
+
|
|
742
|
+
# form parameters
|
|
743
|
+
form_params = {}
|
|
744
|
+
|
|
745
|
+
# http body (model)
|
|
746
|
+
post_body = nil
|
|
747
|
+
auth_names = ['api_key']
|
|
748
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
749
|
+
:header_params => header_params,
|
|
750
|
+
:query_params => query_params,
|
|
751
|
+
:form_params => form_params,
|
|
752
|
+
:body => post_body,
|
|
753
|
+
:auth_names => auth_names,
|
|
754
|
+
:return_type => 'Connection')
|
|
755
|
+
if @api_client.config.debugging
|
|
756
|
+
@api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_connections_id_connection_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
757
|
+
end
|
|
758
|
+
return data, status_code, headers
|
|
759
|
+
end
|
|
697
760
|
# Get connection additionnal informations
|
|
698
761
|
# <br><br>
|
|
699
762
|
# @param id_user Hint: you can use 'me' or 'all'
|
|
@@ -4224,6 +4224,69 @@ module BudgeaClient
|
|
|
4224
4224
|
end
|
|
4225
4225
|
return data, status_code, headers
|
|
4226
4226
|
end
|
|
4227
|
+
# Get connection
|
|
4228
|
+
# Get connection by ID
|
|
4229
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
4230
|
+
# @param id_connection
|
|
4231
|
+
# @param [Hash] opts the optional parameters
|
|
4232
|
+
# @option opts [String] :expand
|
|
4233
|
+
# @return [Connection]
|
|
4234
|
+
def users_id_user_connections_id_connection_get(id_user, id_connection, opts = {})
|
|
4235
|
+
data, _status_code, _headers = users_id_user_connections_id_connection_get_with_http_info(id_user, id_connection, opts)
|
|
4236
|
+
data
|
|
4237
|
+
end
|
|
4238
|
+
|
|
4239
|
+
# Get connection
|
|
4240
|
+
# Get connection by ID
|
|
4241
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
4242
|
+
# @param id_connection
|
|
4243
|
+
# @param [Hash] opts the optional parameters
|
|
4244
|
+
# @option opts [String] :expand
|
|
4245
|
+
# @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
|
|
4246
|
+
def users_id_user_connections_id_connection_get_with_http_info(id_user, id_connection, opts = {})
|
|
4247
|
+
if @api_client.config.debugging
|
|
4248
|
+
@api_client.config.logger.debug 'Calling API: ProvidersApi.users_id_user_connections_id_connection_get ...'
|
|
4249
|
+
end
|
|
4250
|
+
# verify the required parameter 'id_user' is set
|
|
4251
|
+
if @api_client.config.client_side_validation && id_user.nil?
|
|
4252
|
+
fail ArgumentError, "Missing the required parameter 'id_user' when calling ProvidersApi.users_id_user_connections_id_connection_get"
|
|
4253
|
+
end
|
|
4254
|
+
# verify the required parameter 'id_connection' is set
|
|
4255
|
+
if @api_client.config.client_side_validation && id_connection.nil?
|
|
4256
|
+
fail ArgumentError, "Missing the required parameter 'id_connection' when calling ProvidersApi.users_id_user_connections_id_connection_get"
|
|
4257
|
+
end
|
|
4258
|
+
# resource path
|
|
4259
|
+
local_var_path = '/users/{id_user}/connections/{id_connection}'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)
|
|
4260
|
+
|
|
4261
|
+
# query parameters
|
|
4262
|
+
query_params = {}
|
|
4263
|
+
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
|
4264
|
+
|
|
4265
|
+
# header parameters
|
|
4266
|
+
header_params = {}
|
|
4267
|
+
# HTTP header 'Accept' (if needed)
|
|
4268
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
4269
|
+
# HTTP header 'Content-Type'
|
|
4270
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
|
4271
|
+
|
|
4272
|
+
# form parameters
|
|
4273
|
+
form_params = {}
|
|
4274
|
+
|
|
4275
|
+
# http body (model)
|
|
4276
|
+
post_body = nil
|
|
4277
|
+
auth_names = ['api_key']
|
|
4278
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
4279
|
+
:header_params => header_params,
|
|
4280
|
+
:query_params => query_params,
|
|
4281
|
+
:form_params => form_params,
|
|
4282
|
+
:body => post_body,
|
|
4283
|
+
:auth_names => auth_names,
|
|
4284
|
+
:return_type => 'Connection')
|
|
4285
|
+
if @api_client.config.debugging
|
|
4286
|
+
@api_client.config.logger.debug "API called: ProvidersApi#users_id_user_connections_id_connection_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4287
|
+
end
|
|
4288
|
+
return data, status_code, headers
|
|
4289
|
+
end
|
|
4227
4290
|
# Get connection additionnal informations
|
|
4228
4291
|
# <br><br>
|
|
4229
4292
|
# @param id_user Hint: you can use 'me' or 'all'
|
|
@@ -24622,4 +24622,4 @@
|
|
|
24622
24622
|
"description": "cashbee-mordor-sandbox.biapi.pro"
|
|
24623
24623
|
}
|
|
24624
24624
|
]
|
|
24625
|
-
}
|
|
24625
|
+
}
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: budgea_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chaker Nakhli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -204,6 +204,7 @@ files:
|
|
|
204
204
|
- budgea_client.gemspec
|
|
205
205
|
- budgea_openapi.json
|
|
206
206
|
- config.json
|
|
207
|
+
- config.yaml
|
|
207
208
|
- docs/Access.md
|
|
208
209
|
- docs/Account.md
|
|
209
210
|
- docs/AccountLog.md
|
|
@@ -425,6 +426,7 @@ files:
|
|
|
425
426
|
- pkg/budgea_client-2.0.2.gem
|
|
426
427
|
- pkg/budgea_client-3.0.0.gem
|
|
427
428
|
- pkg/budgea_client-4.0.1.gem
|
|
429
|
+
- pkg/budgea_client-4.0.2.gem
|
|
428
430
|
- spec/api/administration_api_spec.rb
|
|
429
431
|
- spec/api/authentication_api_spec.rb
|
|
430
432
|
- spec/api/banks_api_spec.rb
|