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
data/spec/api/fuse_api_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,14 +32,14 @@ describe 'FuseApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
36
|
-
# @param
|
35
|
+
# unit tests for add_account_events
|
36
|
+
# @param account_id
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [
|
39
|
-
# @return [
|
40
|
-
describe '
|
38
|
+
# @option opts [AddAccountEventsRequest] :add_account_events_request
|
39
|
+
# @return [AddAccountEventsResponse]
|
40
|
+
describe 'add_account_events test' do
|
41
41
|
it 'should work' do
|
42
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -50,7 +50,7 @@ describe 'FuseApi' do
|
|
50
50
|
# @return [CreateAssetReportResponse]
|
51
51
|
describe 'create_asset_report test' do
|
52
52
|
it 'should work' do
|
53
|
-
# assertion here. ref: https://
|
53
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
@@ -61,7 +61,7 @@ describe 'FuseApi' do
|
|
61
61
|
# @return [CreateLinkTokenResponse]
|
62
62
|
describe 'create_link_token test' do
|
63
63
|
it 'should work' do
|
64
|
-
# assertion here. ref: https://
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
@@ -72,7 +72,7 @@ describe 'FuseApi' do
|
|
72
72
|
# @return [CreateSessionResponse]
|
73
73
|
describe 'create_session test' do
|
74
74
|
it 'should work' do
|
75
|
-
# assertion here. ref: https://
|
75
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
@@ -83,17 +83,17 @@ describe 'FuseApi' do
|
|
83
83
|
# @return [CreateSpendPowerResponse]
|
84
84
|
describe 'create_spend_power test' do
|
85
85
|
it 'should work' do
|
86
|
-
# assertion here. ref: https://
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# unit tests for create_spend_power_customization
|
91
91
|
# @param [Hash] opts the optional parameters
|
92
|
-
# @option opts [
|
92
|
+
# @option opts [CreateSpendPowerCustomizationRequest] :create_spend_power_customization_request
|
93
93
|
# @return [CreateSpendPowerCustomizationResponse]
|
94
94
|
describe 'create_spend_power_customization test' do
|
95
95
|
it 'should work' do
|
96
|
-
# assertion here. ref: https://
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
@@ -104,7 +104,19 @@ describe 'FuseApi' do
|
|
104
104
|
# @return [DeleteFinancialConnectionResponse]
|
105
105
|
describe 'delete_financial_connection test' do
|
106
106
|
it 'should work' do
|
107
|
-
# assertion here. ref: https://
|
107
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# unit tests for enrich_transactions
|
112
|
+
# @param fuse_client_id
|
113
|
+
# @param fuse_api_key
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @option opts [EnrichTransactionsRequest] :enrich_transactions_request
|
116
|
+
# @return [EnrichTransactionsResponse]
|
117
|
+
describe 'enrich_transactions test' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
108
120
|
end
|
109
121
|
end
|
110
122
|
|
@@ -115,7 +127,19 @@ describe 'FuseApi' do
|
|
115
127
|
# @return [ExchangeFinancialConnectionsPublicTokenResponse]
|
116
128
|
describe 'exchange_financial_connections_public_token test' do
|
117
129
|
it 'should work' do
|
118
|
-
# assertion here. ref: https://
|
130
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# unit tests for fin_ql_prompt
|
135
|
+
# FinQL Prompt
|
136
|
+
# Retrieve information using finQL. Uses data submitted via the /events endpoint. This feature is being built and is not currently available.
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @option opts [FinQLPromptRequest] :fin_ql_prompt_request
|
139
|
+
# @return [FinQLPromptResponse]
|
140
|
+
describe 'fin_ql_prompt test' do
|
141
|
+
it 'should work' do
|
142
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
119
143
|
end
|
120
144
|
end
|
121
145
|
|
@@ -126,7 +150,7 @@ describe 'FuseApi' do
|
|
126
150
|
# @return [RefreshAssetReportResponse]
|
127
151
|
describe 'get_asset_report test' do
|
128
152
|
it 'should work' do
|
129
|
-
# assertion here. ref: https://
|
153
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
130
154
|
end
|
131
155
|
end
|
132
156
|
|
@@ -138,7 +162,18 @@ describe 'FuseApi' do
|
|
138
162
|
# @return [GetEntityResponse]
|
139
163
|
describe 'get_entity test' do
|
140
164
|
it 'should work' do
|
141
|
-
# assertion here. ref: https://
|
165
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# unit tests for get_finance_score
|
170
|
+
# Get finance score
|
171
|
+
# @param account_id
|
172
|
+
# @param [Hash] opts the optional parameters
|
173
|
+
# @return [GetFinanceScoreResponse]
|
174
|
+
describe 'get_finance_score test' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
142
177
|
end
|
143
178
|
end
|
144
179
|
|
@@ -149,7 +184,7 @@ describe 'FuseApi' do
|
|
149
184
|
# @return [GetFinancialConnectionResponse]
|
150
185
|
describe 'get_financial_connection test' do
|
151
186
|
it 'should work' do
|
152
|
-
# assertion here. ref: https://
|
187
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
153
188
|
end
|
154
189
|
end
|
155
190
|
|
@@ -160,7 +195,7 @@ describe 'FuseApi' do
|
|
160
195
|
# @return [GetFinancialConnectionsAccountDetailsResponse]
|
161
196
|
describe 'get_financial_connections_account_details test' do
|
162
197
|
it 'should work' do
|
163
|
-
# assertion here. ref: https://
|
198
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
164
199
|
end
|
165
200
|
end
|
166
201
|
|
@@ -171,7 +206,7 @@ describe 'FuseApi' do
|
|
171
206
|
# @return [GetFinancialConnectionsAccountStatementResponse]
|
172
207
|
describe 'get_financial_connections_account_statement test' do
|
173
208
|
it 'should work' do
|
174
|
-
# assertion here. ref: https://
|
209
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
175
210
|
end
|
176
211
|
end
|
177
212
|
|
@@ -182,7 +217,7 @@ describe 'FuseApi' do
|
|
182
217
|
# @return [GetFinancialConnectionsAccountsResponse]
|
183
218
|
describe 'get_financial_connections_accounts test' do
|
184
219
|
it 'should work' do
|
185
|
-
# assertion here. ref: https://
|
220
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
186
221
|
end
|
187
222
|
end
|
188
223
|
|
@@ -193,7 +228,7 @@ describe 'FuseApi' do
|
|
193
228
|
# @return [GetFinancialConnectionsBalanceResponse]
|
194
229
|
describe 'get_financial_connections_balances test' do
|
195
230
|
it 'should work' do
|
196
|
-
# assertion here. ref: https://
|
231
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
197
232
|
end
|
198
233
|
end
|
199
234
|
|
@@ -204,7 +239,7 @@ describe 'FuseApi' do
|
|
204
239
|
# @return [GetFinancialConnectionsOwnersResponse]
|
205
240
|
describe 'get_financial_connections_owners test' do
|
206
241
|
it 'should work' do
|
207
|
-
# assertion here. ref: https://
|
242
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
208
243
|
end
|
209
244
|
end
|
210
245
|
|
@@ -215,7 +250,7 @@ describe 'FuseApi' do
|
|
215
250
|
# @return [GetFinancialConnectionsTransactionsResponse]
|
216
251
|
describe 'get_financial_connections_transactions test' do
|
217
252
|
it 'should work' do
|
218
|
-
# assertion here. ref: https://
|
253
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
219
254
|
end
|
220
255
|
end
|
221
256
|
|
@@ -227,7 +262,7 @@ describe 'FuseApi' do
|
|
227
262
|
# @return [GetFinancialInstitutionResponse]
|
228
263
|
describe 'get_financial_institution test' do
|
229
264
|
it 'should work' do
|
230
|
-
# assertion here. ref: https://
|
265
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
231
266
|
end
|
232
267
|
end
|
233
268
|
|
@@ -238,7 +273,7 @@ describe 'FuseApi' do
|
|
238
273
|
# @return [GetInvestmentHoldingsResponse]
|
239
274
|
describe 'get_investment_holdings test' do
|
240
275
|
it 'should work' do
|
241
|
-
# assertion here. ref: https://
|
276
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
242
277
|
end
|
243
278
|
end
|
244
279
|
|
@@ -249,17 +284,18 @@ describe 'FuseApi' do
|
|
249
284
|
# @return [GetInvestmentTransactionsResponse]
|
250
285
|
describe 'get_investment_transactions test' do
|
251
286
|
it 'should work' do
|
252
|
-
# assertion here. ref: https://
|
287
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
253
288
|
end
|
254
289
|
end
|
255
290
|
|
256
291
|
# unit tests for get_spend_power
|
292
|
+
# Get spend power
|
257
293
|
# @param spend_power_id
|
258
294
|
# @param [Hash] opts the optional parameters
|
259
295
|
# @return [GetSpendPowerResponse]
|
260
296
|
describe 'get_spend_power test' do
|
261
297
|
it 'should work' do
|
262
|
-
# assertion here. ref: https://
|
298
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
263
299
|
end
|
264
300
|
end
|
265
301
|
|
@@ -271,7 +307,7 @@ describe 'FuseApi' do
|
|
271
307
|
# @return [MigrateFinancialConnectionsTokenResponse]
|
272
308
|
describe 'migrate_financial_connection test' do
|
273
309
|
it 'should work' do
|
274
|
-
# assertion here. ref: https://
|
310
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
275
311
|
end
|
276
312
|
end
|
277
313
|
|
@@ -282,7 +318,7 @@ describe 'FuseApi' do
|
|
282
318
|
# @return [AssetReportResponse]
|
283
319
|
describe 'refresh_asset_report test' do
|
284
320
|
it 'should work' do
|
285
|
-
# assertion here. ref: https://
|
321
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
286
322
|
end
|
287
323
|
end
|
288
324
|
|
@@ -294,17 +330,19 @@ describe 'FuseApi' do
|
|
294
330
|
# @return [SyncFinancialConnectionsDataResponse]
|
295
331
|
describe 'sync_financial_connections_data test' do
|
296
332
|
it 'should work' do
|
297
|
-
# assertion here. ref: https://
|
333
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
298
334
|
end
|
299
335
|
end
|
300
336
|
|
301
337
|
# unit tests for update_spend_power_customization
|
338
|
+
# Update spend power customization
|
339
|
+
# @param spend_power_customization_id
|
302
340
|
# @param [Hash] opts the optional parameters
|
303
|
-
# @option opts [
|
341
|
+
# @option opts [UpdateSpendPowerCustomizationRequest] :update_spend_power_customization_request
|
304
342
|
# @return [UpdateSpendPowerCustomizationResponse]
|
305
343
|
describe 'update_spend_power_customization test' do
|
306
344
|
it 'should work' do
|
307
|
-
# assertion here. ref: https://
|
345
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
308
346
|
end
|
309
347
|
end
|
310
348
|
|
@@ -315,7 +353,7 @@ describe 'FuseApi' do
|
|
315
353
|
# @return [GetLiabilitiesResponse]
|
316
354
|
describe 'v1_financial_connections_liabilities_post test' do
|
317
355
|
it 'should work' do
|
318
|
-
# assertion here. ref: https://
|
356
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
319
357
|
end
|
320
358
|
end
|
321
359
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,31 +33,28 @@ describe 'SpendPowerApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for delete_spend_power
|
36
|
+
# Delete spend power customization
|
36
37
|
# @param spend_power_id
|
37
38
|
# @param fuse_client_id
|
38
39
|
# @param fuse_api_key
|
39
40
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [String] :plaid_client_id
|
41
|
-
# @option opts [String] :plaid_secret
|
42
|
-
# @option opts [String] :teller_application_id
|
43
|
-
# @option opts [String] :teller_certificate
|
44
|
-
# @option opts [String] :teller_private_key
|
45
|
-
# @option opts [String] :teller_token_signing_key
|
46
|
-
# @option opts [String] :teller_signing_secret
|
47
|
-
# @option opts [String] :mx_client_id
|
48
|
-
# @option opts [String] :mx_api_key
|
49
|
-
# @option opts [String] :snaptrade_client_id
|
50
|
-
# @option opts [String] :snaptrade_consumer_key
|
51
|
-
# @option opts [String] :flinks_customer_id
|
52
|
-
# @option opts [String] :flinks_us_instance_id
|
53
|
-
# @option opts [String] :flinks_ca_instance_id
|
54
|
-
# @option opts [String] :finicity_partner_id
|
55
|
-
# @option opts [String] :finicity_partner_secret
|
56
|
-
# @option opts [String] :finicity_app_key
|
57
41
|
# @return [DeleteSpendPowerResponse]
|
58
42
|
describe 'delete_spend_power test' do
|
59
43
|
it 'should work' do
|
60
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for get_spend_power_customization
|
49
|
+
# Get spend power customization
|
50
|
+
# @param spend_power_customization_id
|
51
|
+
# @param fuse_client_id
|
52
|
+
# @param fuse_api_key
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [GetSpendPowerCustomizationResponse]
|
55
|
+
describe 'get_spend_power_customization test' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
58
|
end
|
62
59
|
end
|
63
60
|
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -0,0 +1,31 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::AddAccountEventsRequestEventsInner
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::AddAccountEventsRequestEventsInner do
|
21
|
+
describe '.openapi_one_of' do
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
describe '.build' do
|
28
|
+
it 'returns the correct model' do
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::AddAccountEventsRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::AddAccountEventsRequest do
|
21
|
+
let(:instance) { FuseClient::AddAccountEventsRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AddAccountEventsRequest' do
|
24
|
+
it 'should create an instance of AddAccountEventsRequest' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::AddAccountEventsRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "events"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::AddAccountEventsResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::AddAccountEventsResponse do
|
21
|
+
let(:instance) { FuseClient::AddAccountEventsResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AddAccountEventsResponse' do
|
24
|
+
it 'should create an instance of AddAccountEventsResponse' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::AddAccountEventsResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "message"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "request_id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,19 +27,19 @@ describe FuseClient::AssetReportAccountsInnerBalance do
|
|
27
27
|
end
|
28
28
|
describe 'test attribute "available"' do
|
29
29
|
it 'should work' do
|
30
|
-
# assertion here. ref: https://
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
34
|
describe 'test attribute "current"' do
|
35
35
|
it 'should work' do
|
36
|
-
# assertion here. ref: https://
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
40
|
describe 'test attribute "iso_currency_code"' do
|
41
41
|
it 'should work' do
|
42
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,19 +27,19 @@ describe FuseClient::AssetReportAccountsInnerHistoricalBalancesInner do
|
|
27
27
|
end
|
28
28
|
describe 'test attribute "date"' do
|
29
29
|
it 'should work' do
|
30
|
-
# assertion here. ref: https://
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
34
|
describe 'test attribute "current"' do
|
35
35
|
it 'should work' do
|
36
|
-
# assertion here. ref: https://
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
40
|
describe 'test attribute "iso_currency_code"' do
|
41
41
|
it 'should work' do
|
42
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,25 +27,25 @@ describe FuseClient::AssetReportAccountsInner do
|
|
27
27
|
end
|
28
28
|
describe 'test attribute "remote_id"' do
|
29
29
|
it 'should work' do
|
30
|
-
# assertion here. ref: https://
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
34
|
describe 'test attribute "balance"' do
|
35
35
|
it 'should work' do
|
36
|
-
# assertion here. ref: https://
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
40
|
describe 'test attribute "historical_balances"' do
|
41
41
|
it 'should work' do
|
42
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
46
|
describe 'test attribute "transactions"' do
|
47
47
|
it 'should work' do
|
48
|
-
# assertion here. ref: https://
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,13 +27,13 @@ describe FuseClient::AssetReportResponse do
|
|
27
27
|
end
|
28
28
|
describe 'test attribute "report"' do
|
29
29
|
it 'should work' do
|
30
|
-
# assertion here. ref: https://
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
34
|
describe 'test attribute "request_id"' do
|
35
35
|
it 'should work' do
|
36
|
-
# assertion here. ref: https://
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|