fuse_client 1.0.31 → 1.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -8
- data/README.md +4 -1
- data/docs/AddSpendPowerTransactionRequest.md +22 -0
- data/docs/AddSpendPowerTransactionResponse.md +20 -0
- data/docs/AssetReport.md +26 -0
- data/docs/AssetReportAccountsInner.md +24 -0
- data/docs/{GetAssetReportResponseReportAccountsInnerBalances.md → AssetReportAccountsInnerBalance.md} +2 -2
- data/docs/{GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner.md → AssetReportAccountsInnerHistoricalBalancesInner.md} +2 -2
- data/docs/{GetAssetReportResponse.md → AssetReportResponse.md} +3 -3
- data/docs/AssetReportTransaction.md +36 -0
- data/docs/CreateAssetReportRequest.md +2 -4
- data/docs/CreateAssetReportResponse.md +2 -2
- data/docs/CreateLinkTokenRequest.md +6 -2
- data/docs/CreateLinkTokenRequestPlaid.md +1 -1
- data/docs/CreateLinkTokenRequestTeller.md +18 -0
- data/docs/CreateLinkTokenRequestTellerConfig.md +18 -0
- data/docs/CreateSessionRequest.md +4 -4
- data/docs/CreateSpendPowerCustomizationResponse.md +20 -0
- data/docs/CreateSpendPowerRequest.md +22 -0
- data/docs/CreateSpendPowerResponse.md +20 -0
- data/docs/DeleteSpendPowerResponse.md +20 -0
- data/docs/Entity.md +1 -1
- data/docs/ExchangeFinancialConnectionsPublicTokenRequest.md +1 -1
- data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +2 -2
- data/docs/FinancialConnectionsAccountBalance.md +1 -1
- data/docs/FinancialConnectionsAccountCachedBalance.md +1 -1
- data/docs/FinancialConnectionsInvestmentSecurity.md +2 -2
- data/docs/FinancialConnectionsInvestmentSecurityType.md +15 -0
- data/docs/FinancialConnectionsInvestmentTransaction.md +2 -0
- data/docs/FuseApi.md +484 -18
- data/docs/FuseApiAggregatorError.md +28 -0
- data/docs/FuseApiError.md +7 -5
- data/docs/FuseApiErrorCode.md +15 -0
- data/docs/FuseApiErrorData.md +1 -1
- data/docs/FuseApiErrorType.md +15 -0
- data/docs/GetAssetReportRequest.md +2 -0
- data/docs/GetFinancialConnectionsAccountStatementRequest.md +22 -0
- data/docs/GetFinancialConnectionsAccountStatementResponse.md +20 -0
- data/docs/GetInvestmentTransactionsResponse.md +2 -0
- data/docs/GetSpendPowerResponse.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionData.md +3 -1
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataPlaid.md +3 -1
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataTeller.md +18 -0
- data/docs/MigrateFinancialConnectionsTokenRequest.md +1 -1
- data/docs/RefreshAssetReportRequest.md +5 -5
- data/docs/RefreshAssetReportResponse.md +22 -0
- data/docs/SpendPower.md +30 -0
- data/docs/SpendPowerApi.md +122 -0
- data/docs/SpendPowerCustomization.md +22 -0
- data/docs/Transaction.md +2 -2
- data/docs/UpdateSpendPowerCustomizationResponse.md +20 -0
- data/docs/WebhookEvent.md +6 -0
- data/fuse_client.gemspec +1 -1
- data/lib/fuse_client/api/fuse_api.rb +385 -16
- data/lib/fuse_client/api/spend_power_api.rb +146 -0
- data/lib/fuse_client/api_client.rb +1 -1
- data/lib/fuse_client/api_error.rb +1 -1
- data/lib/fuse_client/configuration.rb +51 -4
- data/lib/fuse_client/models/account_subtype.rb +1 -1
- data/lib/fuse_client/models/account_type.rb +3 -2
- data/lib/fuse_client/models/add_spend_power_transaction_request.rb +284 -0
- data/lib/fuse_client/models/add_spend_power_transaction_response.rb +240 -0
- data/lib/fuse_client/models/aggregator.rb +4 -2
- data/lib/fuse_client/models/{get_asset_report_response_report.rb → asset_report.rb} +15 -27
- data/lib/fuse_client/models/{get_asset_report_response_report_accounts_inner.rb → asset_report_accounts_inner.rb} +27 -26
- data/lib/fuse_client/models/{get_asset_report_response_report_accounts_inner_balances.rb → asset_report_accounts_inner_balance.rb} +4 -4
- data/lib/fuse_client/models/{get_asset_report_response_report_accounts_inner_historical_balances_inner.rb → asset_report_accounts_inner_historical_balances_inner.rb} +4 -4
- data/lib/fuse_client/models/{get_asset_report_response.rb → asset_report_response.rb} +5 -5
- data/lib/fuse_client/models/asset_report_transaction.rb +385 -0
- data/lib/fuse_client/models/country_code.rb +1 -1
- data/lib/fuse_client/models/create_asset_report_request.rb +11 -23
- data/lib/fuse_client/models/create_asset_report_response.rb +3 -3
- data/lib/fuse_client/models/create_entity_request.rb +1 -1
- data/lib/fuse_client/models/create_entity_response.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request.rb +25 -6
- data/lib/fuse_client/models/create_link_token_request_mx.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request_plaid.rb +2 -2
- data/lib/fuse_client/models/create_link_token_request_teller.rb +220 -0
- data/lib/fuse_client/models/create_link_token_request_teller_config.rb +254 -0
- data/lib/fuse_client/models/create_link_token_response.rb +1 -1
- data/lib/fuse_client/models/create_session_request.rb +31 -8
- data/lib/fuse_client/models/create_session_response.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_customization_response.rb +240 -0
- data/lib/fuse_client/models/create_spend_power_request.rb +255 -0
- data/lib/fuse_client/models/create_spend_power_response.rb +240 -0
- data/lib/fuse_client/models/currency.rb +1 -1
- data/lib/fuse_client/models/delete_financial_connection_response.rb +1 -1
- data/lib/fuse_client/models/delete_spend_power_response.rb +239 -0
- data/lib/fuse_client/models/entity.rb +2 -2
- data/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +6 -1
- data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +3 -3
- data/lib/fuse_client/models/financial_connection_data.rb +1 -1
- data/lib/fuse_client/models/financial_connection_details.rb +1 -1
- data/lib/fuse_client/models/financial_connection_details_mx.rb +1 -1
- data/lib/fuse_client/models/financial_connection_details_plaid.rb +1 -1
- data/lib/fuse_client/models/financial_connection_details_teller.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_balance.rb +2 -2
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +2 -2
- data/lib/fuse_client/models/financial_connections_account_details.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_details_ach.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_institution.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
- data/lib/fuse_client/models/financial_connections_holding.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_security.rb +24 -8
- data/lib/fuse_client/models/financial_connections_investment_security_exchange.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_security_type.rb +64 -0
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +50 -2
- data/lib/fuse_client/models/financial_connections_owner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +1 -1
- data/lib/fuse_client/models/financial_institution.rb +1 -1
- data/lib/fuse_client/models/financial_institution_logo.rb +1 -1
- data/lib/fuse_client/models/fuse_api_aggregator_error.rb +264 -0
- data/lib/fuse_client/models/fuse_api_error.rb +43 -28
- data/lib/fuse_client/models/fuse_api_error_code.rb +76 -0
- data/lib/fuse_client/models/fuse_api_error_data.rb +2 -2
- data/lib/fuse_client/models/fuse_api_error_type.rb +42 -0
- data/lib/fuse_client/models/fuse_api_warning.rb +1 -1
- data/lib/fuse_client/models/fuse_api_warning_data.rb +1 -1
- data/lib/fuse_client/models/fuse_api_warning_data_warnings_inner.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_request.rb +17 -2
- data/lib/fuse_client/models/get_entity_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connection_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_account_details_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_account_details_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_account_statement_request.rb +250 -0
- data/lib/fuse_client/models/get_financial_connections_account_statement_response.rb +240 -0
- data/lib/fuse_client/models/get_financial_connections_accounts_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_balance_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_balance_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_institution_response.rb +1 -1
- data/lib/fuse_client/models/get_investment_holdings_request.rb +1 -1
- data/lib/fuse_client/models/get_investment_holdings_request_options.rb +1 -1
- data/lib/fuse_client/models/get_investment_holdings_response.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_request.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_request_options.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_response.rb +12 -2
- data/lib/fuse_client/models/get_liabilities_request.rb +1 -1
- data/lib/fuse_client/models/get_liabilities_response.rb +1 -1
- data/lib/fuse_client/models/get_spend_power_response.rb +239 -0
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data.rb +14 -5
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx.rb +1 -1
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid.rb +15 -5
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_teller.rb +226 -0
- data/lib/fuse_client/models/migrate_financial_connections_token_request.rb +23 -4
- data/lib/fuse_client/models/migrate_financial_connections_token_request_entity.rb +1 -1
- data/lib/fuse_client/models/migrate_financial_connections_token_response.rb +1 -1
- data/lib/fuse_client/models/product.rb +3 -3
- data/lib/fuse_client/models/refresh_asset_report_request.rb +32 -33
- data/lib/fuse_client/models/refresh_asset_report_response.rb +240 -0
- data/lib/fuse_client/models/spend_power.rb +315 -0
- data/lib/fuse_client/models/spend_power_customization.rb +289 -0
- data/lib/fuse_client/models/sync_financial_connections_data_response.rb +1 -1
- data/lib/fuse_client/models/sync_transactions_request.rb +1 -1
- data/lib/fuse_client/models/sync_transactions_response.rb +1 -1
- data/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +1 -1
- data/lib/fuse_client/models/transaction.rb +15 -3
- data/lib/fuse_client/models/transaction_merchant.rb +1 -1
- data/lib/fuse_client/models/update_entity_request.rb +1 -1
- data/lib/fuse_client/models/update_entity_response.rb +1 -1
- data/lib/fuse_client/models/update_spend_power_customization_response.rb +240 -0
- data/lib/fuse_client/models/webhook_event.rb +34 -2
- data/lib/fuse_client/models/webhook_source.rb +1 -1
- data/lib/fuse_client/models/webhook_type.rb +4 -3
- data/lib/fuse_client/version.rb +2 -2
- data/lib/fuse_client.rb +28 -6
- data/spec/api/fuse_api_spec.rb +69 -6
- data/spec/api/spend_power_api_spec.rb +64 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_subtype_spec.rb +1 -1
- data/spec/models/account_type_spec.rb +1 -1
- data/spec/models/add_spend_power_transaction_request_spec.rb +50 -0
- data/spec/models/add_spend_power_transaction_response_spec.rb +40 -0
- data/spec/models/aggregator_spec.rb +1 -1
- data/spec/models/{get_asset_report_response_report_accounts_inner_balances_spec.rb → asset_report_accounts_inner_balance_spec.rb} +7 -7
- data/spec/models/{get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb → asset_report_accounts_inner_historical_balances_inner_spec.rb} +7 -7
- data/spec/models/{get_asset_report_response_report_accounts_inner_spec.rb → asset_report_accounts_inner_spec.rb} +10 -10
- data/spec/models/{get_asset_report_response_spec.rb → asset_report_response_spec.rb} +7 -7
- data/spec/models/{get_asset_report_response_report_spec.rb → asset_report_spec.rb} +8 -14
- data/spec/models/asset_report_transaction_spec.rb +96 -0
- data/spec/models/country_code_spec.rb +1 -1
- data/spec/models/create_asset_report_request_spec.rb +1 -7
- data/spec/models/create_asset_report_response_spec.rb +1 -1
- data/spec/models/create_entity_request_spec.rb +1 -1
- data/spec/models/create_entity_response_spec.rb +1 -1
- data/spec/models/create_link_token_request_mx_spec.rb +1 -1
- data/spec/models/create_link_token_request_plaid_spec.rb +1 -1
- data/spec/models/create_link_token_request_spec.rb +13 -1
- data/spec/models/create_link_token_request_teller_config_spec.rb +38 -0
- data/spec/models/create_link_token_request_teller_spec.rb +34 -0
- data/spec/models/create_link_token_response_spec.rb +1 -1
- data/spec/models/create_session_request_spec.rb +1 -1
- data/spec/models/create_session_response_spec.rb +1 -1
- data/spec/models/create_spend_power_customization_response_spec.rb +40 -0
- data/spec/models/create_spend_power_request_spec.rb +46 -0
- data/spec/models/create_spend_power_response_spec.rb +40 -0
- data/spec/models/currency_spec.rb +1 -1
- data/spec/models/delete_financial_connection_response_spec.rb +1 -1
- data/spec/models/delete_spend_power_response_spec.rb +40 -0
- data/spec/models/entity_spec.rb +1 -1
- data/spec/models/exchange_financial_connections_public_token_request_spec.rb +1 -1
- data/spec/models/exchange_financial_connections_public_token_response_spec.rb +1 -1
- data/spec/models/financial_connection_data_spec.rb +1 -1
- data/spec/models/financial_connection_details_mx_spec.rb +1 -1
- data/spec/models/financial_connection_details_plaid_spec.rb +1 -1
- data/spec/models/financial_connection_details_spec.rb +1 -1
- data/spec/models/financial_connection_details_teller_spec.rb +1 -1
- data/spec/models/financial_connections_account_balance_spec.rb +1 -1
- data/spec/models/financial_connections_account_cached_balance_spec.rb +1 -1
- data/spec/models/financial_connections_account_details_ach_spec.rb +1 -1
- data/spec/models/financial_connections_account_details_spec.rb +1 -1
- data/spec/models/financial_connections_account_institution_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_spec.rb +1 -1
- data/spec/models/financial_connections_account_spec.rb +1 -1
- data/spec/models/financial_connections_holding_spec.rb +1 -1
- data/spec/models/financial_connections_investment_security_exchange_spec.rb +1 -1
- data/spec/models/financial_connections_investment_security_spec.rb +1 -1
- data/spec/models/financial_connections_investment_security_type_spec.rb +28 -0
- data/spec/models/financial_connections_investment_transaction_spec.rb +11 -1
- data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +1 -1
- data/spec/models/financial_connections_owner_addresses_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_emails_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_names_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_spec.rb +1 -1
- data/spec/models/financial_institution_logo_spec.rb +1 -1
- data/spec/models/financial_institution_spec.rb +1 -1
- data/spec/models/fuse_api_aggregator_error_spec.rb +64 -0
- data/spec/models/fuse_api_error_code_spec.rb +28 -0
- data/spec/models/fuse_api_error_data_spec.rb +1 -1
- data/spec/models/fuse_api_error_spec.rb +7 -9
- data/spec/models/fuse_api_error_type_spec.rb +28 -0
- data/spec/models/fuse_api_warning_data_spec.rb +1 -1
- data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +1 -1
- data/spec/models/fuse_api_warning_spec.rb +1 -1
- data/spec/models/get_asset_report_request_spec.rb +7 -1
- data/spec/models/get_entity_response_spec.rb +1 -1
- data/spec/models/get_financial_connection_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_details_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_details_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_statement_request_spec.rb +46 -0
- data/spec/models/get_financial_connections_account_statement_response_spec.rb +40 -0
- data/spec/models/get_financial_connections_accounts_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_accounts_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_balance_request_options_spec.rb +1 -1
- data/spec/models/get_financial_connections_balance_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_balance_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_transactions_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_transactions_response_spec.rb +1 -1
- data/spec/models/get_financial_institution_response_spec.rb +1 -1
- data/spec/models/get_investment_holdings_request_options_spec.rb +1 -1
- data/spec/models/get_investment_holdings_request_spec.rb +1 -1
- data/spec/models/get_investment_holdings_response_spec.rb +1 -1
- data/spec/models/get_investment_transactions_request_options_spec.rb +1 -1
- data/spec/models/get_investment_transactions_request_spec.rb +1 -1
- data/spec/models/get_investment_transactions_response_spec.rb +7 -1
- data/spec/models/get_liabilities_request_spec.rb +1 -1
- data/spec/models/get_liabilities_response_spec.rb +1 -1
- data/spec/models/get_spend_power_response_spec.rb +40 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_mx_spec.rb +1 -1
- data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +7 -1
- data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +7 -1
- data/spec/models/migrate_financial_connections_aggregator_connection_data_teller_spec.rb +34 -0
- data/spec/models/migrate_financial_connections_token_request_entity_spec.rb +1 -1
- data/spec/models/migrate_financial_connections_token_request_spec.rb +2 -2
- data/spec/models/migrate_financial_connections_token_response_spec.rb +1 -1
- data/spec/models/product_spec.rb +1 -1
- data/spec/models/refresh_asset_report_request_spec.rb +3 -3
- data/spec/models/refresh_asset_report_response_spec.rb +46 -0
- data/spec/models/spend_power_customization_spec.rb +50 -0
- data/spec/models/spend_power_spec.rb +70 -0
- data/spec/models/sync_financial_connections_data_response_spec.rb +1 -1
- data/spec/models/sync_transactions_request_spec.rb +1 -1
- data/spec/models/sync_transactions_response_removed_inner_spec.rb +1 -1
- data/spec/models/sync_transactions_response_spec.rb +1 -1
- data/spec/models/transaction_merchant_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +9 -1
- data/spec/models/update_entity_request_spec.rb +1 -1
- data/spec/models/update_entity_response_spec.rb +1 -1
- data/spec/models/update_spend_power_customization_response_spec.rb +40 -0
- data/spec/models/webhook_event_spec.rb +19 -1
- data/spec/models/webhook_source_spec.rb +1 -1
- data/spec/models/webhook_type_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +110 -22
- data/docs/GetAssetReportResponseReport.md +0 -28
- data/docs/GetAssetReportResponseReportAccountsInner.md +0 -24
data/docs/FuseApi.md
CHANGED
@@ -4,15 +4,19 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**
|
7
|
+
| [**add_spend_power_transaction**](FuseApi.md#add_spend_power_transaction) | **POST** /v1/financial_connections/spend-power/{spend_power_id}/transaction | |
|
8
|
+
| [**create_asset_report**](FuseApi.md#create_asset_report) | **POST** /v1/financial_connections/asset_report/create | |
|
8
9
|
| [**create_link_token**](FuseApi.md#create_link_token) | **POST** /v1/link/token | |
|
9
10
|
| [**create_session**](FuseApi.md#create_session) | **POST** /v1/session | |
|
11
|
+
| [**create_spend_power**](FuseApi.md#create_spend_power) | **POST** /v1/financial_connections/spend-power | |
|
12
|
+
| [**create_spend_power_customization**](FuseApi.md#create_spend_power_customization) | **POST** /v1/financial_connections/spend-power/customization | |
|
10
13
|
| [**delete_financial_connection**](FuseApi.md#delete_financial_connection) | **DELETE** /v1/financial_connections/{financial_connection_id_to_delete} | Delete a financial connection |
|
11
14
|
| [**exchange_financial_connections_public_token**](FuseApi.md#exchange_financial_connections_public_token) | **POST** /v1/financial_connections/public_token/exchange | |
|
12
|
-
| [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/asset_report | |
|
15
|
+
| [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/financial_connections/asset_report | |
|
13
16
|
| [**get_entity**](FuseApi.md#get_entity) | **GET** /v1/entities/{entity_id} | Get entity |
|
14
17
|
| [**get_financial_connection**](FuseApi.md#get_financial_connection) | **GET** /v1/financial_connections/{financial_connection_id} | Get financial connection details |
|
15
18
|
| [**get_financial_connections_account_details**](FuseApi.md#get_financial_connections_account_details) | **POST** /v1/financial_connections/accounts/details | Get account details |
|
19
|
+
| [**get_financial_connections_account_statement**](FuseApi.md#get_financial_connections_account_statement) | **POST** /v1/financial_connections/accounts/statement | |
|
16
20
|
| [**get_financial_connections_accounts**](FuseApi.md#get_financial_connections_accounts) | **POST** /v1/financial_connections/accounts | Get accounts |
|
17
21
|
| [**get_financial_connections_balances**](FuseApi.md#get_financial_connections_balances) | **POST** /v1/financial_connections/balances | Get balances |
|
18
22
|
| [**get_financial_connections_owners**](FuseApi.md#get_financial_connections_owners) | **POST** /v1/financial_connections/owners | Get account owners |
|
@@ -20,19 +24,99 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
20
24
|
| [**get_financial_institution**](FuseApi.md#get_financial_institution) | **GET** /v1/financial_connections/institutions/{institution_id} | Get a financial institution |
|
21
25
|
| [**get_investment_holdings**](FuseApi.md#get_investment_holdings) | **POST** /v1/financial_connections/investments/holdings | Get investment holdings |
|
22
26
|
| [**get_investment_transactions**](FuseApi.md#get_investment_transactions) | **POST** /v1/financial_connections/investments/transactions | Get investment transactions |
|
27
|
+
| [**get_spend_power**](FuseApi.md#get_spend_power) | **GET** /v1/financial_connections/spend-power/{spend_power_id} | |
|
23
28
|
| [**migrate_financial_connection**](FuseApi.md#migrate_financial_connection) | **POST** /v1/financial_connections/migrate | Migrate financial connection |
|
24
|
-
| [**refresh_asset_report**](FuseApi.md#refresh_asset_report) | **POST** /v1/asset_report/refresh | |
|
29
|
+
| [**refresh_asset_report**](FuseApi.md#refresh_asset_report) | **POST** /v1/financial_connections/asset_report/refresh | |
|
25
30
|
| [**sync_financial_connections_data**](FuseApi.md#sync_financial_connections_data) | **POST** /v1/financial_connections/sync | Sync financial connections data |
|
31
|
+
| [**update_spend_power_customization**](FuseApi.md#update_spend_power_customization) | **POST** /v1/financial_connections/spend-power/customization/update | |
|
26
32
|
| [**v1_financial_connections_liabilities_post**](FuseApi.md#v1_financial_connections_liabilities_post) | **POST** /v1/financial_connections/liabilities | Get liabilities |
|
27
33
|
|
28
34
|
|
35
|
+
## add_spend_power_transaction
|
36
|
+
|
37
|
+
> <AddSpendPowerTransactionResponse> add_spend_power_transaction(spend_power_id, opts)
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
### Examples
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
require 'time'
|
45
|
+
require 'fuse_client'
|
46
|
+
# setup authorization
|
47
|
+
FuseClient.configure do |config|
|
48
|
+
# Configure API key authorization: fuseApiKey
|
49
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
50
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
51
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
52
|
+
|
53
|
+
# Configure API key authorization: fuseClientId
|
54
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
55
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
56
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
57
|
+
end
|
58
|
+
|
59
|
+
api_instance = FuseClient::FuseApi.new
|
60
|
+
spend_power_id = 'spend_power_id_example' # String |
|
61
|
+
opts = {
|
62
|
+
add_spend_power_transaction_request: FuseClient::AddSpendPowerTransactionRequest.new({id: 'id_example', status: 'pending'}) # AddSpendPowerTransactionRequest |
|
63
|
+
}
|
64
|
+
|
65
|
+
begin
|
66
|
+
|
67
|
+
result = api_instance.add_spend_power_transaction(spend_power_id, opts)
|
68
|
+
p result
|
69
|
+
rescue FuseClient::ApiError => e
|
70
|
+
puts "Error when calling FuseApi->add_spend_power_transaction: #{e}"
|
71
|
+
end
|
72
|
+
```
|
73
|
+
|
74
|
+
#### Using the add_spend_power_transaction_with_http_info variant
|
75
|
+
|
76
|
+
This returns an Array which contains the response data, status code and headers.
|
77
|
+
|
78
|
+
> <Array(<AddSpendPowerTransactionResponse>, Integer, Hash)> add_spend_power_transaction_with_http_info(spend_power_id, opts)
|
79
|
+
|
80
|
+
```ruby
|
81
|
+
begin
|
82
|
+
|
83
|
+
data, status_code, headers = api_instance.add_spend_power_transaction_with_http_info(spend_power_id, opts)
|
84
|
+
p status_code # => 2xx
|
85
|
+
p headers # => { ... }
|
86
|
+
p data # => <AddSpendPowerTransactionResponse>
|
87
|
+
rescue FuseClient::ApiError => e
|
88
|
+
puts "Error when calling FuseApi->add_spend_power_transaction_with_http_info: #{e}"
|
89
|
+
end
|
90
|
+
```
|
91
|
+
|
92
|
+
### Parameters
|
93
|
+
|
94
|
+
| Name | Type | Description | Notes |
|
95
|
+
| ---- | ---- | ----------- | ----- |
|
96
|
+
| **spend_power_id** | **String** | | |
|
97
|
+
| **add_spend_power_transaction_request** | [**AddSpendPowerTransactionRequest**](AddSpendPowerTransactionRequest.md) | | [optional] |
|
98
|
+
|
99
|
+
### Return type
|
100
|
+
|
101
|
+
[**AddSpendPowerTransactionResponse**](AddSpendPowerTransactionResponse.md)
|
102
|
+
|
103
|
+
### Authorization
|
104
|
+
|
105
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
106
|
+
|
107
|
+
### HTTP request headers
|
108
|
+
|
109
|
+
- **Content-Type**: application/json
|
110
|
+
- **Accept**: application/json
|
111
|
+
|
112
|
+
|
29
113
|
## create_asset_report
|
30
114
|
|
31
115
|
> <CreateAssetReportResponse> create_asset_report(opts)
|
32
116
|
|
33
117
|
|
34
118
|
|
35
|
-
Use this endpoint to generate an Asset Report for a user.
|
119
|
+
Use this endpoint to generate an Asset Report for a user. For Plaid, you will need to have the assets product enabled on your plaid account.
|
36
120
|
|
37
121
|
### Examples
|
38
122
|
|
@@ -210,7 +294,7 @@ end
|
|
210
294
|
|
211
295
|
api_instance = FuseClient::FuseApi.new
|
212
296
|
opts = {
|
213
|
-
create_session_request: FuseClient::CreateSessionRequest.new # CreateSessionRequest |
|
297
|
+
create_session_request: FuseClient::CreateSessionRequest.new({supported_financial_institution_aggregators: [FuseClient::Aggregator::PLAID], products: [FuseClient::Product::ACCOUNT_DETAILS], entity: FuseClient::Entity.new({id: 'id_example'})}) # CreateSessionRequest |
|
214
298
|
}
|
215
299
|
|
216
300
|
begin
|
@@ -260,6 +344,160 @@ end
|
|
260
344
|
- **Accept**: application/json
|
261
345
|
|
262
346
|
|
347
|
+
## create_spend_power
|
348
|
+
|
349
|
+
> <CreateSpendPowerResponse> create_spend_power(opts)
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
Starts the background process that will determine the spend power depending on the customization passed in.
|
354
|
+
|
355
|
+
### Examples
|
356
|
+
|
357
|
+
```ruby
|
358
|
+
require 'time'
|
359
|
+
require 'fuse_client'
|
360
|
+
# setup authorization
|
361
|
+
FuseClient.configure do |config|
|
362
|
+
# Configure API key authorization: fuseApiKey
|
363
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
364
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
365
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
366
|
+
|
367
|
+
# Configure API key authorization: fuseClientId
|
368
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
369
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
370
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
371
|
+
end
|
372
|
+
|
373
|
+
api_instance = FuseClient::FuseApi.new
|
374
|
+
opts = {
|
375
|
+
create_spend_power_request: FuseClient::CreateSpendPowerRequest.new({access_token: 'access_token_example', remote_account_id: 'remote_account_id_example', customization_id: 'customization_id_example'}) # CreateSpendPowerRequest |
|
376
|
+
}
|
377
|
+
|
378
|
+
begin
|
379
|
+
|
380
|
+
result = api_instance.create_spend_power(opts)
|
381
|
+
p result
|
382
|
+
rescue FuseClient::ApiError => e
|
383
|
+
puts "Error when calling FuseApi->create_spend_power: #{e}"
|
384
|
+
end
|
385
|
+
```
|
386
|
+
|
387
|
+
#### Using the create_spend_power_with_http_info variant
|
388
|
+
|
389
|
+
This returns an Array which contains the response data, status code and headers.
|
390
|
+
|
391
|
+
> <Array(<CreateSpendPowerResponse>, Integer, Hash)> create_spend_power_with_http_info(opts)
|
392
|
+
|
393
|
+
```ruby
|
394
|
+
begin
|
395
|
+
|
396
|
+
data, status_code, headers = api_instance.create_spend_power_with_http_info(opts)
|
397
|
+
p status_code # => 2xx
|
398
|
+
p headers # => { ... }
|
399
|
+
p data # => <CreateSpendPowerResponse>
|
400
|
+
rescue FuseClient::ApiError => e
|
401
|
+
puts "Error when calling FuseApi->create_spend_power_with_http_info: #{e}"
|
402
|
+
end
|
403
|
+
```
|
404
|
+
|
405
|
+
### Parameters
|
406
|
+
|
407
|
+
| Name | Type | Description | Notes |
|
408
|
+
| ---- | ---- | ----------- | ----- |
|
409
|
+
| **create_spend_power_request** | [**CreateSpendPowerRequest**](CreateSpendPowerRequest.md) | | [optional] |
|
410
|
+
|
411
|
+
### Return type
|
412
|
+
|
413
|
+
[**CreateSpendPowerResponse**](CreateSpendPowerResponse.md)
|
414
|
+
|
415
|
+
### Authorization
|
416
|
+
|
417
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
418
|
+
|
419
|
+
### HTTP request headers
|
420
|
+
|
421
|
+
- **Content-Type**: application/json
|
422
|
+
- **Accept**: application/json
|
423
|
+
|
424
|
+
|
425
|
+
## create_spend_power_customization
|
426
|
+
|
427
|
+
> <CreateSpendPowerCustomizationResponse> create_spend_power_customization(opts)
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
### Examples
|
432
|
+
|
433
|
+
```ruby
|
434
|
+
require 'time'
|
435
|
+
require 'fuse_client'
|
436
|
+
# setup authorization
|
437
|
+
FuseClient.configure do |config|
|
438
|
+
# Configure API key authorization: fuseApiKey
|
439
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
440
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
441
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
442
|
+
|
443
|
+
# Configure API key authorization: fuseClientId
|
444
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
445
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
446
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
447
|
+
end
|
448
|
+
|
449
|
+
api_instance = FuseClient::FuseApi.new
|
450
|
+
opts = {
|
451
|
+
body: 3.56 # SpendPowerCustomization |
|
452
|
+
}
|
453
|
+
|
454
|
+
begin
|
455
|
+
|
456
|
+
result = api_instance.create_spend_power_customization(opts)
|
457
|
+
p result
|
458
|
+
rescue FuseClient::ApiError => e
|
459
|
+
puts "Error when calling FuseApi->create_spend_power_customization: #{e}"
|
460
|
+
end
|
461
|
+
```
|
462
|
+
|
463
|
+
#### Using the create_spend_power_customization_with_http_info variant
|
464
|
+
|
465
|
+
This returns an Array which contains the response data, status code and headers.
|
466
|
+
|
467
|
+
> <Array(<CreateSpendPowerCustomizationResponse>, Integer, Hash)> create_spend_power_customization_with_http_info(opts)
|
468
|
+
|
469
|
+
```ruby
|
470
|
+
begin
|
471
|
+
|
472
|
+
data, status_code, headers = api_instance.create_spend_power_customization_with_http_info(opts)
|
473
|
+
p status_code # => 2xx
|
474
|
+
p headers # => { ... }
|
475
|
+
p data # => <CreateSpendPowerCustomizationResponse>
|
476
|
+
rescue FuseClient::ApiError => e
|
477
|
+
puts "Error when calling FuseApi->create_spend_power_customization_with_http_info: #{e}"
|
478
|
+
end
|
479
|
+
```
|
480
|
+
|
481
|
+
### Parameters
|
482
|
+
|
483
|
+
| Name | Type | Description | Notes |
|
484
|
+
| ---- | ---- | ----------- | ----- |
|
485
|
+
| **body** | **SpendPowerCustomization** | | [optional] |
|
486
|
+
|
487
|
+
### Return type
|
488
|
+
|
489
|
+
[**CreateSpendPowerCustomizationResponse**](CreateSpendPowerCustomizationResponse.md)
|
490
|
+
|
491
|
+
### Authorization
|
492
|
+
|
493
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
494
|
+
|
495
|
+
### HTTP request headers
|
496
|
+
|
497
|
+
- **Content-Type**: application/json
|
498
|
+
- **Accept**: application/json
|
499
|
+
|
500
|
+
|
263
501
|
## delete_financial_connection
|
264
502
|
|
265
503
|
> <DeleteFinancialConnectionResponse> delete_financial_connection(financial_connection_id_to_delete)
|
@@ -362,7 +600,7 @@ end
|
|
362
600
|
|
363
601
|
api_instance = FuseClient::FuseApi.new
|
364
602
|
opts = {
|
365
|
-
exchange_financial_connections_public_token_request: FuseClient::ExchangeFinancialConnectionsPublicTokenRequest.new # ExchangeFinancialConnectionsPublicTokenRequest |
|
603
|
+
exchange_financial_connections_public_token_request: FuseClient::ExchangeFinancialConnectionsPublicTokenRequest.new({public_token: 'public_token_example'}) # ExchangeFinancialConnectionsPublicTokenRequest |
|
366
604
|
}
|
367
605
|
|
368
606
|
begin
|
@@ -414,11 +652,11 @@ end
|
|
414
652
|
|
415
653
|
## get_asset_report
|
416
654
|
|
417
|
-
> <
|
655
|
+
> <RefreshAssetReportResponse> get_asset_report(opts)
|
418
656
|
|
419
657
|
|
420
658
|
|
421
|
-
Retrieves the Asset Report in JSON format.
|
659
|
+
Retrieves the Asset Report in JSON format. For Plaid, you will need to have the assets product enabled on your plaid account.
|
422
660
|
|
423
661
|
### Examples
|
424
662
|
|
@@ -440,7 +678,7 @@ end
|
|
440
678
|
|
441
679
|
api_instance = FuseClient::FuseApi.new
|
442
680
|
opts = {
|
443
|
-
get_asset_report_request: FuseClient::GetAssetReportRequest.new({asset_report_token: 'asset_report_token_example'}) # GetAssetReportRequest |
|
681
|
+
get_asset_report_request: FuseClient::GetAssetReportRequest.new({access_token: 'access_token_example', asset_report_token: 'asset_report_token_example'}) # GetAssetReportRequest |
|
444
682
|
}
|
445
683
|
|
446
684
|
begin
|
@@ -456,7 +694,7 @@ end
|
|
456
694
|
|
457
695
|
This returns an Array which contains the response data, status code and headers.
|
458
696
|
|
459
|
-
> <Array(<
|
697
|
+
> <Array(<RefreshAssetReportResponse>, Integer, Hash)> get_asset_report_with_http_info(opts)
|
460
698
|
|
461
699
|
```ruby
|
462
700
|
begin
|
@@ -464,7 +702,7 @@ begin
|
|
464
702
|
data, status_code, headers = api_instance.get_asset_report_with_http_info(opts)
|
465
703
|
p status_code # => 2xx
|
466
704
|
p headers # => { ... }
|
467
|
-
p data # => <
|
705
|
+
p data # => <RefreshAssetReportResponse>
|
468
706
|
rescue FuseClient::ApiError => e
|
469
707
|
puts "Error when calling FuseApi->get_asset_report_with_http_info: #{e}"
|
470
708
|
end
|
@@ -478,7 +716,7 @@ end
|
|
478
716
|
|
479
717
|
### Return type
|
480
718
|
|
481
|
-
[**
|
719
|
+
[**RefreshAssetReportResponse**](RefreshAssetReportResponse.md)
|
482
720
|
|
483
721
|
### Authorization
|
484
722
|
|
@@ -714,6 +952,84 @@ end
|
|
714
952
|
- **Accept**: application/json
|
715
953
|
|
716
954
|
|
955
|
+
## get_financial_connections_account_statement
|
956
|
+
|
957
|
+
> <GetFinancialConnectionsAccountStatementResponse> get_financial_connections_account_statement(opts)
|
958
|
+
|
959
|
+
|
960
|
+
|
961
|
+
Retrieves an account statement for the given financial connection, account and date. This endpoint may time out so we recommend using a retry mechanism with exponential backoff.
|
962
|
+
|
963
|
+
### Examples
|
964
|
+
|
965
|
+
```ruby
|
966
|
+
require 'time'
|
967
|
+
require 'fuse_client'
|
968
|
+
# setup authorization
|
969
|
+
FuseClient.configure do |config|
|
970
|
+
# Configure API key authorization: fuseApiKey
|
971
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
972
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
973
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
974
|
+
|
975
|
+
# Configure API key authorization: fuseClientId
|
976
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
977
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
978
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
979
|
+
end
|
980
|
+
|
981
|
+
api_instance = FuseClient::FuseApi.new
|
982
|
+
opts = {
|
983
|
+
get_financial_connections_account_statement_request: FuseClient::GetFinancialConnectionsAccountStatementRequest.new({access_token: 'access_token_example', remote_account_id: 'remote_account_id_example'}) # GetFinancialConnectionsAccountStatementRequest |
|
984
|
+
}
|
985
|
+
|
986
|
+
begin
|
987
|
+
|
988
|
+
result = api_instance.get_financial_connections_account_statement(opts)
|
989
|
+
p result
|
990
|
+
rescue FuseClient::ApiError => e
|
991
|
+
puts "Error when calling FuseApi->get_financial_connections_account_statement: #{e}"
|
992
|
+
end
|
993
|
+
```
|
994
|
+
|
995
|
+
#### Using the get_financial_connections_account_statement_with_http_info variant
|
996
|
+
|
997
|
+
This returns an Array which contains the response data, status code and headers.
|
998
|
+
|
999
|
+
> <Array(<GetFinancialConnectionsAccountStatementResponse>, Integer, Hash)> get_financial_connections_account_statement_with_http_info(opts)
|
1000
|
+
|
1001
|
+
```ruby
|
1002
|
+
begin
|
1003
|
+
|
1004
|
+
data, status_code, headers = api_instance.get_financial_connections_account_statement_with_http_info(opts)
|
1005
|
+
p status_code # => 2xx
|
1006
|
+
p headers # => { ... }
|
1007
|
+
p data # => <GetFinancialConnectionsAccountStatementResponse>
|
1008
|
+
rescue FuseClient::ApiError => e
|
1009
|
+
puts "Error when calling FuseApi->get_financial_connections_account_statement_with_http_info: #{e}"
|
1010
|
+
end
|
1011
|
+
```
|
1012
|
+
|
1013
|
+
### Parameters
|
1014
|
+
|
1015
|
+
| Name | Type | Description | Notes |
|
1016
|
+
| ---- | ---- | ----------- | ----- |
|
1017
|
+
| **get_financial_connections_account_statement_request** | [**GetFinancialConnectionsAccountStatementRequest**](GetFinancialConnectionsAccountStatementRequest.md) | | [optional] |
|
1018
|
+
|
1019
|
+
### Return type
|
1020
|
+
|
1021
|
+
[**GetFinancialConnectionsAccountStatementResponse**](GetFinancialConnectionsAccountStatementResponse.md)
|
1022
|
+
|
1023
|
+
### Authorization
|
1024
|
+
|
1025
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1026
|
+
|
1027
|
+
### HTTP request headers
|
1028
|
+
|
1029
|
+
- **Content-Type**: application/json
|
1030
|
+
- **Accept**: application/json
|
1031
|
+
|
1032
|
+
|
717
1033
|
## get_financial_connections_accounts
|
718
1034
|
|
719
1035
|
> <GetFinancialConnectionsAccountsResponse> get_financial_connections_accounts(get_financial_connections_accounts_request)
|
@@ -1234,6 +1550,80 @@ end
|
|
1234
1550
|
- **Accept**: application/json
|
1235
1551
|
|
1236
1552
|
|
1553
|
+
## get_spend_power
|
1554
|
+
|
1555
|
+
> <GetSpendPowerResponse> get_spend_power(spend_power_id)
|
1556
|
+
|
1557
|
+
|
1558
|
+
|
1559
|
+
### Examples
|
1560
|
+
|
1561
|
+
```ruby
|
1562
|
+
require 'time'
|
1563
|
+
require 'fuse_client'
|
1564
|
+
# setup authorization
|
1565
|
+
FuseClient.configure do |config|
|
1566
|
+
# Configure API key authorization: fuseApiKey
|
1567
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
1568
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1569
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
1570
|
+
|
1571
|
+
# Configure API key authorization: fuseClientId
|
1572
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
1573
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1574
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
api_instance = FuseClient::FuseApi.new
|
1578
|
+
spend_power_id = 'spend_power_id_example' # String |
|
1579
|
+
|
1580
|
+
begin
|
1581
|
+
|
1582
|
+
result = api_instance.get_spend_power(spend_power_id)
|
1583
|
+
p result
|
1584
|
+
rescue FuseClient::ApiError => e
|
1585
|
+
puts "Error when calling FuseApi->get_spend_power: #{e}"
|
1586
|
+
end
|
1587
|
+
```
|
1588
|
+
|
1589
|
+
#### Using the get_spend_power_with_http_info variant
|
1590
|
+
|
1591
|
+
This returns an Array which contains the response data, status code and headers.
|
1592
|
+
|
1593
|
+
> <Array(<GetSpendPowerResponse>, Integer, Hash)> get_spend_power_with_http_info(spend_power_id)
|
1594
|
+
|
1595
|
+
```ruby
|
1596
|
+
begin
|
1597
|
+
|
1598
|
+
data, status_code, headers = api_instance.get_spend_power_with_http_info(spend_power_id)
|
1599
|
+
p status_code # => 2xx
|
1600
|
+
p headers # => { ... }
|
1601
|
+
p data # => <GetSpendPowerResponse>
|
1602
|
+
rescue FuseClient::ApiError => e
|
1603
|
+
puts "Error when calling FuseApi->get_spend_power_with_http_info: #{e}"
|
1604
|
+
end
|
1605
|
+
```
|
1606
|
+
|
1607
|
+
### Parameters
|
1608
|
+
|
1609
|
+
| Name | Type | Description | Notes |
|
1610
|
+
| ---- | ---- | ----------- | ----- |
|
1611
|
+
| **spend_power_id** | **String** | | |
|
1612
|
+
|
1613
|
+
### Return type
|
1614
|
+
|
1615
|
+
[**GetSpendPowerResponse**](GetSpendPowerResponse.md)
|
1616
|
+
|
1617
|
+
### Authorization
|
1618
|
+
|
1619
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1620
|
+
|
1621
|
+
### HTTP request headers
|
1622
|
+
|
1623
|
+
- **Content-Type**: Not defined
|
1624
|
+
- **Accept**: application/json
|
1625
|
+
|
1626
|
+
|
1237
1627
|
## migrate_financial_connection
|
1238
1628
|
|
1239
1629
|
> <MigrateFinancialConnectionsTokenResponse> migrate_financial_connection(opts)
|
@@ -1314,11 +1704,11 @@ end
|
|
1314
1704
|
|
1315
1705
|
## refresh_asset_report
|
1316
1706
|
|
1317
|
-
> <
|
1707
|
+
> <AssetReportResponse> refresh_asset_report(opts)
|
1318
1708
|
|
1319
1709
|
|
1320
1710
|
|
1321
|
-
Refreshes the Asset Report in JSON format.
|
1711
|
+
Refreshes the Asset Report in JSON format. For Plaid, you will need to have the assets product enabled on your plaid account.
|
1322
1712
|
|
1323
1713
|
### Examples
|
1324
1714
|
|
@@ -1340,7 +1730,7 @@ end
|
|
1340
1730
|
|
1341
1731
|
api_instance = FuseClient::FuseApi.new
|
1342
1732
|
opts = {
|
1343
|
-
refresh_asset_report_request: FuseClient::RefreshAssetReportRequest.new({
|
1733
|
+
refresh_asset_report_request: FuseClient::RefreshAssetReportRequest.new({access_token: 'access_token_example', asset_report_token: 'asset_report_token_example'}) # RefreshAssetReportRequest |
|
1344
1734
|
}
|
1345
1735
|
|
1346
1736
|
begin
|
@@ -1356,7 +1746,7 @@ end
|
|
1356
1746
|
|
1357
1747
|
This returns an Array which contains the response data, status code and headers.
|
1358
1748
|
|
1359
|
-
> <Array(<
|
1749
|
+
> <Array(<AssetReportResponse>, Integer, Hash)> refresh_asset_report_with_http_info(opts)
|
1360
1750
|
|
1361
1751
|
```ruby
|
1362
1752
|
begin
|
@@ -1364,7 +1754,7 @@ begin
|
|
1364
1754
|
data, status_code, headers = api_instance.refresh_asset_report_with_http_info(opts)
|
1365
1755
|
p status_code # => 2xx
|
1366
1756
|
p headers # => { ... }
|
1367
|
-
p data # => <
|
1757
|
+
p data # => <AssetReportResponse>
|
1368
1758
|
rescue FuseClient::ApiError => e
|
1369
1759
|
puts "Error when calling FuseApi->refresh_asset_report_with_http_info: #{e}"
|
1370
1760
|
end
|
@@ -1378,7 +1768,7 @@ end
|
|
1378
1768
|
|
1379
1769
|
### Return type
|
1380
1770
|
|
1381
|
-
[**
|
1771
|
+
[**AssetReportResponse**](AssetReportResponse.md)
|
1382
1772
|
|
1383
1773
|
### Authorization
|
1384
1774
|
|
@@ -1466,6 +1856,82 @@ end
|
|
1466
1856
|
- **Accept**: application/json
|
1467
1857
|
|
1468
1858
|
|
1859
|
+
## update_spend_power_customization
|
1860
|
+
|
1861
|
+
> <UpdateSpendPowerCustomizationResponse> update_spend_power_customization(opts)
|
1862
|
+
|
1863
|
+
|
1864
|
+
|
1865
|
+
### Examples
|
1866
|
+
|
1867
|
+
```ruby
|
1868
|
+
require 'time'
|
1869
|
+
require 'fuse_client'
|
1870
|
+
# setup authorization
|
1871
|
+
FuseClient.configure do |config|
|
1872
|
+
# Configure API key authorization: fuseApiKey
|
1873
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
1874
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1875
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
1876
|
+
|
1877
|
+
# Configure API key authorization: fuseClientId
|
1878
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
1879
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1880
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
api_instance = FuseClient::FuseApi.new
|
1884
|
+
opts = {
|
1885
|
+
body: 3.56 # SpendPowerCustomization |
|
1886
|
+
}
|
1887
|
+
|
1888
|
+
begin
|
1889
|
+
|
1890
|
+
result = api_instance.update_spend_power_customization(opts)
|
1891
|
+
p result
|
1892
|
+
rescue FuseClient::ApiError => e
|
1893
|
+
puts "Error when calling FuseApi->update_spend_power_customization: #{e}"
|
1894
|
+
end
|
1895
|
+
```
|
1896
|
+
|
1897
|
+
#### Using the update_spend_power_customization_with_http_info variant
|
1898
|
+
|
1899
|
+
This returns an Array which contains the response data, status code and headers.
|
1900
|
+
|
1901
|
+
> <Array(<UpdateSpendPowerCustomizationResponse>, Integer, Hash)> update_spend_power_customization_with_http_info(opts)
|
1902
|
+
|
1903
|
+
```ruby
|
1904
|
+
begin
|
1905
|
+
|
1906
|
+
data, status_code, headers = api_instance.update_spend_power_customization_with_http_info(opts)
|
1907
|
+
p status_code # => 2xx
|
1908
|
+
p headers # => { ... }
|
1909
|
+
p data # => <UpdateSpendPowerCustomizationResponse>
|
1910
|
+
rescue FuseClient::ApiError => e
|
1911
|
+
puts "Error when calling FuseApi->update_spend_power_customization_with_http_info: #{e}"
|
1912
|
+
end
|
1913
|
+
```
|
1914
|
+
|
1915
|
+
### Parameters
|
1916
|
+
|
1917
|
+
| Name | Type | Description | Notes |
|
1918
|
+
| ---- | ---- | ----------- | ----- |
|
1919
|
+
| **body** | **SpendPowerCustomization** | | [optional] |
|
1920
|
+
|
1921
|
+
### Return type
|
1922
|
+
|
1923
|
+
[**UpdateSpendPowerCustomizationResponse**](UpdateSpendPowerCustomizationResponse.md)
|
1924
|
+
|
1925
|
+
### Authorization
|
1926
|
+
|
1927
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1928
|
+
|
1929
|
+
### HTTP request headers
|
1930
|
+
|
1931
|
+
- **Content-Type**: application/json
|
1932
|
+
- **Accept**: application/json
|
1933
|
+
|
1934
|
+
|
1469
1935
|
## v1_financial_connections_liabilities_post
|
1470
1936
|
|
1471
1937
|
> <GetLiabilitiesResponse> v1_financial_connections_liabilities_post(get_liabilities_request)
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# FuseClient::FuseApiAggregatorError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **request_id** | **String** | | [optional] |
|
8
|
+
| **title** | **String** | | [optional] |
|
9
|
+
| **details** | **String** | | [optional] |
|
10
|
+
| **code** | **String** | | [optional] |
|
11
|
+
| **type** | **String** | | [optional] |
|
12
|
+
| **path** | **String** | | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'fuse_client'
|
18
|
+
|
19
|
+
instance = FuseClient::FuseApiAggregatorError.new(
|
20
|
+
request_id: null,
|
21
|
+
title: null,
|
22
|
+
details: null,
|
23
|
+
code: null,
|
24
|
+
type: null,
|
25
|
+
path: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
data/docs/FuseApiError.md
CHANGED
@@ -4,11 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
10
|
-
| **
|
11
|
-
| **
|
7
|
+
| **request_id** | **String** | | |
|
8
|
+
| **title** | **String** | | |
|
9
|
+
| **details** | **String** | | |
|
10
|
+
| **code** | [**FuseApiErrorCode**](FuseApiErrorCode.md) | | |
|
11
|
+
| **type** | [**FuseApiErrorType**](FuseApiErrorType.md) | | |
|
12
|
+
| **source** | **String** | | |
|
12
13
|
| **data** | [**FuseApiErrorData**](FuseApiErrorData.md) | | [optional] |
|
13
14
|
|
14
15
|
## Example
|
@@ -17,6 +18,7 @@
|
|
17
18
|
require 'fuse_client'
|
18
19
|
|
19
20
|
instance = FuseClient::FuseApiError.new(
|
21
|
+
request_id: null,
|
20
22
|
title: null,
|
21
23
|
details: null,
|
22
24
|
code: null,
|