hydrogen-nucleus-api 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (549) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +80 -0
  4. data/Rakefile +8 -0
  5. data/git_push.sh +55 -0
  6. data/lib/nucleus_api.rb +306 -0
  7. data/lib/nucleus_api/api/account_api.rb +1755 -0
  8. data/lib/nucleus_api/api/admin_client_api.rb +346 -0
  9. data/lib/nucleus_api/api/aggregation_account_api.rb +1642 -0
  10. data/lib/nucleus_api/api/allocation_api.rb +824 -0
  11. data/lib/nucleus_api/api/benchmark_api.rb +362 -0
  12. data/lib/nucleus_api/api/budget_api.rb +307 -0
  13. data/lib/nucleus_api/api/bulk_api.rb +253 -0
  14. data/lib/nucleus_api/api/business_api.rb +526 -0
  15. data/lib/nucleus_api/api/card_api.rb +864 -0
  16. data/lib/nucleus_api/api/client_api.rb +1246 -0
  17. data/lib/nucleus_api/api/contact_api.rb +585 -0
  18. data/lib/nucleus_api/api/decision_tree_api.rb +911 -0
  19. data/lib/nucleus_api/api/document_api.rb +301 -0
  20. data/lib/nucleus_api/api/financial_statement_api.rb +307 -0
  21. data/lib/nucleus_api/api/funding_api.rb +1213 -0
  22. data/lib/nucleus_api/api/goal_api.rb +837 -0
  23. data/lib/nucleus_api/api/household_api.rb +526 -0
  24. data/lib/nucleus_api/api/invoice_api.rb +591 -0
  25. data/lib/nucleus_api/api/model_api.rb +1479 -0
  26. data/lib/nucleus_api/api/order_api.rb +1688 -0
  27. data/lib/nucleus_api/api/overflow_api.rb +468 -0
  28. data/lib/nucleus_api/api/portfolio_api.rb +1840 -0
  29. data/lib/nucleus_api/api/questionnaire_api.rb +857 -0
  30. data/lib/nucleus_api/api/resource_api.rb +823 -0
  31. data/lib/nucleus_api/api/risk_profile_api.rb +301 -0
  32. data/lib/nucleus_api/api/roundup_api.rb +468 -0
  33. data/lib/nucleus_api/api/score_api.rb +301 -0
  34. data/lib/nucleus_api/api/securities_api.rb +863 -0
  35. data/lib/nucleus_api/api/spending_control_api.rb +301 -0
  36. data/lib/nucleus_api/api/utils_api.rb +2692 -0
  37. data/lib/nucleus_api/api/webhook_api.rb +301 -0
  38. data/lib/nucleus_api/api_client.rb +391 -0
  39. data/lib/nucleus_api/api_error.rb +38 -0
  40. data/lib/nucleus_api/auth_configuration.rb +181 -0
  41. data/lib/nucleus_api/configuration.rb +209 -0
  42. data/lib/nucleus_api/environment.rb +26 -0
  43. data/lib/nucleus_api/models/account.rb +335 -0
  44. data/lib/nucleus_api/models/account_allocation_mapping.rb +295 -0
  45. data/lib/nucleus_api/models/account_map.rb +203 -0
  46. data/lib/nucleus_api/models/account_permission_vo.rb +196 -0
  47. data/lib/nucleus_api/models/account_portfolio_rebalance_request.rb +314 -0
  48. data/lib/nucleus_api/models/account_status.rb +271 -0
  49. data/lib/nucleus_api/models/account_type.rb +336 -0
  50. data/lib/nucleus_api/models/acl_client_permission_vo.rb +237 -0
  51. data/lib/nucleus_api/models/admin_client.rb +290 -0
  52. data/lib/nucleus_api/models/aggregation_account.rb +541 -0
  53. data/lib/nucleus_api/models/aggregation_account_balance.rb +285 -0
  54. data/lib/nucleus_api/models/aggregation_account_holding.rb +357 -0
  55. data/lib/nucleus_api/models/aggregation_account_transaction.rb +336 -0
  56. data/lib/nucleus_api/models/aggregation_accounts_map.rb +203 -0
  57. data/lib/nucleus_api/models/allocation.rb +326 -0
  58. data/lib/nucleus_api/models/allocation_aggregated_vo.rb +229 -0
  59. data/lib/nucleus_api/models/allocation_composition.rb +305 -0
  60. data/lib/nucleus_api/models/allocation_composition_aggregated_vo.rb +283 -0
  61. data/lib/nucleus_api/models/allocation_composition_model_holdings_vo.rb +312 -0
  62. data/lib/nucleus_api/models/allocation_node_map.rb +188 -0
  63. data/lib/nucleus_api/models/answer.rb +314 -0
  64. data/lib/nucleus_api/models/answer_map.rb +182 -0
  65. data/lib/nucleus_api/models/application.rb +257 -0
  66. data/lib/nucleus_api/models/audit_log.rb +358 -0
  67. data/lib/nucleus_api/models/available_date_double_vo.rb +244 -0
  68. data/lib/nucleus_api/models/balances.rb +224 -0
  69. data/lib/nucleus_api/models/bank_credit.rb +283 -0
  70. data/lib/nucleus_api/models/bank_link.rb +431 -0
  71. data/lib/nucleus_api/models/bank_link_map.rb +203 -0
  72. data/lib/nucleus_api/models/benchmark.rb +278 -0
  73. data/lib/nucleus_api/models/benchmark_composition.rb +203 -0
  74. data/lib/nucleus_api/models/brokers.rb +204 -0
  75. data/lib/nucleus_api/models/budget.rb +383 -0
  76. data/lib/nucleus_api/models/budget_aggregation_account.rb +188 -0
  77. data/lib/nucleus_api/models/budget_object.rb +214 -0
  78. data/lib/nucleus_api/models/bulk_transaction.rb +227 -0
  79. data/lib/nucleus_api/models/bulk_transaction_vo.rb +218 -0
  80. data/lib/nucleus_api/models/business.rb +430 -0
  81. data/lib/nucleus_api/models/business_address.rb +279 -0
  82. data/lib/nucleus_api/models/business_details_vo.rb +236 -0
  83. data/lib/nucleus_api/models/card.rb +497 -0
  84. data/lib/nucleus_api/models/card_address.rb +269 -0
  85. data/lib/nucleus_api/models/card_balance_vo.rb +214 -0
  86. data/lib/nucleus_api/models/card_details_vo.rb +284 -0
  87. data/lib/nucleus_api/models/card_program.rb +351 -0
  88. data/lib/nucleus_api/models/cash.rb +214 -0
  89. data/lib/nucleus_api/models/categories_map.rb +203 -0
  90. data/lib/nucleus_api/models/check.rb +211 -0
  91. data/lib/nucleus_api/models/check_images.rb +199 -0
  92. data/lib/nucleus_api/models/client.rb +524 -0
  93. data/lib/nucleus_api/models/client_account_mapping.rb +213 -0
  94. data/lib/nucleus_api/models/client_address.rb +279 -0
  95. data/lib/nucleus_api/models/client_business_card_vo.rb +218 -0
  96. data/lib/nucleus_api/models/client_business_total_card_balance_vo.rb +204 -0
  97. data/lib/nucleus_api/models/client_card_vo.rb +244 -0
  98. data/lib/nucleus_api/models/client_credentials.rb +200 -0
  99. data/lib/nucleus_api/models/client_relationship.rb +210 -0
  100. data/lib/nucleus_api/models/client_response.rb +281 -0
  101. data/lib/nucleus_api/models/client_status.rb +271 -0
  102. data/lib/nucleus_api/models/client_view_goal_data.rb +303 -0
  103. data/lib/nucleus_api/models/contact.rb +356 -0
  104. data/lib/nucleus_api/models/contact_address.rb +269 -0
  105. data/lib/nucleus_api/models/country.rb +251 -0
  106. data/lib/nucleus_api/models/currency.rb +213 -0
  107. data/lib/nucleus_api/models/customer_revenue.rb +297 -0
  108. data/lib/nucleus_api/models/date_double_vo.rb +204 -0
  109. data/lib/nucleus_api/models/decision_tree.rb +276 -0
  110. data/lib/nucleus_api/models/decision_tree_co.rb +203 -0
  111. data/lib/nucleus_api/models/decision_tree_result_vo.rb +193 -0
  112. data/lib/nucleus_api/models/document.rb +407 -0
  113. data/lib/nucleus_api/models/employment.rb +214 -0
  114. data/lib/nucleus_api/models/external_account_transfer.rb +413 -0
  115. data/lib/nucleus_api/models/feature.rb +287 -0
  116. data/lib/nucleus_api/models/feature_track.rb +252 -0
  117. data/lib/nucleus_api/models/financial_statement.rb +363 -0
  118. data/lib/nucleus_api/models/funding.rb +509 -0
  119. data/lib/nucleus_api/models/funding_request_map.rb +188 -0
  120. data/lib/nucleus_api/models/funding_transaction.rb +391 -0
  121. data/lib/nucleus_api/models/fx_rate.rb +234 -0
  122. data/lib/nucleus_api/models/fx_rate_view.rb +234 -0
  123. data/lib/nucleus_api/models/goal.rb +341 -0
  124. data/lib/nucleus_api/models/goal_account_mapping.rb +219 -0
  125. data/lib/nucleus_api/models/goal_track.rb +373 -0
  126. data/lib/nucleus_api/models/goal_track_accounts.rb +188 -0
  127. data/lib/nucleus_api/models/household.rb +286 -0
  128. data/lib/nucleus_api/models/institution.rb +256 -0
  129. data/lib/nucleus_api/models/investment.rb +279 -0
  130. data/lib/nucleus_api/models/invoice.rb +473 -0
  131. data/lib/nucleus_api/models/invoice_payment.rb +282 -0
  132. data/lib/nucleus_api/models/json_node.rb +173 -0
  133. data/lib/nucleus_api/models/line_items.rb +279 -0
  134. data/lib/nucleus_api/models/location.rb +254 -0
  135. data/lib/nucleus_api/models/member.rb +218 -0
  136. data/lib/nucleus_api/models/merchant_category_code.rb +229 -0
  137. data/lib/nucleus_api/models/merchants_map.rb +203 -0
  138. data/lib/nucleus_api/models/model.rb +397 -0
  139. data/lib/nucleus_api/models/model_asset_size.rb +275 -0
  140. data/lib/nucleus_api/models/model_comment.rb +265 -0
  141. data/lib/nucleus_api/models/model_holding.rb +371 -0
  142. data/lib/nucleus_api/models/model_holding_vo.rb +209 -0
  143. data/lib/nucleus_api/models/model_transaction.rb +299 -0
  144. data/lib/nucleus_api/models/mx_merchant_res.rb +236 -0
  145. data/lib/nucleus_api/models/node.rb +261 -0
  146. data/lib/nucleus_api/models/node_relationship.rb +301 -0
  147. data/lib/nucleus_api/models/notification.rb +314 -0
  148. data/lib/nucleus_api/models/notification_client.rb +310 -0
  149. data/lib/nucleus_api/models/notification_setting.rb +301 -0
  150. data/lib/nucleus_api/models/order.rb +391 -0
  151. data/lib/nucleus_api/models/order_bulk.rb +310 -0
  152. data/lib/nucleus_api/models/order_reconcile_request.rb +221 -0
  153. data/lib/nucleus_api/models/order_reconcile_return_object.rb +228 -0
  154. data/lib/nucleus_api/models/order_status.rb +251 -0
  155. data/lib/nucleus_api/models/order_track.rb +317 -0
  156. data/lib/nucleus_api/models/order_vo_clone.rb +305 -0
  157. data/lib/nucleus_api/models/overflow.rb +282 -0
  158. data/lib/nucleus_api/models/overflow_bank_link_map.rb +213 -0
  159. data/lib/nucleus_api/models/overflow_settings.rb +288 -0
  160. data/lib/nucleus_api/models/overflow_vo.rb +204 -0
  161. data/lib/nucleus_api/models/ownership.rb +234 -0
  162. data/lib/nucleus_api/models/page_account.rb +259 -0
  163. data/lib/nucleus_api/models/page_account_allocation_mapping.rb +259 -0
  164. data/lib/nucleus_api/models/page_account_permission_vo.rb +259 -0
  165. data/lib/nucleus_api/models/page_account_status.rb +259 -0
  166. data/lib/nucleus_api/models/page_account_type.rb +259 -0
  167. data/lib/nucleus_api/models/page_admin_client.rb +259 -0
  168. data/lib/nucleus_api/models/page_aggregation_account.rb +259 -0
  169. data/lib/nucleus_api/models/page_aggregation_account_balance.rb +259 -0
  170. data/lib/nucleus_api/models/page_aggregation_account_holding.rb +259 -0
  171. data/lib/nucleus_api/models/page_aggregation_account_transaction.rb +259 -0
  172. data/lib/nucleus_api/models/page_allocation.rb +259 -0
  173. data/lib/nucleus_api/models/page_allocation_composition.rb +259 -0
  174. data/lib/nucleus_api/models/page_answer.rb +259 -0
  175. data/lib/nucleus_api/models/page_application.rb +259 -0
  176. data/lib/nucleus_api/models/page_audit_log.rb +259 -0
  177. data/lib/nucleus_api/models/page_bank_link.rb +259 -0
  178. data/lib/nucleus_api/models/page_benchmark.rb +259 -0
  179. data/lib/nucleus_api/models/page_budget.rb +259 -0
  180. data/lib/nucleus_api/models/page_business.rb +259 -0
  181. data/lib/nucleus_api/models/page_card.rb +259 -0
  182. data/lib/nucleus_api/models/page_card_program.rb +259 -0
  183. data/lib/nucleus_api/models/page_client.rb +259 -0
  184. data/lib/nucleus_api/models/page_client_business_card_vo.rb +259 -0
  185. data/lib/nucleus_api/models/page_client_response.rb +259 -0
  186. data/lib/nucleus_api/models/page_client_status.rb +259 -0
  187. data/lib/nucleus_api/models/page_contact.rb +259 -0
  188. data/lib/nucleus_api/models/page_customer_revenue.rb +259 -0
  189. data/lib/nucleus_api/models/page_decision_tree.rb +259 -0
  190. data/lib/nucleus_api/models/page_document.rb +259 -0
  191. data/lib/nucleus_api/models/page_external_account_transfer.rb +259 -0
  192. data/lib/nucleus_api/models/page_feature.rb +259 -0
  193. data/lib/nucleus_api/models/page_feature_track.rb +259 -0
  194. data/lib/nucleus_api/models/page_financial_statement.rb +259 -0
  195. data/lib/nucleus_api/models/page_funding.rb +259 -0
  196. data/lib/nucleus_api/models/page_funding_transaction.rb +259 -0
  197. data/lib/nucleus_api/models/page_goal.rb +259 -0
  198. data/lib/nucleus_api/models/page_goal_track.rb +259 -0
  199. data/lib/nucleus_api/models/page_household.rb +259 -0
  200. data/lib/nucleus_api/models/page_institution.rb +259 -0
  201. data/lib/nucleus_api/models/page_invoice.rb +259 -0
  202. data/lib/nucleus_api/models/page_invoice_payment.rb +259 -0
  203. data/lib/nucleus_api/models/page_model.rb +259 -0
  204. data/lib/nucleus_api/models/page_model_asset_size.rb +259 -0
  205. data/lib/nucleus_api/models/page_model_comment.rb +259 -0
  206. data/lib/nucleus_api/models/page_model_holding.rb +259 -0
  207. data/lib/nucleus_api/models/page_model_transaction.rb +259 -0
  208. data/lib/nucleus_api/models/page_mx_merchant_res.rb +274 -0
  209. data/lib/nucleus_api/models/page_node.rb +259 -0
  210. data/lib/nucleus_api/models/page_node_relationship.rb +259 -0
  211. data/lib/nucleus_api/models/page_notification.rb +259 -0
  212. data/lib/nucleus_api/models/page_notification_client.rb +259 -0
  213. data/lib/nucleus_api/models/page_notification_setting.rb +259 -0
  214. data/lib/nucleus_api/models/page_order.rb +259 -0
  215. data/lib/nucleus_api/models/page_order_bulk.rb +259 -0
  216. data/lib/nucleus_api/models/page_order_status.rb +259 -0
  217. data/lib/nucleus_api/models/page_order_track.rb +259 -0
  218. data/lib/nucleus_api/models/page_overflow.rb +259 -0
  219. data/lib/nucleus_api/models/page_overflow_settings.rb +259 -0
  220. data/lib/nucleus_api/models/page_portfolio.rb +259 -0
  221. data/lib/nucleus_api/models/page_portfolio_asset_size_log.rb +259 -0
  222. data/lib/nucleus_api/models/page_portfolio_comment.rb +259 -0
  223. data/lib/nucleus_api/models/page_portfolio_goal.rb +259 -0
  224. data/lib/nucleus_api/models/page_portfolio_holding_agg.rb +259 -0
  225. data/lib/nucleus_api/models/page_portfolio_holding_log.rb +259 -0
  226. data/lib/nucleus_api/models/page_portfolio_transaction.rb +259 -0
  227. data/lib/nucleus_api/models/page_question.rb +259 -0
  228. data/lib/nucleus_api/models/page_questionnaire.rb +259 -0
  229. data/lib/nucleus_api/models/page_reason_code.rb +259 -0
  230. data/lib/nucleus_api/models/page_risk_profile.rb +259 -0
  231. data/lib/nucleus_api/models/page_roundup.rb +259 -0
  232. data/lib/nucleus_api/models/page_roundup_settings.rb +259 -0
  233. data/lib/nucleus_api/models/page_score.rb +259 -0
  234. data/lib/nucleus_api/models/page_security.rb +259 -0
  235. data/lib/nucleus_api/models/page_security_exclusion.rb +259 -0
  236. data/lib/nucleus_api/models/page_security_price.rb +259 -0
  237. data/lib/nucleus_api/models/page_spending_control.rb +259 -0
  238. data/lib/nucleus_api/models/page_stage.rb +259 -0
  239. data/lib/nucleus_api/models/page_transaction_code.rb +259 -0
  240. data/lib/nucleus_api/models/page_webhook.rb +259 -0
  241. data/lib/nucleus_api/models/pageable.rb +227 -0
  242. data/lib/nucleus_api/models/permission_vo.rb +227 -0
  243. data/lib/nucleus_api/models/portfolio.rb +337 -0
  244. data/lib/nucleus_api/models/portfolio_asset_size_log.rb +330 -0
  245. data/lib/nucleus_api/models/portfolio_comment.rb +280 -0
  246. data/lib/nucleus_api/models/portfolio_goal.rb +256 -0
  247. data/lib/nucleus_api/models/portfolio_goal_map.rb +203 -0
  248. data/lib/nucleus_api/models/portfolio_holding_agg.rb +244 -0
  249. data/lib/nucleus_api/models/portfolio_holding_log.rb +340 -0
  250. data/lib/nucleus_api/models/portfolio_transaction.rb +536 -0
  251. data/lib/nucleus_api/models/question.rb +362 -0
  252. data/lib/nucleus_api/models/questionnaire.rb +288 -0
  253. data/lib/nucleus_api/models/reason_code.rb +275 -0
  254. data/lib/nucleus_api/models/risk_profile.rb +287 -0
  255. data/lib/nucleus_api/models/roundup.rb +267 -0
  256. data/lib/nucleus_api/models/roundup_co.rb +233 -0
  257. data/lib/nucleus_api/models/roundup_settings.rb +332 -0
  258. data/lib/nucleus_api/models/score.rb +375 -0
  259. data/lib/nucleus_api/models/securities_composition.rb +233 -0
  260. data/lib/nucleus_api/models/securities_country.rb +203 -0
  261. data/lib/nucleus_api/models/security.rb +435 -0
  262. data/lib/nucleus_api/models/security_composition_vo.rb +301 -0
  263. data/lib/nucleus_api/models/security_country_vo.rb +191 -0
  264. data/lib/nucleus_api/models/security_exclusion.rb +301 -0
  265. data/lib/nucleus_api/models/security_price.rb +314 -0
  266. data/lib/nucleus_api/models/sort.rb +234 -0
  267. data/lib/nucleus_api/models/spending_control.rb +343 -0
  268. data/lib/nucleus_api/models/stage.rb +346 -0
  269. data/lib/nucleus_api/models/stat.rb +204 -0
  270. data/lib/nucleus_api/models/state.rb +203 -0
  271. data/lib/nucleus_api/models/statistic_resource_vo.rb +209 -0
  272. data/lib/nucleus_api/models/token_date_request.rb +234 -0
  273. data/lib/nucleus_api/models/transaction_code.rb +313 -0
  274. data/lib/nucleus_api/models/v_account_vo.rb +227 -0
  275. data/lib/nucleus_api/models/v_client_goal_view_data.rb +229 -0
  276. data/lib/nucleus_api/models/v_portfolio_vo.rb +209 -0
  277. data/lib/nucleus_api/models/webhook.rb +278 -0
  278. data/lib/nucleus_api/version.rb +15 -0
  279. data/nucleus_api.gemspec +46 -0
  280. data/spec/api/account_api_spec.rb +445 -0
  281. data/spec/api/admin_client_api_spec.rb +107 -0
  282. data/spec/api/aggregation_account_api_spec.rb +412 -0
  283. data/spec/api/allocation_api_spec.rb +225 -0
  284. data/spec/api/benchmark_api_spec.rb +115 -0
  285. data/spec/api/budget_api_spec.rb +102 -0
  286. data/spec/api/bulk_api_spec.rb +86 -0
  287. data/spec/api/business_api_spec.rb +159 -0
  288. data/spec/api/card_api_spec.rb +239 -0
  289. data/spec/api/client_api_spec.rb +327 -0
  290. data/spec/api/contact_api_spec.rb +167 -0
  291. data/spec/api/decision_tree_api_spec.rb +242 -0
  292. data/spec/api/document_api_spec.rb +100 -0
  293. data/spec/api/financial_statement_api_spec.rb +102 -0
  294. data/spec/api/funding_api_spec.rb +315 -0
  295. data/spec/api/goal_api_spec.rb +231 -0
  296. data/spec/api/household_api_spec.rb +159 -0
  297. data/spec/api/invoice_api_spec.rb +169 -0
  298. data/spec/api/model_api_spec.rb +375 -0
  299. data/spec/api/order_api_spec.rb +412 -0
  300. data/spec/api/overflow_api_spec.rb +140 -0
  301. data/spec/api/portfolio_api_spec.rb +464 -0
  302. data/spec/api/questionnaire_api_spec.rb +230 -0
  303. data/spec/api/resource_api_spec.rb +229 -0
  304. data/spec/api/risk_profile_api_spec.rb +100 -0
  305. data/spec/api/roundup_api_spec.rb +140 -0
  306. data/spec/api/score_api_spec.rb +100 -0
  307. data/spec/api/securities_api_spec.rb +232 -0
  308. data/spec/api/spending_control_api_spec.rb +100 -0
  309. data/spec/api/utils_api_spec.rb +660 -0
  310. data/spec/api/webhook_api_spec.rb +100 -0
  311. data/spec/api_client_spec.rb +243 -0
  312. data/spec/configuration_spec.rb +42 -0
  313. data/spec/models/account_allocation_mapping_spec.rb +95 -0
  314. data/spec/models/account_map_spec.rb +47 -0
  315. data/spec/models/account_permission_vo_spec.rb +47 -0
  316. data/spec/models/account_portfolio_rebalance_request_spec.rb +119 -0
  317. data/spec/models/account_spec.rb +125 -0
  318. data/spec/models/account_status_spec.rb +89 -0
  319. data/spec/models/account_type_spec.rb +131 -0
  320. data/spec/models/acl_client_permission_vo_spec.rb +57 -0
  321. data/spec/models/admin_client_spec.rb +113 -0
  322. data/spec/models/aggregation_account_balance_spec.rb +101 -0
  323. data/spec/models/aggregation_account_holding_spec.rb +149 -0
  324. data/spec/models/aggregation_account_spec.rb +251 -0
  325. data/spec/models/aggregation_account_transaction_spec.rb +131 -0
  326. data/spec/models/aggregation_accounts_map_spec.rb +47 -0
  327. data/spec/models/allocation_aggregated_vo_spec.rb +71 -0
  328. data/spec/models/allocation_composition_aggregated_vo_spec.rb +107 -0
  329. data/spec/models/allocation_composition_model_holdings_vo_spec.rb +125 -0
  330. data/spec/models/allocation_composition_spec.rb +101 -0
  331. data/spec/models/allocation_node_map_spec.rb +41 -0
  332. data/spec/models/allocation_spec.rb +125 -0
  333. data/spec/models/answer_map_spec.rb +41 -0
  334. data/spec/models/answer_spec.rb +119 -0
  335. data/spec/models/application_spec.rb +83 -0
  336. data/spec/models/audit_log_spec.rb +131 -0
  337. data/spec/models/available_date_double_vo_spec.rb +77 -0
  338. data/spec/models/balances_spec.rb +65 -0
  339. data/spec/models/bank_credit_spec.rb +95 -0
  340. data/spec/models/bank_link_map_spec.rb +47 -0
  341. data/spec/models/bank_link_spec.rb +179 -0
  342. data/spec/models/benchmark_composition_spec.rb +47 -0
  343. data/spec/models/benchmark_spec.rb +95 -0
  344. data/spec/models/brokers_spec.rb +47 -0
  345. data/spec/models/budget_aggregation_account_spec.rb +41 -0
  346. data/spec/models/budget_object_spec.rb +53 -0
  347. data/spec/models/budget_spec.rb +149 -0
  348. data/spec/models/bulk_transaction_spec.rb +71 -0
  349. data/spec/models/bulk_transaction_vo_spec.rb +65 -0
  350. data/spec/models/business_address_spec.rb +83 -0
  351. data/spec/models/business_details_vo_spec.rb +71 -0
  352. data/spec/models/business_spec.rb +185 -0
  353. data/spec/models/card_address_spec.rb +77 -0
  354. data/spec/models/card_balance_vo_spec.rb +59 -0
  355. data/spec/models/card_details_vo_spec.rb +101 -0
  356. data/spec/models/card_program_spec.rb +131 -0
  357. data/spec/models/card_spec.rb +215 -0
  358. data/spec/models/cash_spec.rb +53 -0
  359. data/spec/models/categories_map_spec.rb +47 -0
  360. data/spec/models/check_images_spec.rb +47 -0
  361. data/spec/models/check_spec.rb +53 -0
  362. data/spec/models/client_account_mapping_spec.rb +53 -0
  363. data/spec/models/client_address_spec.rb +83 -0
  364. data/spec/models/client_business_card_vo_spec.rb +59 -0
  365. data/spec/models/client_business_total_card_balance_vo_spec.rb +53 -0
  366. data/spec/models/client_card_vo_spec.rb +77 -0
  367. data/spec/models/client_credentials_spec.rb +53 -0
  368. data/spec/models/client_relationship_spec.rb +53 -0
  369. data/spec/models/client_response_spec.rb +95 -0
  370. data/spec/models/client_spec.rb +239 -0
  371. data/spec/models/client_status_spec.rb +89 -0
  372. data/spec/models/client_view_goal_data_spec.rb +119 -0
  373. data/spec/models/contact_address_spec.rb +77 -0
  374. data/spec/models/contact_spec.rb +143 -0
  375. data/spec/models/country_spec.rb +71 -0
  376. data/spec/models/currency_spec.rb +59 -0
  377. data/spec/models/customer_revenue_spec.rb +95 -0
  378. data/spec/models/date_double_vo_spec.rb +53 -0
  379. data/spec/models/decision_tree_co_spec.rb +47 -0
  380. data/spec/models/decision_tree_result_vo_spec.rb +47 -0
  381. data/spec/models/decision_tree_spec.rb +95 -0
  382. data/spec/models/document_spec.rb +173 -0
  383. data/spec/models/employment_spec.rb +59 -0
  384. data/spec/models/external_account_transfer_spec.rb +161 -0
  385. data/spec/models/feature_spec.rb +101 -0
  386. data/spec/models/feature_track_spec.rb +77 -0
  387. data/spec/models/financial_statement_spec.rb +137 -0
  388. data/spec/models/funding_request_map_spec.rb +41 -0
  389. data/spec/models/funding_spec.rb +221 -0
  390. data/spec/models/funding_transaction_spec.rb +155 -0
  391. data/spec/models/fx_rate_spec.rb +59 -0
  392. data/spec/models/fx_rate_view_spec.rb +59 -0
  393. data/spec/models/goal_account_mapping_spec.rb +59 -0
  394. data/spec/models/goal_spec.rb +137 -0
  395. data/spec/models/goal_track_accounts_spec.rb +41 -0
  396. data/spec/models/goal_track_spec.rb +149 -0
  397. data/spec/models/household_spec.rb +101 -0
  398. data/spec/models/institution_spec.rb +83 -0
  399. data/spec/models/investment_spec.rb +89 -0
  400. data/spec/models/invoice_payment_spec.rb +89 -0
  401. data/spec/models/invoice_spec.rb +197 -0
  402. data/spec/models/json_node_spec.rb +35 -0
  403. data/spec/models/line_items_spec.rb +83 -0
  404. data/spec/models/location_spec.rb +83 -0
  405. data/spec/models/member_spec.rb +59 -0
  406. data/spec/models/merchant_category_code_spec.rb +65 -0
  407. data/spec/models/merchants_map_spec.rb +47 -0
  408. data/spec/models/model_asset_size_spec.rb +89 -0
  409. data/spec/models/model_comment_spec.rb +83 -0
  410. data/spec/models/model_holding_spec.rb +143 -0
  411. data/spec/models/model_holding_vo_spec.rb +59 -0
  412. data/spec/models/model_spec.rb +167 -0
  413. data/spec/models/model_transaction_spec.rb +95 -0
  414. data/spec/models/mx_merchant_res_spec.rb +77 -0
  415. data/spec/models/node_relationship_spec.rb +101 -0
  416. data/spec/models/node_spec.rb +83 -0
  417. data/spec/models/notification_client_spec.rb +107 -0
  418. data/spec/models/notification_setting_spec.rb +107 -0
  419. data/spec/models/notification_spec.rb +113 -0
  420. data/spec/models/order_bulk_spec.rb +101 -0
  421. data/spec/models/order_reconcile_request_spec.rb +65 -0
  422. data/spec/models/order_reconcile_return_object_spec.rb +65 -0
  423. data/spec/models/order_spec.rb +155 -0
  424. data/spec/models/order_status_spec.rb +77 -0
  425. data/spec/models/order_track_spec.rb +113 -0
  426. data/spec/models/order_vo_clone_spec.rb +113 -0
  427. data/spec/models/overflow_bank_link_map_spec.rb +53 -0
  428. data/spec/models/overflow_settings_spec.rb +95 -0
  429. data/spec/models/overflow_spec.rb +89 -0
  430. data/spec/models/overflow_vo_spec.rb +53 -0
  431. data/spec/models/ownership_spec.rb +65 -0
  432. data/spec/models/page_account_allocation_mapping_spec.rb +89 -0
  433. data/spec/models/page_account_permission_vo_spec.rb +89 -0
  434. data/spec/models/page_account_spec.rb +89 -0
  435. data/spec/models/page_account_status_spec.rb +89 -0
  436. data/spec/models/page_account_type_spec.rb +89 -0
  437. data/spec/models/page_admin_client_spec.rb +89 -0
  438. data/spec/models/page_aggregation_account_balance_spec.rb +89 -0
  439. data/spec/models/page_aggregation_account_holding_spec.rb +89 -0
  440. data/spec/models/page_aggregation_account_spec.rb +89 -0
  441. data/spec/models/page_aggregation_account_transaction_spec.rb +89 -0
  442. data/spec/models/page_allocation_composition_spec.rb +89 -0
  443. data/spec/models/page_allocation_spec.rb +89 -0
  444. data/spec/models/page_answer_spec.rb +89 -0
  445. data/spec/models/page_application_spec.rb +89 -0
  446. data/spec/models/page_audit_log_spec.rb +89 -0
  447. data/spec/models/page_bank_link_spec.rb +89 -0
  448. data/spec/models/page_benchmark_spec.rb +89 -0
  449. data/spec/models/page_budget_spec.rb +89 -0
  450. data/spec/models/page_business_spec.rb +89 -0
  451. data/spec/models/page_card_program_spec.rb +89 -0
  452. data/spec/models/page_card_spec.rb +89 -0
  453. data/spec/models/page_client_business_card_vo_spec.rb +89 -0
  454. data/spec/models/page_client_response_spec.rb +89 -0
  455. data/spec/models/page_client_spec.rb +89 -0
  456. data/spec/models/page_client_status_spec.rb +89 -0
  457. data/spec/models/page_contact_spec.rb +89 -0
  458. data/spec/models/page_customer_revenue_spec.rb +89 -0
  459. data/spec/models/page_decision_tree_spec.rb +89 -0
  460. data/spec/models/page_document_spec.rb +89 -0
  461. data/spec/models/page_external_account_transfer_spec.rb +89 -0
  462. data/spec/models/page_feature_spec.rb +89 -0
  463. data/spec/models/page_feature_track_spec.rb +89 -0
  464. data/spec/models/page_financial_statement_spec.rb +89 -0
  465. data/spec/models/page_funding_spec.rb +89 -0
  466. data/spec/models/page_funding_transaction_spec.rb +89 -0
  467. data/spec/models/page_goal_spec.rb +89 -0
  468. data/spec/models/page_goal_track_spec.rb +89 -0
  469. data/spec/models/page_household_spec.rb +89 -0
  470. data/spec/models/page_institution_spec.rb +89 -0
  471. data/spec/models/page_invoice_payment_spec.rb +89 -0
  472. data/spec/models/page_invoice_spec.rb +89 -0
  473. data/spec/models/page_model_asset_size_spec.rb +89 -0
  474. data/spec/models/page_model_comment_spec.rb +89 -0
  475. data/spec/models/page_model_holding_spec.rb +89 -0
  476. data/spec/models/page_model_spec.rb +89 -0
  477. data/spec/models/page_model_transaction_spec.rb +89 -0
  478. data/spec/models/page_mx_merchant_res_spec.rb +101 -0
  479. data/spec/models/page_node_relationship_spec.rb +89 -0
  480. data/spec/models/page_node_spec.rb +89 -0
  481. data/spec/models/page_notification_client_spec.rb +89 -0
  482. data/spec/models/page_notification_setting_spec.rb +89 -0
  483. data/spec/models/page_notification_spec.rb +89 -0
  484. data/spec/models/page_order_bulk_spec.rb +89 -0
  485. data/spec/models/page_order_spec.rb +89 -0
  486. data/spec/models/page_order_status_spec.rb +89 -0
  487. data/spec/models/page_order_track_spec.rb +89 -0
  488. data/spec/models/page_overflow_settings_spec.rb +89 -0
  489. data/spec/models/page_overflow_spec.rb +89 -0
  490. data/spec/models/page_portfolio_asset_size_log_spec.rb +89 -0
  491. data/spec/models/page_portfolio_comment_spec.rb +89 -0
  492. data/spec/models/page_portfolio_goal_spec.rb +89 -0
  493. data/spec/models/page_portfolio_holding_agg_spec.rb +89 -0
  494. data/spec/models/page_portfolio_holding_log_spec.rb +89 -0
  495. data/spec/models/page_portfolio_spec.rb +89 -0
  496. data/spec/models/page_portfolio_transaction_spec.rb +89 -0
  497. data/spec/models/page_question_spec.rb +89 -0
  498. data/spec/models/page_questionnaire_spec.rb +89 -0
  499. data/spec/models/page_reason_code_spec.rb +89 -0
  500. data/spec/models/page_risk_profile_spec.rb +89 -0
  501. data/spec/models/page_roundup_settings_spec.rb +89 -0
  502. data/spec/models/page_roundup_spec.rb +89 -0
  503. data/spec/models/page_score_spec.rb +89 -0
  504. data/spec/models/page_security_exclusion_spec.rb +89 -0
  505. data/spec/models/page_security_price_spec.rb +89 -0
  506. data/spec/models/page_security_spec.rb +89 -0
  507. data/spec/models/page_spending_control_spec.rb +89 -0
  508. data/spec/models/page_stage_spec.rb +89 -0
  509. data/spec/models/page_transaction_code_spec.rb +89 -0
  510. data/spec/models/page_webhook_spec.rb +89 -0
  511. data/spec/models/pageable_spec.rb +71 -0
  512. data/spec/models/permission_vo_spec.rb +51 -0
  513. data/spec/models/portfolio_asset_size_log_spec.rb +113 -0
  514. data/spec/models/portfolio_comment_spec.rb +89 -0
  515. data/spec/models/portfolio_goal_map_spec.rb +47 -0
  516. data/spec/models/portfolio_goal_spec.rb +77 -0
  517. data/spec/models/portfolio_holding_agg_spec.rb +77 -0
  518. data/spec/models/portfolio_holding_log_spec.rb +119 -0
  519. data/spec/models/portfolio_spec.rb +125 -0
  520. data/spec/models/portfolio_transaction_spec.rb +239 -0
  521. data/spec/models/question_spec.rb +149 -0
  522. data/spec/models/questionnaire_spec.rb +101 -0
  523. data/spec/models/reason_code_spec.rb +95 -0
  524. data/spec/models/risk_profile_spec.rb +101 -0
  525. data/spec/models/roundup_co_spec.rb +65 -0
  526. data/spec/models/roundup_settings_spec.rb +119 -0
  527. data/spec/models/roundup_spec.rb +83 -0
  528. data/spec/models/score_spec.rb +135 -0
  529. data/spec/models/securities_composition_spec.rb +59 -0
  530. data/spec/models/securities_country_spec.rb +47 -0
  531. data/spec/models/security_composition_vo_spec.rb +119 -0
  532. data/spec/models/security_country_vo_spec.rb +47 -0
  533. data/spec/models/security_exclusion_spec.rb +101 -0
  534. data/spec/models/security_price_spec.rb +113 -0
  535. data/spec/models/security_spec.rb +185 -0
  536. data/spec/models/sort_spec.rb +71 -0
  537. data/spec/models/spending_control_spec.rb +125 -0
  538. data/spec/models/stage_spec.rb +137 -0
  539. data/spec/models/stat_spec.rb +47 -0
  540. data/spec/models/state_spec.rb +53 -0
  541. data/spec/models/statistic_resource_vo_spec.rb +59 -0
  542. data/spec/models/token_date_request_spec.rb +71 -0
  543. data/spec/models/transaction_code_spec.rb +119 -0
  544. data/spec/models/v_account_vo_spec.rb +71 -0
  545. data/spec/models/v_client_goal_view_data_spec.rb +71 -0
  546. data/spec/models/v_portfolio_vo_spec.rb +59 -0
  547. data/spec/models/webhook_spec.rb +87 -0
  548. data/spec/spec_helper.rb +111 -0
  549. metadata +1059 -0
@@ -0,0 +1,1755 @@
1
+ =begin
2
+ #Hydrogen Nucleus API
3
+
4
+ #The Hydrogen Nucleus API
5
+
6
+ OpenAPI spec version: 1.9.2
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.20
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module NucleusApi
16
+ class AccountApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Create an account allocation
23
+ # Create an account-allocation mapping for an account.
24
+ # @param alloc_request allocRequest
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [AccountAllocationMapping]
27
+ def create_account_allocation_mapping_using_post(alloc_request, opts = {})
28
+ data, _status_code, _headers = create_account_allocation_mapping_using_post_with_http_info(alloc_request, opts)
29
+ data
30
+ end
31
+
32
+ # Create an account allocation
33
+ # Create an account-allocation mapping for an account.
34
+ # @param alloc_request allocRequest
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(AccountAllocationMapping, Fixnum, Hash)>] AccountAllocationMapping data, response status code and response headers
37
+ def create_account_allocation_mapping_using_post_with_http_info(alloc_request, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: AccountApi.create_account_allocation_mapping_using_post ...'
40
+ end
41
+ # verify the required parameter 'alloc_request' is set
42
+ if @api_client.config.client_side_validation && alloc_request.nil?
43
+ fail ArgumentError, "Missing the required parameter 'alloc_request' when calling AccountApi.create_account_allocation_mapping_using_post"
44
+ end
45
+ # resource path
46
+ local_var_path = '/nucleus/v1/account_allocation'
47
+
48
+ # query parameters
49
+ query_params = {}
50
+
51
+ # header parameters
52
+ header_params = {}
53
+ # HTTP header 'Accept' (if needed)
54
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
55
+ # HTTP header 'Content-Type'
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
+
58
+ # form parameters
59
+ form_params = {}
60
+
61
+ # http body (model)
62
+ post_body = @api_client.object_to_http_body(alloc_request)
63
+ auth_names = ['oauth2']
64
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
65
+ :header_params => header_params,
66
+ :query_params => query_params,
67
+ :form_params => form_params,
68
+ :body => post_body,
69
+ :auth_names => auth_names,
70
+ :return_type => 'AccountAllocationMapping')
71
+ if @api_client.config.debugging
72
+ @api_client.config.logger.debug "API called: AccountApi#create_account_allocation_mapping_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
73
+ end
74
+ return data, status_code, headers
75
+ end
76
+ # Create an account status
77
+ # Create an account status record for an account.
78
+ # @param account_status_request accountStatusRequest
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [AccountStatus]
81
+ def create_account_status_using_post(account_status_request, opts = {})
82
+ data, _status_code, _headers = create_account_status_using_post_with_http_info(account_status_request, opts)
83
+ data
84
+ end
85
+
86
+ # Create an account status
87
+ # Create an account status record for an account.
88
+ # @param account_status_request accountStatusRequest
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [Array<(AccountStatus, Fixnum, Hash)>] AccountStatus data, response status code and response headers
91
+ def create_account_status_using_post_with_http_info(account_status_request, opts = {})
92
+ if @api_client.config.debugging
93
+ @api_client.config.logger.debug 'Calling API: AccountApi.create_account_status_using_post ...'
94
+ end
95
+ # verify the required parameter 'account_status_request' is set
96
+ if @api_client.config.client_side_validation && account_status_request.nil?
97
+ fail ArgumentError, "Missing the required parameter 'account_status_request' when calling AccountApi.create_account_status_using_post"
98
+ end
99
+ # resource path
100
+ local_var_path = '/nucleus/v1/account_status'
101
+
102
+ # query parameters
103
+ query_params = {}
104
+
105
+ # header parameters
106
+ header_params = {}
107
+ # HTTP header 'Accept' (if needed)
108
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
109
+ # HTTP header 'Content-Type'
110
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
111
+
112
+ # form parameters
113
+ form_params = {}
114
+
115
+ # http body (model)
116
+ post_body = @api_client.object_to_http_body(account_status_request)
117
+ auth_names = ['oauth2']
118
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
119
+ :header_params => header_params,
120
+ :query_params => query_params,
121
+ :form_params => form_params,
122
+ :body => post_body,
123
+ :auth_names => auth_names,
124
+ :return_type => 'AccountStatus')
125
+ if @api_client.config.debugging
126
+ @api_client.config.logger.debug "API called: AccountApi#create_account_status_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
127
+ end
128
+ return data, status_code, headers
129
+ end
130
+ # Create an account type
131
+ # Create a new account type for your firm.
132
+ # @param account_type_request accountTypeRequest
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [AccountType]
135
+ def create_account_type_using_post(account_type_request, opts = {})
136
+ data, _status_code, _headers = create_account_type_using_post_with_http_info(account_type_request, opts)
137
+ data
138
+ end
139
+
140
+ # Create an account type
141
+ # Create a new account type for your firm.
142
+ # @param account_type_request accountTypeRequest
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [Array<(AccountType, Fixnum, Hash)>] AccountType data, response status code and response headers
145
+ def create_account_type_using_post_with_http_info(account_type_request, opts = {})
146
+ if @api_client.config.debugging
147
+ @api_client.config.logger.debug 'Calling API: AccountApi.create_account_type_using_post ...'
148
+ end
149
+ # verify the required parameter 'account_type_request' is set
150
+ if @api_client.config.client_side_validation && account_type_request.nil?
151
+ fail ArgumentError, "Missing the required parameter 'account_type_request' when calling AccountApi.create_account_type_using_post"
152
+ end
153
+ # resource path
154
+ local_var_path = '/nucleus/v1/account_type'
155
+
156
+ # query parameters
157
+ query_params = {}
158
+
159
+ # header parameters
160
+ header_params = {}
161
+ # HTTP header 'Accept' (if needed)
162
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
163
+ # HTTP header 'Content-Type'
164
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
165
+
166
+ # form parameters
167
+ form_params = {}
168
+
169
+ # http body (model)
170
+ post_body = @api_client.object_to_http_body(account_type_request)
171
+ auth_names = ['oauth2']
172
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
173
+ :header_params => header_params,
174
+ :query_params => query_params,
175
+ :form_params => form_params,
176
+ :body => post_body,
177
+ :auth_names => auth_names,
178
+ :return_type => 'AccountType')
179
+ if @api_client.config.debugging
180
+ @api_client.config.logger.debug "API called: AccountApi#create_account_type_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
181
+ end
182
+ return data, status_code, headers
183
+ end
184
+ # Create an account
185
+ # Create an account under a client.
186
+ # @param account account
187
+ # @param [Hash] opts the optional parameters
188
+ # @return [Account]
189
+ def create_account_using_post(account, opts = {})
190
+ data, _status_code, _headers = create_account_using_post_with_http_info(account, opts)
191
+ data
192
+ end
193
+
194
+ # Create an account
195
+ # Create an account under a client.
196
+ # @param account account
197
+ # @param [Hash] opts the optional parameters
198
+ # @return [Array<(Account, Fixnum, Hash)>] Account data, response status code and response headers
199
+ def create_account_using_post_with_http_info(account, opts = {})
200
+ if @api_client.config.debugging
201
+ @api_client.config.logger.debug 'Calling API: AccountApi.create_account_using_post ...'
202
+ end
203
+ # verify the required parameter 'account' is set
204
+ if @api_client.config.client_side_validation && account.nil?
205
+ fail ArgumentError, "Missing the required parameter 'account' when calling AccountApi.create_account_using_post"
206
+ end
207
+ # resource path
208
+ local_var_path = '/nucleus/v1/account'
209
+
210
+ # query parameters
211
+ query_params = {}
212
+
213
+ # header parameters
214
+ header_params = {}
215
+ # HTTP header 'Accept' (if needed)
216
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
217
+ # HTTP header 'Content-Type'
218
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
219
+
220
+ # form parameters
221
+ form_params = {}
222
+
223
+ # http body (model)
224
+ post_body = @api_client.object_to_http_body(account)
225
+ auth_names = ['oauth2']
226
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
227
+ :header_params => header_params,
228
+ :query_params => query_params,
229
+ :form_params => form_params,
230
+ :body => post_body,
231
+ :auth_names => auth_names,
232
+ :return_type => 'Account')
233
+ if @api_client.config.debugging
234
+ @api_client.config.logger.debug "API called: AccountApi#create_account_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
235
+ end
236
+ return data, status_code, headers
237
+ end
238
+ # Delete an account allocation
239
+ # Permanently delete an account-allocation mapping for an account.
240
+ # @param account_allocation_id UUID account_allocation_id
241
+ # @param [Hash] opts the optional parameters
242
+ # @return [nil]
243
+ def delete_account_allocation_mapping_using_delete(account_allocation_id, opts = {})
244
+ delete_account_allocation_mapping_using_delete_with_http_info(account_allocation_id, opts)
245
+ nil
246
+ end
247
+
248
+ # Delete an account allocation
249
+ # Permanently delete an account-allocation mapping for an account.
250
+ # @param account_allocation_id UUID account_allocation_id
251
+ # @param [Hash] opts the optional parameters
252
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
253
+ def delete_account_allocation_mapping_using_delete_with_http_info(account_allocation_id, opts = {})
254
+ if @api_client.config.debugging
255
+ @api_client.config.logger.debug 'Calling API: AccountApi.delete_account_allocation_mapping_using_delete ...'
256
+ end
257
+ # verify the required parameter 'account_allocation_id' is set
258
+ if @api_client.config.client_side_validation && account_allocation_id.nil?
259
+ fail ArgumentError, "Missing the required parameter 'account_allocation_id' when calling AccountApi.delete_account_allocation_mapping_using_delete"
260
+ end
261
+ # resource path
262
+ local_var_path = '/nucleus/v1/account_allocation/{account_allocation_id}'.sub('{' + 'account_allocation_id' + '}', account_allocation_id.to_s)
263
+
264
+ # query parameters
265
+ query_params = {}
266
+
267
+ # header parameters
268
+ header_params = {}
269
+ # HTTP header 'Accept' (if needed)
270
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
271
+
272
+ # form parameters
273
+ form_params = {}
274
+
275
+ # http body (model)
276
+ post_body = nil
277
+ auth_names = ['oauth2']
278
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
279
+ :header_params => header_params,
280
+ :query_params => query_params,
281
+ :form_params => form_params,
282
+ :body => post_body,
283
+ :auth_names => auth_names)
284
+ if @api_client.config.debugging
285
+ @api_client.config.logger.debug "API called: AccountApi#delete_account_allocation_mapping_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
286
+ end
287
+ return data, status_code, headers
288
+ end
289
+ # Delete an account permission
290
+ # Delete an account permission
291
+ # @param account_id account_id
292
+ # @param [Hash] opts the optional parameters
293
+ # @return [AccountPermissionVO]
294
+ def delete_account_permission_using_delete(account_id, opts = {})
295
+ data, _status_code, _headers = delete_account_permission_using_delete_with_http_info(account_id, opts)
296
+ data
297
+ end
298
+
299
+ # Delete an account permission
300
+ # Delete an account permission
301
+ # @param account_id account_id
302
+ # @param [Hash] opts the optional parameters
303
+ # @return [Array<(AccountPermissionVO, Fixnum, Hash)>] AccountPermissionVO data, response status code and response headers
304
+ def delete_account_permission_using_delete_with_http_info(account_id, opts = {})
305
+ if @api_client.config.debugging
306
+ @api_client.config.logger.debug 'Calling API: AccountApi.delete_account_permission_using_delete ...'
307
+ end
308
+ # verify the required parameter 'account_id' is set
309
+ if @api_client.config.client_side_validation && account_id.nil?
310
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.delete_account_permission_using_delete"
311
+ end
312
+ # resource path
313
+ local_var_path = '/nucleus/v1/account_permission/{account_id}'.sub('{' + 'account_id' + '}', account_id.to_s)
314
+
315
+ # query parameters
316
+ query_params = {}
317
+
318
+ # header parameters
319
+ header_params = {}
320
+ # HTTP header 'Accept' (if needed)
321
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
322
+
323
+ # form parameters
324
+ form_params = {}
325
+
326
+ # http body (model)
327
+ post_body = nil
328
+ auth_names = ['oauth2']
329
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
330
+ :header_params => header_params,
331
+ :query_params => query_params,
332
+ :form_params => form_params,
333
+ :body => post_body,
334
+ :auth_names => auth_names,
335
+ :return_type => 'AccountPermissionVO')
336
+ if @api_client.config.debugging
337
+ @api_client.config.logger.debug "API called: AccountApi#delete_account_permission_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
338
+ end
339
+ return data, status_code, headers
340
+ end
341
+ # Delete an account status
342
+ # Permanently delete an account status record from an account’s history.
343
+ # @param account_status_id UUID account_status_id
344
+ # @param [Hash] opts the optional parameters
345
+ # @return [nil]
346
+ def delete_account_status_using_delete(account_status_id, opts = {})
347
+ delete_account_status_using_delete_with_http_info(account_status_id, opts)
348
+ nil
349
+ end
350
+
351
+ # Delete an account status
352
+ # Permanently delete an account status record from an account’s history.
353
+ # @param account_status_id UUID account_status_id
354
+ # @param [Hash] opts the optional parameters
355
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
356
+ def delete_account_status_using_delete_with_http_info(account_status_id, opts = {})
357
+ if @api_client.config.debugging
358
+ @api_client.config.logger.debug 'Calling API: AccountApi.delete_account_status_using_delete ...'
359
+ end
360
+ # verify the required parameter 'account_status_id' is set
361
+ if @api_client.config.client_side_validation && account_status_id.nil?
362
+ fail ArgumentError, "Missing the required parameter 'account_status_id' when calling AccountApi.delete_account_status_using_delete"
363
+ end
364
+ # resource path
365
+ local_var_path = '/nucleus/v1/account_status/{account_status_id}'.sub('{' + 'account_status_id' + '}', account_status_id.to_s)
366
+
367
+ # query parameters
368
+ query_params = {}
369
+
370
+ # header parameters
371
+ header_params = {}
372
+ # HTTP header 'Accept' (if needed)
373
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
374
+
375
+ # form parameters
376
+ form_params = {}
377
+
378
+ # http body (model)
379
+ post_body = nil
380
+ auth_names = ['oauth2']
381
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
382
+ :header_params => header_params,
383
+ :query_params => query_params,
384
+ :form_params => form_params,
385
+ :body => post_body,
386
+ :auth_names => auth_names)
387
+ if @api_client.config.debugging
388
+ @api_client.config.logger.debug "API called: AccountApi#delete_account_status_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
389
+ end
390
+ return data, status_code, headers
391
+ end
392
+ # Delete an account type
393
+ # Permanently delete a possible account type defined for your firm.
394
+ # @param account_type_id UUID account_type_id
395
+ # @param [Hash] opts the optional parameters
396
+ # @return [nil]
397
+ def delete_account_type_using_delete(account_type_id, opts = {})
398
+ delete_account_type_using_delete_with_http_info(account_type_id, opts)
399
+ nil
400
+ end
401
+
402
+ # Delete an account type
403
+ # Permanently delete a possible account type defined for your firm.
404
+ # @param account_type_id UUID account_type_id
405
+ # @param [Hash] opts the optional parameters
406
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
407
+ def delete_account_type_using_delete_with_http_info(account_type_id, opts = {})
408
+ if @api_client.config.debugging
409
+ @api_client.config.logger.debug 'Calling API: AccountApi.delete_account_type_using_delete ...'
410
+ end
411
+ # verify the required parameter 'account_type_id' is set
412
+ if @api_client.config.client_side_validation && account_type_id.nil?
413
+ fail ArgumentError, "Missing the required parameter 'account_type_id' when calling AccountApi.delete_account_type_using_delete"
414
+ end
415
+ # resource path
416
+ local_var_path = '/nucleus/v1/account_type/{account_type_id}'.sub('{' + 'account_type_id' + '}', account_type_id.to_s)
417
+
418
+ # query parameters
419
+ query_params = {}
420
+
421
+ # header parameters
422
+ header_params = {}
423
+ # HTTP header 'Accept' (if needed)
424
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
425
+
426
+ # form parameters
427
+ form_params = {}
428
+
429
+ # http body (model)
430
+ post_body = nil
431
+ auth_names = ['oauth2']
432
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
433
+ :header_params => header_params,
434
+ :query_params => query_params,
435
+ :form_params => form_params,
436
+ :body => post_body,
437
+ :auth_names => auth_names)
438
+ if @api_client.config.debugging
439
+ @api_client.config.logger.debug "API called: AccountApi#delete_account_type_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
440
+ end
441
+ return data, status_code, headers
442
+ end
443
+ # Delete an account
444
+ # Permanently delete an account under a client.
445
+ # @param account_id UUID account_id
446
+ # @param [Hash] opts the optional parameters
447
+ # @return [nil]
448
+ def delete_account_using_delete(account_id, opts = {})
449
+ delete_account_using_delete_with_http_info(account_id, opts)
450
+ nil
451
+ end
452
+
453
+ # Delete an account
454
+ # Permanently delete an account under a client.
455
+ # @param account_id UUID account_id
456
+ # @param [Hash] opts the optional parameters
457
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
458
+ def delete_account_using_delete_with_http_info(account_id, opts = {})
459
+ if @api_client.config.debugging
460
+ @api_client.config.logger.debug 'Calling API: AccountApi.delete_account_using_delete ...'
461
+ end
462
+ # verify the required parameter 'account_id' is set
463
+ if @api_client.config.client_side_validation && account_id.nil?
464
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.delete_account_using_delete"
465
+ end
466
+ # resource path
467
+ local_var_path = '/nucleus/v1/account/{account_id}'.sub('{' + 'account_id' + '}', account_id.to_s)
468
+
469
+ # query parameters
470
+ query_params = {}
471
+
472
+ # header parameters
473
+ header_params = {}
474
+ # HTTP header 'Accept' (if needed)
475
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
476
+
477
+ # form parameters
478
+ form_params = {}
479
+
480
+ # http body (model)
481
+ post_body = nil
482
+ auth_names = ['oauth2']
483
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
484
+ :header_params => header_params,
485
+ :query_params => query_params,
486
+ :form_params => form_params,
487
+ :body => post_body,
488
+ :auth_names => auth_names)
489
+ if @api_client.config.debugging
490
+ @api_client.config.logger.debug "API called: AccountApi#delete_account_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
491
+ end
492
+ return data, status_code, headers
493
+ end
494
+ # List all accounts
495
+ # Get information for all accounts for all clients defined for your firm.
496
+ # @param [Hash] opts the optional parameters
497
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
498
+ # @option opts [String] :filter filter
499
+ # @option opts [String] :order_by order_by (default to update_date)
500
+ # @option opts [Integer] :page page (default to 0)
501
+ # @option opts [Integer] :size size (default to 25)
502
+ # @return [PageAccount]
503
+ def get_account_all_using_get(opts = {})
504
+ data, _status_code, _headers = get_account_all_using_get_with_http_info(opts)
505
+ data
506
+ end
507
+
508
+ # List all accounts
509
+ # Get information for all accounts for all clients defined for your firm.
510
+ # @param [Hash] opts the optional parameters
511
+ # @option opts [BOOLEAN] :ascending ascending
512
+ # @option opts [String] :filter filter
513
+ # @option opts [String] :order_by order_by
514
+ # @option opts [Integer] :page page
515
+ # @option opts [Integer] :size size
516
+ # @return [Array<(PageAccount, Fixnum, Hash)>] PageAccount data, response status code and response headers
517
+ def get_account_all_using_get_with_http_info(opts = {})
518
+ if @api_client.config.debugging
519
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_all_using_get ...'
520
+ end
521
+ # resource path
522
+ local_var_path = '/nucleus/v1/account'
523
+
524
+ # query parameters
525
+ query_params = {}
526
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
527
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
528
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
529
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
530
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
531
+
532
+ # header parameters
533
+ header_params = {}
534
+ # HTTP header 'Accept' (if needed)
535
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
536
+
537
+ # form parameters
538
+ form_params = {}
539
+
540
+ # http body (model)
541
+ post_body = nil
542
+ auth_names = ['oauth2']
543
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
544
+ :header_params => header_params,
545
+ :query_params => query_params,
546
+ :form_params => form_params,
547
+ :body => post_body,
548
+ :auth_names => auth_names,
549
+ :return_type => 'PageAccount')
550
+ if @api_client.config.debugging
551
+ @api_client.config.logger.debug "API called: AccountApi#get_account_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
552
+ end
553
+ return data, status_code, headers
554
+ end
555
+ # List all account allocations
556
+ # Get information for all account-allocation mappings for all accounts defined for your firm.
557
+ # @param [Hash] opts the optional parameters
558
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
559
+ # @option opts [String] :filter filter
560
+ # @option opts [String] :order_by order_by (default to update_date)
561
+ # @option opts [Integer] :page page (default to 0)
562
+ # @option opts [Integer] :size size (default to 25)
563
+ # @return [PageAccountAllocationMapping]
564
+ def get_account_allocation_mapping_all_using_get(opts = {})
565
+ data, _status_code, _headers = get_account_allocation_mapping_all_using_get_with_http_info(opts)
566
+ data
567
+ end
568
+
569
+ # List all account allocations
570
+ # Get information for all account-allocation mappings for all accounts defined for your firm.
571
+ # @param [Hash] opts the optional parameters
572
+ # @option opts [BOOLEAN] :ascending ascending
573
+ # @option opts [String] :filter filter
574
+ # @option opts [String] :order_by order_by
575
+ # @option opts [Integer] :page page
576
+ # @option opts [Integer] :size size
577
+ # @return [Array<(PageAccountAllocationMapping, Fixnum, Hash)>] PageAccountAllocationMapping data, response status code and response headers
578
+ def get_account_allocation_mapping_all_using_get_with_http_info(opts = {})
579
+ if @api_client.config.debugging
580
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_allocation_mapping_all_using_get ...'
581
+ end
582
+ # resource path
583
+ local_var_path = '/nucleus/v1/account_allocation'
584
+
585
+ # query parameters
586
+ query_params = {}
587
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
588
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
589
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
590
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
591
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
592
+
593
+ # header parameters
594
+ header_params = {}
595
+ # HTTP header 'Accept' (if needed)
596
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
597
+
598
+ # form parameters
599
+ form_params = {}
600
+
601
+ # http body (model)
602
+ post_body = nil
603
+ auth_names = ['oauth2']
604
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
605
+ :header_params => header_params,
606
+ :query_params => query_params,
607
+ :form_params => form_params,
608
+ :body => post_body,
609
+ :auth_names => auth_names,
610
+ :return_type => 'PageAccountAllocationMapping')
611
+ if @api_client.config.debugging
612
+ @api_client.config.logger.debug "API called: AccountApi#get_account_allocation_mapping_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
613
+ end
614
+ return data, status_code, headers
615
+ end
616
+ # Retrieve an account allocation
617
+ # Retrieve the information for a specific account-allocation mapping for an account.
618
+ # @param account_allocation_id UUID account_allocation_id
619
+ # @param [Hash] opts the optional parameters
620
+ # @return [AccountAllocationMapping]
621
+ def get_account_allocation_mapping_using_get(account_allocation_id, opts = {})
622
+ data, _status_code, _headers = get_account_allocation_mapping_using_get_with_http_info(account_allocation_id, opts)
623
+ data
624
+ end
625
+
626
+ # Retrieve an account allocation
627
+ # Retrieve the information for a specific account-allocation mapping for an account.
628
+ # @param account_allocation_id UUID account_allocation_id
629
+ # @param [Hash] opts the optional parameters
630
+ # @return [Array<(AccountAllocationMapping, Fixnum, Hash)>] AccountAllocationMapping data, response status code and response headers
631
+ def get_account_allocation_mapping_using_get_with_http_info(account_allocation_id, opts = {})
632
+ if @api_client.config.debugging
633
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_allocation_mapping_using_get ...'
634
+ end
635
+ # verify the required parameter 'account_allocation_id' is set
636
+ if @api_client.config.client_side_validation && account_allocation_id.nil?
637
+ fail ArgumentError, "Missing the required parameter 'account_allocation_id' when calling AccountApi.get_account_allocation_mapping_using_get"
638
+ end
639
+ # resource path
640
+ local_var_path = '/nucleus/v1/account_allocation/{account_allocation_id}'.sub('{' + 'account_allocation_id' + '}', account_allocation_id.to_s)
641
+
642
+ # query parameters
643
+ query_params = {}
644
+
645
+ # header parameters
646
+ header_params = {}
647
+ # HTTP header 'Accept' (if needed)
648
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
649
+
650
+ # form parameters
651
+ form_params = {}
652
+
653
+ # http body (model)
654
+ post_body = nil
655
+ auth_names = ['oauth2']
656
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
657
+ :header_params => header_params,
658
+ :query_params => query_params,
659
+ :form_params => form_params,
660
+ :body => post_body,
661
+ :auth_names => auth_names,
662
+ :return_type => 'AccountAllocationMapping')
663
+ if @api_client.config.debugging
664
+ @api_client.config.logger.debug "API called: AccountApi#get_account_allocation_mapping_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
665
+ end
666
+ return data, status_code, headers
667
+ end
668
+ # List all account asset sizes
669
+ # Get a list of asset sizes by date for an account.
670
+ # @param account_id Account Id
671
+ # @param [Hash] opts the optional parameters
672
+ # @option opts [String] :currency_conversion USD
673
+ # @option opts [Date] :end_date end date
674
+ # @option opts [BOOLEAN] :exclude_subledger true or false
675
+ # @option opts [BOOLEAN] :get_latest true or false
676
+ # @option opts [String] :sort_type Quarter (Q), Monthly (M) , Annually (Y), Daily (D) --caps matter, codes in ()
677
+ # @option opts [Date] :start_date start date
678
+ # @return [Array<AvailableDateDoubleVO>]
679
+ def get_account_asset_size_agg_all_using_get(account_id, opts = {})
680
+ data, _status_code, _headers = get_account_asset_size_agg_all_using_get_with_http_info(account_id, opts)
681
+ data
682
+ end
683
+
684
+ # List all account asset sizes
685
+ # Get a list of asset sizes by date for an account.
686
+ # @param account_id Account Id
687
+ # @param [Hash] opts the optional parameters
688
+ # @option opts [String] :currency_conversion USD
689
+ # @option opts [Date] :end_date end date
690
+ # @option opts [BOOLEAN] :exclude_subledger true or false
691
+ # @option opts [BOOLEAN] :get_latest true or false
692
+ # @option opts [String] :sort_type Quarter (Q), Monthly (M) , Annually (Y), Daily (D) --caps matter, codes in ()
693
+ # @option opts [Date] :start_date start date
694
+ # @return [Array<(Array<AvailableDateDoubleVO>, Fixnum, Hash)>] Array<AvailableDateDoubleVO> data, response status code and response headers
695
+ def get_account_asset_size_agg_all_using_get_with_http_info(account_id, opts = {})
696
+ if @api_client.config.debugging
697
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_asset_size_agg_all_using_get ...'
698
+ end
699
+ # verify the required parameter 'account_id' is set
700
+ if @api_client.config.client_side_validation && account_id.nil?
701
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.get_account_asset_size_agg_all_using_get"
702
+ end
703
+ # resource path
704
+ local_var_path = '/nucleus/v1/account/{account_id}/asset_size'.sub('{' + 'account_id' + '}', account_id.to_s)
705
+
706
+ # query parameters
707
+ query_params = {}
708
+ query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
709
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
710
+ query_params[:'exclude_subledger'] = opts[:'exclude_subledger'] if !opts[:'exclude_subledger'].nil?
711
+ query_params[:'get_latest'] = opts[:'get_latest'] if !opts[:'get_latest'].nil?
712
+ query_params[:'sort_type'] = opts[:'sort_type'] if !opts[:'sort_type'].nil?
713
+ query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
714
+
715
+ # header parameters
716
+ header_params = {}
717
+ # HTTP header 'Accept' (if needed)
718
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
719
+
720
+ # form parameters
721
+ form_params = {}
722
+
723
+ # http body (model)
724
+ post_body = nil
725
+ auth_names = ['oauth2']
726
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
727
+ :header_params => header_params,
728
+ :query_params => query_params,
729
+ :form_params => form_params,
730
+ :body => post_body,
731
+ :auth_names => auth_names,
732
+ :return_type => 'Array<AvailableDateDoubleVO>')
733
+ if @api_client.config.debugging
734
+ @api_client.config.logger.debug "API called: AccountApi#get_account_asset_size_agg_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
735
+ end
736
+ return data, status_code, headers
737
+ end
738
+ # List all Account overview
739
+ # @param account_id UUID account_id
740
+ # @param [Hash] opts the optional parameters
741
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
742
+ # @option opts [String] :order_by order_by (default to update_date)
743
+ # @return [Object]
744
+ def get_account_overview_using_get(account_id, opts = {})
745
+ data, _status_code, _headers = get_account_overview_using_get_with_http_info(account_id, opts)
746
+ data
747
+ end
748
+
749
+ # List all Account overview
750
+ # @param account_id UUID account_id
751
+ # @param [Hash] opts the optional parameters
752
+ # @option opts [BOOLEAN] :ascending ascending
753
+ # @option opts [String] :order_by order_by
754
+ # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
755
+ def get_account_overview_using_get_with_http_info(account_id, opts = {})
756
+ if @api_client.config.debugging
757
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_overview_using_get ...'
758
+ end
759
+ # verify the required parameter 'account_id' is set
760
+ if @api_client.config.client_side_validation && account_id.nil?
761
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.get_account_overview_using_get"
762
+ end
763
+ # resource path
764
+ local_var_path = '/nucleus/v1/account/{account_id}/account_overview'.sub('{' + 'account_id' + '}', account_id.to_s)
765
+
766
+ # query parameters
767
+ query_params = {}
768
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
769
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
770
+
771
+ # header parameters
772
+ header_params = {}
773
+ # HTTP header 'Accept' (if needed)
774
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
775
+
776
+ # form parameters
777
+ form_params = {}
778
+
779
+ # http body (model)
780
+ post_body = nil
781
+ auth_names = ['oauth2']
782
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
783
+ :header_params => header_params,
784
+ :query_params => query_params,
785
+ :form_params => form_params,
786
+ :body => post_body,
787
+ :auth_names => auth_names,
788
+ :return_type => 'Object')
789
+ if @api_client.config.debugging
790
+ @api_client.config.logger.debug "API called: AccountApi#get_account_overview_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
791
+ end
792
+ return data, status_code, headers
793
+ end
794
+ # Get an account permission
795
+ # Get an account permission
796
+ # @param account_id account_id
797
+ # @param [Hash] opts the optional parameters
798
+ # @return [AccountPermissionVO]
799
+ def get_account_permission_using_get(account_id, opts = {})
800
+ data, _status_code, _headers = get_account_permission_using_get_with_http_info(account_id, opts)
801
+ data
802
+ end
803
+
804
+ # Get an account permission
805
+ # Get an account permission
806
+ # @param account_id account_id
807
+ # @param [Hash] opts the optional parameters
808
+ # @return [Array<(AccountPermissionVO, Fixnum, Hash)>] AccountPermissionVO data, response status code and response headers
809
+ def get_account_permission_using_get_with_http_info(account_id, opts = {})
810
+ if @api_client.config.debugging
811
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_permission_using_get ...'
812
+ end
813
+ # verify the required parameter 'account_id' is set
814
+ if @api_client.config.client_side_validation && account_id.nil?
815
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.get_account_permission_using_get"
816
+ end
817
+ # resource path
818
+ local_var_path = '/nucleus/v1/account_permission/{account_id}'.sub('{' + 'account_id' + '}', account_id.to_s)
819
+
820
+ # query parameters
821
+ query_params = {}
822
+
823
+ # header parameters
824
+ header_params = {}
825
+ # HTTP header 'Accept' (if needed)
826
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
827
+
828
+ # form parameters
829
+ form_params = {}
830
+
831
+ # http body (model)
832
+ post_body = nil
833
+ auth_names = ['oauth2']
834
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
835
+ :header_params => header_params,
836
+ :query_params => query_params,
837
+ :form_params => form_params,
838
+ :body => post_body,
839
+ :auth_names => auth_names,
840
+ :return_type => 'AccountPermissionVO')
841
+ if @api_client.config.debugging
842
+ @api_client.config.logger.debug "API called: AccountApi#get_account_permission_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
843
+ end
844
+ return data, status_code, headers
845
+ end
846
+ # List all account statuses
847
+ # Get the account status history information for all accounts.
848
+ # @param [Hash] opts the optional parameters
849
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
850
+ # @option opts [String] :filter filter
851
+ # @option opts [String] :order_by order_by (default to update_date)
852
+ # @option opts [Integer] :page page (default to 0)
853
+ # @option opts [Integer] :size size (default to 25)
854
+ # @return [PageAccountStatus]
855
+ def get_account_status_all_using_get(opts = {})
856
+ data, _status_code, _headers = get_account_status_all_using_get_with_http_info(opts)
857
+ data
858
+ end
859
+
860
+ # List all account statuses
861
+ # Get the account status history information for all accounts.
862
+ # @param [Hash] opts the optional parameters
863
+ # @option opts [BOOLEAN] :ascending ascending
864
+ # @option opts [String] :filter filter
865
+ # @option opts [String] :order_by order_by
866
+ # @option opts [Integer] :page page
867
+ # @option opts [Integer] :size size
868
+ # @return [Array<(PageAccountStatus, Fixnum, Hash)>] PageAccountStatus data, response status code and response headers
869
+ def get_account_status_all_using_get_with_http_info(opts = {})
870
+ if @api_client.config.debugging
871
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_status_all_using_get ...'
872
+ end
873
+ # resource path
874
+ local_var_path = '/nucleus/v1/account_status'
875
+
876
+ # query parameters
877
+ query_params = {}
878
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
879
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
880
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
881
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
882
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
883
+
884
+ # header parameters
885
+ header_params = {}
886
+ # HTTP header 'Accept' (if needed)
887
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
888
+
889
+ # form parameters
890
+ form_params = {}
891
+
892
+ # http body (model)
893
+ post_body = nil
894
+ auth_names = ['oauth2']
895
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
896
+ :header_params => header_params,
897
+ :query_params => query_params,
898
+ :form_params => form_params,
899
+ :body => post_body,
900
+ :auth_names => auth_names,
901
+ :return_type => 'PageAccountStatus')
902
+ if @api_client.config.debugging
903
+ @api_client.config.logger.debug "API called: AccountApi#get_account_status_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
904
+ end
905
+ return data, status_code, headers
906
+ end
907
+ # Retrieve an account status
908
+ # Retrieve the information for a specific account status record for an account.
909
+ # @param account_status_id UUID account_status_id
910
+ # @param [Hash] opts the optional parameters
911
+ # @return [AccountStatus]
912
+ def get_account_status_using_get(account_status_id, opts = {})
913
+ data, _status_code, _headers = get_account_status_using_get_with_http_info(account_status_id, opts)
914
+ data
915
+ end
916
+
917
+ # Retrieve an account status
918
+ # Retrieve the information for a specific account status record for an account.
919
+ # @param account_status_id UUID account_status_id
920
+ # @param [Hash] opts the optional parameters
921
+ # @return [Array<(AccountStatus, Fixnum, Hash)>] AccountStatus data, response status code and response headers
922
+ def get_account_status_using_get_with_http_info(account_status_id, opts = {})
923
+ if @api_client.config.debugging
924
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_status_using_get ...'
925
+ end
926
+ # verify the required parameter 'account_status_id' is set
927
+ if @api_client.config.client_side_validation && account_status_id.nil?
928
+ fail ArgumentError, "Missing the required parameter 'account_status_id' when calling AccountApi.get_account_status_using_get"
929
+ end
930
+ # resource path
931
+ local_var_path = '/nucleus/v1/account_status/{account_status_id}'.sub('{' + 'account_status_id' + '}', account_status_id.to_s)
932
+
933
+ # query parameters
934
+ query_params = {}
935
+
936
+ # header parameters
937
+ header_params = {}
938
+ # HTTP header 'Accept' (if needed)
939
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
940
+
941
+ # form parameters
942
+ form_params = {}
943
+
944
+ # http body (model)
945
+ post_body = nil
946
+ auth_names = ['oauth2']
947
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
948
+ :header_params => header_params,
949
+ :query_params => query_params,
950
+ :form_params => form_params,
951
+ :body => post_body,
952
+ :auth_names => auth_names,
953
+ :return_type => 'AccountStatus')
954
+ if @api_client.config.debugging
955
+ @api_client.config.logger.debug "API called: AccountApi#get_account_status_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
956
+ end
957
+ return data, status_code, headers
958
+ end
959
+ # List all account types
960
+ # List all account types defined for your firm.
961
+ # @param [Hash] opts the optional parameters
962
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
963
+ # @option opts [String] :filter filter
964
+ # @option opts [String] :order_by order_by (default to update_date)
965
+ # @option opts [Integer] :page page (default to 0)
966
+ # @option opts [Integer] :size size (default to 25)
967
+ # @return [PageAccountType]
968
+ def get_account_type_all_using_get(opts = {})
969
+ data, _status_code, _headers = get_account_type_all_using_get_with_http_info(opts)
970
+ data
971
+ end
972
+
973
+ # List all account types
974
+ # List all account types defined for your firm.
975
+ # @param [Hash] opts the optional parameters
976
+ # @option opts [BOOLEAN] :ascending ascending
977
+ # @option opts [String] :filter filter
978
+ # @option opts [String] :order_by order_by
979
+ # @option opts [Integer] :page page
980
+ # @option opts [Integer] :size size
981
+ # @return [Array<(PageAccountType, Fixnum, Hash)>] PageAccountType data, response status code and response headers
982
+ def get_account_type_all_using_get_with_http_info(opts = {})
983
+ if @api_client.config.debugging
984
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_type_all_using_get ...'
985
+ end
986
+ # resource path
987
+ local_var_path = '/nucleus/v1/account_type'
988
+
989
+ # query parameters
990
+ query_params = {}
991
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
992
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
993
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
994
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
995
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
996
+
997
+ # header parameters
998
+ header_params = {}
999
+ # HTTP header 'Accept' (if needed)
1000
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1001
+
1002
+ # form parameters
1003
+ form_params = {}
1004
+
1005
+ # http body (model)
1006
+ post_body = nil
1007
+ auth_names = ['oauth2']
1008
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1009
+ :header_params => header_params,
1010
+ :query_params => query_params,
1011
+ :form_params => form_params,
1012
+ :body => post_body,
1013
+ :auth_names => auth_names,
1014
+ :return_type => 'PageAccountType')
1015
+ if @api_client.config.debugging
1016
+ @api_client.config.logger.debug "API called: AccountApi#get_account_type_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1017
+ end
1018
+ return data, status_code, headers
1019
+ end
1020
+ # Get an Account Type
1021
+ # Get an account types defined for your firm.
1022
+ # @param account_type_id UUID account_type_id
1023
+ # @param [Hash] opts the optional parameters
1024
+ # @return [AccountType]
1025
+ def get_account_type_using_get(account_type_id, opts = {})
1026
+ data, _status_code, _headers = get_account_type_using_get_with_http_info(account_type_id, opts)
1027
+ data
1028
+ end
1029
+
1030
+ # Get an Account Type
1031
+ # Get an account types defined for your firm.
1032
+ # @param account_type_id UUID account_type_id
1033
+ # @param [Hash] opts the optional parameters
1034
+ # @return [Array<(AccountType, Fixnum, Hash)>] AccountType data, response status code and response headers
1035
+ def get_account_type_using_get_with_http_info(account_type_id, opts = {})
1036
+ if @api_client.config.debugging
1037
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_type_using_get ...'
1038
+ end
1039
+ # verify the required parameter 'account_type_id' is set
1040
+ if @api_client.config.client_side_validation && account_type_id.nil?
1041
+ fail ArgumentError, "Missing the required parameter 'account_type_id' when calling AccountApi.get_account_type_using_get"
1042
+ end
1043
+ # resource path
1044
+ local_var_path = '/nucleus/v1/account_type/{account_type_id}'.sub('{' + 'account_type_id' + '}', account_type_id.to_s)
1045
+
1046
+ # query parameters
1047
+ query_params = {}
1048
+
1049
+ # header parameters
1050
+ header_params = {}
1051
+ # HTTP header 'Accept' (if needed)
1052
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1053
+
1054
+ # form parameters
1055
+ form_params = {}
1056
+
1057
+ # http body (model)
1058
+ post_body = nil
1059
+ auth_names = ['oauth2']
1060
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1061
+ :header_params => header_params,
1062
+ :query_params => query_params,
1063
+ :form_params => form_params,
1064
+ :body => post_body,
1065
+ :auth_names => auth_names,
1066
+ :return_type => 'AccountType')
1067
+ if @api_client.config.debugging
1068
+ @api_client.config.logger.debug "API called: AccountApi#get_account_type_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1069
+ end
1070
+ return data, status_code, headers
1071
+ end
1072
+ # Retrieve an account
1073
+ # Retrieve the information for a specific account associated with a client.
1074
+ # @param account_id UUID account_id
1075
+ # @param [Hash] opts the optional parameters
1076
+ # @return [Account]
1077
+ def get_account_using_get(account_id, opts = {})
1078
+ data, _status_code, _headers = get_account_using_get_with_http_info(account_id, opts)
1079
+ data
1080
+ end
1081
+
1082
+ # Retrieve an account
1083
+ # Retrieve the information for a specific account associated with a client.
1084
+ # @param account_id UUID account_id
1085
+ # @param [Hash] opts the optional parameters
1086
+ # @return [Array<(Account, Fixnum, Hash)>] Account data, response status code and response headers
1087
+ def get_account_using_get_with_http_info(account_id, opts = {})
1088
+ if @api_client.config.debugging
1089
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account_using_get ...'
1090
+ end
1091
+ # verify the required parameter 'account_id' is set
1092
+ if @api_client.config.client_side_validation && account_id.nil?
1093
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.get_account_using_get"
1094
+ end
1095
+ # resource path
1096
+ local_var_path = '/nucleus/v1/account/{account_id}'.sub('{' + 'account_id' + '}', account_id.to_s)
1097
+
1098
+ # query parameters
1099
+ query_params = {}
1100
+
1101
+ # header parameters
1102
+ header_params = {}
1103
+ # HTTP header 'Accept' (if needed)
1104
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1105
+
1106
+ # form parameters
1107
+ form_params = {}
1108
+
1109
+ # http body (model)
1110
+ post_body = nil
1111
+ auth_names = ['oauth2']
1112
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1113
+ :header_params => header_params,
1114
+ :query_params => query_params,
1115
+ :form_params => form_params,
1116
+ :body => post_body,
1117
+ :auth_names => auth_names,
1118
+ :return_type => 'Account')
1119
+ if @api_client.config.debugging
1120
+ @api_client.config.logger.debug "API called: AccountApi#get_account_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1121
+ end
1122
+ return data, status_code, headers
1123
+ end
1124
+ # List all account permission
1125
+ # List all account permission
1126
+ # @param [Hash] opts the optional parameters
1127
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
1128
+ # @option opts [String] :filter filter
1129
+ # @option opts [String] :order_by order_by (default to update_date)
1130
+ # @option opts [Integer] :page page (default to 0)
1131
+ # @option opts [Integer] :size size (default to 25)
1132
+ # @return [PageAccountPermissionVO]
1133
+ def get_all_account_permission_using_get(opts = {})
1134
+ data, _status_code, _headers = get_all_account_permission_using_get_with_http_info(opts)
1135
+ data
1136
+ end
1137
+
1138
+ # List all account permission
1139
+ # List all account permission
1140
+ # @param [Hash] opts the optional parameters
1141
+ # @option opts [BOOLEAN] :ascending ascending
1142
+ # @option opts [String] :filter filter
1143
+ # @option opts [String] :order_by order_by
1144
+ # @option opts [Integer] :page page
1145
+ # @option opts [Integer] :size size
1146
+ # @return [Array<(PageAccountPermissionVO, Fixnum, Hash)>] PageAccountPermissionVO data, response status code and response headers
1147
+ def get_all_account_permission_using_get_with_http_info(opts = {})
1148
+ if @api_client.config.debugging
1149
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_all_account_permission_using_get ...'
1150
+ end
1151
+ # resource path
1152
+ local_var_path = '/nucleus/v1/account_permission'
1153
+
1154
+ # query parameters
1155
+ query_params = {}
1156
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
1157
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1158
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
1159
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1160
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1161
+
1162
+ # header parameters
1163
+ header_params = {}
1164
+ # HTTP header 'Accept' (if needed)
1165
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1166
+
1167
+ # form parameters
1168
+ form_params = {}
1169
+
1170
+ # http body (model)
1171
+ post_body = nil
1172
+ auth_names = ['oauth2']
1173
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1174
+ :header_params => header_params,
1175
+ :query_params => query_params,
1176
+ :form_params => form_params,
1177
+ :body => post_body,
1178
+ :auth_names => auth_names,
1179
+ :return_type => 'PageAccountPermissionVO')
1180
+ if @api_client.config.debugging
1181
+ @api_client.config.logger.debug "API called: AccountApi#get_all_account_permission_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1182
+ end
1183
+ return data, status_code, headers
1184
+ end
1185
+ # List all account holdings
1186
+ # Get information for all the securities that are currently being held by an account.
1187
+ # @param account_id UUID account_id
1188
+ # @param [Hash] opts the optional parameters
1189
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
1190
+ # @option opts [String] :currency_conversion USD
1191
+ # @option opts [Date] :end_date end date
1192
+ # @option opts [String] :filter filter
1193
+ # @option opts [BOOLEAN] :get_latest true or false
1194
+ # @option opts [String] :order_by order_by (default to date)
1195
+ # @option opts [Integer] :page page (default to 0)
1196
+ # @option opts [Integer] :size size (default to 25)
1197
+ # @option opts [Date] :start_date start date
1198
+ # @return [PagePortfolioHoldingAgg]
1199
+ def get_portfolio_holding_agg_all_using_get(account_id, opts = {})
1200
+ data, _status_code, _headers = get_portfolio_holding_agg_all_using_get_with_http_info(account_id, opts)
1201
+ data
1202
+ end
1203
+
1204
+ # List all account holdings
1205
+ # Get information for all the securities that are currently being held by an account.
1206
+ # @param account_id UUID account_id
1207
+ # @param [Hash] opts the optional parameters
1208
+ # @option opts [BOOLEAN] :ascending ascending
1209
+ # @option opts [String] :currency_conversion USD
1210
+ # @option opts [Date] :end_date end date
1211
+ # @option opts [String] :filter filter
1212
+ # @option opts [BOOLEAN] :get_latest true or false
1213
+ # @option opts [String] :order_by order_by
1214
+ # @option opts [Integer] :page page
1215
+ # @option opts [Integer] :size size
1216
+ # @option opts [Date] :start_date start date
1217
+ # @return [Array<(PagePortfolioHoldingAgg, Fixnum, Hash)>] PagePortfolioHoldingAgg data, response status code and response headers
1218
+ def get_portfolio_holding_agg_all_using_get_with_http_info(account_id, opts = {})
1219
+ if @api_client.config.debugging
1220
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_portfolio_holding_agg_all_using_get ...'
1221
+ end
1222
+ # verify the required parameter 'account_id' is set
1223
+ if @api_client.config.client_side_validation && account_id.nil?
1224
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.get_portfolio_holding_agg_all_using_get"
1225
+ end
1226
+ # resource path
1227
+ local_var_path = '/nucleus/v1/account/{account_id}/holding'.sub('{' + 'account_id' + '}', account_id.to_s)
1228
+
1229
+ # query parameters
1230
+ query_params = {}
1231
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
1232
+ query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
1233
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
1234
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1235
+ query_params[:'get_latest'] = opts[:'get_latest'] if !opts[:'get_latest'].nil?
1236
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
1237
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1238
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1239
+ query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
1240
+
1241
+ # header parameters
1242
+ header_params = {}
1243
+ # HTTP header 'Accept' (if needed)
1244
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1245
+
1246
+ # form parameters
1247
+ form_params = {}
1248
+
1249
+ # http body (model)
1250
+ post_body = nil
1251
+ auth_names = ['oauth2']
1252
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1253
+ :header_params => header_params,
1254
+ :query_params => query_params,
1255
+ :form_params => form_params,
1256
+ :body => post_body,
1257
+ :auth_names => auth_names,
1258
+ :return_type => 'PagePortfolioHoldingAgg')
1259
+ if @api_client.config.debugging
1260
+ @api_client.config.logger.debug "API called: AccountApi#get_portfolio_holding_agg_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1261
+ end
1262
+ return data, status_code, headers
1263
+ end
1264
+ # List all account transactions
1265
+ # Get the information for all transactions for an account.
1266
+ # @param account_id UUID account_id
1267
+ # @param [Hash] opts the optional parameters
1268
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
1269
+ # @option opts [String] :currency_conversion USD
1270
+ # @option opts [Date] :end_date end date
1271
+ # @option opts [String] :filter filter
1272
+ # @option opts [String] :order_by order_by (default to update_date)
1273
+ # @option opts [Integer] :page page (default to 0)
1274
+ # @option opts [Integer] :size size (default to 25)
1275
+ # @option opts [Date] :start_date start date
1276
+ # @return [PagePortfolioTransaction]
1277
+ def get_portfolio_transaction_agg_all_using_get(account_id, opts = {})
1278
+ data, _status_code, _headers = get_portfolio_transaction_agg_all_using_get_with_http_info(account_id, opts)
1279
+ data
1280
+ end
1281
+
1282
+ # List all account transactions
1283
+ # Get the information for all transactions for an account.
1284
+ # @param account_id UUID account_id
1285
+ # @param [Hash] opts the optional parameters
1286
+ # @option opts [BOOLEAN] :ascending ascending
1287
+ # @option opts [String] :currency_conversion USD
1288
+ # @option opts [Date] :end_date end date
1289
+ # @option opts [String] :filter filter
1290
+ # @option opts [String] :order_by order_by
1291
+ # @option opts [Integer] :page page
1292
+ # @option opts [Integer] :size size
1293
+ # @option opts [Date] :start_date start date
1294
+ # @return [Array<(PagePortfolioTransaction, Fixnum, Hash)>] PagePortfolioTransaction data, response status code and response headers
1295
+ def get_portfolio_transaction_agg_all_using_get_with_http_info(account_id, opts = {})
1296
+ if @api_client.config.debugging
1297
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_portfolio_transaction_agg_all_using_get ...'
1298
+ end
1299
+ # verify the required parameter 'account_id' is set
1300
+ if @api_client.config.client_side_validation && account_id.nil?
1301
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.get_portfolio_transaction_agg_all_using_get"
1302
+ end
1303
+ # resource path
1304
+ local_var_path = '/nucleus/v1/account/{account_id}/transaction'.sub('{' + 'account_id' + '}', account_id.to_s)
1305
+
1306
+ # query parameters
1307
+ query_params = {}
1308
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
1309
+ query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
1310
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
1311
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1312
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
1313
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1314
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1315
+ query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
1316
+
1317
+ # header parameters
1318
+ header_params = {}
1319
+ # HTTP header 'Accept' (if needed)
1320
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1321
+
1322
+ # form parameters
1323
+ form_params = {}
1324
+
1325
+ # http body (model)
1326
+ post_body = nil
1327
+ auth_names = ['oauth2']
1328
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1329
+ :header_params => header_params,
1330
+ :query_params => query_params,
1331
+ :form_params => form_params,
1332
+ :body => post_body,
1333
+ :auth_names => auth_names,
1334
+ :return_type => 'PagePortfolioTransaction')
1335
+ if @api_client.config.debugging
1336
+ @api_client.config.logger.debug "API called: AccountApi#get_portfolio_transaction_agg_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1337
+ end
1338
+ return data, status_code, headers
1339
+ end
1340
+ # create an account permission
1341
+ # create an account permission
1342
+ # @param acl_client_permission_vo aclClientPermissionVO
1343
+ # @param [Hash] opts the optional parameters
1344
+ # @return [AccountPermissionVO]
1345
+ def insert_account_and_related_permission_using_post(acl_client_permission_vo, opts = {})
1346
+ data, _status_code, _headers = insert_account_and_related_permission_using_post_with_http_info(acl_client_permission_vo, opts)
1347
+ data
1348
+ end
1349
+
1350
+ # create an account permission
1351
+ # create an account permission
1352
+ # @param acl_client_permission_vo aclClientPermissionVO
1353
+ # @param [Hash] opts the optional parameters
1354
+ # @return [Array<(AccountPermissionVO, Fixnum, Hash)>] AccountPermissionVO data, response status code and response headers
1355
+ def insert_account_and_related_permission_using_post_with_http_info(acl_client_permission_vo, opts = {})
1356
+ if @api_client.config.debugging
1357
+ @api_client.config.logger.debug 'Calling API: AccountApi.insert_account_and_related_permission_using_post ...'
1358
+ end
1359
+ # verify the required parameter 'acl_client_permission_vo' is set
1360
+ if @api_client.config.client_side_validation && acl_client_permission_vo.nil?
1361
+ fail ArgumentError, "Missing the required parameter 'acl_client_permission_vo' when calling AccountApi.insert_account_and_related_permission_using_post"
1362
+ end
1363
+ # resource path
1364
+ local_var_path = '/nucleus/v1/account_permission'
1365
+
1366
+ # query parameters
1367
+ query_params = {}
1368
+
1369
+ # header parameters
1370
+ header_params = {}
1371
+ # HTTP header 'Accept' (if needed)
1372
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1373
+ # HTTP header 'Content-Type'
1374
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1375
+
1376
+ # form parameters
1377
+ form_params = {}
1378
+
1379
+ # http body (model)
1380
+ post_body = @api_client.object_to_http_body(acl_client_permission_vo)
1381
+ auth_names = ['oauth2']
1382
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1383
+ :header_params => header_params,
1384
+ :query_params => query_params,
1385
+ :form_params => form_params,
1386
+ :body => post_body,
1387
+ :auth_names => auth_names,
1388
+ :return_type => 'AccountPermissionVO')
1389
+ if @api_client.config.debugging
1390
+ @api_client.config.logger.debug "API called: AccountApi#insert_account_and_related_permission_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1391
+ end
1392
+ return data, status_code, headers
1393
+ end
1394
+ # Subscribe an account
1395
+ # After creating an account, you may create portfolios for the account to track a client’s investment, savings, or insurance products.
1396
+ # @param account_id UUID account_id
1397
+ # @param alloc_request allocRequest
1398
+ # @param [Hash] opts the optional parameters
1399
+ # @return [Array<Portfolio>]
1400
+ def subscribe_account_using_post(account_id, alloc_request, opts = {})
1401
+ data, _status_code, _headers = subscribe_account_using_post_with_http_info(account_id, alloc_request, opts)
1402
+ data
1403
+ end
1404
+
1405
+ # Subscribe an account
1406
+ # After creating an account, you may create portfolios for the account to track a client’s investment, savings, or insurance products.
1407
+ # @param account_id UUID account_id
1408
+ # @param alloc_request allocRequest
1409
+ # @param [Hash] opts the optional parameters
1410
+ # @return [Array<(Array<Portfolio>, Fixnum, Hash)>] Array<Portfolio> data, response status code and response headers
1411
+ def subscribe_account_using_post_with_http_info(account_id, alloc_request, opts = {})
1412
+ if @api_client.config.debugging
1413
+ @api_client.config.logger.debug 'Calling API: AccountApi.subscribe_account_using_post ...'
1414
+ end
1415
+ # verify the required parameter 'account_id' is set
1416
+ if @api_client.config.client_side_validation && account_id.nil?
1417
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.subscribe_account_using_post"
1418
+ end
1419
+ # verify the required parameter 'alloc_request' is set
1420
+ if @api_client.config.client_side_validation && alloc_request.nil?
1421
+ fail ArgumentError, "Missing the required parameter 'alloc_request' when calling AccountApi.subscribe_account_using_post"
1422
+ end
1423
+ # resource path
1424
+ local_var_path = '/nucleus/v1/account/{account_id}/subscribe'.sub('{' + 'account_id' + '}', account_id.to_s)
1425
+
1426
+ # query parameters
1427
+ query_params = {}
1428
+
1429
+ # header parameters
1430
+ header_params = {}
1431
+ # HTTP header 'Accept' (if needed)
1432
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1433
+ # HTTP header 'Content-Type'
1434
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1435
+
1436
+ # form parameters
1437
+ form_params = {}
1438
+
1439
+ # http body (model)
1440
+ post_body = @api_client.object_to_http_body(alloc_request)
1441
+ auth_names = ['oauth2']
1442
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1443
+ :header_params => header_params,
1444
+ :query_params => query_params,
1445
+ :form_params => form_params,
1446
+ :body => post_body,
1447
+ :auth_names => auth_names,
1448
+ :return_type => 'Array<Portfolio>')
1449
+ if @api_client.config.debugging
1450
+ @api_client.config.logger.debug "API called: AccountApi#subscribe_account_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1451
+ end
1452
+ return data, status_code, headers
1453
+ end
1454
+ # Update an account allocation
1455
+ # Update the information for an account-allocation mapping.
1456
+ # @param account_allocation_id UUID account_allocation_id
1457
+ # @param account_allocation_mapping account_allocation_mapping
1458
+ # @param [Hash] opts the optional parameters
1459
+ # @return [AccountAllocationMapping]
1460
+ def update_account_allocation_mapping_using_put(account_allocation_id, account_allocation_mapping, opts = {})
1461
+ data, _status_code, _headers = update_account_allocation_mapping_using_put_with_http_info(account_allocation_id, account_allocation_mapping, opts)
1462
+ data
1463
+ end
1464
+
1465
+ # Update an account allocation
1466
+ # Update the information for an account-allocation mapping.
1467
+ # @param account_allocation_id UUID account_allocation_id
1468
+ # @param account_allocation_mapping account_allocation_mapping
1469
+ # @param [Hash] opts the optional parameters
1470
+ # @return [Array<(AccountAllocationMapping, Fixnum, Hash)>] AccountAllocationMapping data, response status code and response headers
1471
+ def update_account_allocation_mapping_using_put_with_http_info(account_allocation_id, account_allocation_mapping, opts = {})
1472
+ if @api_client.config.debugging
1473
+ @api_client.config.logger.debug 'Calling API: AccountApi.update_account_allocation_mapping_using_put ...'
1474
+ end
1475
+ # verify the required parameter 'account_allocation_id' is set
1476
+ if @api_client.config.client_side_validation && account_allocation_id.nil?
1477
+ fail ArgumentError, "Missing the required parameter 'account_allocation_id' when calling AccountApi.update_account_allocation_mapping_using_put"
1478
+ end
1479
+ # verify the required parameter 'account_allocation_mapping' is set
1480
+ if @api_client.config.client_side_validation && account_allocation_mapping.nil?
1481
+ fail ArgumentError, "Missing the required parameter 'account_allocation_mapping' when calling AccountApi.update_account_allocation_mapping_using_put"
1482
+ end
1483
+ # resource path
1484
+ local_var_path = '/nucleus/v1/account_allocation/{account_allocation_id}'.sub('{' + 'account_allocation_id' + '}', account_allocation_id.to_s)
1485
+
1486
+ # query parameters
1487
+ query_params = {}
1488
+
1489
+ # header parameters
1490
+ header_params = {}
1491
+ # HTTP header 'Accept' (if needed)
1492
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1493
+ # HTTP header 'Content-Type'
1494
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1495
+
1496
+ # form parameters
1497
+ form_params = {}
1498
+
1499
+ # http body (model)
1500
+ post_body = @api_client.object_to_http_body(account_allocation_mapping)
1501
+ auth_names = ['oauth2']
1502
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1503
+ :header_params => header_params,
1504
+ :query_params => query_params,
1505
+ :form_params => form_params,
1506
+ :body => post_body,
1507
+ :auth_names => auth_names,
1508
+ :return_type => 'AccountAllocationMapping')
1509
+ if @api_client.config.debugging
1510
+ @api_client.config.logger.debug "API called: AccountApi#update_account_allocation_mapping_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1511
+ end
1512
+ return data, status_code, headers
1513
+ end
1514
+ # Update an account status
1515
+ # Update an account status record for an account.
1516
+ # @param account_status account_status
1517
+ # @param account_status_id UUID account_status_id
1518
+ # @param [Hash] opts the optional parameters
1519
+ # @return [AccountStatus]
1520
+ def update_account_status_using_put(account_status, account_status_id, opts = {})
1521
+ data, _status_code, _headers = update_account_status_using_put_with_http_info(account_status, account_status_id, opts)
1522
+ data
1523
+ end
1524
+
1525
+ # Update an account status
1526
+ # Update an account status record for an account.
1527
+ # @param account_status account_status
1528
+ # @param account_status_id UUID account_status_id
1529
+ # @param [Hash] opts the optional parameters
1530
+ # @return [Array<(AccountStatus, Fixnum, Hash)>] AccountStatus data, response status code and response headers
1531
+ def update_account_status_using_put_with_http_info(account_status, account_status_id, opts = {})
1532
+ if @api_client.config.debugging
1533
+ @api_client.config.logger.debug 'Calling API: AccountApi.update_account_status_using_put ...'
1534
+ end
1535
+ # verify the required parameter 'account_status' is set
1536
+ if @api_client.config.client_side_validation && account_status.nil?
1537
+ fail ArgumentError, "Missing the required parameter 'account_status' when calling AccountApi.update_account_status_using_put"
1538
+ end
1539
+ # verify the required parameter 'account_status_id' is set
1540
+ if @api_client.config.client_side_validation && account_status_id.nil?
1541
+ fail ArgumentError, "Missing the required parameter 'account_status_id' when calling AccountApi.update_account_status_using_put"
1542
+ end
1543
+ # resource path
1544
+ local_var_path = '/nucleus/v1/account_status/{account_status_id}'.sub('{' + 'account_status_id' + '}', account_status_id.to_s)
1545
+
1546
+ # query parameters
1547
+ query_params = {}
1548
+
1549
+ # header parameters
1550
+ header_params = {}
1551
+ # HTTP header 'Accept' (if needed)
1552
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1553
+ # HTTP header 'Content-Type'
1554
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1555
+
1556
+ # form parameters
1557
+ form_params = {}
1558
+
1559
+ # http body (model)
1560
+ post_body = @api_client.object_to_http_body(account_status)
1561
+ auth_names = ['oauth2']
1562
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1563
+ :header_params => header_params,
1564
+ :query_params => query_params,
1565
+ :form_params => form_params,
1566
+ :body => post_body,
1567
+ :auth_names => auth_names,
1568
+ :return_type => 'AccountStatus')
1569
+ if @api_client.config.debugging
1570
+ @api_client.config.logger.debug "API called: AccountApi#update_account_status_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1571
+ end
1572
+ return data, status_code, headers
1573
+ end
1574
+ # Update an account type
1575
+ # Update the information for a possible account type defined for your firm.
1576
+ # @param account_type account_type
1577
+ # @param account_type_id UUID account_type_id
1578
+ # @param [Hash] opts the optional parameters
1579
+ # @return [AccountType]
1580
+ def update_account_type_using_put(account_type, account_type_id, opts = {})
1581
+ data, _status_code, _headers = update_account_type_using_put_with_http_info(account_type, account_type_id, opts)
1582
+ data
1583
+ end
1584
+
1585
+ # Update an account type
1586
+ # Update the information for a possible account type defined for your firm.
1587
+ # @param account_type account_type
1588
+ # @param account_type_id UUID account_type_id
1589
+ # @param [Hash] opts the optional parameters
1590
+ # @return [Array<(AccountType, Fixnum, Hash)>] AccountType data, response status code and response headers
1591
+ def update_account_type_using_put_with_http_info(account_type, account_type_id, opts = {})
1592
+ if @api_client.config.debugging
1593
+ @api_client.config.logger.debug 'Calling API: AccountApi.update_account_type_using_put ...'
1594
+ end
1595
+ # verify the required parameter 'account_type' is set
1596
+ if @api_client.config.client_side_validation && account_type.nil?
1597
+ fail ArgumentError, "Missing the required parameter 'account_type' when calling AccountApi.update_account_type_using_put"
1598
+ end
1599
+ # verify the required parameter 'account_type_id' is set
1600
+ if @api_client.config.client_side_validation && account_type_id.nil?
1601
+ fail ArgumentError, "Missing the required parameter 'account_type_id' when calling AccountApi.update_account_type_using_put"
1602
+ end
1603
+ # resource path
1604
+ local_var_path = '/nucleus/v1/account_type/{account_type_id}'.sub('{' + 'account_type_id' + '}', account_type_id.to_s)
1605
+
1606
+ # query parameters
1607
+ query_params = {}
1608
+
1609
+ # header parameters
1610
+ header_params = {}
1611
+ # HTTP header 'Accept' (if needed)
1612
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1613
+ # HTTP header 'Content-Type'
1614
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1615
+
1616
+ # form parameters
1617
+ form_params = {}
1618
+
1619
+ # http body (model)
1620
+ post_body = @api_client.object_to_http_body(account_type)
1621
+ auth_names = ['oauth2']
1622
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1623
+ :header_params => header_params,
1624
+ :query_params => query_params,
1625
+ :form_params => form_params,
1626
+ :body => post_body,
1627
+ :auth_names => auth_names,
1628
+ :return_type => 'AccountType')
1629
+ if @api_client.config.debugging
1630
+ @api_client.config.logger.debug "API called: AccountApi#update_account_type_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1631
+ end
1632
+ return data, status_code, headers
1633
+ end
1634
+ # Update an account
1635
+ # Update the information for an account.
1636
+ # @param account account
1637
+ # @param account_id UUID account_id
1638
+ # @param [Hash] opts the optional parameters
1639
+ # @return [Account]
1640
+ def update_account_using_put(account, account_id, opts = {})
1641
+ data, _status_code, _headers = update_account_using_put_with_http_info(account, account_id, opts)
1642
+ data
1643
+ end
1644
+
1645
+ # Update an account
1646
+ # Update the information for an account.
1647
+ # @param account account
1648
+ # @param account_id UUID account_id
1649
+ # @param [Hash] opts the optional parameters
1650
+ # @return [Array<(Account, Fixnum, Hash)>] Account data, response status code and response headers
1651
+ def update_account_using_put_with_http_info(account, account_id, opts = {})
1652
+ if @api_client.config.debugging
1653
+ @api_client.config.logger.debug 'Calling API: AccountApi.update_account_using_put ...'
1654
+ end
1655
+ # verify the required parameter 'account' is set
1656
+ if @api_client.config.client_side_validation && account.nil?
1657
+ fail ArgumentError, "Missing the required parameter 'account' when calling AccountApi.update_account_using_put"
1658
+ end
1659
+ # verify the required parameter 'account_id' is set
1660
+ if @api_client.config.client_side_validation && account_id.nil?
1661
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.update_account_using_put"
1662
+ end
1663
+ # resource path
1664
+ local_var_path = '/nucleus/v1/account/{account_id}'.sub('{' + 'account_id' + '}', account_id.to_s)
1665
+
1666
+ # query parameters
1667
+ query_params = {}
1668
+
1669
+ # header parameters
1670
+ header_params = {}
1671
+ # HTTP header 'Accept' (if needed)
1672
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1673
+ # HTTP header 'Content-Type'
1674
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1675
+
1676
+ # form parameters
1677
+ form_params = {}
1678
+
1679
+ # http body (model)
1680
+ post_body = @api_client.object_to_http_body(account)
1681
+ auth_names = ['oauth2']
1682
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1683
+ :header_params => header_params,
1684
+ :query_params => query_params,
1685
+ :form_params => form_params,
1686
+ :body => post_body,
1687
+ :auth_names => auth_names,
1688
+ :return_type => 'Account')
1689
+ if @api_client.config.debugging
1690
+ @api_client.config.logger.debug "API called: AccountApi#update_account_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1691
+ end
1692
+ return data, status_code, headers
1693
+ end
1694
+ # Update an account permission
1695
+ # Update an account permission
1696
+ # @param account_id account_id
1697
+ # @param acl_client_permission_vo aclClientPermissionVO
1698
+ # @param [Hash] opts the optional parameters
1699
+ # @return [AccountPermissionVO]
1700
+ def update_client_account_permission_using_put(account_id, acl_client_permission_vo, opts = {})
1701
+ data, _status_code, _headers = update_client_account_permission_using_put_with_http_info(account_id, acl_client_permission_vo, opts)
1702
+ data
1703
+ end
1704
+
1705
+ # Update an account permission
1706
+ # Update an account permission
1707
+ # @param account_id account_id
1708
+ # @param acl_client_permission_vo aclClientPermissionVO
1709
+ # @param [Hash] opts the optional parameters
1710
+ # @return [Array<(AccountPermissionVO, Fixnum, Hash)>] AccountPermissionVO data, response status code and response headers
1711
+ def update_client_account_permission_using_put_with_http_info(account_id, acl_client_permission_vo, opts = {})
1712
+ if @api_client.config.debugging
1713
+ @api_client.config.logger.debug 'Calling API: AccountApi.update_client_account_permission_using_put ...'
1714
+ end
1715
+ # verify the required parameter 'account_id' is set
1716
+ if @api_client.config.client_side_validation && account_id.nil?
1717
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountApi.update_client_account_permission_using_put"
1718
+ end
1719
+ # verify the required parameter 'acl_client_permission_vo' is set
1720
+ if @api_client.config.client_side_validation && acl_client_permission_vo.nil?
1721
+ fail ArgumentError, "Missing the required parameter 'acl_client_permission_vo' when calling AccountApi.update_client_account_permission_using_put"
1722
+ end
1723
+ # resource path
1724
+ local_var_path = '/nucleus/v1/account_permission/{account_id}'.sub('{' + 'account_id' + '}', account_id.to_s)
1725
+
1726
+ # query parameters
1727
+ query_params = {}
1728
+
1729
+ # header parameters
1730
+ header_params = {}
1731
+ # HTTP header 'Accept' (if needed)
1732
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1733
+ # HTTP header 'Content-Type'
1734
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1735
+
1736
+ # form parameters
1737
+ form_params = {}
1738
+
1739
+ # http body (model)
1740
+ post_body = @api_client.object_to_http_body(acl_client_permission_vo)
1741
+ auth_names = ['oauth2']
1742
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1743
+ :header_params => header_params,
1744
+ :query_params => query_params,
1745
+ :form_params => form_params,
1746
+ :body => post_body,
1747
+ :auth_names => auth_names,
1748
+ :return_type => 'AccountPermissionVO')
1749
+ if @api_client.config.debugging
1750
+ @api_client.config.logger.debug "API called: AccountApi#update_client_account_permission_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1751
+ end
1752
+ return data, status_code, headers
1753
+ end
1754
+ end
1755
+ end