fuse_client 0.2.0
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 +7 -0
- data/2023-01-25.json +1736 -0
- data/fuse-ruby-openapi/.gitignore +39 -0
- data/fuse-ruby-openapi/.gitlab-ci.yml +26 -0
- data/fuse-ruby-openapi/.openapi-generator/FILES +220 -0
- data/fuse-ruby-openapi/.openapi-generator/VERSION +1 -0
- data/fuse-ruby-openapi/.openapi-generator-ignore +23 -0
- data/fuse-ruby-openapi/.rspec +2 -0
- data/fuse-ruby-openapi/.rubocop.yml +148 -0
- data/fuse-ruby-openapi/.travis.yml +14 -0
- data/fuse-ruby-openapi/Gemfile +9 -0
- data/fuse-ruby-openapi/README.md +258 -0
- data/fuse-ruby-openapi/Rakefile +10 -0
- data/fuse-ruby-openapi/docs/CreateAssetReportRequest.md +20 -0
- data/fuse-ruby-openapi/docs/CreateAssetReportResponse.md +20 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequest.md +28 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestMx.md +18 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaid.md +18 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaidConfig.md +18 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenResponse.md +20 -0
- data/fuse-ruby-openapi/docs/CreateSessionRequest.md +22 -0
- data/fuse-ruby-openapi/docs/CreateSessionRequestMx.md +24 -0
- data/fuse-ruby-openapi/docs/CreateSessionRequestPlaid.md +18 -0
- data/fuse-ruby-openapi/docs/CreateSessionResponse.md +22 -0
- data/fuse-ruby-openapi/docs/ExchangeFinancialConnectionsPublicTokenRequest.md +18 -0
- data/fuse-ruby-openapi/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +22 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccount.md +32 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountBalance.md +24 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountDetails.md +22 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountDetailsAch.md +24 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountInstitution.md +18 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiability.md +46 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiabilityAllOf.md +30 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiabilityAllOfAprs.md +20 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsHolding.md +26 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentAccount.md +32 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentSecurity.md +26 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentTransaction.md +18 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentTransactionDataInner.md +32 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwner.md +24 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerAddressesInner.md +20 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerAddressesInnerData.md +26 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerEmailsInner.md +22 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerNamesInner.md +20 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerPhoneNumbersInner.md +22 -0
- data/fuse-ruby-openapi/docs/FuseApi.md +1154 -0
- data/fuse-ruby-openapi/docs/FuseApiError.md +28 -0
- data/fuse-ruby-openapi/docs/FuseApiErrorData.md +20 -0
- data/fuse-ruby-openapi/docs/FuseApiWarning.md +28 -0
- data/fuse-ruby-openapi/docs/FuseApiWarningData.md +20 -0
- data/fuse-ruby-openapi/docs/GetAssetReportRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReport.md +28 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInner.md +24 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInnerBalances.md +22 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner.md +22 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountBalanceResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountDetailsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountDetailsResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountsResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsBalanceRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +20 -0
- data/fuse-ruby-openapi/docs/GetInvestmentHoldingsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetInvestmentHoldingsResponse.md +24 -0
- data/fuse-ruby-openapi/docs/GetInvestmentTransactionsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetInvestmentTransactionsResponse.md +24 -0
- data/fuse-ruby-openapi/docs/GetLiabilitiesRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetLiabilitiesResponse.md +20 -0
- data/fuse-ruby-openapi/docs/GetTransactionsRequest.md +22 -0
- data/fuse-ruby-openapi/docs/GetTransactionsResponse.md +22 -0
- data/fuse-ruby-openapi/docs/GetTransactionsResponseDataInner.md +38 -0
- data/fuse-ruby-openapi/docs/GetTransactionsResponseDataInnerMerchant.md +18 -0
- data/fuse-ruby-openapi/docs/SyncFinancialConnectionsDataResponse.md +18 -0
- data/fuse-ruby-openapi/docs/SyncTransactionsRequest.md +22 -0
- data/fuse-ruby-openapi/docs/SyncTransactionsResponse.md +26 -0
- data/fuse-ruby-openapi/docs/SyncTransactionsResponseRemovedInner.md +18 -0
- data/fuse-ruby-openapi/docs/TransactionCommonModel.md +18 -0
- data/fuse-ruby-openapi/fuse_client.gemspec +38 -0
- data/fuse-ruby-openapi/git_push.sh +57 -0
- data/fuse-ruby-openapi/lib/fuse_client/api/fuse_api.rb +994 -0
- data/fuse-ruby-openapi/lib/fuse_client/api_client.rb +392 -0
- data/fuse-ruby-openapi/lib/fuse_client/api_error.rb +57 -0
- data/fuse-ruby-openapi/lib/fuse_client/configuration.rb +349 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_asset_report_request.rb +268 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_asset_report_response.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request.rb +277 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_mx.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_plaid.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_plaid_config.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_response.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request.rb +266 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request_mx.rb +247 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request_plaid.rb +238 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_response.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account.rb +288 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_balance.rb +250 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_details.rb +239 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_details_ach.rb +250 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_institution.rb +219 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability.rb +368 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +282 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_holding.rb +260 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_account.rb +288 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_security.rb +260 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_transaction.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_transaction_data_inner.rb +290 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner.rb +255 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +229 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +260 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +274 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_names_inner.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +274 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_error.rb +298 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_error_data.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_warning.rb +298 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_warning_data.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response.rb +219 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report.rb +275 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +252 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_balance_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_details_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_details_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_accounts_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_accounts_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_balance_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +231 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_holdings_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_holdings_response.rb +253 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_transactions_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_transactions_response.rb +253 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_liabilities_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_liabilities_response.rb +231 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_request.rb +245 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response.rb +241 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response_data_inner.rb +321 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response_data_inner_merchant.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_financial_connections_data_response.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_request.rb +245 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_response.rb +266 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +219 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/transaction_common_model.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/version.rb +15 -0
- data/fuse-ruby-openapi/lib/fuse_client.rb +106 -0
- data/fuse-ruby-openapi/spec/api/fuse_api_spec.rb +201 -0
- data/fuse-ruby-openapi/spec/api_client_spec.rb +226 -0
- data/fuse-ruby-openapi/spec/configuration_spec.rb +42 -0
- data/fuse-ruby-openapi/spec/models/create_asset_report_request_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/create_asset_report_response_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_mx_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_plaid_config_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_plaid_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_spec.rb +64 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_response_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/create_session_request_mx_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/create_session_request_plaid_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_session_request_spec.rb +50 -0
- data/fuse-ruby-openapi/spec/models/create_session_response_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/exchange_financial_connections_public_token_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/exchange_financial_connections_public_token_response_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_balance_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_details_ach_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_details_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_institution_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_all_of_spec.rb +70 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_spec.rb +118 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_spec.rb +76 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_holding_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_account_spec.rb +76 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_security_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_transaction_data_inner_spec.rb +76 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_transaction_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_addresses_inner_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_emails_inner_spec.rb +50 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_names_inner_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +50 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_error_data_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_error_spec.rb +68 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_warning_data_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_warning_spec.rb +68 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_spec.rb +64 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_account_balance_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_account_details_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_account_details_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_accounts_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_accounts_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_balance_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_investment_holdings_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_investment_holdings_response_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/get_investment_transactions_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_investment_transactions_response_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/get_liabilities_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_liabilities_response_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_request_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_response_data_inner_merchant_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_response_data_inner_spec.rb +94 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_response_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/sync_financial_connections_data_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/sync_transactions_request_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/sync_transactions_response_removed_inner_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/sync_transactions_response_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/transaction_common_model_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/spec_helper.rb +111 -0
- data/generate-fuse-openapi-spec.js +136 -0
- metadata +307 -0
@@ -0,0 +1,258 @@
|
|
1
|
+
# fuse_client
|
2
|
+
|
3
|
+
FuseClient - the Ruby gem for the Fuse
|
4
|
+
|
5
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
|
+
|
9
|
+
- API version: 1.0.0
|
10
|
+
- Package version: 0.1.0
|
11
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
### Build a gem
|
16
|
+
|
17
|
+
To build the Ruby code into a gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem build fuse_client.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./fuse_client-0.1.0.gem
|
27
|
+
```
|
28
|
+
|
29
|
+
(for development, run `gem install --dev ./fuse_client-0.1.0.gem` to install the development dependencies)
|
30
|
+
|
31
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
|
+
|
33
|
+
Finally add this to the Gemfile:
|
34
|
+
|
35
|
+
gem 'fuse_client', '~> 0.1.0'
|
36
|
+
|
37
|
+
### Install from Git
|
38
|
+
|
39
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
40
|
+
|
41
|
+
gem 'fuse_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
42
|
+
|
43
|
+
### Include the Ruby code directly
|
44
|
+
|
45
|
+
Include the Ruby code directly using `-I` as follows:
|
46
|
+
|
47
|
+
```shell
|
48
|
+
ruby -Ilib script.rb
|
49
|
+
```
|
50
|
+
|
51
|
+
## Getting Started
|
52
|
+
|
53
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
# Load the gem
|
57
|
+
require 'fuse_client'
|
58
|
+
|
59
|
+
# Setup authorization
|
60
|
+
FuseClient.configure do |config|
|
61
|
+
# Configure API key authorization: fuseApiKey
|
62
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
63
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
64
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
65
|
+
|
66
|
+
# Configure API key authorization: fuseClientId
|
67
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
68
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
69
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
70
|
+
end
|
71
|
+
|
72
|
+
api_instance = FuseClient::FuseApi.new
|
73
|
+
opts = {
|
74
|
+
create_asset_report_request: FuseClient::CreateAssetReportRequest.new({access_token: 'access_token_example', days_requested: 3.56}) # CreateAssetReportRequest |
|
75
|
+
}
|
76
|
+
|
77
|
+
begin
|
78
|
+
result = api_instance.create_asset_report(opts)
|
79
|
+
p result
|
80
|
+
rescue FuseClient::ApiError => e
|
81
|
+
puts "Exception when calling FuseApi->create_asset_report: #{e}"
|
82
|
+
end
|
83
|
+
|
84
|
+
```
|
85
|
+
|
86
|
+
## Documentation for API Endpoints
|
87
|
+
|
88
|
+
All URIs are relative to *https://yz9sph5c42.execute-api.us-east-1.amazonaws.com*
|
89
|
+
|
90
|
+
Class | Method | HTTP request | Description
|
91
|
+
------------ | ------------- | ------------- | -------------
|
92
|
+
*FuseClient::FuseApi* | [**create_asset_report**](docs/FuseApi.md#create_asset_report) | **POST** /v1/asset_report/create |
|
93
|
+
*FuseClient::FuseApi* | [**create_link_token**](docs/FuseApi.md#create_link_token) | **POST** /v1/link/token |
|
94
|
+
*FuseClient::FuseApi* | [**create_session**](docs/FuseApi.md#create_session) | **POST** /v1/session |
|
95
|
+
*FuseClient::FuseApi* | [**exchange_public_token**](docs/FuseApi.md#exchange_public_token) | **POST** /v1/financial_connections/public_token/exchange |
|
96
|
+
*FuseClient::FuseApi* | [**get_asset_report**](docs/FuseApi.md#get_asset_report) | **POST** /v1/asset_report |
|
97
|
+
*FuseClient::FuseApi* | [**get_financial_connections_account_details**](docs/FuseApi.md#get_financial_connections_account_details) | **POST** /v1/financial_connections/accounts/details | Get account details
|
98
|
+
*FuseClient::FuseApi* | [**get_financial_connections_accounts**](docs/FuseApi.md#get_financial_connections_accounts) | **POST** /v1/financial_connections/accounts | Get accounts
|
99
|
+
*FuseClient::FuseApi* | [**get_financial_connections_balances**](docs/FuseApi.md#get_financial_connections_balances) | **POST** /v1/financial_connections/balances | Get balances
|
100
|
+
*FuseClient::FuseApi* | [**get_financial_connections_owners**](docs/FuseApi.md#get_financial_connections_owners) | **POST** /v1/financial_connections/owners | Get account owners
|
101
|
+
*FuseClient::FuseApi* | [**get_financial_connections_transactions**](docs/FuseApi.md#get_financial_connections_transactions) | **POST** /v1/financial_connections/transactions | Get transactions
|
102
|
+
*FuseClient::FuseApi* | [**get_investment_holdings**](docs/FuseApi.md#get_investment_holdings) | **POST** /v1/financial_connections/investments/holdings | Get investment holdings
|
103
|
+
*FuseClient::FuseApi* | [**get_investment_transactions**](docs/FuseApi.md#get_investment_transactions) | **POST** /v1/financial_connections/investments/transactions | Get investment holdings
|
104
|
+
*FuseClient::FuseApi* | [**sync_financial_connections_data**](docs/FuseApi.md#sync_financial_connections_data) | **POST** /v1/financial_connections/sync | Sync financial connections data
|
105
|
+
*FuseClient::FuseApi* | [**sync_financial_connections_transactions**](docs/FuseApi.md#sync_financial_connections_transactions) | **POST** /v1/financial_connections/transactions/sync | Sync transactions
|
106
|
+
*FuseClient::FuseApi* | [**v1_financial_connections_liabilities_post**](docs/FuseApi.md#v1_financial_connections_liabilities_post) | **POST** /v1/financial_connections/liabilities | Get liabilities
|
107
|
+
|
108
|
+
|
109
|
+
## Documentation for Models
|
110
|
+
|
111
|
+
- [FuseClient::CreateAssetReportRequest](docs/CreateAssetReportRequest.md)
|
112
|
+
- [FuseClient::CreateAssetReportResponse](docs/CreateAssetReportResponse.md)
|
113
|
+
- [FuseClient::CreateLinkTokenRequest](docs/CreateLinkTokenRequest.md)
|
114
|
+
- [FuseClient::CreateLinkTokenRequestMx](docs/CreateLinkTokenRequestMx.md)
|
115
|
+
- [FuseClient::CreateLinkTokenRequestPlaid](docs/CreateLinkTokenRequestPlaid.md)
|
116
|
+
- [FuseClient::CreateLinkTokenRequestPlaidConfig](docs/CreateLinkTokenRequestPlaidConfig.md)
|
117
|
+
- [FuseClient::CreateLinkTokenResponse](docs/CreateLinkTokenResponse.md)
|
118
|
+
- [FuseClient::CreateSessionRequest](docs/CreateSessionRequest.md)
|
119
|
+
- [FuseClient::CreateSessionRequestMx](docs/CreateSessionRequestMx.md)
|
120
|
+
- [FuseClient::CreateSessionRequestPlaid](docs/CreateSessionRequestPlaid.md)
|
121
|
+
- [FuseClient::CreateSessionResponse](docs/CreateSessionResponse.md)
|
122
|
+
- [FuseClient::ExchangeFinancialConnectionsPublicTokenRequest](docs/ExchangeFinancialConnectionsPublicTokenRequest.md)
|
123
|
+
- [FuseClient::ExchangeFinancialConnectionsPublicTokenResponse](docs/ExchangeFinancialConnectionsPublicTokenResponse.md)
|
124
|
+
- [FuseClient::FinancialConnectionsAccount](docs/FinancialConnectionsAccount.md)
|
125
|
+
- [FuseClient::FinancialConnectionsAccountBalance](docs/FinancialConnectionsAccountBalance.md)
|
126
|
+
- [FuseClient::FinancialConnectionsAccountDetails](docs/FinancialConnectionsAccountDetails.md)
|
127
|
+
- [FuseClient::FinancialConnectionsAccountDetailsAch](docs/FinancialConnectionsAccountDetailsAch.md)
|
128
|
+
- [FuseClient::FinancialConnectionsAccountInstitution](docs/FinancialConnectionsAccountInstitution.md)
|
129
|
+
- [FuseClient::FinancialConnectionsAccountLiability](docs/FinancialConnectionsAccountLiability.md)
|
130
|
+
- [FuseClient::FinancialConnectionsAccountLiabilityAllOf](docs/FinancialConnectionsAccountLiabilityAllOf.md)
|
131
|
+
- [FuseClient::FinancialConnectionsAccountLiabilityAllOfAprs](docs/FinancialConnectionsAccountLiabilityAllOfAprs.md)
|
132
|
+
- [FuseClient::FinancialConnectionsHolding](docs/FinancialConnectionsHolding.md)
|
133
|
+
- [FuseClient::FinancialConnectionsInvestmentAccount](docs/FinancialConnectionsInvestmentAccount.md)
|
134
|
+
- [FuseClient::FinancialConnectionsInvestmentSecurity](docs/FinancialConnectionsInvestmentSecurity.md)
|
135
|
+
- [FuseClient::FinancialConnectionsInvestmentTransaction](docs/FinancialConnectionsInvestmentTransaction.md)
|
136
|
+
- [FuseClient::FinancialConnectionsInvestmentTransactionDataInner](docs/FinancialConnectionsInvestmentTransactionDataInner.md)
|
137
|
+
- [FuseClient::FinancialConnectionsOwner](docs/FinancialConnectionsOwner.md)
|
138
|
+
- [FuseClient::FinancialConnectionsOwnerAddressesInner](docs/FinancialConnectionsOwnerAddressesInner.md)
|
139
|
+
- [FuseClient::FinancialConnectionsOwnerAddressesInnerData](docs/FinancialConnectionsOwnerAddressesInnerData.md)
|
140
|
+
- [FuseClient::FinancialConnectionsOwnerEmailsInner](docs/FinancialConnectionsOwnerEmailsInner.md)
|
141
|
+
- [FuseClient::FinancialConnectionsOwnerNamesInner](docs/FinancialConnectionsOwnerNamesInner.md)
|
142
|
+
- [FuseClient::FinancialConnectionsOwnerPhoneNumbersInner](docs/FinancialConnectionsOwnerPhoneNumbersInner.md)
|
143
|
+
- [FuseClient::FuseApiError](docs/FuseApiError.md)
|
144
|
+
- [FuseClient::FuseApiErrorData](docs/FuseApiErrorData.md)
|
145
|
+
- [FuseClient::FuseApiWarning](docs/FuseApiWarning.md)
|
146
|
+
- [FuseClient::FuseApiWarningData](docs/FuseApiWarningData.md)
|
147
|
+
- [FuseClient::GetAssetReportRequest](docs/GetAssetReportRequest.md)
|
148
|
+
- [FuseClient::GetAssetReportResponse](docs/GetAssetReportResponse.md)
|
149
|
+
- [FuseClient::GetAssetReportResponseReport](docs/GetAssetReportResponseReport.md)
|
150
|
+
- [FuseClient::GetAssetReportResponseReportAccountsInner](docs/GetAssetReportResponseReportAccountsInner.md)
|
151
|
+
- [FuseClient::GetAssetReportResponseReportAccountsInnerBalances](docs/GetAssetReportResponseReportAccountsInnerBalances.md)
|
152
|
+
- [FuseClient::GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner](docs/GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner.md)
|
153
|
+
- [FuseClient::GetFinancialConnectionsAccountBalanceResponse](docs/GetFinancialConnectionsAccountBalanceResponse.md)
|
154
|
+
- [FuseClient::GetFinancialConnectionsAccountDetailsRequest](docs/GetFinancialConnectionsAccountDetailsRequest.md)
|
155
|
+
- [FuseClient::GetFinancialConnectionsAccountDetailsResponse](docs/GetFinancialConnectionsAccountDetailsResponse.md)
|
156
|
+
- [FuseClient::GetFinancialConnectionsAccountsRequest](docs/GetFinancialConnectionsAccountsRequest.md)
|
157
|
+
- [FuseClient::GetFinancialConnectionsAccountsResponse](docs/GetFinancialConnectionsAccountsResponse.md)
|
158
|
+
- [FuseClient::GetFinancialConnectionsBalanceRequest](docs/GetFinancialConnectionsBalanceRequest.md)
|
159
|
+
- [FuseClient::GetFinancialConnectionsOwnersRequest](docs/GetFinancialConnectionsOwnersRequest.md)
|
160
|
+
- [FuseClient::GetFinancialConnectionsOwnersResponse](docs/GetFinancialConnectionsOwnersResponse.md)
|
161
|
+
- [FuseClient::GetFinancialConnectionsOwnersResponseAccountsInner](docs/GetFinancialConnectionsOwnersResponseAccountsInner.md)
|
162
|
+
- [FuseClient::GetInvestmentHoldingsRequest](docs/GetInvestmentHoldingsRequest.md)
|
163
|
+
- [FuseClient::GetInvestmentHoldingsResponse](docs/GetInvestmentHoldingsResponse.md)
|
164
|
+
- [FuseClient::GetInvestmentTransactionsRequest](docs/GetInvestmentTransactionsRequest.md)
|
165
|
+
- [FuseClient::GetInvestmentTransactionsResponse](docs/GetInvestmentTransactionsResponse.md)
|
166
|
+
- [FuseClient::GetLiabilitiesRequest](docs/GetLiabilitiesRequest.md)
|
167
|
+
- [FuseClient::GetLiabilitiesResponse](docs/GetLiabilitiesResponse.md)
|
168
|
+
- [FuseClient::GetTransactionsRequest](docs/GetTransactionsRequest.md)
|
169
|
+
- [FuseClient::GetTransactionsResponse](docs/GetTransactionsResponse.md)
|
170
|
+
- [FuseClient::GetTransactionsResponseDataInner](docs/GetTransactionsResponseDataInner.md)
|
171
|
+
- [FuseClient::GetTransactionsResponseDataInnerMerchant](docs/GetTransactionsResponseDataInnerMerchant.md)
|
172
|
+
- [FuseClient::SyncFinancialConnectionsDataResponse](docs/SyncFinancialConnectionsDataResponse.md)
|
173
|
+
- [FuseClient::SyncTransactionsRequest](docs/SyncTransactionsRequest.md)
|
174
|
+
- [FuseClient::SyncTransactionsResponse](docs/SyncTransactionsResponse.md)
|
175
|
+
- [FuseClient::SyncTransactionsResponseRemovedInner](docs/SyncTransactionsResponseRemovedInner.md)
|
176
|
+
- [FuseClient::TransactionCommonModel](docs/TransactionCommonModel.md)
|
177
|
+
|
178
|
+
|
179
|
+
## Documentation for Authorization
|
180
|
+
|
181
|
+
|
182
|
+
### fuseApiKey
|
183
|
+
|
184
|
+
|
185
|
+
- **Type**: API key
|
186
|
+
- **API key parameter name**: Fuse-Api-Key
|
187
|
+
- **Location**: HTTP header
|
188
|
+
|
189
|
+
### fuseClientId
|
190
|
+
|
191
|
+
|
192
|
+
- **Type**: API key
|
193
|
+
- **API key parameter name**: Fuse-Client-Id
|
194
|
+
- **Location**: HTTP header
|
195
|
+
|
196
|
+
### mxApiKey
|
197
|
+
|
198
|
+
|
199
|
+
- **Type**: API key
|
200
|
+
- **API key parameter name**: Mx-Api-Key
|
201
|
+
- **Location**: HTTP header
|
202
|
+
|
203
|
+
### mxClientId
|
204
|
+
|
205
|
+
|
206
|
+
- **Type**: API key
|
207
|
+
- **API key parameter name**: Mx-Client-Id
|
208
|
+
- **Location**: HTTP header
|
209
|
+
|
210
|
+
### plaidClientId
|
211
|
+
|
212
|
+
|
213
|
+
- **Type**: API key
|
214
|
+
- **API key parameter name**: Plaid-Client-Id
|
215
|
+
- **Location**: HTTP header
|
216
|
+
|
217
|
+
### plaidSecret
|
218
|
+
|
219
|
+
|
220
|
+
- **Type**: API key
|
221
|
+
- **API key parameter name**: Plaid-Secret
|
222
|
+
- **Location**: HTTP header
|
223
|
+
|
224
|
+
### tellerApplicationId
|
225
|
+
|
226
|
+
|
227
|
+
- **Type**: API key
|
228
|
+
- **API key parameter name**: Teller-Application-Id
|
229
|
+
- **Location**: HTTP header
|
230
|
+
|
231
|
+
### tellerCertificate
|
232
|
+
|
233
|
+
|
234
|
+
- **Type**: API key
|
235
|
+
- **API key parameter name**: Teller-Certificate
|
236
|
+
- **Location**: HTTP header
|
237
|
+
|
238
|
+
### tellerPrivateKey
|
239
|
+
|
240
|
+
|
241
|
+
- **Type**: API key
|
242
|
+
- **API key parameter name**: Teller-Private-Key
|
243
|
+
- **Location**: HTTP header
|
244
|
+
|
245
|
+
### tellerSigningSecret
|
246
|
+
|
247
|
+
|
248
|
+
- **Type**: API key
|
249
|
+
- **API key parameter name**: Teller-Signing-Secret
|
250
|
+
- **Location**: HTTP header
|
251
|
+
|
252
|
+
### tellerTokenSigningKey
|
253
|
+
|
254
|
+
|
255
|
+
- **Type**: API key
|
256
|
+
- **API key parameter name**: Teller-Token-Signing-Key
|
257
|
+
- **Location**: HTTP header
|
258
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::CreateAssetReportRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_token** | **String** | Access token for the entity to create report for. | |
|
8
|
+
| **days_requested** | **Float** | The maximum integer number of days of history to include in the Asset Report | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::CreateAssetReportRequest.new(
|
16
|
+
access_token: null,
|
17
|
+
days_requested: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::CreateAssetReportResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
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
|
+
| **asset_report_id** | **String** | A unique ID identifying an Asset Report. | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::CreateAssetReportResponse.new(
|
16
|
+
asset_report_token: null,
|
17
|
+
asset_report_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **webhook_url** | **String** | The destination URL to which any webhooks should be sent. | [optional] |
|
8
|
+
| **user_id** | **String** | An id that is unique for a user of your application. | |
|
9
|
+
| **session_client_secret** | **String** | The session client secret created from the 'Create session client secret' endpoint | |
|
10
|
+
| **mx** | [**CreateLinkTokenRequestMx**](CreateLinkTokenRequestMx.md) | | [optional] |
|
11
|
+
| **plaid** | [**CreateLinkTokenRequestPlaid**](CreateLinkTokenRequestPlaid.md) | | [optional] |
|
12
|
+
| **institution_id** | **String** | | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'fuse_client'
|
18
|
+
|
19
|
+
instance = FuseClient::CreateLinkTokenRequest.new(
|
20
|
+
webhook_url: www.myserver.com/webhook,
|
21
|
+
user_id: null,
|
22
|
+
session_client_secret: null,
|
23
|
+
mx: null,
|
24
|
+
plaid: null,
|
25
|
+
institution_id: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestMx
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **config** | **Object** | Follows the same schema as MX's request a connect url(https://docs.mx.com/api#connect_request_a_url) schema. This is a stringified version of the config. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateLinkTokenRequestMx.new(
|
15
|
+
config: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestPlaid
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **config** | [**CreateLinkTokenRequestPlaidConfig**](CreateLinkTokenRequestPlaidConfig.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateLinkTokenRequestPlaid.new(
|
15
|
+
config: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestPlaidConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **client_name** | **String** | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateLinkTokenRequestPlaidConfig.new(
|
15
|
+
client_name: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **link_token** | **String** | Token needed by the frontend sdk to initiate the connection | [optional] |
|
8
|
+
| **request_id** | **String** | Used for debugging purposes | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::CreateLinkTokenResponse.new(
|
16
|
+
link_token: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::CreateSessionRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **supported_financial_institution_aggregators** | **Array<String>** | | [optional] |
|
8
|
+
| **mx** | [**CreateSessionRequestMx**](CreateSessionRequestMx.md) | | [optional] |
|
9
|
+
| **plaid** | [**CreateSessionRequestPlaid**](CreateSessionRequestPlaid.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::CreateSessionRequest.new(
|
17
|
+
supported_financial_institution_aggregators: null,
|
18
|
+
mx: null,
|
19
|
+
plaid: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FuseClient::CreateSessionRequestMx
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **supports_account_identification** | **Boolean** | | [optional] |
|
8
|
+
| **supports_account_statement** | **Boolean** | | [optional] |
|
9
|
+
| **supports_account_verification** | **Boolean** | | [optional] |
|
10
|
+
| **supports_transaction_history** | **Boolean** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'fuse_client'
|
16
|
+
|
17
|
+
instance = FuseClient::CreateSessionRequestMx.new(
|
18
|
+
supports_account_identification: null,
|
19
|
+
supports_account_statement: null,
|
20
|
+
supports_account_verification: null,
|
21
|
+
supports_transaction_history: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateSessionRequestPlaid
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **products** | **Array<String>** | For a comprehensive list of supported plaid products, see https://plaid.com/docs/api/tokens/#link-token-create-request-products | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateSessionRequestPlaid.new(
|
15
|
+
products: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::CreateSessionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **expiration** | **String** | 4 hours from the point of creation | [optional] |
|
8
|
+
| **client_secret** | **String** | Token needed by the frontend sdk to start the process | [optional] |
|
9
|
+
| **request_id** | **String** | Used for debugging purposes | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::CreateSessionResponse.new(
|
17
|
+
expiration: null,
|
18
|
+
client_secret: null,
|
19
|
+
request_id: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::ExchangeFinancialConnectionsPublicTokenRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **public_token** | **String** | The public token created after a user connects with their financial institution | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::ExchangeFinancialConnectionsPublicTokenRequest.new(
|
15
|
+
public_token: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::ExchangeFinancialConnectionsPublicTokenResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_token** | **String** | Token used for querying data on the user | [optional] |
|
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** | Used for debugging purposes | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::ExchangeFinancialConnectionsPublicTokenResponse.new(
|
17
|
+
access_token: null,
|
18
|
+
financial_connection_id: null,
|
19
|
+
request_id: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# FuseClient::FinancialConnectionsAccount
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | [optional] |
|
8
|
+
| **fingerprint** | **String** | Uniquely identifies this account across all accounts associated with your organization. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | [optional] |
|
9
|
+
| **institution** | [**FinancialConnectionsAccountInstitution**](FinancialConnectionsAccountInstitution.md) | | [optional] |
|
10
|
+
| **last_four** | **String** | The last four digits of the account number. | [optional] |
|
11
|
+
| **name** | **String** | The account's name, ie 'My Checking' | [optional] |
|
12
|
+
| **type** | **String** | The account's type e.g depository. | [optional] |
|
13
|
+
| **subtype** | **String** | The account's subtype | [optional] |
|
14
|
+
| **balance** | [**FinancialConnectionsAccountBalance**](FinancialConnectionsAccountBalance.md) | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'fuse_client'
|
20
|
+
|
21
|
+
instance = FuseClient::FinancialConnectionsAccount.new(
|
22
|
+
remote_id: null,
|
23
|
+
fingerprint: null,
|
24
|
+
institution: null,
|
25
|
+
last_four: null,
|
26
|
+
name: null,
|
27
|
+
type: null,
|
28
|
+
subtype: null,
|
29
|
+
balance: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FuseClient::FinancialConnectionsAccountBalance
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **available** | **String** | The amount of funds available to be withdrawn from the account, as determined by the financial institution Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by /financial_connections/balances. | [optional] |
|
8
|
+
| **current** | **Float** | Amount without factoring in pending balances | [optional] |
|
9
|
+
| **iso_currency_code** | **String** | The ISO-4217 currency code of the balance. | [optional] |
|
10
|
+
| **last_updated_date** | **String** | The date of the last update to the balance. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'fuse_client'
|
16
|
+
|
17
|
+
instance = FuseClient::FinancialConnectionsAccountBalance.new(
|
18
|
+
available: null,
|
19
|
+
current: null,
|
20
|
+
iso_currency_code: null,
|
21
|
+
last_updated_date: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::FinancialConnectionsAccountDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | [optional] |
|
8
|
+
| **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | | [optional] |
|
9
|
+
| **remote_data** | **Object** | The exact data from the aggregator (ie plaid) that we retrieved the information from | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::FinancialConnectionsAccountDetails.new(
|
17
|
+
remote_id: null,
|
18
|
+
ach: null,
|
19
|
+
remote_data: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FuseClient::FinancialConnectionsAccountDetailsAch
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account** | **String** | Account number | [optional] |
|
8
|
+
| **routing** | **String** | Routing number | [optional] |
|
9
|
+
| **wire_routing** | **String** | Wire routing number | [optional] |
|
10
|
+
| **bacs_routing** | **String** | BACS routing number | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'fuse_client'
|
16
|
+
|
17
|
+
instance = FuseClient::FinancialConnectionsAccountDetailsAch.new(
|
18
|
+
account: null,
|
19
|
+
routing: null,
|
20
|
+
wire_routing: null,
|
21
|
+
bacs_routing: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|