fuse_client 1.0.33 → 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 +7 -1
- data/docs/AddAccountEventsRequest.md +18 -0
- data/docs/AddAccountEventsRequestEventsInner.md +51 -0
- data/docs/{AddSpendPowerTransactionResponse.md → AddAccountEventsResponse.md} +2 -2
- data/docs/AssetReportTransaction.md +1 -1
- 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/CreateSessionRequest.md +1 -1
- data/docs/CreateSpendPowerCustomizationRequest.md +24 -0
- data/docs/CreateSpendPowerRequest.md +5 -5
- data/docs/CreateSpendPowerResponse.md +1 -1
- data/docs/DeleteSpendPowerResponse.md +2 -2
- data/docs/EnrichTransactionsRequest.md +18 -0
- data/docs/EnrichTransactionsResponse.md +18 -0
- data/docs/EnrichedTransaction.md +48 -0
- data/docs/EvalSpendPowerRequest.md +22 -0
- data/docs/EvalSpendPowerRequestEventsInner.md +20 -0
- data/docs/EvalSpendPowerResponse.md +24 -0
- data/docs/ExternalTransactionEvent.md +34 -0
- data/docs/ExternalTransactionEventStatus.md +15 -0
- 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/FinancialConnectionsAccountBalance.md +2 -2
- data/docs/FinancialConnectionsAccountCachedBalance.md +2 -2
- data/docs/FinancialConnectionsAccountDetails.md +3 -1
- data/docs/FinancialConnectionsAccountLiability.md +3 -1
- data/docs/FinancialConnectionsHolding.md +3 -3
- data/docs/FinancialConnectionsInvestmentSecurity.md +1 -1
- data/docs/FinancialConnectionsInvestmentTransaction.md +5 -3
- data/docs/FinancialConnectionsInvestmentTransactionSubtype.md +15 -0
- data/docs/FuseApi.md +272 -35
- data/docs/GetFinanceScoreResponse.md +20 -0
- data/docs/GetInvestmentTransactionsRequest.md +4 -4
- data/docs/GetSpendPowerCustomizationResponse.md +20 -0
- data/docs/InAppTransactionEvent.md +34 -0
- data/docs/InAppTransactionEventStatus.md +15 -0
- data/docs/Merchant.md +22 -0
- data/docs/MerchantLogo.md +18 -0
- data/docs/SpendPower.md +11 -7
- data/docs/SpendPowerApi.md +87 -44
- data/docs/SpendPowerCustomization.md +8 -4
- data/docs/SpendPowerTimeFrame.md +15 -0
- data/docs/Transaction.md +3 -1
- 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 +24 -0
- data/docs/UpdatedBalanceEvent.md +26 -0
- data/fuse_client.gemspec +1 -1
- data/lib/fuse_client/api/fuse_api.rb +241 -32
- data/lib/fuse_client/api/spend_power_api.rb +79 -53
- 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 +254 -0
- data/lib/fuse_client/models/add_account_events_request_events_inner.rb +106 -0
- data/lib/fuse_client/models/{add_spend_power_transaction_response.rb → add_account_events_response.rb} +4 -4
- 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 +2 -2
- data/lib/fuse_client/models/country_code.rb +7 -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 +2 -2
- data/lib/fuse_client/models/create_session_response.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_customization_request.rb +357 -0
- data/lib/fuse_client/models/create_spend_power_customization_response.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_request.rb +23 -23
- data/lib/fuse_client/models/create_spend_power_response.rb +2 -2
- 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 +12 -11
- 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 +407 -0
- data/lib/fuse_client/models/entity.rb +1 -1
- 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 +250 -0
- 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 +370 -0
- data/lib/fuse_client/models/external_transaction_event_status.rb +40 -0
- 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 +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 +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 +4 -4
- data/lib/fuse_client/models/financial_connections_investment_security.rb +2 -2
- 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 +14 -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 +1 -1
- data/lib/fuse_client/models/fuse_api_error.rb +1 -1
- data/lib/fuse_client/models/fuse_api_error_code.rb +7 -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 +239 -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 +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 +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 +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 +239 -0
- data/lib/fuse_client/models/get_spend_power_response.rb +1 -1
- data/lib/fuse_client/models/in_app_transaction_event.rb +369 -0
- data/lib/fuse_client/models/in_app_transaction_event_status.rb +41 -0
- data/lib/fuse_client/models/merchant.rb +249 -0
- data/lib/fuse_client/models/merchant_logo.rb +220 -0
- 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 +51 -22
- data/lib/fuse_client/models/spend_power_customization.rb +91 -17
- 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 +13 -3
- data/lib/fuse_client/models/transaction_category.rb +260 -0
- data/lib/fuse_client/models/transaction_category_detailed.rb +156 -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/{add_spend_power_transaction_request.rb → transaction_to_enrich.rb} +48 -28
- 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 +325 -0
- data/lib/fuse_client/models/update_spend_power_customization_response.rb +1 -1
- data/lib/fuse_client/models/updated_balance_event.rb +308 -0
- 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 +57 -3
- data/spec/api/fuse_api_spec.rb +72 -34
- data/spec/api/spend_power_api_spec.rb +16 -19
- 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/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 +52 -0
- data/spec/models/create_spend_power_customization_response_spec.rb +3 -3
- data/spec/models/create_spend_power_request_spec.rb +6 -6
- 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 +4 -4
- 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_spec.rb +128 -0
- data/spec/models/entity_spec.rb +4 -4
- 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 +52 -0
- 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 +86 -0
- data/spec/models/external_transaction_event_status_spec.rb +28 -0
- 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 +19 -13
- data/spec/models/financial_connections_investment_transaction_subtype_spec.rb +28 -0
- 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 +40 -0
- 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 +40 -0
- data/spec/models/get_spend_power_response_spec.rb +3 -3
- 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/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 +16 -8
- data/spec/models/spend_power_spec.rb +21 -9
- data/spec/models/spend_power_time_frame_spec.rb +28 -0
- 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 +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 +2 -2
- data/spec/models/transaction_spec.rb +18 -12
- data/spec/models/transaction_to_enrich_spec.rb +62 -0
- 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 +52 -0
- data/spec/models/update_spend_power_customization_response_spec.rb +3 -3
- data/spec/models/updated_balance_event_spec.rb +62 -0
- 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 +226 -10
- data/docs/AddSpendPowerTransactionRequest.md +0 -22
- data/spec/models/add_spend_power_transaction_request_spec.rb +0 -50
- data/spec/models/add_spend_power_transaction_response_spec.rb +0 -40
@@ -7,14 +7,15 @@
|
|
7
7
|
| **remote_id** | **String** | The remote ID of the Investment transaction | |
|
8
8
|
| **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
|
9
9
|
| **account_name** | **String** | The name of the account associated with the investment transaction | [optional] |
|
10
|
-
| **amount** | **Float** | The amount of the investment transaction | |
|
10
|
+
| **amount** | **Float** | The amount of the investment transaction, in cents. The format of this value is a double. | |
|
11
11
|
| **description** | **String** | A description of the investment transaction | |
|
12
|
-
| **fees** | **Float** | The fees associated with the investment transaction | |
|
12
|
+
| **fees** | **Float** | The fees associated with the investment transaction, in cents. The format of this value is a double. | |
|
13
13
|
| **currency** | [**Currency**](Currency.md) | | |
|
14
14
|
| **date** | **Time** | The date and time of the investment transaction | |
|
15
15
|
| **type** | **String** | The type of the investment transaction (e.g., 'buy', 'sell', 'dividend') | |
|
16
|
+
| **subtype** | [**FinancialConnectionsInvestmentTransactionSubtype**](FinancialConnectionsInvestmentTransactionSubtype.md) | | [optional] |
|
16
17
|
| **quantity** | **Float** | The number of units of the security involved in this transaction | |
|
17
|
-
| **price** | **Float** | The price of the security involved in this transaction | |
|
18
|
+
| **price** | **Float** | The price of the security involved in this transaction, in cents. The format of this value is a double. | |
|
18
19
|
| **security** | [**FinancialConnectionsInvestmentSecurity**](FinancialConnectionsInvestmentSecurity.md) | | |
|
19
20
|
|
20
21
|
## Example
|
@@ -32,6 +33,7 @@ instance = FuseClient::FinancialConnectionsInvestmentTransaction.new(
|
|
32
33
|
currency: null,
|
33
34
|
date: null,
|
34
35
|
type: null,
|
36
|
+
subtype: null,
|
35
37
|
quantity: null,
|
36
38
|
price: null,
|
37
39
|
security: null
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FuseClient::FinancialConnectionsInvestmentTransactionSubtype
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'fuse_client'
|
12
|
+
|
13
|
+
instance = FuseClient::FinancialConnectionsInvestmentTransactionSubtype.new()
|
14
|
+
```
|
15
|
+
|
data/docs/FuseApi.md
CHANGED
@@ -4,16 +4,19 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**
|
7
|
+
| [**add_account_events**](FuseApi.md#add_account_events) | **POST** /v1/accounts/{account_id}/events | |
|
8
8
|
| [**create_asset_report**](FuseApi.md#create_asset_report) | **POST** /v1/financial_connections/asset_report/create | |
|
9
9
|
| [**create_link_token**](FuseApi.md#create_link_token) | **POST** /v1/link/token | |
|
10
10
|
| [**create_session**](FuseApi.md#create_session) | **POST** /v1/session | |
|
11
|
-
| [**create_spend_power**](FuseApi.md#create_spend_power) | **POST** /v1/
|
12
|
-
| [**create_spend_power_customization**](FuseApi.md#create_spend_power_customization) | **POST** /v1/
|
11
|
+
| [**create_spend_power**](FuseApi.md#create_spend_power) | **POST** /v1/spend_power | |
|
12
|
+
| [**create_spend_power_customization**](FuseApi.md#create_spend_power_customization) | **POST** /v1/spend_power/customization | |
|
13
13
|
| [**delete_financial_connection**](FuseApi.md#delete_financial_connection) | **DELETE** /v1/financial_connections/{financial_connection_id_to_delete} | Delete a financial connection |
|
14
|
+
| [**enrich_transactions**](FuseApi.md#enrich_transactions) | **POST** /v1/transactions/enrich | |
|
14
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 |
|
15
17
|
| [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/financial_connections/asset_report | |
|
16
18
|
| [**get_entity**](FuseApi.md#get_entity) | **GET** /v1/entities/{entity_id} | Get entity |
|
19
|
+
| [**get_finance_score**](FuseApi.md#get_finance_score) | **GET** /v1/accounts/{account_id}/finance_score | Get finance score |
|
17
20
|
| [**get_financial_connection**](FuseApi.md#get_financial_connection) | **GET** /v1/financial_connections/{financial_connection_id} | Get financial connection details |
|
18
21
|
| [**get_financial_connections_account_details**](FuseApi.md#get_financial_connections_account_details) | **POST** /v1/financial_connections/accounts/details | Get account details |
|
19
22
|
| [**get_financial_connections_account_statement**](FuseApi.md#get_financial_connections_account_statement) | **POST** /v1/financial_connections/accounts/statement | |
|
@@ -24,17 +27,17 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
24
27
|
| [**get_financial_institution**](FuseApi.md#get_financial_institution) | **GET** /v1/financial_connections/institutions/{institution_id} | Get a financial institution |
|
25
28
|
| [**get_investment_holdings**](FuseApi.md#get_investment_holdings) | **POST** /v1/financial_connections/investments/holdings | Get investment holdings |
|
26
29
|
| [**get_investment_transactions**](FuseApi.md#get_investment_transactions) | **POST** /v1/financial_connections/investments/transactions | Get investment transactions |
|
27
|
-
| [**get_spend_power**](FuseApi.md#get_spend_power) | **GET** /v1/
|
30
|
+
| [**get_spend_power**](FuseApi.md#get_spend_power) | **GET** /v1/spend_power/{spend_power_id} | Get spend power |
|
28
31
|
| [**migrate_financial_connection**](FuseApi.md#migrate_financial_connection) | **POST** /v1/financial_connections/migrate | Migrate financial connection |
|
29
32
|
| [**refresh_asset_report**](FuseApi.md#refresh_asset_report) | **POST** /v1/financial_connections/asset_report/refresh | |
|
30
33
|
| [**sync_financial_connections_data**](FuseApi.md#sync_financial_connections_data) | **POST** /v1/financial_connections/sync | Sync financial connections data |
|
31
|
-
| [**update_spend_power_customization**](FuseApi.md#update_spend_power_customization) | **POST** /v1/
|
34
|
+
| [**update_spend_power_customization**](FuseApi.md#update_spend_power_customization) | **POST** /v1/spend_power/customization/{spend_power_customization_id} | Update spend power customization |
|
32
35
|
| [**v1_financial_connections_liabilities_post**](FuseApi.md#v1_financial_connections_liabilities_post) | **POST** /v1/financial_connections/liabilities | Get liabilities |
|
33
36
|
|
34
37
|
|
35
|
-
##
|
38
|
+
## add_account_events
|
36
39
|
|
37
|
-
> <
|
40
|
+
> <AddAccountEventsResponse> add_account_events(account_id, opts)
|
38
41
|
|
39
42
|
|
40
43
|
|
@@ -57,35 +60,35 @@ FuseClient.configure do |config|
|
|
57
60
|
end
|
58
61
|
|
59
62
|
api_instance = FuseClient::FuseApi.new
|
60
|
-
|
63
|
+
account_id = 'account_id_example' # String |
|
61
64
|
opts = {
|
62
|
-
|
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 |
|
63
66
|
}
|
64
67
|
|
65
68
|
begin
|
66
69
|
|
67
|
-
result = api_instance.
|
70
|
+
result = api_instance.add_account_events(account_id, opts)
|
68
71
|
p result
|
69
72
|
rescue FuseClient::ApiError => e
|
70
|
-
puts "Error when calling FuseApi->
|
73
|
+
puts "Error when calling FuseApi->add_account_events: #{e}"
|
71
74
|
end
|
72
75
|
```
|
73
76
|
|
74
|
-
#### Using the
|
77
|
+
#### Using the add_account_events_with_http_info variant
|
75
78
|
|
76
79
|
This returns an Array which contains the response data, status code and headers.
|
77
80
|
|
78
|
-
> <Array(<
|
81
|
+
> <Array(<AddAccountEventsResponse>, Integer, Hash)> add_account_events_with_http_info(account_id, opts)
|
79
82
|
|
80
83
|
```ruby
|
81
84
|
begin
|
82
85
|
|
83
|
-
data, status_code, headers = api_instance.
|
86
|
+
data, status_code, headers = api_instance.add_account_events_with_http_info(account_id, opts)
|
84
87
|
p status_code # => 2xx
|
85
88
|
p headers # => { ... }
|
86
|
-
p data # => <
|
89
|
+
p data # => <AddAccountEventsResponse>
|
87
90
|
rescue FuseClient::ApiError => e
|
88
|
-
puts "Error when calling FuseApi->
|
91
|
+
puts "Error when calling FuseApi->add_account_events_with_http_info: #{e}"
|
89
92
|
end
|
90
93
|
```
|
91
94
|
|
@@ -93,12 +96,12 @@ end
|
|
93
96
|
|
94
97
|
| Name | Type | Description | Notes |
|
95
98
|
| ---- | ---- | ----------- | ----- |
|
96
|
-
| **
|
97
|
-
| **
|
99
|
+
| **account_id** | **String** | | |
|
100
|
+
| **add_account_events_request** | [**AddAccountEventsRequest**](AddAccountEventsRequest.md) | | [optional] |
|
98
101
|
|
99
102
|
### Return type
|
100
103
|
|
101
|
-
[**
|
104
|
+
[**AddAccountEventsResponse**](AddAccountEventsResponse.md)
|
102
105
|
|
103
106
|
### Authorization
|
104
107
|
|
@@ -372,7 +375,7 @@ end
|
|
372
375
|
|
373
376
|
api_instance = FuseClient::FuseApi.new
|
374
377
|
opts = {
|
375
|
-
create_spend_power_request: FuseClient::CreateSpendPowerRequest.new({
|
378
|
+
create_spend_power_request: FuseClient::CreateSpendPowerRequest.new({account_id: 'account_id_example', iso_currency_code: 'iso_currency_code_example', customization_id: 'customization_id_example'}) # CreateSpendPowerRequest |
|
376
379
|
}
|
377
380
|
|
378
381
|
begin
|
@@ -448,7 +451,7 @@ end
|
|
448
451
|
|
449
452
|
api_instance = FuseClient::FuseApi.new
|
450
453
|
opts = {
|
451
|
-
|
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 |
|
452
455
|
}
|
453
456
|
|
454
457
|
begin
|
@@ -482,7 +485,7 @@ end
|
|
482
485
|
|
483
486
|
| Name | Type | Description | Notes |
|
484
487
|
| ---- | ---- | ----------- | ----- |
|
485
|
-
| **
|
488
|
+
| **create_spend_power_customization_request** | [**CreateSpendPowerCustomizationRequest**](CreateSpendPowerCustomizationRequest.md) | | [optional] |
|
486
489
|
|
487
490
|
### Return type
|
488
491
|
|
@@ -572,6 +575,86 @@ end
|
|
572
575
|
- **Accept**: application/json
|
573
576
|
|
574
577
|
|
578
|
+
## enrich_transactions
|
579
|
+
|
580
|
+
> <EnrichTransactionsResponse> enrich_transactions(fuse_client_id, fuse_api_key, opts)
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
### Examples
|
585
|
+
|
586
|
+
```ruby
|
587
|
+
require 'time'
|
588
|
+
require 'fuse_client'
|
589
|
+
# setup authorization
|
590
|
+
FuseClient.configure do |config|
|
591
|
+
# Configure API key authorization: fuseApiKey
|
592
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
593
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
594
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
595
|
+
|
596
|
+
# Configure API key authorization: fuseClientId
|
597
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
598
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
599
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
600
|
+
end
|
601
|
+
|
602
|
+
api_instance = FuseClient::FuseApi.new
|
603
|
+
fuse_client_id = 'fuse_client_id_example' # String |
|
604
|
+
fuse_api_key = 'fuse_api_key_example' # String |
|
605
|
+
opts = {
|
606
|
+
enrich_transactions_request: FuseClient::EnrichTransactionsRequest.new({transactions: [FuseClient::TransactionToEnrich.new({id: 'id_example', merchant_name: 'merchant_name_example'})]}) # EnrichTransactionsRequest |
|
607
|
+
}
|
608
|
+
|
609
|
+
begin
|
610
|
+
|
611
|
+
result = api_instance.enrich_transactions(fuse_client_id, fuse_api_key, opts)
|
612
|
+
p result
|
613
|
+
rescue FuseClient::ApiError => e
|
614
|
+
puts "Error when calling FuseApi->enrich_transactions: #{e}"
|
615
|
+
end
|
616
|
+
```
|
617
|
+
|
618
|
+
#### Using the enrich_transactions_with_http_info variant
|
619
|
+
|
620
|
+
This returns an Array which contains the response data, status code and headers.
|
621
|
+
|
622
|
+
> <Array(<EnrichTransactionsResponse>, Integer, Hash)> enrich_transactions_with_http_info(fuse_client_id, fuse_api_key, opts)
|
623
|
+
|
624
|
+
```ruby
|
625
|
+
begin
|
626
|
+
|
627
|
+
data, status_code, headers = api_instance.enrich_transactions_with_http_info(fuse_client_id, fuse_api_key, opts)
|
628
|
+
p status_code # => 2xx
|
629
|
+
p headers # => { ... }
|
630
|
+
p data # => <EnrichTransactionsResponse>
|
631
|
+
rescue FuseClient::ApiError => e
|
632
|
+
puts "Error when calling FuseApi->enrich_transactions_with_http_info: #{e}"
|
633
|
+
end
|
634
|
+
```
|
635
|
+
|
636
|
+
### Parameters
|
637
|
+
|
638
|
+
| Name | Type | Description | Notes |
|
639
|
+
| ---- | ---- | ----------- | ----- |
|
640
|
+
| **fuse_client_id** | **String** | | |
|
641
|
+
| **fuse_api_key** | **String** | | |
|
642
|
+
| **enrich_transactions_request** | [**EnrichTransactionsRequest**](EnrichTransactionsRequest.md) | | [optional] |
|
643
|
+
|
644
|
+
### Return type
|
645
|
+
|
646
|
+
[**EnrichTransactionsResponse**](EnrichTransactionsResponse.md)
|
647
|
+
|
648
|
+
### Authorization
|
649
|
+
|
650
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
651
|
+
|
652
|
+
### HTTP request headers
|
653
|
+
|
654
|
+
- **Content-Type**: application/json
|
655
|
+
- **Accept**: application/json
|
656
|
+
|
657
|
+
|
575
658
|
## exchange_financial_connections_public_token
|
576
659
|
|
577
660
|
> <ExchangeFinancialConnectionsPublicTokenResponse> exchange_financial_connections_public_token(opts)
|
@@ -650,6 +733,84 @@ end
|
|
650
733
|
- **Accept**: application/json
|
651
734
|
|
652
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
|
+
|
653
814
|
## get_asset_report
|
654
815
|
|
655
816
|
> <RefreshAssetReportResponse> get_asset_report(opts)
|
@@ -804,6 +965,80 @@ end
|
|
804
965
|
- **Accept**: application/json
|
805
966
|
|
806
967
|
|
968
|
+
## get_finance_score
|
969
|
+
|
970
|
+
> <GetFinanceScoreResponse> get_finance_score(account_id)
|
971
|
+
|
972
|
+
Get finance score
|
973
|
+
|
974
|
+
### Examples
|
975
|
+
|
976
|
+
```ruby
|
977
|
+
require 'time'
|
978
|
+
require 'fuse_client'
|
979
|
+
# setup authorization
|
980
|
+
FuseClient.configure do |config|
|
981
|
+
# Configure API key authorization: fuseApiKey
|
982
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
983
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
984
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
985
|
+
|
986
|
+
# Configure API key authorization: fuseClientId
|
987
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
988
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
989
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
990
|
+
end
|
991
|
+
|
992
|
+
api_instance = FuseClient::FuseApi.new
|
993
|
+
account_id = 'account_id_example' # String |
|
994
|
+
|
995
|
+
begin
|
996
|
+
# Get finance score
|
997
|
+
result = api_instance.get_finance_score(account_id)
|
998
|
+
p result
|
999
|
+
rescue FuseClient::ApiError => e
|
1000
|
+
puts "Error when calling FuseApi->get_finance_score: #{e}"
|
1001
|
+
end
|
1002
|
+
```
|
1003
|
+
|
1004
|
+
#### Using the get_finance_score_with_http_info variant
|
1005
|
+
|
1006
|
+
This returns an Array which contains the response data, status code and headers.
|
1007
|
+
|
1008
|
+
> <Array(<GetFinanceScoreResponse>, Integer, Hash)> get_finance_score_with_http_info(account_id)
|
1009
|
+
|
1010
|
+
```ruby
|
1011
|
+
begin
|
1012
|
+
# Get finance score
|
1013
|
+
data, status_code, headers = api_instance.get_finance_score_with_http_info(account_id)
|
1014
|
+
p status_code # => 2xx
|
1015
|
+
p headers # => { ... }
|
1016
|
+
p data # => <GetFinanceScoreResponse>
|
1017
|
+
rescue FuseClient::ApiError => e
|
1018
|
+
puts "Error when calling FuseApi->get_finance_score_with_http_info: #{e}"
|
1019
|
+
end
|
1020
|
+
```
|
1021
|
+
|
1022
|
+
### Parameters
|
1023
|
+
|
1024
|
+
| Name | Type | Description | Notes |
|
1025
|
+
| ---- | ---- | ----------- | ----- |
|
1026
|
+
| **account_id** | **String** | | |
|
1027
|
+
|
1028
|
+
### Return type
|
1029
|
+
|
1030
|
+
[**GetFinanceScoreResponse**](GetFinanceScoreResponse.md)
|
1031
|
+
|
1032
|
+
### Authorization
|
1033
|
+
|
1034
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1035
|
+
|
1036
|
+
### HTTP request headers
|
1037
|
+
|
1038
|
+
- **Content-Type**: Not defined
|
1039
|
+
- **Accept**: application/json
|
1040
|
+
|
1041
|
+
|
807
1042
|
## get_financial_connection
|
808
1043
|
|
809
1044
|
> <GetFinancialConnectionResponse> get_financial_connection(financial_connection_id)
|
@@ -1501,7 +1736,7 @@ FuseClient.configure do |config|
|
|
1501
1736
|
end
|
1502
1737
|
|
1503
1738
|
api_instance = FuseClient::FuseApi.new
|
1504
|
-
get_investment_transactions_request = FuseClient::GetInvestmentTransactionsRequest.new({access_token: 'access_token_example'}) # GetInvestmentTransactionsRequest |
|
1739
|
+
get_investment_transactions_request = FuseClient::GetInvestmentTransactionsRequest.new({access_token: 'access_token_example', start_date: 'start_date_example', end_date: 'end_date_example', page: 37, records_per_page: 37}) # GetInvestmentTransactionsRequest |
|
1505
1740
|
|
1506
1741
|
begin
|
1507
1742
|
# Get investment transactions
|
@@ -1554,7 +1789,7 @@ end
|
|
1554
1789
|
|
1555
1790
|
> <GetSpendPowerResponse> get_spend_power(spend_power_id)
|
1556
1791
|
|
1557
|
-
|
1792
|
+
Get spend power
|
1558
1793
|
|
1559
1794
|
### Examples
|
1560
1795
|
|
@@ -1578,7 +1813,7 @@ api_instance = FuseClient::FuseApi.new
|
|
1578
1813
|
spend_power_id = 'spend_power_id_example' # String |
|
1579
1814
|
|
1580
1815
|
begin
|
1581
|
-
|
1816
|
+
# Get spend power
|
1582
1817
|
result = api_instance.get_spend_power(spend_power_id)
|
1583
1818
|
p result
|
1584
1819
|
rescue FuseClient::ApiError => e
|
@@ -1594,7 +1829,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1594
1829
|
|
1595
1830
|
```ruby
|
1596
1831
|
begin
|
1597
|
-
|
1832
|
+
# Get spend power
|
1598
1833
|
data, status_code, headers = api_instance.get_spend_power_with_http_info(spend_power_id)
|
1599
1834
|
p status_code # => 2xx
|
1600
1835
|
p headers # => { ... }
|
@@ -1858,9 +2093,9 @@ end
|
|
1858
2093
|
|
1859
2094
|
## update_spend_power_customization
|
1860
2095
|
|
1861
|
-
> <UpdateSpendPowerCustomizationResponse> update_spend_power_customization(opts)
|
1862
|
-
|
2096
|
+
> <UpdateSpendPowerCustomizationResponse> update_spend_power_customization(spend_power_customization_id, opts)
|
1863
2097
|
|
2098
|
+
Update spend power customization
|
1864
2099
|
|
1865
2100
|
### Examples
|
1866
2101
|
|
@@ -1881,13 +2116,14 @@ FuseClient.configure do |config|
|
|
1881
2116
|
end
|
1882
2117
|
|
1883
2118
|
api_instance = FuseClient::FuseApi.new
|
2119
|
+
spend_power_customization_id = 'spend_power_customization_id_example' # String |
|
1884
2120
|
opts = {
|
1885
|
-
|
2121
|
+
update_spend_power_customization_request: FuseClient::UpdateSpendPowerCustomizationRequest.new # UpdateSpendPowerCustomizationRequest |
|
1886
2122
|
}
|
1887
2123
|
|
1888
2124
|
begin
|
1889
|
-
|
1890
|
-
result = api_instance.update_spend_power_customization(opts)
|
2125
|
+
# Update spend power customization
|
2126
|
+
result = api_instance.update_spend_power_customization(spend_power_customization_id, opts)
|
1891
2127
|
p result
|
1892
2128
|
rescue FuseClient::ApiError => e
|
1893
2129
|
puts "Error when calling FuseApi->update_spend_power_customization: #{e}"
|
@@ -1898,12 +2134,12 @@ end
|
|
1898
2134
|
|
1899
2135
|
This returns an Array which contains the response data, status code and headers.
|
1900
2136
|
|
1901
|
-
> <Array(<UpdateSpendPowerCustomizationResponse>, Integer, Hash)> update_spend_power_customization_with_http_info(opts)
|
2137
|
+
> <Array(<UpdateSpendPowerCustomizationResponse>, Integer, Hash)> update_spend_power_customization_with_http_info(spend_power_customization_id, opts)
|
1902
2138
|
|
1903
2139
|
```ruby
|
1904
2140
|
begin
|
1905
|
-
|
1906
|
-
data, status_code, headers = api_instance.update_spend_power_customization_with_http_info(opts)
|
2141
|
+
# Update spend power customization
|
2142
|
+
data, status_code, headers = api_instance.update_spend_power_customization_with_http_info(spend_power_customization_id, opts)
|
1907
2143
|
p status_code # => 2xx
|
1908
2144
|
p headers # => { ... }
|
1909
2145
|
p data # => <UpdateSpendPowerCustomizationResponse>
|
@@ -1916,7 +2152,8 @@ end
|
|
1916
2152
|
|
1917
2153
|
| Name | Type | Description | Notes |
|
1918
2154
|
| ---- | ---- | ----------- | ----- |
|
1919
|
-
| **
|
2155
|
+
| **spend_power_customization_id** | **String** | | |
|
2156
|
+
| **update_spend_power_customization_request** | [**UpdateSpendPowerCustomizationRequest**](UpdateSpendPowerCustomizationRequest.md) | | [optional] |
|
1920
2157
|
|
1921
2158
|
### Return type
|
1922
2159
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::GetFinanceScoreResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **finance_score** | [**FinanceScore**](FinanceScore.md) | | |
|
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::GetFinanceScoreResponse.new(
|
16
|
+
finance_score: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -5,10 +5,10 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **access_token** | **String** | Access token for authentication | |
|
8
|
-
| **start_date** | **String** | The earliest date for which data should be returned. Dates should be formatted as YYYY-MM-DD. |
|
9
|
-
| **end_date** | **String** | The latest date for which data should be returned. Dates should be formatted as YYYY-MM-DD. |
|
10
|
-
| **page** | **Integer** | Specify current page. |
|
11
|
-
| **records_per_page** | **Integer** | Number of items per page. | [
|
8
|
+
| **start_date** | **String** | The earliest date for which data should be returned. Dates should be formatted as YYYY-MM-DD. | |
|
9
|
+
| **end_date** | **String** | The latest date for which data should be returned. Dates should be formatted as YYYY-MM-DD. | |
|
10
|
+
| **page** | **Integer** | Specify current page. | |
|
11
|
+
| **records_per_page** | **Integer** | Number of items per page. | [default to 25] |
|
12
12
|
| **options** | [**GetInvestmentTransactionsRequestOptions**](GetInvestmentTransactionsRequestOptions.md) | | [optional] |
|
13
13
|
|
14
14
|
## Example
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::GetSpendPowerCustomizationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **spend_power_customization** | [**SpendPowerCustomization**](SpendPowerCustomization.md) | | |
|
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::GetSpendPowerCustomizationResponse.new(
|
16
|
+
spend_power_customization: null,
|
17
|
+
request_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# FuseClient::InAppTransactionEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | ID of the transaction | |
|
8
|
+
| **event_type** | **String** | | |
|
9
|
+
| **status** | [**InAppTransactionEventStatus**](InAppTransactionEventStatus.md) | | |
|
10
|
+
| **amount** | **Float** | | |
|
11
|
+
| **iso_currency_code** | **String** | The ISO-4217 currency code. | |
|
12
|
+
| **transaction_type** | [**TransactionEventType**](TransactionEventType.md) | | |
|
13
|
+
| **merchant_name** | **String** | | |
|
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
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'fuse_client'
|
21
|
+
|
22
|
+
instance = FuseClient::InAppTransactionEvent.new(
|
23
|
+
id: null,
|
24
|
+
event_type: null,
|
25
|
+
status: null,
|
26
|
+
amount: null,
|
27
|
+
iso_currency_code: null,
|
28
|
+
transaction_type: null,
|
29
|
+
merchant_name: null,
|
30
|
+
timestamp: null,
|
31
|
+
balance: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FuseClient::InAppTransactionEventStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'fuse_client'
|
12
|
+
|
13
|
+
instance = FuseClient::InAppTransactionEventStatus.new()
|
14
|
+
```
|
15
|
+
|
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
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::MerchantLogo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **url** | **String** | The URL of the logo. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::MerchantLogo.new(
|
15
|
+
url: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|