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