fuse_client 0.3.1 → 0.3.4
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/{fuse-ruby-openapi/Gemfile → Gemfile} +0 -0
- data/Gemfile.lock +70 -0
- data/LICENSE +21 -0
- data/README.md +1 -0
- data/{fuse-ruby-openapi/Rakefile → Rakefile} +0 -0
- data/docs/Aggregator.md +15 -0
- data/{fuse-ruby-openapi/docs → docs}/CreateAssetReportRequest.md +3 -1
- data/{fuse-ruby-openapi/docs → docs}/CreateAssetReportResponse.md +0 -0
- data/docs/CreateEntityRequest.md +24 -0
- data/docs/CreateEntityResponse.md +24 -0
- data/{fuse-ruby-openapi/docs → docs}/CreateLinkTokenRequest.md +5 -5
- data/{fuse-ruby-openapi/docs → docs}/CreateLinkTokenRequestMx.md +1 -1
- data/docs/CreateLinkTokenRequestPlaid.md +18 -0
- data/{fuse-ruby-openapi/docs → docs}/CreateLinkTokenResponse.md +0 -0
- data/docs/CreateSessionRequest.md +20 -0
- data/{fuse-ruby-openapi/docs → docs}/CreateSessionResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/ExchangeFinancialConnectionsPublicTokenRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/ExchangeFinancialConnectionsPublicTokenResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccount.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccountBalance.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccountDetails.md +1 -3
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccountDetailsAch.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccountInstitution.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccountLiability.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccountLiabilityAllOf.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsAccountLiabilityAllOfAprs.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsHolding.md +2 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsInvestmentAccount.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsInvestmentSecurity.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsInvestmentTransaction.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsInvestmentTransactionDataInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsOwner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsOwnerAddressesInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsOwnerAddressesInnerData.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsOwnerEmailsInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsOwnerNamesInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FinancialConnectionsOwnerPhoneNumbersInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FuseApi.md +307 -1
- data/{fuse-ruby-openapi/docs → docs}/FuseApiError.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FuseApiErrorData.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FuseApiWarning.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/FuseApiWarningData.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetAssetReportRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetAssetReportResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetAssetReportResponseReport.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetAssetReportResponseReportAccountsInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetAssetReportResponseReportAccountsInnerBalances.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner.md +0 -0
- data/docs/GetEntityResponse.md +24 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsAccountBalanceResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsAccountDetailsRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsAccountDetailsResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsAccountsRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsAccountsResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsBalanceRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsOwnersRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsOwnersResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetFinancialConnectionsOwnersResponseAccountsInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetInvestmentHoldingsRequest.md +3 -1
- data/{fuse-ruby-openapi/docs → docs}/GetInvestmentHoldingsResponse.md +1 -3
- data/{fuse-ruby-openapi/docs → docs}/GetInvestmentTransactionsRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetInvestmentTransactionsResponse.md +1 -3
- data/{fuse-ruby-openapi/docs → docs}/GetLiabilitiesRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetLiabilitiesResponse.md +1 -3
- data/{fuse-ruby-openapi/docs → docs}/GetTransactionsRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetTransactionsResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/GetTransactionsResponseDataInner.md +1 -3
- data/{fuse-ruby-openapi/docs → docs}/GetTransactionsResponseDataInnerMerchant.md +0 -0
- data/docs/Product.md +15 -0
- data/docs/RefreshAssetReportRequest.md +22 -0
- data/{fuse-ruby-openapi/docs → docs}/SyncFinancialConnectionsDataResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/SyncTransactionsRequest.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/SyncTransactionsResponse.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/SyncTransactionsResponseRemovedInner.md +0 -0
- data/{fuse-ruby-openapi/docs → docs}/TransactionCommonModel.md +0 -0
- data/docs/UpdateEntityRequest.md +22 -0
- data/docs/UpdateEntityResponse.md +24 -0
- data/{fuse-ruby-openapi/fuse_client.gemspec → fuse_client.gemspec} +0 -0
- data/{fuse-ruby-openapi/git_push.sh → git_push.sh} +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/api/fuse_api.rb +261 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/api_client.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/api_error.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/configuration.rb +2 -2
- data/lib/fuse_client/models/aggregator.rb +42 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_asset_report_request.rb +16 -4
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_asset_report_response.rb +0 -0
- data/lib/fuse_client/models/create_entity_request.rb +268 -0
- data/lib/fuse_client/models/create_entity_response.rb +268 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_link_token_request.rb +21 -20
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_link_token_request_mx.rb +1 -1
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_link_token_request_plaid.rb +3 -2
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_link_token_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_session_request.rb +36 -39
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/create_session_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/exchange_financial_connections_public_token_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/exchange_financial_connections_public_token_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account_balance.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account_details.rb +4 -14
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account_details_ach.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account_institution.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account_liability.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account_liability_all_of.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_holding.rb +11 -1
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_investment_account.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_investment_security.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_investment_transaction.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_investment_transaction_data_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_addresses_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_emails_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_names_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/fuse_api_error.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/fuse_api_error_data.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/fuse_api_warning.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/fuse_api_warning_data.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_asset_report_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_asset_report_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_asset_report_response_report.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +0 -0
- data/lib/fuse_client/models/get_entity_response.rb +268 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_account_balance_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_account_details_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_account_details_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_accounts_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_accounts_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_balance_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_owners_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_owners_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_investment_holdings_request.rb +14 -4
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_investment_holdings_response.rb +4 -14
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_investment_transactions_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_investment_transactions_response.rb +4 -14
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_liabilities_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_liabilities_response.rb +4 -14
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_transactions_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_transactions_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_transactions_response_data_inner.rb +4 -14
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_transactions_response_data_inner_merchant.rb +0 -0
- data/lib/fuse_client/models/product.rb +44 -0
- data/lib/fuse_client/models/refresh_asset_report_request.rb +275 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/sync_financial_connections_data_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/sync_transactions_request.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/sync_transactions_response.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/sync_transactions_response_removed_inner.rb +0 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/transaction_common_model.rb +0 -0
- data/{fuse-ruby-openapi/lib/fuse_client/models/create_session_request_plaid.rb → lib/fuse_client/models/update_entity_request.rb} +41 -21
- data/lib/fuse_client/models/update_entity_response.rb +268 -0
- data/{fuse-ruby-openapi/lib → lib}/fuse_client/version.rb +1 -1
- data/{fuse-ruby-openapi/lib → lib}/fuse_client.rb +8 -3
- data/{fuse-ruby-openapi/spec → spec}/api/fuse_api_spec.rb +45 -0
- data/{fuse-ruby-openapi/spec → spec}/api_client_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/configuration_spec.rb +3 -3
- data/spec/models/aggregator_spec.rb +28 -0
- data/{fuse-ruby-openapi/spec → spec}/models/create_asset_report_request_spec.rb +6 -0
- data/{fuse-ruby-openapi/spec → spec}/models/create_asset_report_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec/models/create_session_request_mx_spec.rb → spec/models/create_entity_request_spec.rb} +10 -10
- data/spec/models/create_entity_response_spec.rb +52 -0
- data/{fuse-ruby-openapi/spec → spec}/models/create_link_token_request_mx_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/create_link_token_request_plaid_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/create_link_token_request_spec.rb +5 -5
- data/{fuse-ruby-openapi/spec → spec}/models/create_link_token_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/create_session_request_spec.rb +1 -11
- data/{fuse-ruby-openapi/spec → spec}/models/create_session_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/exchange_financial_connections_public_token_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/exchange_financial_connections_public_token_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_balance_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_details_ach_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_details_spec.rb +0 -6
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_institution_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_liability_all_of_aprs_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_liability_all_of_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_liability_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_account_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_holding_spec.rb +6 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_investment_account_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_investment_security_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_investment_transaction_data_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_investment_transaction_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_owner_addresses_inner_data_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_owner_addresses_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_owner_emails_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_owner_names_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_owner_phone_numbers_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/financial_connections_owner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/fuse_api_error_data_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/fuse_api_error_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/fuse_api_warning_data_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/fuse_api_warning_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_asset_report_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_asset_report_response_report_accounts_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_asset_report_response_report_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_asset_report_response_spec.rb +0 -0
- data/spec/models/get_entity_response_spec.rb +52 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_account_balance_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_account_details_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_account_details_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_accounts_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_accounts_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_balance_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_owners_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_owners_response_accounts_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_financial_connections_owners_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_investment_holdings_request_spec.rb +6 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_investment_holdings_response_spec.rb +0 -6
- data/{fuse-ruby-openapi/spec → spec}/models/get_investment_transactions_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_investment_transactions_response_spec.rb +0 -6
- data/{fuse-ruby-openapi/spec → spec}/models/get_liabilities_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_liabilities_response_spec.rb +0 -6
- data/{fuse-ruby-openapi/spec → spec}/models/get_transactions_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_transactions_response_data_inner_merchant_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/get_transactions_response_data_inner_spec.rb +0 -6
- data/{fuse-ruby-openapi/spec → spec}/models/get_transactions_response_spec.rb +0 -0
- data/spec/models/product_spec.rb +28 -0
- data/spec/models/refresh_asset_report_request_spec.rb +46 -0
- data/{fuse-ruby-openapi/spec → spec}/models/sync_financial_connections_data_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/sync_transactions_request_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/sync_transactions_response_removed_inner_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/sync_transactions_response_spec.rb +0 -0
- data/{fuse-ruby-openapi/spec → spec}/models/transaction_common_model_spec.rb +0 -0
- data/spec/models/update_entity_request_spec.rb +46 -0
- data/spec/models/update_entity_response_spec.rb +52 -0
- data/{fuse-ruby-openapi/spec → spec}/spec_helper.rb +0 -0
- metadata +309 -228
- data/2023-01-25.json +0 -1736
- data/fuse-ruby-openapi/.gitignore +0 -39
- data/fuse-ruby-openapi/.gitlab-ci.yml +0 -26
- data/fuse-ruby-openapi/.openapi-generator/FILES +0 -220
- data/fuse-ruby-openapi/.openapi-generator/VERSION +0 -1
- data/fuse-ruby-openapi/.openapi-generator-ignore +0 -23
- data/fuse-ruby-openapi/.rspec +0 -2
- data/fuse-ruby-openapi/.rubocop.yml +0 -148
- data/fuse-ruby-openapi/.travis.yml +0 -14
- data/fuse-ruby-openapi/README.md +0 -258
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaid.md +0 -18
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaidConfig.md +0 -18
- data/fuse-ruby-openapi/docs/CreateSessionRequest.md +0 -22
- data/fuse-ruby-openapi/docs/CreateSessionRequestMx.md +0 -24
- data/fuse-ruby-openapi/docs/CreateSessionRequestPlaid.md +0 -18
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_plaid_config.rb +0 -225
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request_mx.rb +0 -247
- data/fuse-ruby-openapi/spec/models/create_link_token_request_plaid_config_spec.rb +0 -34
- data/fuse-ruby-openapi/spec/models/create_session_request_plaid_spec.rb +0 -34
- data/fuse_client-0.3.0.gem +0 -0
- data/generate-fuse-openapi-spec.js +0 -136
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_addresses_inner.rb
RENAMED
|
File without changes
|
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_emails_inner.rb
RENAMED
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/financial_connections_owner_names_inner.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,268 @@
|
|
|
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.2.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module FuseClient
|
|
17
|
+
class GetEntityResponse
|
|
18
|
+
# Id of the entity
|
|
19
|
+
attr_accessor :id
|
|
20
|
+
|
|
21
|
+
# Email of the entity
|
|
22
|
+
attr_accessor :email
|
|
23
|
+
|
|
24
|
+
# These will force the user to connect through all of these aggregators
|
|
25
|
+
attr_accessor :aggregators
|
|
26
|
+
|
|
27
|
+
attr_accessor :institution_ids
|
|
28
|
+
|
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
|
+
def self.attribute_map
|
|
31
|
+
{
|
|
32
|
+
:'id' => :'id',
|
|
33
|
+
:'email' => :'email',
|
|
34
|
+
:'aggregators' => :'aggregators',
|
|
35
|
+
:'institution_ids' => :'institution_ids'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Returns all the JSON keys this model knows about
|
|
40
|
+
def self.acceptable_attributes
|
|
41
|
+
attribute_map.values
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Attribute type mapping.
|
|
45
|
+
def self.openapi_types
|
|
46
|
+
{
|
|
47
|
+
:'id' => :'String',
|
|
48
|
+
:'email' => :'String',
|
|
49
|
+
:'aggregators' => :'Array<Aggregator>',
|
|
50
|
+
:'institution_ids' => :'Array<String>'
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# List of attributes with nullable: true
|
|
55
|
+
def self.openapi_nullable
|
|
56
|
+
Set.new([
|
|
57
|
+
])
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Initializes the object
|
|
61
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
62
|
+
def initialize(attributes = {})
|
|
63
|
+
if (!attributes.is_a?(Hash))
|
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FuseClient::GetEntityResponse` initialize method"
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
69
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FuseClient::GetEntityResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
71
|
+
end
|
|
72
|
+
h[k.to_sym] = v
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if attributes.key?(:'id')
|
|
76
|
+
self.id = attributes[:'id']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'email')
|
|
80
|
+
self.email = attributes[:'email']
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
if attributes.key?(:'aggregators')
|
|
84
|
+
if (value = attributes[:'aggregators']).is_a?(Array)
|
|
85
|
+
self.aggregators = value
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
if attributes.key?(:'institution_ids')
|
|
90
|
+
if (value = attributes[:'institution_ids']).is_a?(Array)
|
|
91
|
+
self.institution_ids = value
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
97
|
+
# @return Array for valid properties with the reasons
|
|
98
|
+
def list_invalid_properties
|
|
99
|
+
invalid_properties = Array.new
|
|
100
|
+
if !@aggregators.nil? && @aggregators.length < 1
|
|
101
|
+
invalid_properties.push('invalid value for "aggregators", number of items must be greater than or equal to 1.')
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
invalid_properties
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Check to see if the all the properties in the model are valid
|
|
108
|
+
# @return true if the model is valid
|
|
109
|
+
def valid?
|
|
110
|
+
return false if !@aggregators.nil? && @aggregators.length < 1
|
|
111
|
+
true
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Custom attribute writer method with validation
|
|
115
|
+
# @param [Object] aggregators Value to be assigned
|
|
116
|
+
def aggregators=(aggregators)
|
|
117
|
+
if !aggregators.nil? && aggregators.length < 1
|
|
118
|
+
fail ArgumentError, 'invalid value for "aggregators", number of items must be greater than or equal to 1.'
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
@aggregators = aggregators
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Checks equality by comparing each attribute.
|
|
125
|
+
# @param [Object] Object to be compared
|
|
126
|
+
def ==(o)
|
|
127
|
+
return true if self.equal?(o)
|
|
128
|
+
self.class == o.class &&
|
|
129
|
+
id == o.id &&
|
|
130
|
+
email == o.email &&
|
|
131
|
+
aggregators == o.aggregators &&
|
|
132
|
+
institution_ids == o.institution_ids
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# @see the `==` method
|
|
136
|
+
# @param [Object] Object to be compared
|
|
137
|
+
def eql?(o)
|
|
138
|
+
self == o
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Calculates hash code according to all attributes.
|
|
142
|
+
# @return [Integer] Hash code
|
|
143
|
+
def hash
|
|
144
|
+
[id, email, aggregators, institution_ids].hash
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Builds the object from hash
|
|
148
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
149
|
+
# @return [Object] Returns the model itself
|
|
150
|
+
def self.build_from_hash(attributes)
|
|
151
|
+
new.build_from_hash(attributes)
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Builds the object from hash
|
|
155
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
156
|
+
# @return [Object] Returns the model itself
|
|
157
|
+
def build_from_hash(attributes)
|
|
158
|
+
return nil unless attributes.is_a?(Hash)
|
|
159
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
160
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
161
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
162
|
+
self.send("#{key}=", nil)
|
|
163
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
164
|
+
# check to ensure the input is an array given that the attribute
|
|
165
|
+
# is documented as an array but the input is not
|
|
166
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
167
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
168
|
+
end
|
|
169
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
170
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
self
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Deserializes the data based on type
|
|
178
|
+
# @param string type Data type
|
|
179
|
+
# @param string value Value to be deserialized
|
|
180
|
+
# @return [Object] Deserialized data
|
|
181
|
+
def _deserialize(type, value)
|
|
182
|
+
case type.to_sym
|
|
183
|
+
when :Time
|
|
184
|
+
Time.parse(value)
|
|
185
|
+
when :Date
|
|
186
|
+
Date.parse(value)
|
|
187
|
+
when :String
|
|
188
|
+
value.to_s
|
|
189
|
+
when :Integer
|
|
190
|
+
value.to_i
|
|
191
|
+
when :Float
|
|
192
|
+
value.to_f
|
|
193
|
+
when :Boolean
|
|
194
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
195
|
+
true
|
|
196
|
+
else
|
|
197
|
+
false
|
|
198
|
+
end
|
|
199
|
+
when :Object
|
|
200
|
+
# generic object (usually a Hash), return directly
|
|
201
|
+
value
|
|
202
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
203
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
204
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
205
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
206
|
+
k_type = Regexp.last_match[:k_type]
|
|
207
|
+
v_type = Regexp.last_match[:v_type]
|
|
208
|
+
{}.tap do |hash|
|
|
209
|
+
value.each do |k, v|
|
|
210
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
else # model
|
|
214
|
+
# models (e.g. Pet) or oneOf
|
|
215
|
+
klass = FuseClient.const_get(type)
|
|
216
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Returns the string representation of the object
|
|
221
|
+
# @return [String] String presentation of the object
|
|
222
|
+
def to_s
|
|
223
|
+
to_hash.to_s
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
227
|
+
# @return [Hash] Returns the object in the form of hash
|
|
228
|
+
def to_body
|
|
229
|
+
to_hash
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Returns the object in the form of hash
|
|
233
|
+
# @return [Hash] Returns the object in the form of hash
|
|
234
|
+
def to_hash
|
|
235
|
+
hash = {}
|
|
236
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
237
|
+
value = self.send(attr)
|
|
238
|
+
if value.nil?
|
|
239
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
240
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
hash[param] = _to_hash(value)
|
|
244
|
+
end
|
|
245
|
+
hash
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Outputs non-array value in the form of hash
|
|
249
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
250
|
+
# @param [Object] value Any valid value
|
|
251
|
+
# @return [Hash] Returns the value in the form of hash
|
|
252
|
+
def _to_hash(value)
|
|
253
|
+
if value.is_a?(Array)
|
|
254
|
+
value.compact.map { |v| _to_hash(v) }
|
|
255
|
+
elsif value.is_a?(Hash)
|
|
256
|
+
{}.tap do |hash|
|
|
257
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
258
|
+
end
|
|
259
|
+
elsif value.respond_to? :to_hash
|
|
260
|
+
value.to_hash
|
|
261
|
+
else
|
|
262
|
+
value
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_accounts_request.rb
RENAMED
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_accounts_response.rb
RENAMED
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_balance_request.rb
RENAMED
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_owners_request.rb
RENAMED
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_financial_connections_owners_response.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -18,10 +18,14 @@ module FuseClient
|
|
|
18
18
|
# Access token for authentication
|
|
19
19
|
attr_accessor :access_token
|
|
20
20
|
|
|
21
|
+
# The ISO-4217 currency code to convert the holding to.
|
|
22
|
+
attr_accessor :iso_currency_code
|
|
23
|
+
|
|
21
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
25
|
def self.attribute_map
|
|
23
26
|
{
|
|
24
|
-
:'access_token' => :'access_token'
|
|
27
|
+
:'access_token' => :'access_token',
|
|
28
|
+
:'iso_currency_code' => :'iso_currency_code'
|
|
25
29
|
}
|
|
26
30
|
end
|
|
27
31
|
|
|
@@ -33,7 +37,8 @@ module FuseClient
|
|
|
33
37
|
# Attribute type mapping.
|
|
34
38
|
def self.openapi_types
|
|
35
39
|
{
|
|
36
|
-
:'access_token' => :'String'
|
|
40
|
+
:'access_token' => :'String',
|
|
41
|
+
:'iso_currency_code' => :'String'
|
|
37
42
|
}
|
|
38
43
|
end
|
|
39
44
|
|
|
@@ -61,6 +66,10 @@ module FuseClient
|
|
|
61
66
|
if attributes.key?(:'access_token')
|
|
62
67
|
self.access_token = attributes[:'access_token']
|
|
63
68
|
end
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'iso_currency_code')
|
|
71
|
+
self.iso_currency_code = attributes[:'iso_currency_code']
|
|
72
|
+
end
|
|
64
73
|
end
|
|
65
74
|
|
|
66
75
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -86,7 +95,8 @@ module FuseClient
|
|
|
86
95
|
def ==(o)
|
|
87
96
|
return true if self.equal?(o)
|
|
88
97
|
self.class == o.class &&
|
|
89
|
-
access_token == o.access_token
|
|
98
|
+
access_token == o.access_token &&
|
|
99
|
+
iso_currency_code == o.iso_currency_code
|
|
90
100
|
end
|
|
91
101
|
|
|
92
102
|
# @see the `==` method
|
|
@@ -98,7 +108,7 @@ module FuseClient
|
|
|
98
108
|
# Calculates hash code according to all attributes.
|
|
99
109
|
# @return [Integer] Hash code
|
|
100
110
|
def hash
|
|
101
|
-
[access_token].hash
|
|
111
|
+
[access_token, iso_currency_code].hash
|
|
102
112
|
end
|
|
103
113
|
|
|
104
114
|
# Builds the object from hash
|
|
@@ -21,16 +21,12 @@ module FuseClient
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :securities
|
|
23
23
|
|
|
24
|
-
# The exact data from the aggregator (ie plaid) that we retrieved the information from.
|
|
25
|
-
attr_accessor :remote_data
|
|
26
|
-
|
|
27
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
25
|
def self.attribute_map
|
|
29
26
|
{
|
|
30
27
|
:'accounts' => :'accounts',
|
|
31
28
|
:'holdings' => :'holdings',
|
|
32
|
-
:'securities' => :'securities'
|
|
33
|
-
:'remote_data' => :'remote_data'
|
|
29
|
+
:'securities' => :'securities'
|
|
34
30
|
}
|
|
35
31
|
end
|
|
36
32
|
|
|
@@ -44,8 +40,7 @@ module FuseClient
|
|
|
44
40
|
{
|
|
45
41
|
:'accounts' => :'Array<FinancialConnectionsInvestmentAccount>',
|
|
46
42
|
:'holdings' => :'Array<FinancialConnectionsHolding>',
|
|
47
|
-
:'securities' => :'Array<FinancialConnectionsInvestmentSecurity>'
|
|
48
|
-
:'remote_data' => :'Object'
|
|
43
|
+
:'securities' => :'Array<FinancialConnectionsInvestmentSecurity>'
|
|
49
44
|
}
|
|
50
45
|
end
|
|
51
46
|
|
|
@@ -87,10 +82,6 @@ module FuseClient
|
|
|
87
82
|
self.securities = value
|
|
88
83
|
end
|
|
89
84
|
end
|
|
90
|
-
|
|
91
|
-
if attributes.key?(:'remote_data')
|
|
92
|
-
self.remote_data = attributes[:'remote_data']
|
|
93
|
-
end
|
|
94
85
|
end
|
|
95
86
|
|
|
96
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -113,8 +104,7 @@ module FuseClient
|
|
|
113
104
|
self.class == o.class &&
|
|
114
105
|
accounts == o.accounts &&
|
|
115
106
|
holdings == o.holdings &&
|
|
116
|
-
securities == o.securities
|
|
117
|
-
remote_data == o.remote_data
|
|
107
|
+
securities == o.securities
|
|
118
108
|
end
|
|
119
109
|
|
|
120
110
|
# @see the `==` method
|
|
@@ -126,7 +116,7 @@ module FuseClient
|
|
|
126
116
|
# Calculates hash code according to all attributes.
|
|
127
117
|
# @return [Integer] Hash code
|
|
128
118
|
def hash
|
|
129
|
-
[accounts, holdings, securities
|
|
119
|
+
[accounts, holdings, securities].hash
|
|
130
120
|
end
|
|
131
121
|
|
|
132
122
|
# Builds the object from hash
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_investment_transactions_request.rb
RENAMED
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_investment_transactions_response.rb
RENAMED
|
@@ -21,16 +21,12 @@ module FuseClient
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :securities
|
|
23
23
|
|
|
24
|
-
# The exact data from the aggregator (ie plaid) that we retrieved the information from.
|
|
25
|
-
attr_accessor :remote_data
|
|
26
|
-
|
|
27
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
25
|
def self.attribute_map
|
|
29
26
|
{
|
|
30
27
|
:'accounts' => :'accounts',
|
|
31
28
|
:'investment_transactions' => :'investment_transactions',
|
|
32
|
-
:'securities' => :'securities'
|
|
33
|
-
:'remote_data' => :'remote_data'
|
|
29
|
+
:'securities' => :'securities'
|
|
34
30
|
}
|
|
35
31
|
end
|
|
36
32
|
|
|
@@ -44,8 +40,7 @@ module FuseClient
|
|
|
44
40
|
{
|
|
45
41
|
:'accounts' => :'Array<FinancialConnectionsInvestmentAccount>',
|
|
46
42
|
:'investment_transactions' => :'Array<FinancialConnectionsInvestmentTransaction>',
|
|
47
|
-
:'securities' => :'Array<FinancialConnectionsInvestmentSecurity>'
|
|
48
|
-
:'remote_data' => :'Object'
|
|
43
|
+
:'securities' => :'Array<FinancialConnectionsInvestmentSecurity>'
|
|
49
44
|
}
|
|
50
45
|
end
|
|
51
46
|
|
|
@@ -87,10 +82,6 @@ module FuseClient
|
|
|
87
82
|
self.securities = value
|
|
88
83
|
end
|
|
89
84
|
end
|
|
90
|
-
|
|
91
|
-
if attributes.key?(:'remote_data')
|
|
92
|
-
self.remote_data = attributes[:'remote_data']
|
|
93
|
-
end
|
|
94
85
|
end
|
|
95
86
|
|
|
96
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -113,8 +104,7 @@ module FuseClient
|
|
|
113
104
|
self.class == o.class &&
|
|
114
105
|
accounts == o.accounts &&
|
|
115
106
|
investment_transactions == o.investment_transactions &&
|
|
116
|
-
securities == o.securities
|
|
117
|
-
remote_data == o.remote_data
|
|
107
|
+
securities == o.securities
|
|
118
108
|
end
|
|
119
109
|
|
|
120
110
|
# @see the `==` method
|
|
@@ -126,7 +116,7 @@ module FuseClient
|
|
|
126
116
|
# Calculates hash code according to all attributes.
|
|
127
117
|
# @return [Integer] Hash code
|
|
128
118
|
def hash
|
|
129
|
-
[accounts, investment_transactions, securities
|
|
119
|
+
[accounts, investment_transactions, securities].hash
|
|
130
120
|
end
|
|
131
121
|
|
|
132
122
|
# Builds the object from hash
|
|
File without changes
|
|
@@ -17,14 +17,10 @@ module FuseClient
|
|
|
17
17
|
class GetLiabilitiesResponse
|
|
18
18
|
attr_accessor :liabilities
|
|
19
19
|
|
|
20
|
-
# The exact data from the aggregator (ie plaid) that we retrieved the information from.
|
|
21
|
-
attr_accessor :remote_data
|
|
22
|
-
|
|
23
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
21
|
def self.attribute_map
|
|
25
22
|
{
|
|
26
|
-
:'liabilities' => :'liabilities'
|
|
27
|
-
:'remote_data' => :'remote_data'
|
|
23
|
+
:'liabilities' => :'liabilities'
|
|
28
24
|
}
|
|
29
25
|
end
|
|
30
26
|
|
|
@@ -36,8 +32,7 @@ module FuseClient
|
|
|
36
32
|
# Attribute type mapping.
|
|
37
33
|
def self.openapi_types
|
|
38
34
|
{
|
|
39
|
-
:'liabilities' => :'Array<FinancialConnectionsAccountLiability>'
|
|
40
|
-
:'remote_data' => :'Object'
|
|
35
|
+
:'liabilities' => :'Array<FinancialConnectionsAccountLiability>'
|
|
41
36
|
}
|
|
42
37
|
end
|
|
43
38
|
|
|
@@ -67,10 +62,6 @@ module FuseClient
|
|
|
67
62
|
self.liabilities = value
|
|
68
63
|
end
|
|
69
64
|
end
|
|
70
|
-
|
|
71
|
-
if attributes.key?(:'remote_data')
|
|
72
|
-
self.remote_data = attributes[:'remote_data']
|
|
73
|
-
end
|
|
74
65
|
end
|
|
75
66
|
|
|
76
67
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -91,8 +82,7 @@ module FuseClient
|
|
|
91
82
|
def ==(o)
|
|
92
83
|
return true if self.equal?(o)
|
|
93
84
|
self.class == o.class &&
|
|
94
|
-
liabilities == o.liabilities
|
|
95
|
-
remote_data == o.remote_data
|
|
85
|
+
liabilities == o.liabilities
|
|
96
86
|
end
|
|
97
87
|
|
|
98
88
|
# @see the `==` method
|
|
@@ -104,7 +94,7 @@ module FuseClient
|
|
|
104
94
|
# Calculates hash code according to all attributes.
|
|
105
95
|
# @return [Integer] Hash code
|
|
106
96
|
def hash
|
|
107
|
-
[liabilities
|
|
97
|
+
[liabilities].hash
|
|
108
98
|
end
|
|
109
99
|
|
|
110
100
|
# Builds the object from hash
|
|
File without changes
|
|
File without changes
|
data/{fuse-ruby-openapi/lib → lib}/fuse_client/models/get_transactions_response_data_inner.rb
RENAMED
|
@@ -44,9 +44,6 @@ module FuseClient
|
|
|
44
44
|
# Type of the transaction, ie adjustment
|
|
45
45
|
attr_accessor :type
|
|
46
46
|
|
|
47
|
-
# The exact data from the aggregator (ie plaid) that we retrieved the information from
|
|
48
|
-
attr_accessor :remote_data
|
|
49
|
-
|
|
50
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
48
|
def self.attribute_map
|
|
52
49
|
{
|
|
@@ -59,8 +56,7 @@ module FuseClient
|
|
|
59
56
|
:'category' => :'category',
|
|
60
57
|
:'merchant' => :'merchant',
|
|
61
58
|
:'status' => :'status',
|
|
62
|
-
:'type' => :'type'
|
|
63
|
-
:'remote_data' => :'remote_data'
|
|
59
|
+
:'type' => :'type'
|
|
64
60
|
}
|
|
65
61
|
end
|
|
66
62
|
|
|
@@ -81,8 +77,7 @@ module FuseClient
|
|
|
81
77
|
:'category' => :'Array<String>',
|
|
82
78
|
:'merchant' => :'GetTransactionsResponseDataInnerMerchant',
|
|
83
79
|
:'status' => :'String',
|
|
84
|
-
:'type' => :'String'
|
|
85
|
-
:'remote_data' => :'Object'
|
|
80
|
+
:'type' => :'String'
|
|
86
81
|
}
|
|
87
82
|
end
|
|
88
83
|
|
|
@@ -148,10 +143,6 @@ module FuseClient
|
|
|
148
143
|
if attributes.key?(:'type')
|
|
149
144
|
self.type = attributes[:'type']
|
|
150
145
|
end
|
|
151
|
-
|
|
152
|
-
if attributes.key?(:'remote_data')
|
|
153
|
-
self.remote_data = attributes[:'remote_data']
|
|
154
|
-
end
|
|
155
146
|
end
|
|
156
147
|
|
|
157
148
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -181,8 +172,7 @@ module FuseClient
|
|
|
181
172
|
category == o.category &&
|
|
182
173
|
merchant == o.merchant &&
|
|
183
174
|
status == o.status &&
|
|
184
|
-
type == o.type
|
|
185
|
-
remote_data == o.remote_data
|
|
175
|
+
type == o.type
|
|
186
176
|
end
|
|
187
177
|
|
|
188
178
|
# @see the `==` method
|
|
@@ -194,7 +184,7 @@ module FuseClient
|
|
|
194
184
|
# Calculates hash code according to all attributes.
|
|
195
185
|
# @return [Integer] Hash code
|
|
196
186
|
def hash
|
|
197
|
-
[id, remote_id, remote_account_id, amount, date, description, category, merchant, status, type
|
|
187
|
+
[id, remote_id, remote_account_id, amount, date, description, category, merchant, status, type].hash
|
|
198
188
|
end
|
|
199
189
|
|
|
200
190
|
# Builds the object from hash
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
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.2.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module FuseClient
|
|
17
|
+
class Product
|
|
18
|
+
ACCOUNT_DETAILS = "account_details".freeze
|
|
19
|
+
BALANCE = "balance".freeze
|
|
20
|
+
OWNERSHIP = "ownership".freeze
|
|
21
|
+
TRANSACTIONS = "transactions".freeze
|
|
22
|
+
LIABILITIES = "liabilities".freeze
|
|
23
|
+
INVESTMENTS = "investments".freeze
|
|
24
|
+
|
|
25
|
+
def self.all_vars
|
|
26
|
+
@all_vars ||= [ACCOUNT_DETAILS, BALANCE, OWNERSHIP, TRANSACTIONS, LIABILITIES, INVESTMENTS].freeze
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Builds the enum from string
|
|
30
|
+
# @param [String] The enum value in the form of the string
|
|
31
|
+
# @return [String] The enum value
|
|
32
|
+
def self.build_from_hash(value)
|
|
33
|
+
new.build_from_hash(value)
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Builds the enum from string
|
|
37
|
+
# @param [String] The enum value in the form of the string
|
|
38
|
+
# @return [String] The enum value
|
|
39
|
+
def build_from_hash(value)
|
|
40
|
+
return value if Product.all_vars.include?(value)
|
|
41
|
+
raise "Invalid ENUM value #{value} for class #Product"
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|