fuse_client 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +82 -1
- data/docs/CreateAssetReportResponse.md +3 -1
- data/docs/CreateEntityResponse.md +3 -1
- data/docs/CreateLinkTokenResponse.md +1 -1
- data/docs/CreateSessionResponse.md +1 -1
- data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +1 -1
- data/docs/FuseApi.md +4 -4
- data/docs/GetAssetReportResponse.md +3 -1
- data/docs/GetEntityResponse.md +3 -1
- data/docs/GetFinancialConnectionsAccountBalanceResponse.md +3 -1
- data/docs/GetFinancialConnectionsAccountDetailsResponse.md +3 -1
- data/docs/GetFinancialConnectionsAccountsResponse.md +3 -1
- data/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +3 -1
- data/docs/GetFinancialInstitutionResponse.md +20 -0
- data/docs/GetInvestmentHoldingsResponse.md +3 -1
- data/docs/GetInvestmentTransactionsResponse.md +3 -1
- data/docs/GetLiabilitiesResponse.md +3 -1
- data/docs/GetTransactionsResponse.md +3 -1
- data/docs/SyncFinancialConnectionsDataResponse.md +3 -1
- data/docs/SyncTransactionsResponse.md +3 -1
- data/docs/UpdateEntityResponse.md +3 -1
- data/lib/fuse_client/api/fuse_api.rb +3 -3
- data/lib/fuse_client/models/create_asset_report_response.rb +14 -4
- data/lib/fuse_client/models/create_entity_response.rb +14 -4
- data/lib/fuse_client/models/create_link_token_response.rb +1 -1
- data/lib/fuse_client/models/create_session_response.rb +1 -1
- data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response.rb +14 -4
- data/lib/fuse_client/models/get_entity_response.rb +14 -4
- data/lib/fuse_client/models/get_financial_connections_account_balance_response.rb +14 -4
- data/lib/fuse_client/models/get_financial_connections_account_details_response.rb +14 -4
- data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +14 -4
- data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +14 -4
- data/lib/fuse_client/models/get_financial_institution_response.rb +229 -0
- data/lib/fuse_client/models/get_investment_holdings_response.rb +14 -4
- data/lib/fuse_client/models/get_investment_transactions_response.rb +14 -4
- data/lib/fuse_client/models/get_liabilities_response.rb +14 -4
- data/lib/fuse_client/models/get_transactions_response.rb +14 -4
- data/lib/fuse_client/models/sync_financial_connections_data_response.rb +14 -4
- data/lib/fuse_client/models/sync_transactions_response.rb +14 -4
- data/lib/fuse_client/models/update_entity_response.rb +14 -4
- data/lib/fuse_client/version.rb +1 -1
- data/lib/fuse_client.rb +1 -0
- data/spec/api/fuse_api_spec.rb +1 -1
- data/spec/models/create_asset_report_response_spec.rb +6 -0
- data/spec/models/create_entity_response_spec.rb +6 -0
- data/spec/models/get_asset_report_response_spec.rb +6 -0
- data/spec/models/get_entity_response_spec.rb +6 -0
- data/spec/models/get_financial_connections_account_balance_response_spec.rb +6 -0
- data/spec/models/get_financial_connections_account_details_response_spec.rb +6 -0
- data/spec/models/get_financial_connections_accounts_response_spec.rb +6 -0
- data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +6 -0
- data/spec/models/get_financial_institution_response_spec.rb +40 -0
- data/spec/models/get_investment_holdings_response_spec.rb +6 -0
- data/spec/models/get_investment_transactions_response_spec.rb +6 -0
- data/spec/models/get_liabilities_response_spec.rb +6 -0
- data/spec/models/get_transactions_response_spec.rb +6 -0
- data/spec/models/sync_financial_connections_data_response_spec.rb +6 -0
- data/spec/models/sync_transactions_response_spec.rb +6 -0
- data/spec/models/update_entity_response_spec.rb +6 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b5381ac849c02c1880222ab27ec90cd1d24ba7d32fbe9622ac5f230eb7b61d0
|
4
|
+
data.tar.gz: 26a6285d66f2f26730148698286ea68a0149b9ae30258093a1737ab14d9e85ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feafc4e57a60a2736b502518163715873703f66fe4f72f4404c4ca11a4b642f5293e2af2de991842e750cec0706be9d04125093fc9a6ee1165a6c32dc5e024c1
|
7
|
+
data.tar.gz: 5233550f845551dc75e45613aa71e447f45bd7230b6b9db1edb2cac7fb06ab00378c5cbc09f5e78d0ef63a4e7799f41ca5f8e80abe3f8bcc8d3fe86dffd00560
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1 +1,82 @@
|
|
1
|
-
# fuse-ruby
|
1
|
+
# fuse-ruby
|
2
|
+
|
3
|
+
### Add to gem file
|
4
|
+
|
5
|
+
```ruby
|
6
|
+
gem 'fuse_client', "~> 1.0.6"
|
7
|
+
```
|
8
|
+
|
9
|
+
### Setup fuse client
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
class FuseService
|
15
|
+
attr_reader :client, :auth_names
|
16
|
+
|
17
|
+
def initialize()
|
18
|
+
# Setup authorization
|
19
|
+
FuseClient.configure do |config|
|
20
|
+
config.host = ENV['FUSE_BASE_PATH']
|
21
|
+
config.server_index = nil
|
22
|
+
config.api_key['fuseApiKey'] = ENV['FUSE_API_KEY']
|
23
|
+
config.api_key['fuseClientId'] = ENV['FUSE_CLIENT_ID']
|
24
|
+
config.api_key['plaidClientId'] = ENV['PLAID_CLIENT_ID']
|
25
|
+
config.api_key['plaidSecret'] = ENV['PLAID_SECRET']
|
26
|
+
config.api_key['mxClientId'] = ENV['MX_CLIENT_ID']
|
27
|
+
config.api_key['mxApiKey'] = ENV['MX_API_KEY']
|
28
|
+
config.api_key['tellerApplicationId'] = ENV['TELLER_APPLICATION_ID']
|
29
|
+
config.api_key['tellerCertificate'] = ENV['TELLER_CERTIFICATE']
|
30
|
+
config.api_key['tellerPrivateKey'] = ENV['TELLER_PRIVATE_KEY']
|
31
|
+
end
|
32
|
+
|
33
|
+
@client = FuseClient::FuseApi.new
|
34
|
+
|
35
|
+
@auth_names = %w[fuseApiKey fuseClientId plaidClientId plaidSecret mxClientId mxApiKey tellerApplicationId tellerCertificate tellerPrivateKey]
|
36
|
+
end
|
37
|
+
|
38
|
+
def create_session
|
39
|
+
opts = {
|
40
|
+
create_session_request: FuseClient::CreateSessionRequest.new(
|
41
|
+
supported_financial_institution_aggregators: %w[plaid teller mx],
|
42
|
+
products: ['account_details']
|
43
|
+
)
|
44
|
+
}
|
45
|
+
client.create_session(populate_opts(opts))
|
46
|
+
end
|
47
|
+
|
48
|
+
def create_link_token(session_client_secret, institution_id)
|
49
|
+
opts = {
|
50
|
+
create_link_token_request: FuseClient::CreateLinkTokenRequest.new(
|
51
|
+
entity: {
|
52
|
+
id: 'my entity id'
|
53
|
+
},
|
54
|
+
session_client_secret: session_client_secret,
|
55
|
+
client_name: 'My client name',
|
56
|
+
institution_id: institution_id
|
57
|
+
)
|
58
|
+
}
|
59
|
+
|
60
|
+
client.create_link_token(populate_opts(opts))
|
61
|
+
end
|
62
|
+
|
63
|
+
def exchange_public_token(public_token)
|
64
|
+
opts = {
|
65
|
+
exchange_financial_connections_public_token_request: FuseClient::ExchangeFinancialConnectionsPublicTokenRequest.new(
|
66
|
+
public_token:
|
67
|
+
public_token
|
68
|
+
)
|
69
|
+
}
|
70
|
+
client.exchange_financial_connections_public_token(populate_opts(opts))
|
71
|
+
end
|
72
|
+
|
73
|
+
private
|
74
|
+
|
75
|
+
def populate_opts(opts = {})
|
76
|
+
opts.merge(
|
77
|
+
debug_auth_names: auth_names
|
78
|
+
)
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
```
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **asset_report_token** | **String** | A token that can be provided to endpoints such as /asset_report or /asset_report/pdf to fetch an Asset Report. | [optional] |
|
8
8
|
| **asset_report_id** | **String** | A unique ID identifying an Asset Report. | [optional] |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'fuse_client'
|
|
14
15
|
|
15
16
|
instance = FuseClient::CreateAssetReportResponse.new(
|
16
17
|
asset_report_token: null,
|
17
|
-
asset_report_id: null
|
18
|
+
asset_report_id: null,
|
19
|
+
request_id: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **email** | **String** | Email of the entity | [optional] |
|
9
9
|
| **aggregators** | [**Array<Aggregator>**](Aggregator.md) | These will force the user to connect through all of these aggregators | [optional] |
|
10
10
|
| **institution_ids** | **Array<String>** | | [optional] |
|
11
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -18,7 +19,8 @@ instance = FuseClient::CreateEntityResponse.new(
|
|
18
19
|
id: null,
|
19
20
|
email: null,
|
20
21
|
aggregators: null,
|
21
|
-
institution_ids: null
|
22
|
+
institution_ids: null,
|
23
|
+
request_id: null
|
22
24
|
)
|
23
25
|
```
|
24
26
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **link_token** | **String** | Token needed by the frontend sdk to initiate the connection | [optional] |
|
8
|
-
| **request_id** | **String** |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **expiration** | **String** | 4 hours from the point of creation | [optional] |
|
8
8
|
| **client_secret** | **String** | Token needed by the frontend sdk to start the process | [optional] |
|
9
|
-
| **request_id** | **String** |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **access_token** | **String** | Token used for querying data on the user | [optional] |
|
8
8
|
| **financial_connection_id** | **String** | The id of the new financial connection. Every webhook will be sent with this id. | [optional] |
|
9
|
-
| **request_id** | **String** |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
data/docs/FuseApi.md
CHANGED
@@ -936,7 +936,7 @@ end
|
|
936
936
|
|
937
937
|
## get_financial_institution
|
938
938
|
|
939
|
-
> <
|
939
|
+
> <GetFinancialInstitutionResponse> get_financial_institution(institution_id)
|
940
940
|
|
941
941
|
Get a financial institution
|
942
942
|
|
@@ -976,7 +976,7 @@ end
|
|
976
976
|
|
977
977
|
This returns an Array which contains the response data, status code and headers.
|
978
978
|
|
979
|
-
> <Array(<
|
979
|
+
> <Array(<GetFinancialInstitutionResponse>, Integer, Hash)> get_financial_institution_with_http_info(institution_id)
|
980
980
|
|
981
981
|
```ruby
|
982
982
|
begin
|
@@ -984,7 +984,7 @@ begin
|
|
984
984
|
data, status_code, headers = api_instance.get_financial_institution_with_http_info(institution_id)
|
985
985
|
p status_code # => 2xx
|
986
986
|
p headers # => { ... }
|
987
|
-
p data # => <
|
987
|
+
p data # => <GetFinancialInstitutionResponse>
|
988
988
|
rescue FuseClient::ApiError => e
|
989
989
|
puts "Error when calling FuseApi->get_financial_institution_with_http_info: #{e}"
|
990
990
|
end
|
@@ -998,7 +998,7 @@ end
|
|
998
998
|
|
999
999
|
### Return type
|
1000
1000
|
|
1001
|
-
[**
|
1001
|
+
[**GetFinancialInstitutionResponse**](GetFinancialInstitutionResponse.md)
|
1002
1002
|
|
1003
1003
|
### Authorization
|
1004
1004
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **report** | [**GetAssetReportResponseReport**](GetAssetReportResponseReport.md) | | [optional] |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'fuse_client'
|
13
14
|
|
14
15
|
instance = FuseClient::GetAssetReportResponse.new(
|
15
|
-
report: null
|
16
|
+
report: null,
|
17
|
+
request_id: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
data/docs/GetEntityResponse.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **email** | **String** | Email of the entity | [optional] |
|
9
9
|
| **aggregators** | [**Array<Aggregator>**](Aggregator.md) | These will force the user to connect through all of these aggregators | [optional] |
|
10
10
|
| **institution_ids** | **Array<String>** | | [optional] |
|
11
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -18,7 +19,8 @@ instance = FuseClient::GetEntityResponse.new(
|
|
18
19
|
id: null,
|
19
20
|
email: null,
|
20
21
|
aggregators: null,
|
21
|
-
institution_ids: null
|
22
|
+
institution_ids: null,
|
23
|
+
request_id: null
|
22
24
|
)
|
23
25
|
```
|
24
26
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **balances** | [**Array<FinancialConnectionsAccountBalance>**](FinancialConnectionsAccountBalance.md) | | [optional] |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'fuse_client'
|
13
14
|
|
14
15
|
instance = FuseClient::GetFinancialConnectionsAccountBalanceResponse.new(
|
15
|
-
balances: null
|
16
|
+
balances: null,
|
17
|
+
request_id: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **account_details** | [**Array<FinancialConnectionsAccountDetails>**](FinancialConnectionsAccountDetails.md) | | [optional] |
|
8
8
|
| **financial_connection** | [**FinancialConnectionData**](FinancialConnectionData.md) | | [optional] |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'fuse_client'
|
|
14
15
|
|
15
16
|
instance = FuseClient::GetFinancialConnectionsAccountDetailsResponse.new(
|
16
17
|
account_details: null,
|
17
|
-
financial_connection: null
|
18
|
+
financial_connection: null,
|
19
|
+
request_id: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **accounts** | [**Array<FinancialConnectionsAccount>**](FinancialConnectionsAccount.md) | | [optional] |
|
8
8
|
| **financial_connection** | [**FinancialConnectionData**](FinancialConnectionData.md) | | [optional] |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'fuse_client'
|
|
14
15
|
|
15
16
|
instance = FuseClient::GetFinancialConnectionsAccountsResponse.new(
|
16
17
|
accounts: null,
|
17
|
-
financial_connection: null
|
18
|
+
financial_connection: null,
|
19
|
+
request_id: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_account_id** | **String** | The remote account id of the account | [optional] |
|
8
8
|
| **owners** | [**Array<FinancialConnectionsOwner>**](FinancialConnectionsOwner.md) | | [optional] |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'fuse_client'
|
|
14
15
|
|
15
16
|
instance = FuseClient::GetFinancialConnectionsOwnersResponseAccountsInner.new(
|
16
17
|
remote_account_id: null,
|
17
|
-
owners: null
|
18
|
+
owners: null,
|
19
|
+
request_id: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::GetFinancialInstitutionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **financial_institution** | [**FinancialInstitution**](FinancialInstitution.md) | | [optional] |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::GetFinancialInstitutionResponse.new(
|
16
|
+
financial_institution: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **accounts** | [**Array<FinancialConnectionsInvestmentAccount>**](FinancialConnectionsInvestmentAccount.md) | | [optional] |
|
8
8
|
| **holdings** | [**Array<FinancialConnectionsHolding>**](FinancialConnectionsHolding.md) | | [optional] |
|
9
9
|
| **securities** | [**Array<FinancialConnectionsInvestmentSecurity>**](FinancialConnectionsInvestmentSecurity.md) | | [optional] |
|
10
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
10
11
|
|
11
12
|
## Example
|
12
13
|
|
@@ -16,7 +17,8 @@ require 'fuse_client'
|
|
16
17
|
instance = FuseClient::GetInvestmentHoldingsResponse.new(
|
17
18
|
accounts: null,
|
18
19
|
holdings: null,
|
19
|
-
securities: null
|
20
|
+
securities: null,
|
21
|
+
request_id: null
|
20
22
|
)
|
21
23
|
```
|
22
24
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **accounts** | [**Array<FinancialConnectionsInvestmentAccount>**](FinancialConnectionsInvestmentAccount.md) | | [optional] |
|
8
8
|
| **investment_transactions** | [**Array<FinancialConnectionsInvestmentTransaction>**](FinancialConnectionsInvestmentTransaction.md) | | [optional] |
|
9
9
|
| **securities** | [**Array<FinancialConnectionsInvestmentSecurity>**](FinancialConnectionsInvestmentSecurity.md) | | [optional] |
|
10
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
10
11
|
|
11
12
|
## Example
|
12
13
|
|
@@ -16,7 +17,8 @@ require 'fuse_client'
|
|
16
17
|
instance = FuseClient::GetInvestmentTransactionsResponse.new(
|
17
18
|
accounts: null,
|
18
19
|
investment_transactions: null,
|
19
|
-
securities: null
|
20
|
+
securities: null,
|
21
|
+
request_id: null
|
20
22
|
)
|
21
23
|
```
|
22
24
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **liabilities** | [**Array<FinancialConnectionsAccountLiability>**](FinancialConnectionsAccountLiability.md) | | [optional] |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'fuse_client'
|
13
14
|
|
14
15
|
instance = FuseClient::GetLiabilitiesResponse.new(
|
15
|
-
liabilities: null
|
16
|
+
liabilities: null,
|
17
|
+
request_id: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **data** | [**Array<GetTransactionsResponseDataInner>**](GetTransactionsResponseDataInner.md) | | [optional] |
|
8
8
|
| **cursor** | **String** | The cursor of the last item returned | [optional] |
|
9
9
|
| **has_next** | **Boolean** | Indicates if there are more pages to navigate through | [optional] |
|
10
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
10
11
|
|
11
12
|
## Example
|
12
13
|
|
@@ -16,7 +17,8 @@ require 'fuse_client'
|
|
16
17
|
instance = FuseClient::GetTransactionsResponse.new(
|
17
18
|
data: null,
|
18
19
|
cursor: null,
|
19
|
-
has_next: null
|
20
|
+
has_next: null,
|
21
|
+
request_id: null
|
20
22
|
)
|
21
23
|
```
|
22
24
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **message** | **String** | Response message | [optional] |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'fuse_client'
|
13
14
|
|
14
15
|
instance = FuseClient::SyncFinancialConnectionsDataResponse.new(
|
15
|
-
message: null
|
16
|
+
message: null,
|
17
|
+
request_id: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **removed** | [**Array<SyncTransactionsResponseRemovedInner>**](SyncTransactionsResponseRemovedInner.md) | Transactions that have been removed from the item since `cursor` ordered by ascending last modified time. | [optional] |
|
10
10
|
| **next_cursor** | **String** | Cursor used for fetching any future updates after the latest update provided in this response. The cursor obtained after all pages have been pulled (indicated by `has_next` being `false`) will be valid for at least 1 year. This cursor should be persisted for later calls. | [optional] |
|
11
11
|
| **has_next** | **Boolean** | Represents if more than requested count of transaction updates exist. If true, the additional updates can be fetched by making an additional request with `cursor` set to `next_cursor`. If `has_next` is true, it's important to pull all available pages, to make it less likely for underlying data changes to conflict with pagination. | [optional] |
|
12
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
12
13
|
|
13
14
|
## Example
|
14
15
|
|
@@ -20,7 +21,8 @@ instance = FuseClient::SyncTransactionsResponse.new(
|
|
20
21
|
modified: null,
|
21
22
|
removed: null,
|
22
23
|
next_cursor: null,
|
23
|
-
has_next: null
|
24
|
+
has_next: null,
|
25
|
+
request_id: null
|
24
26
|
)
|
25
27
|
```
|
26
28
|
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **email** | **String** | Email of the entity | [optional] |
|
9
9
|
| **aggregators** | [**Array<Aggregator>**](Aggregator.md) | These will force the user to connect through all of these aggregators | [optional] |
|
10
10
|
| **institution_ids** | **Array<String>** | | [optional] |
|
11
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -18,7 +19,8 @@ instance = FuseClient::UpdateEntityResponse.new(
|
|
18
19
|
id: null,
|
19
20
|
email: null,
|
20
21
|
aggregators: null,
|
21
|
-
institution_ids: null
|
22
|
+
institution_ids: null,
|
23
|
+
request_id: null
|
22
24
|
)
|
23
25
|
```
|
24
26
|
|
@@ -790,7 +790,7 @@ module FuseClient
|
|
790
790
|
# Receive metadata for a financial institution
|
791
791
|
# @param institution_id [String]
|
792
792
|
# @param [Hash] opts the optional parameters
|
793
|
-
# @return [
|
793
|
+
# @return [GetFinancialInstitutionResponse]
|
794
794
|
def get_financial_institution(institution_id, opts = {})
|
795
795
|
data, _status_code, _headers = get_financial_institution_with_http_info(institution_id, opts)
|
796
796
|
data
|
@@ -800,7 +800,7 @@ module FuseClient
|
|
800
800
|
# Receive metadata for a financial institution
|
801
801
|
# @param institution_id [String]
|
802
802
|
# @param [Hash] opts the optional parameters
|
803
|
-
# @return [Array<(
|
803
|
+
# @return [Array<(GetFinancialInstitutionResponse, Integer, Hash)>] GetFinancialInstitutionResponse data, response status code and response headers
|
804
804
|
def get_financial_institution_with_http_info(institution_id, opts = {})
|
805
805
|
if @api_client.config.debugging
|
806
806
|
@api_client.config.logger.debug 'Calling API: FuseApi.get_financial_institution ...'
|
@@ -827,7 +827,7 @@ module FuseClient
|
|
827
827
|
post_body = opts[:debug_body]
|
828
828
|
|
829
829
|
# return_type
|
830
|
-
return_type = opts[:debug_return_type] || '
|
830
|
+
return_type = opts[:debug_return_type] || 'GetFinancialInstitutionResponse'
|
831
831
|
|
832
832
|
# auth_names
|
833
833
|
auth_names = opts[:debug_auth_names] || ['fuseApiKey', 'fuseClientId']
|
@@ -21,11 +21,15 @@ module FuseClient
|
|
21
21
|
# A unique ID identifying an Asset Report.
|
22
22
|
attr_accessor :asset_report_id
|
23
23
|
|
24
|
+
# An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues.
|
25
|
+
attr_accessor :request_id
|
26
|
+
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'asset_report_token' => :'asset_report_token',
|
28
|
-
:'asset_report_id' => :'asset_report_id'
|
31
|
+
:'asset_report_id' => :'asset_report_id',
|
32
|
+
:'request_id' => :'request_id'
|
29
33
|
}
|
30
34
|
end
|
31
35
|
|
@@ -38,7 +42,8 @@ module FuseClient
|
|
38
42
|
def self.openapi_types
|
39
43
|
{
|
40
44
|
:'asset_report_token' => :'String',
|
41
|
-
:'asset_report_id' => :'String'
|
45
|
+
:'asset_report_id' => :'String',
|
46
|
+
:'request_id' => :'String'
|
42
47
|
}
|
43
48
|
end
|
44
49
|
|
@@ -70,6 +75,10 @@ module FuseClient
|
|
70
75
|
if attributes.key?(:'asset_report_id')
|
71
76
|
self.asset_report_id = attributes[:'asset_report_id']
|
72
77
|
end
|
78
|
+
|
79
|
+
if attributes.key?(:'request_id')
|
80
|
+
self.request_id = attributes[:'request_id']
|
81
|
+
end
|
73
82
|
end
|
74
83
|
|
75
84
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -91,7 +100,8 @@ module FuseClient
|
|
91
100
|
return true if self.equal?(o)
|
92
101
|
self.class == o.class &&
|
93
102
|
asset_report_token == o.asset_report_token &&
|
94
|
-
asset_report_id == o.asset_report_id
|
103
|
+
asset_report_id == o.asset_report_id &&
|
104
|
+
request_id == o.request_id
|
95
105
|
end
|
96
106
|
|
97
107
|
# @see the `==` method
|
@@ -103,7 +113,7 @@ module FuseClient
|
|
103
113
|
# Calculates hash code according to all attributes.
|
104
114
|
# @return [Integer] Hash code
|
105
115
|
def hash
|
106
|
-
[asset_report_token, asset_report_id].hash
|
116
|
+
[asset_report_token, asset_report_id, request_id].hash
|
107
117
|
end
|
108
118
|
|
109
119
|
# Builds the object from hash
|
@@ -26,13 +26,17 @@ module FuseClient
|
|
26
26
|
|
27
27
|
attr_accessor :institution_ids
|
28
28
|
|
29
|
+
# An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues.
|
30
|
+
attr_accessor :request_id
|
31
|
+
|
29
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
33
|
def self.attribute_map
|
31
34
|
{
|
32
35
|
:'id' => :'id',
|
33
36
|
:'email' => :'email',
|
34
37
|
:'aggregators' => :'aggregators',
|
35
|
-
:'institution_ids' => :'institution_ids'
|
38
|
+
:'institution_ids' => :'institution_ids',
|
39
|
+
:'request_id' => :'request_id'
|
36
40
|
}
|
37
41
|
end
|
38
42
|
|
@@ -47,7 +51,8 @@ module FuseClient
|
|
47
51
|
:'id' => :'String',
|
48
52
|
:'email' => :'String',
|
49
53
|
:'aggregators' => :'Array<Aggregator>',
|
50
|
-
:'institution_ids' => :'Array<String>'
|
54
|
+
:'institution_ids' => :'Array<String>',
|
55
|
+
:'request_id' => :'String'
|
51
56
|
}
|
52
57
|
end
|
53
58
|
|
@@ -91,6 +96,10 @@ module FuseClient
|
|
91
96
|
self.institution_ids = value
|
92
97
|
end
|
93
98
|
end
|
99
|
+
|
100
|
+
if attributes.key?(:'request_id')
|
101
|
+
self.request_id = attributes[:'request_id']
|
102
|
+
end
|
94
103
|
end
|
95
104
|
|
96
105
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -129,7 +138,8 @@ module FuseClient
|
|
129
138
|
id == o.id &&
|
130
139
|
email == o.email &&
|
131
140
|
aggregators == o.aggregators &&
|
132
|
-
institution_ids == o.institution_ids
|
141
|
+
institution_ids == o.institution_ids &&
|
142
|
+
request_id == o.request_id
|
133
143
|
end
|
134
144
|
|
135
145
|
# @see the `==` method
|
@@ -141,7 +151,7 @@ module FuseClient
|
|
141
151
|
# Calculates hash code according to all attributes.
|
142
152
|
# @return [Integer] Hash code
|
143
153
|
def hash
|
144
|
-
[id, email, aggregators, institution_ids].hash
|
154
|
+
[id, email, aggregators, institution_ids, request_id].hash
|
145
155
|
end
|
146
156
|
|
147
157
|
# Builds the object from hash
|
@@ -18,7 +18,7 @@ module FuseClient
|
|
18
18
|
# Token needed by the frontend sdk to initiate the connection
|
19
19
|
attr_accessor :link_token
|
20
20
|
|
21
|
-
#
|
21
|
+
# An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues.
|
22
22
|
attr_accessor :request_id
|
23
23
|
|
24
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -21,7 +21,7 @@ module FuseClient
|
|
21
21
|
# Token needed by the frontend sdk to start the process
|
22
22
|
attr_accessor :client_secret
|
23
23
|
|
24
|
-
#
|
24
|
+
# An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues.
|
25
25
|
attr_accessor :request_id
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -21,7 +21,7 @@ module FuseClient
|
|
21
21
|
# The id of the new financial connection. Every webhook will be sent with this id.
|
22
22
|
attr_accessor :financial_connection_id
|
23
23
|
|
24
|
-
#
|
24
|
+
# An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues.
|
25
25
|
attr_accessor :request_id
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|