fuse_client 1.0.34 → 1.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +1 -0
- data/docs/CreateLinkTokenRequestTellerConfig.md +3 -1
- data/docs/CreateLinkTokenRequestTellerConfigAccountFilter.md +20 -0
- data/docs/CreateLinkTokenRequestTellerConfigAccountFilterCredit.md +49 -0
- data/docs/CreateLinkTokenRequestTellerConfigAccountFilterCreditOneOf.md +18 -0
- data/docs/CreateLinkTokenRequestTellerConfigAccountFilterDepository.md +49 -0
- data/docs/CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf.md +18 -0
- data/docs/CreateSpendPowerCustomizationRequest.md +3 -1
- data/docs/EnrichedTransaction.md +3 -1
- data/docs/EvalSpendPowerResponse.md +8 -4
- data/docs/ExternalTransactionEvent.md +7 -9
- data/docs/FinQLComparisonFeature.md +26 -0
- data/docs/FinQLFeature.md +61 -0
- data/docs/FinQLFeatureOneOf.md +18 -0
- data/docs/FinQLFeatureOneOf1.md +18 -0
- data/docs/FinQLFeatureOneOf2.md +18 -0
- data/docs/FinQLFeatureOneOf3.md +18 -0
- data/docs/FinQLFeatureOneOf4.md +18 -0
- data/docs/FinQLFeatureOneOf5.md +18 -0
- data/docs/FinQLFeatureOneOf6.md +18 -0
- data/docs/FinQLFeatureOneOf7.md +18 -0
- data/docs/FinQLFeatureRequest.md +15 -0
- data/docs/FinQLFrequencyFeature.md +20 -0
- data/docs/FinQLIndividualMerchantFeature.md +20 -0
- data/docs/FinQLInterestFeature.md +18 -0
- data/docs/FinQLMerchantCategoriesFeatureInner.md +20 -0
- data/docs/FinQLMerchantCategoriesFeatureInnerResultInner.md +20 -0
- data/docs/FinQLPromptRequest.md +22 -0
- data/docs/FinQLPromptResponse.md +20 -0
- data/docs/FinQLTimeBasedFeatureInner.md +20 -0
- data/docs/FinQLTopMerchantsFeatureInner.md +22 -0
- data/docs/FinanceScore.md +30 -0
- data/docs/FinancialConnectionDetails.md +7 -1
- data/docs/FinancialConnectionDetailsFlinks.md +18 -0
- data/docs/FinancialConnectionDetailsMono.md +18 -0
- data/docs/FinancialConnectionDetailsSnaptrade.md +22 -0
- data/docs/FinancialConnectionsAccount.md +4 -2
- data/docs/FinancialConnectionsAccountDetails.md +3 -1
- data/docs/FinancialConnectionsAccountLiability.md +3 -1
- data/docs/FuseApi.md +81 -2
- data/docs/GetFinanceScoreResponse.md +1 -1
- data/docs/InAppTransactionEvent.md +7 -7
- data/docs/Merchant.md +22 -0
- data/docs/{EnrichedTransactionLogo.md → MerchantLogo.md} +2 -2
- data/docs/SpendPower.md +5 -1
- data/docs/SpendPowerCustomization.md +5 -3
- data/docs/Transaction.md +2 -0
- data/docs/TransactionToEnrich.md +1 -1
- data/docs/UpdateSpendPowerCustomizationRequest.md +3 -1
- data/docs/UpdatedBalanceEvent.md +5 -5
- data/fuse_client.gemspec +1 -1
- data/lib/fuse_client/api/fuse_api.rb +65 -1
- data/lib/fuse_client/api/spend_power_api.rb +1 -1
- data/lib/fuse_client/api_client.rb +1 -1
- data/lib/fuse_client/api_error.rb +1 -1
- data/lib/fuse_client/configuration.rb +11 -11
- data/lib/fuse_client/models/account_subtype.rb +1 -1
- data/lib/fuse_client/models/account_type.rb +1 -1
- data/lib/fuse_client/models/add_account_events_request.rb +1 -1
- data/lib/fuse_client/models/add_account_events_request_events_inner.rb +1 -1
- data/lib/fuse_client/models/add_account_events_response.rb +1 -1
- data/lib/fuse_client/models/aggregator.rb +3 -3
- data/lib/fuse_client/models/asset_report.rb +1 -1
- data/lib/fuse_client/models/asset_report_accounts_inner.rb +1 -1
- data/lib/fuse_client/models/asset_report_accounts_inner_balance.rb +1 -1
- data/lib/fuse_client/models/asset_report_accounts_inner_historical_balances_inner.rb +1 -1
- data/lib/fuse_client/models/asset_report_response.rb +1 -1
- data/lib/fuse_client/models/asset_report_transaction.rb +1 -1
- data/lib/fuse_client/models/country_code.rb +6 -2
- data/lib/fuse_client/models/create_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/create_asset_report_response.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/create_link_token_request_mx.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request_plaid.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request_teller.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request_teller_config.rb +14 -5
- data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter.rb +229 -0
- data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_credit.rb +105 -0
- data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_credit_one_of.rb +243 -0
- data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_depository.rb +105 -0
- data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_depository_one_of.rb +243 -0
- data/lib/fuse_client/models/create_link_token_response.rb +1 -1
- data/lib/fuse_client/models/create_session_request.rb +1 -1
- data/lib/fuse_client/models/create_session_response.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_customization_request.rb +48 -5
- data/lib/fuse_client/models/create_spend_power_customization_response.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_request.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_response.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/enrich_transactions_request.rb +1 -1
- data/lib/fuse_client/models/enrich_transactions_response.rb +1 -1
- data/lib/fuse_client/models/enriched_transaction.rb +13 -3
- data/lib/fuse_client/models/entity.rb +1 -1
- data/lib/fuse_client/models/eval_spend_power_request.rb +1 -1
- data/lib/fuse_client/models/eval_spend_power_request_events_inner.rb +1 -1
- data/lib/fuse_client/models/eval_spend_power_response.rb +36 -16
- data/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +1 -1
- data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +1 -1
- data/lib/fuse_client/models/external_transaction_event.rb +34 -48
- data/lib/fuse_client/models/external_transaction_event_status.rb +1 -1
- data/lib/fuse_client/models/fin_ql_comparison_feature.rb +255 -0
- data/lib/fuse_client/models/fin_ql_feature.rb +111 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of.rb +219 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of1.rb +219 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of2.rb +221 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of3.rb +219 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of4.rb +219 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of5.rb +221 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of6.rb +219 -0
- data/lib/fuse_client/models/fin_ql_feature_one_of7.rb +221 -0
- data/lib/fuse_client/models/fin_ql_feature_request.rb +46 -0
- data/lib/fuse_client/models/fin_ql_frequency_feature.rb +262 -0
- data/lib/fuse_client/models/fin_ql_individual_merchant_feature.rb +228 -0
- data/lib/fuse_client/models/fin_ql_interest_feature.rb +219 -0
- data/lib/fuse_client/models/fin_ql_merchant_categories_feature_inner.rb +230 -0
- data/lib/fuse_client/models/fin_ql_merchant_categories_feature_inner_result_inner.rb +228 -0
- data/lib/fuse_client/models/fin_ql_prompt_request.rb +276 -0
- data/lib/fuse_client/models/fin_ql_prompt_response.rb +234 -0
- data/lib/fuse_client/models/fin_ql_time_based_feature_inner.rb +228 -0
- data/lib/fuse_client/models/fin_ql_top_merchants_feature_inner.rb +237 -0
- data/lib/fuse_client/models/finance_score.rb +315 -0
- data/lib/fuse_client/models/financial_connection_data.rb +1 -1
- data/lib/fuse_client/models/financial_connection_details.rb +32 -5
- data/lib/fuse_client/models/financial_connection_details_flinks.rb +226 -0
- data/lib/fuse_client/models/financial_connection_details_mono.rb +226 -0
- 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_snaptrade.rb +256 -0
- data/lib/fuse_client/models/financial_connection_details_teller.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account.rb +16 -6
- data/lib/fuse_client/models/financial_connections_account_balance.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_details.rb +15 -5
- 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 +13 -3
- data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
- data/lib/fuse_client/models/financial_connections_holding.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_security.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_security_exchange.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_security_type.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_transaction_subtype.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/fuse_api_error.rb +1 -1
- data/lib/fuse_client/models/fuse_api_error_code.rb +5 -2
- data/lib/fuse_client/models/fuse_api_error_data.rb +1 -1
- data/lib/fuse_client/models/fuse_api_error_type.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/get_entity_response.rb +1 -1
- data/lib/fuse_client/models/get_finance_score_response.rb +2 -3
- 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 +1 -1
- data/lib/fuse_client/models/get_financial_connections_account_statement_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_accounts_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_balance_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_balance_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_institution_response.rb +1 -1
- data/lib/fuse_client/models/get_investment_holdings_request.rb +1 -1
- data/lib/fuse_client/models/get_investment_holdings_request_options.rb +1 -1
- data/lib/fuse_client/models/get_investment_holdings_response.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_request.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_request_options.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_response.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/get_spend_power_response.rb +1 -1
- data/lib/fuse_client/models/in_app_transaction_event.rb +36 -31
- data/lib/fuse_client/models/in_app_transaction_event_status.rb +1 -1
- data/lib/fuse_client/models/merchant.rb +249 -0
- data/lib/fuse_client/models/{enriched_transaction_logo.rb → merchant_logo.rb} +4 -4
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_teller.rb +1 -1
- data/lib/fuse_client/models/migrate_financial_connections_token_request.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/refresh_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/refresh_asset_report_response.rb +1 -1
- data/lib/fuse_client/models/spend_power.rb +34 -5
- data/lib/fuse_client/models/spend_power_customization.rb +40 -6
- data/lib/fuse_client/models/spend_power_time_frame.rb +1 -1
- 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 +12 -2
- data/lib/fuse_client/models/transaction_category.rb +1 -1
- data/lib/fuse_client/models/transaction_category_detailed.rb +23 -2
- data/lib/fuse_client/models/transaction_category_primary.rb +1 -1
- data/lib/fuse_client/models/transaction_event_type.rb +1 -1
- data/lib/fuse_client/models/transaction_merchant.rb +1 -1
- data/lib/fuse_client/models/transaction_to_enrich.rb +2 -2
- 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 +39 -5
- data/lib/fuse_client/models/update_spend_power_customization_response.rb +1 -1
- data/lib/fuse_client/models/updated_balance_event.rb +25 -25
- data/lib/fuse_client/models/webhook_event.rb +1 -1
- data/lib/fuse_client/models/webhook_source.rb +3 -2
- data/lib/fuse_client/models/webhook_type.rb +1 -1
- data/lib/fuse_client/version.rb +2 -2
- data/lib/fuse_client.rb +32 -2
- data/spec/api/fuse_api_spec.rb +41 -29
- data/spec/api/spend_power_api_spec.rb +3 -3
- 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 +1 -1
- data/spec/models/add_account_events_request_spec.rb +2 -2
- data/spec/models/add_account_events_response_spec.rb +3 -3
- data/spec/models/aggregator_spec.rb +1 -1
- data/spec/models/asset_report_accounts_inner_balance_spec.rb +4 -4
- data/spec/models/asset_report_accounts_inner_historical_balances_inner_spec.rb +4 -4
- data/spec/models/asset_report_accounts_inner_spec.rb +5 -5
- data/spec/models/asset_report_response_spec.rb +3 -3
- data/spec/models/asset_report_spec.rb +6 -6
- data/spec/models/asset_report_transaction_spec.rb +11 -11
- data/spec/models/country_code_spec.rb +1 -1
- data/spec/models/create_asset_report_request_spec.rb +3 -3
- data/spec/models/create_asset_report_response_spec.rb +4 -4
- data/spec/models/create_entity_request_spec.rb +5 -5
- data/spec/models/create_entity_response_spec.rb +6 -6
- data/spec/models/create_link_token_request_mx_spec.rb +2 -2
- data/spec/models/create_link_token_request_plaid_spec.rb +2 -2
- data/spec/models/create_link_token_request_spec.rb +9 -9
- data/spec/models/create_link_token_request_teller_config_account_filter_credit_one_of_spec.rb +38 -0
- data/spec/models/create_link_token_request_teller_config_account_filter_credit_spec.rb +31 -0
- data/spec/models/create_link_token_request_teller_config_account_filter_depository_one_of_spec.rb +38 -0
- data/spec/models/create_link_token_request_teller_config_account_filter_depository_spec.rb +31 -0
- data/spec/models/create_link_token_request_teller_config_account_filter_spec.rb +40 -0
- data/spec/models/create_link_token_request_teller_config_spec.rb +8 -2
- data/spec/models/create_link_token_request_teller_spec.rb +2 -2
- data/spec/models/create_link_token_response_spec.rb +3 -3
- data/spec/models/create_session_request_spec.rb +7 -7
- data/spec/models/create_session_response_spec.rb +4 -4
- data/spec/models/create_spend_power_customization_request_spec.rb +10 -4
- data/spec/models/create_spend_power_customization_response_spec.rb +3 -3
- data/spec/models/create_spend_power_request_spec.rb +4 -4
- data/spec/models/create_spend_power_response_spec.rb +3 -3
- data/spec/models/currency_spec.rb +3 -3
- data/spec/models/delete_financial_connection_response_spec.rb +4 -4
- data/spec/models/delete_spend_power_response_spec.rb +3 -3
- data/spec/models/enrich_transactions_request_spec.rb +2 -2
- data/spec/models/enrich_transactions_response_spec.rb +2 -2
- data/spec/models/enriched_transaction_spec.rb +22 -16
- data/spec/models/entity_spec.rb +4 -4
- data/spec/models/eval_spend_power_request_events_inner_spec.rb +3 -3
- data/spec/models/eval_spend_power_request_spec.rb +4 -4
- data/spec/models/eval_spend_power_response_spec.rb +17 -5
- data/spec/models/exchange_financial_connections_public_token_request_spec.rb +2 -2
- data/spec/models/exchange_financial_connections_public_token_response_spec.rb +4 -4
- data/spec/models/external_transaction_event_spec.rb +14 -20
- data/spec/models/external_transaction_event_status_spec.rb +1 -1
- data/spec/models/fin_ql_comparison_feature_spec.rb +58 -0
- data/spec/models/fin_ql_feature_one_of1_spec.rb +34 -0
- data/spec/models/fin_ql_feature_one_of2_spec.rb +34 -0
- data/spec/models/fin_ql_feature_one_of3_spec.rb +34 -0
- data/spec/models/fin_ql_feature_one_of4_spec.rb +34 -0
- data/spec/models/fin_ql_feature_one_of5_spec.rb +34 -0
- data/spec/models/fin_ql_feature_one_of6_spec.rb +34 -0
- data/spec/models/fin_ql_feature_one_of7_spec.rb +34 -0
- data/spec/models/fin_ql_feature_one_of_spec.rb +34 -0
- data/spec/models/fin_ql_feature_request_spec.rb +28 -0
- data/spec/models/fin_ql_feature_spec.rb +31 -0
- data/spec/models/fin_ql_frequency_feature_spec.rb +44 -0
- data/spec/models/fin_ql_individual_merchant_feature_spec.rb +40 -0
- data/spec/models/fin_ql_interest_feature_spec.rb +34 -0
- data/spec/models/fin_ql_merchant_categories_feature_inner_result_inner_spec.rb +40 -0
- data/spec/models/fin_ql_merchant_categories_feature_inner_spec.rb +40 -0
- data/spec/models/fin_ql_prompt_request_spec.rb +46 -0
- data/spec/models/fin_ql_prompt_response_spec.rb +40 -0
- data/spec/models/fin_ql_time_based_feature_inner_spec.rb +40 -0
- data/spec/models/fin_ql_top_merchants_feature_inner_spec.rb +46 -0
- data/spec/models/finance_score_spec.rb +70 -0
- data/spec/models/financial_connection_data_spec.rb +3 -3
- data/spec/models/financial_connection_details_flinks_spec.rb +34 -0
- data/spec/models/financial_connection_details_mono_spec.rb +34 -0
- data/spec/models/financial_connection_details_mx_spec.rb +3 -3
- data/spec/models/financial_connection_details_plaid_spec.rb +3 -3
- data/spec/models/financial_connection_details_snaptrade_spec.rb +46 -0
- data/spec/models/financial_connection_details_spec.rb +27 -9
- data/spec/models/financial_connection_details_teller_spec.rb +3 -3
- data/spec/models/financial_connections_account_balance_spec.rb +6 -6
- data/spec/models/financial_connections_account_cached_balance_spec.rb +5 -5
- data/spec/models/financial_connections_account_details_ach_spec.rb +5 -5
- data/spec/models/financial_connections_account_details_spec.rb +9 -3
- data/spec/models/financial_connections_account_institution_spec.rb +2 -2
- data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +3 -3
- data/spec/models/financial_connections_account_liability_all_of_spec.rb +8 -8
- data/spec/models/financial_connections_account_liability_spec.rb +22 -16
- data/spec/models/financial_connections_account_spec.rb +15 -9
- data/spec/models/financial_connections_holding_spec.rb +7 -7
- data/spec/models/financial_connections_investment_security_exchange_spec.rb +2 -2
- data/spec/models/financial_connections_investment_security_spec.rb +11 -11
- data/spec/models/financial_connections_investment_security_type_spec.rb +1 -1
- data/spec/models/financial_connections_investment_transaction_spec.rb +14 -14
- data/spec/models/financial_connections_investment_transaction_subtype_spec.rb +1 -1
- data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +6 -6
- data/spec/models/financial_connections_owner_addresses_inner_spec.rb +3 -3
- data/spec/models/financial_connections_owner_emails_inner_spec.rb +4 -4
- data/spec/models/financial_connections_owner_names_inner_spec.rb +3 -3
- data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +4 -4
- data/spec/models/financial_connections_owner_spec.rb +5 -5
- data/spec/models/financial_institution_logo_spec.rb +4 -4
- data/spec/models/financial_institution_spec.rb +6 -6
- data/spec/models/fuse_api_aggregator_error_spec.rb +7 -7
- data/spec/models/fuse_api_error_code_spec.rb +1 -1
- data/spec/models/fuse_api_error_data_spec.rb +3 -3
- data/spec/models/fuse_api_error_spec.rb +8 -8
- data/spec/models/fuse_api_error_type_spec.rb +1 -1
- data/spec/models/fuse_api_warning_data_spec.rb +3 -3
- data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +6 -6
- data/spec/models/fuse_api_warning_spec.rb +7 -7
- data/spec/models/get_asset_report_request_spec.rb +3 -3
- data/spec/models/get_entity_response_spec.rb +7 -7
- data/spec/models/get_finance_score_response_spec.rb +3 -3
- data/spec/models/get_financial_connection_response_spec.rb +3 -3
- data/spec/models/get_financial_connections_account_details_request_spec.rb +2 -2
- data/spec/models/get_financial_connections_account_details_response_spec.rb +4 -4
- data/spec/models/get_financial_connections_account_statement_request_spec.rb +4 -4
- data/spec/models/get_financial_connections_account_statement_response_spec.rb +3 -3
- data/spec/models/get_financial_connections_accounts_request_spec.rb +2 -2
- data/spec/models/get_financial_connections_accounts_response_spec.rb +4 -4
- data/spec/models/get_financial_connections_balance_request_options_spec.rb +2 -2
- data/spec/models/get_financial_connections_balance_request_spec.rb +3 -3
- data/spec/models/get_financial_connections_balance_response_spec.rb +3 -3
- data/spec/models/get_financial_connections_owners_request_spec.rb +2 -2
- data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +4 -4
- data/spec/models/get_financial_connections_owners_response_spec.rb +2 -2
- data/spec/models/get_financial_connections_transactions_request_spec.rb +6 -6
- data/spec/models/get_financial_connections_transactions_response_spec.rb +4 -4
- data/spec/models/get_financial_institution_response_spec.rb +3 -3
- data/spec/models/get_investment_holdings_request_options_spec.rb +2 -2
- data/spec/models/get_investment_holdings_request_spec.rb +3 -3
- data/spec/models/get_investment_holdings_response_spec.rb +4 -4
- data/spec/models/get_investment_transactions_request_options_spec.rb +2 -2
- data/spec/models/get_investment_transactions_request_spec.rb +7 -7
- data/spec/models/get_investment_transactions_response_spec.rb +5 -5
- data/spec/models/get_liabilities_request_spec.rb +2 -2
- data/spec/models/get_liabilities_response_spec.rb +3 -3
- data/spec/models/get_spend_power_customization_response_spec.rb +3 -3
- data/spec/models/get_spend_power_response_spec.rb +3 -3
- data/spec/models/in_app_transaction_event_spec.rb +16 -16
- data/spec/models/in_app_transaction_event_status_spec.rb +1 -1
- data/spec/models/merchant_logo_spec.rb +34 -0
- data/spec/models/merchant_spec.rb +46 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_mx_spec.rb +3 -3
- data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +3 -3
- data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +4 -4
- data/spec/models/migrate_financial_connections_aggregator_connection_data_teller_spec.rb +2 -2
- data/spec/models/migrate_financial_connections_token_request_entity_spec.rb +2 -2
- data/spec/models/migrate_financial_connections_token_request_spec.rb +5 -5
- data/spec/models/migrate_financial_connections_token_response_spec.rb +5 -5
- data/spec/models/product_spec.rb +1 -1
- data/spec/models/refresh_asset_report_request_spec.rb +4 -4
- data/spec/models/refresh_asset_report_response_spec.rb +4 -4
- data/spec/models/spend_power_customization_spec.rb +11 -5
- data/spec/models/spend_power_spec.rb +20 -8
- data/spec/models/spend_power_time_frame_spec.rb +1 -1
- data/spec/models/sync_financial_connections_data_response_spec.rb +3 -3
- data/spec/models/sync_transactions_request_spec.rb +4 -4
- data/spec/models/sync_transactions_response_removed_inner_spec.rb +2 -2
- data/spec/models/sync_transactions_response_spec.rb +7 -7
- data/spec/models/transaction_category_detailed_spec.rb +1 -1
- data/spec/models/transaction_category_primary_spec.rb +1 -1
- data/spec/models/transaction_category_spec.rb +3 -3
- data/spec/models/transaction_event_type_spec.rb +1 -1
- data/spec/models/transaction_merchant_spec.rb +2 -2
- data/spec/models/transaction_spec.rb +18 -12
- data/spec/models/transaction_to_enrich_spec.rb +6 -6
- data/spec/models/update_entity_request_spec.rb +4 -4
- data/spec/models/update_entity_response_spec.rb +6 -6
- data/spec/models/update_spend_power_customization_request_spec.rb +10 -4
- data/spec/models/update_spend_power_customization_response_spec.rb +3 -3
- data/spec/models/updated_balance_event_spec.rb +10 -10
- data/spec/models/webhook_event_spec.rb +10 -10
- 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 +126 -6
- data/spec/models/enriched_transaction_logo_spec.rb +0 -34
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinQLMerchantCategoriesFeatureInnerResultInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **merchant** | [**Merchant**](Merchant.md) | | [optional] |
|
8
|
+
| **value** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinQLMerchantCategoriesFeatureInnerResultInner.new(
|
16
|
+
merchant: null,
|
17
|
+
value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::FinQLPromptRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **prompt** | **String** | Description of the search in natural language. | |
|
8
|
+
| **account_id** | **String** | ID of account to be queried | |
|
9
|
+
| **feature** | [**FinQLFeatureRequest**](FinQLFeatureRequest.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::FinQLPromptRequest.new(
|
17
|
+
prompt: null,
|
18
|
+
account_id: null,
|
19
|
+
feature: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinQLPromptResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **feature** | [**FinQLFeature**](FinQLFeature.md) | | [optional] |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinQLPromptResponse.new(
|
16
|
+
feature: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinQLTimeBasedFeatureInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **time_period** | **String** | | [optional] |
|
8
|
+
| **value** | **Float** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinQLTimeBasedFeatureInner.new(
|
16
|
+
time_period: null,
|
17
|
+
value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::FinQLTopMerchantsFeatureInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **rank** | **Float** | | [optional] |
|
8
|
+
| **merchant** | [**Merchant**](Merchant.md) | | [optional] |
|
9
|
+
| **value** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::FinQLTopMerchantsFeatureInner.new(
|
17
|
+
rank: null,
|
18
|
+
merchant: null,
|
19
|
+
value: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# FuseClient::FinanceScore
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **Float** | The likelihood of a credit default. A higher score implies lower risk. The finance score and all finance score metrics are values between 0 and 1. This value is calculated by the weighted sum of the metrics below. | |
|
8
|
+
| **savings_score** | **Float** | This quantifies a user's monthly savings habits. A lower score represents minimal savings, while a higher score indicates a user who consistently sets aside a substantial portion of their income. | |
|
9
|
+
| **expense_stability_score** | **Float** | This assesses the consistency of a user's monthly spending. A lower score indicates variable monthly expenditure, while a higher score represents consistent spending habits. | |
|
10
|
+
| **activity_age_score** | **Float** | This measures the regularity of a user's financial activity over a period of time. A lower score suggests limited activity, while a higher score is indicative of regular daily transactions over a long period of time. | |
|
11
|
+
| **income_score** | **Float** | This evaluates the stability of a user's income. A lower score suggests inconsistent or low income, while a higher score represents high, consistent income. | |
|
12
|
+
| **loan_payments_score** | **Float** | This evaluates a user's loan repayment behaviour. A lower score is assigned to those without loan payments, while a higher score denotes consistent loan payments, such as a mortgage. | |
|
13
|
+
| **repayments_score** | **Float** | This quantifies a user's ability to repay debts. A lower score corresponds to missed payments, while a higher score signifies consistent debt repayment. | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'fuse_client'
|
19
|
+
|
20
|
+
instance = FuseClient::FinanceScore.new(
|
21
|
+
value: null,
|
22
|
+
savings_score: null,
|
23
|
+
expense_stability_score: null,
|
24
|
+
activity_age_score: null,
|
25
|
+
income_score: null,
|
26
|
+
loan_payments_score: null,
|
27
|
+
repayments_score: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -12,6 +12,9 @@
|
|
12
12
|
| **plaid** | [**FinancialConnectionDetailsPlaid**](FinancialConnectionDetailsPlaid.md) | | [optional] |
|
13
13
|
| **teller** | [**FinancialConnectionDetailsTeller**](FinancialConnectionDetailsTeller.md) | | [optional] |
|
14
14
|
| **mx** | [**FinancialConnectionDetailsMx**](FinancialConnectionDetailsMx.md) | | [optional] |
|
15
|
+
| **snaptrade** | [**FinancialConnectionDetailsSnaptrade**](FinancialConnectionDetailsSnaptrade.md) | | [optional] |
|
16
|
+
| **flinks** | [**FinancialConnectionDetailsFlinks**](FinancialConnectionDetailsFlinks.md) | | [optional] |
|
17
|
+
| **mono** | [**FinancialConnectionDetailsMono**](FinancialConnectionDetailsMono.md) | | [optional] |
|
15
18
|
|
16
19
|
## Example
|
17
20
|
|
@@ -26,7 +29,10 @@ instance = FuseClient::FinancialConnectionDetails.new(
|
|
26
29
|
aggregator: null,
|
27
30
|
plaid: null,
|
28
31
|
teller: null,
|
29
|
-
mx: null
|
32
|
+
mx: null,
|
33
|
+
snaptrade: null,
|
34
|
+
flinks: null,
|
35
|
+
mono: null
|
30
36
|
)
|
31
37
|
```
|
32
38
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsFlinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **login_id** | **String** | Login Id for Flinks | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinancialConnectionDetailsFlinks.new(
|
15
|
+
login_id: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsMono
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_id** | **String** | Account Id for Mono | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinancialConnectionDetailsMono.new(
|
15
|
+
account_id: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsSnaptrade
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **brokerage_authorization_id** | **String** | Brokerage Authorization Id for SnapTrade | |
|
8
|
+
| **user_id** | **String** | User id for SnapTrade | |
|
9
|
+
| **user_secret** | **String** | User secret for SnapTrade | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::FinancialConnectionDetailsSnaptrade.new(
|
17
|
+
brokerage_authorization_id: null,
|
18
|
+
user_id: null,
|
19
|
+
user_secret: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -5,13 +5,14 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
|
8
|
-
| **fingerprint** | **String** | Uniquely identifies this account across all accounts
|
8
|
+
| **fingerprint** | **String** | Uniquely identifies this account across all accounts for a single financial connection. Used for reconnection deduplication. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
|
9
9
|
| **institution** | [**FinancialConnectionsAccountInstitution**](FinancialConnectionsAccountInstitution.md) | | [optional] |
|
10
10
|
| **mask** | **String** | The partial account number. | [optional] |
|
11
11
|
| **name** | **String** | The account's name, ie 'My Checking' | |
|
12
12
|
| **type** | [**AccountType**](AccountType.md) | | |
|
13
13
|
| **subtype** | [**AccountSubtype**](AccountSubtype.md) | | [optional] |
|
14
14
|
| **balance** | [**FinancialConnectionsAccountCachedBalance**](FinancialConnectionsAccountCachedBalance.md) | | |
|
15
|
+
| **remote_data** | **Object** | | |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = FuseClient::FinancialConnectionsAccount.new(
|
|
26
27
|
name: null,
|
27
28
|
type: null,
|
28
29
|
subtype: null,
|
29
|
-
balance: null
|
30
|
+
balance: null,
|
31
|
+
remote_data: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
|
8
8
|
| **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | | |
|
9
|
+
| **remote_data** | **Object** | | |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'fuse_client'
|
|
14
15
|
|
15
16
|
instance = FuseClient::FinancialConnectionsAccountDetails.new(
|
16
17
|
remote_id: null,
|
17
|
-
ach: null
|
18
|
+
ach: null,
|
19
|
+
remote_data: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -5,13 +5,14 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
|
8
|
-
| **fingerprint** | **String** | Uniquely identifies this account across all accounts
|
8
|
+
| **fingerprint** | **String** | Uniquely identifies this account across all accounts for a single financial connection. Used for reconnection deduplication. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
|
9
9
|
| **institution** | [**FinancialConnectionsAccountInstitution**](FinancialConnectionsAccountInstitution.md) | | [optional] |
|
10
10
|
| **mask** | **String** | The partial account number. | [optional] |
|
11
11
|
| **name** | **String** | The account's name, ie 'My Checking' | |
|
12
12
|
| **type** | [**AccountType**](AccountType.md) | | |
|
13
13
|
| **subtype** | [**AccountSubtype**](AccountSubtype.md) | | [optional] |
|
14
14
|
| **balance** | [**FinancialConnectionsAccountCachedBalance**](FinancialConnectionsAccountCachedBalance.md) | | |
|
15
|
+
| **remote_data** | **Object** | | |
|
15
16
|
| **aprs** | [**Array<FinancialConnectionsAccountLiabilityAllOfAprs>**](FinancialConnectionsAccountLiabilityAllOfAprs.md) | The various interest rates that apply to the account. If APR data is not available, this array will be empty. | [optional] |
|
16
17
|
| **interest_rate_percentage** | **Float** | The interest rate on the loan as a percentage. | [optional] |
|
17
18
|
| **origination_principal_amount** | **Float** | The original principal balance of the loan. | [optional] |
|
@@ -34,6 +35,7 @@ instance = FuseClient::FinancialConnectionsAccountLiability.new(
|
|
34
35
|
type: null,
|
35
36
|
subtype: null,
|
36
37
|
balance: null,
|
38
|
+
remote_data: null,
|
37
39
|
aprs: null,
|
38
40
|
interest_rate_percentage: null,
|
39
41
|
origination_principal_amount: null,
|
data/docs/FuseApi.md
CHANGED
@@ -13,6 +13,7 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
13
13
|
| [**delete_financial_connection**](FuseApi.md#delete_financial_connection) | **DELETE** /v1/financial_connections/{financial_connection_id_to_delete} | Delete a financial connection |
|
14
14
|
| [**enrich_transactions**](FuseApi.md#enrich_transactions) | **POST** /v1/transactions/enrich | |
|
15
15
|
| [**exchange_financial_connections_public_token**](FuseApi.md#exchange_financial_connections_public_token) | **POST** /v1/financial_connections/public_token/exchange | |
|
16
|
+
| [**fin_ql_prompt**](FuseApi.md#fin_ql_prompt) | **POST** /v1/finql/prompt | FinQL Prompt |
|
16
17
|
| [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/financial_connections/asset_report | |
|
17
18
|
| [**get_entity**](FuseApi.md#get_entity) | **GET** /v1/entities/{entity_id} | Get entity |
|
18
19
|
| [**get_finance_score**](FuseApi.md#get_finance_score) | **GET** /v1/accounts/{account_id}/finance_score | Get finance score |
|
@@ -61,7 +62,7 @@ end
|
|
61
62
|
api_instance = FuseClient::FuseApi.new
|
62
63
|
account_id = 'account_id_example' # String |
|
63
64
|
opts = {
|
64
|
-
add_account_events_request: FuseClient::AddAccountEventsRequest.new({events: [FuseClient::ExternalTransactionEvent.new({id: 'id_example', event_type: 'external_transaction', status: FuseClient::ExternalTransactionEventStatus::PENDING, amount: 3.56,
|
65
|
+
add_account_events_request: FuseClient::AddAccountEventsRequest.new({events: [FuseClient::ExternalTransactionEvent.new({id: 'id_example', event_type: 'external_transaction', status: FuseClient::ExternalTransactionEventStatus::PENDING, amount: 3.56, iso_currency_code: 'iso_currency_code_example', transaction_type: FuseClient::TransactionEventType::ACH, merchant_name: 'merchant_name_example', timestamp: 'timestamp_example'})]}) # AddAccountEventsRequest |
|
65
66
|
}
|
66
67
|
|
67
68
|
begin
|
@@ -450,7 +451,7 @@ end
|
|
450
451
|
|
451
452
|
api_instance = FuseClient::FuseApi.new
|
452
453
|
opts = {
|
453
|
-
create_spend_power_customization_request: FuseClient::CreateSpendPowerCustomizationRequest.new({timeframe: FuseClient::SpendPowerTimeFrame::DAILY, min_limit: 3.56, max_limit: 3.56}) # CreateSpendPowerCustomizationRequest |
|
454
|
+
create_spend_power_customization_request: FuseClient::CreateSpendPowerCustomizationRequest.new({timeframe: FuseClient::SpendPowerTimeFrame::DAILY, min_limit: 3.56, max_limit: 3.56, risk_tolerance: 3.56}) # CreateSpendPowerCustomizationRequest |
|
454
455
|
}
|
455
456
|
|
456
457
|
begin
|
@@ -732,6 +733,84 @@ end
|
|
732
733
|
- **Accept**: application/json
|
733
734
|
|
734
735
|
|
736
|
+
## fin_ql_prompt
|
737
|
+
|
738
|
+
> <FinQLPromptResponse> fin_ql_prompt(opts)
|
739
|
+
|
740
|
+
FinQL Prompt
|
741
|
+
|
742
|
+
Retrieve information using finQL. Uses data submitted via the /events endpoint. This feature is being built and is not currently available.
|
743
|
+
|
744
|
+
### Examples
|
745
|
+
|
746
|
+
```ruby
|
747
|
+
require 'time'
|
748
|
+
require 'fuse_client'
|
749
|
+
# setup authorization
|
750
|
+
FuseClient.configure do |config|
|
751
|
+
# Configure API key authorization: fuseApiKey
|
752
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
753
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
754
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
755
|
+
|
756
|
+
# Configure API key authorization: fuseClientId
|
757
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
758
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
759
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
760
|
+
end
|
761
|
+
|
762
|
+
api_instance = FuseClient::FuseApi.new
|
763
|
+
opts = {
|
764
|
+
fin_ql_prompt_request: FuseClient::FinQLPromptRequest.new({prompt: 'prompt_example', account_id: 'account_id_example', feature: FuseClient::FinQLFeatureRequest::TEXT}) # FinQLPromptRequest |
|
765
|
+
}
|
766
|
+
|
767
|
+
begin
|
768
|
+
# FinQL Prompt
|
769
|
+
result = api_instance.fin_ql_prompt(opts)
|
770
|
+
p result
|
771
|
+
rescue FuseClient::ApiError => e
|
772
|
+
puts "Error when calling FuseApi->fin_ql_prompt: #{e}"
|
773
|
+
end
|
774
|
+
```
|
775
|
+
|
776
|
+
#### Using the fin_ql_prompt_with_http_info variant
|
777
|
+
|
778
|
+
This returns an Array which contains the response data, status code and headers.
|
779
|
+
|
780
|
+
> <Array(<FinQLPromptResponse>, Integer, Hash)> fin_ql_prompt_with_http_info(opts)
|
781
|
+
|
782
|
+
```ruby
|
783
|
+
begin
|
784
|
+
# FinQL Prompt
|
785
|
+
data, status_code, headers = api_instance.fin_ql_prompt_with_http_info(opts)
|
786
|
+
p status_code # => 2xx
|
787
|
+
p headers # => { ... }
|
788
|
+
p data # => <FinQLPromptResponse>
|
789
|
+
rescue FuseClient::ApiError => e
|
790
|
+
puts "Error when calling FuseApi->fin_ql_prompt_with_http_info: #{e}"
|
791
|
+
end
|
792
|
+
```
|
793
|
+
|
794
|
+
### Parameters
|
795
|
+
|
796
|
+
| Name | Type | Description | Notes |
|
797
|
+
| ---- | ---- | ----------- | ----- |
|
798
|
+
| **fin_ql_prompt_request** | [**FinQLPromptRequest**](FinQLPromptRequest.md) | | [optional] |
|
799
|
+
|
800
|
+
### Return type
|
801
|
+
|
802
|
+
[**FinQLPromptResponse**](FinQLPromptResponse.md)
|
803
|
+
|
804
|
+
### Authorization
|
805
|
+
|
806
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
807
|
+
|
808
|
+
### HTTP request headers
|
809
|
+
|
810
|
+
- **Content-Type**: application/json
|
811
|
+
- **Accept**: application/json
|
812
|
+
|
813
|
+
|
735
814
|
## get_asset_report
|
736
815
|
|
737
816
|
> <RefreshAssetReportResponse> get_asset_report(opts)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **finance_score** | **
|
7
|
+
| **finance_score** | [**FinanceScore**](FinanceScore.md) | | |
|
8
8
|
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
9
9
|
|
10
10
|
## Example
|
@@ -7,12 +7,12 @@
|
|
7
7
|
| **id** | **String** | ID of the transaction | |
|
8
8
|
| **event_type** | **String** | | |
|
9
9
|
| **status** | [**InAppTransactionEventStatus**](InAppTransactionEventStatus.md) | | |
|
10
|
-
| **balance** | **Float** | The running balance of the account after the transaction has occurred, in cents. | [optional] |
|
11
10
|
| **amount** | **Float** | | |
|
12
|
-
| **
|
11
|
+
| **iso_currency_code** | **String** | The ISO-4217 currency code. | |
|
13
12
|
| **transaction_type** | [**TransactionEventType**](TransactionEventType.md) | | |
|
14
|
-
| **
|
13
|
+
| **merchant_name** | **String** | | |
|
15
14
|
| **timestamp** | **String** | Datetime of the transaction In ISO-8601 format | |
|
15
|
+
| **balance** | **Float** | The running balance of the account after the transaction has occurred, in cents. | [optional] |
|
16
16
|
|
17
17
|
## Example
|
18
18
|
|
@@ -23,12 +23,12 @@ instance = FuseClient::InAppTransactionEvent.new(
|
|
23
23
|
id: null,
|
24
24
|
event_type: null,
|
25
25
|
status: null,
|
26
|
-
balance: null,
|
27
26
|
amount: null,
|
28
|
-
merchant_name: null,
|
29
|
-
transaction_type: null,
|
30
27
|
iso_currency_code: null,
|
31
|
-
|
28
|
+
transaction_type: null,
|
29
|
+
merchant_name: null,
|
30
|
+
timestamp: null,
|
31
|
+
balance: null
|
32
32
|
)
|
33
33
|
```
|
34
34
|
|
data/docs/Merchant.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::Merchant
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | A Fuse defined, unique ID for the merchant associated with this transaction. | |
|
8
|
+
| **name** | **String** | The name of the merchant. | |
|
9
|
+
| **logo** | [**MerchantLogo**](MerchantLogo.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::Merchant.new(
|
17
|
+
id: null,
|
18
|
+
name: null,
|
19
|
+
logo: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# FuseClient::
|
1
|
+
# FuseClient::MerchantLogo
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'fuse_client'
|
13
13
|
|
14
|
-
instance = FuseClient::
|
14
|
+
instance = FuseClient::MerchantLogo.new(
|
15
15
|
url: null
|
16
16
|
)
|
17
17
|
```
|
data/docs/SpendPower.md
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
| **pending_payments_amount** | **Float** | The total unpaid amount, in cents, from all timeframes. | |
|
12
12
|
| **iso_currency_code** | **String** | The ISO-4217 currency code of the transaction | |
|
13
13
|
| **last_updated** | **String** | The datetime of when the spend power was most recently updated, in ISO-8601 format. | |
|
14
|
+
| **finance_score** | [**FinanceScore**](FinanceScore.md) | | |
|
15
|
+
| **predicted_balance** | **Float** | Predicted balance for the timeframe. | |
|
14
16
|
|
15
17
|
## Example
|
16
18
|
|
@@ -24,7 +26,9 @@ instance = FuseClient::SpendPower.new(
|
|
24
26
|
current_spend: null,
|
25
27
|
pending_payments_amount: null,
|
26
28
|
iso_currency_code: null,
|
27
|
-
last_updated: null
|
29
|
+
last_updated: null,
|
30
|
+
finance_score: null,
|
31
|
+
predicted_balance: null
|
28
32
|
)
|
29
33
|
```
|
30
34
|
|
@@ -6,8 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | The id of the spend power customization | |
|
8
8
|
| **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | |
|
9
|
-
| **min_limit** | **
|
10
|
-
| **max_limit** | **
|
9
|
+
| **min_limit** | **Integer** | The minimum allowed limit for the spend power, in cents. | |
|
10
|
+
| **max_limit** | **Integer** | The maximum allowed limit for the spend power, in cents. | |
|
11
|
+
| **risk_tolerance** | **Integer** | This parameter indicates the risk tolerance associated with spend limits. A high risk tolerance allow for higher limits, increasing both potential gains and losses. A Lower risk tolerance enforces strict limits, reducing the potential for loss but also limiting transaction volume for reliable users. | [optional] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -18,7 +19,8 @@ instance = FuseClient::SpendPowerCustomization.new(
|
|
18
19
|
id: null,
|
19
20
|
timeframe: null,
|
20
21
|
min_limit: null,
|
21
|
-
max_limit: null
|
22
|
+
max_limit: null,
|
23
|
+
risk_tolerance: null
|
22
24
|
)
|
23
25
|
```
|
24
26
|
|
data/docs/Transaction.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_id** | **String** | Remote Id of the transaction, ie Plaid or Teller Id | |
|
8
|
+
| **fingerprint** | **String** | Uniquely identifies this account across all transactions for a single financial connection. Used for reconnection deduplication. This field may or may not be present depending on if a transaction can be uniquely identified. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | [optional] |
|
8
9
|
| **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
|
9
10
|
| **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
11
|
| **date** | **String** | Date of the transaction (YYYY-MM-DD) | |
|
@@ -23,6 +24,7 @@ require 'fuse_client'
|
|
23
24
|
|
24
25
|
instance = FuseClient::Transaction.new(
|
25
26
|
remote_id: null,
|
27
|
+
fingerprint: null,
|
26
28
|
remote_account_id: null,
|
27
29
|
amount: null,
|
28
30
|
date: null,
|
data/docs/TransactionToEnrich.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
| **id** | **String** | A unique ID for the transaction that to help you tie data back to your systems. | |
|
8
8
|
| **merchant_name** | **String** | The name of the merchant. | |
|
9
9
|
| **mcc** | **String** | The merchant category code. | [optional] |
|
10
|
-
| **amount** | **Float** | The amount of the transaction in cents, in the currency of the account.
|
10
|
+
| **amount** | **Float** | The amount of the transaction in cents, in the currency of the account. | [optional] |
|
11
11
|
| **type** | **String** | The type of the transaction | [optional] |
|
12
12
|
|
13
13
|
## Example
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | [optional] |
|
8
8
|
| **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | [optional] |
|
9
9
|
| **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | [optional] |
|
10
|
+
| **risk_tolerance** | **Float** | This parameter indicates the risk tolerance associated with spend limits. A high risk tolerance allow for higher limits, increasing both potential gains and losses. A Lower risk tolerance enforces strict limits, reducing the potential for loss but also limiting transaction volume for reliable users. | [optional] |
|
10
11
|
|
11
12
|
## Example
|
12
13
|
|
@@ -16,7 +17,8 @@ require 'fuse_client'
|
|
16
17
|
instance = FuseClient::UpdateSpendPowerCustomizationRequest.new(
|
17
18
|
timeframe: null,
|
18
19
|
min_limit: null,
|
19
|
-
max_limit: null
|
20
|
+
max_limit: null,
|
21
|
+
risk_tolerance: null
|
20
22
|
)
|
21
23
|
```
|
22
24
|
|
data/docs/UpdatedBalanceEvent.md
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **event_type** | **String** | | |
|
8
|
-
| **available** | **Float** | The current balance of the account factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
|
9
|
-
| **current** | **Float** | The current balance of the account without factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
|
10
8
|
| **iso_currency_code** | **String** | The ISO-4217 currency code. | |
|
11
9
|
| **timestamp** | **String** | Datetime that the balance is accurate for In ISO-8601 format | |
|
10
|
+
| **available** | **Float** | The current balance of the account factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
|
11
|
+
| **current** | **Float** | The current balance of the account without factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -17,10 +17,10 @@ require 'fuse_client'
|
|
17
17
|
|
18
18
|
instance = FuseClient::UpdatedBalanceEvent.new(
|
19
19
|
event_type: null,
|
20
|
-
available: null,
|
21
|
-
current: null,
|
22
20
|
iso_currency_code: null,
|
23
|
-
timestamp: null
|
21
|
+
timestamp: null,
|
22
|
+
available: null,
|
23
|
+
current: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|