proton_api 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +246 -0
  4. data/Rakefile +8 -0
  5. data/docs/AccumulationGoalDepositConfig.md +14 -0
  6. data/docs/AnnuitiesApi.md +344 -0
  7. data/docs/AnnuityCalculatorAccumulationHorizonRequest.md +19 -0
  8. data/docs/AnnuityCalculatorAnnuityAmountRequest.md +19 -0
  9. data/docs/AnnuityCalculatorDecumulationHorizonRequest.md +19 -0
  10. data/docs/AnnuityCalculatorDepositAmountRequest.md +19 -0
  11. data/docs/AnnuityCalculatorInitialBalanceRequest.md +19 -0
  12. data/docs/AnnuityDepositSchedule.md +10 -0
  13. data/docs/BacktestRequest.md +17 -0
  14. data/docs/BeneficiaryBequestConfig.md +10 -0
  15. data/docs/BudgetAggregationAccount.md +8 -0
  16. data/docs/BudgetCalculatorRequest.md +16 -0
  17. data/docs/BudgetComponent.md +10 -0
  18. data/docs/BudgetDetails.md +17 -0
  19. data/docs/BusinessFinancialHealthCheckRequest.md +22 -0
  20. data/docs/BusinessFinancialManagementApi.md +288 -0
  21. data/docs/BusinessInvoiceAnalysisRequest.md +20 -0
  22. data/docs/CalculatorDepositSchedule.md +9 -0
  23. data/docs/CalculatorDepositSchedule1.md +10 -0
  24. data/docs/CardLimitCheckRequest.md +9 -0
  25. data/docs/CardTransactionAuthorizationRequest.md +19 -0
  26. data/docs/CardsApi.md +120 -0
  27. data/docs/CashAnalysisRequest.md +17 -0
  28. data/docs/CashFlowAnalysisRequest.md +20 -0
  29. data/docs/ChildrenEducationConfig.md +9 -0
  30. data/docs/CustomerAnalysisRequest.md +17 -0
  31. data/docs/DecumulationGoalDepositConfig.md +14 -0
  32. data/docs/DimensionalRiskScoreRequest.md +16 -0
  33. data/docs/DiversificationScoreRequest.md +19 -0
  34. data/docs/EducationCalculatorAnnualCostRequest.md +18 -0
  35. data/docs/EducationCalculatorDepositAmountRequest.md +19 -0
  36. data/docs/EducationCalculatorPercentCoveredRequest.md +18 -0
  37. data/docs/EducationConfig.md +10 -0
  38. data/docs/EmergencyFundCalculatorRequest.md +24 -0
  39. data/docs/EventStudyRequest.md +18 -0
  40. data/docs/FeeAnalysisRequest.md +13 -0
  41. data/docs/FinancialHealthApi.md +232 -0
  42. data/docs/FinancialHealthCheckRequest.md +17 -0
  43. data/docs/FinancialPictureRequest.md +16 -0
  44. data/docs/FinancialPlanningApi.md +680 -0
  45. data/docs/FinancialStatementAnalysisRequest.md +22 -0
  46. data/docs/GoalAccumulationAllocationRequest.md +33 -0
  47. data/docs/GoalAccumulationRecommendationRequest.md +28 -0
  48. data/docs/GoalAccumulationStatusRequest.md +28 -0
  49. data/docs/GoalConfig.md +9 -0
  50. data/docs/GoalDecumulationAllocationRequest.md +34 -0
  51. data/docs/GoalDecumulationRecommendationRequest.md +29 -0
  52. data/docs/GoalDecumulationStatusRequest.md +29 -0
  53. data/docs/GoalWithdrawalConfig.md +14 -0
  54. data/docs/GoalsApi.md +344 -0
  55. data/docs/GuaranteedRateBenefit.md +11 -0
  56. data/docs/IncomeConfig.md +10 -0
  57. data/docs/LifeInsuranceApi.md +64 -0
  58. data/docs/LifeInsuranceNeedsCalculatorRequest.md +22 -0
  59. data/docs/MonteCarloRequest.md +29 -0
  60. data/docs/MortgageCalculatorDownPaymentRequest.md +11 -0
  61. data/docs/MortgageCalculatorHomePriceRequest.md +11 -0
  62. data/docs/MortgageCalculatorPeriodicPaymentRequest.md +11 -0
  63. data/docs/MvoRequest.md +18 -0
  64. data/docs/OptConfig.md +14 -0
  65. data/docs/OptConfig1.md +12 -0
  66. data/docs/Periods.md +9 -0
  67. data/docs/PersonalFinancialManagementApi.md +288 -0
  68. data/docs/PortfolioConstructionApi.md +64 -0
  69. data/docs/PortfolioManagementApi.md +64 -0
  70. data/docs/PortfolioOptimizationScoreRequest.md +21 -0
  71. data/docs/PortfolioWhatIfRequest.md +21 -0
  72. data/docs/PurchaseCalculatorAmountRequest.md +16 -0
  73. data/docs/PurchaseCalculatorDepositAmountRequest.md +17 -0
  74. data/docs/PurchaseCalculatorHorizonRequest.md +15 -0
  75. data/docs/RatioTargets.md +13 -0
  76. data/docs/RatioTargets1.md +13 -0
  77. data/docs/RebalancingSignalRequest.md +13 -0
  78. data/docs/RecommendationConfig.md +15 -0
  79. data/docs/RecommendationConfig1.md +14 -0
  80. data/docs/RecurringTransactionAnalysisRequest.md +19 -0
  81. data/docs/RetirementCalculatorDepositAmountRequest.md +20 -0
  82. data/docs/RetirementCalculatorExpensesRequest.md +19 -0
  83. data/docs/RetirementCalculatorPercentCoveredRequest.md +19 -0
  84. data/docs/RiskAllocationRequest.md +14 -0
  85. data/docs/RiskScoreRequest.md +13 -0
  86. data/docs/RiskScoringApi.md +176 -0
  87. data/docs/SavingsCalculatorRequest.md +17 -0
  88. data/docs/SavingsDepositSchedule.md +11 -0
  89. data/docs/ScenarioAnalysisRequest.md +22 -0
  90. data/docs/SensitivityAnalysisRequest.md +22 -0
  91. data/docs/SensitivityFactor.md +11 -0
  92. data/docs/Settings.md +13 -0
  93. data/docs/SimulationsApi.md +400 -0
  94. data/docs/VariableAnnuityRequest.md +34 -0
  95. data/docs/WConfig.md +12 -0
  96. data/docs/WConfig1.md +12 -0
  97. data/git_push.sh +55 -0
  98. data/lib/proton_api.rb +132 -0
  99. data/lib/proton_api/api/annuities_api.rb +347 -0
  100. data/lib/proton_api/api/business_financial_management_api.rb +293 -0
  101. data/lib/proton_api/api/cards_api.rb +131 -0
  102. data/lib/proton_api/api/financial_health_api.rb +239 -0
  103. data/lib/proton_api/api/financial_planning_api.rb +671 -0
  104. data/lib/proton_api/api/goals_api.rb +347 -0
  105. data/lib/proton_api/api/life_insurance_api.rb +77 -0
  106. data/lib/proton_api/api/personal_financial_management_api.rb +293 -0
  107. data/lib/proton_api/api/portfolio_construction_api.rb +77 -0
  108. data/lib/proton_api/api/portfolio_management_api.rb +77 -0
  109. data/lib/proton_api/api/risk_scoring_api.rb +185 -0
  110. data/lib/proton_api/api/simulations_api.rb +401 -0
  111. data/lib/proton_api/api_client.rb +391 -0
  112. data/lib/proton_api/api_error.rb +38 -0
  113. data/lib/proton_api/auth_configuration.rb +177 -0
  114. data/lib/proton_api/configuration.rb +209 -0
  115. data/lib/proton_api/models/accumulation_goal_deposit_config.rb +338 -0
  116. data/lib/proton_api/models/annuity_calculator_accumulation_horizon_request.rb +462 -0
  117. data/lib/proton_api/models/annuity_calculator_annuity_amount_request.rb +464 -0
  118. data/lib/proton_api/models/annuity_calculator_decumulation_horizon_request.rb +462 -0
  119. data/lib/proton_api/models/annuity_calculator_deposit_amount_request.rb +471 -0
  120. data/lib/proton_api/models/annuity_calculator_initial_balance_request.rb +471 -0
  121. data/lib/proton_api/models/annuity_deposit_schedule.rb +257 -0
  122. data/lib/proton_api/models/backtest_request.rb +298 -0
  123. data/lib/proton_api/models/beneficiary_bequest_config.rb +260 -0
  124. data/lib/proton_api/models/budget_aggregation_account.rb +189 -0
  125. data/lib/proton_api/models/budget_calculator_request.rb +315 -0
  126. data/lib/proton_api/models/budget_component.rb +231 -0
  127. data/lib/proton_api/models/budget_details.rb +340 -0
  128. data/lib/proton_api/models/business_financial_health_check_request.rb +478 -0
  129. data/lib/proton_api/models/business_invoice_analysis_request.rb +355 -0
  130. data/lib/proton_api/models/calculator_deposit_schedule.rb +231 -0
  131. data/lib/proton_api/models/calculator_deposit_schedule1.rb +257 -0
  132. data/lib/proton_api/models/card_limit_check_request.rb +203 -0
  133. data/lib/proton_api/models/card_transaction_authorization_request.rb +359 -0
  134. data/lib/proton_api/models/cash_analysis_request.rb +321 -0
  135. data/lib/proton_api/models/cash_flow_analysis_request.rb +338 -0
  136. data/lib/proton_api/models/children_education_config.rb +224 -0
  137. data/lib/proton_api/models/customer_analysis_request.rb +286 -0
  138. data/lib/proton_api/models/decumulation_goal_deposit_config.rb +338 -0
  139. data/lib/proton_api/models/dimensional_risk_score_request.rb +285 -0
  140. data/lib/proton_api/models/diversification_score_request.rb +327 -0
  141. data/lib/proton_api/models/education_calculator_annual_cost_request.rb +453 -0
  142. data/lib/proton_api/models/education_calculator_deposit_amount_request.rb +486 -0
  143. data/lib/proton_api/models/education_calculator_percent_covered_request.rb +451 -0
  144. data/lib/proton_api/models/education_config.rb +274 -0
  145. data/lib/proton_api/models/emergency_fund_calculator_request.rb +564 -0
  146. data/lib/proton_api/models/event_study_request.rb +320 -0
  147. data/lib/proton_api/models/fee_analysis_request.rb +231 -0
  148. data/lib/proton_api/models/financial_health_check_request.rb +387 -0
  149. data/lib/proton_api/models/financial_picture_request.rb +269 -0
  150. data/lib/proton_api/models/financial_statement_analysis_request.rb +455 -0
  151. data/lib/proton_api/models/goal_accumulation_allocation_request.rb +732 -0
  152. data/lib/proton_api/models/goal_accumulation_recommendation_request.rb +625 -0
  153. data/lib/proton_api/models/goal_accumulation_status_request.rb +625 -0
  154. data/lib/proton_api/models/goal_config.rb +225 -0
  155. data/lib/proton_api/models/goal_decumulation_allocation_request.rb +767 -0
  156. data/lib/proton_api/models/goal_decumulation_recommendation_request.rb +660 -0
  157. data/lib/proton_api/models/goal_decumulation_status_request.rb +660 -0
  158. data/lib/proton_api/models/goal_withdrawal_config.rb +338 -0
  159. data/lib/proton_api/models/guaranteed_rate_benefit.rb +275 -0
  160. data/lib/proton_api/models/income_config.rb +269 -0
  161. data/lib/proton_api/models/life_insurance_needs_calculator_request.rb +518 -0
  162. data/lib/proton_api/models/monte_carlo_request.rb +507 -0
  163. data/lib/proton_api/models/mortgage_calculator_down_payment_request.rb +302 -0
  164. data/lib/proton_api/models/mortgage_calculator_home_price_request.rb +302 -0
  165. data/lib/proton_api/models/mortgage_calculator_periodic_payment_request.rb +302 -0
  166. data/lib/proton_api/models/mvo_request.rb +369 -0
  167. data/lib/proton_api/models/opt_config.rb +303 -0
  168. data/lib/proton_api/models/opt_config1.rb +263 -0
  169. data/lib/proton_api/models/periods.rb +223 -0
  170. data/lib/proton_api/models/portfolio_optimization_score_request.rb +359 -0
  171. data/lib/proton_api/models/portfolio_what_if_request.rb +354 -0
  172. data/lib/proton_api/models/purchase_calculator_amount_request.rb +404 -0
  173. data/lib/proton_api/models/purchase_calculator_deposit_amount_request.rb +437 -0
  174. data/lib/proton_api/models/purchase_calculator_horizon_request.rb +359 -0
  175. data/lib/proton_api/models/ratio_targets.rb +331 -0
  176. data/lib/proton_api/models/ratio_targets1.rb +331 -0
  177. data/lib/proton_api/models/rebalancing_signal_request.rb +241 -0
  178. data/lib/proton_api/models/recommendation_config.rb +360 -0
  179. data/lib/proton_api/models/recommendation_config1.rb +349 -0
  180. data/lib/proton_api/models/recurring_transaction_analysis_request.rb +370 -0
  181. data/lib/proton_api/models/retirement_calculator_deposit_amount_request.rb +512 -0
  182. data/lib/proton_api/models/retirement_calculator_expenses_request.rb +479 -0
  183. data/lib/proton_api/models/retirement_calculator_percent_covered_request.rb +477 -0
  184. data/lib/proton_api/models/risk_allocation_request.rb +319 -0
  185. data/lib/proton_api/models/risk_score_request.rb +242 -0
  186. data/lib/proton_api/models/savings_calculator_request.rb +398 -0
  187. data/lib/proton_api/models/savings_deposit_schedule.rb +279 -0
  188. data/lib/proton_api/models/scenario_analysis_request.rb +404 -0
  189. data/lib/proton_api/models/sensitivity_analysis_request.rb +402 -0
  190. data/lib/proton_api/models/sensitivity_factor.rb +281 -0
  191. data/lib/proton_api/models/settings.rb +290 -0
  192. data/lib/proton_api/models/variable_annuity_request.rb +703 -0
  193. data/lib/proton_api/models/w_config.rb +385 -0
  194. data/lib/proton_api/models/w_config1.rb +350 -0
  195. data/lib/proton_api/version.rb +15 -0
  196. data/proton_api.gemspec +46 -0
  197. data/spec/api/annuities_api_spec.rb +107 -0
  198. data/spec/api/business_financial_management_api_spec.rb +95 -0
  199. data/spec/api/cards_api_spec.rb +59 -0
  200. data/spec/api/financial_health_api_spec.rb +83 -0
  201. data/spec/api/financial_planning_api_spec.rb +179 -0
  202. data/spec/api/goals_api_spec.rb +107 -0
  203. data/spec/api/life_insurance_api_spec.rb +47 -0
  204. data/spec/api/personal_financial_management_api_spec.rb +95 -0
  205. data/spec/api/portfolio_construction_api_spec.rb +47 -0
  206. data/spec/api/portfolio_management_api_spec.rb +47 -0
  207. data/spec/api/risk_scoring_api_spec.rb +71 -0
  208. data/spec/api/simulations_api_spec.rb +119 -0
  209. data/spec/api_client_spec.rb +243 -0
  210. data/spec/configuration_spec.rb +42 -0
  211. data/spec/models/accumulation_goal_deposit_config_spec.rb +89 -0
  212. data/spec/models/annuity_calculator_accumulation_horizon_request_spec.rb +111 -0
  213. data/spec/models/annuity_calculator_annuity_amount_request_spec.rb +111 -0
  214. data/spec/models/annuity_calculator_decumulation_horizon_request_spec.rb +111 -0
  215. data/spec/models/annuity_calculator_deposit_amount_request_spec.rb +111 -0
  216. data/spec/models/annuity_calculator_initial_balance_request_spec.rb +111 -0
  217. data/spec/models/annuity_deposit_schedule_spec.rb +57 -0
  218. data/spec/models/backtest_request_spec.rb +95 -0
  219. data/spec/models/beneficiary_bequest_config_spec.rb +53 -0
  220. data/spec/models/budget_aggregation_account_spec.rb +41 -0
  221. data/spec/models/budget_calculator_request_spec.rb +93 -0
  222. data/spec/models/budget_component_spec.rb +53 -0
  223. data/spec/models/budget_details_spec.rb +99 -0
  224. data/spec/models/business_financial_health_check_request_spec.rb +137 -0
  225. data/spec/models/business_invoice_analysis_request_spec.rb +117 -0
  226. data/spec/models/calculator_deposit_schedule1_spec.rb +57 -0
  227. data/spec/models/calculator_deposit_schedule_spec.rb +51 -0
  228. data/spec/models/card_limit_check_request_spec.rb +47 -0
  229. data/spec/models/card_transaction_authorization_request_spec.rb +115 -0
  230. data/spec/models/cash_analysis_request_spec.rb +103 -0
  231. data/spec/models/cash_flow_analysis_request_spec.rb +117 -0
  232. data/spec/models/children_education_config_spec.rb +47 -0
  233. data/spec/models/customer_analysis_request_spec.rb +95 -0
  234. data/spec/models/decumulation_goal_deposit_config_spec.rb +89 -0
  235. data/spec/models/dimensional_risk_score_request_spec.rb +89 -0
  236. data/spec/models/diversification_score_request_spec.rb +111 -0
  237. data/spec/models/education_calculator_annual_cost_request_spec.rb +101 -0
  238. data/spec/models/education_calculator_deposit_amount_request_spec.rb +107 -0
  239. data/spec/models/education_calculator_percent_covered_request_spec.rb +101 -0
  240. data/spec/models/education_config_spec.rb +53 -0
  241. data/spec/models/emergency_fund_calculator_request_spec.rb +141 -0
  242. data/spec/models/event_study_request_spec.rb +109 -0
  243. data/spec/models/fee_analysis_request_spec.rb +71 -0
  244. data/spec/models/financial_health_check_request_spec.rb +95 -0
  245. data/spec/models/financial_picture_request_spec.rb +89 -0
  246. data/spec/models/financial_statement_analysis_request_spec.rb +149 -0
  247. data/spec/models/goal_accumulation_allocation_request_spec.rb +215 -0
  248. data/spec/models/goal_accumulation_recommendation_request_spec.rb +173 -0
  249. data/spec/models/goal_accumulation_status_request_spec.rb +173 -0
  250. data/spec/models/goal_config_spec.rb +47 -0
  251. data/spec/models/goal_decumulation_allocation_request_spec.rb +221 -0
  252. data/spec/models/goal_decumulation_recommendation_request_spec.rb +179 -0
  253. data/spec/models/goal_decumulation_status_request_spec.rb +179 -0
  254. data/spec/models/goal_withdrawal_config_spec.rb +89 -0
  255. data/spec/models/guaranteed_rate_benefit_spec.rb +59 -0
  256. data/spec/models/income_config_spec.rb +53 -0
  257. data/spec/models/life_insurance_needs_calculator_request_spec.rb +125 -0
  258. data/spec/models/monte_carlo_request_spec.rb +179 -0
  259. data/spec/models/mortgage_calculator_down_payment_request_spec.rb +59 -0
  260. data/spec/models/mortgage_calculator_home_price_request_spec.rb +59 -0
  261. data/spec/models/mortgage_calculator_periodic_payment_request_spec.rb +59 -0
  262. data/spec/models/mvo_request_spec.rb +113 -0
  263. data/spec/models/opt_config1_spec.rb +69 -0
  264. data/spec/models/opt_config_spec.rb +81 -0
  265. data/spec/models/periods_spec.rb +47 -0
  266. data/spec/models/portfolio_optimization_score_request_spec.rb +127 -0
  267. data/spec/models/portfolio_what_if_request_spec.rb +123 -0
  268. data/spec/models/purchase_calculator_amount_request_spec.rb +93 -0
  269. data/spec/models/purchase_calculator_deposit_amount_request_spec.rb +99 -0
  270. data/spec/models/purchase_calculator_horizon_request_spec.rb +83 -0
  271. data/spec/models/ratio_targets1_spec.rb +71 -0
  272. data/spec/models/ratio_targets_spec.rb +71 -0
  273. data/spec/models/rebalancing_signal_request_spec.rb +71 -0
  274. data/spec/models/recommendation_config1_spec.rb +77 -0
  275. data/spec/models/recommendation_config_spec.rb +83 -0
  276. data/spec/models/recurring_transaction_analysis_request_spec.rb +111 -0
  277. data/spec/models/retirement_calculator_deposit_amount_request_spec.rb +113 -0
  278. data/spec/models/retirement_calculator_expenses_request_spec.rb +107 -0
  279. data/spec/models/retirement_calculator_percent_covered_request_spec.rb +107 -0
  280. data/spec/models/risk_allocation_request_spec.rb +85 -0
  281. data/spec/models/risk_score_request_spec.rb +71 -0
  282. data/spec/models/savings_calculator_request_spec.rb +99 -0
  283. data/spec/models/savings_deposit_schedule_spec.rb +63 -0
  284. data/spec/models/scenario_analysis_request_spec.rb +133 -0
  285. data/spec/models/sensitivity_analysis_request_spec.rb +133 -0
  286. data/spec/models/sensitivity_factor_spec.rb +59 -0
  287. data/spec/models/settings_spec.rb +79 -0
  288. data/spec/models/variable_annuity_request_spec.rb +209 -0
  289. data/spec/models/w_config1_spec.rb +65 -0
  290. data/spec/models/w_config_spec.rb +65 -0
  291. data/spec/spec_helper.rb +111 -0
  292. metadata +628 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 23aac3a093f2f1a0f7fdaea70abb5446cea861442d1a5d703004b266157d4e3d
4
+ data.tar.gz: a1bb1786c3da7ca71c2333e8c3d5cd6bb19beccde23e4497ec578ea0aa4a29b3
5
+ SHA512:
6
+ metadata.gz: a65881f9bb3d3a0cf54128d29e3e584feb83bb285c3c8dccb62b91b543c5314fa3895177b521a5cae2103e5a75ed0b673be5ccf9ce33148bac26b072641f0ce9
7
+ data.tar.gz: f3d96695f93ef04d9be1b09a799bbfd4c321f086a666a8646b4d124d3766ad5e69a68689f2f59defe8d26dcc31e6f766e4972f748de57a411745dfa04e7a899f
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.3.3'
7
+ end
data/README.md ADDED
@@ -0,0 +1,246 @@
1
+ # proton_api
2
+
3
+ ProtonApi - the Ruby gem for the Hydrogen Proton API
4
+
5
+ Financial engineering module of Hydrogen Atom
6
+
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
+
9
+ - API version: 1.8.0
10
+ - Package version: 1.0.0
11
+ - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://www.hydrogenplatform.com/contact](https://www.hydrogenplatform.com/contact)
13
+
14
+ ## Installation
15
+ ### Update Base Path
16
+ Follow steps to verify the base URL path:
17
+ 1. Go to configuration file located under lib folder.
18
+ 2. Search for @host and change/verify the URL according to the environment.
19
+ **Sandbox Base URL**
20
+ https://sandbox.hydrogenplatform.com/proton/v1
21
+ **Production Base URL**
22
+ https://api.hydrogenplatform.com/proton/v1
23
+
24
+ ### Build a gem
25
+
26
+ To build the Ruby code into a gem:
27
+
28
+ ```shell
29
+ gem build proton_api.gemspec
30
+ ```
31
+
32
+ Then either install the gem locally:
33
+
34
+ ```shell
35
+ gem install ./proton_api-1.8.0.gem
36
+ ```
37
+ (for development, run `gem install --dev ./proton_api-1.8.0.gem` to install the development dependencies)
38
+
39
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
40
+
41
+ Finally add this to the Gemfile:
42
+
43
+ gem 'proton_api', '~> 1.8.0'
44
+
45
+ ### Install from Git
46
+
47
+ If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
48
+
49
+ gem 'proton_api', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
50
+
51
+ ### Include the Ruby code directly
52
+
53
+ Include the Ruby code directly using `-I` as follows:
54
+
55
+ ```shell
56
+ ruby -Ilib script.rb
57
+ ```
58
+
59
+ ## Getting Started
60
+
61
+ Please follow the [installation](#installation) procedure and then run the following code:
62
+ ```ruby
63
+ # Load the gem
64
+ require 'proton_api'
65
+
66
+ # Setup authorization
67
+ ProtonApi.configure do |config|
68
+ # Creating a token for grant_type=client_credentials
69
+ config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
70
+ # Creating a token for grant_type=password
71
+ config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
72
+ # Creating a token using client token
73
+ config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
74
+ end
75
+
76
+
77
+ api_instance = ProtonApi::AnnuitiesApi.new
78
+
79
+ annuity_calculator_accumulation_horizon_request = ProtonApi::AnnuityCalculatorAccumulationHorizonRequest.new # AnnuityCalculatorAccumulationHorizonRequest | Request payload for Annuity Calculator - Accumulation Horizon
80
+
81
+
82
+ begin
83
+ #Annuity Calculator - Accumulation Horizon
84
+ result = api_instance.annuity_calculator_accumulation_horizon(annuity_calculator_accumulation_horizon_request)
85
+ p result
86
+ rescue ProtonApi::ApiError => e
87
+ puts "Exception when calling AnnuitiesApi->annuity_calculator_accumulation_horizon: #{e}"
88
+ end
89
+
90
+ ```
91
+
92
+ ## Documentation for API Endpoints
93
+
94
+ All URIs are relative to *https://sandbox.hydrogenplatform.com/proton/v1*
95
+
96
+ Class | Method | HTTP request | Description
97
+ ------------ | ------------- | ------------- | -------------
98
+ *ProtonApi::AnnuitiesApi* | [**annuity_calculator_accumulation_horizon**](docs/AnnuitiesApi.md#annuity_calculator_accumulation_horizon) | **POST** /annuity_calculator/accumulation_horizon | Annuity Calculator - Accumulation Horizon
99
+ *ProtonApi::AnnuitiesApi* | [**annuity_calculator_annuity_amount**](docs/AnnuitiesApi.md#annuity_calculator_annuity_amount) | **POST** /annuity_calculator/annuity_amount | Annuity Calculator - Annuity Amount
100
+ *ProtonApi::AnnuitiesApi* | [**annuity_calculator_decumulation_horizon**](docs/AnnuitiesApi.md#annuity_calculator_decumulation_horizon) | **POST** /annuity_calculator/decumulation_horizon | Annuity Calculator - Decumulation Horizon
101
+ *ProtonApi::AnnuitiesApi* | [**annuity_calculator_deposit_amount**](docs/AnnuitiesApi.md#annuity_calculator_deposit_amount) | **POST** /annuity_calculator/deposit_amount | Annuity Calculator - Deposit Amount
102
+ *ProtonApi::AnnuitiesApi* | [**annuity_calculator_initial_balance**](docs/AnnuitiesApi.md#annuity_calculator_initial_balance) | **POST** /annuity_calculator/initial_balance | Annuity Calculator - Initial Balance
103
+ *ProtonApi::AnnuitiesApi* | [**variable_annuity**](docs/AnnuitiesApi.md#variable_annuity) | **POST** /variable_annuity | Variable Annuity
104
+ *ProtonApi::BusinessFinancialManagementApi* | [**business_financial_health_check**](docs/BusinessFinancialManagementApi.md#business_financial_health_check) | **POST** /business/financial_health_check | Business Financial Health Check
105
+ *ProtonApi::BusinessFinancialManagementApi* | [**cash_analysis**](docs/BusinessFinancialManagementApi.md#cash_analysis) | **POST** /business/cash_analysis | Cash Analysis
106
+ *ProtonApi::BusinessFinancialManagementApi* | [**customer_analysis**](docs/BusinessFinancialManagementApi.md#customer_analysis) | **POST** /business/customer_analysis | Customer Analysis
107
+ *ProtonApi::BusinessFinancialManagementApi* | [**financial_statement_analysis**](docs/BusinessFinancialManagementApi.md#financial_statement_analysis) | **POST** /business/financial_statement_analysis | Financial Statement Analysis
108
+ *ProtonApi::BusinessFinancialManagementApi* | [**invoice_analysis**](docs/BusinessFinancialManagementApi.md#invoice_analysis) | **POST** /business/invoice_analysis | Invoice Analysis
109
+ *ProtonApi::CardsApi* | [**card_limit_check**](docs/CardsApi.md#card_limit_check) | **POST** /card_limit_check | Card Limit Check
110
+ *ProtonApi::CardsApi* | [**card_transaction_authorization**](docs/CardsApi.md#card_transaction_authorization) | **POST** /card_authorization | Card Transaction Authorization
111
+ *ProtonApi::FinancialHealthApi* | [**diversification_score**](docs/FinancialHealthApi.md#diversification_score) | **POST** /diversification_score | Diversification Score
112
+ *ProtonApi::FinancialHealthApi* | [**emergency_fund_calculator**](docs/FinancialHealthApi.md#emergency_fund_calculator) | **POST** /emergency_fund_calculator | Emergency Fund Calculator
113
+ *ProtonApi::FinancialHealthApi* | [**financial_health_check**](docs/FinancialHealthApi.md#financial_health_check) | **POST** /financial_health_check | Financial Health Check
114
+ *ProtonApi::FinancialHealthApi* | [**portfolio_optimization_score**](docs/FinancialHealthApi.md#portfolio_optimization_score) | **POST** /portfolio_optimization_score | Portfolio Optimization Score
115
+ *ProtonApi::FinancialPlanningApi* | [**education_calculator_annual_cost**](docs/FinancialPlanningApi.md#education_calculator_annual_cost) | **POST** /education_calculator/annual_cost | Education Calculator - Annual Cost
116
+ *ProtonApi::FinancialPlanningApi* | [**education_calculator_deposit_amount**](docs/FinancialPlanningApi.md#education_calculator_deposit_amount) | **POST** /education_calculator/deposit_amount | Education Calculator - Deposit Amount
117
+ *ProtonApi::FinancialPlanningApi* | [**education_calculator_percent_covered**](docs/FinancialPlanningApi.md#education_calculator_percent_covered) | **POST** /education_calculator/percent_covered | Education Calculator - Percent Covered
118
+ *ProtonApi::FinancialPlanningApi* | [**mortgage_calculator_down_payment**](docs/FinancialPlanningApi.md#mortgage_calculator_down_payment) | **POST** /mortgage_calculator/down_payment | Mortgage Calculator - Down Payment
119
+ *ProtonApi::FinancialPlanningApi* | [**mortgage_calculator_home_price**](docs/FinancialPlanningApi.md#mortgage_calculator_home_price) | **POST** /mortgage_calculator/home_price | Mortgage Calculator - Home Price
120
+ *ProtonApi::FinancialPlanningApi* | [**mortgage_calculator_periodic_payment**](docs/FinancialPlanningApi.md#mortgage_calculator_periodic_payment) | **POST** /mortgage_calculator/periodic_payment | Mortgage Calculator - Periodic Payment
121
+ *ProtonApi::FinancialPlanningApi* | [**purchase_calculator_amount**](docs/FinancialPlanningApi.md#purchase_calculator_amount) | **POST** /purchase_calculator/amount | Purchase Calculator - Amount
122
+ *ProtonApi::FinancialPlanningApi* | [**purchase_calculator_deposit_amount**](docs/FinancialPlanningApi.md#purchase_calculator_deposit_amount) | **POST** /purchase_calculator/deposit_amount | Purchase Calculator - Deposit Amount
123
+ *ProtonApi::FinancialPlanningApi* | [**purchase_calculator_horizon**](docs/FinancialPlanningApi.md#purchase_calculator_horizon) | **POST** /purchase_calculator/horizon | Purchase Calculator - Horizon
124
+ *ProtonApi::FinancialPlanningApi* | [**retirement_calculator_deposit_amount**](docs/FinancialPlanningApi.md#retirement_calculator_deposit_amount) | **POST** /retirement_calculator/deposit_amount | Retirement Calculator - Deposit Amount
125
+ *ProtonApi::FinancialPlanningApi* | [**retirement_calculator_expenses**](docs/FinancialPlanningApi.md#retirement_calculator_expenses) | **POST** /retirement_calculator/expenses | Retirement Calculator - Expenses
126
+ *ProtonApi::FinancialPlanningApi* | [**retirement_calculator_percent_covered**](docs/FinancialPlanningApi.md#retirement_calculator_percent_covered) | **POST** /retirement_calculator/percent_covered | Retirement Calculator - Percent Covered
127
+ *ProtonApi::GoalsApi* | [**goal_accumulation_allocation**](docs/GoalsApi.md#goal_accumulation_allocation) | **POST** /goal_accumulation/allocation | Goal Accumulation Allocation
128
+ *ProtonApi::GoalsApi* | [**goal_accumulation_recommendation**](docs/GoalsApi.md#goal_accumulation_recommendation) | **POST** /goal_accumulation/recommendation | Goal Accumulation Recommendation
129
+ *ProtonApi::GoalsApi* | [**goal_accumulation_status**](docs/GoalsApi.md#goal_accumulation_status) | **POST** /goal_accumulation/status | Goal Accumulation Status
130
+ *ProtonApi::GoalsApi* | [**goal_decumulation_allocation**](docs/GoalsApi.md#goal_decumulation_allocation) | **POST** /goal_decumulation/allocation | Goal Decumulation Allocation
131
+ *ProtonApi::GoalsApi* | [**goal_decumulation_recommendation**](docs/GoalsApi.md#goal_decumulation_recommendation) | **POST** /goal_decumulation/recommendation | Goal Decumulation Recommendation
132
+ *ProtonApi::GoalsApi* | [**goal_decumulation_status**](docs/GoalsApi.md#goal_decumulation_status) | **POST** /goal_decumulation/status | Goal Decumulation Status
133
+ *ProtonApi::LifeInsuranceApi* | [**life_insurance_needs_calculator**](docs/LifeInsuranceApi.md#life_insurance_needs_calculator) | **POST** /life_insurance/needs_calculator | Life Insurance Needs Calculator
134
+ *ProtonApi::PersonalFinancialManagementApi* | [**budget_calculator**](docs/PersonalFinancialManagementApi.md#budget_calculator) | **POST** /budget_calculator | Budget Calculator
135
+ *ProtonApi::PersonalFinancialManagementApi* | [**cash_flow_analysis**](docs/PersonalFinancialManagementApi.md#cash_flow_analysis) | **POST** /cash_flow_analysis | Cash Flow Analysis
136
+ *ProtonApi::PersonalFinancialManagementApi* | [**fee_analysis**](docs/PersonalFinancialManagementApi.md#fee_analysis) | **POST** /fee_analysis | RFee Analysis
137
+ *ProtonApi::PersonalFinancialManagementApi* | [**financial_picture**](docs/PersonalFinancialManagementApi.md#financial_picture) | **POST** /financial_picture | Financial Picture
138
+ *ProtonApi::PersonalFinancialManagementApi* | [**recurring_transaction_analysis**](docs/PersonalFinancialManagementApi.md#recurring_transaction_analysis) | **POST** /recurring_transaction_analysis | Recurring Transaction Analysis
139
+ *ProtonApi::PortfolioConstructionApi* | [**mvo**](docs/PortfolioConstructionApi.md#mvo) | **POST** /mvo | MVO
140
+ *ProtonApi::PortfolioManagementApi* | [**rebalancing_signal**](docs/PortfolioManagementApi.md#rebalancing_signal) | **POST** /rebalancing_signal | Rebalancing Signal
141
+ *ProtonApi::RiskScoringApi* | [**dimensional_risk_score**](docs/RiskScoringApi.md#dimensional_risk_score) | **POST** /dimensional_risk_score | Dimensional Risk Score
142
+ *ProtonApi::RiskScoringApi* | [**risk_allocation**](docs/RiskScoringApi.md#risk_allocation) | **POST** /risk_allocation | Risk Allocation
143
+ *ProtonApi::RiskScoringApi* | [**risk_score**](docs/RiskScoringApi.md#risk_score) | **POST** /risk_score | Risk Score
144
+ *ProtonApi::SimulationsApi* | [**backtest**](docs/SimulationsApi.md#backtest) | **POST** /backtest | Backtest
145
+ *ProtonApi::SimulationsApi* | [**event_study**](docs/SimulationsApi.md#event_study) | **POST** /event_study | Event Study
146
+ *ProtonApi::SimulationsApi* | [**monte_carlo**](docs/SimulationsApi.md#monte_carlo) | **POST** /monte_carlo | Monte Carlo
147
+ *ProtonApi::SimulationsApi* | [**portfolio_what_if**](docs/SimulationsApi.md#portfolio_what_if) | **POST** /portfolio_what_if | Porfolio What-If
148
+ *ProtonApi::SimulationsApi* | [**savings_calculator**](docs/SimulationsApi.md#savings_calculator) | **POST** /savings_calculator | Savings Calculator
149
+ *ProtonApi::SimulationsApi* | [**scenario_analysis**](docs/SimulationsApi.md#scenario_analysis) | **POST** /scenario_analysis | Scenario Analysis
150
+ *ProtonApi::SimulationsApi* | [**sensitivity_analysis**](docs/SimulationsApi.md#sensitivity_analysis) | **POST** /sensitivity_analysis | Sensitivity Analysis
151
+
152
+
153
+ ## Documentation for Models
154
+
155
+ - [ProtonApi::AccumulationGoalDepositConfig](docs/AccumulationGoalDepositConfig.md)
156
+ - [ProtonApi::AnnuityCalculatorAccumulationHorizonRequest](docs/AnnuityCalculatorAccumulationHorizonRequest.md)
157
+ - [ProtonApi::AnnuityCalculatorAnnuityAmountRequest](docs/AnnuityCalculatorAnnuityAmountRequest.md)
158
+ - [ProtonApi::AnnuityCalculatorDecumulationHorizonRequest](docs/AnnuityCalculatorDecumulationHorizonRequest.md)
159
+ - [ProtonApi::AnnuityCalculatorDepositAmountRequest](docs/AnnuityCalculatorDepositAmountRequest.md)
160
+ - [ProtonApi::AnnuityCalculatorInitialBalanceRequest](docs/AnnuityCalculatorInitialBalanceRequest.md)
161
+ - [ProtonApi::AnnuityDepositSchedule](docs/AnnuityDepositSchedule.md)
162
+ - [ProtonApi::BacktestRequest](docs/BacktestRequest.md)
163
+ - [ProtonApi::BeneficiaryBequestConfig](docs/BeneficiaryBequestConfig.md)
164
+ - [ProtonApi::BudgetAggregationAccount](docs/BudgetAggregationAccount.md)
165
+ - [ProtonApi::BudgetCalculatorRequest](docs/BudgetCalculatorRequest.md)
166
+ - [ProtonApi::BudgetComponent](docs/BudgetComponent.md)
167
+ - [ProtonApi::BudgetDetails](docs/BudgetDetails.md)
168
+ - [ProtonApi::BusinessFinancialHealthCheckRequest](docs/BusinessFinancialHealthCheckRequest.md)
169
+ - [ProtonApi::BusinessInvoiceAnalysisRequest](docs/BusinessInvoiceAnalysisRequest.md)
170
+ - [ProtonApi::CalculatorDepositSchedule](docs/CalculatorDepositSchedule.md)
171
+ - [ProtonApi::CalculatorDepositSchedule1](docs/CalculatorDepositSchedule1.md)
172
+ - [ProtonApi::CardLimitCheckRequest](docs/CardLimitCheckRequest.md)
173
+ - [ProtonApi::CardTransactionAuthorizationRequest](docs/CardTransactionAuthorizationRequest.md)
174
+ - [ProtonApi::CashAnalysisRequest](docs/CashAnalysisRequest.md)
175
+ - [ProtonApi::CashFlowAnalysisRequest](docs/CashFlowAnalysisRequest.md)
176
+ - [ProtonApi::ChildrenEducationConfig](docs/ChildrenEducationConfig.md)
177
+ - [ProtonApi::CustomerAnalysisRequest](docs/CustomerAnalysisRequest.md)
178
+ - [ProtonApi::DecumulationGoalDepositConfig](docs/DecumulationGoalDepositConfig.md)
179
+ - [ProtonApi::DimensionalRiskScoreRequest](docs/DimensionalRiskScoreRequest.md)
180
+ - [ProtonApi::DiversificationScoreRequest](docs/DiversificationScoreRequest.md)
181
+ - [ProtonApi::EducationCalculatorAnnualCostRequest](docs/EducationCalculatorAnnualCostRequest.md)
182
+ - [ProtonApi::EducationCalculatorDepositAmountRequest](docs/EducationCalculatorDepositAmountRequest.md)
183
+ - [ProtonApi::EducationCalculatorPercentCoveredRequest](docs/EducationCalculatorPercentCoveredRequest.md)
184
+ - [ProtonApi::EducationConfig](docs/EducationConfig.md)
185
+ - [ProtonApi::EmergencyFundCalculatorRequest](docs/EmergencyFundCalculatorRequest.md)
186
+ - [ProtonApi::EventStudyRequest](docs/EventStudyRequest.md)
187
+ - [ProtonApi::FeeAnalysisRequest](docs/FeeAnalysisRequest.md)
188
+ - [ProtonApi::FinancialHealthCheckRequest](docs/FinancialHealthCheckRequest.md)
189
+ - [ProtonApi::FinancialPictureRequest](docs/FinancialPictureRequest.md)
190
+ - [ProtonApi::FinancialStatementAnalysisRequest](docs/FinancialStatementAnalysisRequest.md)
191
+ - [ProtonApi::GoalAccumulationAllocationRequest](docs/GoalAccumulationAllocationRequest.md)
192
+ - [ProtonApi::GoalAccumulationRecommendationRequest](docs/GoalAccumulationRecommendationRequest.md)
193
+ - [ProtonApi::GoalAccumulationStatusRequest](docs/GoalAccumulationStatusRequest.md)
194
+ - [ProtonApi::GoalConfig](docs/GoalConfig.md)
195
+ - [ProtonApi::GoalDecumulationAllocationRequest](docs/GoalDecumulationAllocationRequest.md)
196
+ - [ProtonApi::GoalDecumulationRecommendationRequest](docs/GoalDecumulationRecommendationRequest.md)
197
+ - [ProtonApi::GoalDecumulationStatusRequest](docs/GoalDecumulationStatusRequest.md)
198
+ - [ProtonApi::GoalWithdrawalConfig](docs/GoalWithdrawalConfig.md)
199
+ - [ProtonApi::GuaranteedRateBenefit](docs/GuaranteedRateBenefit.md)
200
+ - [ProtonApi::IncomeConfig](docs/IncomeConfig.md)
201
+ - [ProtonApi::LifeInsuranceNeedsCalculatorRequest](docs/LifeInsuranceNeedsCalculatorRequest.md)
202
+ - [ProtonApi::MonteCarloRequest](docs/MonteCarloRequest.md)
203
+ - [ProtonApi::MortgageCalculatorDownPaymentRequest](docs/MortgageCalculatorDownPaymentRequest.md)
204
+ - [ProtonApi::MortgageCalculatorHomePriceRequest](docs/MortgageCalculatorHomePriceRequest.md)
205
+ - [ProtonApi::MortgageCalculatorPeriodicPaymentRequest](docs/MortgageCalculatorPeriodicPaymentRequest.md)
206
+ - [ProtonApi::MvoRequest](docs/MvoRequest.md)
207
+ - [ProtonApi::OptConfig](docs/OptConfig.md)
208
+ - [ProtonApi::OptConfig1](docs/OptConfig1.md)
209
+ - [ProtonApi::Periods](docs/Periods.md)
210
+ - [ProtonApi::PortfolioOptimizationScoreRequest](docs/PortfolioOptimizationScoreRequest.md)
211
+ - [ProtonApi::PortfolioWhatIfRequest](docs/PortfolioWhatIfRequest.md)
212
+ - [ProtonApi::PurchaseCalculatorAmountRequest](docs/PurchaseCalculatorAmountRequest.md)
213
+ - [ProtonApi::PurchaseCalculatorDepositAmountRequest](docs/PurchaseCalculatorDepositAmountRequest.md)
214
+ - [ProtonApi::PurchaseCalculatorHorizonRequest](docs/PurchaseCalculatorHorizonRequest.md)
215
+ - [ProtonApi::RatioTargets](docs/RatioTargets.md)
216
+ - [ProtonApi::RatioTargets1](docs/RatioTargets1.md)
217
+ - [ProtonApi::RebalancingSignalRequest](docs/RebalancingSignalRequest.md)
218
+ - [ProtonApi::RecommendationConfig](docs/RecommendationConfig.md)
219
+ - [ProtonApi::RecommendationConfig1](docs/RecommendationConfig1.md)
220
+ - [ProtonApi::RecurringTransactionAnalysisRequest](docs/RecurringTransactionAnalysisRequest.md)
221
+ - [ProtonApi::RetirementCalculatorDepositAmountRequest](docs/RetirementCalculatorDepositAmountRequest.md)
222
+ - [ProtonApi::RetirementCalculatorExpensesRequest](docs/RetirementCalculatorExpensesRequest.md)
223
+ - [ProtonApi::RetirementCalculatorPercentCoveredRequest](docs/RetirementCalculatorPercentCoveredRequest.md)
224
+ - [ProtonApi::RiskAllocationRequest](docs/RiskAllocationRequest.md)
225
+ - [ProtonApi::RiskScoreRequest](docs/RiskScoreRequest.md)
226
+ - [ProtonApi::SavingsCalculatorRequest](docs/SavingsCalculatorRequest.md)
227
+ - [ProtonApi::SavingsDepositSchedule](docs/SavingsDepositSchedule.md)
228
+ - [ProtonApi::ScenarioAnalysisRequest](docs/ScenarioAnalysisRequest.md)
229
+ - [ProtonApi::SensitivityAnalysisRequest](docs/SensitivityAnalysisRequest.md)
230
+ - [ProtonApi::SensitivityFactor](docs/SensitivityFactor.md)
231
+ - [ProtonApi::Settings](docs/Settings.md)
232
+ - [ProtonApi::VariableAnnuityRequest](docs/VariableAnnuityRequest.md)
233
+ - [ProtonApi::WConfig](docs/WConfig.md)
234
+ - [ProtonApi::WConfig1](docs/WConfig1.md)
235
+
236
+
237
+ ## Documentation for Authorization
238
+
239
+
240
+ ### oauth2
241
+
242
+ - **Type**: OAuth
243
+ - **Flow**: application
244
+ - **Authorization URL**:
245
+ - **Scopes**: N/A
246
+
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
@@ -0,0 +1,14 @@
1
+ # ProtonApi::AccumulationGoalDepositConfig
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **dep_amount** | **Float** | | [optional]
7
+ **dep_end_period** | **Integer** | | [optional] [default to 0]
8
+ **dep_end_reference** | **String** | | [optional] [default to 'a_end']
9
+ **dep_frequency** | **String** | | [optional] [default to 'year']
10
+ **dep_start_period** | **Integer** | | [optional] [default to 0]
11
+ **dep_inflation** | **Float** | | [optional] [default to 0.0]
12
+ **dep_start_reference** | **String** | | [optional] [default to 'a_start']
13
+
14
+
@@ -0,0 +1,344 @@
1
+ # ProtonApi::AnnuitiesApi
2
+
3
+ All URIs are relative to *https://sandbox.hydrogenplatform.com/proton/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**annuity_calculator_accumulation_horizon**](AnnuitiesApi.md#annuity_calculator_accumulation_horizon) | **POST** /annuity_calculator/accumulation_horizon | Annuity Calculator - Accumulation Horizon
8
+ [**annuity_calculator_annuity_amount**](AnnuitiesApi.md#annuity_calculator_annuity_amount) | **POST** /annuity_calculator/annuity_amount | Annuity Calculator - Annuity Amount
9
+ [**annuity_calculator_decumulation_horizon**](AnnuitiesApi.md#annuity_calculator_decumulation_horizon) | **POST** /annuity_calculator/decumulation_horizon | Annuity Calculator - Decumulation Horizon
10
+ [**annuity_calculator_deposit_amount**](AnnuitiesApi.md#annuity_calculator_deposit_amount) | **POST** /annuity_calculator/deposit_amount | Annuity Calculator - Deposit Amount
11
+ [**annuity_calculator_initial_balance**](AnnuitiesApi.md#annuity_calculator_initial_balance) | **POST** /annuity_calculator/initial_balance | Annuity Calculator - Initial Balance
12
+ [**variable_annuity**](AnnuitiesApi.md#variable_annuity) | **POST** /variable_annuity | Variable Annuity
13
+
14
+
15
+ # **annuity_calculator_accumulation_horizon**
16
+ > Hash<String, Object> annuity_calculator_accumulation_horizon(annuity_calculator_accumulation_horizon_request)
17
+
18
+ Annuity Calculator - Accumulation Horizon
19
+
20
+ Calculate the necessary fixed annuity contribution period
21
+
22
+ ### Example
23
+ ```ruby
24
+ # load the gem
25
+ require 'proton_api'
26
+ # setup authorization
27
+ ProtonApi.configure do |config|
28
+ # Creating a token for grant_type=client_credentials
29
+ config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
30
+ # Creating a token for grant_type=password
31
+ config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
32
+ # Creating a token using client token
33
+ config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
34
+ end
35
+ api_instance = ProtonApi::AnnuitiesApi.new
36
+
37
+ annuity_calculator_accumulation_horizon_request = ProtonApi::AnnuityCalculatorAccumulationHorizonRequest.new # AnnuityCalculatorAccumulationHorizonRequest | Request payload for Annuity Calculator - Accumulation Horizon
38
+
39
+
40
+ begin
41
+ #Annuity Calculator - Accumulation Horizon
42
+ result = api_instance.annuity_calculator_accumulation_horizon(annuity_calculator_accumulation_horizon_request)
43
+ p result
44
+ rescue ProtonApi::ApiError => e
45
+ puts "Exception when calling AnnuitiesApi->annuity_calculator_accumulation_horizon: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **annuity_calculator_accumulation_horizon_request** | [**AnnuityCalculatorAccumulationHorizonRequest**](AnnuityCalculatorAccumulationHorizonRequest.md)| Request payload for Annuity Calculator - Accumulation Horizon |
54
+
55
+ ### Return type
56
+
57
+ **Hash<String, Object>**
58
+
59
+ ### Authorization
60
+
61
+ [oauth2](../README.md#oauth2)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json
66
+ - **Accept**: application/json
67
+
68
+
69
+
70
+ # **annuity_calculator_annuity_amount**
71
+ > Hash<String, Object> annuity_calculator_annuity_amount(annuity_calculator_annuity_amount_request)
72
+
73
+ Annuity Calculator - Annuity Amount
74
+
75
+ Calculate the achievable fixed annuity amount
76
+
77
+ ### Example
78
+ ```ruby
79
+ # load the gem
80
+ require 'proton_api'
81
+ # setup authorization
82
+ ProtonApi.configure do |config|
83
+ # Creating a token for grant_type=client_credentials
84
+ config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
85
+ # Creating a token for grant_type=password
86
+ config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
87
+ # Creating a token using client token
88
+ config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
89
+ end
90
+ api_instance = ProtonApi::AnnuitiesApi.new
91
+
92
+ annuity_calculator_annuity_amount_request = ProtonApi::AnnuityCalculatorAnnuityAmountRequest.new # AnnuityCalculatorAnnuityAmountRequest | Request payload for Annuity Calculator - Annuity Amount
93
+
94
+
95
+ begin
96
+ #Annuity Calculator - Annuity Amount
97
+ result = api_instance.annuity_calculator_annuity_amount(annuity_calculator_annuity_amount_request)
98
+ p result
99
+ rescue ProtonApi::ApiError => e
100
+ puts "Exception when calling AnnuitiesApi->annuity_calculator_annuity_amount: #{e}"
101
+ end
102
+ ```
103
+
104
+ ### Parameters
105
+
106
+ Name | Type | Description | Notes
107
+ ------------- | ------------- | ------------- | -------------
108
+ **annuity_calculator_annuity_amount_request** | [**AnnuityCalculatorAnnuityAmountRequest**](AnnuityCalculatorAnnuityAmountRequest.md)| Request payload for Annuity Calculator - Annuity Amount |
109
+
110
+ ### Return type
111
+
112
+ **Hash<String, Object>**
113
+
114
+ ### Authorization
115
+
116
+ [oauth2](../README.md#oauth2)
117
+
118
+ ### HTTP request headers
119
+
120
+ - **Content-Type**: application/json
121
+ - **Accept**: application/json
122
+
123
+
124
+
125
+ # **annuity_calculator_decumulation_horizon**
126
+ > Hash<String, Object> annuity_calculator_decumulation_horizon(annuity_calculator_decumulation_horizon_request)
127
+
128
+ Annuity Calculator - Decumulation Horizon
129
+
130
+ Calculate the achievable fixed annuity payout period
131
+
132
+ ### Example
133
+ ```ruby
134
+ # load the gem
135
+ require 'proton_api'
136
+ # setup authorization
137
+ ProtonApi.configure do |config|
138
+ # Creating a token for grant_type=client_credentials
139
+ config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
140
+ # Creating a token for grant_type=password
141
+ config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
142
+ # Creating a token using client token
143
+ config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
144
+ end
145
+ api_instance = ProtonApi::AnnuitiesApi.new
146
+
147
+ annuity_calculator_decumulation_horizon_request = ProtonApi::AnnuityCalculatorDecumulationHorizonRequest.new # AnnuityCalculatorDecumulationHorizonRequest | Request payload for Annuity Calculator - Decumulation Horizon
148
+
149
+
150
+ begin
151
+ #Annuity Calculator - Decumulation Horizon
152
+ result = api_instance.annuity_calculator_decumulation_horizon(annuity_calculator_decumulation_horizon_request)
153
+ p result
154
+ rescue ProtonApi::ApiError => e
155
+ puts "Exception when calling AnnuitiesApi->annuity_calculator_decumulation_horizon: #{e}"
156
+ end
157
+ ```
158
+
159
+ ### Parameters
160
+
161
+ Name | Type | Description | Notes
162
+ ------------- | ------------- | ------------- | -------------
163
+ **annuity_calculator_decumulation_horizon_request** | [**AnnuityCalculatorDecumulationHorizonRequest**](AnnuityCalculatorDecumulationHorizonRequest.md)| Request payload for Annuity Calculator - Decumulation Horizon |
164
+
165
+ ### Return type
166
+
167
+ **Hash<String, Object>**
168
+
169
+ ### Authorization
170
+
171
+ [oauth2](../README.md#oauth2)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: application/json
176
+ - **Accept**: application/json
177
+
178
+
179
+
180
+ # **annuity_calculator_deposit_amount**
181
+ > Hash<String, Object> annuity_calculator_deposit_amount(annuity_calculator_deposit_amount_request)
182
+
183
+ Annuity Calculator - Deposit Amount
184
+
185
+ Calculate the necessary periodic deposit amount for a fixed annuity
186
+
187
+ ### Example
188
+ ```ruby
189
+ # load the gem
190
+ require 'proton_api'
191
+ # setup authorization
192
+ ProtonApi.configure do |config|
193
+ # Creating a token for grant_type=client_credentials
194
+ config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
195
+ # Creating a token for grant_type=password
196
+ config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
197
+ # Creating a token using client token
198
+ config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
199
+ end
200
+ api_instance = ProtonApi::AnnuitiesApi.new
201
+
202
+ annuity_calculator_deposit_amount_request = ProtonApi::AnnuityCalculatorDepositAmountRequest.new # AnnuityCalculatorDepositAmountRequest | Request payload for Annuity Calculator - Deposit Amount
203
+
204
+
205
+ begin
206
+ #Annuity Calculator - Deposit Amount
207
+ result = api_instance.annuity_calculator_deposit_amount(annuity_calculator_deposit_amount_request)
208
+ p result
209
+ rescue ProtonApi::ApiError => e
210
+ puts "Exception when calling AnnuitiesApi->annuity_calculator_deposit_amount: #{e}"
211
+ end
212
+ ```
213
+
214
+ ### Parameters
215
+
216
+ Name | Type | Description | Notes
217
+ ------------- | ------------- | ------------- | -------------
218
+ **annuity_calculator_deposit_amount_request** | [**AnnuityCalculatorDepositAmountRequest**](AnnuityCalculatorDepositAmountRequest.md)| Request payload for Annuity Calculator - Deposit Amount |
219
+
220
+ ### Return type
221
+
222
+ **Hash<String, Object>**
223
+
224
+ ### Authorization
225
+
226
+ [oauth2](../README.md#oauth2)
227
+
228
+ ### HTTP request headers
229
+
230
+ - **Content-Type**: application/json
231
+ - **Accept**: application/json
232
+
233
+
234
+
235
+ # **annuity_calculator_initial_balance**
236
+ > Hash<String, Object> annuity_calculator_initial_balance(annuity_calculator_initial_balance_request)
237
+
238
+ Annuity Calculator - Initial Balance
239
+
240
+ Calculate the necessary initial balance for a fixed annuity
241
+
242
+ ### Example
243
+ ```ruby
244
+ # load the gem
245
+ require 'proton_api'
246
+ # setup authorization
247
+ ProtonApi.configure do |config|
248
+ # Creating a token for grant_type=client_credentials
249
+ config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
250
+ # Creating a token for grant_type=password
251
+ config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
252
+ # Creating a token using client token
253
+ config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
254
+ end
255
+ api_instance = ProtonApi::AnnuitiesApi.new
256
+
257
+ annuity_calculator_initial_balance_request = ProtonApi::AnnuityCalculatorInitialBalanceRequest.new # AnnuityCalculatorInitialBalanceRequest | Request payload for Annuity Calculator - Initial Balance
258
+
259
+
260
+ begin
261
+ #Annuity Calculator - Initial Balance
262
+ result = api_instance.annuity_calculator_initial_balance(annuity_calculator_initial_balance_request)
263
+ p result
264
+ rescue ProtonApi::ApiError => e
265
+ puts "Exception when calling AnnuitiesApi->annuity_calculator_initial_balance: #{e}"
266
+ end
267
+ ```
268
+
269
+ ### Parameters
270
+
271
+ Name | Type | Description | Notes
272
+ ------------- | ------------- | ------------- | -------------
273
+ **annuity_calculator_initial_balance_request** | [**AnnuityCalculatorInitialBalanceRequest**](AnnuityCalculatorInitialBalanceRequest.md)| Request payload for Annuity Calculator - Initial Balance |
274
+
275
+ ### Return type
276
+
277
+ **Hash<String, Object>**
278
+
279
+ ### Authorization
280
+
281
+ [oauth2](../README.md#oauth2)
282
+
283
+ ### HTTP request headers
284
+
285
+ - **Content-Type**: application/json
286
+ - **Accept**: application/json
287
+
288
+
289
+
290
+ # **variable_annuity**
291
+ > Hash<String, Object> variable_annuity(variable_annuity_request)
292
+
293
+ Variable Annuity
294
+
295
+ Project the behavior of a variable annuity over time
296
+
297
+ ### Example
298
+ ```ruby
299
+ # load the gem
300
+ require 'proton_api'
301
+ # setup authorization
302
+ ProtonApi.configure do |config|
303
+ # Creating a token for grant_type=client_credentials
304
+ config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
305
+ # Creating a token for grant_type=password
306
+ config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
307
+ # Creating a token using client token
308
+ config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
309
+ end
310
+ api_instance = ProtonApi::AnnuitiesApi.new
311
+
312
+ variable_annuity_request = ProtonApi::VariableAnnuityRequest.new # VariableAnnuityRequest | Request payload for Variable Annuity
313
+
314
+
315
+ begin
316
+ #Variable Annuity
317
+ result = api_instance.variable_annuity(variable_annuity_request)
318
+ p result
319
+ rescue ProtonApi::ApiError => e
320
+ puts "Exception when calling AnnuitiesApi->variable_annuity: #{e}"
321
+ end
322
+ ```
323
+
324
+ ### Parameters
325
+
326
+ Name | Type | Description | Notes
327
+ ------------- | ------------- | ------------- | -------------
328
+ **variable_annuity_request** | [**VariableAnnuityRequest**](VariableAnnuityRequest.md)| Request payload for Variable Annuity |
329
+
330
+ ### Return type
331
+
332
+ **Hash<String, Object>**
333
+
334
+ ### Authorization
335
+
336
+ [oauth2](../README.md#oauth2)
337
+
338
+ ### HTTP request headers
339
+
340
+ - **Content-Type**: application/json
341
+ - **Accept**: application/json
342
+
343
+
344
+