fuse_client 0.3.2 → 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/Gemfile.lock +70 -0
- data/LICENSE +21 -0
- data/README.md +1 -258
- data/docs/Aggregator.md +15 -0
- data/docs/CreateAssetReportRequest.md +3 -1
- data/docs/CreateEntityRequest.md +24 -0
- data/docs/CreateEntityResponse.md +24 -0
- data/docs/CreateLinkTokenRequest.md +5 -5
- data/docs/CreateLinkTokenRequestMx.md +1 -1
- data/docs/CreateLinkTokenRequestPlaid.md +1 -1
- data/docs/CreateSessionRequest.md +3 -5
- data/docs/FinancialConnectionsAccountDetails.md +1 -3
- data/docs/FinancialConnectionsHolding.md +2 -0
- data/docs/FuseApi.md +307 -1
- data/docs/GetEntityResponse.md +24 -0
- data/docs/GetInvestmentHoldingsRequest.md +3 -1
- data/docs/GetInvestmentHoldingsResponse.md +1 -3
- data/docs/GetInvestmentTransactionsResponse.md +1 -3
- data/docs/GetLiabilitiesResponse.md +1 -3
- data/docs/GetTransactionsResponseDataInner.md +1 -3
- data/docs/Product.md +15 -0
- data/docs/RefreshAssetReportRequest.md +22 -0
- data/docs/UpdateEntityRequest.md +22 -0
- data/docs/UpdateEntityResponse.md +24 -0
- data/lib/fuse_client/api/fuse_api.rb +261 -0
- data/lib/fuse_client/configuration.rb +2 -2
- data/lib/fuse_client/models/aggregator.rb +42 -0
- data/lib/fuse_client/models/create_asset_report_request.rb +16 -4
- data/lib/fuse_client/models/{create_session_request_mx.rb → create_entity_request.rb} +50 -29
- data/lib/fuse_client/models/create_entity_response.rb +268 -0
- data/lib/fuse_client/models/create_link_token_request.rb +21 -20
- data/lib/fuse_client/models/create_link_token_request_mx.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request_plaid.rb +3 -2
- data/lib/fuse_client/models/create_session_request.rb +36 -39
- data/lib/fuse_client/models/financial_connections_account_details.rb +4 -14
- data/lib/fuse_client/models/financial_connections_holding.rb +11 -1
- data/lib/fuse_client/models/{create_link_token_request_plaid_config.rb → get_entity_response.rb} +57 -14
- data/lib/fuse_client/models/get_investment_holdings_request.rb +14 -4
- data/lib/fuse_client/models/get_investment_holdings_response.rb +4 -14
- data/lib/fuse_client/models/get_investment_transactions_response.rb +4 -14
- data/lib/fuse_client/models/get_liabilities_response.rb +4 -14
- data/lib/fuse_client/models/get_transactions_response_data_inner.rb +4 -14
- data/lib/fuse_client/models/product.rb +44 -0
- data/lib/fuse_client/models/refresh_asset_report_request.rb +275 -0
- data/lib/fuse_client/models/{create_session_request_plaid.rb → update_entity_request.rb} +41 -21
- data/lib/fuse_client/models/update_entity_response.rb +268 -0
- data/lib/fuse_client/version.rb +1 -1
- data/lib/fuse_client.rb +8 -3
- data/spec/api/fuse_api_spec.rb +45 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/aggregator_spec.rb +28 -0
- data/spec/models/create_asset_report_request_spec.rb +6 -0
- data/spec/models/{create_session_request_mx_spec.rb → create_entity_request_spec.rb} +10 -10
- data/spec/models/create_entity_response_spec.rb +52 -0
- data/spec/models/create_link_token_request_spec.rb +5 -5
- data/spec/models/create_session_request_spec.rb +1 -11
- data/spec/models/financial_connections_account_details_spec.rb +0 -6
- data/spec/models/financial_connections_holding_spec.rb +6 -0
- data/spec/models/get_entity_response_spec.rb +52 -0
- data/spec/models/get_investment_holdings_request_spec.rb +6 -0
- data/spec/models/get_investment_holdings_response_spec.rb +0 -6
- data/spec/models/get_investment_transactions_response_spec.rb +0 -6
- data/spec/models/get_liabilities_response_spec.rb +0 -6
- data/spec/models/get_transactions_response_data_inner_spec.rb +0 -6
- data/spec/models/product_spec.rb +28 -0
- data/spec/models/refresh_asset_report_request_spec.rb +46 -0
- data/spec/models/update_entity_request_spec.rb +46 -0
- data/spec/models/update_entity_response_spec.rb +52 -0
- metadata +36 -14
- data/docs/CreateLinkTokenRequestPlaidConfig.md +0 -18
- data/docs/CreateSessionRequestMx.md +0 -24
- data/docs/CreateSessionRequestPlaid.md +0 -18
- data/spec/models/create_link_token_request_plaid_config_spec.rb +0 -34
- data/spec/models/create_session_request_plaid_spec.rb +0 -34
data/lib/fuse_client.rb
CHANGED
@@ -17,16 +17,16 @@ require 'fuse_client/version'
|
|
17
17
|
require 'fuse_client/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'fuse_client/models/aggregator'
|
20
21
|
require 'fuse_client/models/create_asset_report_request'
|
21
22
|
require 'fuse_client/models/create_asset_report_response'
|
23
|
+
require 'fuse_client/models/create_entity_request'
|
24
|
+
require 'fuse_client/models/create_entity_response'
|
22
25
|
require 'fuse_client/models/create_link_token_request'
|
23
26
|
require 'fuse_client/models/create_link_token_request_mx'
|
24
27
|
require 'fuse_client/models/create_link_token_request_plaid'
|
25
|
-
require 'fuse_client/models/create_link_token_request_plaid_config'
|
26
28
|
require 'fuse_client/models/create_link_token_response'
|
27
29
|
require 'fuse_client/models/create_session_request'
|
28
|
-
require 'fuse_client/models/create_session_request_mx'
|
29
|
-
require 'fuse_client/models/create_session_request_plaid'
|
30
30
|
require 'fuse_client/models/create_session_response'
|
31
31
|
require 'fuse_client/models/exchange_financial_connections_public_token_request'
|
32
32
|
require 'fuse_client/models/exchange_financial_connections_public_token_response'
|
@@ -59,6 +59,7 @@ require 'fuse_client/models/get_asset_report_response_report'
|
|
59
59
|
require 'fuse_client/models/get_asset_report_response_report_accounts_inner'
|
60
60
|
require 'fuse_client/models/get_asset_report_response_report_accounts_inner_balances'
|
61
61
|
require 'fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner'
|
62
|
+
require 'fuse_client/models/get_entity_response'
|
62
63
|
require 'fuse_client/models/get_financial_connections_account_balance_response'
|
63
64
|
require 'fuse_client/models/get_financial_connections_account_details_request'
|
64
65
|
require 'fuse_client/models/get_financial_connections_account_details_response'
|
@@ -78,11 +79,15 @@ require 'fuse_client/models/get_transactions_request'
|
|
78
79
|
require 'fuse_client/models/get_transactions_response'
|
79
80
|
require 'fuse_client/models/get_transactions_response_data_inner'
|
80
81
|
require 'fuse_client/models/get_transactions_response_data_inner_merchant'
|
82
|
+
require 'fuse_client/models/product'
|
83
|
+
require 'fuse_client/models/refresh_asset_report_request'
|
81
84
|
require 'fuse_client/models/sync_financial_connections_data_response'
|
82
85
|
require 'fuse_client/models/sync_transactions_request'
|
83
86
|
require 'fuse_client/models/sync_transactions_response'
|
84
87
|
require 'fuse_client/models/sync_transactions_response_removed_inner'
|
85
88
|
require 'fuse_client/models/transaction_common_model'
|
89
|
+
require 'fuse_client/models/update_entity_request'
|
90
|
+
require 'fuse_client/models/update_entity_response'
|
86
91
|
|
87
92
|
# APIs
|
88
93
|
require 'fuse_client/api/fuse_api'
|
data/spec/api/fuse_api_spec.rb
CHANGED
@@ -43,6 +43,17 @@ describe 'FuseApi' do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
# unit tests for create_entity
|
47
|
+
# Create entity
|
48
|
+
# @param create_entity_request
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [CreateEntityResponse]
|
51
|
+
describe 'create_entity test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
46
57
|
# unit tests for create_link_token
|
47
58
|
# Create a link token to start the process of a user connecting to a specific financial institution.
|
48
59
|
# @param [Hash] opts the optional parameters
|
@@ -87,6 +98,17 @@ describe 'FuseApi' do
|
|
87
98
|
end
|
88
99
|
end
|
89
100
|
|
101
|
+
# unit tests for get_entity
|
102
|
+
# Get entity
|
103
|
+
# @param entity_id
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @return [GetEntityResponse]
|
106
|
+
describe 'get_entity test' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
90
112
|
# unit tests for get_financial_connections_account_details
|
91
113
|
# Get account details
|
92
114
|
# @param get_financial_connections_account_details_request
|
@@ -164,6 +186,17 @@ describe 'FuseApi' do
|
|
164
186
|
end
|
165
187
|
end
|
166
188
|
|
189
|
+
# unit tests for refresh_asset_report
|
190
|
+
# Refreshes the Asset Report in JSON format.
|
191
|
+
# @param [Hash] opts the optional parameters
|
192
|
+
# @option opts [RefreshAssetReportRequest] :refresh_asset_report_request
|
193
|
+
# @return [CreateAssetReportResponse]
|
194
|
+
describe 'refresh_asset_report test' do
|
195
|
+
it 'should work' do
|
196
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
167
200
|
# unit tests for sync_financial_connections_data
|
168
201
|
# Sync financial connections data
|
169
202
|
# Call this endpoint upon receiving a SYNC_REQUIRED webhook. This will keep the financial connections data up to date.
|
@@ -187,6 +220,18 @@ describe 'FuseApi' do
|
|
187
220
|
end
|
188
221
|
end
|
189
222
|
|
223
|
+
# unit tests for update_entity
|
224
|
+
# Update entity
|
225
|
+
# @param entity_id_to_update
|
226
|
+
# @param update_entity_request
|
227
|
+
# @param [Hash] opts the optional parameters
|
228
|
+
# @return [UpdateEntityResponse]
|
229
|
+
describe 'update_entity test' do
|
230
|
+
it 'should work' do
|
231
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
190
235
|
# unit tests for v1_financial_connections_liabilities_post
|
191
236
|
# Get liabilities
|
192
237
|
# @param get_liabilities_request
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe FuseClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("https://
|
21
|
+
# uri = URI.parse("https://sandbox-api.letsfuse.com")
|
22
22
|
# FuseClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe FuseClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("https://
|
31
|
+
# expect(config.base_url).to eq("https://sandbox-api.letsfuse.com")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("https://
|
38
|
+
# expect(config.base_url).to eq("https://sandbox-api.letsfuse.com")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -0,0 +1,28 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::Aggregator
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::Aggregator do
|
21
|
+
let(:instance) { FuseClient::Aggregator.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Aggregator' do
|
24
|
+
it 'should create an instance of Aggregator' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::Aggregator)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -37,4 +37,10 @@ describe FuseClient::CreateAssetReportRequest do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
+
describe 'test attribute "include_identity"' 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
|
+
|
40
46
|
end
|
@@ -14,36 +14,36 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for FuseClient::
|
17
|
+
# Unit tests for FuseClient::CreateEntityRequest
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe FuseClient::
|
21
|
-
let(:instance) { FuseClient::
|
20
|
+
describe FuseClient::CreateEntityRequest do
|
21
|
+
let(:instance) { FuseClient::CreateEntityRequest.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(FuseClient::
|
23
|
+
describe 'test an instance of CreateEntityRequest' do
|
24
|
+
it 'should create an instance of CreateEntityRequest' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::CreateEntityRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "id"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
describe 'test attribute "
|
34
|
+
describe 'test attribute "email"' 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
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "
|
40
|
+
describe 'test attribute "aggregators"' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test attribute "
|
46
|
+
describe 'test attribute "institution_ids"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
49
|
end
|
@@ -0,0 +1,52 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::CreateEntityResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::CreateEntityResponse do
|
21
|
+
let(:instance) { FuseClient::CreateEntityResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreateEntityResponse' do
|
24
|
+
it 'should create an instance of CreateEntityResponse' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::CreateEntityResponse)
|
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 "email"' 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 "aggregators"' 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 "institution_ids"' 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
|
+
end
|
@@ -25,7 +25,7 @@ describe FuseClient::CreateLinkTokenRequest do
|
|
25
25
|
expect(instance).to be_instance_of(FuseClient::CreateLinkTokenRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "institution_id"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -37,25 +37,25 @@ describe FuseClient::CreateLinkTokenRequest do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "
|
40
|
+
describe 'test attribute "client_name"' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test attribute "
|
46
|
+
describe 'test attribute "session_client_secret"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
describe 'test attribute "
|
52
|
+
describe 'test attribute "mx"' do
|
53
53
|
it 'should work' do
|
54
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe 'test attribute "
|
58
|
+
describe 'test attribute "plaid"' do
|
59
59
|
it 'should work' do
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
61
|
end
|
@@ -28,20 +28,10 @@ describe FuseClient::CreateSessionRequest do
|
|
28
28
|
describe 'test attribute "supported_financial_institution_aggregators"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["PLAID", "TELLER", "MX"])
|
32
|
-
# validator.allowable_values.each do |value|
|
33
|
-
# expect { instance.supported_financial_institution_aggregators = value }.not_to raise_error
|
34
|
-
# end
|
35
31
|
end
|
36
32
|
end
|
37
33
|
|
38
|
-
describe 'test attribute "
|
39
|
-
it 'should work' do
|
40
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
describe 'test attribute "plaid"' do
|
34
|
+
describe 'test attribute "products"' do
|
45
35
|
it 'should work' do
|
46
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
37
|
end
|
@@ -37,10 +37,4 @@ describe FuseClient::FinancialConnectionsAccountDetails do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "remote_data"' 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
40
|
end
|
@@ -25,6 +25,12 @@ describe FuseClient::FinancialConnectionsHolding do
|
|
25
25
|
expect(instance).to be_instance_of(FuseClient::FinancialConnectionsHolding)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
describe 'test attribute "remote_account_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
|
+
|
28
34
|
describe 'test attribute "cost_basis"' do
|
29
35
|
it 'should work' do
|
30
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,52 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::GetEntityResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::GetEntityResponse do
|
21
|
+
let(:instance) { FuseClient::GetEntityResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GetEntityResponse' do
|
24
|
+
it 'should create an instance of GetEntityResponse' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::GetEntityResponse)
|
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 "email"' 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 "aggregators"' 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 "institution_ids"' 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
|
+
end
|
@@ -31,4 +31,10 @@ describe FuseClient::GetInvestmentHoldingsRequest do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'test attribute "iso_currency_code"' 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
|
+
|
34
40
|
end
|
@@ -43,10 +43,4 @@ describe FuseClient::GetInvestmentHoldingsResponse do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test attribute "remote_data"' 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
46
|
end
|
@@ -43,10 +43,4 @@ describe FuseClient::GetInvestmentTransactionsResponse do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test attribute "remote_data"' 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
46
|
end
|
@@ -85,10 +85,4 @@ describe FuseClient::GetTransactionsResponseDataInner do
|
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
|
-
describe 'test attribute "remote_data"' do
|
89
|
-
it 'should work' do
|
90
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
88
|
end
|
@@ -0,0 +1,28 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::Product
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::Product do
|
21
|
+
let(:instance) { FuseClient::Product.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Product' do
|
24
|
+
it 'should create an instance of Product' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::Product)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
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.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::RefreshAssetReportRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::RefreshAssetReportRequest do
|
21
|
+
let(:instance) { FuseClient::RefreshAssetReportRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RefreshAssetReportRequest' do
|
24
|
+
it 'should create an instance of RefreshAssetReportRequest' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::RefreshAssetReportRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "access_token"' 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 "days_requested"' 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 "include_identity"' 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
|
@@ -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.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::UpdateEntityRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::UpdateEntityRequest do
|
21
|
+
let(:instance) { FuseClient::UpdateEntityRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateEntityRequest' do
|
24
|
+
it 'should create an instance of UpdateEntityRequest' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::UpdateEntityRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "email"' 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 "aggregators"' 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 "institution_ids"' 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
|
@@ -0,0 +1,52 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::UpdateEntityResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::UpdateEntityResponse do
|
21
|
+
let(:instance) { FuseClient::UpdateEntityResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateEntityResponse' do
|
24
|
+
it 'should create an instance of UpdateEntityResponse' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::UpdateEntityResponse)
|
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 "email"' 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 "aggregators"' 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 "institution_ids"' 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
|
+
end
|