hydrogen-proton-api 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +82 -0
  4. data/Rakefile +8 -0
  5. data/git_push.sh +55 -0
  6. data/lib/proton_api.rb +141 -0
  7. data/lib/proton_api/api/annuities_api.rb +347 -0
  8. data/lib/proton_api/api/business_financial_management_api.rb +293 -0
  9. data/lib/proton_api/api/cards_api.rb +185 -0
  10. data/lib/proton_api/api/financial_health_api.rb +239 -0
  11. data/lib/proton_api/api/financial_planning_api.rb +671 -0
  12. data/lib/proton_api/api/goals_api.rb +347 -0
  13. data/lib/proton_api/api/life_insurance_api.rb +77 -0
  14. data/lib/proton_api/api/personal_financial_management_api.rb +347 -0
  15. data/lib/proton_api/api/portfolio_construction_api.rb +77 -0
  16. data/lib/proton_api/api/portfolio_management_api.rb +77 -0
  17. data/lib/proton_api/api/risk_scoring_api.rb +185 -0
  18. data/lib/proton_api/api/simulations_api.rb +401 -0
  19. data/lib/proton_api/api/util_api.rb +185 -0
  20. data/lib/proton_api/api_client.rb +391 -0
  21. data/lib/proton_api/api_error.rb +38 -0
  22. data/lib/proton_api/auth_configuration.rb +181 -0
  23. data/lib/proton_api/configuration.rb +209 -0
  24. data/lib/proton_api/environment.rb +36 -0
  25. data/lib/proton_api/models/accumulation_goal_deposit_config.rb +338 -0
  26. data/lib/proton_api/models/annuity_calculator_accumulation_horizon_request.rb +459 -0
  27. data/lib/proton_api/models/annuity_calculator_annuity_amount_request.rb +461 -0
  28. data/lib/proton_api/models/annuity_calculator_decumulation_horizon_request.rb +459 -0
  29. data/lib/proton_api/models/annuity_calculator_deposit_amount_request.rb +468 -0
  30. data/lib/proton_api/models/annuity_calculator_initial_balance_request.rb +468 -0
  31. data/lib/proton_api/models/annuity_deposit_schedule.rb +254 -0
  32. data/lib/proton_api/models/answer.rb +186 -0
  33. data/lib/proton_api/models/backtest_request.rb +295 -0
  34. data/lib/proton_api/models/beneficiary_bequest_config.rb +257 -0
  35. data/lib/proton_api/models/budget_aggregation_account.rb +186 -0
  36. data/lib/proton_api/models/budget_calculator_request.rb +334 -0
  37. data/lib/proton_api/models/budget_component.rb +228 -0
  38. data/lib/proton_api/models/budget_details.rb +337 -0
  39. data/lib/proton_api/models/business_financial_health_check_request.rb +484 -0
  40. data/lib/proton_api/models/business_invoice_analysis_request.rb +361 -0
  41. data/lib/proton_api/models/calculator_deposit_schedule.rb +228 -0
  42. data/lib/proton_api/models/calculator_deposit_schedule1.rb +254 -0
  43. data/lib/proton_api/models/card_analysis_request.rb +372 -0
  44. data/lib/proton_api/models/card_limit_check_request.rb +231 -0
  45. data/lib/proton_api/models/card_transaction_authorization_request.rb +422 -0
  46. data/lib/proton_api/models/cash_analysis_request.rb +340 -0
  47. data/lib/proton_api/models/cash_flow_analysis_request.rb +366 -0
  48. data/lib/proton_api/models/children_education_config.rb +221 -0
  49. data/lib/proton_api/models/customer_analysis_request.rb +292 -0
  50. data/lib/proton_api/models/decision_tree_result_request.rb +236 -0
  51. data/lib/proton_api/models/decumulation_goal_deposit_config.rb +335 -0
  52. data/lib/proton_api/models/dimensional_risk_score_request.rb +282 -0
  53. data/lib/proton_api/models/diversification_score_request.rb +324 -0
  54. data/lib/proton_api/models/education_calculator_annual_cost_request.rb +450 -0
  55. data/lib/proton_api/models/education_calculator_deposit_amount_request.rb +483 -0
  56. data/lib/proton_api/models/education_calculator_percent_covered_request.rb +448 -0
  57. data/lib/proton_api/models/education_config.rb +271 -0
  58. data/lib/proton_api/models/emergency_fund_calculator_request.rb +561 -0
  59. data/lib/proton_api/models/event_study_request.rb +317 -0
  60. data/lib/proton_api/models/fee_analysis_request.rb +239 -0
  61. data/lib/proton_api/models/financial_health_check_request.rb +384 -0
  62. data/lib/proton_api/models/financial_picture_request.rb +270 -0
  63. data/lib/proton_api/models/financial_statement_analysis_request.rb +461 -0
  64. data/lib/proton_api/models/goal_accumulation_allocation_request.rb +729 -0
  65. data/lib/proton_api/models/goal_accumulation_recommendation_request.rb +622 -0
  66. data/lib/proton_api/models/goal_accumulation_status_request.rb +622 -0
  67. data/lib/proton_api/models/goal_config.rb +222 -0
  68. data/lib/proton_api/models/goal_decumulation_allocation_request.rb +764 -0
  69. data/lib/proton_api/models/goal_decumulation_recommendation_request.rb +657 -0
  70. data/lib/proton_api/models/goal_decumulation_status_request.rb +657 -0
  71. data/lib/proton_api/models/goal_withdrawal_config.rb +335 -0
  72. data/lib/proton_api/models/guaranteed_rate_benefit.rb +272 -0
  73. data/lib/proton_api/models/income_config.rb +266 -0
  74. data/lib/proton_api/models/life_insurance_needs_calculator_request.rb +515 -0
  75. data/lib/proton_api/models/location.rb +183 -0
  76. data/lib/proton_api/models/monte_carlo_request.rb +504 -0
  77. data/lib/proton_api/models/mortgage_calculator_down_payment_request.rb +299 -0
  78. data/lib/proton_api/models/mortgage_calculator_home_price_request.rb +299 -0
  79. data/lib/proton_api/models/mortgage_calculator_periodic_payment_request.rb +299 -0
  80. data/lib/proton_api/models/mvo_request.rb +366 -0
  81. data/lib/proton_api/models/opt_config.rb +300 -0
  82. data/lib/proton_api/models/opt_config1.rb +260 -0
  83. data/lib/proton_api/models/order_rebalance_request.rb +398 -0
  84. data/lib/proton_api/models/performance_calculator_request.rb +687 -0
  85. data/lib/proton_api/models/periods.rb +220 -0
  86. data/lib/proton_api/models/portfolio_optimization_score_request.rb +356 -0
  87. data/lib/proton_api/models/portfolio_what_if_request.rb +351 -0
  88. data/lib/proton_api/models/purchase_calculator_amount_request.rb +401 -0
  89. data/lib/proton_api/models/purchase_calculator_deposit_amount_request.rb +434 -0
  90. data/lib/proton_api/models/purchase_calculator_horizon_request.rb +356 -0
  91. data/lib/proton_api/models/ratio_targets.rb +328 -0
  92. data/lib/proton_api/models/ratio_targets1.rb +328 -0
  93. data/lib/proton_api/models/rebalancing_signal_request.rb +238 -0
  94. data/lib/proton_api/models/recommendation_config.rb +357 -0
  95. data/lib/proton_api/models/recommendation_config1.rb +346 -0
  96. data/lib/proton_api/models/recurring_transaction_analysis_request.rb +400 -0
  97. data/lib/proton_api/models/retirement_calculator_deposit_amount_request.rb +509 -0
  98. data/lib/proton_api/models/retirement_calculator_expenses_request.rb +476 -0
  99. data/lib/proton_api/models/retirement_calculator_percent_covered_request.rb +474 -0
  100. data/lib/proton_api/models/risk_allocation_request.rb +316 -0
  101. data/lib/proton_api/models/risk_score_request.rb +239 -0
  102. data/lib/proton_api/models/savings_calculator_request.rb +395 -0
  103. data/lib/proton_api/models/savings_deposit_schedule.rb +276 -0
  104. data/lib/proton_api/models/scenario_analysis_request.rb +401 -0
  105. data/lib/proton_api/models/sensitivity_analysis_request.rb +399 -0
  106. data/lib/proton_api/models/sensitivity_factor.rb +278 -0
  107. data/lib/proton_api/models/settings.rb +287 -0
  108. data/lib/proton_api/models/spending_analysis_request.rb +505 -0
  109. data/lib/proton_api/models/variable_annuity_request.rb +700 -0
  110. data/lib/proton_api/models/w_config.rb +382 -0
  111. data/lib/proton_api/models/w_config1.rb +347 -0
  112. data/lib/proton_api/version.rb +15 -0
  113. data/proton_api.gemspec +46 -0
  114. data/spec/api/annuities_api_spec.rb +107 -0
  115. data/spec/api/business_financial_management_api_spec.rb +95 -0
  116. data/spec/api/cards_api_spec.rb +71 -0
  117. data/spec/api/financial_health_api_spec.rb +83 -0
  118. data/spec/api/financial_planning_api_spec.rb +179 -0
  119. data/spec/api/goals_api_spec.rb +107 -0
  120. data/spec/api/life_insurance_api_spec.rb +47 -0
  121. data/spec/api/personal_financial_management_api_spec.rb +107 -0
  122. data/spec/api/portfolio_construction_api_spec.rb +47 -0
  123. data/spec/api/portfolio_management_api_spec.rb +47 -0
  124. data/spec/api/risk_scoring_api_spec.rb +71 -0
  125. data/spec/api/simulations_api_spec.rb +119 -0
  126. data/spec/api/util_api_spec.rb +71 -0
  127. data/spec/api_client_spec.rb +243 -0
  128. data/spec/configuration_spec.rb +42 -0
  129. data/spec/models/accumulation_goal_deposit_config_spec.rb +89 -0
  130. data/spec/models/annuity_calculator_accumulation_horizon_request_spec.rb +111 -0
  131. data/spec/models/annuity_calculator_annuity_amount_request_spec.rb +111 -0
  132. data/spec/models/annuity_calculator_decumulation_horizon_request_spec.rb +111 -0
  133. data/spec/models/annuity_calculator_deposit_amount_request_spec.rb +111 -0
  134. data/spec/models/annuity_calculator_initial_balance_request_spec.rb +111 -0
  135. data/spec/models/annuity_deposit_schedule_spec.rb +57 -0
  136. data/spec/models/answer_spec.rb +41 -0
  137. data/spec/models/backtest_request_spec.rb +95 -0
  138. data/spec/models/beneficiary_bequest_config_spec.rb +53 -0
  139. data/spec/models/budget_aggregation_account_spec.rb +41 -0
  140. data/spec/models/budget_calculator_request_spec.rb +105 -0
  141. data/spec/models/budget_component_spec.rb +53 -0
  142. data/spec/models/budget_details_spec.rb +99 -0
  143. data/spec/models/business_financial_health_check_request_spec.rb +143 -0
  144. data/spec/models/business_invoice_analysis_request_spec.rb +123 -0
  145. data/spec/models/calculator_deposit_schedule1_spec.rb +57 -0
  146. data/spec/models/calculator_deposit_schedule_spec.rb +51 -0
  147. data/spec/models/card_analysis_request_spec.rb +129 -0
  148. data/spec/models/card_limit_check_request_spec.rb +65 -0
  149. data/spec/models/card_transaction_authorization_request_spec.rb +157 -0
  150. data/spec/models/cash_analysis_request_spec.rb +115 -0
  151. data/spec/models/cash_flow_analysis_request_spec.rb +135 -0
  152. data/spec/models/children_education_config_spec.rb +47 -0
  153. data/spec/models/customer_analysis_request_spec.rb +101 -0
  154. data/spec/models/decision_tree_result_request_spec.rb +51 -0
  155. data/spec/models/decumulation_goal_deposit_config_spec.rb +89 -0
  156. data/spec/models/dimensional_risk_score_request_spec.rb +89 -0
  157. data/spec/models/diversification_score_request_spec.rb +111 -0
  158. data/spec/models/education_calculator_annual_cost_request_spec.rb +101 -0
  159. data/spec/models/education_calculator_deposit_amount_request_spec.rb +107 -0
  160. data/spec/models/education_calculator_percent_covered_request_spec.rb +101 -0
  161. data/spec/models/education_config_spec.rb +53 -0
  162. data/spec/models/emergency_fund_calculator_request_spec.rb +141 -0
  163. data/spec/models/event_study_request_spec.rb +109 -0
  164. data/spec/models/fee_analysis_request_spec.rb +77 -0
  165. data/spec/models/financial_health_check_request_spec.rb +95 -0
  166. data/spec/models/financial_picture_request_spec.rb +95 -0
  167. data/spec/models/financial_statement_analysis_request_spec.rb +155 -0
  168. data/spec/models/goal_accumulation_allocation_request_spec.rb +215 -0
  169. data/spec/models/goal_accumulation_recommendation_request_spec.rb +173 -0
  170. data/spec/models/goal_accumulation_status_request_spec.rb +173 -0
  171. data/spec/models/goal_config_spec.rb +47 -0
  172. data/spec/models/goal_decumulation_allocation_request_spec.rb +221 -0
  173. data/spec/models/goal_decumulation_recommendation_request_spec.rb +179 -0
  174. data/spec/models/goal_decumulation_status_request_spec.rb +179 -0
  175. data/spec/models/goal_withdrawal_config_spec.rb +89 -0
  176. data/spec/models/guaranteed_rate_benefit_spec.rb +59 -0
  177. data/spec/models/income_config_spec.rb +53 -0
  178. data/spec/models/life_insurance_needs_calculator_request_spec.rb +125 -0
  179. data/spec/models/location_spec.rb +41 -0
  180. data/spec/models/monte_carlo_request_spec.rb +179 -0
  181. data/spec/models/mortgage_calculator_down_payment_request_spec.rb +59 -0
  182. data/spec/models/mortgage_calculator_home_price_request_spec.rb +59 -0
  183. data/spec/models/mortgage_calculator_periodic_payment_request_spec.rb +59 -0
  184. data/spec/models/mvo_request_spec.rb +113 -0
  185. data/spec/models/opt_config1_spec.rb +69 -0
  186. data/spec/models/opt_config_spec.rb +81 -0
  187. data/spec/models/order_rebalance_request_spec.rb +123 -0
  188. data/spec/models/performance_calculator_request_spec.rb +233 -0
  189. data/spec/models/periods_spec.rb +47 -0
  190. data/spec/models/portfolio_optimization_score_request_spec.rb +127 -0
  191. data/spec/models/portfolio_what_if_request_spec.rb +123 -0
  192. data/spec/models/purchase_calculator_amount_request_spec.rb +93 -0
  193. data/spec/models/purchase_calculator_deposit_amount_request_spec.rb +99 -0
  194. data/spec/models/purchase_calculator_horizon_request_spec.rb +83 -0
  195. data/spec/models/ratio_targets1_spec.rb +71 -0
  196. data/spec/models/ratio_targets_spec.rb +71 -0
  197. data/spec/models/rebalancing_signal_request_spec.rb +71 -0
  198. data/spec/models/recommendation_config1_spec.rb +77 -0
  199. data/spec/models/recommendation_config_spec.rb +83 -0
  200. data/spec/models/recurring_transaction_analysis_request_spec.rb +129 -0
  201. data/spec/models/retirement_calculator_deposit_amount_request_spec.rb +113 -0
  202. data/spec/models/retirement_calculator_expenses_request_spec.rb +107 -0
  203. data/spec/models/retirement_calculator_percent_covered_request_spec.rb +107 -0
  204. data/spec/models/risk_allocation_request_spec.rb +85 -0
  205. data/spec/models/risk_score_request_spec.rb +71 -0
  206. data/spec/models/savings_calculator_request_spec.rb +99 -0
  207. data/spec/models/savings_deposit_schedule_spec.rb +63 -0
  208. data/spec/models/scenario_analysis_request_spec.rb +133 -0
  209. data/spec/models/sensitivity_analysis_request_spec.rb +133 -0
  210. data/spec/models/sensitivity_factor_spec.rb +59 -0
  211. data/spec/models/settings_spec.rb +79 -0
  212. data/spec/models/spending_analysis_request_spec.rb +187 -0
  213. data/spec/models/variable_annuity_request_spec.rb +209 -0
  214. data/spec/models/w_config1_spec.rb +65 -0
  215. data/spec/models/w_config_spec.rb +65 -0
  216. data/spec/spec_helper.rb +111 -0
  217. metadata +561 -0
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #Hydrogen Proton API
3
+
4
+ #Financial engineering module of Hydrogen Atom
5
+
6
+ OpenAPI spec version: 1.9.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ module ProtonApi
14
+ VERSION = '1.9.1'
15
+ end
@@ -0,0 +1,46 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Hydrogen Proton API
5
+
6
+ #Financial engineering module of Hydrogen Atom
7
+
8
+ OpenAPI spec version: 1.9.1
9
+ Contact: info@hydrogenplatform.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ Swagger Codegen version: 2.4.19
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "proton_api/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "hydrogen-proton-api"
20
+ s.version = ProtonApi::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["Swagger-Codegen"]
23
+ s.email = ["info@hydrogenplatform.com"]
24
+ s.homepage = "https://github.com/swagger-api/swagger-codegen"
25
+ s.summary = "Hydrogen Proton API Ruby Gem"
26
+ s.description = "Financial engineering module of Hydrogen Atom"
27
+ s.license = "Unlicense"
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+ s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
33
+
34
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
35
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
36
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
37
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
38
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
39
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
40
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
41
+
42
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
43
+ s.test_files = `find spec/*`.split("\n")
44
+ s.executables = []
45
+ s.require_paths = ["lib"]
46
+ end
@@ -0,0 +1,107 @@
1
+ =begin
2
+ #Hydrogen Proton API
3
+
4
+ #Financial engineering module of Hydrogen Atom
5
+
6
+ OpenAPI spec version: 1.9.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ProtonApi::AnnuitiesApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'AnnuitiesApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = ProtonApi::AnnuitiesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AnnuitiesApi' do
30
+ it 'should create an instance of AnnuitiesApi' do
31
+ expect(@instance).to be_instance_of(ProtonApi::AnnuitiesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for annuity_calculator_accumulation_horizon
36
+ # Annuity Calculator - Accumulation Horizon
37
+ # Calculate the necessary fixed annuity contribution period
38
+ # @param annuity_calculator_accumulation_horizon_request Request payload for Annuity Calculator - Accumulation Horizon
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Hash<String, Object>]
41
+ describe 'annuity_calculator_accumulation_horizon test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for annuity_calculator_annuity_amount
48
+ # Annuity Calculator - Annuity Amount
49
+ # Calculate the achievable fixed annuity amount
50
+ # @param annuity_calculator_annuity_amount_request Request payload for Annuity Calculator - Annuity Amount
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Hash<String, Object>]
53
+ describe 'annuity_calculator_annuity_amount test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for annuity_calculator_decumulation_horizon
60
+ # Annuity Calculator - Decumulation Horizon
61
+ # Calculate the achievable fixed annuity payout period
62
+ # @param annuity_calculator_decumulation_horizon_request Request payload for Annuity Calculator - Decumulation Horizon
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [Hash<String, Object>]
65
+ describe 'annuity_calculator_decumulation_horizon test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for annuity_calculator_deposit_amount
72
+ # Annuity Calculator - Deposit Amount
73
+ # Calculate the necessary periodic deposit amount for a fixed annuity
74
+ # @param annuity_calculator_deposit_amount_request Request payload for Annuity Calculator - Deposit Amount
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [Hash<String, Object>]
77
+ describe 'annuity_calculator_deposit_amount test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for annuity_calculator_initial_balance
84
+ # Annuity Calculator - Initial Balance
85
+ # Calculate the necessary initial balance for a fixed annuity
86
+ # @param annuity_calculator_initial_balance_request Request payload for Annuity Calculator - Initial Balance
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [Hash<String, Object>]
89
+ describe 'annuity_calculator_initial_balance test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for variable_annuity
96
+ # Variable Annuity
97
+ # Project the behavior of a variable annuity over time
98
+ # @param variable_annuity_request Request payload for Variable Annuity
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Hash<String, Object>]
101
+ describe 'variable_annuity test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ end
@@ -0,0 +1,95 @@
1
+ =begin
2
+ #Hydrogen Proton API
3
+
4
+ #Financial engineering module of Hydrogen Atom
5
+
6
+ OpenAPI spec version: 1.9.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ProtonApi::BusinessFinancialManagementApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'BusinessFinancialManagementApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = ProtonApi::BusinessFinancialManagementApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of BusinessFinancialManagementApi' do
30
+ it 'should create an instance of BusinessFinancialManagementApi' do
31
+ expect(@instance).to be_instance_of(ProtonApi::BusinessFinancialManagementApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for business_financial_health_check
36
+ # Business Financial Health Check
37
+ # Calculate a series of financial ratios to assess business financial health
38
+ # @param business_financial_health_check_request Request payload for Business Financial Health Check
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Hash<String, Object>]
41
+ describe 'business_financial_health_check test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for cash_analysis
48
+ # Cash Analysis
49
+ # Analyze cash activity over time
50
+ # @param cash_analysis_request Request payload for Cash Analysis
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Hash<String, Object>]
53
+ describe 'cash_analysis test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for customer_analysis
60
+ # Customer Analysis
61
+ # Analyze customer revenues over a time period
62
+ # @param customer_analysis_request Request payload for Customer Analysis
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [Hash<String, Object>]
65
+ describe 'customer_analysis test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for financial_statement_analysis
72
+ # Financial Statement Analysis
73
+ # Analyze financial statement accounting data for a business
74
+ # @param financial_statement_analysis_request Request payload for Financial Statement Analysis
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [Hash<String, Object>]
77
+ describe 'financial_statement_analysis test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for invoice_analysis
84
+ # Invoice Analysis
85
+ # Analyze invoices to understand the context of money owed and paid to a business
86
+ # @param invoice_analysis_request Request payload for Invoice Analysis
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [Hash<String, Object>]
89
+ describe 'invoice_analysis test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ end
@@ -0,0 +1,71 @@
1
+ =begin
2
+ #Hydrogen Proton API
3
+
4
+ #Financial engineering module of Hydrogen Atom
5
+
6
+ OpenAPI spec version: 1.9.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ProtonApi::CardsApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CardsApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = ProtonApi::CardsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CardsApi' do
30
+ it 'should create an instance of CardsApi' do
31
+ expect(@instance).to be_instance_of(ProtonApi::CardsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for card_analysis
36
+ # Card Analysis
37
+ # Analyze cardholder activity over time
38
+ # @param card_analysis_request Request payload for Card Analysis
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Hash<String, Object>]
41
+ describe 'card_analysis test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for card_limit_check
48
+ # Card Limit Check
49
+ # Evaluate card transaction history against spending controls
50
+ # @param card_limit_check_request Request payload for Card Limit Check
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Hash<String, Object>]
53
+ describe 'card_limit_check test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for card_transaction_authorization
60
+ # Card Transaction Authorization
61
+ # Approve or reject a card transaction based on applicable conditions
62
+ # @param card_transaction_authorization_request Request payload for Card Transaction Authorization
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [Hash<String, Object>]
65
+ describe 'card_transaction_authorization test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end
@@ -0,0 +1,83 @@
1
+ =begin
2
+ #Hydrogen Proton API
3
+
4
+ #Financial engineering module of Hydrogen Atom
5
+
6
+ OpenAPI spec version: 1.9.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ProtonApi::FinancialHealthApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'FinancialHealthApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = ProtonApi::FinancialHealthApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of FinancialHealthApi' do
30
+ it 'should create an instance of FinancialHealthApi' do
31
+ expect(@instance).to be_instance_of(ProtonApi::FinancialHealthApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for diversification_score
36
+ # Diversification Score
37
+ # Assess how well a group of investments is diversified
38
+ # @param diversification_score_request Request payload for Diversification Score
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Hash<String, Object>]
41
+ describe 'diversification_score test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for emergency_fund_calculator
48
+ # Emergency Fund Calculator
49
+ # Calculate a target emergency fund amount and savings plan
50
+ # @param emergency_fund_calculator_request Request payload for Emergency Fund Calculator
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Hash<String, Object>]
53
+ describe 'emergency_fund_calculator test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for financial_health_check
60
+ # Financial Health Check
61
+ # Calculate a series of financial ratios to assess financial health
62
+ # @param financial_health_check_request Request payload for Financial Health Check
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [Hash<String, Object>]
65
+ describe 'financial_health_check test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for portfolio_optimization_score
72
+ # Portfolio Optimization Score
73
+ # Analyze a group of investments against the optimized result
74
+ # @param portfolio_optimization_score_request Request payload for Portfolio Optimization Score
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [Hash<String, Object>]
77
+ describe 'portfolio_optimization_score test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ end
@@ -0,0 +1,179 @@
1
+ =begin
2
+ #Hydrogen Proton API
3
+
4
+ #Financial engineering module of Hydrogen Atom
5
+
6
+ OpenAPI spec version: 1.9.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ProtonApi::FinancialPlanningApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'FinancialPlanningApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = ProtonApi::FinancialPlanningApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of FinancialPlanningApi' do
30
+ it 'should create an instance of FinancialPlanningApi' do
31
+ expect(@instance).to be_instance_of(ProtonApi::FinancialPlanningApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for education_calculator_annual_cost
36
+ # Education Calculator - Annual Cost
37
+ # Calculate the achievable education costs
38
+ # @param education_calculator_annual_cost_request Request payload for Education Calculator - Annual Cost
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Hash<String, Object>]
41
+ describe 'education_calculator_annual_cost test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for education_calculator_deposit_amount
48
+ # Education Calculator - Deposit Amount
49
+ # Calculate the necessary periodic deposit amount to achieve education costs
50
+ # @param education_calculator_deposit_amount_request Request payload for Education Calculator - Deposit Amount
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Hash<String, Object>]
53
+ describe 'education_calculator_deposit_amount test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for education_calculator_percent_covered
60
+ # Education Calculator - Percent Covered
61
+ # Calculate the achievable percentage of education costs that can be covered
62
+ # @param education_calculator_percent_covered_request Request payload for Education Calculator - Percent Covered
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [Hash<String, Object>]
65
+ describe 'education_calculator_percent_covered test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for mortgage_calculator_down_payment
72
+ # Mortgage Calculator - Down Payment
73
+ # Calculate the necessary down payment for the mortgage
74
+ # @param mortgage_calculator_down_payment_request Request payload for Mortgage Calculator - Down Payment
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [Hash<String, Object>]
77
+ describe 'mortgage_calculator_down_payment test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for mortgage_calculator_home_price
84
+ # Mortgage Calculator - Home Price
85
+ # Calculate the achievable home price for the mortgage
86
+ # @param mortgage_calculator_home_price_request Request payload for Mortgage Calculator - Home Price
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [Hash<String, Object>]
89
+ describe 'mortgage_calculator_home_price test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for mortgage_calculator_periodic_payment
96
+ # Mortgage Calculator - Periodic Payment
97
+ # Calculate the periodic payment for the mortgage
98
+ # @param mortgage_calculator_periodic_payment_request Request payload for Mortgage Calculator - Periodic Payment
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Hash<String, Object>]
101
+ describe 'mortgage_calculator_periodic_payment test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for purchase_calculator_amount
108
+ # Purchase Calculator - Amount
109
+ # Calculate the achievable purchase amount
110
+ # @param purchase_calculator_amount_request Request payload for Purchase Calculator - Amount
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [Hash<String, Object>]
113
+ describe 'purchase_calculator_amount test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ # unit tests for purchase_calculator_deposit_amount
120
+ # Purchase Calculator - Deposit Amount
121
+ # Calculate the necessary periodic deposit amount to achieve the purchase amount
122
+ # @param purchase_calculator_deposit_amount_request Request payload for Purchase Calculator - Deposit Amount
123
+ # @param [Hash] opts the optional parameters
124
+ # @return [Hash<String, Object>]
125
+ describe 'purchase_calculator_deposit_amount test' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ # unit tests for purchase_calculator_horizon
132
+ # Purchase Calculator - Horizon
133
+ # Calculate the necessary time horizon to achieve the purchase amount
134
+ # @param purchase_calculator_horizon_request Request payload for Purchase Calculator - Horizon
135
+ # @param [Hash] opts the optional parameters
136
+ # @return [Hash<String, Object>]
137
+ describe 'purchase_calculator_horizon test' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ # unit tests for retirement_calculator_deposit_amount
144
+ # Retirement Calculator - Deposit Amount
145
+ # Calculate the necessary period deposit amount to achieve the retirement expenses
146
+ # @param retirement_calculator_deposit_amount_request Request payload for Retirement Calculator - Deposit AMount
147
+ # @param [Hash] opts the optional parameters
148
+ # @return [Hash<String, Object>]
149
+ describe 'retirement_calculator_deposit_amount test' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ # unit tests for retirement_calculator_expenses
156
+ # Retirement Calculator - Expenses
157
+ # Calculate the achievable retirement expenses
158
+ # @param retirement_calculator_expenses_request Request payload for Retirement Calculator - Expenses
159
+ # @param [Hash] opts the optional parameters
160
+ # @return [Hash<String, Object>]
161
+ describe 'retirement_calculator_expenses test' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ # unit tests for retirement_calculator_percent_covered
168
+ # Retirement Calculator - Percent Covered
169
+ # Calculate the achievable percentage of retirement expenses that can be covered
170
+ # @param retirement_calculator_percent_covered_request Request payload for Retirement Calculator - Percent Covered
171
+ # @param [Hash] opts the optional parameters
172
+ # @return [Hash<String, Object>]
173
+ describe 'retirement_calculator_percent_covered test' do
174
+ it 'should work' do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
179
+ end