fuse_client 1.0.33 → 1.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -1
- data/docs/AddAccountEventsRequest.md +18 -0
- data/docs/AddAccountEventsRequestEventsInner.md +51 -0
- data/docs/{AddSpendPowerTransactionResponse.md → AddAccountEventsResponse.md} +2 -2
- data/docs/AssetReportTransaction.md +1 -1
- data/docs/CreateSessionRequest.md +1 -1
- data/docs/CreateSpendPowerCustomizationRequest.md +22 -0
- data/docs/CreateSpendPowerRequest.md +5 -5
- data/docs/CreateSpendPowerResponse.md +1 -1
- data/docs/DeleteSpendPowerResponse.md +2 -2
- data/docs/EnrichTransactionsRequest.md +18 -0
- data/docs/EnrichTransactionsResponse.md +18 -0
- data/docs/EnrichedTransaction.md +46 -0
- data/docs/EnrichedTransactionLogo.md +18 -0
- data/docs/EvalSpendPowerRequest.md +22 -0
- data/docs/EvalSpendPowerRequestEventsInner.md +20 -0
- data/docs/EvalSpendPowerResponse.md +20 -0
- data/docs/ExternalTransactionEvent.md +36 -0
- data/docs/ExternalTransactionEventStatus.md +15 -0
- data/docs/FinancialConnectionsAccountBalance.md +2 -2
- data/docs/FinancialConnectionsAccountCachedBalance.md +2 -2
- data/docs/FinancialConnectionsHolding.md +3 -3
- data/docs/FinancialConnectionsInvestmentSecurity.md +1 -1
- data/docs/FinancialConnectionsInvestmentTransaction.md +5 -3
- data/docs/FinancialConnectionsInvestmentTransactionSubtype.md +15 -0
- data/docs/FuseApi.md +193 -35
- data/docs/GetFinanceScoreResponse.md +20 -0
- data/docs/GetInvestmentTransactionsRequest.md +4 -4
- data/docs/GetSpendPowerCustomizationResponse.md +20 -0
- data/docs/InAppTransactionEvent.md +34 -0
- data/docs/InAppTransactionEventStatus.md +15 -0
- data/docs/SpendPower.md +6 -6
- data/docs/SpendPowerApi.md +87 -44
- data/docs/SpendPowerCustomization.md +5 -3
- data/docs/SpendPowerTimeFrame.md +15 -0
- data/docs/Transaction.md +1 -1
- data/docs/TransactionCategory.md +20 -0
- data/docs/TransactionCategoryDetailed.md +15 -0
- data/docs/TransactionCategoryPrimary.md +15 -0
- data/docs/TransactionEventType.md +15 -0
- data/docs/TransactionToEnrich.md +26 -0
- data/docs/UpdateSpendPowerCustomizationRequest.md +22 -0
- data/docs/UpdatedBalanceEvent.md +26 -0
- data/lib/fuse_client/api/fuse_api.rb +176 -31
- data/lib/fuse_client/api/spend_power_api.rb +78 -52
- data/lib/fuse_client/models/add_account_events_request.rb +254 -0
- data/lib/fuse_client/models/add_account_events_request_events_inner.rb +106 -0
- data/lib/fuse_client/models/{add_spend_power_transaction_response.rb → add_account_events_response.rb} +3 -3
- data/lib/fuse_client/models/asset_report_transaction.rb +1 -1
- data/lib/fuse_client/models/country_code.rb +2 -1
- data/lib/fuse_client/models/create_session_request.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_customization_request.rb +314 -0
- data/lib/fuse_client/models/create_spend_power_request.rb +22 -22
- data/lib/fuse_client/models/create_spend_power_response.rb +1 -1
- data/lib/fuse_client/models/delete_spend_power_response.rb +11 -10
- data/lib/fuse_client/models/enrich_transactions_request.rb +226 -0
- data/lib/fuse_client/models/enrich_transactions_response.rb +222 -0
- data/lib/fuse_client/models/enriched_transaction.rb +397 -0
- data/lib/fuse_client/models/enriched_transaction_logo.rb +220 -0
- data/lib/fuse_client/models/eval_spend_power_request.rb +296 -0
- data/lib/fuse_client/models/eval_spend_power_request_events_inner.rb +239 -0
- data/lib/fuse_client/models/eval_spend_power_response.rb +230 -0
- data/lib/fuse_client/models/external_transaction_event.rb +384 -0
- data/lib/fuse_client/models/external_transaction_event_status.rb +40 -0
- data/lib/fuse_client/models/financial_connections_account_balance.rb +2 -2
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +2 -2
- data/lib/fuse_client/models/financial_connections_holding.rb +3 -3
- data/lib/fuse_client/models/financial_connections_investment_security.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +13 -4
- data/lib/fuse_client/models/financial_connections_investment_transaction_subtype.rb +87 -0
- data/lib/fuse_client/models/fuse_api_error_code.rb +3 -1
- data/lib/fuse_client/models/get_finance_score_response.rb +240 -0
- data/lib/fuse_client/models/get_investment_transactions_request.rb +37 -9
- data/lib/fuse_client/models/get_spend_power_customization_response.rb +239 -0
- data/lib/fuse_client/models/in_app_transaction_event.rb +364 -0
- data/lib/fuse_client/models/in_app_transaction_event_status.rb +41 -0
- data/lib/fuse_client/models/spend_power.rb +18 -18
- data/lib/fuse_client/models/spend_power_customization.rb +54 -14
- data/lib/fuse_client/models/spend_power_time_frame.rb +41 -0
- data/lib/fuse_client/models/transaction.rb +1 -1
- data/lib/fuse_client/models/transaction_category.rb +260 -0
- data/lib/fuse_client/models/transaction_category_detailed.rb +135 -0
- data/lib/fuse_client/models/transaction_category_primary.rb +59 -0
- data/lib/fuse_client/models/transaction_event_type.rb +65 -0
- data/lib/fuse_client/models/{add_spend_power_transaction_request.rb → transaction_to_enrich.rb} +47 -27
- data/lib/fuse_client/models/update_spend_power_customization_request.rb +291 -0
- data/lib/fuse_client/models/updated_balance_event.rb +308 -0
- data/lib/fuse_client/version.rb +1 -1
- data/lib/fuse_client.rb +26 -2
- data/spec/api/fuse_api_spec.rb +33 -7
- data/spec/api/spend_power_api_spec.rb +14 -17
- data/spec/models/add_account_events_request_events_inner_spec.rb +31 -0
- data/spec/models/add_account_events_request_spec.rb +34 -0
- data/spec/models/{add_spend_power_transaction_response_spec.rb → add_account_events_response_spec.rb} +6 -6
- data/spec/models/create_spend_power_customization_request_spec.rb +46 -0
- data/spec/models/create_spend_power_request_spec.rb +2 -2
- data/spec/models/delete_spend_power_response_spec.rb +1 -1
- data/spec/models/enrich_transactions_request_spec.rb +34 -0
- data/spec/models/enrich_transactions_response_spec.rb +34 -0
- data/spec/models/enriched_transaction_logo_spec.rb +34 -0
- data/spec/models/enriched_transaction_spec.rb +122 -0
- data/spec/models/eval_spend_power_request_events_inner_spec.rb +40 -0
- data/spec/models/eval_spend_power_request_spec.rb +46 -0
- data/spec/models/eval_spend_power_response_spec.rb +40 -0
- data/spec/models/external_transaction_event_spec.rb +92 -0
- data/spec/models/external_transaction_event_status_spec.rb +28 -0
- data/spec/models/financial_connections_investment_transaction_spec.rb +6 -0
- data/spec/models/financial_connections_investment_transaction_subtype_spec.rb +28 -0
- data/spec/models/get_finance_score_response_spec.rb +40 -0
- data/spec/models/get_spend_power_customization_response_spec.rb +40 -0
- data/spec/models/in_app_transaction_event_spec.rb +86 -0
- data/spec/models/in_app_transaction_event_status_spec.rb +28 -0
- data/spec/models/spend_power_customization_spec.rb +6 -4
- data/spec/models/spend_power_spec.rb +1 -1
- data/spec/models/spend_power_time_frame_spec.rb +28 -0
- data/spec/models/transaction_category_detailed_spec.rb +28 -0
- data/spec/models/transaction_category_primary_spec.rb +28 -0
- data/spec/models/transaction_category_spec.rb +40 -0
- data/spec/models/transaction_event_type_spec.rb +28 -0
- data/spec/models/{add_spend_power_transaction_request_spec.rb → transaction_to_enrich_spec.rb} +23 -11
- data/spec/models/update_spend_power_customization_request_spec.rb +46 -0
- data/spec/models/updated_balance_event_spec.rb +62 -0
- metadata +106 -10
- data/docs/AddSpendPowerTransactionRequest.md +0 -22
@@ -0,0 +1,86 @@
|
|
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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::InAppTransactionEvent
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::InAppTransactionEvent do
|
21
|
+
let(:instance) { FuseClient::InAppTransactionEvent.new }
|
22
|
+
|
23
|
+
describe 'test an instance of InAppTransactionEvent' do
|
24
|
+
it 'should create an instance of InAppTransactionEvent' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::InAppTransactionEvent)
|
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 "event_type"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["in_app_transaction"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.event_type = value }.not_to raise_error
|
40
|
+
# end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "status"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "balance"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "amount"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'test attribute "merchant_name"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "transaction_type"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "iso_currency_code"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe 'test attribute "timestamp"' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::InAppTransactionEventStatus
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::InAppTransactionEventStatus do
|
21
|
+
let(:instance) { FuseClient::InAppTransactionEventStatus.new }
|
22
|
+
|
23
|
+
describe 'test an instance of InAppTransactionEventStatus' do
|
24
|
+
it 'should create an instance of InAppTransactionEventStatus' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::InAppTransactionEventStatus)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -25,13 +25,15 @@ describe FuseClient::SpendPowerCustomization do
|
|
25
25
|
expect(instance).to be_instance_of(FuseClient::SpendPowerCustomization)
|
26
26
|
end
|
27
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
|
+
|
28
34
|
describe 'test attribute "timeframe"' do
|
29
35
|
it 'should work' do
|
30
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["daily", "weekly", "monthly"])
|
32
|
-
# validator.allowable_values.each do |value|
|
33
|
-
# expect { instance.timeframe = value }.not_to raise_error
|
34
|
-
# end
|
35
37
|
end
|
36
38
|
end
|
37
39
|
|
@@ -55,7 +55,7 @@ describe FuseClient::SpendPower do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe 'test attribute "
|
58
|
+
describe 'test attribute "iso_currency_code"' 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
|
@@ -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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::SpendPowerTimeFrame
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::SpendPowerTimeFrame do
|
21
|
+
let(:instance) { FuseClient::SpendPowerTimeFrame.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SpendPowerTimeFrame' do
|
24
|
+
it 'should create an instance of SpendPowerTimeFrame' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::SpendPowerTimeFrame)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::TransactionCategoryDetailed
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::TransactionCategoryDetailed do
|
21
|
+
let(:instance) { FuseClient::TransactionCategoryDetailed.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransactionCategoryDetailed' do
|
24
|
+
it 'should create an instance of TransactionCategoryDetailed' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::TransactionCategoryDetailed)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::TransactionCategoryPrimary
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::TransactionCategoryPrimary do
|
21
|
+
let(:instance) { FuseClient::TransactionCategoryPrimary.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransactionCategoryPrimary' do
|
24
|
+
it 'should create an instance of TransactionCategoryPrimary' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::TransactionCategoryPrimary)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::TransactionCategory
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::TransactionCategory do
|
21
|
+
let(:instance) { FuseClient::TransactionCategory.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransactionCategory' do
|
24
|
+
it 'should create an instance of TransactionCategory' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::TransactionCategory)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "primary"' 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 "detailed"' 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
|
+
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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::TransactionEventType
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::TransactionEventType do
|
21
|
+
let(:instance) { FuseClient::TransactionEventType.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransactionEventType' do
|
24
|
+
it 'should create an instance of TransactionEventType' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::TransactionEventType)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/spec/models/{add_spend_power_transaction_request_spec.rb → transaction_to_enrich_spec.rb}
RENAMED
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for FuseClient::
|
17
|
+
# Unit tests for FuseClient::TransactionToEnrich
|
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::TransactionToEnrich do
|
21
|
+
let(:instance) { FuseClient::TransactionToEnrich.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 TransactionToEnrich' do
|
24
|
+
it 'should create an instance of TransactionToEnrich' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::TransactionToEnrich)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "id"' do
|
@@ -31,13 +31,15 @@ describe FuseClient::AddSpendPowerTransactionRequest do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
describe 'test attribute "
|
34
|
+
describe 'test attribute "merchant_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 "mcc"' do
|
35
41
|
it 'should work' do
|
36
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "posted", "cancelled"])
|
38
|
-
# validator.allowable_values.each do |value|
|
39
|
-
# expect { instance.status = value }.not_to raise_error
|
40
|
-
# end
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,4 +49,14 @@ describe FuseClient::AddSpendPowerTransactionRequest do
|
|
47
49
|
end
|
48
50
|
end
|
49
51
|
|
52
|
+
describe 'test attribute "type"' 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', ["debit", "credit"])
|
56
|
+
# validator.allowable_values.each do |value|
|
57
|
+
# expect { instance.type = value }.not_to raise_error
|
58
|
+
# end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
50
62
|
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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::UpdateSpendPowerCustomizationRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::UpdateSpendPowerCustomizationRequest do
|
21
|
+
let(:instance) { FuseClient::UpdateSpendPowerCustomizationRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateSpendPowerCustomizationRequest' do
|
24
|
+
it 'should create an instance of UpdateSpendPowerCustomizationRequest' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::UpdateSpendPowerCustomizationRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "timeframe"' 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 "min_limit"' 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 "max_limit"' 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,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.5.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::UpdatedBalanceEvent
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::UpdatedBalanceEvent do
|
21
|
+
let(:instance) { FuseClient::UpdatedBalanceEvent.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdatedBalanceEvent' do
|
24
|
+
it 'should create an instance of UpdatedBalanceEvent' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::UpdatedBalanceEvent)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "event_type"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["updated_balance"])
|
32
|
+
# validator.allowable_values.each do |value|
|
33
|
+
# expect { instance.event_type = value }.not_to raise_error
|
34
|
+
# end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attribute "available"' do
|
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 "current"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "iso_currency_code"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "timestamp"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|