fuse_client 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '02886ed9535818b22f39447f40aae1f8ba44b781f434b682e1c438e084ac06d8'
|
4
|
+
data.tar.gz: 9f7a078ad93faaf0af259d32dce402ad0b82248d4b9f348fbc9261da97626e06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbc5cfad18c6a8fee2dec2c6cfea7c31c5d73d34538b22631aff3786e8ee38d68b4875ef01880074bd7e66478f9ccff3fbc45ccd11f0f50e0130f27f39caf315
|
7
|
+
data.tar.gz: b332f2afc3f34597f46b07d9146cfb1b20dea75b9ba731e9395155f7c3c3620f7062b6334a8f37508fe6639c8927a4bc5855e59546a374b9c4687d1ddc6fda30
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fuse_client (1.0.
|
4
|
+
fuse_client (1.0.35)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
ethon (0.16.0)
|
15
15
|
ffi (>= 1.15.0)
|
16
16
|
ffi (1.15.5)
|
17
|
-
jaro_winkler (1.5.
|
17
|
+
jaro_winkler (1.5.6)
|
18
18
|
method_source (1.0.0)
|
19
19
|
parallel (1.23.0)
|
20
20
|
parser (3.2.2.1)
|
@@ -51,7 +51,7 @@ GEM
|
|
51
51
|
ruby-progressbar (~> 1.7)
|
52
52
|
unicode-display_width (>= 1.4.0, < 1.6)
|
53
53
|
ruby-progressbar (1.13.0)
|
54
|
-
stringio (3.0.
|
54
|
+
stringio (3.0.7)
|
55
55
|
typhoeus (1.4.0)
|
56
56
|
ethon (>= 0.9.0)
|
57
57
|
unicode-display_width (1.5.0)
|
@@ -67,4 +67,4 @@ DEPENDENCIES
|
|
67
67
|
rubocop (~> 0.66.0)
|
68
68
|
|
69
69
|
BUNDLED WITH
|
70
|
-
2.4.
|
70
|
+
2.4.13
|
data/README.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **select_account** | **String** | The mode of account selection: - 'disabled': automatically connect all the supported financial accounts associated with this user's account at the institution (default). - 'single': the user will see a list of supported financial accounts and will need to select one to connect - 'multiple': the user will see a list of supported financial accounts and will need to select one or more to connect | [optional] |
|
8
|
+
| **account_filter** | [**CreateLinkTokenRequestTellerConfigAccountFilter**](CreateLinkTokenRequestTellerConfigAccountFilter.md) | | [optional] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'fuse_client'
|
13
14
|
|
14
15
|
instance = FuseClient::CreateLinkTokenRequestTellerConfig.new(
|
15
|
-
select_account: null
|
16
|
+
select_account: null,
|
17
|
+
account_filter: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestTellerConfigAccountFilter
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **depository** | [**CreateLinkTokenRequestTellerConfigAccountFilterDepository**](CreateLinkTokenRequestTellerConfigAccountFilterDepository.md) | | [optional] |
|
8
|
+
| **credit** | [**CreateLinkTokenRequestTellerConfigAccountFilterCredit**](CreateLinkTokenRequestTellerConfigAccountFilterCredit.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::CreateLinkTokenRequestTellerConfigAccountFilter.new(
|
16
|
+
depository: null,
|
17
|
+
credit: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterCredit
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterCredit.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'CreateLinkTokenRequestTellerConfigAccountFilterCreditOneOf',
|
18
|
+
# :'String'
|
19
|
+
# ]
|
20
|
+
```
|
21
|
+
|
22
|
+
### build
|
23
|
+
|
24
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
25
|
+
|
26
|
+
#### Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
require 'fuse_client'
|
30
|
+
|
31
|
+
FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterCredit.build(data)
|
32
|
+
# => #<CreateLinkTokenRequestTellerConfigAccountFilterCreditOneOf:0x00007fdd4aab02a0>
|
33
|
+
|
34
|
+
FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterCredit.build(data_that_doesnt_match)
|
35
|
+
# => nil
|
36
|
+
```
|
37
|
+
|
38
|
+
#### Parameters
|
39
|
+
|
40
|
+
| Name | Type | Description |
|
41
|
+
| ---- | ---- | ----------- |
|
42
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
43
|
+
|
44
|
+
#### Return type
|
45
|
+
|
46
|
+
- `CreateLinkTokenRequestTellerConfigAccountFilterCreditOneOf`
|
47
|
+
- `String`
|
48
|
+
- `nil` (if no type matches)
|
49
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterCreditOneOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **subtypes** | **Array<String>** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterCreditOneOf.new(
|
15
|
+
subtypes: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepository
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepository.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf',
|
18
|
+
# :'String'
|
19
|
+
# ]
|
20
|
+
```
|
21
|
+
|
22
|
+
### build
|
23
|
+
|
24
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
25
|
+
|
26
|
+
#### Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
require 'fuse_client'
|
30
|
+
|
31
|
+
FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepository.build(data)
|
32
|
+
# => #<CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf:0x00007fdd4aab02a0>
|
33
|
+
|
34
|
+
FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepository.build(data_that_doesnt_match)
|
35
|
+
# => nil
|
36
|
+
```
|
37
|
+
|
38
|
+
#### Parameters
|
39
|
+
|
40
|
+
| Name | Type | Description |
|
41
|
+
| ---- | ---- | ----------- |
|
42
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
43
|
+
|
44
|
+
#### Return type
|
45
|
+
|
46
|
+
- `CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf`
|
47
|
+
- `String`
|
48
|
+
- `nil` (if no type matches)
|
49
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **subtypes** | **Array<String>** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf.new(
|
15
|
+
subtypes: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | |
|
8
8
|
| **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | |
|
9
9
|
| **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | |
|
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. | |
|
10
11
|
|
11
12
|
## Example
|
12
13
|
|
@@ -16,7 +17,8 @@ require 'fuse_client'
|
|
16
17
|
instance = FuseClient::CreateSpendPowerCustomizationRequest.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/EnrichedTransaction.md
CHANGED
@@ -5,8 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | A original ID for the transaction that to help you tie data back to your systems. | |
|
8
|
+
| **merchant_id** | **String** | A Fuse defined, unique ID for the merchant associated with this transaction. | [optional] |
|
8
9
|
| **name** | **String** | The original or enhanced name of the merchant. | [optional] |
|
9
|
-
| **logo** | [**
|
10
|
+
| **logo** | [**MerchantLogo**](MerchantLogo.md) | | [optional] |
|
10
11
|
| **amount** | **Float** | The amount of the transaction in cents, in the currency of the account. | [optional] |
|
11
12
|
| **category** | [**TransactionCategory**](TransactionCategory.md) | | [optional] |
|
12
13
|
| **is_bill_pay** | **Boolean** | Whether the transaction is a bill pay. | [optional] |
|
@@ -27,6 +28,7 @@ require 'fuse_client'
|
|
27
28
|
|
28
29
|
instance = FuseClient::EnrichedTransaction.new(
|
29
30
|
id: null,
|
31
|
+
merchant_id: null,
|
30
32
|
name: null,
|
31
33
|
logo: null,
|
32
34
|
amount: null,
|
@@ -4,8 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
7
|
+
| **mean_granted_above_failed_payments** | **Float** | | [optional] |
|
8
|
+
| **mean_granted_below_failed_payments** | **Float** | | [optional] |
|
9
|
+
| **mean_predicted_limits** | **Float** | | [optional] |
|
10
|
+
| **mean_successful_payments** | **Float** | | [optional] |
|
9
11
|
|
10
12
|
## Example
|
11
13
|
|
@@ -13,8 +15,10 @@
|
|
13
15
|
require 'fuse_client'
|
14
16
|
|
15
17
|
instance = FuseClient::EvalSpendPowerResponse.new(
|
16
|
-
|
17
|
-
|
18
|
+
mean_granted_above_failed_payments: null,
|
19
|
+
mean_granted_below_failed_payments: null,
|
20
|
+
mean_predicted_limits: null,
|
21
|
+
mean_successful_payments: null
|
18
22
|
)
|
19
23
|
```
|
20
24
|
|
@@ -7,13 +7,12 @@
|
|
7
7
|
| **id** | **String** | ID of the transaction | |
|
8
8
|
| **event_type** | **String** | | |
|
9
9
|
| **status** | [**ExternalTransactionEventStatus**](ExternalTransactionEventStatus.md) | | |
|
10
|
-
| **balance** | **Float** | The running balance of the account after the transaction has occurred, in cents | [optional] |
|
11
10
|
| **amount** | **Float** | Use positive values to represent money going out and negative to represent money going in. | |
|
12
|
-
| **merchant_name** | **String** | | |
|
13
|
-
| **transaction_type** | [**TransactionEventType**](TransactionEventType.md) | | |
|
14
|
-
| **category** | [**TransactionCategory**](TransactionCategory.md) | | |
|
15
11
|
| **iso_currency_code** | **String** | The ISO-4217 currency code. | |
|
12
|
+
| **transaction_type** | [**TransactionEventType**](TransactionEventType.md) | | |
|
13
|
+
| **merchant_name** | **String** | | |
|
16
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] |
|
17
16
|
|
18
17
|
## Example
|
19
18
|
|
@@ -24,13 +23,12 @@ instance = FuseClient::ExternalTransactionEvent.new(
|
|
24
23
|
id: null,
|
25
24
|
event_type: null,
|
26
25
|
status: null,
|
27
|
-
balance: null,
|
28
26
|
amount: null,
|
29
|
-
merchant_name: null,
|
30
|
-
transaction_type: null,
|
31
|
-
category: null,
|
32
27
|
iso_currency_code: null,
|
33
|
-
|
28
|
+
transaction_type: null,
|
29
|
+
merchant_name: null,
|
30
|
+
timestamp: null,
|
31
|
+
balance: null
|
34
32
|
)
|
35
33
|
```
|
36
34
|
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# FuseClient::FinQLComparisonFeature
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **merchant_a** | [**Merchant**](Merchant.md) | | [optional] |
|
8
|
+
| **merchant_b** | [**Merchant**](Merchant.md) | | [optional] |
|
9
|
+
| **comparison_metric** | **String** | | [optional] |
|
10
|
+
| **value_a** | **String** | | [optional] |
|
11
|
+
| **value_b** | **String** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'fuse_client'
|
17
|
+
|
18
|
+
instance = FuseClient::FinQLComparisonFeature.new(
|
19
|
+
merchant_a: null,
|
20
|
+
merchant_b: null,
|
21
|
+
comparison_metric: null,
|
22
|
+
value_a: null,
|
23
|
+
value_b: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# FuseClient::FinQLFeature
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
FuseClient::FinQLFeature.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'FinQLFeatureOneOf',
|
18
|
+
# :'FinQLFeatureOneOf1',
|
19
|
+
# :'FinQLFeatureOneOf2',
|
20
|
+
# :'FinQLFeatureOneOf3',
|
21
|
+
# :'FinQLFeatureOneOf4',
|
22
|
+
# :'FinQLFeatureOneOf5',
|
23
|
+
# :'FinQLFeatureOneOf6',
|
24
|
+
# :'FinQLFeatureOneOf7'
|
25
|
+
# ]
|
26
|
+
```
|
27
|
+
|
28
|
+
### build
|
29
|
+
|
30
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
31
|
+
|
32
|
+
#### Example
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
require 'fuse_client'
|
36
|
+
|
37
|
+
FuseClient::FinQLFeature.build(data)
|
38
|
+
# => #<FinQLFeatureOneOf:0x00007fdd4aab02a0>
|
39
|
+
|
40
|
+
FuseClient::FinQLFeature.build(data_that_doesnt_match)
|
41
|
+
# => nil
|
42
|
+
```
|
43
|
+
|
44
|
+
#### Parameters
|
45
|
+
|
46
|
+
| Name | Type | Description |
|
47
|
+
| ---- | ---- | ----------- |
|
48
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
49
|
+
|
50
|
+
#### Return type
|
51
|
+
|
52
|
+
- `FinQLFeatureOneOf`
|
53
|
+
- `FinQLFeatureOneOf1`
|
54
|
+
- `FinQLFeatureOneOf2`
|
55
|
+
- `FinQLFeatureOneOf3`
|
56
|
+
- `FinQLFeatureOneOf4`
|
57
|
+
- `FinQLFeatureOneOf5`
|
58
|
+
- `FinQLFeatureOneOf6`
|
59
|
+
- `FinQLFeatureOneOf7`
|
60
|
+
- `nil` (if no type matches)
|
61
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **text** | **String** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf.new(
|
15
|
+
text: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf1
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **individual_merchant** | [**FinQLIndividualMerchantFeature**](FinQLIndividualMerchantFeature.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf1.new(
|
15
|
+
individual_merchant: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **time_based** | [**Array<FinQLTimeBasedFeatureInner>**](FinQLTimeBasedFeatureInner.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf2.new(
|
15
|
+
time_based: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf3
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **interest** | [**FinQLInterestFeature**](FinQLInterestFeature.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf3.new(
|
15
|
+
interest: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **frequency** | [**FinQLFrequencyFeature**](FinQLFrequencyFeature.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf4.new(
|
15
|
+
frequency: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf5
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **top_merchants** | [**Array<FinQLTopMerchantsFeatureInner>**](FinQLTopMerchantsFeatureInner.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf5.new(
|
15
|
+
top_merchants: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf6
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **comparison** | [**FinQLComparisonFeature**](FinQLComparisonFeature.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf6.new(
|
15
|
+
comparison: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLFeatureOneOf7
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **merchant_categories** | [**Array<FinQLMerchantCategoriesFeatureInner>**](FinQLMerchantCategoriesFeatureInner.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLFeatureOneOf7.new(
|
15
|
+
merchant_categories: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FuseClient::FinQLFeatureRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'fuse_client'
|
12
|
+
|
13
|
+
instance = FuseClient::FinQLFeatureRequest.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinQLFrequencyFeature
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **time_period** | **String** | | [optional] |
|
8
|
+
| **frequency** | **Float** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinQLFrequencyFeature.new(
|
16
|
+
time_period: null,
|
17
|
+
frequency: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinQLIndividualMerchantFeature
|
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::FinQLIndividualMerchantFeature.new(
|
16
|
+
merchant: null,
|
17
|
+
value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinQLInterestFeature
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **interest_level** | **Float** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinQLInterestFeature.new(
|
15
|
+
interest_level: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinQLMerchantCategoriesFeatureInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **category** | **String** | | [optional] |
|
8
|
+
| **result** | [**Array<FinQLMerchantCategoriesFeatureInnerResultInner>**](FinQLMerchantCategoriesFeatureInnerResultInner.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinQLMerchantCategoriesFeatureInner.new(
|
16
|
+
category: null,
|
17
|
+
result: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|