fuse_client 1.0.31 → 1.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -9
- data/README.md +10 -2
- data/docs/AddAccountEventsRequest.md +18 -0
- data/docs/AddAccountEventsRequestEventsInner.md +51 -0
- data/docs/AddAccountEventsResponse.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 +5 -5
- data/docs/CreateSpendPowerCustomizationRequest.md +22 -0
- 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/EnrichTransactionsRequest.md +18 -0
- data/docs/EnrichTransactionsResponse.md +18 -0
- data/docs/EnrichedTransaction.md +46 -0
- data/docs/EnrichedTransactionLogo.md +18 -0
- data/docs/Entity.md +1 -1
- data/docs/EvalSpendPowerRequest.md +22 -0
- data/docs/EvalSpendPowerRequestEventsInner.md +20 -0
- data/docs/EvalSpendPowerResponse.md +20 -0
- data/docs/ExchangeFinancialConnectionsPublicTokenRequest.md +1 -1
- data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +2 -2
- data/docs/ExternalTransactionEvent.md +36 -0
- data/docs/ExternalTransactionEventStatus.md +15 -0
- data/docs/FinancialConnectionsAccountBalance.md +2 -2
- data/docs/FinancialConnectionsAccountCachedBalance.md +2 -2
- data/docs/FinancialConnectionsHolding.md +3 -3
- data/docs/FinancialConnectionsInvestmentSecurity.md +2 -2
- data/docs/FinancialConnectionsInvestmentSecurityType.md +15 -0
- data/docs/FinancialConnectionsInvestmentTransaction.md +7 -3
- data/docs/FinancialConnectionsInvestmentTransactionSubtype.md +15 -0
- data/docs/FuseApi.md +643 -19
- 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/GetFinanceScoreResponse.md +20 -0
- data/docs/GetFinancialConnectionsAccountStatementRequest.md +22 -0
- data/docs/GetFinancialConnectionsAccountStatementResponse.md +20 -0
- data/docs/GetInvestmentTransactionsRequest.md +4 -4
- data/docs/GetInvestmentTransactionsResponse.md +2 -0
- data/docs/GetSpendPowerCustomizationResponse.md +20 -0
- data/docs/GetSpendPowerResponse.md +20 -0
- data/docs/InAppTransactionEvent.md +34 -0
- data/docs/InAppTransactionEventStatus.md +15 -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 +165 -0
- data/docs/SpendPowerCustomization.md +24 -0
- data/docs/SpendPowerTimeFrame.md +15 -0
- data/docs/Transaction.md +2 -2
- data/docs/TransactionCategory.md +20 -0
- data/docs/TransactionCategoryDetailed.md +15 -0
- data/docs/TransactionCategoryPrimary.md +15 -0
- data/docs/TransactionEventType.md +15 -0
- data/docs/TransactionToEnrich.md +26 -0
- data/docs/UpdateSpendPowerCustomizationRequest.md +22 -0
- data/docs/UpdateSpendPowerCustomizationResponse.md +20 -0
- data/docs/UpdatedBalanceEvent.md +26 -0
- data/docs/WebhookEvent.md +6 -0
- data/fuse_client.gemspec +1 -1
- data/lib/fuse_client/api/fuse_api.rb +530 -16
- data/lib/fuse_client/api/spend_power_api.rb +172 -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_account_events_request.rb +254 -0
- data/lib/fuse_client/models/add_account_events_request_events_inner.rb +106 -0
- data/lib/fuse_client/models/add_account_events_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 +3 -2
- 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 +32 -9
- data/lib/fuse_client/models/create_session_response.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_customization_request.rb +314 -0
- 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 +240 -0
- data/lib/fuse_client/models/enrich_transactions_request.rb +226 -0
- data/lib/fuse_client/models/enrich_transactions_response.rb +222 -0
- data/lib/fuse_client/models/enriched_transaction.rb +397 -0
- data/lib/fuse_client/models/enriched_transaction_logo.rb +220 -0
- data/lib/fuse_client/models/entity.rb +2 -2
- data/lib/fuse_client/models/eval_spend_power_request.rb +296 -0
- data/lib/fuse_client/models/eval_spend_power_request_events_inner.rb +239 -0
- data/lib/fuse_client/models/eval_spend_power_response.rb +230 -0
- 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/external_transaction_event.rb +384 -0
- data/lib/fuse_client/models/external_transaction_event_status.rb +40 -0
- 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 +3 -3
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +3 -3
- 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 +4 -4
- data/lib/fuse_client/models/financial_connections_investment_security.rb +25 -9
- 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 +62 -5
- data/lib/fuse_client/models/financial_connections_investment_transaction_subtype.rb +87 -0
- 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 +78 -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_finance_score_response.rb +240 -0
- 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 +38 -10
- 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_customization_response.rb +239 -0
- data/lib/fuse_client/models/get_spend_power_response.rb +239 -0
- data/lib/fuse_client/models/in_app_transaction_event.rb +364 -0
- data/lib/fuse_client/models/in_app_transaction_event_status.rb +41 -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 +329 -0
- data/lib/fuse_client/models/spend_power_time_frame.rb +41 -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_category.rb +260 -0
- data/lib/fuse_client/models/transaction_category_detailed.rb +135 -0
- data/lib/fuse_client/models/transaction_category_primary.rb +59 -0
- data/lib/fuse_client/models/transaction_event_type.rb +65 -0
- data/lib/fuse_client/models/transaction_merchant.rb +1 -1
- data/lib/fuse_client/models/transaction_to_enrich.rb +304 -0
- 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_request.rb +291 -0
- data/lib/fuse_client/models/update_spend_power_customization_response.rb +240 -0
- data/lib/fuse_client/models/updated_balance_event.rb +308 -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 +52 -6
- data/spec/api/fuse_api_spec.rb +95 -6
- data/spec/api/spend_power_api_spec.rb +61 -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_account_events_request_events_inner_spec.rb +31 -0
- data/spec/models/add_account_events_request_spec.rb +34 -0
- data/spec/models/add_account_events_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_request_spec.rb +46 -0
- 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/enrich_transactions_request_spec.rb +34 -0
- data/spec/models/enrich_transactions_response_spec.rb +34 -0
- data/spec/models/enriched_transaction_logo_spec.rb +34 -0
- data/spec/models/enriched_transaction_spec.rb +122 -0
- data/spec/models/entity_spec.rb +1 -1
- data/spec/models/eval_spend_power_request_events_inner_spec.rb +40 -0
- data/spec/models/eval_spend_power_request_spec.rb +46 -0
- data/spec/models/eval_spend_power_response_spec.rb +40 -0
- 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/external_transaction_event_spec.rb +92 -0
- data/spec/models/external_transaction_event_status_spec.rb +28 -0
- 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 +17 -1
- data/spec/models/financial_connections_investment_transaction_subtype_spec.rb +28 -0
- 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_finance_score_response_spec.rb +40 -0
- 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_customization_response_spec.rb +40 -0
- data/spec/models/get_spend_power_response_spec.rb +40 -0
- data/spec/models/in_app_transaction_event_spec.rb +86 -0
- data/spec/models/in_app_transaction_event_status_spec.rb +28 -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 +52 -0
- data/spec/models/spend_power_spec.rb +70 -0
- data/spec/models/spend_power_time_frame_spec.rb +28 -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_category_detailed_spec.rb +28 -0
- data/spec/models/transaction_category_primary_spec.rb +28 -0
- data/spec/models/transaction_category_spec.rb +40 -0
- data/spec/models/transaction_event_type_spec.rb +28 -0
- data/spec/models/transaction_merchant_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +9 -1
- data/spec/models/transaction_to_enrich_spec.rb +62 -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_request_spec.rb +46 -0
- data/spec/models/update_spend_power_customization_response_spec.rb +40 -0
- data/spec/models/updated_balance_event_spec.rb +62 -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 +206 -22
- data/docs/GetAssetReportResponseReport.md +0 -28
- data/docs/GetAssetReportResponseReportAccountsInner.md +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13808acb1caccaa1752875f52264434903b405cfb922cc63d6885dc58cb8ccac
|
4
|
+
data.tar.gz: 54255f1b24ecdaa6c097fd31cf941f002de6707857bb9bce01444f378a4d55c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 946aeeab6dceb80a9c4fd8799f69e57dcdd2b7236575119a4fa59f85b3d3ee4558f52d2649cd75361447edf5a6c5b661262d5ef8638583f2cb7961440f85c8fd
|
7
|
+
data.tar.gz: 3e17a21eb9a97b79fd50abde6bdc1f2a0c16a2692e2b6f4ff876fc2783c16287e395033e0a17ed6df3e428ba2bab9658f53e95fac837fc132aca65c699f7ec88
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fuse_client (1.0.
|
4
|
+
fuse_client (1.0.34)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -14,10 +14,10 @@ GEM
|
|
14
14
|
ethon (0.16.0)
|
15
15
|
ffi (>= 1.15.0)
|
16
16
|
ffi (1.15.5)
|
17
|
-
jaro_winkler (1.5.
|
17
|
+
jaro_winkler (1.5.5)
|
18
18
|
method_source (1.0.0)
|
19
|
-
parallel (1.
|
20
|
-
parser (3.2.2.
|
19
|
+
parallel (1.23.0)
|
20
|
+
parser (3.2.2.1)
|
21
21
|
ast (~> 2.4.1)
|
22
22
|
pry (0.14.2)
|
23
23
|
coderay (~> 1.1)
|
@@ -33,9 +33,9 @@ GEM
|
|
33
33
|
rspec-core (~> 3.12.0)
|
34
34
|
rspec-expectations (~> 3.12.0)
|
35
35
|
rspec-mocks (~> 3.12.0)
|
36
|
-
rspec-core (3.12.
|
36
|
+
rspec-core (3.12.2)
|
37
37
|
rspec-support (~> 3.12.0)
|
38
|
-
rspec-expectations (3.12.
|
38
|
+
rspec-expectations (3.12.3)
|
39
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
40
|
rspec-support (~> 3.12.0)
|
41
41
|
rspec-mocks (3.12.5)
|
@@ -51,13 +51,12 @@ GEM
|
|
51
51
|
ruby-progressbar (~> 1.7)
|
52
52
|
unicode-display_width (>= 1.4.0, < 1.6)
|
53
53
|
ruby-progressbar (1.13.0)
|
54
|
-
stringio (3.0.
|
54
|
+
stringio (3.0.6)
|
55
55
|
typhoeus (1.4.0)
|
56
56
|
ethon (>= 0.9.0)
|
57
57
|
unicode-display_width (1.5.0)
|
58
58
|
|
59
59
|
PLATFORMS
|
60
|
-
arm64-darwin-21
|
61
60
|
x86_64-darwin-21
|
62
61
|
|
63
62
|
DEPENDENCIES
|
@@ -68,4 +67,4 @@ DEPENDENCIES
|
|
68
67
|
rubocop (~> 0.66.0)
|
69
68
|
|
70
69
|
BUNDLED WITH
|
71
|
-
2.4.
|
70
|
+
2.4.12
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
### Add to gem file
|
4
4
|
|
5
5
|
```ruby
|
6
|
-
gem 'fuse_client', "~> 1.0.
|
6
|
+
gem 'fuse_client', "~> 1.0.33"
|
7
7
|
```
|
8
8
|
|
9
9
|
### Setup fuse client
|
@@ -39,6 +39,9 @@ class FuseService
|
|
39
39
|
opts = {
|
40
40
|
create_session_request: FuseClient::CreateSessionRequest.new(
|
41
41
|
supported_financial_institution_aggregators: %w[plaid teller mx],
|
42
|
+
entity: {
|
43
|
+
id: 'my entity id'
|
44
|
+
},
|
42
45
|
products: ['account_details']
|
43
46
|
)
|
44
47
|
}
|
@@ -79,4 +82,9 @@ class FuseService
|
|
79
82
|
end
|
80
83
|
|
81
84
|
end
|
82
|
-
```
|
85
|
+
```
|
86
|
+
|
87
|
+
### Pushing to gems
|
88
|
+
```
|
89
|
+
gem build fuse_client.gemspec
|
90
|
+
```
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::AddAccountEventsRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **events** | [**Array<AddAccountEventsRequestEventsInner>**](AddAccountEventsRequestEventsInner.md) | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::AddAccountEventsRequest.new(
|
15
|
+
events: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# FuseClient::AddAccountEventsRequestEventsInner
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
FuseClient::AddAccountEventsRequestEventsInner.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'ExternalTransactionEvent',
|
18
|
+
# :'InAppTransactionEvent',
|
19
|
+
# :'UpdatedBalanceEvent'
|
20
|
+
# ]
|
21
|
+
```
|
22
|
+
|
23
|
+
### build
|
24
|
+
|
25
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
26
|
+
|
27
|
+
#### Example
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'fuse_client'
|
31
|
+
|
32
|
+
FuseClient::AddAccountEventsRequestEventsInner.build(data)
|
33
|
+
# => #<ExternalTransactionEvent:0x00007fdd4aab02a0>
|
34
|
+
|
35
|
+
FuseClient::AddAccountEventsRequestEventsInner.build(data_that_doesnt_match)
|
36
|
+
# => nil
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Parameters
|
40
|
+
|
41
|
+
| Name | Type | Description |
|
42
|
+
| ---- | ---- | ----------- |
|
43
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
44
|
+
|
45
|
+
#### Return type
|
46
|
+
|
47
|
+
- `ExternalTransactionEvent`
|
48
|
+
- `InAppTransactionEvent`
|
49
|
+
- `UpdatedBalanceEvent`
|
50
|
+
- `nil` (if no type matches)
|
51
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::AddAccountEventsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **message** | **String** | Response message | |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::AddAccountEventsResponse.new(
|
16
|
+
message: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/AssetReport.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# FuseClient::AssetReport
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **asset_report_id** | **String** | A unique ID identifying an Asset Report. | [optional] |
|
8
|
+
| **asset_report_token** | **String** | A token that can be provided to endpoints such as /asset_report/get or /asset_report/pdf/get to fetch or update an Asset Report. | [optional] |
|
9
|
+
| **date_generated** | **String** | The date and time when the Asset Report was created, in ISO 8601 format | [optional] |
|
10
|
+
| **days_requested** | **Integer** | The duration of transaction history you requested | [optional] |
|
11
|
+
| **accounts** | [**Array<AssetReportAccountsInner>**](AssetReportAccountsInner.md) | An array of Asset Reports, one for each account in the Asset Report. | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'fuse_client'
|
17
|
+
|
18
|
+
instance = FuseClient::AssetReport.new(
|
19
|
+
asset_report_id: null,
|
20
|
+
asset_report_token: null,
|
21
|
+
date_generated: null,
|
22
|
+
days_requested: null,
|
23
|
+
accounts: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FuseClient::AssetReportAccountsInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | The remote account ID of the account. | [optional] |
|
8
|
+
| **balance** | [**AssetReportAccountsInnerBalance**](AssetReportAccountsInnerBalance.md) | | [optional] |
|
9
|
+
| **historical_balances** | [**Array<AssetReportAccountsInnerHistoricalBalancesInner>**](AssetReportAccountsInnerHistoricalBalancesInner.md) | An array of historical balances for the account. | [optional] |
|
10
|
+
| **transactions** | [**Array<AssetReportTransaction>**](AssetReportTransaction.md) | An array of historical transactions for the account. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'fuse_client'
|
16
|
+
|
17
|
+
instance = FuseClient::AssetReportAccountsInner.new(
|
18
|
+
remote_id: null,
|
19
|
+
balance: null,
|
20
|
+
historical_balances: null,
|
21
|
+
transactions: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# FuseClient::
|
1
|
+
# FuseClient::AssetReportAccountsInnerBalance
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'fuse_client'
|
15
15
|
|
16
|
-
instance = FuseClient::
|
16
|
+
instance = FuseClient::AssetReportAccountsInnerBalance.new(
|
17
17
|
available: null,
|
18
18
|
current: null,
|
19
19
|
iso_currency_code: null
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# FuseClient::
|
1
|
+
# FuseClient::AssetReportAccountsInnerHistoricalBalancesInner
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'fuse_client'
|
15
15
|
|
16
|
-
instance = FuseClient::
|
16
|
+
instance = FuseClient::AssetReportAccountsInnerHistoricalBalancesInner.new(
|
17
17
|
date: null,
|
18
18
|
current: null,
|
19
19
|
iso_currency_code: null
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# FuseClient::
|
1
|
+
# FuseClient::AssetReportResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **report** | [**
|
7
|
+
| **report** | [**AssetReport**](AssetReport.md) | | [optional] |
|
8
8
|
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'fuse_client'
|
14
14
|
|
15
|
-
instance = FuseClient::
|
15
|
+
instance = FuseClient::AssetReportResponse.new(
|
16
16
|
report: null,
|
17
17
|
request_id: null
|
18
18
|
)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# FuseClient::AssetReportTransaction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | Remote Id of the transaction, ie Plaid or Teller Id | |
|
8
|
+
| **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
|
9
|
+
| **amount** | **Float** | Amount in cents associated with the transaction. The format of this value is a double. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. | |
|
10
|
+
| **date** | **String** | Date of the transaction (YYYY-MM-DD) | |
|
11
|
+
| **description** | **String** | Description of the transaction | |
|
12
|
+
| **category** | **Array<String>** | Categories of the transaction, ie Computers and Electronics. '-' means we could not map the upstream category. | |
|
13
|
+
| **merchant** | [**TransactionMerchant**](TransactionMerchant.md) | | |
|
14
|
+
| **status** | **String** | The status of the transaction. This will be either posted or pending. | |
|
15
|
+
| **iso_currency_code** | **String** | The ISO-4217 currency code of the transaction | [optional] |
|
16
|
+
| **remote_data** | **Object** | | |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'fuse_client'
|
22
|
+
|
23
|
+
instance = FuseClient::AssetReportTransaction.new(
|
24
|
+
remote_id: null,
|
25
|
+
remote_account_id: null,
|
26
|
+
amount: null,
|
27
|
+
date: null,
|
28
|
+
description: null,
|
29
|
+
category: null,
|
30
|
+
merchant: null,
|
31
|
+
status: null,
|
32
|
+
iso_currency_code: null,
|
33
|
+
remote_data: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
@@ -4,9 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **access_token** | **String** | Access token
|
7
|
+
| **access_token** | **String** | Access fuse token corresponding to the financial account to be create the Asset Report for. | |
|
8
8
|
| **days_requested** | **Float** | The maximum integer number of days of history to include in the Asset Report | |
|
9
|
-
| **include_identity** | **Boolean** | Indicates whether to include identity data in the Asset Report | [optional][default to true] |
|
10
9
|
|
11
10
|
## Example
|
12
11
|
|
@@ -15,8 +14,7 @@ require 'fuse_client'
|
|
15
14
|
|
16
15
|
instance = FuseClient::CreateAssetReportRequest.new(
|
17
16
|
access_token: null,
|
18
|
-
days_requested: null
|
19
|
-
include_identity: null
|
17
|
+
days_requested: null
|
20
18
|
)
|
21
19
|
```
|
22
20
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **asset_report_token** | **String** | A token that can be provided to endpoints such as /asset_report
|
8
|
-
| **asset_report_id** | **String** | A unique ID identifying an Asset Report.
|
7
|
+
| **asset_report_token** | **String** | A token that can be provided to endpoints such as /asset_report to fetch an asset report. | [optional] |
|
8
|
+
| **asset_report_id** | **String** | A unique ID identifying an Asset Report. | [optional] |
|
9
9
|
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
10
10
|
|
11
11
|
## Example
|
@@ -6,10 +6,12 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **institution_id** | **String** | An id that is unique for an institution. | |
|
8
8
|
| **entity** | [**Entity**](Entity.md) | | |
|
9
|
-
| **client_name** | **String** | The name of your application. | |
|
9
|
+
| **client_name** | **String** | The name of your application. This is what will be displayed to users. | |
|
10
10
|
| **session_client_secret** | **String** | The session client secret created from the 'Create session client secret' endpoint | |
|
11
|
+
| **webhook_url** | **String** | This field allows you to set a unique webhook URL for each individual entity. By specifying an entity-specific webhook URL, you can receive and process data events for each entity separately. If this field is left empty, the organization-wide webhook URL set in the sandbox/production environment will be used as the default for all entities. | [optional] |
|
11
12
|
| **mx** | [**CreateLinkTokenRequestMx**](CreateLinkTokenRequestMx.md) | | [optional] |
|
12
13
|
| **plaid** | [**CreateLinkTokenRequestPlaid**](CreateLinkTokenRequestPlaid.md) | | [optional] |
|
14
|
+
| **teller** | [**CreateLinkTokenRequestTeller**](CreateLinkTokenRequestTeller.md) | | [optional] |
|
13
15
|
|
14
16
|
## Example
|
15
17
|
|
@@ -21,8 +23,10 @@ instance = FuseClient::CreateLinkTokenRequest.new(
|
|
21
23
|
entity: null,
|
22
24
|
client_name: null,
|
23
25
|
session_client_secret: null,
|
26
|
+
webhook_url: null,
|
24
27
|
mx: null,
|
25
|
-
plaid: null
|
28
|
+
plaid: null,
|
29
|
+
teller: null
|
26
30
|
)
|
27
31
|
```
|
28
32
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **config** | **Object** | Follows the same schema as Plaid's Link Token Create Schema(https://plaid.com/docs/api/tokens/#linktokencreate). 'products', 'client_id', 'secret', 'client_user_id', 'client_name', 'webhook', 'institution_data' and 'country_codes' (only US supported right now) will be set by Fuse and override any values you set. | [optional] |
|
7
|
+
| **config** | **Object** | Follows the same schema as Plaid's Link Token Create Schema(https://plaid.com/docs/api/tokens/#linktokencreate). 'products', 'client_id', 'secret', 'client_user_id', 'client_name', 'webhook', 'institution_data' and 'country_codes' (only US and Canada is supported right now) will be set by Fuse and override any values you set. | [optional] |
|
8
8
|
|
9
9
|
## Example
|
10
10
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestTeller
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **config** | [**CreateLinkTokenRequestTellerConfig**](CreateLinkTokenRequestTellerConfig.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateLinkTokenRequestTeller.new(
|
15
|
+
config: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestTellerConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **select_account** | **String** | The mode of account selection: - 'disabled': automatically connect all the supported financial accounts associated with this user's account at the institution (default). - 'single': the user will see a list of supported financial accounts and will need to select one to connect - 'multiple': the user will see a list of supported financial accounts and will need to select one or more to connect | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateLinkTokenRequestTellerConfig.new(
|
15
|
+
select_account: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **supported_financial_institution_aggregators** | [**Array<Aggregator>**](Aggregator.md) | |
|
8
|
-
| **products** | [**Array<Product>**](Product.md) | List of products that you would like the institutions to support |
|
7
|
+
| **supported_financial_institution_aggregators** | [**Array<Aggregator>**](Aggregator.md) | | |
|
8
|
+
| **products** | [**Array<Product>**](Product.md) | List of products that you would like the institutions to support | |
|
9
9
|
| **country_codes** | [**Array<CountryCode>**](CountryCode.md) | List of country codes that you would like the institutions to support | [optional] |
|
10
|
-
| **entity** | [**Entity**](Entity.md) | |
|
11
|
-
| **access_token** | **String** | The fuse access token for an existing
|
12
|
-
| **is_web_view** | **Boolean** |
|
10
|
+
| **entity** | [**Entity**](Entity.md) | | |
|
11
|
+
| **access_token** | **String** | The fuse access token for an existing financial connection. This will perform the process to reconnect an existing disconnected account. | [optional] |
|
12
|
+
| **is_web_view** | **Boolean** | Set to false for web SDKs (e.g., React), and true for mobile SDKs (e.g., React Native, Flutter, iOS, Android). | [optional] |
|
13
13
|
|
14
14
|
## Example
|
15
15
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::CreateSpendPowerCustomizationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | |
|
8
|
+
| **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | |
|
9
|
+
| **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::CreateSpendPowerCustomizationRequest.new(
|
17
|
+
timeframe: null,
|
18
|
+
min_limit: null,
|
19
|
+
max_limit: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::CreateSpendPowerCustomizationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | The id of the created customization. | |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::CreateSpendPowerCustomizationResponse.new(
|
16
|
+
id: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::CreateSpendPowerRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_id** | **String** | A unique ID representing the bank account that this spend power is calculated for. Typically this will be a bank connection account ID from your application. It is currently used as a means of connecting events to the spend power. | |
|
8
|
+
| **iso_currency_code** | **String** | The ISO-4217 currency code of the transaction | |
|
9
|
+
| **customization_id** | **String** | The spend power customization id. This is used to determine the timeframe and other metadata for the spend power. | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::CreateSpendPowerRequest.new(
|
17
|
+
account_id: null,
|
18
|
+
iso_currency_code: null,
|
19
|
+
customization_id: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::CreateSpendPowerResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | The id of the created spend power. | |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::CreateSpendPowerResponse.new(
|
16
|
+
id: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::DeleteSpendPowerResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | The id of the deleted spend power | |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::DeleteSpendPowerResponse.new(
|
16
|
+
id: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::EnrichTransactionsRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **transactions** | [**Array<TransactionToEnrich>**](TransactionToEnrich.md) | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::EnrichTransactionsRequest.new(
|
15
|
+
transactions: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::EnrichTransactionsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **enriched_transactions** | [**Array<EnrichedTransaction>**](EnrichedTransaction.md) | The enriched transactions. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::EnrichTransactionsResponse.new(
|
15
|
+
enriched_transactions: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# FuseClient::EnrichedTransaction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | A original ID for the transaction that to help you tie data back to your systems. | |
|
8
|
+
| **name** | **String** | The original or enhanced name of the merchant. | [optional] |
|
9
|
+
| **logo** | [**EnrichedTransactionLogo**](EnrichedTransactionLogo.md) | | [optional] |
|
10
|
+
| **amount** | **Float** | The amount of the transaction in cents, in the currency of the account. | [optional] |
|
11
|
+
| **category** | [**TransactionCategory**](TransactionCategory.md) | | [optional] |
|
12
|
+
| **is_bill_pay** | **Boolean** | Whether the transaction is a bill pay. | [optional] |
|
13
|
+
| **is_direct_deposit** | **Boolean** | Whether the transaction is a direct deposit. | [optional] |
|
14
|
+
| **is_expense** | **Boolean** | Whether the transaction is a an expense | [optional] |
|
15
|
+
| **is_fee** | **Boolean** | Whether the transaction is a fee. | [optional] |
|
16
|
+
| **is_income** | **Boolean** | Whether the transaction is income. | [optional] |
|
17
|
+
| **is_international** | **Boolean** | Whether the transaction is international. | [optional] |
|
18
|
+
| **is_overdraft_fee** | **Boolean** | This indicates whether the transaction represents an overdraft fee. | [optional] |
|
19
|
+
| **is_payroll_advance** | **Boolean** | Whether the transaction is a payroll advance. | [optional] |
|
20
|
+
| **is_subscription** | **Boolean** | Whether the transaction is a subscription. | [optional] |
|
21
|
+
| **type** | **String** | The type of transaction | [optional] |
|
22
|
+
|
23
|
+
## Example
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'fuse_client'
|
27
|
+
|
28
|
+
instance = FuseClient::EnrichedTransaction.new(
|
29
|
+
id: null,
|
30
|
+
name: null,
|
31
|
+
logo: null,
|
32
|
+
amount: null,
|
33
|
+
category: null,
|
34
|
+
is_bill_pay: null,
|
35
|
+
is_direct_deposit: null,
|
36
|
+
is_expense: null,
|
37
|
+
is_fee: null,
|
38
|
+
is_income: null,
|
39
|
+
is_international: null,
|
40
|
+
is_overdraft_fee: null,
|
41
|
+
is_payroll_advance: null,
|
42
|
+
is_subscription: null,
|
43
|
+
type: null
|
44
|
+
)
|
45
|
+
```
|
46
|
+
|