fuse_client 1.0.7 → 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 +9 -9
- data/README.md +4 -1
- data/docs/AccountSubType.md +15 -0
- data/docs/AccountType.md +15 -0
- 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/CountryCode.md +15 -0
- data/docs/CreateAssetReportRequest.md +2 -4
- data/docs/CreateAssetReportResponse.md +2 -2
- data/docs/CreateLinkTokenRequest.md +6 -4
- data/docs/CreateLinkTokenRequestPlaid.md +1 -1
- data/docs/CreateLinkTokenRequestTeller.md +18 -0
- data/docs/CreateLinkTokenRequestTellerConfig.md +18 -0
- data/docs/CreateLinkTokenResponse.md +2 -2
- data/docs/CreateSessionRequest.md +11 -3
- data/docs/CreateSessionResponse.md +3 -3
- data/docs/CreateSpendPowerCustomizationResponse.md +20 -0
- data/docs/CreateSpendPowerRequest.md +22 -0
- data/docs/CreateSpendPowerResponse.md +20 -0
- data/docs/Currency.md +20 -0
- data/docs/DeleteFinancialConnectionResponse.md +22 -0
- data/docs/DeleteSpendPowerResponse.md +20 -0
- data/docs/Entity.md +1 -1
- data/docs/ExchangeFinancialConnectionsPublicTokenRequest.md +1 -1
- data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +3 -3
- data/docs/FinancialConnectionData.md +2 -2
- data/docs/FinancialConnectionDetails.md +32 -0
- data/docs/FinancialConnectionDetailsMx.md +20 -0
- data/docs/FinancialConnectionDetailsPlaid.md +20 -0
- data/docs/FinancialConnectionDetailsTeller.md +20 -0
- data/docs/FinancialConnectionsAccount.md +8 -8
- data/docs/FinancialConnectionsAccountBalance.md +5 -3
- data/docs/FinancialConnectionsAccountCachedBalance.md +24 -0
- data/docs/FinancialConnectionsAccountDetails.md +2 -2
- data/docs/FinancialConnectionsAccountLiability.md +8 -8
- data/docs/FinancialConnectionsHolding.md +8 -8
- data/docs/FinancialConnectionsInvestmentSecurity.md +17 -7
- data/docs/FinancialConnectionsInvestmentSecurityExchange.md +18 -0
- data/docs/FinancialConnectionsInvestmentSecurityType.md +15 -0
- data/docs/FinancialConnectionsInvestmentTransaction.md +24 -2
- data/docs/FinancialConnectionsOwner.md +4 -4
- data/docs/FinancialConnectionsOwnerEmailsInner.md +1 -1
- data/docs/FinancialConnectionsOwnerNamesInner.md +1 -1
- data/docs/FinancialConnectionsOwnerPhoneNumbersInner.md +1 -1
- data/docs/FinancialInstitution.md +3 -1
- data/docs/FuseApi.md +588 -118
- data/docs/FuseApiAggregatorError.md +28 -0
- data/docs/FuseApiError.md +7 -5
- data/docs/FuseApiErrorCode.md +15 -0
- data/docs/FuseApiErrorData.md +2 -2
- data/docs/FuseApiErrorType.md +15 -0
- data/docs/FuseApiWarningData.md +1 -1
- data/docs/GetAssetReportRequest.md +2 -0
- data/docs/GetEntityResponse.md +4 -2
- data/docs/GetFinancialConnectionResponse.md +20 -0
- data/docs/GetFinancialConnectionsAccountDetailsResponse.md +3 -3
- data/docs/GetFinancialConnectionsAccountStatementRequest.md +22 -0
- data/docs/GetFinancialConnectionsAccountStatementResponse.md +20 -0
- data/docs/GetFinancialConnectionsAccountsResponse.md +3 -3
- data/docs/GetFinancialConnectionsBalanceRequest.md +3 -1
- data/docs/GetFinancialConnectionsBalanceRequestOptions.md +18 -0
- data/docs/{GetFinancialConnectionsAccountBalanceResponse.md → GetFinancialConnectionsBalanceResponse.md} +4 -4
- data/docs/GetFinancialConnectionsOwnersResponse.md +1 -1
- data/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +3 -3
- data/docs/GetFinancialConnectionsTransactionsRequest.md +26 -0
- data/docs/GetFinancialConnectionsTransactionsResponse.md +22 -0
- data/docs/GetFinancialInstitutionResponse.md +2 -2
- data/docs/GetInvestmentHoldingsRequest.md +3 -3
- data/docs/GetInvestmentHoldingsRequestOptions.md +18 -0
- data/docs/GetInvestmentHoldingsResponse.md +3 -5
- data/docs/GetInvestmentTransactionsRequest.md +11 -1
- data/docs/GetInvestmentTransactionsRequestOptions.md +18 -0
- data/docs/GetInvestmentTransactionsResponse.md +5 -5
- data/docs/GetSpendPowerResponse.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionData.md +22 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataMx.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataPlaid.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataTeller.md +18 -0
- data/docs/MigrateFinancialConnectionsTokenRequest.md +24 -0
- data/docs/MigrateFinancialConnectionsTokenRequestEntity.md +18 -0
- data/docs/MigrateFinancialConnectionsTokenResponse.md +24 -0
- 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/SyncTransactionsResponse.md +2 -2
- data/docs/Transaction.md +38 -0
- data/docs/{GetTransactionsResponseDataInnerMerchant.md → TransactionMerchant.md} +2 -2
- data/docs/UpdateSpendPowerCustomizationResponse.md +20 -0
- data/docs/WebhookEvent.md +34 -0
- data/docs/WebhookSource.md +15 -0
- data/docs/WebhookType.md +15 -0
- data/fuse_client.gemspec +1 -1
- data/lib/fuse_client/api/fuse_api.rb +489 -136
- 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 +86 -18
- data/lib/fuse_client/models/account_subtype.rb +178 -0
- data/lib/fuse_client/models/account_type.rb +46 -0
- data/lib/fuse_client/models/{get_transactions_response_data_inner.rb → add_spend_power_transaction_request.rb} +56 -83
- data/lib/fuse_client/models/{get_transactions_response.rb → add_spend_power_transaction_response.rb} +22 -33
- 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 +40 -0
- 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 -16
- 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 +11 -1
- data/lib/fuse_client/models/create_session_request.rb +75 -11
- data/lib/fuse_client/models/create_session_response.rb +16 -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 +235 -0
- data/lib/fuse_client/models/delete_financial_connection_response.rb +255 -0
- 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 +18 -3
- data/lib/fuse_client/models/financial_connection_data.rb +11 -1
- data/lib/fuse_client/models/financial_connection_details.rb +345 -0
- data/lib/fuse_client/models/financial_connection_details_mx.rb +241 -0
- data/lib/fuse_client/models/{get_transactions_request.rb → financial_connection_details_plaid.rb} +19 -23
- data/lib/fuse_client/models/financial_connection_details_teller.rb +241 -0
- data/lib/fuse_client/models/financial_connections_account.rb +59 -14
- data/lib/fuse_client/models/financial_connections_account_balance.rb +21 -6
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +250 -0
- data/lib/fuse_client/models/financial_connections_account_details.rb +11 -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 +59 -14
- 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 +52 -23
- data/lib/fuse_client/models/financial_connections_investment_security.rb +108 -24
- data/lib/fuse_client/models/financial_connections_investment_security_exchange.rb +220 -0
- data/lib/fuse_client/models/financial_connections_investment_security_type.rb +64 -0
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +206 -10
- data/lib/fuse_client/models/financial_connections_owner.rb +21 -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 +6 -1
- data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +6 -1
- data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +6 -1
- data/lib/fuse_client/models/financial_institution.rb +22 -5
- 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 -4
- data/lib/fuse_client/models/fuse_api_error_code.rb +76 -0
- data/lib/fuse_client/models/fuse_api_error_data.rb +25 -3
- 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 +24 -2
- 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 +29 -2
- data/lib/fuse_client/models/get_financial_connection_response.rb +239 -0
- 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 +16 -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 +16 -1
- data/lib/fuse_client/models/get_financial_connections_balance_request.rb +14 -5
- data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +222 -0
- data/lib/fuse_client/models/{get_financial_connections_account_balance_response.rb → get_financial_connections_balance_response.rb} +14 -4
- data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response.rb +6 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +16 -1
- data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +334 -0
- data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +256 -0
- data/lib/fuse_client/models/get_financial_institution_response.rb +11 -1
- data/lib/fuse_client/models/get_investment_holdings_request.rb +9 -10
- data/lib/fuse_client/models/get_investment_holdings_request_options.rb +222 -0
- data/lib/fuse_client/models/get_investment_holdings_response.rb +18 -14
- data/lib/fuse_client/models/get_investment_transactions_request.rb +95 -5
- data/lib/fuse_client/models/get_investment_transactions_request_options.rb +222 -0
- data/lib/fuse_client/models/get_investment_transactions_response.rb +25 -11
- 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 +238 -0
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx.rb +236 -0
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid.rb +236 -0
- 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 +323 -0
- data/lib/fuse_client/models/{transaction_common_model.rb → migrate_financial_connections_token_request_entity.rb} +12 -13
- data/lib/fuse_client/models/migrate_financial_connections_token_response.rb +264 -0
- 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/{financial_connections_investment_transaction_data_inner.rb → spend_power.rb} +83 -58
- data/lib/fuse_client/models/{financial_connections_investment_account.rb → spend_power_customization.rb} +75 -74
- 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 +3 -3
- data/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +1 -1
- data/lib/fuse_client/models/transaction.rb +412 -0
- data/lib/fuse_client/models/{get_transactions_response_data_inner_merchant.rb → transaction_merchant.rb} +4 -4
- 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 +353 -0
- data/lib/fuse_client/models/webhook_source.rb +43 -0
- data/lib/fuse_client/models/webhook_type.rb +43 -0
- data/lib/fuse_client/version.rb +2 -2
- data/lib/fuse_client.rb +57 -14
- data/spec/api/fuse_api_spec.rb +100 -36
- data/spec/api/spend_power_api_spec.rb +64 -0
- data/spec/api_client_spec.rb +3 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_subtype_spec.rb +28 -0
- data/spec/models/account_type_spec.rb +28 -0
- 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_transactions_response_spec.rb → asset_report_accounts_inner_spec.rb} +11 -11
- 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 +28 -0
- 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 +10 -4
- 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 +25 -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/{get_transactions_request_spec.rb → create_spend_power_request_spec.rb} +9 -9
- data/spec/models/create_spend_power_response_spec.rb +40 -0
- data/spec/models/{get_transactions_response_data_inner_merchant_spec.rb → currency_spec.rb} +13 -7
- data/spec/models/delete_financial_connection_response_spec.rb +46 -0
- 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 +40 -0
- data/spec/models/financial_connection_details_plaid_spec.rb +40 -0
- data/spec/models/{financial_connections_investment_transaction_data_inner_spec.rb → financial_connection_details_spec.rb} +18 -14
- data/spec/models/financial_connection_details_teller_spec.rb +40 -0
- data/spec/models/financial_connections_account_balance_spec.rb +7 -1
- data/spec/models/{get_asset_report_response_report_accounts_inner_spec.rb → financial_connections_account_cached_balance_spec.rb} +11 -11
- 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 +2 -2
- data/spec/models/financial_connections_account_spec.rb +2 -2
- data/spec/models/financial_connections_holding_spec.rb +4 -4
- data/spec/models/financial_connections_investment_security_exchange_spec.rb +34 -0
- data/spec/models/financial_connections_investment_security_spec.rb +34 -4
- data/spec/models/financial_connections_investment_security_type_spec.rb +28 -0
- data/spec/models/financial_connections_investment_transaction_spec.rb +72 -2
- 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 +7 -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 -1
- 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 +7 -1
- data/spec/models/get_financial_connection_response_spec.rb +40 -0
- 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_balance_response_spec.rb → get_financial_connections_account_statement_response_spec.rb} +8 -8
- 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 +34 -0
- data/spec/models/get_financial_connections_balance_request_spec.rb +7 -1
- data/spec/models/get_financial_connections_balance_response_spec.rb +40 -0
- 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 +58 -0
- data/spec/models/get_financial_connections_transactions_response_spec.rb +46 -0
- data/spec/models/get_financial_institution_response_spec.rb +1 -1
- data/spec/models/get_investment_holdings_request_options_spec.rb +34 -0
- data/spec/models/get_investment_holdings_request_spec.rb +2 -2
- data/spec/models/get_investment_holdings_response_spec.rb +1 -7
- data/spec/models/get_investment_transactions_request_options_spec.rb +34 -0
- data/spec/models/get_investment_transactions_request_spec.rb +31 -1
- data/spec/models/get_investment_transactions_response_spec.rb +2 -2
- 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 +40 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +40 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +46 -0
- 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 +34 -0
- data/spec/models/migrate_financial_connections_token_request_spec.rb +56 -0
- data/spec/models/migrate_financial_connections_token_response_spec.rb +52 -0
- 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/{financial_connections_investment_account_spec.rb → spend_power_spec.rb} +14 -20
- 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_common_model_spec.rb → transaction_merchant_spec.rb} +8 -8
- data/spec/models/transaction_spec.rb +106 -0
- 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/{get_transactions_response_data_inner_spec.rb → webhook_event_spec.rb} +20 -22
- data/spec/models/webhook_source_spec.rb +28 -0
- data/spec/models/webhook_type_spec.rb +28 -0
- data/spec/spec_helper.rb +1 -1
- metadata +226 -54
- data/docs/FinancialConnectionsInvestmentAccount.md +0 -32
- data/docs/FinancialConnectionsInvestmentTransactionDataInner.md +0 -32
- data/docs/GetAssetReportResponseReport.md +0 -28
- data/docs/GetAssetReportResponseReportAccountsInner.md +0 -24
- data/docs/GetTransactionsRequest.md +0 -22
- data/docs/GetTransactionsResponse.md +0 -24
- data/docs/GetTransactionsResponseDataInner.md +0 -36
- data/docs/TransactionCommonModel.md +0 -18
data/docs/FuseApi.md
CHANGED
@@ -4,14 +4,19 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**
|
8
|
-
| [**
|
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 | |
|
9
9
|
| [**create_link_token**](FuseApi.md#create_link_token) | **POST** /v1/link/token | |
|
10
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 | |
|
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 |
|
17
|
+
| [**get_financial_connection**](FuseApi.md#get_financial_connection) | **GET** /v1/financial_connections/{financial_connection_id} | Get financial connection details |
|
14
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 | |
|
15
20
|
| [**get_financial_connections_accounts**](FuseApi.md#get_financial_connections_accounts) | **POST** /v1/financial_connections/accounts | Get accounts |
|
16
21
|
| [**get_financial_connections_balances**](FuseApi.md#get_financial_connections_balances) | **POST** /v1/financial_connections/balances | Get balances |
|
17
22
|
| [**get_financial_connections_owners**](FuseApi.md#get_financial_connections_owners) | **POST** /v1/financial_connections/owners | Get account owners |
|
@@ -19,20 +24,19 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
19
24
|
| [**get_financial_institution**](FuseApi.md#get_financial_institution) | **GET** /v1/financial_connections/institutions/{institution_id} | Get a financial institution |
|
20
25
|
| [**get_investment_holdings**](FuseApi.md#get_investment_holdings) | **POST** /v1/financial_connections/investments/holdings | Get investment holdings |
|
21
26
|
| [**get_investment_transactions**](FuseApi.md#get_investment_transactions) | **POST** /v1/financial_connections/investments/transactions | Get investment transactions |
|
22
|
-
| [**
|
27
|
+
| [**get_spend_power**](FuseApi.md#get_spend_power) | **GET** /v1/financial_connections/spend-power/{spend_power_id} | |
|
28
|
+
| [**migrate_financial_connection**](FuseApi.md#migrate_financial_connection) | **POST** /v1/financial_connections/migrate | Migrate financial connection |
|
29
|
+
| [**refresh_asset_report**](FuseApi.md#refresh_asset_report) | **POST** /v1/financial_connections/asset_report/refresh | |
|
23
30
|
| [**sync_financial_connections_data**](FuseApi.md#sync_financial_connections_data) | **POST** /v1/financial_connections/sync | Sync financial connections data |
|
24
|
-
| [**
|
25
|
-
| [**update_entity**](FuseApi.md#update_entity) | **PUT** /v1/entities/{entity_id_to_update} | Update entity |
|
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
|
|
29
|
-
##
|
30
|
-
|
31
|
-
> <CreateAssetReportResponse> create_asset_report(opts)
|
35
|
+
## add_spend_power_transaction
|
32
36
|
|
37
|
+
> <AddSpendPowerTransactionResponse> add_spend_power_transaction(spend_power_id, opts)
|
33
38
|
|
34
39
|
|
35
|
-
Use this endpoint to generate an Asset Report for a user.
|
36
40
|
|
37
41
|
### Examples
|
38
42
|
|
@@ -53,34 +57,35 @@ FuseClient.configure do |config|
|
|
53
57
|
end
|
54
58
|
|
55
59
|
api_instance = FuseClient::FuseApi.new
|
60
|
+
spend_power_id = 'spend_power_id_example' # String |
|
56
61
|
opts = {
|
57
|
-
|
62
|
+
add_spend_power_transaction_request: FuseClient::AddSpendPowerTransactionRequest.new({id: 'id_example', status: 'pending'}) # AddSpendPowerTransactionRequest |
|
58
63
|
}
|
59
64
|
|
60
65
|
begin
|
61
66
|
|
62
|
-
result = api_instance.
|
67
|
+
result = api_instance.add_spend_power_transaction(spend_power_id, opts)
|
63
68
|
p result
|
64
69
|
rescue FuseClient::ApiError => e
|
65
|
-
puts "Error when calling FuseApi->
|
70
|
+
puts "Error when calling FuseApi->add_spend_power_transaction: #{e}"
|
66
71
|
end
|
67
72
|
```
|
68
73
|
|
69
|
-
#### Using the
|
74
|
+
#### Using the add_spend_power_transaction_with_http_info variant
|
70
75
|
|
71
76
|
This returns an Array which contains the response data, status code and headers.
|
72
77
|
|
73
|
-
> <Array(<
|
78
|
+
> <Array(<AddSpendPowerTransactionResponse>, Integer, Hash)> add_spend_power_transaction_with_http_info(spend_power_id, opts)
|
74
79
|
|
75
80
|
```ruby
|
76
81
|
begin
|
77
82
|
|
78
|
-
data, status_code, headers = api_instance.
|
83
|
+
data, status_code, headers = api_instance.add_spend_power_transaction_with_http_info(spend_power_id, opts)
|
79
84
|
p status_code # => 2xx
|
80
85
|
p headers # => { ... }
|
81
|
-
p data # => <
|
86
|
+
p data # => <AddSpendPowerTransactionResponse>
|
82
87
|
rescue FuseClient::ApiError => e
|
83
|
-
puts "Error when calling FuseApi->
|
88
|
+
puts "Error when calling FuseApi->add_spend_power_transaction_with_http_info: #{e}"
|
84
89
|
end
|
85
90
|
```
|
86
91
|
|
@@ -88,11 +93,12 @@ end
|
|
88
93
|
|
89
94
|
| Name | Type | Description | Notes |
|
90
95
|
| ---- | ---- | ----------- | ----- |
|
91
|
-
| **
|
96
|
+
| **spend_power_id** | **String** | | |
|
97
|
+
| **add_spend_power_transaction_request** | [**AddSpendPowerTransactionRequest**](AddSpendPowerTransactionRequest.md) | | [optional] |
|
92
98
|
|
93
99
|
### Return type
|
94
100
|
|
95
|
-
[**
|
101
|
+
[**AddSpendPowerTransactionResponse**](AddSpendPowerTransactionResponse.md)
|
96
102
|
|
97
103
|
### Authorization
|
98
104
|
|
@@ -104,11 +110,13 @@ end
|
|
104
110
|
- **Accept**: application/json
|
105
111
|
|
106
112
|
|
107
|
-
##
|
113
|
+
## create_asset_report
|
108
114
|
|
109
|
-
> <
|
115
|
+
> <CreateAssetReportResponse> create_asset_report(opts)
|
110
116
|
|
111
|
-
|
117
|
+
|
118
|
+
|
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.
|
112
120
|
|
113
121
|
### Examples
|
114
122
|
|
@@ -129,32 +137,34 @@ FuseClient.configure do |config|
|
|
129
137
|
end
|
130
138
|
|
131
139
|
api_instance = FuseClient::FuseApi.new
|
132
|
-
|
140
|
+
opts = {
|
141
|
+
create_asset_report_request: FuseClient::CreateAssetReportRequest.new({access_token: 'access_token_example', days_requested: 3.56}) # CreateAssetReportRequest |
|
142
|
+
}
|
133
143
|
|
134
144
|
begin
|
135
|
-
|
136
|
-
result = api_instance.
|
145
|
+
|
146
|
+
result = api_instance.create_asset_report(opts)
|
137
147
|
p result
|
138
148
|
rescue FuseClient::ApiError => e
|
139
|
-
puts "Error when calling FuseApi->
|
149
|
+
puts "Error when calling FuseApi->create_asset_report: #{e}"
|
140
150
|
end
|
141
151
|
```
|
142
152
|
|
143
|
-
#### Using the
|
153
|
+
#### Using the create_asset_report_with_http_info variant
|
144
154
|
|
145
155
|
This returns an Array which contains the response data, status code and headers.
|
146
156
|
|
147
|
-
> <Array(<
|
157
|
+
> <Array(<CreateAssetReportResponse>, Integer, Hash)> create_asset_report_with_http_info(opts)
|
148
158
|
|
149
159
|
```ruby
|
150
160
|
begin
|
151
|
-
|
152
|
-
data, status_code, headers = api_instance.
|
161
|
+
|
162
|
+
data, status_code, headers = api_instance.create_asset_report_with_http_info(opts)
|
153
163
|
p status_code # => 2xx
|
154
164
|
p headers # => { ... }
|
155
|
-
p data # => <
|
165
|
+
p data # => <CreateAssetReportResponse>
|
156
166
|
rescue FuseClient::ApiError => e
|
157
|
-
puts "Error when calling FuseApi->
|
167
|
+
puts "Error when calling FuseApi->create_asset_report_with_http_info: #{e}"
|
158
168
|
end
|
159
169
|
```
|
160
170
|
|
@@ -162,11 +172,11 @@ end
|
|
162
172
|
|
163
173
|
| Name | Type | Description | Notes |
|
164
174
|
| ---- | ---- | ----------- | ----- |
|
165
|
-
| **
|
175
|
+
| **create_asset_report_request** | [**CreateAssetReportRequest**](CreateAssetReportRequest.md) | | [optional] |
|
166
176
|
|
167
177
|
### Return type
|
168
178
|
|
169
|
-
[**
|
179
|
+
[**CreateAssetReportResponse**](CreateAssetReportResponse.md)
|
170
180
|
|
171
181
|
### Authorization
|
172
182
|
|
@@ -284,7 +294,7 @@ end
|
|
284
294
|
|
285
295
|
api_instance = FuseClient::FuseApi.new
|
286
296
|
opts = {
|
287
|
-
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 |
|
288
298
|
}
|
289
299
|
|
290
300
|
begin
|
@@ -334,6 +344,234 @@ end
|
|
334
344
|
- **Accept**: application/json
|
335
345
|
|
336
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
|
+
|
501
|
+
## delete_financial_connection
|
502
|
+
|
503
|
+
> <DeleteFinancialConnectionResponse> delete_financial_connection(financial_connection_id_to_delete)
|
504
|
+
|
505
|
+
Delete a financial connection
|
506
|
+
|
507
|
+
### Examples
|
508
|
+
|
509
|
+
```ruby
|
510
|
+
require 'time'
|
511
|
+
require 'fuse_client'
|
512
|
+
# setup authorization
|
513
|
+
FuseClient.configure do |config|
|
514
|
+
# Configure API key authorization: fuseApiKey
|
515
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
516
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
517
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
518
|
+
|
519
|
+
# Configure API key authorization: fuseClientId
|
520
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
521
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
522
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
523
|
+
end
|
524
|
+
|
525
|
+
api_instance = FuseClient::FuseApi.new
|
526
|
+
financial_connection_id_to_delete = 'financial_connection_id_to_delete_example' # String |
|
527
|
+
|
528
|
+
begin
|
529
|
+
# Delete a financial connection
|
530
|
+
result = api_instance.delete_financial_connection(financial_connection_id_to_delete)
|
531
|
+
p result
|
532
|
+
rescue FuseClient::ApiError => e
|
533
|
+
puts "Error when calling FuseApi->delete_financial_connection: #{e}"
|
534
|
+
end
|
535
|
+
```
|
536
|
+
|
537
|
+
#### Using the delete_financial_connection_with_http_info variant
|
538
|
+
|
539
|
+
This returns an Array which contains the response data, status code and headers.
|
540
|
+
|
541
|
+
> <Array(<DeleteFinancialConnectionResponse>, Integer, Hash)> delete_financial_connection_with_http_info(financial_connection_id_to_delete)
|
542
|
+
|
543
|
+
```ruby
|
544
|
+
begin
|
545
|
+
# Delete a financial connection
|
546
|
+
data, status_code, headers = api_instance.delete_financial_connection_with_http_info(financial_connection_id_to_delete)
|
547
|
+
p status_code # => 2xx
|
548
|
+
p headers # => { ... }
|
549
|
+
p data # => <DeleteFinancialConnectionResponse>
|
550
|
+
rescue FuseClient::ApiError => e
|
551
|
+
puts "Error when calling FuseApi->delete_financial_connection_with_http_info: #{e}"
|
552
|
+
end
|
553
|
+
```
|
554
|
+
|
555
|
+
### Parameters
|
556
|
+
|
557
|
+
| Name | Type | Description | Notes |
|
558
|
+
| ---- | ---- | ----------- | ----- |
|
559
|
+
| **financial_connection_id_to_delete** | **String** | | |
|
560
|
+
|
561
|
+
### Return type
|
562
|
+
|
563
|
+
[**DeleteFinancialConnectionResponse**](DeleteFinancialConnectionResponse.md)
|
564
|
+
|
565
|
+
### Authorization
|
566
|
+
|
567
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
568
|
+
|
569
|
+
### HTTP request headers
|
570
|
+
|
571
|
+
- **Content-Type**: Not defined
|
572
|
+
- **Accept**: application/json
|
573
|
+
|
574
|
+
|
337
575
|
## exchange_financial_connections_public_token
|
338
576
|
|
339
577
|
> <ExchangeFinancialConnectionsPublicTokenResponse> exchange_financial_connections_public_token(opts)
|
@@ -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
|
|
@@ -496,6 +734,8 @@ end
|
|
496
734
|
|
497
735
|
Get entity
|
498
736
|
|
737
|
+
An entity is automatically created after a successful connection. The id of the entity is what is set when calling the 'create session' endpoint
|
738
|
+
|
499
739
|
### Examples
|
500
740
|
|
501
741
|
```ruby
|
@@ -564,6 +804,80 @@ end
|
|
564
804
|
- **Accept**: application/json
|
565
805
|
|
566
806
|
|
807
|
+
## get_financial_connection
|
808
|
+
|
809
|
+
> <GetFinancialConnectionResponse> get_financial_connection(financial_connection_id)
|
810
|
+
|
811
|
+
Get financial connection details
|
812
|
+
|
813
|
+
### Examples
|
814
|
+
|
815
|
+
```ruby
|
816
|
+
require 'time'
|
817
|
+
require 'fuse_client'
|
818
|
+
# setup authorization
|
819
|
+
FuseClient.configure do |config|
|
820
|
+
# Configure API key authorization: fuseApiKey
|
821
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
822
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
823
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
824
|
+
|
825
|
+
# Configure API key authorization: fuseClientId
|
826
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
827
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
828
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
829
|
+
end
|
830
|
+
|
831
|
+
api_instance = FuseClient::FuseApi.new
|
832
|
+
financial_connection_id = 'financial_connection_id_example' # String |
|
833
|
+
|
834
|
+
begin
|
835
|
+
# Get financial connection details
|
836
|
+
result = api_instance.get_financial_connection(financial_connection_id)
|
837
|
+
p result
|
838
|
+
rescue FuseClient::ApiError => e
|
839
|
+
puts "Error when calling FuseApi->get_financial_connection: #{e}"
|
840
|
+
end
|
841
|
+
```
|
842
|
+
|
843
|
+
#### Using the get_financial_connection_with_http_info variant
|
844
|
+
|
845
|
+
This returns an Array which contains the response data, status code and headers.
|
846
|
+
|
847
|
+
> <Array(<GetFinancialConnectionResponse>, Integer, Hash)> get_financial_connection_with_http_info(financial_connection_id)
|
848
|
+
|
849
|
+
```ruby
|
850
|
+
begin
|
851
|
+
# Get financial connection details
|
852
|
+
data, status_code, headers = api_instance.get_financial_connection_with_http_info(financial_connection_id)
|
853
|
+
p status_code # => 2xx
|
854
|
+
p headers # => { ... }
|
855
|
+
p data # => <GetFinancialConnectionResponse>
|
856
|
+
rescue FuseClient::ApiError => e
|
857
|
+
puts "Error when calling FuseApi->get_financial_connection_with_http_info: #{e}"
|
858
|
+
end
|
859
|
+
```
|
860
|
+
|
861
|
+
### Parameters
|
862
|
+
|
863
|
+
| Name | Type | Description | Notes |
|
864
|
+
| ---- | ---- | ----------- | ----- |
|
865
|
+
| **financial_connection_id** | **String** | | |
|
866
|
+
|
867
|
+
### Return type
|
868
|
+
|
869
|
+
[**GetFinancialConnectionResponse**](GetFinancialConnectionResponse.md)
|
870
|
+
|
871
|
+
### Authorization
|
872
|
+
|
873
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
874
|
+
|
875
|
+
### HTTP request headers
|
876
|
+
|
877
|
+
- **Content-Type**: Not defined
|
878
|
+
- **Accept**: application/json
|
879
|
+
|
880
|
+
|
567
881
|
## get_financial_connections_account_details
|
568
882
|
|
569
883
|
> <GetFinancialConnectionsAccountDetailsResponse> get_financial_connections_account_details(get_financial_connections_account_details_request)
|
@@ -638,6 +952,84 @@ end
|
|
638
952
|
- **Accept**: application/json
|
639
953
|
|
640
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
|
+
|
641
1033
|
## get_financial_connections_accounts
|
642
1034
|
|
643
1035
|
> <GetFinancialConnectionsAccountsResponse> get_financial_connections_accounts(get_financial_connections_accounts_request)
|
@@ -714,7 +1106,7 @@ end
|
|
714
1106
|
|
715
1107
|
## get_financial_connections_balances
|
716
1108
|
|
717
|
-
> <
|
1109
|
+
> <GetFinancialConnectionsBalanceResponse> get_financial_connections_balances(get_financial_connections_balance_request)
|
718
1110
|
|
719
1111
|
Get balances
|
720
1112
|
|
@@ -752,7 +1144,7 @@ end
|
|
752
1144
|
|
753
1145
|
This returns an Array which contains the response data, status code and headers.
|
754
1146
|
|
755
|
-
> <Array(<
|
1147
|
+
> <Array(<GetFinancialConnectionsBalanceResponse>, Integer, Hash)> get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
|
756
1148
|
|
757
1149
|
```ruby
|
758
1150
|
begin
|
@@ -760,7 +1152,7 @@ begin
|
|
760
1152
|
data, status_code, headers = api_instance.get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
|
761
1153
|
p status_code # => 2xx
|
762
1154
|
p headers # => { ... }
|
763
|
-
p data # => <
|
1155
|
+
p data # => <GetFinancialConnectionsBalanceResponse>
|
764
1156
|
rescue FuseClient::ApiError => e
|
765
1157
|
puts "Error when calling FuseApi->get_financial_connections_balances_with_http_info: #{e}"
|
766
1158
|
end
|
@@ -774,7 +1166,7 @@ end
|
|
774
1166
|
|
775
1167
|
### Return type
|
776
1168
|
|
777
|
-
[**
|
1169
|
+
[**GetFinancialConnectionsBalanceResponse**](GetFinancialConnectionsBalanceResponse.md)
|
778
1170
|
|
779
1171
|
### Authorization
|
780
1172
|
|
@@ -862,7 +1254,7 @@ end
|
|
862
1254
|
|
863
1255
|
## get_financial_connections_transactions
|
864
1256
|
|
865
|
-
> <
|
1257
|
+
> <GetFinancialConnectionsTransactionsResponse> get_financial_connections_transactions(get_financial_connections_transactions_request)
|
866
1258
|
|
867
1259
|
Get transactions
|
868
1260
|
|
@@ -885,11 +1277,11 @@ FuseClient.configure do |config|
|
|
885
1277
|
end
|
886
1278
|
|
887
1279
|
api_instance = FuseClient::FuseApi.new
|
888
|
-
|
1280
|
+
get_financial_connections_transactions_request = FuseClient::GetFinancialConnectionsTransactionsRequest.new({access_token: 'access_token_example', start_date: 'start_date_example', end_date: 'end_date_example', page: 37, records_per_page: 37}) # GetFinancialConnectionsTransactionsRequest |
|
889
1281
|
|
890
1282
|
begin
|
891
1283
|
# Get transactions
|
892
|
-
result = api_instance.get_financial_connections_transactions(
|
1284
|
+
result = api_instance.get_financial_connections_transactions(get_financial_connections_transactions_request)
|
893
1285
|
p result
|
894
1286
|
rescue FuseClient::ApiError => e
|
895
1287
|
puts "Error when calling FuseApi->get_financial_connections_transactions: #{e}"
|
@@ -900,15 +1292,15 @@ end
|
|
900
1292
|
|
901
1293
|
This returns an Array which contains the response data, status code and headers.
|
902
1294
|
|
903
|
-
> <Array(<
|
1295
|
+
> <Array(<GetFinancialConnectionsTransactionsResponse>, Integer, Hash)> get_financial_connections_transactions_with_http_info(get_financial_connections_transactions_request)
|
904
1296
|
|
905
1297
|
```ruby
|
906
1298
|
begin
|
907
1299
|
# Get transactions
|
908
|
-
data, status_code, headers = api_instance.get_financial_connections_transactions_with_http_info(
|
1300
|
+
data, status_code, headers = api_instance.get_financial_connections_transactions_with_http_info(get_financial_connections_transactions_request)
|
909
1301
|
p status_code # => 2xx
|
910
1302
|
p headers # => { ... }
|
911
|
-
p data # => <
|
1303
|
+
p data # => <GetFinancialConnectionsTransactionsResponse>
|
912
1304
|
rescue FuseClient::ApiError => e
|
913
1305
|
puts "Error when calling FuseApi->get_financial_connections_transactions_with_http_info: #{e}"
|
914
1306
|
end
|
@@ -918,11 +1310,11 @@ end
|
|
918
1310
|
|
919
1311
|
| Name | Type | Description | Notes |
|
920
1312
|
| ---- | ---- | ----------- | ----- |
|
921
|
-
| **
|
1313
|
+
| **get_financial_connections_transactions_request** | [**GetFinancialConnectionsTransactionsRequest**](GetFinancialConnectionsTransactionsRequest.md) | | |
|
922
1314
|
|
923
1315
|
### Return type
|
924
1316
|
|
925
|
-
[**
|
1317
|
+
[**GetFinancialConnectionsTransactionsResponse**](GetFinancialConnectionsTransactionsResponse.md)
|
926
1318
|
|
927
1319
|
### Authorization
|
928
1320
|
|
@@ -1158,13 +1550,87 @@ end
|
|
1158
1550
|
- **Accept**: application/json
|
1159
1551
|
|
1160
1552
|
|
1161
|
-
##
|
1553
|
+
## get_spend_power
|
1554
|
+
|
1555
|
+
> <GetSpendPowerResponse> get_spend_power(spend_power_id)
|
1556
|
+
|
1557
|
+
|
1162
1558
|
|
1163
|
-
|
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
|
+
|
1627
|
+
## migrate_financial_connection
|
1164
1628
|
|
1629
|
+
> <MigrateFinancialConnectionsTokenResponse> migrate_financial_connection(opts)
|
1165
1630
|
|
1631
|
+
Migrate financial connection
|
1166
1632
|
|
1167
|
-
|
1633
|
+
This endpoint migrates financial connections from Plaid or MX into the unified Fuse API. It accepts a POST request with connection data, aggregator, entity, and Fuse products, and responds with a JSON payload containing the migrated connection's data, access token, ID, and request ID.
|
1168
1634
|
|
1169
1635
|
### Examples
|
1170
1636
|
|
@@ -1186,33 +1652,33 @@ end
|
|
1186
1652
|
|
1187
1653
|
api_instance = FuseClient::FuseApi.new
|
1188
1654
|
opts = {
|
1189
|
-
|
1655
|
+
migrate_financial_connections_token_request: FuseClient::MigrateFinancialConnectionsTokenRequest.new({connection_data: FuseClient::MigrateFinancialConnectionsAggregatorConnectionData.new, aggregator: 'plaid', entity: FuseClient::MigrateFinancialConnectionsTokenRequestEntity.new, fuse_products: [FuseClient::Product::ACCOUNT_DETAILS]}) # MigrateFinancialConnectionsTokenRequest |
|
1190
1656
|
}
|
1191
1657
|
|
1192
1658
|
begin
|
1193
|
-
|
1194
|
-
result = api_instance.
|
1659
|
+
# Migrate financial connection
|
1660
|
+
result = api_instance.migrate_financial_connection(opts)
|
1195
1661
|
p result
|
1196
1662
|
rescue FuseClient::ApiError => e
|
1197
|
-
puts "Error when calling FuseApi->
|
1663
|
+
puts "Error when calling FuseApi->migrate_financial_connection: #{e}"
|
1198
1664
|
end
|
1199
1665
|
```
|
1200
1666
|
|
1201
|
-
#### Using the
|
1667
|
+
#### Using the migrate_financial_connection_with_http_info variant
|
1202
1668
|
|
1203
1669
|
This returns an Array which contains the response data, status code and headers.
|
1204
1670
|
|
1205
|
-
> <Array(<
|
1671
|
+
> <Array(<MigrateFinancialConnectionsTokenResponse>, Integer, Hash)> migrate_financial_connection_with_http_info(opts)
|
1206
1672
|
|
1207
1673
|
```ruby
|
1208
1674
|
begin
|
1209
|
-
|
1210
|
-
data, status_code, headers = api_instance.
|
1675
|
+
# Migrate financial connection
|
1676
|
+
data, status_code, headers = api_instance.migrate_financial_connection_with_http_info(opts)
|
1211
1677
|
p status_code # => 2xx
|
1212
1678
|
p headers # => { ... }
|
1213
|
-
p data # => <
|
1679
|
+
p data # => <MigrateFinancialConnectionsTokenResponse>
|
1214
1680
|
rescue FuseClient::ApiError => e
|
1215
|
-
puts "Error when calling FuseApi->
|
1681
|
+
puts "Error when calling FuseApi->migrate_financial_connection_with_http_info: #{e}"
|
1216
1682
|
end
|
1217
1683
|
```
|
1218
1684
|
|
@@ -1220,11 +1686,11 @@ end
|
|
1220
1686
|
|
1221
1687
|
| Name | Type | Description | Notes |
|
1222
1688
|
| ---- | ---- | ----------- | ----- |
|
1223
|
-
| **
|
1689
|
+
| **migrate_financial_connections_token_request** | [**MigrateFinancialConnectionsTokenRequest**](MigrateFinancialConnectionsTokenRequest.md) | | [optional] |
|
1224
1690
|
|
1225
1691
|
### Return type
|
1226
1692
|
|
1227
|
-
[**
|
1693
|
+
[**MigrateFinancialConnectionsTokenResponse**](MigrateFinancialConnectionsTokenResponse.md)
|
1228
1694
|
|
1229
1695
|
### Authorization
|
1230
1696
|
|
@@ -1236,13 +1702,13 @@ end
|
|
1236
1702
|
- **Accept**: application/json
|
1237
1703
|
|
1238
1704
|
|
1239
|
-
##
|
1705
|
+
## refresh_asset_report
|
1706
|
+
|
1707
|
+
> <AssetReportResponse> refresh_asset_report(opts)
|
1240
1708
|
|
1241
|
-
> <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
|
1242
1709
|
|
1243
|
-
Sync financial connections data
|
1244
1710
|
|
1245
|
-
|
1711
|
+
Refreshes the Asset Report in JSON format. For Plaid, you will need to have the assets product enabled on your plaid account.
|
1246
1712
|
|
1247
1713
|
### Examples
|
1248
1714
|
|
@@ -1263,32 +1729,34 @@ FuseClient.configure do |config|
|
|
1263
1729
|
end
|
1264
1730
|
|
1265
1731
|
api_instance = FuseClient::FuseApi.new
|
1266
|
-
|
1732
|
+
opts = {
|
1733
|
+
refresh_asset_report_request: FuseClient::RefreshAssetReportRequest.new({access_token: 'access_token_example', asset_report_token: 'asset_report_token_example'}) # RefreshAssetReportRequest |
|
1734
|
+
}
|
1267
1735
|
|
1268
1736
|
begin
|
1269
|
-
|
1270
|
-
result = api_instance.
|
1737
|
+
|
1738
|
+
result = api_instance.refresh_asset_report(opts)
|
1271
1739
|
p result
|
1272
1740
|
rescue FuseClient::ApiError => e
|
1273
|
-
puts "Error when calling FuseApi->
|
1741
|
+
puts "Error when calling FuseApi->refresh_asset_report: #{e}"
|
1274
1742
|
end
|
1275
1743
|
```
|
1276
1744
|
|
1277
|
-
#### Using the
|
1745
|
+
#### Using the refresh_asset_report_with_http_info variant
|
1278
1746
|
|
1279
1747
|
This returns an Array which contains the response data, status code and headers.
|
1280
1748
|
|
1281
|
-
> <Array(<
|
1749
|
+
> <Array(<AssetReportResponse>, Integer, Hash)> refresh_asset_report_with_http_info(opts)
|
1282
1750
|
|
1283
1751
|
```ruby
|
1284
1752
|
begin
|
1285
|
-
|
1286
|
-
data, status_code, headers = api_instance.
|
1753
|
+
|
1754
|
+
data, status_code, headers = api_instance.refresh_asset_report_with_http_info(opts)
|
1287
1755
|
p status_code # => 2xx
|
1288
1756
|
p headers # => { ... }
|
1289
|
-
p data # => <
|
1757
|
+
p data # => <AssetReportResponse>
|
1290
1758
|
rescue FuseClient::ApiError => e
|
1291
|
-
puts "Error when calling FuseApi->
|
1759
|
+
puts "Error when calling FuseApi->refresh_asset_report_with_http_info: #{e}"
|
1292
1760
|
end
|
1293
1761
|
```
|
1294
1762
|
|
@@ -1296,11 +1764,11 @@ end
|
|
1296
1764
|
|
1297
1765
|
| Name | Type | Description | Notes |
|
1298
1766
|
| ---- | ---- | ----------- | ----- |
|
1299
|
-
| **
|
1767
|
+
| **refresh_asset_report_request** | [**RefreshAssetReportRequest**](RefreshAssetReportRequest.md) | | [optional] |
|
1300
1768
|
|
1301
1769
|
### Return type
|
1302
1770
|
|
1303
|
-
[**
|
1771
|
+
[**AssetReportResponse**](AssetReportResponse.md)
|
1304
1772
|
|
1305
1773
|
### Authorization
|
1306
1774
|
|
@@ -1312,11 +1780,13 @@ end
|
|
1312
1780
|
- **Accept**: application/json
|
1313
1781
|
|
1314
1782
|
|
1315
|
-
##
|
1783
|
+
## sync_financial_connections_data
|
1784
|
+
|
1785
|
+
> <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
|
1316
1786
|
|
1317
|
-
|
1787
|
+
Sync financial connections data
|
1318
1788
|
|
1319
|
-
|
1789
|
+
Call this endpoint upon receiving a financial_connection.sync_data webhook. This will keep the financial connections data up to date.
|
1320
1790
|
|
1321
1791
|
### Examples
|
1322
1792
|
|
@@ -1337,32 +1807,32 @@ FuseClient.configure do |config|
|
|
1337
1807
|
end
|
1338
1808
|
|
1339
1809
|
api_instance = FuseClient::FuseApi.new
|
1340
|
-
|
1810
|
+
body = { ... } # Object |
|
1341
1811
|
|
1342
1812
|
begin
|
1343
|
-
# Sync
|
1344
|
-
result = api_instance.
|
1813
|
+
# Sync financial connections data
|
1814
|
+
result = api_instance.sync_financial_connections_data(body)
|
1345
1815
|
p result
|
1346
1816
|
rescue FuseClient::ApiError => e
|
1347
|
-
puts "Error when calling FuseApi->
|
1817
|
+
puts "Error when calling FuseApi->sync_financial_connections_data: #{e}"
|
1348
1818
|
end
|
1349
1819
|
```
|
1350
1820
|
|
1351
|
-
#### Using the
|
1821
|
+
#### Using the sync_financial_connections_data_with_http_info variant
|
1352
1822
|
|
1353
1823
|
This returns an Array which contains the response data, status code and headers.
|
1354
1824
|
|
1355
|
-
> <Array(<
|
1825
|
+
> <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(body)
|
1356
1826
|
|
1357
1827
|
```ruby
|
1358
1828
|
begin
|
1359
|
-
# Sync
|
1360
|
-
data, status_code, headers = api_instance.
|
1829
|
+
# Sync financial connections data
|
1830
|
+
data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(body)
|
1361
1831
|
p status_code # => 2xx
|
1362
1832
|
p headers # => { ... }
|
1363
|
-
p data # => <
|
1833
|
+
p data # => <SyncFinancialConnectionsDataResponse>
|
1364
1834
|
rescue FuseClient::ApiError => e
|
1365
|
-
puts "Error when calling FuseApi->
|
1835
|
+
puts "Error when calling FuseApi->sync_financial_connections_data_with_http_info: #{e}"
|
1366
1836
|
end
|
1367
1837
|
```
|
1368
1838
|
|
@@ -1370,11 +1840,11 @@ end
|
|
1370
1840
|
|
1371
1841
|
| Name | Type | Description | Notes |
|
1372
1842
|
| ---- | ---- | ----------- | ----- |
|
1373
|
-
| **
|
1843
|
+
| **body** | **Object** | | |
|
1374
1844
|
|
1375
1845
|
### Return type
|
1376
1846
|
|
1377
|
-
[**
|
1847
|
+
[**SyncFinancialConnectionsDataResponse**](SyncFinancialConnectionsDataResponse.md)
|
1378
1848
|
|
1379
1849
|
### Authorization
|
1380
1850
|
|
@@ -1386,11 +1856,11 @@ end
|
|
1386
1856
|
- **Accept**: application/json
|
1387
1857
|
|
1388
1858
|
|
1389
|
-
##
|
1859
|
+
## update_spend_power_customization
|
1860
|
+
|
1861
|
+
> <UpdateSpendPowerCustomizationResponse> update_spend_power_customization(opts)
|
1390
1862
|
|
1391
|
-
> <UpdateEntityResponse> update_entity(entity_id_to_update, update_entity_request)
|
1392
1863
|
|
1393
|
-
Update entity
|
1394
1864
|
|
1395
1865
|
### Examples
|
1396
1866
|
|
@@ -1411,33 +1881,34 @@ FuseClient.configure do |config|
|
|
1411
1881
|
end
|
1412
1882
|
|
1413
1883
|
api_instance = FuseClient::FuseApi.new
|
1414
|
-
|
1415
|
-
|
1884
|
+
opts = {
|
1885
|
+
body: 3.56 # SpendPowerCustomization |
|
1886
|
+
}
|
1416
1887
|
|
1417
1888
|
begin
|
1418
|
-
|
1419
|
-
result = api_instance.
|
1889
|
+
|
1890
|
+
result = api_instance.update_spend_power_customization(opts)
|
1420
1891
|
p result
|
1421
1892
|
rescue FuseClient::ApiError => e
|
1422
|
-
puts "Error when calling FuseApi->
|
1893
|
+
puts "Error when calling FuseApi->update_spend_power_customization: #{e}"
|
1423
1894
|
end
|
1424
1895
|
```
|
1425
1896
|
|
1426
|
-
#### Using the
|
1897
|
+
#### Using the update_spend_power_customization_with_http_info variant
|
1427
1898
|
|
1428
1899
|
This returns an Array which contains the response data, status code and headers.
|
1429
1900
|
|
1430
|
-
> <Array(<
|
1901
|
+
> <Array(<UpdateSpendPowerCustomizationResponse>, Integer, Hash)> update_spend_power_customization_with_http_info(opts)
|
1431
1902
|
|
1432
1903
|
```ruby
|
1433
1904
|
begin
|
1434
|
-
|
1435
|
-
data, status_code, headers = api_instance.
|
1905
|
+
|
1906
|
+
data, status_code, headers = api_instance.update_spend_power_customization_with_http_info(opts)
|
1436
1907
|
p status_code # => 2xx
|
1437
1908
|
p headers # => { ... }
|
1438
|
-
p data # => <
|
1909
|
+
p data # => <UpdateSpendPowerCustomizationResponse>
|
1439
1910
|
rescue FuseClient::ApiError => e
|
1440
|
-
puts "Error when calling FuseApi->
|
1911
|
+
puts "Error when calling FuseApi->update_spend_power_customization_with_http_info: #{e}"
|
1441
1912
|
end
|
1442
1913
|
```
|
1443
1914
|
|
@@ -1445,12 +1916,11 @@ end
|
|
1445
1916
|
|
1446
1917
|
| Name | Type | Description | Notes |
|
1447
1918
|
| ---- | ---- | ----------- | ----- |
|
1448
|
-
| **
|
1449
|
-
| **update_entity_request** | [**UpdateEntityRequest**](UpdateEntityRequest.md) | | |
|
1919
|
+
| **body** | **SpendPowerCustomization** | | [optional] |
|
1450
1920
|
|
1451
1921
|
### Return type
|
1452
1922
|
|
1453
|
-
[**
|
1923
|
+
[**UpdateSpendPowerCustomizationResponse**](UpdateSpendPowerCustomizationResponse.md)
|
1454
1924
|
|
1455
1925
|
### Authorization
|
1456
1926
|
|