nucleus_api 1.8.0 → 1.9.1
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 +4 -4
- data/README.md +28 -737
- data/lib/nucleus_api.rb +23 -21
- data/lib/nucleus_api/api/account_api.rb +73 -112
- data/lib/nucleus_api/api/admin_client_api.rb +85 -40
- data/lib/nucleus_api/api/aggregation_account_api.rb +85 -30
- data/lib/nucleus_api/api/allocation_api.rb +16 -16
- data/lib/nucleus_api/api/benchmark_api.rb +9 -9
- data/lib/nucleus_api/api/budget_api.rb +7 -7
- data/lib/nucleus_api/api/bulk_api.rb +6 -6
- data/lib/nucleus_api/api/business_api.rb +32 -14
- data/lib/nucleus_api/api/card_api.rb +159 -14
- data/lib/nucleus_api/api/client_api.rb +318 -22
- data/lib/nucleus_api/api/{customer_api.rb → contact_api.rb} +176 -176
- data/lib/nucleus_api/api/decision_tree_api.rb +29 -31
- data/lib/nucleus_api/api/document_api.rb +7 -7
- data/lib/nucleus_api/api/financial_statement_api.rb +7 -7
- data/lib/nucleus_api/api/funding_api.rb +139 -423
- data/lib/nucleus_api/api/goal_api.rb +37 -19
- data/lib/nucleus_api/api/household_api.rb +32 -14
- data/lib/nucleus_api/api/invoice_api.rb +14 -14
- data/lib/nucleus_api/api/model_api.rb +31 -31
- data/lib/nucleus_api/api/order_api.rb +31 -31
- data/lib/nucleus_api/api/overflow_api.rb +10 -10
- data/lib/nucleus_api/api/portfolio_api.rb +97 -33
- data/lib/nucleus_api/api/questionnaire_api.rb +17 -295
- data/lib/nucleus_api/api/resource_api.rb +394 -50
- data/lib/nucleus_api/api/risk_profile_api.rb +7 -7
- data/lib/nucleus_api/api/roundup_api.rb +10 -10
- data/lib/nucleus_api/api/score_api.rb +7 -7
- data/lib/nucleus_api/api/securities_api.rb +17 -17
- data/lib/nucleus_api/api/spending_control_api.rb +7 -7
- data/lib/nucleus_api/api/utils_api.rb +1895 -60
- data/lib/nucleus_api/api/webhook_api.rb +7 -7
- data/lib/nucleus_api/api_client.rb +17 -54
- data/lib/nucleus_api/api_error.rb +2 -2
- data/lib/nucleus_api/configuration.rb +4 -19
- data/lib/nucleus_api/models/account.rb +8 -6
- data/lib/nucleus_api/models/account_allocation_mapping.rb +8 -7
- data/lib/nucleus_api/models/account_map.rb +8 -7
- data/lib/nucleus_api/models/account_permission_vo.rb +8 -7
- data/lib/nucleus_api/models/account_portfolio_rebalance_request.rb +8 -7
- data/lib/nucleus_api/models/account_status.rb +8 -12
- data/lib/nucleus_api/models/account_type.rb +8 -7
- data/lib/nucleus_api/models/acl_client_permission_vo.rb +8 -7
- data/lib/nucleus_api/models/admin_client.rb +27 -9
- data/lib/nucleus_api/models/aggregation_account.rb +139 -18
- data/lib/nucleus_api/models/aggregation_account_balance.rb +8 -7
- data/lib/nucleus_api/models/aggregation_account_holding.rb +10 -17
- data/lib/nucleus_api/models/aggregation_account_transaction.rb +6 -52
- data/lib/nucleus_api/models/aggregation_accounts_map.rb +8 -7
- data/lib/nucleus_api/models/allocation.rb +8 -7
- data/lib/nucleus_api/models/allocation_aggregated_vo.rb +8 -7
- data/lib/nucleus_api/models/allocation_composition.rb +8 -7
- data/lib/nucleus_api/models/allocation_composition_aggregated_vo.rb +8 -7
- data/lib/nucleus_api/models/allocation_composition_model_holdings_vo.rb +8 -7
- data/lib/nucleus_api/models/allocation_node_map.rb +8 -7
- data/lib/nucleus_api/models/answer.rb +36 -8
- data/lib/nucleus_api/models/answer_map.rb +8 -7
- data/lib/nucleus_api/models/application.rb +8 -7
- data/lib/nucleus_api/models/audit_log.rb +8 -7
- data/lib/nucleus_api/models/available_date_double_vo.rb +8 -7
- data/lib/nucleus_api/models/balances.rb +224 -0
- data/lib/nucleus_api/models/bank_credit.rb +29 -8
- data/lib/nucleus_api/models/bank_link.rb +42 -21
- data/lib/nucleus_api/models/bank_link_map.rb +8 -7
- data/lib/nucleus_api/models/benchmark.rb +8 -7
- data/lib/nucleus_api/models/benchmark_composition.rb +8 -7
- data/lib/nucleus_api/models/brokers.rb +8 -7
- data/lib/nucleus_api/models/budget.rb +19 -8
- data/lib/nucleus_api/models/budget_aggregation_account.rb +8 -7
- data/lib/nucleus_api/models/budget_object.rb +8 -7
- data/lib/nucleus_api/models/bulk_transaction.rb +8 -7
- data/lib/nucleus_api/models/bulk_transaction_vo.rb +8 -7
- data/lib/nucleus_api/models/business.rb +8 -8
- data/lib/nucleus_api/models/business_address.rb +8 -7
- data/lib/nucleus_api/models/business_details_vo.rb +236 -0
- data/lib/nucleus_api/models/card.rb +31 -23
- data/lib/nucleus_api/models/card_address.rb +8 -7
- data/lib/nucleus_api/models/{category_internal_response_vo.rb → card_balance_vo.rb} +42 -29
- data/lib/nucleus_api/models/card_details_vo.rb +284 -0
- data/lib/nucleus_api/models/card_program.rb +8 -7
- data/lib/nucleus_api/models/cash.rb +8 -7
- data/lib/nucleus_api/models/categories_map.rb +8 -7
- data/lib/nucleus_api/models/check.rb +8 -7
- data/lib/nucleus_api/models/check_images.rb +8 -7
- data/lib/nucleus_api/models/client.rb +8 -7
- data/lib/nucleus_api/models/client_account_mapping.rb +8 -7
- data/lib/nucleus_api/models/client_address.rb +8 -7
- data/lib/nucleus_api/models/client_business_card_vo.rb +218 -0
- data/lib/nucleus_api/models/{v_account_asset_size.rb → client_business_total_card_balance_vo.rb} +32 -40
- data/lib/nucleus_api/models/client_card_vo.rb +244 -0
- data/lib/nucleus_api/models/{category_response_vo.rb → client_credentials.rb} +31 -23
- data/lib/nucleus_api/models/client_relationship.rb +8 -7
- data/lib/nucleus_api/models/client_response.rb +8 -7
- data/lib/nucleus_api/models/client_status.rb +8 -12
- data/lib/nucleus_api/models/client_view_goal_data.rb +8 -7
- data/lib/nucleus_api/models/{customer.rb → contact.rb} +48 -9
- data/lib/nucleus_api/models/{customer_address.rb → contact_address.rb} +10 -9
- data/lib/nucleus_api/models/country.rb +29 -11
- data/lib/nucleus_api/models/currency.rb +8 -7
- data/lib/nucleus_api/models/customer_revenue.rb +36 -23
- data/lib/nucleus_api/models/date_double_vo.rb +8 -7
- data/lib/nucleus_api/models/decision_tree.rb +8 -7
- data/lib/nucleus_api/models/decision_tree_co.rb +8 -7
- data/lib/nucleus_api/models/decision_tree_result_vo.rb +8 -7
- data/lib/nucleus_api/models/document.rb +6 -8
- data/lib/nucleus_api/models/employment.rb +8 -7
- data/lib/nucleus_api/models/external_account_transfer.rb +8 -7
- data/lib/nucleus_api/models/feature.rb +8 -7
- data/lib/nucleus_api/models/feature_track.rb +8 -7
- data/lib/nucleus_api/models/financial_statement.rb +19 -8
- data/lib/nucleus_api/models/funding.rb +21 -8
- data/lib/nucleus_api/models/funding_request_map.rb +8 -7
- data/lib/nucleus_api/models/{daily_deposit.rb → funding_transaction.rb} +43 -47
- data/lib/nucleus_api/models/fx_rate.rb +234 -0
- data/lib/nucleus_api/models/fx_rate_view.rb +8 -7
- data/lib/nucleus_api/models/goal.rb +8 -7
- data/lib/nucleus_api/models/goal_account_mapping.rb +8 -7
- data/lib/nucleus_api/models/goal_track.rb +8 -7
- data/lib/nucleus_api/models/goal_track_accounts.rb +8 -7
- data/lib/nucleus_api/models/household.rb +8 -7
- data/lib/nucleus_api/models/institution.rb +256 -0
- data/lib/nucleus_api/models/investment.rb +8 -12
- data/lib/nucleus_api/models/invoice.rb +44 -23
- data/lib/nucleus_api/models/invoice_payment.rb +21 -8
- data/lib/nucleus_api/models/json_node.rb +10 -241
- data/lib/nucleus_api/models/line_items.rb +8 -7
- data/lib/nucleus_api/models/location.rb +8 -7
- data/lib/nucleus_api/models/member.rb +8 -7
- data/lib/nucleus_api/models/merchant_category_code.rb +27 -11
- data/lib/nucleus_api/models/merchants_map.rb +8 -7
- data/lib/nucleus_api/models/model.rb +8 -7
- data/lib/nucleus_api/models/model_asset_size.rb +8 -7
- data/lib/nucleus_api/models/model_comment.rb +8 -7
- data/lib/nucleus_api/models/model_holding.rb +8 -7
- data/lib/nucleus_api/models/model_holding_vo.rb +8 -7
- data/lib/nucleus_api/models/model_transaction.rb +8 -7
- data/lib/nucleus_api/models/mx_merchant_res.rb +21 -20
- data/lib/nucleus_api/models/node.rb +8 -7
- data/lib/nucleus_api/models/node_relationship.rb +8 -7
- data/lib/nucleus_api/models/notification.rb +8 -7
- data/lib/nucleus_api/models/notification_client.rb +8 -7
- data/lib/nucleus_api/models/notification_setting.rb +8 -7
- data/lib/nucleus_api/models/order.rb +8 -7
- data/lib/nucleus_api/models/order_bulk.rb +8 -7
- data/lib/nucleus_api/models/order_reconcile_request.rb +8 -7
- data/lib/nucleus_api/models/order_reconcile_return_object.rb +8 -7
- data/lib/nucleus_api/models/order_status.rb +8 -7
- data/lib/nucleus_api/models/order_track.rb +8 -7
- data/lib/nucleus_api/models/order_vo_clone.rb +8 -7
- data/lib/nucleus_api/models/overflow.rb +8 -7
- data/lib/nucleus_api/models/overflow_bank_link_map.rb +22 -11
- data/lib/nucleus_api/models/overflow_settings.rb +8 -7
- data/lib/nucleus_api/models/overflow_vo.rb +8 -7
- data/lib/nucleus_api/models/ownership.rb +8 -7
- data/lib/nucleus_api/models/page_account.rb +8 -7
- data/lib/nucleus_api/models/page_account_allocation_mapping.rb +8 -7
- data/lib/nucleus_api/models/page_account_permission_vo.rb +8 -7
- data/lib/nucleus_api/models/page_account_status.rb +8 -7
- data/lib/nucleus_api/models/page_account_type.rb +8 -7
- data/lib/nucleus_api/models/page_admin_client.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account_balance.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account_holding.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account_transaction.rb +8 -7
- data/lib/nucleus_api/models/page_allocation.rb +8 -7
- data/lib/nucleus_api/models/page_allocation_composition.rb +8 -7
- data/lib/nucleus_api/models/page_answer.rb +8 -7
- data/lib/nucleus_api/models/page_application.rb +8 -7
- data/lib/nucleus_api/models/page_audit_log.rb +8 -7
- data/lib/nucleus_api/models/page_bank_link.rb +8 -7
- data/lib/nucleus_api/models/page_benchmark.rb +8 -7
- data/lib/nucleus_api/models/page_budget.rb +8 -7
- data/lib/nucleus_api/models/page_business.rb +8 -7
- data/lib/nucleus_api/models/page_card.rb +8 -7
- data/lib/nucleus_api/models/page_card_program.rb +8 -7
- data/lib/nucleus_api/models/page_client.rb +8 -7
- data/lib/nucleus_api/models/page_client_business_card_vo.rb +259 -0
- data/lib/nucleus_api/models/page_client_response.rb +8 -7
- data/lib/nucleus_api/models/page_client_status.rb +8 -7
- data/lib/nucleus_api/models/{page_customer.rb → page_contact.rb} +10 -9
- data/lib/nucleus_api/models/page_customer_revenue.rb +8 -7
- data/lib/nucleus_api/models/page_decision_tree.rb +8 -7
- data/lib/nucleus_api/models/page_document.rb +8 -7
- data/lib/nucleus_api/models/page_external_account_transfer.rb +8 -7
- data/lib/nucleus_api/models/page_feature.rb +8 -7
- data/lib/nucleus_api/models/page_feature_track.rb +8 -7
- data/lib/nucleus_api/models/page_financial_statement.rb +8 -7
- data/lib/nucleus_api/models/page_funding.rb +8 -7
- data/lib/nucleus_api/models/{page_v_account_asset_size.rb → page_funding_transaction.rb} +10 -9
- data/lib/nucleus_api/models/page_goal.rb +8 -7
- data/lib/nucleus_api/models/page_goal_track.rb +8 -7
- data/lib/nucleus_api/models/page_household.rb +8 -7
- data/lib/nucleus_api/models/{page_daily_deposit.rb → page_institution.rb} +10 -9
- data/lib/nucleus_api/models/page_invoice.rb +8 -7
- data/lib/nucleus_api/models/page_invoice_payment.rb +8 -7
- data/lib/nucleus_api/models/page_model.rb +8 -7
- data/lib/nucleus_api/models/page_model_asset_size.rb +8 -7
- data/lib/nucleus_api/models/page_model_comment.rb +8 -7
- data/lib/nucleus_api/models/page_model_holding.rb +8 -7
- data/lib/nucleus_api/models/page_model_transaction.rb +8 -7
- data/lib/nucleus_api/models/page_mx_merchant_res.rb +27 -8
- data/lib/nucleus_api/models/page_node.rb +8 -7
- data/lib/nucleus_api/models/page_node_relationship.rb +8 -7
- data/lib/nucleus_api/models/page_notification.rb +8 -7
- data/lib/nucleus_api/models/page_notification_client.rb +8 -7
- data/lib/nucleus_api/models/page_notification_setting.rb +8 -7
- data/lib/nucleus_api/models/page_order.rb +8 -7
- data/lib/nucleus_api/models/page_order_bulk.rb +8 -7
- data/lib/nucleus_api/models/page_order_status.rb +8 -7
- data/lib/nucleus_api/models/page_order_track.rb +8 -7
- data/lib/nucleus_api/models/page_overflow.rb +8 -7
- data/lib/nucleus_api/models/page_overflow_settings.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_asset_size_log.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_comment.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_goal.rb +8 -7
- data/lib/nucleus_api/models/{page_daily_withdrawal.rb → page_portfolio_holding_agg.rb} +10 -9
- data/lib/nucleus_api/models/page_portfolio_holding_log.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_transaction.rb +8 -7
- data/lib/nucleus_api/models/page_question.rb +8 -7
- data/lib/nucleus_api/models/page_questionnaire.rb +8 -7
- data/lib/nucleus_api/models/page_reason_code.rb +8 -7
- data/lib/nucleus_api/models/page_risk_profile.rb +8 -7
- data/lib/nucleus_api/models/page_roundup.rb +8 -7
- data/lib/nucleus_api/models/page_roundup_settings.rb +8 -7
- data/lib/nucleus_api/models/page_score.rb +8 -7
- data/lib/nucleus_api/models/page_security.rb +8 -7
- data/lib/nucleus_api/models/page_security_exclusion.rb +8 -7
- data/lib/nucleus_api/models/page_security_price.rb +8 -7
- data/lib/nucleus_api/models/page_spending_control.rb +8 -7
- data/lib/nucleus_api/models/page_stage.rb +8 -7
- data/lib/nucleus_api/models/page_transaction_code.rb +8 -7
- data/lib/nucleus_api/models/page_webhook.rb +8 -7
- data/lib/nucleus_api/models/pageable.rb +227 -0
- data/lib/nucleus_api/models/permission_vo.rb +8 -7
- data/lib/nucleus_api/models/portfolio.rb +8 -12
- data/lib/nucleus_api/models/portfolio_asset_size_log.rb +8 -7
- data/lib/nucleus_api/models/portfolio_comment.rb +8 -7
- data/lib/nucleus_api/models/portfolio_goal.rb +8 -7
- data/lib/nucleus_api/models/portfolio_goal_map.rb +8 -7
- data/lib/nucleus_api/models/portfolio_holding_agg.rb +8 -7
- data/lib/nucleus_api/models/portfolio_holding_log.rb +8 -7
- data/lib/nucleus_api/models/portfolio_transaction.rb +49 -8
- data/lib/nucleus_api/models/question.rb +36 -8
- data/lib/nucleus_api/models/questionnaire.rb +21 -8
- data/lib/nucleus_api/models/reason_code.rb +8 -7
- data/lib/nucleus_api/models/risk_profile.rb +8 -7
- data/lib/nucleus_api/models/roundup.rb +8 -7
- data/lib/nucleus_api/models/roundup_co.rb +8 -7
- data/lib/nucleus_api/models/roundup_settings.rb +8 -7
- data/lib/nucleus_api/models/score.rb +8 -7
- data/lib/nucleus_api/models/securities_composition.rb +8 -7
- data/lib/nucleus_api/models/securities_country.rb +8 -7
- data/lib/nucleus_api/models/security.rb +8 -7
- data/lib/nucleus_api/models/security_composition_vo.rb +8 -7
- data/lib/nucleus_api/models/security_country_vo.rb +8 -7
- data/lib/nucleus_api/models/security_exclusion.rb +8 -7
- data/lib/nucleus_api/models/security_price.rb +8 -7
- data/lib/nucleus_api/models/sort.rb +8 -7
- data/lib/nucleus_api/models/spending_control.rb +20 -8
- data/lib/nucleus_api/models/stage.rb +29 -8
- data/lib/nucleus_api/models/stat.rb +8 -7
- data/lib/nucleus_api/models/state.rb +8 -7
- data/lib/nucleus_api/models/statistic_resource_vo.rb +8 -7
- data/lib/nucleus_api/models/token_date_request.rb +8 -7
- data/lib/nucleus_api/models/transaction_code.rb +17 -66
- data/lib/nucleus_api/models/v_account_vo.rb +8 -7
- data/lib/nucleus_api/models/v_client_goal_view_data.rb +8 -7
- data/lib/nucleus_api/models/v_portfolio_vo.rb +8 -7
- data/lib/nucleus_api/models/webhook.rb +6 -8
- data/lib/nucleus_api/version.rb +3 -3
- data/nucleus_api.gemspec +2 -2
- data/spec/api/account_api_spec.rb +14 -24
- data/spec/api/admin_client_api_spec.rb +23 -16
- data/spec/api/aggregation_account_api_spec.rb +15 -2
- data/spec/api/allocation_api_spec.rb +2 -2
- data/spec/api/benchmark_api_spec.rb +5 -5
- data/spec/api/budget_api_spec.rb +2 -2
- data/spec/api/bulk_api_spec.rb +2 -2
- data/spec/api/business_api_spec.rb +12 -6
- data/spec/api/card_api_spec.rb +40 -2
- data/spec/api/client_api_spec.rb +77 -6
- data/spec/api/{customer_api_spec.rb → contact_api_spec.rb} +49 -49
- data/spec/api/decision_tree_api_spec.rb +7 -7
- data/spec/api/document_api_spec.rb +2 -2
- data/spec/api/financial_statement_api_spec.rb +2 -2
- data/spec/api/funding_api_spec.rb +43 -110
- data/spec/api/goal_api_spec.rb +12 -6
- data/spec/api/household_api_spec.rb +12 -6
- data/spec/api/invoice_api_spec.rb +3 -3
- data/spec/api/model_api_spec.rb +3 -3
- data/spec/api/order_api_spec.rb +2 -2
- data/spec/api/overflow_api_spec.rb +2 -2
- data/spec/api/portfolio_api_spec.rb +18 -2
- data/spec/api/questionnaire_api_spec.rb +2 -67
- data/spec/api/resource_api_spec.rb +97 -16
- data/spec/api/risk_profile_api_spec.rb +2 -2
- data/spec/api/roundup_api_spec.rb +2 -2
- data/spec/api/score_api_spec.rb +2 -2
- data/spec/api/securities_api_spec.rb +2 -2
- data/spec/api/spending_control_api_spec.rb +2 -2
- data/spec/api/utils_api_spec.rb +432 -2
- data/spec/api/webhook_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/account_allocation_mapping_spec.rb +2 -2
- data/spec/models/account_map_spec.rb +2 -2
- data/spec/models/account_permission_vo_spec.rb +2 -2
- data/spec/models/account_portfolio_rebalance_request_spec.rb +2 -2
- data/spec/models/account_spec.rb +5 -5
- data/spec/models/account_status_spec.rb +2 -2
- data/spec/models/account_type_spec.rb +2 -2
- data/spec/models/acl_client_permission_vo_spec.rb +2 -2
- data/spec/models/admin_client_spec.rb +14 -2
- data/spec/models/aggregation_account_balance_spec.rb +2 -2
- data/spec/models/aggregation_account_holding_spec.rb +2 -2
- data/spec/models/aggregation_account_spec.rb +80 -2
- data/spec/models/aggregation_account_transaction_spec.rb +5 -13
- data/spec/models/aggregation_accounts_map_spec.rb +2 -2
- data/spec/models/allocation_aggregated_vo_spec.rb +2 -2
- data/spec/models/allocation_composition_aggregated_vo_spec.rb +2 -2
- data/spec/models/allocation_composition_model_holdings_vo_spec.rb +2 -2
- data/spec/models/allocation_composition_spec.rb +2 -2
- data/spec/models/allocation_node_map_spec.rb +2 -2
- data/spec/models/allocation_spec.rb +2 -2
- data/spec/models/answer_map_spec.rb +2 -2
- data/spec/models/answer_spec.rb +20 -2
- data/spec/models/application_spec.rb +2 -2
- data/spec/models/audit_log_spec.rb +2 -2
- data/spec/models/available_date_double_vo_spec.rb +2 -2
- data/spec/models/balances_spec.rb +65 -0
- data/spec/models/bank_credit_spec.rb +14 -2
- data/spec/models/bank_link_map_spec.rb +2 -2
- data/spec/models/bank_link_spec.rb +20 -8
- data/spec/models/benchmark_composition_spec.rb +2 -2
- data/spec/models/benchmark_spec.rb +2 -2
- data/spec/models/brokers_spec.rb +2 -2
- data/spec/models/budget_aggregation_account_spec.rb +2 -2
- data/spec/models/budget_object_spec.rb +2 -2
- data/spec/models/budget_spec.rb +8 -2
- data/spec/models/bulk_transaction_spec.rb +2 -2
- data/spec/models/bulk_transaction_vo_spec.rb +2 -2
- data/spec/models/business_address_spec.rb +2 -2
- data/spec/models/business_details_vo_spec.rb +71 -0
- data/spec/models/business_spec.rb +2 -2
- data/spec/models/card_address_spec.rb +2 -2
- 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 +2 -2
- data/spec/models/card_spec.rb +15 -2
- data/spec/models/cash_spec.rb +2 -2
- data/spec/models/categories_map_spec.rb +2 -2
- data/spec/models/check_images_spec.rb +2 -2
- data/spec/models/check_spec.rb +2 -2
- data/spec/models/client_account_mapping_spec.rb +2 -2
- data/spec/models/client_address_spec.rb +2 -2
- 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/{category_internal_response_vo_spec.rb → client_credentials_spec.rb} +11 -11
- data/spec/models/client_relationship_spec.rb +2 -2
- data/spec/models/client_response_spec.rb +2 -2
- data/spec/models/client_spec.rb +2 -2
- data/spec/models/client_status_spec.rb +2 -2
- data/spec/models/client_view_goal_data_spec.rb +2 -2
- data/spec/models/{customer_address_spec.rb → contact_address_spec.rb} +8 -8
- data/spec/models/{customer_spec.rb → contact_spec.rb} +32 -8
- data/spec/models/country_spec.rb +8 -2
- data/spec/models/currency_spec.rb +2 -2
- data/spec/models/customer_revenue_spec.rb +11 -5
- data/spec/models/date_double_vo_spec.rb +2 -2
- data/spec/models/decision_tree_co_spec.rb +2 -2
- data/spec/models/decision_tree_result_vo_spec.rb +2 -2
- data/spec/models/decision_tree_spec.rb +2 -2
- data/spec/models/document_spec.rb +2 -2
- data/spec/models/employment_spec.rb +2 -2
- data/spec/models/external_account_transfer_spec.rb +2 -2
- data/spec/models/feature_spec.rb +2 -2
- data/spec/models/feature_track_spec.rb +2 -2
- data/spec/models/financial_statement_spec.rb +8 -2
- data/spec/models/funding_request_map_spec.rb +2 -2
- data/spec/models/funding_spec.rb +11 -5
- data/spec/models/{daily_deposit_spec.rb → funding_transaction_spec.rb} +12 -18
- data/spec/models/{v_account_asset_size_spec.rb → fx_rate_spec.rb} +12 -12
- data/spec/models/fx_rate_view_spec.rb +2 -2
- data/spec/models/goal_account_mapping_spec.rb +2 -2
- data/spec/models/goal_spec.rb +2 -2
- data/spec/models/goal_track_accounts_spec.rb +2 -2
- data/spec/models/goal_track_spec.rb +2 -2
- data/spec/models/household_spec.rb +2 -2
- data/spec/models/institution_spec.rb +83 -0
- data/spec/models/investment_spec.rb +2 -2
- data/spec/models/invoice_payment_spec.rb +8 -2
- data/spec/models/invoice_spec.rb +17 -5
- data/spec/models/json_node_spec.rb +2 -138
- data/spec/models/line_items_spec.rb +2 -2
- data/spec/models/location_spec.rb +2 -2
- data/spec/models/member_spec.rb +2 -2
- data/spec/models/merchant_category_code_spec.rb +8 -2
- data/spec/models/merchants_map_spec.rb +2 -2
- data/spec/models/model_asset_size_spec.rb +2 -2
- data/spec/models/model_comment_spec.rb +2 -2
- data/spec/models/model_holding_spec.rb +2 -2
- data/spec/models/model_holding_vo_spec.rb +2 -2
- data/spec/models/model_spec.rb +2 -2
- data/spec/models/model_transaction_spec.rb +2 -2
- data/spec/models/mx_merchant_res_spec.rb +4 -4
- data/spec/models/node_relationship_spec.rb +2 -2
- data/spec/models/node_spec.rb +2 -2
- data/spec/models/notification_client_spec.rb +2 -2
- data/spec/models/notification_setting_spec.rb +2 -2
- data/spec/models/notification_spec.rb +2 -2
- data/spec/models/order_bulk_spec.rb +2 -2
- data/spec/models/order_reconcile_request_spec.rb +2 -2
- data/spec/models/order_reconcile_return_object_spec.rb +2 -2
- data/spec/models/order_spec.rb +2 -2
- data/spec/models/order_status_spec.rb +2 -2
- data/spec/models/order_track_spec.rb +2 -2
- data/spec/models/order_vo_clone_spec.rb +2 -2
- data/spec/models/overflow_bank_link_map_spec.rb +8 -2
- data/spec/models/overflow_settings_spec.rb +2 -2
- data/spec/models/overflow_spec.rb +2 -2
- data/spec/models/overflow_vo_spec.rb +2 -2
- data/spec/models/ownership_spec.rb +2 -2
- data/spec/models/page_account_allocation_mapping_spec.rb +2 -2
- data/spec/models/page_account_permission_vo_spec.rb +2 -2
- data/spec/models/page_account_spec.rb +2 -2
- data/spec/models/page_account_status_spec.rb +2 -2
- data/spec/models/page_account_type_spec.rb +2 -2
- data/spec/models/page_admin_client_spec.rb +2 -2
- data/spec/models/page_aggregation_account_balance_spec.rb +2 -2
- data/spec/models/page_aggregation_account_holding_spec.rb +2 -2
- data/spec/models/page_aggregation_account_spec.rb +2 -2
- data/spec/models/page_aggregation_account_transaction_spec.rb +2 -2
- data/spec/models/page_allocation_composition_spec.rb +2 -2
- data/spec/models/page_allocation_spec.rb +2 -2
- data/spec/models/page_answer_spec.rb +2 -2
- data/spec/models/page_application_spec.rb +2 -2
- data/spec/models/page_audit_log_spec.rb +2 -2
- data/spec/models/page_bank_link_spec.rb +2 -2
- data/spec/models/page_benchmark_spec.rb +2 -2
- data/spec/models/page_budget_spec.rb +2 -2
- data/spec/models/page_business_spec.rb +2 -2
- data/spec/models/page_card_program_spec.rb +2 -2
- data/spec/models/page_card_spec.rb +2 -2
- data/spec/models/page_client_business_card_vo_spec.rb +89 -0
- data/spec/models/page_client_response_spec.rb +2 -2
- data/spec/models/page_client_spec.rb +2 -2
- data/spec/models/page_client_status_spec.rb +2 -2
- data/spec/models/{page_customer_spec.rb → page_contact_spec.rb} +8 -8
- data/spec/models/page_customer_revenue_spec.rb +2 -2
- data/spec/models/page_decision_tree_spec.rb +2 -2
- data/spec/models/page_document_spec.rb +2 -2
- data/spec/models/page_external_account_transfer_spec.rb +2 -2
- data/spec/models/page_feature_spec.rb +2 -2
- data/spec/models/page_feature_track_spec.rb +2 -2
- data/spec/models/page_financial_statement_spec.rb +2 -2
- data/spec/models/page_funding_spec.rb +2 -2
- data/spec/models/{page_v_account_asset_size_spec.rb → page_funding_transaction_spec.rb} +8 -8
- data/spec/models/page_goal_spec.rb +2 -2
- data/spec/models/page_goal_track_spec.rb +2 -2
- data/spec/models/page_household_spec.rb +2 -2
- data/spec/models/{page_daily_deposit_spec.rb → page_institution_spec.rb} +8 -8
- data/spec/models/page_invoice_payment_spec.rb +2 -2
- data/spec/models/page_invoice_spec.rb +2 -2
- data/spec/models/page_model_asset_size_spec.rb +2 -2
- data/spec/models/page_model_comment_spec.rb +2 -2
- data/spec/models/page_model_holding_spec.rb +2 -2
- data/spec/models/page_model_spec.rb +2 -2
- data/spec/models/page_model_transaction_spec.rb +2 -2
- data/spec/models/page_mx_merchant_res_spec.rb +14 -2
- data/spec/models/page_node_relationship_spec.rb +2 -2
- data/spec/models/page_node_spec.rb +2 -2
- data/spec/models/page_notification_client_spec.rb +2 -2
- data/spec/models/page_notification_setting_spec.rb +2 -2
- data/spec/models/page_notification_spec.rb +2 -2
- data/spec/models/page_order_bulk_spec.rb +2 -2
- data/spec/models/page_order_spec.rb +2 -2
- data/spec/models/page_order_status_spec.rb +2 -2
- data/spec/models/page_order_track_spec.rb +2 -2
- data/spec/models/page_overflow_settings_spec.rb +2 -2
- data/spec/models/page_overflow_spec.rb +2 -2
- data/spec/models/page_portfolio_asset_size_log_spec.rb +2 -2
- data/spec/models/page_portfolio_comment_spec.rb +2 -2
- data/spec/models/page_portfolio_goal_spec.rb +2 -2
- data/spec/models/{page_daily_withdrawal_spec.rb → page_portfolio_holding_agg_spec.rb} +8 -8
- data/spec/models/page_portfolio_holding_log_spec.rb +2 -2
- data/spec/models/page_portfolio_spec.rb +2 -2
- data/spec/models/page_portfolio_transaction_spec.rb +2 -2
- data/spec/models/page_question_spec.rb +2 -2
- data/spec/models/page_questionnaire_spec.rb +2 -2
- data/spec/models/page_reason_code_spec.rb +2 -2
- data/spec/models/page_risk_profile_spec.rb +2 -2
- data/spec/models/page_roundup_settings_spec.rb +2 -2
- data/spec/models/page_roundup_spec.rb +2 -2
- data/spec/models/page_score_spec.rb +2 -2
- data/spec/models/page_security_exclusion_spec.rb +2 -2
- data/spec/models/page_security_price_spec.rb +2 -2
- data/spec/models/page_security_spec.rb +2 -2
- data/spec/models/page_spending_control_spec.rb +2 -2
- data/spec/models/page_stage_spec.rb +2 -2
- data/spec/models/page_transaction_code_spec.rb +2 -2
- data/spec/models/page_webhook_spec.rb +2 -2
- data/spec/models/pageable_spec.rb +71 -0
- data/spec/models/permission_vo_spec.rb +2 -2
- data/spec/models/portfolio_asset_size_log_spec.rb +2 -2
- data/spec/models/portfolio_comment_spec.rb +2 -2
- data/spec/models/portfolio_goal_map_spec.rb +2 -2
- data/spec/models/portfolio_goal_spec.rb +2 -2
- data/spec/models/portfolio_holding_agg_spec.rb +2 -2
- data/spec/models/portfolio_holding_log_spec.rb +2 -2
- data/spec/models/portfolio_spec.rb +2 -2
- data/spec/models/portfolio_transaction_spec.rb +26 -2
- data/spec/models/question_spec.rb +20 -2
- data/spec/models/questionnaire_spec.rb +8 -2
- data/spec/models/reason_code_spec.rb +2 -2
- data/spec/models/risk_profile_spec.rb +2 -2
- data/spec/models/roundup_co_spec.rb +2 -2
- data/spec/models/roundup_settings_spec.rb +2 -2
- data/spec/models/roundup_spec.rb +2 -2
- data/spec/models/score_spec.rb +2 -2
- data/spec/models/securities_composition_spec.rb +2 -2
- data/spec/models/securities_country_spec.rb +2 -2
- data/spec/models/security_composition_vo_spec.rb +2 -2
- data/spec/models/security_country_vo_spec.rb +2 -2
- data/spec/models/security_exclusion_spec.rb +2 -2
- data/spec/models/security_price_spec.rb +2 -2
- data/spec/models/security_spec.rb +2 -2
- data/spec/models/sort_spec.rb +2 -2
- data/spec/models/spending_control_spec.rb +8 -2
- data/spec/models/stage_spec.rb +14 -2
- data/spec/models/stat_spec.rb +2 -2
- data/spec/models/state_spec.rb +2 -2
- data/spec/models/statistic_resource_vo_spec.rb +2 -2
- data/spec/models/token_date_request_spec.rb +2 -2
- data/spec/models/transaction_code_spec.rb +11 -17
- data/spec/models/v_account_vo_spec.rb +2 -2
- data/spec/models/v_client_goal_view_data_spec.rb +2 -2
- data/spec/models/v_portfolio_vo_spec.rb +2 -2
- data/spec/models/webhook_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +62 -316
- data/docs/Account.md +0 -22
- data/docs/AccountAllocationMapping.md +0 -17
- data/docs/AccountApi.md +0 -1919
- data/docs/AccountMap.md +0 -9
- data/docs/AccountPermissionVO.md +0 -9
- data/docs/AccountPortfolioRebalanceRequest.md +0 -21
- data/docs/AccountStatus.md +0 -16
- data/docs/AccountType.md +0 -23
- data/docs/AclClientPermissionVO.md +0 -10
- data/docs/AdminClient.md +0 -18
- data/docs/AdminClientApi.md +0 -309
- data/docs/AggregationAccount.md +0 -30
- data/docs/AggregationAccountApi.md +0 -1702
- data/docs/AggregationAccountBalance.md +0 -18
- data/docs/AggregationAccountHolding.md +0 -26
- data/docs/AggregationAccountTransaction.md +0 -23
- data/docs/AggregationAccountsMap.md +0 -9
- data/docs/Allocation.md +0 -22
- data/docs/AllocationAggregatedVO.md +0 -13
- data/docs/AllocationApi.md +0 -872
- data/docs/AllocationComposition.md +0 -18
- data/docs/AllocationCompositionAggregatedVO.md +0 -19
- data/docs/AllocationCompositionModelHoldingsVO.md +0 -22
- data/docs/AllocationNodeMap.md +0 -8
- data/docs/Answer.md +0 -18
- data/docs/AnswerMap.md +0 -8
- data/docs/Application.md +0 -15
- data/docs/ApplicationApi.md +0 -309
- data/docs/AuditLog.md +0 -23
- data/docs/AuditLogApi.md +0 -191
- data/docs/AvailableDateDoubleVO.md +0 -14
- data/docs/BankCredit.md +0 -15
- data/docs/BankLink.md +0 -29
- data/docs/BankLinkMap.md +0 -9
- data/docs/Benchmark.md +0 -17
- data/docs/BenchmarkApi.md +0 -375
- data/docs/BenchmarkComposition.md +0 -9
- data/docs/Brokers.md +0 -9
- data/docs/Budget.md +0 -25
- data/docs/BudgetAggregationAccount.md +0 -8
- data/docs/BudgetApi.md +0 -315
- data/docs/BudgetObject.md +0 -10
- data/docs/BulkApi.md +0 -249
- data/docs/BulkTransaction.md +0 -13
- data/docs/BulkTransactionVO.md +0 -12
- data/docs/Business.md +0 -32
- data/docs/BusinessAddress.md +0 -15
- data/docs/BusinessApi.md +0 -523
- data/docs/Card.md +0 -35
- data/docs/CardAddress.md +0 -14
- data/docs/CardApi.md +0 -754
- data/docs/CardProgram.md +0 -23
- data/docs/Cash.md +0 -10
- data/docs/CategoriesMap.md +0 -9
- data/docs/CategoryInternalResponseVO.md +0 -10
- data/docs/CategoryResponseVO.md +0 -9
- data/docs/Check.md +0 -10
- data/docs/CheckImages.md +0 -9
- data/docs/Client.md +0 -39
- data/docs/ClientAccountMapping.md +0 -10
- data/docs/ClientAddress.md +0 -15
- data/docs/ClientApi.md +0 -1008
- data/docs/ClientRelationship.md +0 -10
- data/docs/ClientResponse.md +0 -17
- data/docs/ClientStatus.md +0 -16
- data/docs/ClientViewGoalData.md +0 -21
- data/docs/Country.md +0 -12
- data/docs/Currency.md +0 -11
- data/docs/Customer.md +0 -21
- data/docs/CustomerAddress.md +0 -14
- data/docs/CustomerApi.md +0 -616
- data/docs/CustomerRevenue.md +0 -16
- data/docs/DailyDeposit.md +0 -28
- data/docs/DailyWithdrawal.md +0 -29
- data/docs/DateDoubleVO.md +0 -10
- data/docs/DecisionTree.md +0 -17
- data/docs/DecisionTreeApi.md +0 -971
- data/docs/DecisionTreeCO.md +0 -9
- data/docs/DecisionTreeResultVO.md +0 -9
- data/docs/Document.md +0 -30
- data/docs/DocumentApi.md +0 -309
- data/docs/Employment.md +0 -11
- data/docs/ExternalAccountTransfer.md +0 -28
- data/docs/Feature.md +0 -18
- data/docs/FeatureApi.md +0 -610
- data/docs/FeatureTrack.md +0 -14
- data/docs/FinancialStatement.md +0 -23
- data/docs/FinancialStatementApi.md +0 -315
- data/docs/Funding.md +0 -37
- data/docs/FundingApi.md +0 -1601
- data/docs/FundingRequestMap.md +0 -8
- data/docs/FxRateView.md +0 -11
- data/docs/Goal.md +0 -24
- data/docs/GoalAccountMapping.md +0 -11
- data/docs/GoalApi.md +0 -841
- data/docs/GoalTrack.md +0 -26
- data/docs/GoalTrackAccounts.md +0 -8
- data/docs/Household.md +0 -18
- data/docs/HouseholdApi.md +0 -523
- data/docs/Investment.md +0 -16
- data/docs/Invoice.md +0 -32
- data/docs/InvoiceApi.md +0 -622
- data/docs/InvoicePayment.md +0 -15
- data/docs/JsonNode.md +0 -29
- data/docs/LineItems.md +0 -15
- data/docs/Location.md +0 -15
- data/docs/MXMerchantRes.md +0 -14
- data/docs/Member.md +0 -11
- data/docs/MerchantCategoryCode.md +0 -11
- data/docs/MerchantsMap.md +0 -9
- data/docs/Model.md +0 -29
- data/docs/ModelApi.md +0 -1580
- data/docs/ModelAssetSize.md +0 -16
- data/docs/ModelComment.md +0 -15
- data/docs/ModelHolding.md +0 -25
- data/docs/ModelHoldingVO.md +0 -11
- data/docs/ModelTransaction.md +0 -17
- data/docs/Node.md +0 -15
- data/docs/NodeRelationship.md +0 -18
- data/docs/Notification.md +0 -20
- data/docs/NotificationApi.md +0 -911
- data/docs/NotificationClient.md +0 -19
- data/docs/NotificationSetting.md +0 -19
- data/docs/Order.md +0 -27
- data/docs/OrderApi.md +0 -1764
- data/docs/OrderBulk.md +0 -18
- data/docs/OrderReconcileRequest.md +0 -12
- data/docs/OrderReconcileReturnObject.md +0 -12
- data/docs/OrderStatus.md +0 -14
- data/docs/OrderTrack.md +0 -20
- data/docs/OrderVoClone.md +0 -20
- data/docs/Overflow.md +0 -16
- data/docs/OverflowApi.md +0 -492
- data/docs/OverflowBankLinkMap.md +0 -9
- data/docs/OverflowSettings.md +0 -17
- data/docs/OverflowVO.md +0 -10
- data/docs/Ownership.md +0 -12
- data/docs/PageAccount.md +0 -16
- data/docs/PageAccountAllocationMapping.md +0 -16
- data/docs/PageAccountPermissionVO.md +0 -16
- data/docs/PageAccountStatus.md +0 -16
- data/docs/PageAccountType.md +0 -16
- data/docs/PageAdminClient.md +0 -16
- data/docs/PageAggregationAccount.md +0 -16
- data/docs/PageAggregationAccountBalance.md +0 -16
- data/docs/PageAggregationAccountHolding.md +0 -16
- data/docs/PageAggregationAccountTransaction.md +0 -16
- data/docs/PageAllocation.md +0 -16
- data/docs/PageAllocationComposition.md +0 -16
- data/docs/PageAnswer.md +0 -16
- data/docs/PageApplication.md +0 -16
- data/docs/PageAuditLog.md +0 -16
- data/docs/PageBankLink.md +0 -16
- data/docs/PageBenchmark.md +0 -16
- data/docs/PageBudget.md +0 -16
- data/docs/PageBusiness.md +0 -16
- data/docs/PageCard.md +0 -16
- data/docs/PageCardProgram.md +0 -16
- data/docs/PageClient.md +0 -16
- data/docs/PageClientResponse.md +0 -16
- data/docs/PageClientStatus.md +0 -16
- data/docs/PageCustomer.md +0 -16
- data/docs/PageCustomerRevenue.md +0 -16
- data/docs/PageDailyDeposit.md +0 -16
- data/docs/PageDailyWithdrawal.md +0 -16
- data/docs/PageDecisionTree.md +0 -16
- data/docs/PageDocument.md +0 -16
- data/docs/PageExternalAccountTransfer.md +0 -16
- data/docs/PageFeature.md +0 -16
- data/docs/PageFeatureTrack.md +0 -16
- data/docs/PageFinancialStatement.md +0 -16
- data/docs/PageFunding.md +0 -16
- data/docs/PageGoal.md +0 -16
- data/docs/PageGoalTrack.md +0 -16
- data/docs/PageHousehold.md +0 -16
- data/docs/PageInvoice.md +0 -16
- data/docs/PageInvoicePayment.md +0 -16
- data/docs/PageMXMerchantRes.md +0 -16
- data/docs/PageModel.md +0 -16
- data/docs/PageModelAssetSize.md +0 -16
- data/docs/PageModelComment.md +0 -16
- data/docs/PageModelHolding.md +0 -16
- data/docs/PageModelTransaction.md +0 -16
- data/docs/PageNode.md +0 -16
- data/docs/PageNodeRelationship.md +0 -16
- data/docs/PageNotification.md +0 -16
- data/docs/PageNotificationClient.md +0 -16
- data/docs/PageNotificationSetting.md +0 -16
- data/docs/PageOrder.md +0 -16
- data/docs/PageOrderBulk.md +0 -16
- data/docs/PageOrderStatus.md +0 -16
- data/docs/PageOrderTrack.md +0 -16
- data/docs/PageOverflow.md +0 -16
- data/docs/PageOverflowSettings.md +0 -16
- data/docs/PagePortfolio.md +0 -16
- data/docs/PagePortfolioAssetSizeLog.md +0 -16
- data/docs/PagePortfolioComment.md +0 -16
- data/docs/PagePortfolioGoal.md +0 -16
- data/docs/PagePortfolioHoldingLog.md +0 -16
- data/docs/PagePortfolioTransaction.md +0 -16
- data/docs/PageQuestion.md +0 -16
- data/docs/PageQuestionnaire.md +0 -16
- data/docs/PageReasonCode.md +0 -16
- data/docs/PageRiskProfile.md +0 -16
- data/docs/PageRoundup.md +0 -16
- data/docs/PageRoundupSettings.md +0 -16
- data/docs/PageScore.md +0 -16
- data/docs/PageSecurity.md +0 -16
- data/docs/PageSecurityExclusion.md +0 -16
- data/docs/PageSecurityPrice.md +0 -16
- data/docs/PageSpendingControl.md +0 -16
- data/docs/PageStage.md +0 -16
- data/docs/PageTransactionCode.md +0 -16
- data/docs/PageVAccountAssetSize.md +0 -16
- data/docs/PageWebhook.md +0 -16
- data/docs/PerformanceApi.md +0 -973
- data/docs/PermissionVO.md +0 -9
- data/docs/Portfolio.md +0 -22
- data/docs/PortfolioApi.md +0 -1902
- data/docs/PortfolioAssetSizeLog.md +0 -20
- data/docs/PortfolioComment.md +0 -16
- data/docs/PortfolioGoal.md +0 -14
- data/docs/PortfolioGoalMap.md +0 -9
- data/docs/PortfolioHoldingAgg.md +0 -14
- data/docs/PortfolioHoldingLog.md +0 -21
- data/docs/PortfolioTransaction.md +0 -37
- data/docs/Question.md +0 -23
- data/docs/Questionnaire.md +0 -17
- data/docs/QuestionnaireApi.md +0 -1212
- data/docs/ReasonCode.md +0 -17
- data/docs/ResourceApi.md +0 -534
- data/docs/RiskProfile.md +0 -18
- data/docs/RiskProfileApi.md +0 -309
- data/docs/Roundup.md +0 -15
- data/docs/RoundupApi.md +0 -492
- data/docs/RoundupCO.md +0 -12
- data/docs/RoundupSettings.md +0 -21
- data/docs/Score.md +0 -23
- data/docs/ScoreApi.md +0 -309
- data/docs/SecuritiesApi.md +0 -917
- data/docs/SecuritiesComposition.md +0 -11
- data/docs/SecuritiesCountry.md +0 -9
- data/docs/Security.md +0 -32
- data/docs/SecurityCompositionVO.md +0 -21
- data/docs/SecurityCountryVO.md +0 -9
- data/docs/SecurityExclusion.md +0 -18
- data/docs/SecurityPrice.md +0 -20
- data/docs/Sort.md +0 -13
- data/docs/SpendingControl.md +0 -21
- data/docs/SpendingControlApi.md +0 -309
- data/docs/Stage.md +0 -22
- data/docs/Stat.md +0 -9
- data/docs/State.md +0 -10
- data/docs/StatisticResourceVO.md +0 -11
- data/docs/TokenDateRequest.md +0 -13
- data/docs/TransactionCode.md +0 -20
- data/docs/UtilsApi.md +0 -911
- data/docs/VAccountAssetSize.md +0 -11
- data/docs/VAccountVO.md +0 -13
- data/docs/VClientGoalViewData.md +0 -13
- data/docs/VPortfolioVO.md +0 -11
- data/docs/Webhook.md +0 -15
- data/docs/WebhookApi.md +0 -309
- data/lib/nucleus_api/api/application_api.rb +0 -301
- data/lib/nucleus_api/api/audit_log_api.rb +0 -190
- data/lib/nucleus_api/api/feature_api.rb +0 -579
- data/lib/nucleus_api/api/notification_api.rb +0 -857
- data/lib/nucleus_api/api/performance_api.rb +0 -1131
- data/lib/nucleus_api/models/daily_withdrawal.rb +0 -405
- data/spec/api/application_api_spec.rb +0 -100
- data/spec/api/audit_log_api_spec.rb +0 -75
- data/spec/api/feature_api_spec.rb +0 -165
- data/spec/api/notification_api_spec.rb +0 -230
- data/spec/api/performance_api_spec.rb +0 -355
- data/spec/models/category_response_vo_spec.rb +0 -47
- data/spec/models/daily_withdrawal_spec.rb +0 -167
|
@@ -3,47 +3,47 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.19
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
require 'uri'
|
|
14
14
|
|
|
15
15
|
module NucleusApi
|
|
16
|
-
class
|
|
16
|
+
class ContactApi
|
|
17
17
|
attr_accessor :api_client
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# Create a
|
|
23
|
-
# Create a new
|
|
24
|
-
# @param
|
|
22
|
+
# Create a contact
|
|
23
|
+
# Create a new contact, with your firm.
|
|
24
|
+
# @param contact contact
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @return [
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
26
|
+
# @return [Contact]
|
|
27
|
+
def create_contact_using_post(contact, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_contact_using_post_with_http_info(contact, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# Create a
|
|
33
|
-
# Create a new
|
|
34
|
-
# @param
|
|
32
|
+
# Create a contact
|
|
33
|
+
# Create a new contact, with your firm.
|
|
34
|
+
# @param contact contact
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
|
-
# @return [Array<(
|
|
37
|
-
def
|
|
36
|
+
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
|
37
|
+
def create_contact_using_post_with_http_info(contact, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.create_contact_using_post ...'
|
|
40
40
|
end
|
|
41
|
-
# verify the required parameter '
|
|
42
|
-
if @api_client.config.client_side_validation &&
|
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
|
41
|
+
# verify the required parameter 'contact' is set
|
|
42
|
+
if @api_client.config.client_side_validation && contact.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'contact' when calling ContactApi.create_contact_using_post"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
|
-
local_var_path = '/
|
|
46
|
+
local_var_path = '/nucleus/v1/contact'
|
|
47
47
|
|
|
48
48
|
# query parameters
|
|
49
49
|
query_params = {}
|
|
@@ -59,7 +59,7 @@ module NucleusApi
|
|
|
59
59
|
form_params = {}
|
|
60
60
|
|
|
61
61
|
# http body (model)
|
|
62
|
-
post_body = @api_client.object_to_http_body(
|
|
62
|
+
post_body = @api_client.object_to_http_body(contact)
|
|
63
63
|
auth_names = ['oauth2']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
65
65
|
:header_params => header_params,
|
|
@@ -67,37 +67,37 @@ module NucleusApi
|
|
|
67
67
|
:form_params => form_params,
|
|
68
68
|
:body => post_body,
|
|
69
69
|
:auth_names => auth_names,
|
|
70
|
-
:return_type => '
|
|
70
|
+
:return_type => 'Contact')
|
|
71
71
|
if @api_client.config.debugging
|
|
72
|
-
@api_client.config.logger.debug "API called:
|
|
72
|
+
@api_client.config.logger.debug "API called: ContactApi#create_contact_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
73
|
end
|
|
74
74
|
return data, status_code, headers
|
|
75
75
|
end
|
|
76
|
-
# Create a customer
|
|
77
|
-
# Create a new customer, with your firm.
|
|
78
|
-
# @param
|
|
76
|
+
# Create a customer revenue
|
|
77
|
+
# Create a new customer revenue, with your firm.
|
|
78
|
+
# @param customer_revenue customerRevenue
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
|
80
|
-
# @return [
|
|
81
|
-
def
|
|
82
|
-
data, _status_code, _headers =
|
|
80
|
+
# @return [CustomerRevenue]
|
|
81
|
+
def create_customer_revenue_using_post(customer_revenue, opts = {})
|
|
82
|
+
data, _status_code, _headers = create_customer_revenue_using_post_with_http_info(customer_revenue, opts)
|
|
83
83
|
data
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
# Create a customer
|
|
87
|
-
# Create a new customer, with your firm.
|
|
88
|
-
# @param
|
|
86
|
+
# Create a customer revenue
|
|
87
|
+
# Create a new customer revenue, with your firm.
|
|
88
|
+
# @param customer_revenue customerRevenue
|
|
89
89
|
# @param [Hash] opts the optional parameters
|
|
90
|
-
# @return [Array<(
|
|
91
|
-
def
|
|
90
|
+
# @return [Array<(CustomerRevenue, Fixnum, Hash)>] CustomerRevenue data, response status code and response headers
|
|
91
|
+
def create_customer_revenue_using_post_with_http_info(customer_revenue, opts = {})
|
|
92
92
|
if @api_client.config.debugging
|
|
93
|
-
@api_client.config.logger.debug 'Calling API:
|
|
93
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.create_customer_revenue_using_post ...'
|
|
94
94
|
end
|
|
95
|
-
# verify the required parameter '
|
|
96
|
-
if @api_client.config.client_side_validation &&
|
|
97
|
-
fail ArgumentError, "Missing the required parameter '
|
|
95
|
+
# verify the required parameter 'customer_revenue' is set
|
|
96
|
+
if @api_client.config.client_side_validation && customer_revenue.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'customer_revenue' when calling ContactApi.create_customer_revenue_using_post"
|
|
98
98
|
end
|
|
99
99
|
# resource path
|
|
100
|
-
local_var_path = '/
|
|
100
|
+
local_var_path = '/nucleus/v1/customer_revenue'
|
|
101
101
|
|
|
102
102
|
# query parameters
|
|
103
103
|
query_params = {}
|
|
@@ -113,7 +113,7 @@ module NucleusApi
|
|
|
113
113
|
form_params = {}
|
|
114
114
|
|
|
115
115
|
# http body (model)
|
|
116
|
-
post_body = @api_client.object_to_http_body(
|
|
116
|
+
post_body = @api_client.object_to_http_body(customer_revenue)
|
|
117
117
|
auth_names = ['oauth2']
|
|
118
118
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
119
119
|
:header_params => header_params,
|
|
@@ -121,37 +121,37 @@ module NucleusApi
|
|
|
121
121
|
:form_params => form_params,
|
|
122
122
|
:body => post_body,
|
|
123
123
|
:auth_names => auth_names,
|
|
124
|
-
:return_type => '
|
|
124
|
+
:return_type => 'CustomerRevenue')
|
|
125
125
|
if @api_client.config.debugging
|
|
126
|
-
@api_client.config.logger.debug "API called:
|
|
126
|
+
@api_client.config.logger.debug "API called: ContactApi#create_customer_revenue_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
127
127
|
end
|
|
128
128
|
return data, status_code, headers
|
|
129
129
|
end
|
|
130
|
-
# Delete a
|
|
131
|
-
# Delete a
|
|
132
|
-
# @param
|
|
130
|
+
# Delete a contact
|
|
131
|
+
# Delete a contact.
|
|
132
|
+
# @param contact_id UUID contact_id
|
|
133
133
|
# @param [Hash] opts the optional parameters
|
|
134
134
|
# @return [nil]
|
|
135
|
-
def
|
|
136
|
-
|
|
135
|
+
def delete_contact_using_delete(contact_id, opts = {})
|
|
136
|
+
delete_contact_using_delete_with_http_info(contact_id, opts)
|
|
137
137
|
nil
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
-
# Delete a
|
|
141
|
-
# Delete a
|
|
142
|
-
# @param
|
|
140
|
+
# Delete a contact
|
|
141
|
+
# Delete a contact.
|
|
142
|
+
# @param contact_id UUID contact_id
|
|
143
143
|
# @param [Hash] opts the optional parameters
|
|
144
144
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
145
|
-
def
|
|
145
|
+
def delete_contact_using_delete_with_http_info(contact_id, opts = {})
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug 'Calling API:
|
|
147
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.delete_contact_using_delete ...'
|
|
148
148
|
end
|
|
149
|
-
# verify the required parameter '
|
|
150
|
-
if @api_client.config.client_side_validation &&
|
|
151
|
-
fail ArgumentError, "Missing the required parameter '
|
|
149
|
+
# verify the required parameter 'contact_id' is set
|
|
150
|
+
if @api_client.config.client_side_validation && contact_id.nil?
|
|
151
|
+
fail ArgumentError, "Missing the required parameter 'contact_id' when calling ContactApi.delete_contact_using_delete"
|
|
152
152
|
end
|
|
153
153
|
# resource path
|
|
154
|
-
local_var_path = '/
|
|
154
|
+
local_var_path = '/nucleus/v1/contact/{contact_id}'.sub('{' + 'contact_id' + '}', contact_id.to_s)
|
|
155
155
|
|
|
156
156
|
# query parameters
|
|
157
157
|
query_params = {}
|
|
@@ -174,35 +174,35 @@ module NucleusApi
|
|
|
174
174
|
:body => post_body,
|
|
175
175
|
:auth_names => auth_names)
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
@api_client.config.logger.debug "API called:
|
|
177
|
+
@api_client.config.logger.debug "API called: ContactApi#delete_contact_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
178
178
|
end
|
|
179
179
|
return data, status_code, headers
|
|
180
180
|
end
|
|
181
|
-
# Delete a customer
|
|
182
|
-
# Delete a customer.
|
|
183
|
-
# @param
|
|
181
|
+
# Delete a customer revenue
|
|
182
|
+
# Delete a customer revenue.
|
|
183
|
+
# @param customer_revenue_id UUID customer_revenue_id
|
|
184
184
|
# @param [Hash] opts the optional parameters
|
|
185
185
|
# @return [nil]
|
|
186
|
-
def
|
|
187
|
-
|
|
186
|
+
def delete_customer_revenue_using_delete(customer_revenue_id, opts = {})
|
|
187
|
+
delete_customer_revenue_using_delete_with_http_info(customer_revenue_id, opts)
|
|
188
188
|
nil
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
-
# Delete a customer
|
|
192
|
-
# Delete a customer.
|
|
193
|
-
# @param
|
|
191
|
+
# Delete a customer revenue
|
|
192
|
+
# Delete a customer revenue.
|
|
193
|
+
# @param customer_revenue_id UUID customer_revenue_id
|
|
194
194
|
# @param [Hash] opts the optional parameters
|
|
195
195
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
196
|
-
def
|
|
196
|
+
def delete_customer_revenue_using_delete_with_http_info(customer_revenue_id, opts = {})
|
|
197
197
|
if @api_client.config.debugging
|
|
198
|
-
@api_client.config.logger.debug 'Calling API:
|
|
198
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.delete_customer_revenue_using_delete ...'
|
|
199
199
|
end
|
|
200
|
-
# verify the required parameter '
|
|
201
|
-
if @api_client.config.client_side_validation &&
|
|
202
|
-
fail ArgumentError, "Missing the required parameter '
|
|
200
|
+
# verify the required parameter 'customer_revenue_id' is set
|
|
201
|
+
if @api_client.config.client_side_validation && customer_revenue_id.nil?
|
|
202
|
+
fail ArgumentError, "Missing the required parameter 'customer_revenue_id' when calling ContactApi.delete_customer_revenue_using_delete"
|
|
203
203
|
end
|
|
204
204
|
# resource path
|
|
205
|
-
local_var_path = '/
|
|
205
|
+
local_var_path = '/nucleus/v1/customer_revenue/{customer_revenue_id}'.sub('{' + 'customer_revenue_id' + '}', customer_revenue_id.to_s)
|
|
206
206
|
|
|
207
207
|
# query parameters
|
|
208
208
|
query_params = {}
|
|
@@ -225,39 +225,39 @@ module NucleusApi
|
|
|
225
225
|
:body => post_body,
|
|
226
226
|
:auth_names => auth_names)
|
|
227
227
|
if @api_client.config.debugging
|
|
228
|
-
@api_client.config.logger.debug "API called:
|
|
228
|
+
@api_client.config.logger.debug "API called: ContactApi#delete_customer_revenue_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
229
229
|
end
|
|
230
230
|
return data, status_code, headers
|
|
231
231
|
end
|
|
232
|
-
# List all
|
|
233
|
-
# List all
|
|
232
|
+
# List all contact
|
|
233
|
+
# List all contact.
|
|
234
234
|
# @param [Hash] opts the optional parameters
|
|
235
235
|
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
236
236
|
# @option opts [String] :filter filter
|
|
237
237
|
# @option opts [String] :order_by order_by (default to update_date)
|
|
238
238
|
# @option opts [Integer] :page page (default to 0)
|
|
239
239
|
# @option opts [Integer] :size size (default to 25)
|
|
240
|
-
# @return [
|
|
241
|
-
def
|
|
242
|
-
data, _status_code, _headers =
|
|
240
|
+
# @return [PageContact]
|
|
241
|
+
def get_contact_all_using_get(opts = {})
|
|
242
|
+
data, _status_code, _headers = get_contact_all_using_get_with_http_info(opts)
|
|
243
243
|
data
|
|
244
244
|
end
|
|
245
245
|
|
|
246
|
-
# List all
|
|
247
|
-
# List all
|
|
246
|
+
# List all contact
|
|
247
|
+
# List all contact.
|
|
248
248
|
# @param [Hash] opts the optional parameters
|
|
249
249
|
# @option opts [BOOLEAN] :ascending ascending
|
|
250
250
|
# @option opts [String] :filter filter
|
|
251
251
|
# @option opts [String] :order_by order_by
|
|
252
252
|
# @option opts [Integer] :page page
|
|
253
253
|
# @option opts [Integer] :size size
|
|
254
|
-
# @return [Array<(
|
|
255
|
-
def
|
|
254
|
+
# @return [Array<(PageContact, Fixnum, Hash)>] PageContact data, response status code and response headers
|
|
255
|
+
def get_contact_all_using_get_with_http_info(opts = {})
|
|
256
256
|
if @api_client.config.debugging
|
|
257
|
-
@api_client.config.logger.debug 'Calling API:
|
|
257
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.get_contact_all_using_get ...'
|
|
258
258
|
end
|
|
259
259
|
# resource path
|
|
260
|
-
local_var_path = '/
|
|
260
|
+
local_var_path = '/nucleus/v1/contact'
|
|
261
261
|
|
|
262
262
|
# query parameters
|
|
263
263
|
query_params = {}
|
|
@@ -284,9 +284,61 @@ module NucleusApi
|
|
|
284
284
|
:form_params => form_params,
|
|
285
285
|
:body => post_body,
|
|
286
286
|
:auth_names => auth_names,
|
|
287
|
-
:return_type => '
|
|
287
|
+
:return_type => 'PageContact')
|
|
288
|
+
if @api_client.config.debugging
|
|
289
|
+
@api_client.config.logger.debug "API called: ContactApi#get_contact_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
|
+
end
|
|
291
|
+
return data, status_code, headers
|
|
292
|
+
end
|
|
293
|
+
# Retrieve a contact
|
|
294
|
+
# Retrieve a contact.
|
|
295
|
+
# @param contact_id UUID contact_id
|
|
296
|
+
# @param [Hash] opts the optional parameters
|
|
297
|
+
# @return [Contact]
|
|
298
|
+
def get_contact_using_get(contact_id, opts = {})
|
|
299
|
+
data, _status_code, _headers = get_contact_using_get_with_http_info(contact_id, opts)
|
|
300
|
+
data
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Retrieve a contact
|
|
304
|
+
# Retrieve a contact.
|
|
305
|
+
# @param contact_id UUID contact_id
|
|
306
|
+
# @param [Hash] opts the optional parameters
|
|
307
|
+
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
|
308
|
+
def get_contact_using_get_with_http_info(contact_id, opts = {})
|
|
309
|
+
if @api_client.config.debugging
|
|
310
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.get_contact_using_get ...'
|
|
311
|
+
end
|
|
312
|
+
# verify the required parameter 'contact_id' is set
|
|
313
|
+
if @api_client.config.client_side_validation && contact_id.nil?
|
|
314
|
+
fail ArgumentError, "Missing the required parameter 'contact_id' when calling ContactApi.get_contact_using_get"
|
|
315
|
+
end
|
|
316
|
+
# resource path
|
|
317
|
+
local_var_path = '/nucleus/v1/contact/{contact_id}'.sub('{' + 'contact_id' + '}', contact_id.to_s)
|
|
318
|
+
|
|
319
|
+
# query parameters
|
|
320
|
+
query_params = {}
|
|
321
|
+
|
|
322
|
+
# header parameters
|
|
323
|
+
header_params = {}
|
|
324
|
+
# HTTP header 'Accept' (if needed)
|
|
325
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
326
|
+
|
|
327
|
+
# form parameters
|
|
328
|
+
form_params = {}
|
|
329
|
+
|
|
330
|
+
# http body (model)
|
|
331
|
+
post_body = nil
|
|
332
|
+
auth_names = ['oauth2']
|
|
333
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
334
|
+
:header_params => header_params,
|
|
335
|
+
:query_params => query_params,
|
|
336
|
+
:form_params => form_params,
|
|
337
|
+
:body => post_body,
|
|
338
|
+
:auth_names => auth_names,
|
|
339
|
+
:return_type => 'Contact')
|
|
288
340
|
if @api_client.config.debugging
|
|
289
|
-
@api_client.config.logger.debug "API called:
|
|
341
|
+
@api_client.config.logger.debug "API called: ContactApi#get_contact_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
342
|
end
|
|
291
343
|
return data, status_code, headers
|
|
292
344
|
end
|
|
@@ -317,10 +369,10 @@ module NucleusApi
|
|
|
317
369
|
# @return [Array<(PageCustomerRevenue, Fixnum, Hash)>] PageCustomerRevenue data, response status code and response headers
|
|
318
370
|
def get_customer_revenue_all_using_get_with_http_info(opts = {})
|
|
319
371
|
if @api_client.config.debugging
|
|
320
|
-
@api_client.config.logger.debug 'Calling API:
|
|
372
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.get_customer_revenue_all_using_get ...'
|
|
321
373
|
end
|
|
322
374
|
# resource path
|
|
323
|
-
local_var_path = '/customer_revenue'
|
|
375
|
+
local_var_path = '/nucleus/v1/customer_revenue'
|
|
324
376
|
|
|
325
377
|
# query parameters
|
|
326
378
|
query_params = {}
|
|
@@ -350,7 +402,7 @@ module NucleusApi
|
|
|
350
402
|
:auth_names => auth_names,
|
|
351
403
|
:return_type => 'PageCustomerRevenue')
|
|
352
404
|
if @api_client.config.debugging
|
|
353
|
-
@api_client.config.logger.debug "API called:
|
|
405
|
+
@api_client.config.logger.debug "API called: ContactApi#get_customer_revenue_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
354
406
|
end
|
|
355
407
|
return data, status_code, headers
|
|
356
408
|
end
|
|
@@ -373,14 +425,14 @@ module NucleusApi
|
|
|
373
425
|
# @return [Array<(CustomerRevenue, Fixnum, Hash)>] CustomerRevenue data, response status code and response headers
|
|
374
426
|
def get_customer_revenue_using_get_with_http_info(customer_revenue_id, opts = {})
|
|
375
427
|
if @api_client.config.debugging
|
|
376
|
-
@api_client.config.logger.debug 'Calling API:
|
|
428
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.get_customer_revenue_using_get ...'
|
|
377
429
|
end
|
|
378
430
|
# verify the required parameter 'customer_revenue_id' is set
|
|
379
431
|
if @api_client.config.client_side_validation && customer_revenue_id.nil?
|
|
380
|
-
fail ArgumentError, "Missing the required parameter 'customer_revenue_id' when calling
|
|
432
|
+
fail ArgumentError, "Missing the required parameter 'customer_revenue_id' when calling ContactApi.get_customer_revenue_using_get"
|
|
381
433
|
end
|
|
382
434
|
# resource path
|
|
383
|
-
local_var_path = '/customer_revenue/{customer_revenue_id}'.sub('{' + 'customer_revenue_id' + '}', customer_revenue_id.to_s)
|
|
435
|
+
local_var_path = '/nucleus/v1/customer_revenue/{customer_revenue_id}'.sub('{' + 'customer_revenue_id' + '}', customer_revenue_id.to_s)
|
|
384
436
|
|
|
385
437
|
# query parameters
|
|
386
438
|
query_params = {}
|
|
@@ -405,35 +457,41 @@ module NucleusApi
|
|
|
405
457
|
:auth_names => auth_names,
|
|
406
458
|
:return_type => 'CustomerRevenue')
|
|
407
459
|
if @api_client.config.debugging
|
|
408
|
-
@api_client.config.logger.debug "API called:
|
|
460
|
+
@api_client.config.logger.debug "API called: ContactApi#get_customer_revenue_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
409
461
|
end
|
|
410
462
|
return data, status_code, headers
|
|
411
463
|
end
|
|
412
|
-
#
|
|
413
|
-
#
|
|
414
|
-
# @param
|
|
464
|
+
# Update a contact
|
|
465
|
+
# Update a contact.
|
|
466
|
+
# @param contact contact
|
|
467
|
+
# @param contact_id UUID contact_id
|
|
415
468
|
# @param [Hash] opts the optional parameters
|
|
416
|
-
# @return [
|
|
417
|
-
def
|
|
418
|
-
data, _status_code, _headers =
|
|
469
|
+
# @return [Contact]
|
|
470
|
+
def update_contact_using_put(contact, contact_id, opts = {})
|
|
471
|
+
data, _status_code, _headers = update_contact_using_put_with_http_info(contact, contact_id, opts)
|
|
419
472
|
data
|
|
420
473
|
end
|
|
421
474
|
|
|
422
|
-
#
|
|
423
|
-
#
|
|
424
|
-
# @param
|
|
475
|
+
# Update a contact
|
|
476
|
+
# Update a contact.
|
|
477
|
+
# @param contact contact
|
|
478
|
+
# @param contact_id UUID contact_id
|
|
425
479
|
# @param [Hash] opts the optional parameters
|
|
426
|
-
# @return [Array<(
|
|
427
|
-
def
|
|
480
|
+
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
|
481
|
+
def update_contact_using_put_with_http_info(contact, contact_id, opts = {})
|
|
428
482
|
if @api_client.config.debugging
|
|
429
|
-
@api_client.config.logger.debug 'Calling API:
|
|
483
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.update_contact_using_put ...'
|
|
430
484
|
end
|
|
431
|
-
# verify the required parameter '
|
|
432
|
-
if @api_client.config.client_side_validation &&
|
|
433
|
-
fail ArgumentError, "Missing the required parameter '
|
|
485
|
+
# verify the required parameter 'contact' is set
|
|
486
|
+
if @api_client.config.client_side_validation && contact.nil?
|
|
487
|
+
fail ArgumentError, "Missing the required parameter 'contact' when calling ContactApi.update_contact_using_put"
|
|
488
|
+
end
|
|
489
|
+
# verify the required parameter 'contact_id' is set
|
|
490
|
+
if @api_client.config.client_side_validation && contact_id.nil?
|
|
491
|
+
fail ArgumentError, "Missing the required parameter 'contact_id' when calling ContactApi.update_contact_using_put"
|
|
434
492
|
end
|
|
435
493
|
# resource path
|
|
436
|
-
local_var_path = '/
|
|
494
|
+
local_var_path = '/nucleus/v1/contact/{contact_id}'.sub('{' + 'contact_id' + '}', contact_id.to_s)
|
|
437
495
|
|
|
438
496
|
# query parameters
|
|
439
497
|
query_params = {}
|
|
@@ -442,22 +500,24 @@ module NucleusApi
|
|
|
442
500
|
header_params = {}
|
|
443
501
|
# HTTP header 'Accept' (if needed)
|
|
444
502
|
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
503
|
+
# HTTP header 'Content-Type'
|
|
504
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
445
505
|
|
|
446
506
|
# form parameters
|
|
447
507
|
form_params = {}
|
|
448
508
|
|
|
449
509
|
# http body (model)
|
|
450
|
-
post_body =
|
|
510
|
+
post_body = @api_client.object_to_http_body(contact)
|
|
451
511
|
auth_names = ['oauth2']
|
|
452
|
-
data, status_code, headers = @api_client.call_api(:
|
|
512
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
453
513
|
:header_params => header_params,
|
|
454
514
|
:query_params => query_params,
|
|
455
515
|
:form_params => form_params,
|
|
456
516
|
:body => post_body,
|
|
457
517
|
:auth_names => auth_names,
|
|
458
|
-
:return_type => '
|
|
518
|
+
:return_type => 'Contact')
|
|
459
519
|
if @api_client.config.debugging
|
|
460
|
-
@api_client.config.logger.debug "API called:
|
|
520
|
+
@api_client.config.logger.debug "API called: ContactApi#update_contact_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
461
521
|
end
|
|
462
522
|
return data, status_code, headers
|
|
463
523
|
end
|
|
@@ -480,18 +540,18 @@ module NucleusApi
|
|
|
480
540
|
# @return [Array<(CustomerRevenue, Fixnum, Hash)>] CustomerRevenue data, response status code and response headers
|
|
481
541
|
def update_customer_revenue_using_put_with_http_info(customer_revenue, customer_revenue_id, opts = {})
|
|
482
542
|
if @api_client.config.debugging
|
|
483
|
-
@api_client.config.logger.debug 'Calling API:
|
|
543
|
+
@api_client.config.logger.debug 'Calling API: ContactApi.update_customer_revenue_using_put ...'
|
|
484
544
|
end
|
|
485
545
|
# verify the required parameter 'customer_revenue' is set
|
|
486
546
|
if @api_client.config.client_side_validation && customer_revenue.nil?
|
|
487
|
-
fail ArgumentError, "Missing the required parameter 'customer_revenue' when calling
|
|
547
|
+
fail ArgumentError, "Missing the required parameter 'customer_revenue' when calling ContactApi.update_customer_revenue_using_put"
|
|
488
548
|
end
|
|
489
549
|
# verify the required parameter 'customer_revenue_id' is set
|
|
490
550
|
if @api_client.config.client_side_validation && customer_revenue_id.nil?
|
|
491
|
-
fail ArgumentError, "Missing the required parameter 'customer_revenue_id' when calling
|
|
551
|
+
fail ArgumentError, "Missing the required parameter 'customer_revenue_id' when calling ContactApi.update_customer_revenue_using_put"
|
|
492
552
|
end
|
|
493
553
|
# resource path
|
|
494
|
-
local_var_path = '/customer_revenue/{customer_revenue_id}'.sub('{' + 'customer_revenue_id' + '}', customer_revenue_id.to_s)
|
|
554
|
+
local_var_path = '/nucleus/v1/customer_revenue/{customer_revenue_id}'.sub('{' + 'customer_revenue_id' + '}', customer_revenue_id.to_s)
|
|
495
555
|
|
|
496
556
|
# query parameters
|
|
497
557
|
query_params = {}
|
|
@@ -517,67 +577,7 @@ module NucleusApi
|
|
|
517
577
|
:auth_names => auth_names,
|
|
518
578
|
:return_type => 'CustomerRevenue')
|
|
519
579
|
if @api_client.config.debugging
|
|
520
|
-
@api_client.config.logger.debug "API called:
|
|
521
|
-
end
|
|
522
|
-
return data, status_code, headers
|
|
523
|
-
end
|
|
524
|
-
# Update a customer
|
|
525
|
-
# Update a customer.
|
|
526
|
-
# @param customer customer
|
|
527
|
-
# @param customer_id UUID customer_id
|
|
528
|
-
# @param [Hash] opts the optional parameters
|
|
529
|
-
# @return [Customer]
|
|
530
|
-
def update_customer_using_put(customer, customer_id, opts = {})
|
|
531
|
-
data, _status_code, _headers = update_customer_using_put_with_http_info(customer, customer_id, opts)
|
|
532
|
-
data
|
|
533
|
-
end
|
|
534
|
-
|
|
535
|
-
# Update a customer
|
|
536
|
-
# Update a customer.
|
|
537
|
-
# @param customer customer
|
|
538
|
-
# @param customer_id UUID customer_id
|
|
539
|
-
# @param [Hash] opts the optional parameters
|
|
540
|
-
# @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
|
|
541
|
-
def update_customer_using_put_with_http_info(customer, customer_id, opts = {})
|
|
542
|
-
if @api_client.config.debugging
|
|
543
|
-
@api_client.config.logger.debug 'Calling API: CustomerApi.update_customer_using_put ...'
|
|
544
|
-
end
|
|
545
|
-
# verify the required parameter 'customer' is set
|
|
546
|
-
if @api_client.config.client_side_validation && customer.nil?
|
|
547
|
-
fail ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.update_customer_using_put"
|
|
548
|
-
end
|
|
549
|
-
# verify the required parameter 'customer_id' is set
|
|
550
|
-
if @api_client.config.client_side_validation && customer_id.nil?
|
|
551
|
-
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerApi.update_customer_using_put"
|
|
552
|
-
end
|
|
553
|
-
# resource path
|
|
554
|
-
local_var_path = '/customer/{customer_id}'.sub('{' + 'customer_id' + '}', customer_id.to_s)
|
|
555
|
-
|
|
556
|
-
# query parameters
|
|
557
|
-
query_params = {}
|
|
558
|
-
|
|
559
|
-
# header parameters
|
|
560
|
-
header_params = {}
|
|
561
|
-
# HTTP header 'Accept' (if needed)
|
|
562
|
-
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
563
|
-
# HTTP header 'Content-Type'
|
|
564
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
565
|
-
|
|
566
|
-
# form parameters
|
|
567
|
-
form_params = {}
|
|
568
|
-
|
|
569
|
-
# http body (model)
|
|
570
|
-
post_body = @api_client.object_to_http_body(customer)
|
|
571
|
-
auth_names = ['oauth2']
|
|
572
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
573
|
-
:header_params => header_params,
|
|
574
|
-
:query_params => query_params,
|
|
575
|
-
:form_params => form_params,
|
|
576
|
-
:body => post_body,
|
|
577
|
-
:auth_names => auth_names,
|
|
578
|
-
:return_type => 'Customer')
|
|
579
|
-
if @api_client.config.debugging
|
|
580
|
-
@api_client.config.logger.debug "API called: CustomerApi#update_customer_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
580
|
+
@api_client.config.logger.debug "API called: ContactApi#update_customer_revenue_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
581
581
|
end
|
|
582
582
|
return data, status_code, headers
|
|
583
583
|
end
|