fuse_client 1.0.6 → 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/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 +3 -1
- 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/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 +14 -4
- 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/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 +6 -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 +2 -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
|
|
@@ -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
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
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] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'fuse_client'
|
13
14
|
|
14
15
|
instance = FuseClient::GetFinancialInstitutionResponse.new(
|
15
|
-
financial_institution: null
|
16
|
+
financial_institution: null,
|
17
|
+
request_id: null
|
16
18
|
)
|
17
19
|
```
|
18
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
|
|
@@ -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.
|
@@ -17,10 +17,14 @@ module FuseClient
|
|
17
17
|
class GetAssetReportResponse
|
18
18
|
attr_accessor :report
|
19
19
|
|
20
|
+
# An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues.
|
21
|
+
attr_accessor :request_id
|
22
|
+
|
20
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
24
|
def self.attribute_map
|
22
25
|
{
|
23
|
-
:'report' => :'report'
|
26
|
+
:'report' => :'report',
|
27
|
+
:'request_id' => :'request_id'
|
24
28
|
}
|
25
29
|
end
|
26
30
|
|
@@ -32,7 +36,8 @@ module FuseClient
|
|
32
36
|
# Attribute type mapping.
|
33
37
|
def self.openapi_types
|
34
38
|
{
|
35
|
-
:'report' => :'GetAssetReportResponseReport'
|
39
|
+
:'report' => :'GetAssetReportResponseReport',
|
40
|
+
:'request_id' => :'String'
|
36
41
|
}
|
37
42
|
end
|
38
43
|
|
@@ -60,6 +65,10 @@ module FuseClient
|
|
60
65
|
if attributes.key?(:'report')
|
61
66
|
self.report = attributes[:'report']
|
62
67
|
end
|
68
|
+
|
69
|
+
if attributes.key?(:'request_id')
|
70
|
+
self.request_id = attributes[:'request_id']
|
71
|
+
end
|
63
72
|
end
|
64
73
|
|
65
74
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -80,7 +89,8 @@ module FuseClient
|
|
80
89
|
def ==(o)
|
81
90
|
return true if self.equal?(o)
|
82
91
|
self.class == o.class &&
|
83
|
-
report == o.report
|
92
|
+
report == o.report &&
|
93
|
+
request_id == o.request_id
|
84
94
|
end
|
85
95
|
|
86
96
|
# @see the `==` method
|
@@ -92,7 +102,7 @@ module FuseClient
|
|
92
102
|
# Calculates hash code according to all attributes.
|
93
103
|
# @return [Integer] Hash code
|
94
104
|
def hash
|
95
|
-
[report].hash
|
105
|
+
[report, request_id].hash
|
96
106
|
end
|
97
107
|
|
98
108
|
# Builds the object from hash
|