hydrogen-nucleus-api 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,301 @@
|
|
|
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 SpendingControlApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create a Spending Control
|
|
23
|
+
# Create a new Spending Control.
|
|
24
|
+
# @param spending_control spendingControl
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [SpendingControl]
|
|
27
|
+
def create_spending_control_using_post(spending_control, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_spending_control_using_post_with_http_info(spending_control, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create a Spending Control
|
|
33
|
+
# Create a new Spending Control.
|
|
34
|
+
# @param spending_control spendingControl
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(SpendingControl, Fixnum, Hash)>] SpendingControl data, response status code and response headers
|
|
37
|
+
def create_spending_control_using_post_with_http_info(spending_control, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: SpendingControlApi.create_spending_control_using_post ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'spending_control' is set
|
|
42
|
+
if @api_client.config.client_side_validation && spending_control.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'spending_control' when calling SpendingControlApi.create_spending_control_using_post"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/nucleus/v1/spending_control'
|
|
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(spending_control)
|
|
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 => 'SpendingControl')
|
|
71
|
+
if @api_client.config.debugging
|
|
72
|
+
@api_client.config.logger.debug "API called: SpendingControlApi#create_spending_control_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
|
+
end
|
|
74
|
+
return data, status_code, headers
|
|
75
|
+
end
|
|
76
|
+
# Delete a Spending Control
|
|
77
|
+
# Permanently Delete Spending Control.
|
|
78
|
+
# @param spending_control_id spending_control_id
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [nil]
|
|
81
|
+
def delete_spending_control_using_delete(spending_control_id, opts = {})
|
|
82
|
+
delete_spending_control_using_delete_with_http_info(spending_control_id, opts)
|
|
83
|
+
nil
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Delete a Spending Control
|
|
87
|
+
# Permanently Delete Spending Control.
|
|
88
|
+
# @param spending_control_id spending_control_id
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
91
|
+
def delete_spending_control_using_delete_with_http_info(spending_control_id, opts = {})
|
|
92
|
+
if @api_client.config.debugging
|
|
93
|
+
@api_client.config.logger.debug 'Calling API: SpendingControlApi.delete_spending_control_using_delete ...'
|
|
94
|
+
end
|
|
95
|
+
# verify the required parameter 'spending_control_id' is set
|
|
96
|
+
if @api_client.config.client_side_validation && spending_control_id.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'spending_control_id' when calling SpendingControlApi.delete_spending_control_using_delete"
|
|
98
|
+
end
|
|
99
|
+
# resource path
|
|
100
|
+
local_var_path = '/nucleus/v1/spending_control/{spending_control_id}'.sub('{' + 'spending_control_id' + '}', spending_control_id.to_s)
|
|
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
|
+
|
|
110
|
+
# form parameters
|
|
111
|
+
form_params = {}
|
|
112
|
+
|
|
113
|
+
# http body (model)
|
|
114
|
+
post_body = nil
|
|
115
|
+
auth_names = ['oauth2']
|
|
116
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
117
|
+
:header_params => header_params,
|
|
118
|
+
:query_params => query_params,
|
|
119
|
+
:form_params => form_params,
|
|
120
|
+
:body => post_body,
|
|
121
|
+
:auth_names => auth_names)
|
|
122
|
+
if @api_client.config.debugging
|
|
123
|
+
@api_client.config.logger.debug "API called: SpendingControlApi#delete_spending_control_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
124
|
+
end
|
|
125
|
+
return data, status_code, headers
|
|
126
|
+
end
|
|
127
|
+
# List all Spending Control
|
|
128
|
+
# List all Spending Control.
|
|
129
|
+
# @param [Hash] opts the optional parameters
|
|
130
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
131
|
+
# @option opts [String] :filter filter
|
|
132
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
133
|
+
# @option opts [Integer] :page page (default to 0)
|
|
134
|
+
# @option opts [Integer] :size size (default to 25)
|
|
135
|
+
# @return [PageSpendingControl]
|
|
136
|
+
def get_spending_control_all_using_get(opts = {})
|
|
137
|
+
data, _status_code, _headers = get_spending_control_all_using_get_with_http_info(opts)
|
|
138
|
+
data
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# List all Spending Control
|
|
142
|
+
# List all Spending Control.
|
|
143
|
+
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
145
|
+
# @option opts [String] :filter filter
|
|
146
|
+
# @option opts [String] :order_by order_by
|
|
147
|
+
# @option opts [Integer] :page page
|
|
148
|
+
# @option opts [Integer] :size size
|
|
149
|
+
# @return [Array<(PageSpendingControl, Fixnum, Hash)>] PageSpendingControl data, response status code and response headers
|
|
150
|
+
def get_spending_control_all_using_get_with_http_info(opts = {})
|
|
151
|
+
if @api_client.config.debugging
|
|
152
|
+
@api_client.config.logger.debug 'Calling API: SpendingControlApi.get_spending_control_all_using_get ...'
|
|
153
|
+
end
|
|
154
|
+
# resource path
|
|
155
|
+
local_var_path = '/nucleus/v1/spending_control'
|
|
156
|
+
|
|
157
|
+
# query parameters
|
|
158
|
+
query_params = {}
|
|
159
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
160
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
161
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
162
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
163
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
164
|
+
|
|
165
|
+
# header parameters
|
|
166
|
+
header_params = {}
|
|
167
|
+
# HTTP header 'Accept' (if needed)
|
|
168
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
169
|
+
|
|
170
|
+
# form parameters
|
|
171
|
+
form_params = {}
|
|
172
|
+
|
|
173
|
+
# http body (model)
|
|
174
|
+
post_body = nil
|
|
175
|
+
auth_names = ['oauth2']
|
|
176
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
177
|
+
:header_params => header_params,
|
|
178
|
+
:query_params => query_params,
|
|
179
|
+
:form_params => form_params,
|
|
180
|
+
:body => post_body,
|
|
181
|
+
:auth_names => auth_names,
|
|
182
|
+
:return_type => 'PageSpendingControl')
|
|
183
|
+
if @api_client.config.debugging
|
|
184
|
+
@api_client.config.logger.debug "API called: SpendingControlApi#get_spending_control_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
185
|
+
end
|
|
186
|
+
return data, status_code, headers
|
|
187
|
+
end
|
|
188
|
+
# Retrieve a Spending Control
|
|
189
|
+
# Retrieve a Spending Control.
|
|
190
|
+
# @param spending_control_id spending_control_id
|
|
191
|
+
# @param [Hash] opts the optional parameters
|
|
192
|
+
# @return [SpendingControl]
|
|
193
|
+
def get_spending_control_using_get(spending_control_id, opts = {})
|
|
194
|
+
data, _status_code, _headers = get_spending_control_using_get_with_http_info(spending_control_id, opts)
|
|
195
|
+
data
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Retrieve a Spending Control
|
|
199
|
+
# Retrieve a Spending Control.
|
|
200
|
+
# @param spending_control_id spending_control_id
|
|
201
|
+
# @param [Hash] opts the optional parameters
|
|
202
|
+
# @return [Array<(SpendingControl, Fixnum, Hash)>] SpendingControl data, response status code and response headers
|
|
203
|
+
def get_spending_control_using_get_with_http_info(spending_control_id, opts = {})
|
|
204
|
+
if @api_client.config.debugging
|
|
205
|
+
@api_client.config.logger.debug 'Calling API: SpendingControlApi.get_spending_control_using_get ...'
|
|
206
|
+
end
|
|
207
|
+
# verify the required parameter 'spending_control_id' is set
|
|
208
|
+
if @api_client.config.client_side_validation && spending_control_id.nil?
|
|
209
|
+
fail ArgumentError, "Missing the required parameter 'spending_control_id' when calling SpendingControlApi.get_spending_control_using_get"
|
|
210
|
+
end
|
|
211
|
+
# resource path
|
|
212
|
+
local_var_path = '/nucleus/v1/spending_control/{spending_control_id}'.sub('{' + 'spending_control_id' + '}', spending_control_id.to_s)
|
|
213
|
+
|
|
214
|
+
# query parameters
|
|
215
|
+
query_params = {}
|
|
216
|
+
|
|
217
|
+
# header parameters
|
|
218
|
+
header_params = {}
|
|
219
|
+
# HTTP header 'Accept' (if needed)
|
|
220
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
221
|
+
|
|
222
|
+
# form parameters
|
|
223
|
+
form_params = {}
|
|
224
|
+
|
|
225
|
+
# http body (model)
|
|
226
|
+
post_body = nil
|
|
227
|
+
auth_names = ['oauth2']
|
|
228
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
229
|
+
:header_params => header_params,
|
|
230
|
+
:query_params => query_params,
|
|
231
|
+
:form_params => form_params,
|
|
232
|
+
:body => post_body,
|
|
233
|
+
:auth_names => auth_names,
|
|
234
|
+
:return_type => 'SpendingControl')
|
|
235
|
+
if @api_client.config.debugging
|
|
236
|
+
@api_client.config.logger.debug "API called: SpendingControlApi#get_spending_control_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
237
|
+
end
|
|
238
|
+
return data, status_code, headers
|
|
239
|
+
end
|
|
240
|
+
# Update a Spending Control
|
|
241
|
+
# Update a Spending Control.
|
|
242
|
+
# @param spending_control spending_control
|
|
243
|
+
# @param spending_control_id UUID spending_control_id
|
|
244
|
+
# @param [Hash] opts the optional parameters
|
|
245
|
+
# @return [SpendingControl]
|
|
246
|
+
def update_spending_control_using_put(spending_control, spending_control_id, opts = {})
|
|
247
|
+
data, _status_code, _headers = update_spending_control_using_put_with_http_info(spending_control, spending_control_id, opts)
|
|
248
|
+
data
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Update a Spending Control
|
|
252
|
+
# Update a Spending Control.
|
|
253
|
+
# @param spending_control spending_control
|
|
254
|
+
# @param spending_control_id UUID spending_control_id
|
|
255
|
+
# @param [Hash] opts the optional parameters
|
|
256
|
+
# @return [Array<(SpendingControl, Fixnum, Hash)>] SpendingControl data, response status code and response headers
|
|
257
|
+
def update_spending_control_using_put_with_http_info(spending_control, spending_control_id, opts = {})
|
|
258
|
+
if @api_client.config.debugging
|
|
259
|
+
@api_client.config.logger.debug 'Calling API: SpendingControlApi.update_spending_control_using_put ...'
|
|
260
|
+
end
|
|
261
|
+
# verify the required parameter 'spending_control' is set
|
|
262
|
+
if @api_client.config.client_side_validation && spending_control.nil?
|
|
263
|
+
fail ArgumentError, "Missing the required parameter 'spending_control' when calling SpendingControlApi.update_spending_control_using_put"
|
|
264
|
+
end
|
|
265
|
+
# verify the required parameter 'spending_control_id' is set
|
|
266
|
+
if @api_client.config.client_side_validation && spending_control_id.nil?
|
|
267
|
+
fail ArgumentError, "Missing the required parameter 'spending_control_id' when calling SpendingControlApi.update_spending_control_using_put"
|
|
268
|
+
end
|
|
269
|
+
# resource path
|
|
270
|
+
local_var_path = '/nucleus/v1/spending_control/{spending_control_id}'.sub('{' + 'spending_control_id' + '}', spending_control_id.to_s)
|
|
271
|
+
|
|
272
|
+
# query parameters
|
|
273
|
+
query_params = {}
|
|
274
|
+
|
|
275
|
+
# header parameters
|
|
276
|
+
header_params = {}
|
|
277
|
+
# HTTP header 'Accept' (if needed)
|
|
278
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
279
|
+
# HTTP header 'Content-Type'
|
|
280
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
281
|
+
|
|
282
|
+
# form parameters
|
|
283
|
+
form_params = {}
|
|
284
|
+
|
|
285
|
+
# http body (model)
|
|
286
|
+
post_body = @api_client.object_to_http_body(spending_control)
|
|
287
|
+
auth_names = ['oauth2']
|
|
288
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
289
|
+
:header_params => header_params,
|
|
290
|
+
:query_params => query_params,
|
|
291
|
+
:form_params => form_params,
|
|
292
|
+
:body => post_body,
|
|
293
|
+
:auth_names => auth_names,
|
|
294
|
+
:return_type => 'SpendingControl')
|
|
295
|
+
if @api_client.config.debugging
|
|
296
|
+
@api_client.config.logger.debug "API called: SpendingControlApi#update_spending_control_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
297
|
+
end
|
|
298
|
+
return data, status_code, headers
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
end
|
|
@@ -0,0 +1,2692 @@
|
|
|
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 UtilsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create an application
|
|
23
|
+
# Create an application
|
|
24
|
+
# @param application application
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [Application]
|
|
27
|
+
def create_application_using_post(application, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_application_using_post_with_http_info(application, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create an application
|
|
33
|
+
# Create an application
|
|
34
|
+
# @param application application
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(Application, Fixnum, Hash)>] Application data, response status code and response headers
|
|
37
|
+
def create_application_using_post_with_http_info(application, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_application_using_post ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'application' is set
|
|
42
|
+
if @api_client.config.client_side_validation && application.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'application' when calling UtilsApi.create_application_using_post"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/nucleus/v1/application'
|
|
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(application)
|
|
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 => 'Application')
|
|
71
|
+
if @api_client.config.debugging
|
|
72
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_application_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
|
+
end
|
|
74
|
+
return data, status_code, headers
|
|
75
|
+
end
|
|
76
|
+
# Create a audit log
|
|
77
|
+
# Create a new audit log.
|
|
78
|
+
# @param audit_log auditLog
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [AuditLog]
|
|
81
|
+
def create_audit_log_using_post(audit_log, opts = {})
|
|
82
|
+
data, _status_code, _headers = create_audit_log_using_post_with_http_info(audit_log, opts)
|
|
83
|
+
data
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Create a audit log
|
|
87
|
+
# Create a new audit log.
|
|
88
|
+
# @param audit_log auditLog
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Array<(AuditLog, Fixnum, Hash)>] AuditLog data, response status code and response headers
|
|
91
|
+
def create_audit_log_using_post_with_http_info(audit_log, opts = {})
|
|
92
|
+
if @api_client.config.debugging
|
|
93
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_audit_log_using_post ...'
|
|
94
|
+
end
|
|
95
|
+
# verify the required parameter 'audit_log' is set
|
|
96
|
+
if @api_client.config.client_side_validation && audit_log.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'audit_log' when calling UtilsApi.create_audit_log_using_post"
|
|
98
|
+
end
|
|
99
|
+
# resource path
|
|
100
|
+
local_var_path = '/nucleus/v1/audit_log'
|
|
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(audit_log)
|
|
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 => 'AuditLog')
|
|
125
|
+
if @api_client.config.debugging
|
|
126
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_audit_log_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
127
|
+
end
|
|
128
|
+
return data, status_code, headers
|
|
129
|
+
end
|
|
130
|
+
# Create a Feature Track
|
|
131
|
+
# Create a new feature track.
|
|
132
|
+
# @param feature_track featureTrack
|
|
133
|
+
# @param [Hash] opts the optional parameters
|
|
134
|
+
# @return [FeatureTrack]
|
|
135
|
+
def create_feature_track_using_post(feature_track, opts = {})
|
|
136
|
+
data, _status_code, _headers = create_feature_track_using_post_with_http_info(feature_track, opts)
|
|
137
|
+
data
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# Create a Feature Track
|
|
141
|
+
# Create a new feature track.
|
|
142
|
+
# @param feature_track featureTrack
|
|
143
|
+
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @return [Array<(FeatureTrack, Fixnum, Hash)>] FeatureTrack data, response status code and response headers
|
|
145
|
+
def create_feature_track_using_post_with_http_info(feature_track, opts = {})
|
|
146
|
+
if @api_client.config.debugging
|
|
147
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_feature_track_using_post ...'
|
|
148
|
+
end
|
|
149
|
+
# verify the required parameter 'feature_track' is set
|
|
150
|
+
if @api_client.config.client_side_validation && feature_track.nil?
|
|
151
|
+
fail ArgumentError, "Missing the required parameter 'feature_track' when calling UtilsApi.create_feature_track_using_post"
|
|
152
|
+
end
|
|
153
|
+
# resource path
|
|
154
|
+
local_var_path = '/nucleus/v1/feature_track'
|
|
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(feature_track)
|
|
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 => 'FeatureTrack')
|
|
179
|
+
if @api_client.config.debugging
|
|
180
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_feature_track_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
181
|
+
end
|
|
182
|
+
return data, status_code, headers
|
|
183
|
+
end
|
|
184
|
+
# Create a Feature
|
|
185
|
+
# Create a new feature.
|
|
186
|
+
# @param feature feature
|
|
187
|
+
# @param [Hash] opts the optional parameters
|
|
188
|
+
# @return [Feature]
|
|
189
|
+
def create_feature_using_post(feature, opts = {})
|
|
190
|
+
data, _status_code, _headers = create_feature_using_post_with_http_info(feature, opts)
|
|
191
|
+
data
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Create a Feature
|
|
195
|
+
# Create a new feature.
|
|
196
|
+
# @param feature feature
|
|
197
|
+
# @param [Hash] opts the optional parameters
|
|
198
|
+
# @return [Array<(Feature, Fixnum, Hash)>] Feature data, response status code and response headers
|
|
199
|
+
def create_feature_using_post_with_http_info(feature, opts = {})
|
|
200
|
+
if @api_client.config.debugging
|
|
201
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_feature_using_post ...'
|
|
202
|
+
end
|
|
203
|
+
# verify the required parameter 'feature' is set
|
|
204
|
+
if @api_client.config.client_side_validation && feature.nil?
|
|
205
|
+
fail ArgumentError, "Missing the required parameter 'feature' when calling UtilsApi.create_feature_using_post"
|
|
206
|
+
end
|
|
207
|
+
# resource path
|
|
208
|
+
local_var_path = '/nucleus/v1/feature'
|
|
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(feature)
|
|
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 => 'Feature')
|
|
233
|
+
if @api_client.config.debugging
|
|
234
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_feature_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
235
|
+
end
|
|
236
|
+
return data, status_code, headers
|
|
237
|
+
end
|
|
238
|
+
# Create a Notification Client
|
|
239
|
+
# Create a new Notification Client.
|
|
240
|
+
# @param notification_client notificationClient
|
|
241
|
+
# @param [Hash] opts the optional parameters
|
|
242
|
+
# @return [NotificationClient]
|
|
243
|
+
def create_notification_client_using_post(notification_client, opts = {})
|
|
244
|
+
data, _status_code, _headers = create_notification_client_using_post_with_http_info(notification_client, opts)
|
|
245
|
+
data
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Create a Notification Client
|
|
249
|
+
# Create a new Notification Client.
|
|
250
|
+
# @param notification_client notificationClient
|
|
251
|
+
# @param [Hash] opts the optional parameters
|
|
252
|
+
# @return [Array<(NotificationClient, Fixnum, Hash)>] NotificationClient data, response status code and response headers
|
|
253
|
+
def create_notification_client_using_post_with_http_info(notification_client, opts = {})
|
|
254
|
+
if @api_client.config.debugging
|
|
255
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_notification_client_using_post ...'
|
|
256
|
+
end
|
|
257
|
+
# verify the required parameter 'notification_client' is set
|
|
258
|
+
if @api_client.config.client_side_validation && notification_client.nil?
|
|
259
|
+
fail ArgumentError, "Missing the required parameter 'notification_client' when calling UtilsApi.create_notification_client_using_post"
|
|
260
|
+
end
|
|
261
|
+
# resource path
|
|
262
|
+
local_var_path = '/nucleus/v1/notification_client'
|
|
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(notification_client)
|
|
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 => 'NotificationClient')
|
|
287
|
+
if @api_client.config.debugging
|
|
288
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_notification_client_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
289
|
+
end
|
|
290
|
+
return data, status_code, headers
|
|
291
|
+
end
|
|
292
|
+
# Create a Notification Setting
|
|
293
|
+
# Create a new Notification Setting.
|
|
294
|
+
# @param notification_setting notificationSetting
|
|
295
|
+
# @param [Hash] opts the optional parameters
|
|
296
|
+
# @return [NotificationSetting]
|
|
297
|
+
def create_notification_setting_using_post(notification_setting, opts = {})
|
|
298
|
+
data, _status_code, _headers = create_notification_setting_using_post_with_http_info(notification_setting, opts)
|
|
299
|
+
data
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Create a Notification Setting
|
|
303
|
+
# Create a new Notification Setting.
|
|
304
|
+
# @param notification_setting notificationSetting
|
|
305
|
+
# @param [Hash] opts the optional parameters
|
|
306
|
+
# @return [Array<(NotificationSetting, Fixnum, Hash)>] NotificationSetting data, response status code and response headers
|
|
307
|
+
def create_notification_setting_using_post_with_http_info(notification_setting, opts = {})
|
|
308
|
+
if @api_client.config.debugging
|
|
309
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_notification_setting_using_post ...'
|
|
310
|
+
end
|
|
311
|
+
# verify the required parameter 'notification_setting' is set
|
|
312
|
+
if @api_client.config.client_side_validation && notification_setting.nil?
|
|
313
|
+
fail ArgumentError, "Missing the required parameter 'notification_setting' when calling UtilsApi.create_notification_setting_using_post"
|
|
314
|
+
end
|
|
315
|
+
# resource path
|
|
316
|
+
local_var_path = '/nucleus/v1/notification_setting'
|
|
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(notification_setting)
|
|
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 => 'NotificationSetting')
|
|
341
|
+
if @api_client.config.debugging
|
|
342
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_notification_setting_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
343
|
+
end
|
|
344
|
+
return data, status_code, headers
|
|
345
|
+
end
|
|
346
|
+
# Create a Notification
|
|
347
|
+
# Create a new Notification.
|
|
348
|
+
# @param notification notification
|
|
349
|
+
# @param [Hash] opts the optional parameters
|
|
350
|
+
# @return [Notification]
|
|
351
|
+
def create_notification_using_post(notification, opts = {})
|
|
352
|
+
data, _status_code, _headers = create_notification_using_post_with_http_info(notification, opts)
|
|
353
|
+
data
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Create a Notification
|
|
357
|
+
# Create a new Notification.
|
|
358
|
+
# @param notification notification
|
|
359
|
+
# @param [Hash] opts the optional parameters
|
|
360
|
+
# @return [Array<(Notification, Fixnum, Hash)>] Notification data, response status code and response headers
|
|
361
|
+
def create_notification_using_post_with_http_info(notification, opts = {})
|
|
362
|
+
if @api_client.config.debugging
|
|
363
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_notification_using_post ...'
|
|
364
|
+
end
|
|
365
|
+
# verify the required parameter 'notification' is set
|
|
366
|
+
if @api_client.config.client_side_validation && notification.nil?
|
|
367
|
+
fail ArgumentError, "Missing the required parameter 'notification' when calling UtilsApi.create_notification_using_post"
|
|
368
|
+
end
|
|
369
|
+
# resource path
|
|
370
|
+
local_var_path = '/nucleus/v1/notification'
|
|
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(notification)
|
|
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 => 'Notification')
|
|
395
|
+
if @api_client.config.debugging
|
|
396
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_notification_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
397
|
+
end
|
|
398
|
+
return data, status_code, headers
|
|
399
|
+
end
|
|
400
|
+
# Create a reason code
|
|
401
|
+
# Create a new reason code for your firm.
|
|
402
|
+
# @param reason_code_request reasonCodeRequest
|
|
403
|
+
# @param [Hash] opts the optional parameters
|
|
404
|
+
# @return [ReasonCode]
|
|
405
|
+
def create_reason_code_using_post(reason_code_request, opts = {})
|
|
406
|
+
data, _status_code, _headers = create_reason_code_using_post_with_http_info(reason_code_request, opts)
|
|
407
|
+
data
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
# Create a reason code
|
|
411
|
+
# Create a new reason code for your firm.
|
|
412
|
+
# @param reason_code_request reasonCodeRequest
|
|
413
|
+
# @param [Hash] opts the optional parameters
|
|
414
|
+
# @return [Array<(ReasonCode, Fixnum, Hash)>] ReasonCode data, response status code and response headers
|
|
415
|
+
def create_reason_code_using_post_with_http_info(reason_code_request, opts = {})
|
|
416
|
+
if @api_client.config.debugging
|
|
417
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_reason_code_using_post ...'
|
|
418
|
+
end
|
|
419
|
+
# verify the required parameter 'reason_code_request' is set
|
|
420
|
+
if @api_client.config.client_side_validation && reason_code_request.nil?
|
|
421
|
+
fail ArgumentError, "Missing the required parameter 'reason_code_request' when calling UtilsApi.create_reason_code_using_post"
|
|
422
|
+
end
|
|
423
|
+
# resource path
|
|
424
|
+
local_var_path = '/nucleus/v1/reason_code'
|
|
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(reason_code_request)
|
|
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 => 'ReasonCode')
|
|
449
|
+
if @api_client.config.debugging
|
|
450
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_reason_code_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
451
|
+
end
|
|
452
|
+
return data, status_code, headers
|
|
453
|
+
end
|
|
454
|
+
# Create an account stage
|
|
455
|
+
# Create a new account stage
|
|
456
|
+
# @param stage_request stageRequest
|
|
457
|
+
# @param [Hash] opts the optional parameters
|
|
458
|
+
# @return [Stage]
|
|
459
|
+
def create_stage_using_post(stage_request, opts = {})
|
|
460
|
+
data, _status_code, _headers = create_stage_using_post_with_http_info(stage_request, opts)
|
|
461
|
+
data
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
# Create an account stage
|
|
465
|
+
# Create a new account stage
|
|
466
|
+
# @param stage_request stageRequest
|
|
467
|
+
# @param [Hash] opts the optional parameters
|
|
468
|
+
# @return [Array<(Stage, Fixnum, Hash)>] Stage data, response status code and response headers
|
|
469
|
+
def create_stage_using_post_with_http_info(stage_request, opts = {})
|
|
470
|
+
if @api_client.config.debugging
|
|
471
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_stage_using_post ...'
|
|
472
|
+
end
|
|
473
|
+
# verify the required parameter 'stage_request' is set
|
|
474
|
+
if @api_client.config.client_side_validation && stage_request.nil?
|
|
475
|
+
fail ArgumentError, "Missing the required parameter 'stage_request' when calling UtilsApi.create_stage_using_post"
|
|
476
|
+
end
|
|
477
|
+
# resource path
|
|
478
|
+
local_var_path = '/nucleus/v1/stage'
|
|
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
|
+
# HTTP header 'Content-Type'
|
|
488
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
489
|
+
|
|
490
|
+
# form parameters
|
|
491
|
+
form_params = {}
|
|
492
|
+
|
|
493
|
+
# http body (model)
|
|
494
|
+
post_body = @api_client.object_to_http_body(stage_request)
|
|
495
|
+
auth_names = ['oauth2']
|
|
496
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
497
|
+
:header_params => header_params,
|
|
498
|
+
:query_params => query_params,
|
|
499
|
+
:form_params => form_params,
|
|
500
|
+
:body => post_body,
|
|
501
|
+
:auth_names => auth_names,
|
|
502
|
+
:return_type => 'Stage')
|
|
503
|
+
if @api_client.config.debugging
|
|
504
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_stage_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
505
|
+
end
|
|
506
|
+
return data, status_code, headers
|
|
507
|
+
end
|
|
508
|
+
# Create a transaction code
|
|
509
|
+
# Create a new transaction code for your firm.
|
|
510
|
+
# @param transaction_request transactionRequest
|
|
511
|
+
# @param [Hash] opts the optional parameters
|
|
512
|
+
# @return [TransactionCode]
|
|
513
|
+
def create_transaction_code_using_post(transaction_request, opts = {})
|
|
514
|
+
data, _status_code, _headers = create_transaction_code_using_post_with_http_info(transaction_request, opts)
|
|
515
|
+
data
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
# Create a transaction code
|
|
519
|
+
# Create a new transaction code for your firm.
|
|
520
|
+
# @param transaction_request transactionRequest
|
|
521
|
+
# @param [Hash] opts the optional parameters
|
|
522
|
+
# @return [Array<(TransactionCode, Fixnum, Hash)>] TransactionCode data, response status code and response headers
|
|
523
|
+
def create_transaction_code_using_post_with_http_info(transaction_request, opts = {})
|
|
524
|
+
if @api_client.config.debugging
|
|
525
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.create_transaction_code_using_post ...'
|
|
526
|
+
end
|
|
527
|
+
# verify the required parameter 'transaction_request' is set
|
|
528
|
+
if @api_client.config.client_side_validation && transaction_request.nil?
|
|
529
|
+
fail ArgumentError, "Missing the required parameter 'transaction_request' when calling UtilsApi.create_transaction_code_using_post"
|
|
530
|
+
end
|
|
531
|
+
# resource path
|
|
532
|
+
local_var_path = '/nucleus/v1/transaction_code'
|
|
533
|
+
|
|
534
|
+
# query parameters
|
|
535
|
+
query_params = {}
|
|
536
|
+
|
|
537
|
+
# header parameters
|
|
538
|
+
header_params = {}
|
|
539
|
+
# HTTP header 'Accept' (if needed)
|
|
540
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
541
|
+
# HTTP header 'Content-Type'
|
|
542
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
543
|
+
|
|
544
|
+
# form parameters
|
|
545
|
+
form_params = {}
|
|
546
|
+
|
|
547
|
+
# http body (model)
|
|
548
|
+
post_body = @api_client.object_to_http_body(transaction_request)
|
|
549
|
+
auth_names = ['oauth2']
|
|
550
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
551
|
+
:header_params => header_params,
|
|
552
|
+
:query_params => query_params,
|
|
553
|
+
:form_params => form_params,
|
|
554
|
+
:body => post_body,
|
|
555
|
+
:auth_names => auth_names,
|
|
556
|
+
:return_type => 'TransactionCode')
|
|
557
|
+
if @api_client.config.debugging
|
|
558
|
+
@api_client.config.logger.debug "API called: UtilsApi#create_transaction_code_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
559
|
+
end
|
|
560
|
+
return data, status_code, headers
|
|
561
|
+
end
|
|
562
|
+
# Delete an Application
|
|
563
|
+
# Permanently delete an Application.
|
|
564
|
+
# @param application_id UUID application_id
|
|
565
|
+
# @param [Hash] opts the optional parameters
|
|
566
|
+
# @return [nil]
|
|
567
|
+
def delete_application_using_delete(application_id, opts = {})
|
|
568
|
+
delete_application_using_delete_with_http_info(application_id, opts)
|
|
569
|
+
nil
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# Delete an Application
|
|
573
|
+
# Permanently delete an Application.
|
|
574
|
+
# @param application_id UUID application_id
|
|
575
|
+
# @param [Hash] opts the optional parameters
|
|
576
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
577
|
+
def delete_application_using_delete_with_http_info(application_id, opts = {})
|
|
578
|
+
if @api_client.config.debugging
|
|
579
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_application_using_delete ...'
|
|
580
|
+
end
|
|
581
|
+
# verify the required parameter 'application_id' is set
|
|
582
|
+
if @api_client.config.client_side_validation && application_id.nil?
|
|
583
|
+
fail ArgumentError, "Missing the required parameter 'application_id' when calling UtilsApi.delete_application_using_delete"
|
|
584
|
+
end
|
|
585
|
+
# resource path
|
|
586
|
+
local_var_path = '/nucleus/v1/application/{application_id}'.sub('{' + 'application_id' + '}', application_id.to_s)
|
|
587
|
+
|
|
588
|
+
# query parameters
|
|
589
|
+
query_params = {}
|
|
590
|
+
|
|
591
|
+
# header parameters
|
|
592
|
+
header_params = {}
|
|
593
|
+
# HTTP header 'Accept' (if needed)
|
|
594
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
595
|
+
|
|
596
|
+
# form parameters
|
|
597
|
+
form_params = {}
|
|
598
|
+
|
|
599
|
+
# http body (model)
|
|
600
|
+
post_body = nil
|
|
601
|
+
auth_names = ['oauth2']
|
|
602
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
603
|
+
:header_params => header_params,
|
|
604
|
+
:query_params => query_params,
|
|
605
|
+
:form_params => form_params,
|
|
606
|
+
:body => post_body,
|
|
607
|
+
:auth_names => auth_names)
|
|
608
|
+
if @api_client.config.debugging
|
|
609
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_application_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
610
|
+
end
|
|
611
|
+
return data, status_code, headers
|
|
612
|
+
end
|
|
613
|
+
# Delete a Feature Track
|
|
614
|
+
# Permanently delete a feature track registered with your firm.
|
|
615
|
+
# @param feature_track_id UUID feature_track_id
|
|
616
|
+
# @param [Hash] opts the optional parameters
|
|
617
|
+
# @return [nil]
|
|
618
|
+
def delete_feature_track_using_delete(feature_track_id, opts = {})
|
|
619
|
+
delete_feature_track_using_delete_with_http_info(feature_track_id, opts)
|
|
620
|
+
nil
|
|
621
|
+
end
|
|
622
|
+
|
|
623
|
+
# Delete a Feature Track
|
|
624
|
+
# Permanently delete a feature track registered with your firm.
|
|
625
|
+
# @param feature_track_id UUID feature_track_id
|
|
626
|
+
# @param [Hash] opts the optional parameters
|
|
627
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
628
|
+
def delete_feature_track_using_delete_with_http_info(feature_track_id, opts = {})
|
|
629
|
+
if @api_client.config.debugging
|
|
630
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_feature_track_using_delete ...'
|
|
631
|
+
end
|
|
632
|
+
# verify the required parameter 'feature_track_id' is set
|
|
633
|
+
if @api_client.config.client_side_validation && feature_track_id.nil?
|
|
634
|
+
fail ArgumentError, "Missing the required parameter 'feature_track_id' when calling UtilsApi.delete_feature_track_using_delete"
|
|
635
|
+
end
|
|
636
|
+
# resource path
|
|
637
|
+
local_var_path = '/nucleus/v1/feature_track/{feature_track_id}'.sub('{' + 'feature_track_id' + '}', feature_track_id.to_s)
|
|
638
|
+
|
|
639
|
+
# query parameters
|
|
640
|
+
query_params = {}
|
|
641
|
+
|
|
642
|
+
# header parameters
|
|
643
|
+
header_params = {}
|
|
644
|
+
# HTTP header 'Accept' (if needed)
|
|
645
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
646
|
+
|
|
647
|
+
# form parameters
|
|
648
|
+
form_params = {}
|
|
649
|
+
|
|
650
|
+
# http body (model)
|
|
651
|
+
post_body = nil
|
|
652
|
+
auth_names = ['oauth2']
|
|
653
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
654
|
+
:header_params => header_params,
|
|
655
|
+
:query_params => query_params,
|
|
656
|
+
:form_params => form_params,
|
|
657
|
+
:body => post_body,
|
|
658
|
+
:auth_names => auth_names)
|
|
659
|
+
if @api_client.config.debugging
|
|
660
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_feature_track_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
661
|
+
end
|
|
662
|
+
return data, status_code, headers
|
|
663
|
+
end
|
|
664
|
+
# Delete a Feature
|
|
665
|
+
# Permanently delete a feature registered with your firm.
|
|
666
|
+
# @param feature_id UUID feature_id
|
|
667
|
+
# @param [Hash] opts the optional parameters
|
|
668
|
+
# @return [nil]
|
|
669
|
+
def delete_feature_using_delete(feature_id, opts = {})
|
|
670
|
+
delete_feature_using_delete_with_http_info(feature_id, opts)
|
|
671
|
+
nil
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
# Delete a Feature
|
|
675
|
+
# Permanently delete a feature registered with your firm.
|
|
676
|
+
# @param feature_id UUID feature_id
|
|
677
|
+
# @param [Hash] opts the optional parameters
|
|
678
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
679
|
+
def delete_feature_using_delete_with_http_info(feature_id, opts = {})
|
|
680
|
+
if @api_client.config.debugging
|
|
681
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_feature_using_delete ...'
|
|
682
|
+
end
|
|
683
|
+
# verify the required parameter 'feature_id' is set
|
|
684
|
+
if @api_client.config.client_side_validation && feature_id.nil?
|
|
685
|
+
fail ArgumentError, "Missing the required parameter 'feature_id' when calling UtilsApi.delete_feature_using_delete"
|
|
686
|
+
end
|
|
687
|
+
# resource path
|
|
688
|
+
local_var_path = '/nucleus/v1/feature/{feature_id}'.sub('{' + 'feature_id' + '}', feature_id.to_s)
|
|
689
|
+
|
|
690
|
+
# query parameters
|
|
691
|
+
query_params = {}
|
|
692
|
+
|
|
693
|
+
# header parameters
|
|
694
|
+
header_params = {}
|
|
695
|
+
# HTTP header 'Accept' (if needed)
|
|
696
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
697
|
+
|
|
698
|
+
# form parameters
|
|
699
|
+
form_params = {}
|
|
700
|
+
|
|
701
|
+
# http body (model)
|
|
702
|
+
post_body = nil
|
|
703
|
+
auth_names = ['oauth2']
|
|
704
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
705
|
+
:header_params => header_params,
|
|
706
|
+
:query_params => query_params,
|
|
707
|
+
:form_params => form_params,
|
|
708
|
+
:body => post_body,
|
|
709
|
+
:auth_names => auth_names)
|
|
710
|
+
if @api_client.config.debugging
|
|
711
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_feature_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
712
|
+
end
|
|
713
|
+
return data, status_code, headers
|
|
714
|
+
end
|
|
715
|
+
# Delete a Notification Client
|
|
716
|
+
# Permanently Delete Notification Client.
|
|
717
|
+
# @param notification_client_id notification_client_id
|
|
718
|
+
# @param [Hash] opts the optional parameters
|
|
719
|
+
# @return [nil]
|
|
720
|
+
def delete_notification_client_using_delete(notification_client_id, opts = {})
|
|
721
|
+
delete_notification_client_using_delete_with_http_info(notification_client_id, opts)
|
|
722
|
+
nil
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
# Delete a Notification Client
|
|
726
|
+
# Permanently Delete Notification Client.
|
|
727
|
+
# @param notification_client_id notification_client_id
|
|
728
|
+
# @param [Hash] opts the optional parameters
|
|
729
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
730
|
+
def delete_notification_client_using_delete_with_http_info(notification_client_id, opts = {})
|
|
731
|
+
if @api_client.config.debugging
|
|
732
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_notification_client_using_delete ...'
|
|
733
|
+
end
|
|
734
|
+
# verify the required parameter 'notification_client_id' is set
|
|
735
|
+
if @api_client.config.client_side_validation && notification_client_id.nil?
|
|
736
|
+
fail ArgumentError, "Missing the required parameter 'notification_client_id' when calling UtilsApi.delete_notification_client_using_delete"
|
|
737
|
+
end
|
|
738
|
+
# resource path
|
|
739
|
+
local_var_path = '/nucleus/v1/notification_client/{notification_client_id}'.sub('{' + 'notification_client_id' + '}', notification_client_id.to_s)
|
|
740
|
+
|
|
741
|
+
# query parameters
|
|
742
|
+
query_params = {}
|
|
743
|
+
|
|
744
|
+
# header parameters
|
|
745
|
+
header_params = {}
|
|
746
|
+
# HTTP header 'Accept' (if needed)
|
|
747
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
748
|
+
|
|
749
|
+
# form parameters
|
|
750
|
+
form_params = {}
|
|
751
|
+
|
|
752
|
+
# http body (model)
|
|
753
|
+
post_body = nil
|
|
754
|
+
auth_names = ['oauth2']
|
|
755
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
756
|
+
:header_params => header_params,
|
|
757
|
+
:query_params => query_params,
|
|
758
|
+
:form_params => form_params,
|
|
759
|
+
:body => post_body,
|
|
760
|
+
:auth_names => auth_names)
|
|
761
|
+
if @api_client.config.debugging
|
|
762
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_notification_client_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
763
|
+
end
|
|
764
|
+
return data, status_code, headers
|
|
765
|
+
end
|
|
766
|
+
# Delete a Notification Setting
|
|
767
|
+
# Permanently Delete Notification Setting.
|
|
768
|
+
# @param notification_setting_id notification_setting_id
|
|
769
|
+
# @param [Hash] opts the optional parameters
|
|
770
|
+
# @return [nil]
|
|
771
|
+
def delete_notification_setting_using_delete(notification_setting_id, opts = {})
|
|
772
|
+
delete_notification_setting_using_delete_with_http_info(notification_setting_id, opts)
|
|
773
|
+
nil
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# Delete a Notification Setting
|
|
777
|
+
# Permanently Delete Notification Setting.
|
|
778
|
+
# @param notification_setting_id notification_setting_id
|
|
779
|
+
# @param [Hash] opts the optional parameters
|
|
780
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
781
|
+
def delete_notification_setting_using_delete_with_http_info(notification_setting_id, opts = {})
|
|
782
|
+
if @api_client.config.debugging
|
|
783
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_notification_setting_using_delete ...'
|
|
784
|
+
end
|
|
785
|
+
# verify the required parameter 'notification_setting_id' is set
|
|
786
|
+
if @api_client.config.client_side_validation && notification_setting_id.nil?
|
|
787
|
+
fail ArgumentError, "Missing the required parameter 'notification_setting_id' when calling UtilsApi.delete_notification_setting_using_delete"
|
|
788
|
+
end
|
|
789
|
+
# resource path
|
|
790
|
+
local_var_path = '/nucleus/v1/notification_setting/{notification_setting_id}'.sub('{' + 'notification_setting_id' + '}', notification_setting_id.to_s)
|
|
791
|
+
|
|
792
|
+
# query parameters
|
|
793
|
+
query_params = {}
|
|
794
|
+
|
|
795
|
+
# header parameters
|
|
796
|
+
header_params = {}
|
|
797
|
+
# HTTP header 'Accept' (if needed)
|
|
798
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
799
|
+
|
|
800
|
+
# form parameters
|
|
801
|
+
form_params = {}
|
|
802
|
+
|
|
803
|
+
# http body (model)
|
|
804
|
+
post_body = nil
|
|
805
|
+
auth_names = ['oauth2']
|
|
806
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
807
|
+
:header_params => header_params,
|
|
808
|
+
:query_params => query_params,
|
|
809
|
+
:form_params => form_params,
|
|
810
|
+
:body => post_body,
|
|
811
|
+
:auth_names => auth_names)
|
|
812
|
+
if @api_client.config.debugging
|
|
813
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_notification_setting_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
814
|
+
end
|
|
815
|
+
return data, status_code, headers
|
|
816
|
+
end
|
|
817
|
+
# Delete a Notification
|
|
818
|
+
# Permanently Delete a Notification.
|
|
819
|
+
# @param notification_id UUID notification_id
|
|
820
|
+
# @param [Hash] opts the optional parameters
|
|
821
|
+
# @return [nil]
|
|
822
|
+
def delete_notification_using_delete(notification_id, opts = {})
|
|
823
|
+
delete_notification_using_delete_with_http_info(notification_id, opts)
|
|
824
|
+
nil
|
|
825
|
+
end
|
|
826
|
+
|
|
827
|
+
# Delete a Notification
|
|
828
|
+
# Permanently Delete a Notification.
|
|
829
|
+
# @param notification_id UUID notification_id
|
|
830
|
+
# @param [Hash] opts the optional parameters
|
|
831
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
832
|
+
def delete_notification_using_delete_with_http_info(notification_id, opts = {})
|
|
833
|
+
if @api_client.config.debugging
|
|
834
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_notification_using_delete ...'
|
|
835
|
+
end
|
|
836
|
+
# verify the required parameter 'notification_id' is set
|
|
837
|
+
if @api_client.config.client_side_validation && notification_id.nil?
|
|
838
|
+
fail ArgumentError, "Missing the required parameter 'notification_id' when calling UtilsApi.delete_notification_using_delete"
|
|
839
|
+
end
|
|
840
|
+
# resource path
|
|
841
|
+
local_var_path = '/nucleus/v1/notification/{notification_id}'.sub('{' + 'notification_id' + '}', notification_id.to_s)
|
|
842
|
+
|
|
843
|
+
# query parameters
|
|
844
|
+
query_params = {}
|
|
845
|
+
|
|
846
|
+
# header parameters
|
|
847
|
+
header_params = {}
|
|
848
|
+
# HTTP header 'Accept' (if needed)
|
|
849
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
850
|
+
|
|
851
|
+
# form parameters
|
|
852
|
+
form_params = {}
|
|
853
|
+
|
|
854
|
+
# http body (model)
|
|
855
|
+
post_body = nil
|
|
856
|
+
auth_names = ['oauth2']
|
|
857
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
858
|
+
:header_params => header_params,
|
|
859
|
+
:query_params => query_params,
|
|
860
|
+
:form_params => form_params,
|
|
861
|
+
:body => post_body,
|
|
862
|
+
:auth_names => auth_names)
|
|
863
|
+
if @api_client.config.debugging
|
|
864
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_notification_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
865
|
+
end
|
|
866
|
+
return data, status_code, headers
|
|
867
|
+
end
|
|
868
|
+
# Delete a reason code
|
|
869
|
+
# Permanently delete a reason code for your firm.
|
|
870
|
+
# @param reason_code_id UUID reason_code_id
|
|
871
|
+
# @param [Hash] opts the optional parameters
|
|
872
|
+
# @return [nil]
|
|
873
|
+
def delete_reason_code_using_delete(reason_code_id, opts = {})
|
|
874
|
+
delete_reason_code_using_delete_with_http_info(reason_code_id, opts)
|
|
875
|
+
nil
|
|
876
|
+
end
|
|
877
|
+
|
|
878
|
+
# Delete a reason code
|
|
879
|
+
# Permanently delete a reason code for your firm.
|
|
880
|
+
# @param reason_code_id UUID reason_code_id
|
|
881
|
+
# @param [Hash] opts the optional parameters
|
|
882
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
883
|
+
def delete_reason_code_using_delete_with_http_info(reason_code_id, opts = {})
|
|
884
|
+
if @api_client.config.debugging
|
|
885
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_reason_code_using_delete ...'
|
|
886
|
+
end
|
|
887
|
+
# verify the required parameter 'reason_code_id' is set
|
|
888
|
+
if @api_client.config.client_side_validation && reason_code_id.nil?
|
|
889
|
+
fail ArgumentError, "Missing the required parameter 'reason_code_id' when calling UtilsApi.delete_reason_code_using_delete"
|
|
890
|
+
end
|
|
891
|
+
# resource path
|
|
892
|
+
local_var_path = '/nucleus/v1/reason_code/{reason_code_id}'.sub('{' + 'reason_code_id' + '}', reason_code_id.to_s)
|
|
893
|
+
|
|
894
|
+
# query parameters
|
|
895
|
+
query_params = {}
|
|
896
|
+
|
|
897
|
+
# header parameters
|
|
898
|
+
header_params = {}
|
|
899
|
+
# HTTP header 'Accept' (if needed)
|
|
900
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
901
|
+
|
|
902
|
+
# form parameters
|
|
903
|
+
form_params = {}
|
|
904
|
+
|
|
905
|
+
# http body (model)
|
|
906
|
+
post_body = nil
|
|
907
|
+
auth_names = ['oauth2']
|
|
908
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
909
|
+
:header_params => header_params,
|
|
910
|
+
:query_params => query_params,
|
|
911
|
+
:form_params => form_params,
|
|
912
|
+
:body => post_body,
|
|
913
|
+
:auth_names => auth_names)
|
|
914
|
+
if @api_client.config.debugging
|
|
915
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_reason_code_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
916
|
+
end
|
|
917
|
+
return data, status_code, headers
|
|
918
|
+
end
|
|
919
|
+
# Delete an account stage
|
|
920
|
+
# Permanently delete an account stage.
|
|
921
|
+
# @param stage_id UUID stage_id
|
|
922
|
+
# @param [Hash] opts the optional parameters
|
|
923
|
+
# @return [nil]
|
|
924
|
+
def delete_stage_using_delete(stage_id, opts = {})
|
|
925
|
+
delete_stage_using_delete_with_http_info(stage_id, opts)
|
|
926
|
+
nil
|
|
927
|
+
end
|
|
928
|
+
|
|
929
|
+
# Delete an account stage
|
|
930
|
+
# Permanently delete an account stage.
|
|
931
|
+
# @param stage_id UUID stage_id
|
|
932
|
+
# @param [Hash] opts the optional parameters
|
|
933
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
934
|
+
def delete_stage_using_delete_with_http_info(stage_id, opts = {})
|
|
935
|
+
if @api_client.config.debugging
|
|
936
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_stage_using_delete ...'
|
|
937
|
+
end
|
|
938
|
+
# verify the required parameter 'stage_id' is set
|
|
939
|
+
if @api_client.config.client_side_validation && stage_id.nil?
|
|
940
|
+
fail ArgumentError, "Missing the required parameter 'stage_id' when calling UtilsApi.delete_stage_using_delete"
|
|
941
|
+
end
|
|
942
|
+
# resource path
|
|
943
|
+
local_var_path = '/nucleus/v1/stage/{stage_id}'.sub('{' + 'stage_id' + '}', stage_id.to_s)
|
|
944
|
+
|
|
945
|
+
# query parameters
|
|
946
|
+
query_params = {}
|
|
947
|
+
|
|
948
|
+
# header parameters
|
|
949
|
+
header_params = {}
|
|
950
|
+
# HTTP header 'Accept' (if needed)
|
|
951
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
952
|
+
|
|
953
|
+
# form parameters
|
|
954
|
+
form_params = {}
|
|
955
|
+
|
|
956
|
+
# http body (model)
|
|
957
|
+
post_body = nil
|
|
958
|
+
auth_names = ['oauth2']
|
|
959
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
960
|
+
:header_params => header_params,
|
|
961
|
+
:query_params => query_params,
|
|
962
|
+
:form_params => form_params,
|
|
963
|
+
:body => post_body,
|
|
964
|
+
:auth_names => auth_names)
|
|
965
|
+
if @api_client.config.debugging
|
|
966
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_stage_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
967
|
+
end
|
|
968
|
+
return data, status_code, headers
|
|
969
|
+
end
|
|
970
|
+
# Delete a transaction code
|
|
971
|
+
# Permanently delete a transaction code for your firm.
|
|
972
|
+
# @param transaction_code_id UUID transaction_code_id
|
|
973
|
+
# @param [Hash] opts the optional parameters
|
|
974
|
+
# @return [nil]
|
|
975
|
+
def delete_transaction_code_using_delete(transaction_code_id, opts = {})
|
|
976
|
+
delete_transaction_code_using_delete_with_http_info(transaction_code_id, opts)
|
|
977
|
+
nil
|
|
978
|
+
end
|
|
979
|
+
|
|
980
|
+
# Delete a transaction code
|
|
981
|
+
# Permanently delete a transaction code for your firm.
|
|
982
|
+
# @param transaction_code_id UUID transaction_code_id
|
|
983
|
+
# @param [Hash] opts the optional parameters
|
|
984
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
985
|
+
def delete_transaction_code_using_delete_with_http_info(transaction_code_id, opts = {})
|
|
986
|
+
if @api_client.config.debugging
|
|
987
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.delete_transaction_code_using_delete ...'
|
|
988
|
+
end
|
|
989
|
+
# verify the required parameter 'transaction_code_id' is set
|
|
990
|
+
if @api_client.config.client_side_validation && transaction_code_id.nil?
|
|
991
|
+
fail ArgumentError, "Missing the required parameter 'transaction_code_id' when calling UtilsApi.delete_transaction_code_using_delete"
|
|
992
|
+
end
|
|
993
|
+
# resource path
|
|
994
|
+
local_var_path = '/nucleus/v1/transaction_code/{transaction_code_id}'.sub('{' + 'transaction_code_id' + '}', transaction_code_id.to_s)
|
|
995
|
+
|
|
996
|
+
# query parameters
|
|
997
|
+
query_params = {}
|
|
998
|
+
|
|
999
|
+
# header parameters
|
|
1000
|
+
header_params = {}
|
|
1001
|
+
# HTTP header 'Accept' (if needed)
|
|
1002
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1003
|
+
|
|
1004
|
+
# form parameters
|
|
1005
|
+
form_params = {}
|
|
1006
|
+
|
|
1007
|
+
# http body (model)
|
|
1008
|
+
post_body = nil
|
|
1009
|
+
auth_names = ['oauth2']
|
|
1010
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
1011
|
+
:header_params => header_params,
|
|
1012
|
+
:query_params => query_params,
|
|
1013
|
+
:form_params => form_params,
|
|
1014
|
+
:body => post_body,
|
|
1015
|
+
:auth_names => auth_names)
|
|
1016
|
+
if @api_client.config.debugging
|
|
1017
|
+
@api_client.config.logger.debug "API called: UtilsApi#delete_transaction_code_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1018
|
+
end
|
|
1019
|
+
return data, status_code, headers
|
|
1020
|
+
end
|
|
1021
|
+
# List all Application
|
|
1022
|
+
# Get details for all Application.
|
|
1023
|
+
# @param [Hash] opts the optional parameters
|
|
1024
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1025
|
+
# @option opts [String] :filter filter
|
|
1026
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1027
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1028
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1029
|
+
# @return [PageApplication]
|
|
1030
|
+
def get_application_all_using_get(opts = {})
|
|
1031
|
+
data, _status_code, _headers = get_application_all_using_get_with_http_info(opts)
|
|
1032
|
+
data
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# List all Application
|
|
1036
|
+
# Get details for all Application.
|
|
1037
|
+
# @param [Hash] opts the optional parameters
|
|
1038
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1039
|
+
# @option opts [String] :filter filter
|
|
1040
|
+
# @option opts [String] :order_by order_by
|
|
1041
|
+
# @option opts [Integer] :page page
|
|
1042
|
+
# @option opts [Integer] :size size
|
|
1043
|
+
# @return [Array<(PageApplication, Fixnum, Hash)>] PageApplication data, response status code and response headers
|
|
1044
|
+
def get_application_all_using_get_with_http_info(opts = {})
|
|
1045
|
+
if @api_client.config.debugging
|
|
1046
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_application_all_using_get ...'
|
|
1047
|
+
end
|
|
1048
|
+
# resource path
|
|
1049
|
+
local_var_path = '/nucleus/v1/application'
|
|
1050
|
+
|
|
1051
|
+
# query parameters
|
|
1052
|
+
query_params = {}
|
|
1053
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1054
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1055
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1056
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1057
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1058
|
+
|
|
1059
|
+
# header parameters
|
|
1060
|
+
header_params = {}
|
|
1061
|
+
# HTTP header 'Accept' (if needed)
|
|
1062
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1063
|
+
|
|
1064
|
+
# form parameters
|
|
1065
|
+
form_params = {}
|
|
1066
|
+
|
|
1067
|
+
# http body (model)
|
|
1068
|
+
post_body = nil
|
|
1069
|
+
auth_names = ['oauth2']
|
|
1070
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1071
|
+
:header_params => header_params,
|
|
1072
|
+
:query_params => query_params,
|
|
1073
|
+
:form_params => form_params,
|
|
1074
|
+
:body => post_body,
|
|
1075
|
+
:auth_names => auth_names,
|
|
1076
|
+
:return_type => 'PageApplication')
|
|
1077
|
+
if @api_client.config.debugging
|
|
1078
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_application_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1079
|
+
end
|
|
1080
|
+
return data, status_code, headers
|
|
1081
|
+
end
|
|
1082
|
+
# Retrieve an Application
|
|
1083
|
+
# Retrieve the information for an Application.
|
|
1084
|
+
# @param application_id UUID application_id
|
|
1085
|
+
# @param [Hash] opts the optional parameters
|
|
1086
|
+
# @return [Application]
|
|
1087
|
+
def get_application_using_get(application_id, opts = {})
|
|
1088
|
+
data, _status_code, _headers = get_application_using_get_with_http_info(application_id, opts)
|
|
1089
|
+
data
|
|
1090
|
+
end
|
|
1091
|
+
|
|
1092
|
+
# Retrieve an Application
|
|
1093
|
+
# Retrieve the information for an Application.
|
|
1094
|
+
# @param application_id UUID application_id
|
|
1095
|
+
# @param [Hash] opts the optional parameters
|
|
1096
|
+
# @return [Array<(Application, Fixnum, Hash)>] Application data, response status code and response headers
|
|
1097
|
+
def get_application_using_get_with_http_info(application_id, opts = {})
|
|
1098
|
+
if @api_client.config.debugging
|
|
1099
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_application_using_get ...'
|
|
1100
|
+
end
|
|
1101
|
+
# verify the required parameter 'application_id' is set
|
|
1102
|
+
if @api_client.config.client_side_validation && application_id.nil?
|
|
1103
|
+
fail ArgumentError, "Missing the required parameter 'application_id' when calling UtilsApi.get_application_using_get"
|
|
1104
|
+
end
|
|
1105
|
+
# resource path
|
|
1106
|
+
local_var_path = '/nucleus/v1/application/{application_id}'.sub('{' + 'application_id' + '}', application_id.to_s)
|
|
1107
|
+
|
|
1108
|
+
# query parameters
|
|
1109
|
+
query_params = {}
|
|
1110
|
+
|
|
1111
|
+
# header parameters
|
|
1112
|
+
header_params = {}
|
|
1113
|
+
# HTTP header 'Accept' (if needed)
|
|
1114
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1115
|
+
|
|
1116
|
+
# form parameters
|
|
1117
|
+
form_params = {}
|
|
1118
|
+
|
|
1119
|
+
# http body (model)
|
|
1120
|
+
post_body = nil
|
|
1121
|
+
auth_names = ['oauth2']
|
|
1122
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1123
|
+
:header_params => header_params,
|
|
1124
|
+
:query_params => query_params,
|
|
1125
|
+
:form_params => form_params,
|
|
1126
|
+
:body => post_body,
|
|
1127
|
+
:auth_names => auth_names,
|
|
1128
|
+
:return_type => 'Application')
|
|
1129
|
+
if @api_client.config.debugging
|
|
1130
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_application_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1131
|
+
end
|
|
1132
|
+
return data, status_code, headers
|
|
1133
|
+
end
|
|
1134
|
+
# List all audit log
|
|
1135
|
+
# Get details for all audit log.
|
|
1136
|
+
# @param [Hash] opts the optional parameters
|
|
1137
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1138
|
+
# @option opts [String] :filter filter
|
|
1139
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1140
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1141
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1142
|
+
# @return [PageAuditLog]
|
|
1143
|
+
def get_audit_log_all_using_get(opts = {})
|
|
1144
|
+
data, _status_code, _headers = get_audit_log_all_using_get_with_http_info(opts)
|
|
1145
|
+
data
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
# List all audit log
|
|
1149
|
+
# Get details for all audit log.
|
|
1150
|
+
# @param [Hash] opts the optional parameters
|
|
1151
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1152
|
+
# @option opts [String] :filter filter
|
|
1153
|
+
# @option opts [String] :order_by order_by
|
|
1154
|
+
# @option opts [Integer] :page page
|
|
1155
|
+
# @option opts [Integer] :size size
|
|
1156
|
+
# @return [Array<(PageAuditLog, Fixnum, Hash)>] PageAuditLog data, response status code and response headers
|
|
1157
|
+
def get_audit_log_all_using_get_with_http_info(opts = {})
|
|
1158
|
+
if @api_client.config.debugging
|
|
1159
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_audit_log_all_using_get ...'
|
|
1160
|
+
end
|
|
1161
|
+
# resource path
|
|
1162
|
+
local_var_path = '/nucleus/v1/audit_log'
|
|
1163
|
+
|
|
1164
|
+
# query parameters
|
|
1165
|
+
query_params = {}
|
|
1166
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1167
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1168
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1169
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1170
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1171
|
+
|
|
1172
|
+
# header parameters
|
|
1173
|
+
header_params = {}
|
|
1174
|
+
# HTTP header 'Accept' (if needed)
|
|
1175
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1176
|
+
|
|
1177
|
+
# form parameters
|
|
1178
|
+
form_params = {}
|
|
1179
|
+
|
|
1180
|
+
# http body (model)
|
|
1181
|
+
post_body = nil
|
|
1182
|
+
auth_names = ['oauth2']
|
|
1183
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1184
|
+
:header_params => header_params,
|
|
1185
|
+
:query_params => query_params,
|
|
1186
|
+
:form_params => form_params,
|
|
1187
|
+
:body => post_body,
|
|
1188
|
+
:auth_names => auth_names,
|
|
1189
|
+
:return_type => 'PageAuditLog')
|
|
1190
|
+
if @api_client.config.debugging
|
|
1191
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_audit_log_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1192
|
+
end
|
|
1193
|
+
return data, status_code, headers
|
|
1194
|
+
end
|
|
1195
|
+
# Retrieve a audit log
|
|
1196
|
+
# Retrieve the information for a audit log.
|
|
1197
|
+
# @param audit_log_id UUID audit_log_id
|
|
1198
|
+
# @param [Hash] opts the optional parameters
|
|
1199
|
+
# @return [AuditLog]
|
|
1200
|
+
def get_audit_log_using_get(audit_log_id, opts = {})
|
|
1201
|
+
data, _status_code, _headers = get_audit_log_using_get_with_http_info(audit_log_id, opts)
|
|
1202
|
+
data
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
# Retrieve a audit log
|
|
1206
|
+
# Retrieve the information for a audit log.
|
|
1207
|
+
# @param audit_log_id UUID audit_log_id
|
|
1208
|
+
# @param [Hash] opts the optional parameters
|
|
1209
|
+
# @return [Array<(AuditLog, Fixnum, Hash)>] AuditLog data, response status code and response headers
|
|
1210
|
+
def get_audit_log_using_get_with_http_info(audit_log_id, opts = {})
|
|
1211
|
+
if @api_client.config.debugging
|
|
1212
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_audit_log_using_get ...'
|
|
1213
|
+
end
|
|
1214
|
+
# verify the required parameter 'audit_log_id' is set
|
|
1215
|
+
if @api_client.config.client_side_validation && audit_log_id.nil?
|
|
1216
|
+
fail ArgumentError, "Missing the required parameter 'audit_log_id' when calling UtilsApi.get_audit_log_using_get"
|
|
1217
|
+
end
|
|
1218
|
+
# resource path
|
|
1219
|
+
local_var_path = '/nucleus/v1/audit_log/{audit_log_id}'.sub('{' + 'audit_log_id' + '}', audit_log_id.to_s)
|
|
1220
|
+
|
|
1221
|
+
# query parameters
|
|
1222
|
+
query_params = {}
|
|
1223
|
+
|
|
1224
|
+
# header parameters
|
|
1225
|
+
header_params = {}
|
|
1226
|
+
# HTTP header 'Accept' (if needed)
|
|
1227
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1228
|
+
|
|
1229
|
+
# form parameters
|
|
1230
|
+
form_params = {}
|
|
1231
|
+
|
|
1232
|
+
# http body (model)
|
|
1233
|
+
post_body = nil
|
|
1234
|
+
auth_names = ['oauth2']
|
|
1235
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1236
|
+
:header_params => header_params,
|
|
1237
|
+
:query_params => query_params,
|
|
1238
|
+
:form_params => form_params,
|
|
1239
|
+
:body => post_body,
|
|
1240
|
+
:auth_names => auth_names,
|
|
1241
|
+
:return_type => 'AuditLog')
|
|
1242
|
+
if @api_client.config.debugging
|
|
1243
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_audit_log_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1244
|
+
end
|
|
1245
|
+
return data, status_code, headers
|
|
1246
|
+
end
|
|
1247
|
+
# List all Feature
|
|
1248
|
+
# Get details for all features.
|
|
1249
|
+
# @param [Hash] opts the optional parameters
|
|
1250
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1251
|
+
# @option opts [String] :filter filter
|
|
1252
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1253
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1254
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1255
|
+
# @return [PageFeature]
|
|
1256
|
+
def get_feature_all_using_get(opts = {})
|
|
1257
|
+
data, _status_code, _headers = get_feature_all_using_get_with_http_info(opts)
|
|
1258
|
+
data
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1261
|
+
# List all Feature
|
|
1262
|
+
# Get details for all features.
|
|
1263
|
+
# @param [Hash] opts the optional parameters
|
|
1264
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1265
|
+
# @option opts [String] :filter filter
|
|
1266
|
+
# @option opts [String] :order_by order_by
|
|
1267
|
+
# @option opts [Integer] :page page
|
|
1268
|
+
# @option opts [Integer] :size size
|
|
1269
|
+
# @return [Array<(PageFeature, Fixnum, Hash)>] PageFeature data, response status code and response headers
|
|
1270
|
+
def get_feature_all_using_get_with_http_info(opts = {})
|
|
1271
|
+
if @api_client.config.debugging
|
|
1272
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_feature_all_using_get ...'
|
|
1273
|
+
end
|
|
1274
|
+
# resource path
|
|
1275
|
+
local_var_path = '/nucleus/v1/feature'
|
|
1276
|
+
|
|
1277
|
+
# query parameters
|
|
1278
|
+
query_params = {}
|
|
1279
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1280
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1281
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1282
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1283
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1284
|
+
|
|
1285
|
+
# header parameters
|
|
1286
|
+
header_params = {}
|
|
1287
|
+
# HTTP header 'Accept' (if needed)
|
|
1288
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1289
|
+
|
|
1290
|
+
# form parameters
|
|
1291
|
+
form_params = {}
|
|
1292
|
+
|
|
1293
|
+
# http body (model)
|
|
1294
|
+
post_body = nil
|
|
1295
|
+
auth_names = ['oauth2']
|
|
1296
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1297
|
+
:header_params => header_params,
|
|
1298
|
+
:query_params => query_params,
|
|
1299
|
+
:form_params => form_params,
|
|
1300
|
+
:body => post_body,
|
|
1301
|
+
:auth_names => auth_names,
|
|
1302
|
+
:return_type => 'PageFeature')
|
|
1303
|
+
if @api_client.config.debugging
|
|
1304
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_feature_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1305
|
+
end
|
|
1306
|
+
return data, status_code, headers
|
|
1307
|
+
end
|
|
1308
|
+
# List all Feature track
|
|
1309
|
+
# Get details for all feature track.
|
|
1310
|
+
# @param [Hash] opts the optional parameters
|
|
1311
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1312
|
+
# @option opts [String] :filter filter
|
|
1313
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1314
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1315
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1316
|
+
# @return [PageFeatureTrack]
|
|
1317
|
+
def get_feature_track_all_using_get(opts = {})
|
|
1318
|
+
data, _status_code, _headers = get_feature_track_all_using_get_with_http_info(opts)
|
|
1319
|
+
data
|
|
1320
|
+
end
|
|
1321
|
+
|
|
1322
|
+
# List all Feature track
|
|
1323
|
+
# Get details for all feature track.
|
|
1324
|
+
# @param [Hash] opts the optional parameters
|
|
1325
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1326
|
+
# @option opts [String] :filter filter
|
|
1327
|
+
# @option opts [String] :order_by order_by
|
|
1328
|
+
# @option opts [Integer] :page page
|
|
1329
|
+
# @option opts [Integer] :size size
|
|
1330
|
+
# @return [Array<(PageFeatureTrack, Fixnum, Hash)>] PageFeatureTrack data, response status code and response headers
|
|
1331
|
+
def get_feature_track_all_using_get_with_http_info(opts = {})
|
|
1332
|
+
if @api_client.config.debugging
|
|
1333
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_feature_track_all_using_get ...'
|
|
1334
|
+
end
|
|
1335
|
+
# resource path
|
|
1336
|
+
local_var_path = '/nucleus/v1/feature_track'
|
|
1337
|
+
|
|
1338
|
+
# query parameters
|
|
1339
|
+
query_params = {}
|
|
1340
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1341
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1342
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1343
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1344
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1345
|
+
|
|
1346
|
+
# header parameters
|
|
1347
|
+
header_params = {}
|
|
1348
|
+
# HTTP header 'Accept' (if needed)
|
|
1349
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1350
|
+
|
|
1351
|
+
# form parameters
|
|
1352
|
+
form_params = {}
|
|
1353
|
+
|
|
1354
|
+
# http body (model)
|
|
1355
|
+
post_body = nil
|
|
1356
|
+
auth_names = ['oauth2']
|
|
1357
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1358
|
+
:header_params => header_params,
|
|
1359
|
+
:query_params => query_params,
|
|
1360
|
+
:form_params => form_params,
|
|
1361
|
+
:body => post_body,
|
|
1362
|
+
:auth_names => auth_names,
|
|
1363
|
+
:return_type => 'PageFeatureTrack')
|
|
1364
|
+
if @api_client.config.debugging
|
|
1365
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_feature_track_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1366
|
+
end
|
|
1367
|
+
return data, status_code, headers
|
|
1368
|
+
end
|
|
1369
|
+
# Retrieve a Feature track
|
|
1370
|
+
# Retrieve the information for a Feature track.
|
|
1371
|
+
# @param feature_track_id UUID feature_track_id
|
|
1372
|
+
# @param [Hash] opts the optional parameters
|
|
1373
|
+
# @return [FeatureTrack]
|
|
1374
|
+
def get_feature_track_using_get(feature_track_id, opts = {})
|
|
1375
|
+
data, _status_code, _headers = get_feature_track_using_get_with_http_info(feature_track_id, opts)
|
|
1376
|
+
data
|
|
1377
|
+
end
|
|
1378
|
+
|
|
1379
|
+
# Retrieve a Feature track
|
|
1380
|
+
# Retrieve the information for a Feature track.
|
|
1381
|
+
# @param feature_track_id UUID feature_track_id
|
|
1382
|
+
# @param [Hash] opts the optional parameters
|
|
1383
|
+
# @return [Array<(FeatureTrack, Fixnum, Hash)>] FeatureTrack data, response status code and response headers
|
|
1384
|
+
def get_feature_track_using_get_with_http_info(feature_track_id, opts = {})
|
|
1385
|
+
if @api_client.config.debugging
|
|
1386
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_feature_track_using_get ...'
|
|
1387
|
+
end
|
|
1388
|
+
# verify the required parameter 'feature_track_id' is set
|
|
1389
|
+
if @api_client.config.client_side_validation && feature_track_id.nil?
|
|
1390
|
+
fail ArgumentError, "Missing the required parameter 'feature_track_id' when calling UtilsApi.get_feature_track_using_get"
|
|
1391
|
+
end
|
|
1392
|
+
# resource path
|
|
1393
|
+
local_var_path = '/nucleus/v1/feature_track/{feature_track_id}'.sub('{' + 'feature_track_id' + '}', feature_track_id.to_s)
|
|
1394
|
+
|
|
1395
|
+
# query parameters
|
|
1396
|
+
query_params = {}
|
|
1397
|
+
|
|
1398
|
+
# header parameters
|
|
1399
|
+
header_params = {}
|
|
1400
|
+
# HTTP header 'Accept' (if needed)
|
|
1401
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1402
|
+
|
|
1403
|
+
# form parameters
|
|
1404
|
+
form_params = {}
|
|
1405
|
+
|
|
1406
|
+
# http body (model)
|
|
1407
|
+
post_body = nil
|
|
1408
|
+
auth_names = ['oauth2']
|
|
1409
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1410
|
+
:header_params => header_params,
|
|
1411
|
+
:query_params => query_params,
|
|
1412
|
+
:form_params => form_params,
|
|
1413
|
+
:body => post_body,
|
|
1414
|
+
:auth_names => auth_names,
|
|
1415
|
+
:return_type => 'FeatureTrack')
|
|
1416
|
+
if @api_client.config.debugging
|
|
1417
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_feature_track_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1418
|
+
end
|
|
1419
|
+
return data, status_code, headers
|
|
1420
|
+
end
|
|
1421
|
+
# Retrieve a Feature
|
|
1422
|
+
# Retrieve the information for a Feature.
|
|
1423
|
+
# @param feature_id UUID feature_id
|
|
1424
|
+
# @param [Hash] opts the optional parameters
|
|
1425
|
+
# @return [Feature]
|
|
1426
|
+
def get_feature_using_get(feature_id, opts = {})
|
|
1427
|
+
data, _status_code, _headers = get_feature_using_get_with_http_info(feature_id, opts)
|
|
1428
|
+
data
|
|
1429
|
+
end
|
|
1430
|
+
|
|
1431
|
+
# Retrieve a Feature
|
|
1432
|
+
# Retrieve the information for a Feature.
|
|
1433
|
+
# @param feature_id UUID feature_id
|
|
1434
|
+
# @param [Hash] opts the optional parameters
|
|
1435
|
+
# @return [Array<(Feature, Fixnum, Hash)>] Feature data, response status code and response headers
|
|
1436
|
+
def get_feature_using_get_with_http_info(feature_id, opts = {})
|
|
1437
|
+
if @api_client.config.debugging
|
|
1438
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_feature_using_get ...'
|
|
1439
|
+
end
|
|
1440
|
+
# verify the required parameter 'feature_id' is set
|
|
1441
|
+
if @api_client.config.client_side_validation && feature_id.nil?
|
|
1442
|
+
fail ArgumentError, "Missing the required parameter 'feature_id' when calling UtilsApi.get_feature_using_get"
|
|
1443
|
+
end
|
|
1444
|
+
# resource path
|
|
1445
|
+
local_var_path = '/nucleus/v1/feature/{feature_id}'.sub('{' + 'feature_id' + '}', feature_id.to_s)
|
|
1446
|
+
|
|
1447
|
+
# query parameters
|
|
1448
|
+
query_params = {}
|
|
1449
|
+
|
|
1450
|
+
# header parameters
|
|
1451
|
+
header_params = {}
|
|
1452
|
+
# HTTP header 'Accept' (if needed)
|
|
1453
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1454
|
+
|
|
1455
|
+
# form parameters
|
|
1456
|
+
form_params = {}
|
|
1457
|
+
|
|
1458
|
+
# http body (model)
|
|
1459
|
+
post_body = nil
|
|
1460
|
+
auth_names = ['oauth2']
|
|
1461
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1462
|
+
:header_params => header_params,
|
|
1463
|
+
:query_params => query_params,
|
|
1464
|
+
:form_params => form_params,
|
|
1465
|
+
:body => post_body,
|
|
1466
|
+
:auth_names => auth_names,
|
|
1467
|
+
:return_type => 'Feature')
|
|
1468
|
+
if @api_client.config.debugging
|
|
1469
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_feature_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1470
|
+
end
|
|
1471
|
+
return data, status_code, headers
|
|
1472
|
+
end
|
|
1473
|
+
# Get All Notifications
|
|
1474
|
+
# Get All Notification.
|
|
1475
|
+
# @param [Hash] opts the optional parameters
|
|
1476
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1477
|
+
# @option opts [String] :filter filter
|
|
1478
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1479
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1480
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1481
|
+
# @return [PageNotification]
|
|
1482
|
+
def get_notification_all_using_get(opts = {})
|
|
1483
|
+
data, _status_code, _headers = get_notification_all_using_get_with_http_info(opts)
|
|
1484
|
+
data
|
|
1485
|
+
end
|
|
1486
|
+
|
|
1487
|
+
# Get All Notifications
|
|
1488
|
+
# Get All Notification.
|
|
1489
|
+
# @param [Hash] opts the optional parameters
|
|
1490
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1491
|
+
# @option opts [String] :filter filter
|
|
1492
|
+
# @option opts [String] :order_by order_by
|
|
1493
|
+
# @option opts [Integer] :page page
|
|
1494
|
+
# @option opts [Integer] :size size
|
|
1495
|
+
# @return [Array<(PageNotification, Fixnum, Hash)>] PageNotification data, response status code and response headers
|
|
1496
|
+
def get_notification_all_using_get_with_http_info(opts = {})
|
|
1497
|
+
if @api_client.config.debugging
|
|
1498
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_notification_all_using_get ...'
|
|
1499
|
+
end
|
|
1500
|
+
# resource path
|
|
1501
|
+
local_var_path = '/nucleus/v1/notification'
|
|
1502
|
+
|
|
1503
|
+
# query parameters
|
|
1504
|
+
query_params = {}
|
|
1505
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1506
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1507
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1508
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1509
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1510
|
+
|
|
1511
|
+
# header parameters
|
|
1512
|
+
header_params = {}
|
|
1513
|
+
# HTTP header 'Accept' (if needed)
|
|
1514
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1515
|
+
|
|
1516
|
+
# form parameters
|
|
1517
|
+
form_params = {}
|
|
1518
|
+
|
|
1519
|
+
# http body (model)
|
|
1520
|
+
post_body = nil
|
|
1521
|
+
auth_names = ['oauth2']
|
|
1522
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1523
|
+
:header_params => header_params,
|
|
1524
|
+
:query_params => query_params,
|
|
1525
|
+
:form_params => form_params,
|
|
1526
|
+
:body => post_body,
|
|
1527
|
+
:auth_names => auth_names,
|
|
1528
|
+
:return_type => 'PageNotification')
|
|
1529
|
+
if @api_client.config.debugging
|
|
1530
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_notification_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1531
|
+
end
|
|
1532
|
+
return data, status_code, headers
|
|
1533
|
+
end
|
|
1534
|
+
# List all Notification Client
|
|
1535
|
+
# List all Notification Client.
|
|
1536
|
+
# @param [Hash] opts the optional parameters
|
|
1537
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1538
|
+
# @option opts [String] :filter filter
|
|
1539
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1540
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1541
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1542
|
+
# @return [PageNotificationClient]
|
|
1543
|
+
def get_notification_client_all_using_get(opts = {})
|
|
1544
|
+
data, _status_code, _headers = get_notification_client_all_using_get_with_http_info(opts)
|
|
1545
|
+
data
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1548
|
+
# List all Notification Client
|
|
1549
|
+
# List all Notification Client.
|
|
1550
|
+
# @param [Hash] opts the optional parameters
|
|
1551
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1552
|
+
# @option opts [String] :filter filter
|
|
1553
|
+
# @option opts [String] :order_by order_by
|
|
1554
|
+
# @option opts [Integer] :page page
|
|
1555
|
+
# @option opts [Integer] :size size
|
|
1556
|
+
# @return [Array<(PageNotificationClient, Fixnum, Hash)>] PageNotificationClient data, response status code and response headers
|
|
1557
|
+
def get_notification_client_all_using_get_with_http_info(opts = {})
|
|
1558
|
+
if @api_client.config.debugging
|
|
1559
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_notification_client_all_using_get ...'
|
|
1560
|
+
end
|
|
1561
|
+
# resource path
|
|
1562
|
+
local_var_path = '/nucleus/v1/notification_client'
|
|
1563
|
+
|
|
1564
|
+
# query parameters
|
|
1565
|
+
query_params = {}
|
|
1566
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1567
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1568
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1569
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1570
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1571
|
+
|
|
1572
|
+
# header parameters
|
|
1573
|
+
header_params = {}
|
|
1574
|
+
# HTTP header 'Accept' (if needed)
|
|
1575
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1576
|
+
|
|
1577
|
+
# form parameters
|
|
1578
|
+
form_params = {}
|
|
1579
|
+
|
|
1580
|
+
# http body (model)
|
|
1581
|
+
post_body = nil
|
|
1582
|
+
auth_names = ['oauth2']
|
|
1583
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1584
|
+
:header_params => header_params,
|
|
1585
|
+
:query_params => query_params,
|
|
1586
|
+
:form_params => form_params,
|
|
1587
|
+
:body => post_body,
|
|
1588
|
+
:auth_names => auth_names,
|
|
1589
|
+
:return_type => 'PageNotificationClient')
|
|
1590
|
+
if @api_client.config.debugging
|
|
1591
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_notification_client_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1592
|
+
end
|
|
1593
|
+
return data, status_code, headers
|
|
1594
|
+
end
|
|
1595
|
+
# Retrieve a Notification Client
|
|
1596
|
+
# Retrieve a Notification Client.
|
|
1597
|
+
# @param notification_client_id notification_client_id
|
|
1598
|
+
# @param [Hash] opts the optional parameters
|
|
1599
|
+
# @return [NotificationClient]
|
|
1600
|
+
def get_notification_client_using_get(notification_client_id, opts = {})
|
|
1601
|
+
data, _status_code, _headers = get_notification_client_using_get_with_http_info(notification_client_id, opts)
|
|
1602
|
+
data
|
|
1603
|
+
end
|
|
1604
|
+
|
|
1605
|
+
# Retrieve a Notification Client
|
|
1606
|
+
# Retrieve a Notification Client.
|
|
1607
|
+
# @param notification_client_id notification_client_id
|
|
1608
|
+
# @param [Hash] opts the optional parameters
|
|
1609
|
+
# @return [Array<(NotificationClient, Fixnum, Hash)>] NotificationClient data, response status code and response headers
|
|
1610
|
+
def get_notification_client_using_get_with_http_info(notification_client_id, opts = {})
|
|
1611
|
+
if @api_client.config.debugging
|
|
1612
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_notification_client_using_get ...'
|
|
1613
|
+
end
|
|
1614
|
+
# verify the required parameter 'notification_client_id' is set
|
|
1615
|
+
if @api_client.config.client_side_validation && notification_client_id.nil?
|
|
1616
|
+
fail ArgumentError, "Missing the required parameter 'notification_client_id' when calling UtilsApi.get_notification_client_using_get"
|
|
1617
|
+
end
|
|
1618
|
+
# resource path
|
|
1619
|
+
local_var_path = '/nucleus/v1/notification_client/{notification_client_id}'.sub('{' + 'notification_client_id' + '}', notification_client_id.to_s)
|
|
1620
|
+
|
|
1621
|
+
# query parameters
|
|
1622
|
+
query_params = {}
|
|
1623
|
+
|
|
1624
|
+
# header parameters
|
|
1625
|
+
header_params = {}
|
|
1626
|
+
# HTTP header 'Accept' (if needed)
|
|
1627
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1628
|
+
|
|
1629
|
+
# form parameters
|
|
1630
|
+
form_params = {}
|
|
1631
|
+
|
|
1632
|
+
# http body (model)
|
|
1633
|
+
post_body = nil
|
|
1634
|
+
auth_names = ['oauth2']
|
|
1635
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1636
|
+
:header_params => header_params,
|
|
1637
|
+
:query_params => query_params,
|
|
1638
|
+
:form_params => form_params,
|
|
1639
|
+
:body => post_body,
|
|
1640
|
+
:auth_names => auth_names,
|
|
1641
|
+
:return_type => 'NotificationClient')
|
|
1642
|
+
if @api_client.config.debugging
|
|
1643
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_notification_client_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1644
|
+
end
|
|
1645
|
+
return data, status_code, headers
|
|
1646
|
+
end
|
|
1647
|
+
# List all Notification Setting
|
|
1648
|
+
# List all Notification Setting.
|
|
1649
|
+
# @param [Hash] opts the optional parameters
|
|
1650
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1651
|
+
# @option opts [String] :filter filter
|
|
1652
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1653
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1654
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1655
|
+
# @return [PageNotificationSetting]
|
|
1656
|
+
def get_notification_setting_all_using_get(opts = {})
|
|
1657
|
+
data, _status_code, _headers = get_notification_setting_all_using_get_with_http_info(opts)
|
|
1658
|
+
data
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1661
|
+
# List all Notification Setting
|
|
1662
|
+
# List all Notification Setting.
|
|
1663
|
+
# @param [Hash] opts the optional parameters
|
|
1664
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1665
|
+
# @option opts [String] :filter filter
|
|
1666
|
+
# @option opts [String] :order_by order_by
|
|
1667
|
+
# @option opts [Integer] :page page
|
|
1668
|
+
# @option opts [Integer] :size size
|
|
1669
|
+
# @return [Array<(PageNotificationSetting, Fixnum, Hash)>] PageNotificationSetting data, response status code and response headers
|
|
1670
|
+
def get_notification_setting_all_using_get_with_http_info(opts = {})
|
|
1671
|
+
if @api_client.config.debugging
|
|
1672
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_notification_setting_all_using_get ...'
|
|
1673
|
+
end
|
|
1674
|
+
# resource path
|
|
1675
|
+
local_var_path = '/nucleus/v1/notification_setting'
|
|
1676
|
+
|
|
1677
|
+
# query parameters
|
|
1678
|
+
query_params = {}
|
|
1679
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1680
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1681
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1682
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1683
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1684
|
+
|
|
1685
|
+
# header parameters
|
|
1686
|
+
header_params = {}
|
|
1687
|
+
# HTTP header 'Accept' (if needed)
|
|
1688
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1689
|
+
|
|
1690
|
+
# form parameters
|
|
1691
|
+
form_params = {}
|
|
1692
|
+
|
|
1693
|
+
# http body (model)
|
|
1694
|
+
post_body = nil
|
|
1695
|
+
auth_names = ['oauth2']
|
|
1696
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1697
|
+
:header_params => header_params,
|
|
1698
|
+
:query_params => query_params,
|
|
1699
|
+
:form_params => form_params,
|
|
1700
|
+
:body => post_body,
|
|
1701
|
+
:auth_names => auth_names,
|
|
1702
|
+
:return_type => 'PageNotificationSetting')
|
|
1703
|
+
if @api_client.config.debugging
|
|
1704
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_notification_setting_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1705
|
+
end
|
|
1706
|
+
return data, status_code, headers
|
|
1707
|
+
end
|
|
1708
|
+
# Retrieve a Notification Setting
|
|
1709
|
+
# Retrieve a Notification Setting.
|
|
1710
|
+
# @param notification_setting_id notification_setting_id
|
|
1711
|
+
# @param [Hash] opts the optional parameters
|
|
1712
|
+
# @return [NotificationSetting]
|
|
1713
|
+
def get_notification_setting_using_get(notification_setting_id, opts = {})
|
|
1714
|
+
data, _status_code, _headers = get_notification_setting_using_get_with_http_info(notification_setting_id, opts)
|
|
1715
|
+
data
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# Retrieve a Notification Setting
|
|
1719
|
+
# Retrieve a Notification Setting.
|
|
1720
|
+
# @param notification_setting_id notification_setting_id
|
|
1721
|
+
# @param [Hash] opts the optional parameters
|
|
1722
|
+
# @return [Array<(NotificationSetting, Fixnum, Hash)>] NotificationSetting data, response status code and response headers
|
|
1723
|
+
def get_notification_setting_using_get_with_http_info(notification_setting_id, opts = {})
|
|
1724
|
+
if @api_client.config.debugging
|
|
1725
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_notification_setting_using_get ...'
|
|
1726
|
+
end
|
|
1727
|
+
# verify the required parameter 'notification_setting_id' is set
|
|
1728
|
+
if @api_client.config.client_side_validation && notification_setting_id.nil?
|
|
1729
|
+
fail ArgumentError, "Missing the required parameter 'notification_setting_id' when calling UtilsApi.get_notification_setting_using_get"
|
|
1730
|
+
end
|
|
1731
|
+
# resource path
|
|
1732
|
+
local_var_path = '/nucleus/v1/notification_setting/{notification_setting_id}'.sub('{' + 'notification_setting_id' + '}', notification_setting_id.to_s)
|
|
1733
|
+
|
|
1734
|
+
# query parameters
|
|
1735
|
+
query_params = {}
|
|
1736
|
+
|
|
1737
|
+
# header parameters
|
|
1738
|
+
header_params = {}
|
|
1739
|
+
# HTTP header 'Accept' (if needed)
|
|
1740
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1741
|
+
|
|
1742
|
+
# form parameters
|
|
1743
|
+
form_params = {}
|
|
1744
|
+
|
|
1745
|
+
# http body (model)
|
|
1746
|
+
post_body = nil
|
|
1747
|
+
auth_names = ['oauth2']
|
|
1748
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1749
|
+
:header_params => header_params,
|
|
1750
|
+
:query_params => query_params,
|
|
1751
|
+
:form_params => form_params,
|
|
1752
|
+
:body => post_body,
|
|
1753
|
+
:auth_names => auth_names,
|
|
1754
|
+
:return_type => 'NotificationSetting')
|
|
1755
|
+
if @api_client.config.debugging
|
|
1756
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_notification_setting_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1757
|
+
end
|
|
1758
|
+
return data, status_code, headers
|
|
1759
|
+
end
|
|
1760
|
+
# Get a Notification
|
|
1761
|
+
# Get a Notification.
|
|
1762
|
+
# @param notification_id notification_id
|
|
1763
|
+
# @param [Hash] opts the optional parameters
|
|
1764
|
+
# @return [Notification]
|
|
1765
|
+
def get_notification_using_get(notification_id, opts = {})
|
|
1766
|
+
data, _status_code, _headers = get_notification_using_get_with_http_info(notification_id, opts)
|
|
1767
|
+
data
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
# Get a Notification
|
|
1771
|
+
# Get a Notification.
|
|
1772
|
+
# @param notification_id notification_id
|
|
1773
|
+
# @param [Hash] opts the optional parameters
|
|
1774
|
+
# @return [Array<(Notification, Fixnum, Hash)>] Notification data, response status code and response headers
|
|
1775
|
+
def get_notification_using_get_with_http_info(notification_id, opts = {})
|
|
1776
|
+
if @api_client.config.debugging
|
|
1777
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_notification_using_get ...'
|
|
1778
|
+
end
|
|
1779
|
+
# verify the required parameter 'notification_id' is set
|
|
1780
|
+
if @api_client.config.client_side_validation && notification_id.nil?
|
|
1781
|
+
fail ArgumentError, "Missing the required parameter 'notification_id' when calling UtilsApi.get_notification_using_get"
|
|
1782
|
+
end
|
|
1783
|
+
# resource path
|
|
1784
|
+
local_var_path = '/nucleus/v1/notification/{notification_id}'.sub('{' + 'notification_id' + '}', notification_id.to_s)
|
|
1785
|
+
|
|
1786
|
+
# query parameters
|
|
1787
|
+
query_params = {}
|
|
1788
|
+
|
|
1789
|
+
# header parameters
|
|
1790
|
+
header_params = {}
|
|
1791
|
+
# HTTP header 'Accept' (if needed)
|
|
1792
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1793
|
+
|
|
1794
|
+
# form parameters
|
|
1795
|
+
form_params = {}
|
|
1796
|
+
|
|
1797
|
+
# http body (model)
|
|
1798
|
+
post_body = nil
|
|
1799
|
+
auth_names = ['oauth2']
|
|
1800
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1801
|
+
:header_params => header_params,
|
|
1802
|
+
:query_params => query_params,
|
|
1803
|
+
:form_params => form_params,
|
|
1804
|
+
:body => post_body,
|
|
1805
|
+
:auth_names => auth_names,
|
|
1806
|
+
:return_type => 'Notification')
|
|
1807
|
+
if @api_client.config.debugging
|
|
1808
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_notification_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1809
|
+
end
|
|
1810
|
+
return data, status_code, headers
|
|
1811
|
+
end
|
|
1812
|
+
# List all reason codes
|
|
1813
|
+
# Get the information for all reason codes defined by your firm.
|
|
1814
|
+
# @param [Hash] opts the optional parameters
|
|
1815
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1816
|
+
# @option opts [String] :filter filter
|
|
1817
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1818
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1819
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1820
|
+
# @return [PageReasonCode]
|
|
1821
|
+
def get_reason_code_all_using_get(opts = {})
|
|
1822
|
+
data, _status_code, _headers = get_reason_code_all_using_get_with_http_info(opts)
|
|
1823
|
+
data
|
|
1824
|
+
end
|
|
1825
|
+
|
|
1826
|
+
# List all reason codes
|
|
1827
|
+
# Get the information for all reason codes defined by your firm.
|
|
1828
|
+
# @param [Hash] opts the optional parameters
|
|
1829
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1830
|
+
# @option opts [String] :filter filter
|
|
1831
|
+
# @option opts [String] :order_by order_by
|
|
1832
|
+
# @option opts [Integer] :page page
|
|
1833
|
+
# @option opts [Integer] :size size
|
|
1834
|
+
# @return [Array<(PageReasonCode, Fixnum, Hash)>] PageReasonCode data, response status code and response headers
|
|
1835
|
+
def get_reason_code_all_using_get_with_http_info(opts = {})
|
|
1836
|
+
if @api_client.config.debugging
|
|
1837
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_reason_code_all_using_get ...'
|
|
1838
|
+
end
|
|
1839
|
+
# resource path
|
|
1840
|
+
local_var_path = '/nucleus/v1/reason_code'
|
|
1841
|
+
|
|
1842
|
+
# query parameters
|
|
1843
|
+
query_params = {}
|
|
1844
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1845
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1846
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1847
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1848
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1849
|
+
|
|
1850
|
+
# header parameters
|
|
1851
|
+
header_params = {}
|
|
1852
|
+
# HTTP header 'Accept' (if needed)
|
|
1853
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1854
|
+
|
|
1855
|
+
# form parameters
|
|
1856
|
+
form_params = {}
|
|
1857
|
+
|
|
1858
|
+
# http body (model)
|
|
1859
|
+
post_body = nil
|
|
1860
|
+
auth_names = ['oauth2']
|
|
1861
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1862
|
+
:header_params => header_params,
|
|
1863
|
+
:query_params => query_params,
|
|
1864
|
+
:form_params => form_params,
|
|
1865
|
+
:body => post_body,
|
|
1866
|
+
:auth_names => auth_names,
|
|
1867
|
+
:return_type => 'PageReasonCode')
|
|
1868
|
+
if @api_client.config.debugging
|
|
1869
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_reason_code_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1870
|
+
end
|
|
1871
|
+
return data, status_code, headers
|
|
1872
|
+
end
|
|
1873
|
+
# Retrieve a reason code
|
|
1874
|
+
# Retrieve the information for a reason code defined by your firm.
|
|
1875
|
+
# @param reason_code_id UUID reason_code_id
|
|
1876
|
+
# @param [Hash] opts the optional parameters
|
|
1877
|
+
# @return [ReasonCode]
|
|
1878
|
+
def get_reason_code_using_get(reason_code_id, opts = {})
|
|
1879
|
+
data, _status_code, _headers = get_reason_code_using_get_with_http_info(reason_code_id, opts)
|
|
1880
|
+
data
|
|
1881
|
+
end
|
|
1882
|
+
|
|
1883
|
+
# Retrieve a reason code
|
|
1884
|
+
# Retrieve the information for a reason code defined by your firm.
|
|
1885
|
+
# @param reason_code_id UUID reason_code_id
|
|
1886
|
+
# @param [Hash] opts the optional parameters
|
|
1887
|
+
# @return [Array<(ReasonCode, Fixnum, Hash)>] ReasonCode data, response status code and response headers
|
|
1888
|
+
def get_reason_code_using_get_with_http_info(reason_code_id, opts = {})
|
|
1889
|
+
if @api_client.config.debugging
|
|
1890
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_reason_code_using_get ...'
|
|
1891
|
+
end
|
|
1892
|
+
# verify the required parameter 'reason_code_id' is set
|
|
1893
|
+
if @api_client.config.client_side_validation && reason_code_id.nil?
|
|
1894
|
+
fail ArgumentError, "Missing the required parameter 'reason_code_id' when calling UtilsApi.get_reason_code_using_get"
|
|
1895
|
+
end
|
|
1896
|
+
# resource path
|
|
1897
|
+
local_var_path = '/nucleus/v1/reason_code/{reason_code_id}'.sub('{' + 'reason_code_id' + '}', reason_code_id.to_s)
|
|
1898
|
+
|
|
1899
|
+
# query parameters
|
|
1900
|
+
query_params = {}
|
|
1901
|
+
|
|
1902
|
+
# header parameters
|
|
1903
|
+
header_params = {}
|
|
1904
|
+
# HTTP header 'Accept' (if needed)
|
|
1905
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1906
|
+
|
|
1907
|
+
# form parameters
|
|
1908
|
+
form_params = {}
|
|
1909
|
+
|
|
1910
|
+
# http body (model)
|
|
1911
|
+
post_body = nil
|
|
1912
|
+
auth_names = ['oauth2']
|
|
1913
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1914
|
+
:header_params => header_params,
|
|
1915
|
+
:query_params => query_params,
|
|
1916
|
+
:form_params => form_params,
|
|
1917
|
+
:body => post_body,
|
|
1918
|
+
:auth_names => auth_names,
|
|
1919
|
+
:return_type => 'ReasonCode')
|
|
1920
|
+
if @api_client.config.debugging
|
|
1921
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_reason_code_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1922
|
+
end
|
|
1923
|
+
return data, status_code, headers
|
|
1924
|
+
end
|
|
1925
|
+
# List all account stages
|
|
1926
|
+
# Get the information for all possible account stages.
|
|
1927
|
+
# @param [Hash] opts the optional parameters
|
|
1928
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1929
|
+
# @option opts [String] :filter filter
|
|
1930
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1931
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1932
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1933
|
+
# @return [PageStage]
|
|
1934
|
+
def get_stage_all_using_get(opts = {})
|
|
1935
|
+
data, _status_code, _headers = get_stage_all_using_get_with_http_info(opts)
|
|
1936
|
+
data
|
|
1937
|
+
end
|
|
1938
|
+
|
|
1939
|
+
# List all account stages
|
|
1940
|
+
# Get the information for all possible account stages.
|
|
1941
|
+
# @param [Hash] opts the optional parameters
|
|
1942
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1943
|
+
# @option opts [String] :filter filter
|
|
1944
|
+
# @option opts [String] :order_by order_by
|
|
1945
|
+
# @option opts [Integer] :page page
|
|
1946
|
+
# @option opts [Integer] :size size
|
|
1947
|
+
# @return [Array<(PageStage, Fixnum, Hash)>] PageStage data, response status code and response headers
|
|
1948
|
+
def get_stage_all_using_get_with_http_info(opts = {})
|
|
1949
|
+
if @api_client.config.debugging
|
|
1950
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_stage_all_using_get ...'
|
|
1951
|
+
end
|
|
1952
|
+
# resource path
|
|
1953
|
+
local_var_path = '/nucleus/v1/stage'
|
|
1954
|
+
|
|
1955
|
+
# query parameters
|
|
1956
|
+
query_params = {}
|
|
1957
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1958
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1959
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1960
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1961
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1962
|
+
|
|
1963
|
+
# header parameters
|
|
1964
|
+
header_params = {}
|
|
1965
|
+
# HTTP header 'Accept' (if needed)
|
|
1966
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1967
|
+
|
|
1968
|
+
# form parameters
|
|
1969
|
+
form_params = {}
|
|
1970
|
+
|
|
1971
|
+
# http body (model)
|
|
1972
|
+
post_body = nil
|
|
1973
|
+
auth_names = ['oauth2']
|
|
1974
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1975
|
+
:header_params => header_params,
|
|
1976
|
+
:query_params => query_params,
|
|
1977
|
+
:form_params => form_params,
|
|
1978
|
+
:body => post_body,
|
|
1979
|
+
:auth_names => auth_names,
|
|
1980
|
+
:return_type => 'PageStage')
|
|
1981
|
+
if @api_client.config.debugging
|
|
1982
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_stage_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1983
|
+
end
|
|
1984
|
+
return data, status_code, headers
|
|
1985
|
+
end
|
|
1986
|
+
# Retrieve an account stage
|
|
1987
|
+
# Retrieve the information for a specific account stage.
|
|
1988
|
+
# @param stage_id UUID stage_id
|
|
1989
|
+
# @param [Hash] opts the optional parameters
|
|
1990
|
+
# @return [Stage]
|
|
1991
|
+
def get_stage_using_get(stage_id, opts = {})
|
|
1992
|
+
data, _status_code, _headers = get_stage_using_get_with_http_info(stage_id, opts)
|
|
1993
|
+
data
|
|
1994
|
+
end
|
|
1995
|
+
|
|
1996
|
+
# Retrieve an account stage
|
|
1997
|
+
# Retrieve the information for a specific account stage.
|
|
1998
|
+
# @param stage_id UUID stage_id
|
|
1999
|
+
# @param [Hash] opts the optional parameters
|
|
2000
|
+
# @return [Array<(Stage, Fixnum, Hash)>] Stage data, response status code and response headers
|
|
2001
|
+
def get_stage_using_get_with_http_info(stage_id, opts = {})
|
|
2002
|
+
if @api_client.config.debugging
|
|
2003
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_stage_using_get ...'
|
|
2004
|
+
end
|
|
2005
|
+
# verify the required parameter 'stage_id' is set
|
|
2006
|
+
if @api_client.config.client_side_validation && stage_id.nil?
|
|
2007
|
+
fail ArgumentError, "Missing the required parameter 'stage_id' when calling UtilsApi.get_stage_using_get"
|
|
2008
|
+
end
|
|
2009
|
+
# resource path
|
|
2010
|
+
local_var_path = '/nucleus/v1/stage/{stage_id}'.sub('{' + 'stage_id' + '}', stage_id.to_s)
|
|
2011
|
+
|
|
2012
|
+
# query parameters
|
|
2013
|
+
query_params = {}
|
|
2014
|
+
|
|
2015
|
+
# header parameters
|
|
2016
|
+
header_params = {}
|
|
2017
|
+
# HTTP header 'Accept' (if needed)
|
|
2018
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2019
|
+
|
|
2020
|
+
# form parameters
|
|
2021
|
+
form_params = {}
|
|
2022
|
+
|
|
2023
|
+
# http body (model)
|
|
2024
|
+
post_body = nil
|
|
2025
|
+
auth_names = ['oauth2']
|
|
2026
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2027
|
+
:header_params => header_params,
|
|
2028
|
+
:query_params => query_params,
|
|
2029
|
+
:form_params => form_params,
|
|
2030
|
+
:body => post_body,
|
|
2031
|
+
:auth_names => auth_names,
|
|
2032
|
+
:return_type => 'Stage')
|
|
2033
|
+
if @api_client.config.debugging
|
|
2034
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_stage_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2035
|
+
end
|
|
2036
|
+
return data, status_code, headers
|
|
2037
|
+
end
|
|
2038
|
+
# List all transaction codes
|
|
2039
|
+
# Get the information for all transaction codes defined by your firm.
|
|
2040
|
+
# @param [Hash] opts the optional parameters
|
|
2041
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
2042
|
+
# @option opts [String] :filter filter
|
|
2043
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
2044
|
+
# @option opts [Integer] :page page (default to 0)
|
|
2045
|
+
# @option opts [Integer] :size size (default to 25)
|
|
2046
|
+
# @return [PageTransactionCode]
|
|
2047
|
+
def get_transaction_code_all_using_get(opts = {})
|
|
2048
|
+
data, _status_code, _headers = get_transaction_code_all_using_get_with_http_info(opts)
|
|
2049
|
+
data
|
|
2050
|
+
end
|
|
2051
|
+
|
|
2052
|
+
# List all transaction codes
|
|
2053
|
+
# Get the information for all transaction codes defined by your firm.
|
|
2054
|
+
# @param [Hash] opts the optional parameters
|
|
2055
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
2056
|
+
# @option opts [String] :filter filter
|
|
2057
|
+
# @option opts [String] :order_by order_by
|
|
2058
|
+
# @option opts [Integer] :page page
|
|
2059
|
+
# @option opts [Integer] :size size
|
|
2060
|
+
# @return [Array<(PageTransactionCode, Fixnum, Hash)>] PageTransactionCode data, response status code and response headers
|
|
2061
|
+
def get_transaction_code_all_using_get_with_http_info(opts = {})
|
|
2062
|
+
if @api_client.config.debugging
|
|
2063
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_transaction_code_all_using_get ...'
|
|
2064
|
+
end
|
|
2065
|
+
# resource path
|
|
2066
|
+
local_var_path = '/nucleus/v1/transaction_code'
|
|
2067
|
+
|
|
2068
|
+
# query parameters
|
|
2069
|
+
query_params = {}
|
|
2070
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
2071
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
2072
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
2073
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
2074
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
2075
|
+
|
|
2076
|
+
# header parameters
|
|
2077
|
+
header_params = {}
|
|
2078
|
+
# HTTP header 'Accept' (if needed)
|
|
2079
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2080
|
+
|
|
2081
|
+
# form parameters
|
|
2082
|
+
form_params = {}
|
|
2083
|
+
|
|
2084
|
+
# http body (model)
|
|
2085
|
+
post_body = nil
|
|
2086
|
+
auth_names = ['oauth2']
|
|
2087
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2088
|
+
:header_params => header_params,
|
|
2089
|
+
:query_params => query_params,
|
|
2090
|
+
:form_params => form_params,
|
|
2091
|
+
:body => post_body,
|
|
2092
|
+
:auth_names => auth_names,
|
|
2093
|
+
:return_type => 'PageTransactionCode')
|
|
2094
|
+
if @api_client.config.debugging
|
|
2095
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_transaction_code_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2096
|
+
end
|
|
2097
|
+
return data, status_code, headers
|
|
2098
|
+
end
|
|
2099
|
+
# Retrieve a transaction code
|
|
2100
|
+
# Retrieve the information for a transaction code defined by your firm.
|
|
2101
|
+
# @param transaction_code_id UUID transaction_code_id
|
|
2102
|
+
# @param [Hash] opts the optional parameters
|
|
2103
|
+
# @return [TransactionCode]
|
|
2104
|
+
def get_transaction_code_using_get(transaction_code_id, opts = {})
|
|
2105
|
+
data, _status_code, _headers = get_transaction_code_using_get_with_http_info(transaction_code_id, opts)
|
|
2106
|
+
data
|
|
2107
|
+
end
|
|
2108
|
+
|
|
2109
|
+
# Retrieve a transaction code
|
|
2110
|
+
# Retrieve the information for a transaction code defined by your firm.
|
|
2111
|
+
# @param transaction_code_id UUID transaction_code_id
|
|
2112
|
+
# @param [Hash] opts the optional parameters
|
|
2113
|
+
# @return [Array<(TransactionCode, Fixnum, Hash)>] TransactionCode data, response status code and response headers
|
|
2114
|
+
def get_transaction_code_using_get_with_http_info(transaction_code_id, opts = {})
|
|
2115
|
+
if @api_client.config.debugging
|
|
2116
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.get_transaction_code_using_get ...'
|
|
2117
|
+
end
|
|
2118
|
+
# verify the required parameter 'transaction_code_id' is set
|
|
2119
|
+
if @api_client.config.client_side_validation && transaction_code_id.nil?
|
|
2120
|
+
fail ArgumentError, "Missing the required parameter 'transaction_code_id' when calling UtilsApi.get_transaction_code_using_get"
|
|
2121
|
+
end
|
|
2122
|
+
# resource path
|
|
2123
|
+
local_var_path = '/nucleus/v1/transaction_code/{transaction_code_id}'.sub('{' + 'transaction_code_id' + '}', transaction_code_id.to_s)
|
|
2124
|
+
|
|
2125
|
+
# query parameters
|
|
2126
|
+
query_params = {}
|
|
2127
|
+
|
|
2128
|
+
# header parameters
|
|
2129
|
+
header_params = {}
|
|
2130
|
+
# HTTP header 'Accept' (if needed)
|
|
2131
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2132
|
+
|
|
2133
|
+
# form parameters
|
|
2134
|
+
form_params = {}
|
|
2135
|
+
|
|
2136
|
+
# http body (model)
|
|
2137
|
+
post_body = nil
|
|
2138
|
+
auth_names = ['oauth2']
|
|
2139
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2140
|
+
:header_params => header_params,
|
|
2141
|
+
:query_params => query_params,
|
|
2142
|
+
:form_params => form_params,
|
|
2143
|
+
:body => post_body,
|
|
2144
|
+
:auth_names => auth_names,
|
|
2145
|
+
:return_type => 'TransactionCode')
|
|
2146
|
+
if @api_client.config.debugging
|
|
2147
|
+
@api_client.config.logger.debug "API called: UtilsApi#get_transaction_code_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2148
|
+
end
|
|
2149
|
+
return data, status_code, headers
|
|
2150
|
+
end
|
|
2151
|
+
# Update an Application
|
|
2152
|
+
# Update the information for an Application
|
|
2153
|
+
# @param application application
|
|
2154
|
+
# @param application_id UUID application_id
|
|
2155
|
+
# @param [Hash] opts the optional parameters
|
|
2156
|
+
# @return [Application]
|
|
2157
|
+
def update_application_using_put(application, application_id, opts = {})
|
|
2158
|
+
data, _status_code, _headers = update_application_using_put_with_http_info(application, application_id, opts)
|
|
2159
|
+
data
|
|
2160
|
+
end
|
|
2161
|
+
|
|
2162
|
+
# Update an Application
|
|
2163
|
+
# Update the information for an Application
|
|
2164
|
+
# @param application application
|
|
2165
|
+
# @param application_id UUID application_id
|
|
2166
|
+
# @param [Hash] opts the optional parameters
|
|
2167
|
+
# @return [Array<(Application, Fixnum, Hash)>] Application data, response status code and response headers
|
|
2168
|
+
def update_application_using_put_with_http_info(application, application_id, opts = {})
|
|
2169
|
+
if @api_client.config.debugging
|
|
2170
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_application_using_put ...'
|
|
2171
|
+
end
|
|
2172
|
+
# verify the required parameter 'application' is set
|
|
2173
|
+
if @api_client.config.client_side_validation && application.nil?
|
|
2174
|
+
fail ArgumentError, "Missing the required parameter 'application' when calling UtilsApi.update_application_using_put"
|
|
2175
|
+
end
|
|
2176
|
+
# verify the required parameter 'application_id' is set
|
|
2177
|
+
if @api_client.config.client_side_validation && application_id.nil?
|
|
2178
|
+
fail ArgumentError, "Missing the required parameter 'application_id' when calling UtilsApi.update_application_using_put"
|
|
2179
|
+
end
|
|
2180
|
+
# resource path
|
|
2181
|
+
local_var_path = '/nucleus/v1/application/{application_id}'.sub('{' + 'application_id' + '}', application_id.to_s)
|
|
2182
|
+
|
|
2183
|
+
# query parameters
|
|
2184
|
+
query_params = {}
|
|
2185
|
+
|
|
2186
|
+
# header parameters
|
|
2187
|
+
header_params = {}
|
|
2188
|
+
# HTTP header 'Accept' (if needed)
|
|
2189
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2190
|
+
# HTTP header 'Content-Type'
|
|
2191
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2192
|
+
|
|
2193
|
+
# form parameters
|
|
2194
|
+
form_params = {}
|
|
2195
|
+
|
|
2196
|
+
# http body (model)
|
|
2197
|
+
post_body = @api_client.object_to_http_body(application)
|
|
2198
|
+
auth_names = ['oauth2']
|
|
2199
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2200
|
+
:header_params => header_params,
|
|
2201
|
+
:query_params => query_params,
|
|
2202
|
+
:form_params => form_params,
|
|
2203
|
+
:body => post_body,
|
|
2204
|
+
:auth_names => auth_names,
|
|
2205
|
+
:return_type => 'Application')
|
|
2206
|
+
if @api_client.config.debugging
|
|
2207
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_application_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2208
|
+
end
|
|
2209
|
+
return data, status_code, headers
|
|
2210
|
+
end
|
|
2211
|
+
# Update a Feature Track
|
|
2212
|
+
# Update the information for a Feature track registered with your firm.
|
|
2213
|
+
# @param feature_track feature_track
|
|
2214
|
+
# @param feature_track_id UUID feature_track_id
|
|
2215
|
+
# @param [Hash] opts the optional parameters
|
|
2216
|
+
# @return [FeatureTrack]
|
|
2217
|
+
def update_feature_track_using_put(feature_track, feature_track_id, opts = {})
|
|
2218
|
+
data, _status_code, _headers = update_feature_track_using_put_with_http_info(feature_track, feature_track_id, opts)
|
|
2219
|
+
data
|
|
2220
|
+
end
|
|
2221
|
+
|
|
2222
|
+
# Update a Feature Track
|
|
2223
|
+
# Update the information for a Feature track registered with your firm.
|
|
2224
|
+
# @param feature_track feature_track
|
|
2225
|
+
# @param feature_track_id UUID feature_track_id
|
|
2226
|
+
# @param [Hash] opts the optional parameters
|
|
2227
|
+
# @return [Array<(FeatureTrack, Fixnum, Hash)>] FeatureTrack data, response status code and response headers
|
|
2228
|
+
def update_feature_track_using_put_with_http_info(feature_track, feature_track_id, opts = {})
|
|
2229
|
+
if @api_client.config.debugging
|
|
2230
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_feature_track_using_put ...'
|
|
2231
|
+
end
|
|
2232
|
+
# verify the required parameter 'feature_track' is set
|
|
2233
|
+
if @api_client.config.client_side_validation && feature_track.nil?
|
|
2234
|
+
fail ArgumentError, "Missing the required parameter 'feature_track' when calling UtilsApi.update_feature_track_using_put"
|
|
2235
|
+
end
|
|
2236
|
+
# verify the required parameter 'feature_track_id' is set
|
|
2237
|
+
if @api_client.config.client_side_validation && feature_track_id.nil?
|
|
2238
|
+
fail ArgumentError, "Missing the required parameter 'feature_track_id' when calling UtilsApi.update_feature_track_using_put"
|
|
2239
|
+
end
|
|
2240
|
+
# resource path
|
|
2241
|
+
local_var_path = '/nucleus/v1/feature_track/{feature_track_id}'.sub('{' + 'feature_track_id' + '}', feature_track_id.to_s)
|
|
2242
|
+
|
|
2243
|
+
# query parameters
|
|
2244
|
+
query_params = {}
|
|
2245
|
+
|
|
2246
|
+
# header parameters
|
|
2247
|
+
header_params = {}
|
|
2248
|
+
# HTTP header 'Accept' (if needed)
|
|
2249
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2250
|
+
# HTTP header 'Content-Type'
|
|
2251
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2252
|
+
|
|
2253
|
+
# form parameters
|
|
2254
|
+
form_params = {}
|
|
2255
|
+
|
|
2256
|
+
# http body (model)
|
|
2257
|
+
post_body = @api_client.object_to_http_body(feature_track)
|
|
2258
|
+
auth_names = ['oauth2']
|
|
2259
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2260
|
+
:header_params => header_params,
|
|
2261
|
+
:query_params => query_params,
|
|
2262
|
+
:form_params => form_params,
|
|
2263
|
+
:body => post_body,
|
|
2264
|
+
:auth_names => auth_names,
|
|
2265
|
+
:return_type => 'FeatureTrack')
|
|
2266
|
+
if @api_client.config.debugging
|
|
2267
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_feature_track_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2268
|
+
end
|
|
2269
|
+
return data, status_code, headers
|
|
2270
|
+
end
|
|
2271
|
+
# Update a Feature
|
|
2272
|
+
# Update the information for a Feature registered with your firm.
|
|
2273
|
+
# @param feature feature
|
|
2274
|
+
# @param feature_id UUID feature_id
|
|
2275
|
+
# @param [Hash] opts the optional parameters
|
|
2276
|
+
# @return [Feature]
|
|
2277
|
+
def update_feature_using_put(feature, feature_id, opts = {})
|
|
2278
|
+
data, _status_code, _headers = update_feature_using_put_with_http_info(feature, feature_id, opts)
|
|
2279
|
+
data
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
# Update a Feature
|
|
2283
|
+
# Update the information for a Feature registered with your firm.
|
|
2284
|
+
# @param feature feature
|
|
2285
|
+
# @param feature_id UUID feature_id
|
|
2286
|
+
# @param [Hash] opts the optional parameters
|
|
2287
|
+
# @return [Array<(Feature, Fixnum, Hash)>] Feature data, response status code and response headers
|
|
2288
|
+
def update_feature_using_put_with_http_info(feature, feature_id, opts = {})
|
|
2289
|
+
if @api_client.config.debugging
|
|
2290
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_feature_using_put ...'
|
|
2291
|
+
end
|
|
2292
|
+
# verify the required parameter 'feature' is set
|
|
2293
|
+
if @api_client.config.client_side_validation && feature.nil?
|
|
2294
|
+
fail ArgumentError, "Missing the required parameter 'feature' when calling UtilsApi.update_feature_using_put"
|
|
2295
|
+
end
|
|
2296
|
+
# verify the required parameter 'feature_id' is set
|
|
2297
|
+
if @api_client.config.client_side_validation && feature_id.nil?
|
|
2298
|
+
fail ArgumentError, "Missing the required parameter 'feature_id' when calling UtilsApi.update_feature_using_put"
|
|
2299
|
+
end
|
|
2300
|
+
# resource path
|
|
2301
|
+
local_var_path = '/nucleus/v1/feature/{feature_id}'.sub('{' + 'feature_id' + '}', feature_id.to_s)
|
|
2302
|
+
|
|
2303
|
+
# query parameters
|
|
2304
|
+
query_params = {}
|
|
2305
|
+
|
|
2306
|
+
# header parameters
|
|
2307
|
+
header_params = {}
|
|
2308
|
+
# HTTP header 'Accept' (if needed)
|
|
2309
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2310
|
+
# HTTP header 'Content-Type'
|
|
2311
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2312
|
+
|
|
2313
|
+
# form parameters
|
|
2314
|
+
form_params = {}
|
|
2315
|
+
|
|
2316
|
+
# http body (model)
|
|
2317
|
+
post_body = @api_client.object_to_http_body(feature)
|
|
2318
|
+
auth_names = ['oauth2']
|
|
2319
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2320
|
+
:header_params => header_params,
|
|
2321
|
+
:query_params => query_params,
|
|
2322
|
+
:form_params => form_params,
|
|
2323
|
+
:body => post_body,
|
|
2324
|
+
:auth_names => auth_names,
|
|
2325
|
+
:return_type => 'Feature')
|
|
2326
|
+
if @api_client.config.debugging
|
|
2327
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_feature_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2328
|
+
end
|
|
2329
|
+
return data, status_code, headers
|
|
2330
|
+
end
|
|
2331
|
+
# Update a Notification Client
|
|
2332
|
+
# Update a Notification Client.
|
|
2333
|
+
# @param notification_client notification_client
|
|
2334
|
+
# @param notification_client_id UUID notification_client_id
|
|
2335
|
+
# @param [Hash] opts the optional parameters
|
|
2336
|
+
# @return [NotificationClient]
|
|
2337
|
+
def update_notification_client_using_put(notification_client, notification_client_id, opts = {})
|
|
2338
|
+
data, _status_code, _headers = update_notification_client_using_put_with_http_info(notification_client, notification_client_id, opts)
|
|
2339
|
+
data
|
|
2340
|
+
end
|
|
2341
|
+
|
|
2342
|
+
# Update a Notification Client
|
|
2343
|
+
# Update a Notification Client.
|
|
2344
|
+
# @param notification_client notification_client
|
|
2345
|
+
# @param notification_client_id UUID notification_client_id
|
|
2346
|
+
# @param [Hash] opts the optional parameters
|
|
2347
|
+
# @return [Array<(NotificationClient, Fixnum, Hash)>] NotificationClient data, response status code and response headers
|
|
2348
|
+
def update_notification_client_using_put_with_http_info(notification_client, notification_client_id, opts = {})
|
|
2349
|
+
if @api_client.config.debugging
|
|
2350
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_notification_client_using_put ...'
|
|
2351
|
+
end
|
|
2352
|
+
# verify the required parameter 'notification_client' is set
|
|
2353
|
+
if @api_client.config.client_side_validation && notification_client.nil?
|
|
2354
|
+
fail ArgumentError, "Missing the required parameter 'notification_client' when calling UtilsApi.update_notification_client_using_put"
|
|
2355
|
+
end
|
|
2356
|
+
# verify the required parameter 'notification_client_id' is set
|
|
2357
|
+
if @api_client.config.client_side_validation && notification_client_id.nil?
|
|
2358
|
+
fail ArgumentError, "Missing the required parameter 'notification_client_id' when calling UtilsApi.update_notification_client_using_put"
|
|
2359
|
+
end
|
|
2360
|
+
# resource path
|
|
2361
|
+
local_var_path = '/nucleus/v1/notification_client/{notification_client_id}'.sub('{' + 'notification_client_id' + '}', notification_client_id.to_s)
|
|
2362
|
+
|
|
2363
|
+
# query parameters
|
|
2364
|
+
query_params = {}
|
|
2365
|
+
|
|
2366
|
+
# header parameters
|
|
2367
|
+
header_params = {}
|
|
2368
|
+
# HTTP header 'Accept' (if needed)
|
|
2369
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2370
|
+
# HTTP header 'Content-Type'
|
|
2371
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2372
|
+
|
|
2373
|
+
# form parameters
|
|
2374
|
+
form_params = {}
|
|
2375
|
+
|
|
2376
|
+
# http body (model)
|
|
2377
|
+
post_body = @api_client.object_to_http_body(notification_client)
|
|
2378
|
+
auth_names = ['oauth2']
|
|
2379
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2380
|
+
:header_params => header_params,
|
|
2381
|
+
:query_params => query_params,
|
|
2382
|
+
:form_params => form_params,
|
|
2383
|
+
:body => post_body,
|
|
2384
|
+
:auth_names => auth_names,
|
|
2385
|
+
:return_type => 'NotificationClient')
|
|
2386
|
+
if @api_client.config.debugging
|
|
2387
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_notification_client_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2388
|
+
end
|
|
2389
|
+
return data, status_code, headers
|
|
2390
|
+
end
|
|
2391
|
+
# Update a Notification Setting
|
|
2392
|
+
# Update a Notification Setting.
|
|
2393
|
+
# @param notification_setting notification_setting
|
|
2394
|
+
# @param notification_setting_id UUID notification_setting_id
|
|
2395
|
+
# @param [Hash] opts the optional parameters
|
|
2396
|
+
# @return [NotificationSetting]
|
|
2397
|
+
def update_notification_setting_using_put(notification_setting, notification_setting_id, opts = {})
|
|
2398
|
+
data, _status_code, _headers = update_notification_setting_using_put_with_http_info(notification_setting, notification_setting_id, opts)
|
|
2399
|
+
data
|
|
2400
|
+
end
|
|
2401
|
+
|
|
2402
|
+
# Update a Notification Setting
|
|
2403
|
+
# Update a Notification Setting.
|
|
2404
|
+
# @param notification_setting notification_setting
|
|
2405
|
+
# @param notification_setting_id UUID notification_setting_id
|
|
2406
|
+
# @param [Hash] opts the optional parameters
|
|
2407
|
+
# @return [Array<(NotificationSetting, Fixnum, Hash)>] NotificationSetting data, response status code and response headers
|
|
2408
|
+
def update_notification_setting_using_put_with_http_info(notification_setting, notification_setting_id, opts = {})
|
|
2409
|
+
if @api_client.config.debugging
|
|
2410
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_notification_setting_using_put ...'
|
|
2411
|
+
end
|
|
2412
|
+
# verify the required parameter 'notification_setting' is set
|
|
2413
|
+
if @api_client.config.client_side_validation && notification_setting.nil?
|
|
2414
|
+
fail ArgumentError, "Missing the required parameter 'notification_setting' when calling UtilsApi.update_notification_setting_using_put"
|
|
2415
|
+
end
|
|
2416
|
+
# verify the required parameter 'notification_setting_id' is set
|
|
2417
|
+
if @api_client.config.client_side_validation && notification_setting_id.nil?
|
|
2418
|
+
fail ArgumentError, "Missing the required parameter 'notification_setting_id' when calling UtilsApi.update_notification_setting_using_put"
|
|
2419
|
+
end
|
|
2420
|
+
# resource path
|
|
2421
|
+
local_var_path = '/nucleus/v1/notification_setting/{notification_setting_id}'.sub('{' + 'notification_setting_id' + '}', notification_setting_id.to_s)
|
|
2422
|
+
|
|
2423
|
+
# query parameters
|
|
2424
|
+
query_params = {}
|
|
2425
|
+
|
|
2426
|
+
# header parameters
|
|
2427
|
+
header_params = {}
|
|
2428
|
+
# HTTP header 'Accept' (if needed)
|
|
2429
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2430
|
+
# HTTP header 'Content-Type'
|
|
2431
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2432
|
+
|
|
2433
|
+
# form parameters
|
|
2434
|
+
form_params = {}
|
|
2435
|
+
|
|
2436
|
+
# http body (model)
|
|
2437
|
+
post_body = @api_client.object_to_http_body(notification_setting)
|
|
2438
|
+
auth_names = ['oauth2']
|
|
2439
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2440
|
+
:header_params => header_params,
|
|
2441
|
+
:query_params => query_params,
|
|
2442
|
+
:form_params => form_params,
|
|
2443
|
+
:body => post_body,
|
|
2444
|
+
:auth_names => auth_names,
|
|
2445
|
+
:return_type => 'NotificationSetting')
|
|
2446
|
+
if @api_client.config.debugging
|
|
2447
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_notification_setting_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2448
|
+
end
|
|
2449
|
+
return data, status_code, headers
|
|
2450
|
+
end
|
|
2451
|
+
# Update a Notification
|
|
2452
|
+
# Update a Notification.
|
|
2453
|
+
# @param notification notification
|
|
2454
|
+
# @param notification_id UUID notification_id
|
|
2455
|
+
# @param [Hash] opts the optional parameters
|
|
2456
|
+
# @return [Notification]
|
|
2457
|
+
def update_notification_using_put(notification, notification_id, opts = {})
|
|
2458
|
+
data, _status_code, _headers = update_notification_using_put_with_http_info(notification, notification_id, opts)
|
|
2459
|
+
data
|
|
2460
|
+
end
|
|
2461
|
+
|
|
2462
|
+
# Update a Notification
|
|
2463
|
+
# Update a Notification.
|
|
2464
|
+
# @param notification notification
|
|
2465
|
+
# @param notification_id UUID notification_id
|
|
2466
|
+
# @param [Hash] opts the optional parameters
|
|
2467
|
+
# @return [Array<(Notification, Fixnum, Hash)>] Notification data, response status code and response headers
|
|
2468
|
+
def update_notification_using_put_with_http_info(notification, notification_id, opts = {})
|
|
2469
|
+
if @api_client.config.debugging
|
|
2470
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_notification_using_put ...'
|
|
2471
|
+
end
|
|
2472
|
+
# verify the required parameter 'notification' is set
|
|
2473
|
+
if @api_client.config.client_side_validation && notification.nil?
|
|
2474
|
+
fail ArgumentError, "Missing the required parameter 'notification' when calling UtilsApi.update_notification_using_put"
|
|
2475
|
+
end
|
|
2476
|
+
# verify the required parameter 'notification_id' is set
|
|
2477
|
+
if @api_client.config.client_side_validation && notification_id.nil?
|
|
2478
|
+
fail ArgumentError, "Missing the required parameter 'notification_id' when calling UtilsApi.update_notification_using_put"
|
|
2479
|
+
end
|
|
2480
|
+
# resource path
|
|
2481
|
+
local_var_path = '/nucleus/v1/notification/{notification_id}'.sub('{' + 'notification_id' + '}', notification_id.to_s)
|
|
2482
|
+
|
|
2483
|
+
# query parameters
|
|
2484
|
+
query_params = {}
|
|
2485
|
+
|
|
2486
|
+
# header parameters
|
|
2487
|
+
header_params = {}
|
|
2488
|
+
# HTTP header 'Accept' (if needed)
|
|
2489
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2490
|
+
# HTTP header 'Content-Type'
|
|
2491
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2492
|
+
|
|
2493
|
+
# form parameters
|
|
2494
|
+
form_params = {}
|
|
2495
|
+
|
|
2496
|
+
# http body (model)
|
|
2497
|
+
post_body = @api_client.object_to_http_body(notification)
|
|
2498
|
+
auth_names = ['oauth2']
|
|
2499
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2500
|
+
:header_params => header_params,
|
|
2501
|
+
:query_params => query_params,
|
|
2502
|
+
:form_params => form_params,
|
|
2503
|
+
:body => post_body,
|
|
2504
|
+
:auth_names => auth_names,
|
|
2505
|
+
:return_type => 'Notification')
|
|
2506
|
+
if @api_client.config.debugging
|
|
2507
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_notification_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2508
|
+
end
|
|
2509
|
+
return data, status_code, headers
|
|
2510
|
+
end
|
|
2511
|
+
# Update a reason code
|
|
2512
|
+
# Update a reason code for your firm.
|
|
2513
|
+
# @param reason_code reason_code
|
|
2514
|
+
# @param reason_code_id UUID reason_code_id
|
|
2515
|
+
# @param [Hash] opts the optional parameters
|
|
2516
|
+
# @return [ReasonCode]
|
|
2517
|
+
def update_reason_code_using_put(reason_code, reason_code_id, opts = {})
|
|
2518
|
+
data, _status_code, _headers = update_reason_code_using_put_with_http_info(reason_code, reason_code_id, opts)
|
|
2519
|
+
data
|
|
2520
|
+
end
|
|
2521
|
+
|
|
2522
|
+
# Update a reason code
|
|
2523
|
+
# Update a reason code for your firm.
|
|
2524
|
+
# @param reason_code reason_code
|
|
2525
|
+
# @param reason_code_id UUID reason_code_id
|
|
2526
|
+
# @param [Hash] opts the optional parameters
|
|
2527
|
+
# @return [Array<(ReasonCode, Fixnum, Hash)>] ReasonCode data, response status code and response headers
|
|
2528
|
+
def update_reason_code_using_put_with_http_info(reason_code, reason_code_id, opts = {})
|
|
2529
|
+
if @api_client.config.debugging
|
|
2530
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_reason_code_using_put ...'
|
|
2531
|
+
end
|
|
2532
|
+
# verify the required parameter 'reason_code' is set
|
|
2533
|
+
if @api_client.config.client_side_validation && reason_code.nil?
|
|
2534
|
+
fail ArgumentError, "Missing the required parameter 'reason_code' when calling UtilsApi.update_reason_code_using_put"
|
|
2535
|
+
end
|
|
2536
|
+
# verify the required parameter 'reason_code_id' is set
|
|
2537
|
+
if @api_client.config.client_side_validation && reason_code_id.nil?
|
|
2538
|
+
fail ArgumentError, "Missing the required parameter 'reason_code_id' when calling UtilsApi.update_reason_code_using_put"
|
|
2539
|
+
end
|
|
2540
|
+
# resource path
|
|
2541
|
+
local_var_path = '/nucleus/v1/reason_code/{reason_code_id}'.sub('{' + 'reason_code_id' + '}', reason_code_id.to_s)
|
|
2542
|
+
|
|
2543
|
+
# query parameters
|
|
2544
|
+
query_params = {}
|
|
2545
|
+
|
|
2546
|
+
# header parameters
|
|
2547
|
+
header_params = {}
|
|
2548
|
+
# HTTP header 'Accept' (if needed)
|
|
2549
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2550
|
+
# HTTP header 'Content-Type'
|
|
2551
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2552
|
+
|
|
2553
|
+
# form parameters
|
|
2554
|
+
form_params = {}
|
|
2555
|
+
|
|
2556
|
+
# http body (model)
|
|
2557
|
+
post_body = @api_client.object_to_http_body(reason_code)
|
|
2558
|
+
auth_names = ['oauth2']
|
|
2559
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2560
|
+
:header_params => header_params,
|
|
2561
|
+
:query_params => query_params,
|
|
2562
|
+
:form_params => form_params,
|
|
2563
|
+
:body => post_body,
|
|
2564
|
+
:auth_names => auth_names,
|
|
2565
|
+
:return_type => 'ReasonCode')
|
|
2566
|
+
if @api_client.config.debugging
|
|
2567
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_reason_code_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2568
|
+
end
|
|
2569
|
+
return data, status_code, headers
|
|
2570
|
+
end
|
|
2571
|
+
# Update an account stage
|
|
2572
|
+
# Update the information for an account stage.
|
|
2573
|
+
# @param stage stage
|
|
2574
|
+
# @param stage_id UUID stage_id
|
|
2575
|
+
# @param [Hash] opts the optional parameters
|
|
2576
|
+
# @return [Stage]
|
|
2577
|
+
def update_stage_using_put(stage, stage_id, opts = {})
|
|
2578
|
+
data, _status_code, _headers = update_stage_using_put_with_http_info(stage, stage_id, opts)
|
|
2579
|
+
data
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2582
|
+
# Update an account stage
|
|
2583
|
+
# Update the information for an account stage.
|
|
2584
|
+
# @param stage stage
|
|
2585
|
+
# @param stage_id UUID stage_id
|
|
2586
|
+
# @param [Hash] opts the optional parameters
|
|
2587
|
+
# @return [Array<(Stage, Fixnum, Hash)>] Stage data, response status code and response headers
|
|
2588
|
+
def update_stage_using_put_with_http_info(stage, stage_id, opts = {})
|
|
2589
|
+
if @api_client.config.debugging
|
|
2590
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_stage_using_put ...'
|
|
2591
|
+
end
|
|
2592
|
+
# verify the required parameter 'stage' is set
|
|
2593
|
+
if @api_client.config.client_side_validation && stage.nil?
|
|
2594
|
+
fail ArgumentError, "Missing the required parameter 'stage' when calling UtilsApi.update_stage_using_put"
|
|
2595
|
+
end
|
|
2596
|
+
# verify the required parameter 'stage_id' is set
|
|
2597
|
+
if @api_client.config.client_side_validation && stage_id.nil?
|
|
2598
|
+
fail ArgumentError, "Missing the required parameter 'stage_id' when calling UtilsApi.update_stage_using_put"
|
|
2599
|
+
end
|
|
2600
|
+
# resource path
|
|
2601
|
+
local_var_path = '/nucleus/v1/stage/{stage_id}'.sub('{' + 'stage_id' + '}', stage_id.to_s)
|
|
2602
|
+
|
|
2603
|
+
# query parameters
|
|
2604
|
+
query_params = {}
|
|
2605
|
+
|
|
2606
|
+
# header parameters
|
|
2607
|
+
header_params = {}
|
|
2608
|
+
# HTTP header 'Accept' (if needed)
|
|
2609
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2610
|
+
# HTTP header 'Content-Type'
|
|
2611
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2612
|
+
|
|
2613
|
+
# form parameters
|
|
2614
|
+
form_params = {}
|
|
2615
|
+
|
|
2616
|
+
# http body (model)
|
|
2617
|
+
post_body = @api_client.object_to_http_body(stage)
|
|
2618
|
+
auth_names = ['oauth2']
|
|
2619
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2620
|
+
:header_params => header_params,
|
|
2621
|
+
:query_params => query_params,
|
|
2622
|
+
:form_params => form_params,
|
|
2623
|
+
:body => post_body,
|
|
2624
|
+
:auth_names => auth_names,
|
|
2625
|
+
:return_type => 'Stage')
|
|
2626
|
+
if @api_client.config.debugging
|
|
2627
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_stage_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2628
|
+
end
|
|
2629
|
+
return data, status_code, headers
|
|
2630
|
+
end
|
|
2631
|
+
# Update a transaction code
|
|
2632
|
+
# Update a transaction code for your firm.
|
|
2633
|
+
# @param transaction_code transaction_code
|
|
2634
|
+
# @param transaction_code_id UUID transaction_code_id
|
|
2635
|
+
# @param [Hash] opts the optional parameters
|
|
2636
|
+
# @return [TransactionCode]
|
|
2637
|
+
def update_transaction_code_using_put(transaction_code, transaction_code_id, opts = {})
|
|
2638
|
+
data, _status_code, _headers = update_transaction_code_using_put_with_http_info(transaction_code, transaction_code_id, opts)
|
|
2639
|
+
data
|
|
2640
|
+
end
|
|
2641
|
+
|
|
2642
|
+
# Update a transaction code
|
|
2643
|
+
# Update a transaction code for your firm.
|
|
2644
|
+
# @param transaction_code transaction_code
|
|
2645
|
+
# @param transaction_code_id UUID transaction_code_id
|
|
2646
|
+
# @param [Hash] opts the optional parameters
|
|
2647
|
+
# @return [Array<(TransactionCode, Fixnum, Hash)>] TransactionCode data, response status code and response headers
|
|
2648
|
+
def update_transaction_code_using_put_with_http_info(transaction_code, transaction_code_id, opts = {})
|
|
2649
|
+
if @api_client.config.debugging
|
|
2650
|
+
@api_client.config.logger.debug 'Calling API: UtilsApi.update_transaction_code_using_put ...'
|
|
2651
|
+
end
|
|
2652
|
+
# verify the required parameter 'transaction_code' is set
|
|
2653
|
+
if @api_client.config.client_side_validation && transaction_code.nil?
|
|
2654
|
+
fail ArgumentError, "Missing the required parameter 'transaction_code' when calling UtilsApi.update_transaction_code_using_put"
|
|
2655
|
+
end
|
|
2656
|
+
# verify the required parameter 'transaction_code_id' is set
|
|
2657
|
+
if @api_client.config.client_side_validation && transaction_code_id.nil?
|
|
2658
|
+
fail ArgumentError, "Missing the required parameter 'transaction_code_id' when calling UtilsApi.update_transaction_code_using_put"
|
|
2659
|
+
end
|
|
2660
|
+
# resource path
|
|
2661
|
+
local_var_path = '/nucleus/v1/transaction_code/{transaction_code_id}'.sub('{' + 'transaction_code_id' + '}', transaction_code_id.to_s)
|
|
2662
|
+
|
|
2663
|
+
# query parameters
|
|
2664
|
+
query_params = {}
|
|
2665
|
+
|
|
2666
|
+
# header parameters
|
|
2667
|
+
header_params = {}
|
|
2668
|
+
# HTTP header 'Accept' (if needed)
|
|
2669
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
2670
|
+
# HTTP header 'Content-Type'
|
|
2671
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2672
|
+
|
|
2673
|
+
# form parameters
|
|
2674
|
+
form_params = {}
|
|
2675
|
+
|
|
2676
|
+
# http body (model)
|
|
2677
|
+
post_body = @api_client.object_to_http_body(transaction_code)
|
|
2678
|
+
auth_names = ['oauth2']
|
|
2679
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2680
|
+
:header_params => header_params,
|
|
2681
|
+
:query_params => query_params,
|
|
2682
|
+
:form_params => form_params,
|
|
2683
|
+
:body => post_body,
|
|
2684
|
+
:auth_names => auth_names,
|
|
2685
|
+
:return_type => 'TransactionCode')
|
|
2686
|
+
if @api_client.config.debugging
|
|
2687
|
+
@api_client.config.logger.debug "API called: UtilsApi#update_transaction_code_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2688
|
+
end
|
|
2689
|
+
return data, status_code, headers
|
|
2690
|
+
end
|
|
2691
|
+
end
|
|
2692
|
+
end
|