fuse_client 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/docs/CreateLinkTokenRequest.md +6 -4
- data/docs/Entity.md +22 -0
- data/docs/FuseApi.md +14 -14
- data/docs/FuseApiWarningData.md +2 -2
- data/docs/FuseApiWarningDataWarningsInner.md +26 -0
- data/fuse_client-1.0.1.gem +0 -0
- data/fuse_client.gemspec +2 -2
- data/lib/fuse_client/api/fuse_api.rb +9 -9
- data/lib/fuse_client/api_client.rb +1 -1
- data/lib/fuse_client/api_error.rb +2 -1
- data/lib/fuse_client/configuration.rb +12 -1
- data/lib/fuse_client/models/aggregator.rb +1 -1
- 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 +31 -12
- 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_response.rb +1 -1
- data/lib/fuse_client/models/create_session_request.rb +1 -1
- data/lib/fuse_client/models/create_session_response.rb +1 -1
- data/lib/fuse_client/models/entity.rb +245 -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/financial_connections_account.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_balance.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_details.rb +1 -1
- 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 +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
- data/lib/fuse_client/models/financial_connections_holding.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_account.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_security.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_transaction_data_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +1 -1
- data/lib/fuse_client/models/fuse_api_error.rb +1 -1
- data/lib/fuse_client/models/fuse_api_error_data.rb +1 -1
- data/lib/fuse_client/models/fuse_api_warning.rb +1 -1
- data/lib/fuse_client/models/fuse_api_warning_data.rb +9 -9
- data/lib/fuse_client/models/fuse_api_warning_data_warnings_inner.rb +289 -0
- data/lib/fuse_client/models/get_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +1 -1
- data/lib/fuse_client/models/get_entity_response.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_account_balance_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_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_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_investment_holdings_request.rb +1 -1
- data/lib/fuse_client/models/get_investment_holdings_response.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_request.rb +1 -1
- data/lib/fuse_client/models/get_investment_transactions_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_transactions_request.rb +1 -1
- data/lib/fuse_client/models/get_transactions_response.rb +1 -1
- data/lib/fuse_client/models/get_transactions_response_data_inner.rb +1 -1
- data/lib/fuse_client/models/get_transactions_response_data_inner_merchant.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/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_common_model.rb +1 -1
- 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/version.rb +2 -2
- data/lib/fuse_client.rb +3 -1
- data/spec/api/fuse_api_spec.rb +4 -4
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/aggregator_spec.rb +1 -1
- data/spec/models/create_asset_report_request_spec.rb +1 -1
- data/spec/models/create_asset_report_response_spec.rb +1 -1
- data/spec/models/create_entity_request_spec.rb +1 -1
- data/spec/models/create_entity_response_spec.rb +1 -1
- data/spec/models/create_link_token_request_mx_spec.rb +1 -1
- data/spec/models/create_link_token_request_plaid_spec.rb +1 -1
- data/spec/models/create_link_token_request_spec.rb +8 -2
- data/spec/models/create_link_token_response_spec.rb +1 -1
- data/spec/models/create_session_request_spec.rb +1 -1
- data/spec/models/create_session_response_spec.rb +1 -1
- data/spec/models/entity_spec.rb +46 -0
- data/spec/models/exchange_financial_connections_public_token_request_spec.rb +1 -1
- data/spec/models/exchange_financial_connections_public_token_response_spec.rb +1 -1
- data/spec/models/financial_connections_account_balance_spec.rb +1 -1
- data/spec/models/financial_connections_account_details_ach_spec.rb +1 -1
- data/spec/models/financial_connections_account_details_spec.rb +1 -1
- data/spec/models/financial_connections_account_institution_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_spec.rb +1 -1
- data/spec/models/financial_connections_account_spec.rb +1 -1
- data/spec/models/financial_connections_holding_spec.rb +1 -1
- data/spec/models/financial_connections_investment_account_spec.rb +1 -1
- data/spec/models/financial_connections_investment_security_spec.rb +1 -1
- data/spec/models/financial_connections_investment_transaction_data_inner_spec.rb +1 -1
- data/spec/models/financial_connections_investment_transaction_spec.rb +1 -1
- data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +1 -1
- data/spec/models/financial_connections_owner_addresses_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_emails_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_names_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_spec.rb +1 -1
- data/spec/models/fuse_api_error_data_spec.rb +1 -1
- data/spec/models/fuse_api_error_spec.rb +1 -1
- data/spec/models/fuse_api_warning_data_spec.rb +2 -2
- data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +62 -0
- data/spec/models/fuse_api_warning_spec.rb +1 -1
- data/spec/models/get_asset_report_request_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_spec.rb +1 -1
- data/spec/models/get_asset_report_response_spec.rb +1 -1
- data/spec/models/get_entity_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_balance_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_details_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_details_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_accounts_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_accounts_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_balance_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_response_spec.rb +1 -1
- data/spec/models/get_investment_holdings_request_spec.rb +1 -1
- data/spec/models/get_investment_holdings_response_spec.rb +1 -1
- data/spec/models/get_investment_transactions_request_spec.rb +1 -1
- data/spec/models/get_investment_transactions_response_spec.rb +1 -1
- data/spec/models/get_liabilities_request_spec.rb +1 -1
- data/spec/models/get_liabilities_response_spec.rb +1 -1
- data/spec/models/get_transactions_request_spec.rb +1 -1
- data/spec/models/get_transactions_response_data_inner_merchant_spec.rb +1 -1
- data/spec/models/get_transactions_response_data_inner_spec.rb +1 -1
- data/spec/models/get_transactions_response_spec.rb +1 -1
- data/spec/models/product_spec.rb +1 -1
- data/spec/models/refresh_asset_report_request_spec.rb +1 -1
- data/spec/models/sync_financial_connections_data_response_spec.rb +1 -1
- data/spec/models/sync_transactions_request_spec.rb +1 -1
- data/spec/models/sync_transactions_response_removed_inner_spec.rb +1 -1
- data/spec/models/sync_transactions_response_spec.rb +1 -1
- data/spec/models/transaction_common_model_spec.rb +1 -1
- data/spec/models/update_entity_request_spec.rb +1 -1
- data/spec/models/update_entity_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +12 -4
- data/fuse_client-0.3.4.gem +0 -0
data/lib/fuse_client.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.3.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -28,6 +28,7 @@ require 'fuse_client/models/create_link_token_request_plaid'
|
|
|
28
28
|
require 'fuse_client/models/create_link_token_response'
|
|
29
29
|
require 'fuse_client/models/create_session_request'
|
|
30
30
|
require 'fuse_client/models/create_session_response'
|
|
31
|
+
require 'fuse_client/models/entity'
|
|
31
32
|
require 'fuse_client/models/exchange_financial_connections_public_token_request'
|
|
32
33
|
require 'fuse_client/models/exchange_financial_connections_public_token_response'
|
|
33
34
|
require 'fuse_client/models/financial_connections_account'
|
|
@@ -53,6 +54,7 @@ require 'fuse_client/models/fuse_api_error'
|
|
|
53
54
|
require 'fuse_client/models/fuse_api_error_data'
|
|
54
55
|
require 'fuse_client/models/fuse_api_warning'
|
|
55
56
|
require 'fuse_client/models/fuse_api_warning_data'
|
|
57
|
+
require 'fuse_client/models/fuse_api_warning_data_warnings_inner'
|
|
56
58
|
require 'fuse_client/models/get_asset_report_request'
|
|
57
59
|
require 'fuse_client/models/get_asset_report_response'
|
|
58
60
|
require 'fuse_client/models/get_asset_report_response_report'
|
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.3.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -76,12 +76,12 @@ describe 'FuseApi' do
|
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
# unit tests for
|
|
79
|
+
# unit tests for exchange_financial_connections_public_token
|
|
80
80
|
# API to exchange a public token for an access token and financial connection id
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
|
82
82
|
# @option opts [ExchangeFinancialConnectionsPublicTokenRequest] :exchange_financial_connections_public_token_request
|
|
83
83
|
# @return [ExchangeFinancialConnectionsPublicTokenResponse]
|
|
84
|
-
describe '
|
|
84
|
+
describe 'exchange_financial_connections_public_token test' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
87
87
|
end
|
|
@@ -176,7 +176,7 @@ describe 'FuseApi' do
|
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
# unit tests for get_investment_transactions
|
|
179
|
-
# Get investment
|
|
179
|
+
# Get investment transactions
|
|
180
180
|
# @param get_investment_transactions_request
|
|
181
181
|
# @param [Hash] opts the optional parameters
|
|
182
182
|
# @return [GetInvestmentTransactionsResponse]
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_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.3.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -31,7 +31,13 @@ describe FuseClient::CreateLinkTokenRequest do
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "entity"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "reconnection_url"' do
|
|
35
41
|
it 'should work' do
|
|
36
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
43
|
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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.3.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FuseClient::Entity
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FuseClient::Entity do
|
|
21
|
+
let(:instance) { FuseClient::Entity.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Entity' do
|
|
24
|
+
it 'should create an instance of Entity' do
|
|
25
|
+
expect(instance).to be_instance_of(FuseClient::Entity)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "name"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "email"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
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.3.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -31,7 +31,7 @@ describe FuseClient::FuseApiWarningData do
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "warnings"' do
|
|
35
35
|
it 'should work' do
|
|
36
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
37
|
end
|
|
@@ -0,0 +1,62 @@
|
|
|
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.3.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FuseClient::FuseApiWarningDataWarningsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FuseClient::FuseApiWarningDataWarningsInner do
|
|
21
|
+
let(:instance) { FuseClient::FuseApiWarningDataWarningsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FuseApiWarningDataWarningsInner' do
|
|
24
|
+
it 'should create an instance of FuseApiWarningDataWarningsInner' do
|
|
25
|
+
expect(instance).to be_instance_of(FuseClient::FuseApiWarningDataWarningsInner)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "title"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "details"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "code"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "type"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "source"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["internal", "aggregator"])
|
|
56
|
+
# validator.allowable_values.each do |value|
|
|
57
|
+
# expect { instance.source = value }.not_to raise_error
|
|
58
|
+
# end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
end
|