nucleus_api 1.8.0
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 +787 -0
- data/Rakefile +8 -0
- data/docs/Account.md +22 -0
- data/docs/AccountAllocationMapping.md +17 -0
- data/docs/AccountApi.md +1919 -0
- data/docs/AccountMap.md +9 -0
- data/docs/AccountPermissionVO.md +9 -0
- data/docs/AccountPortfolioRebalanceRequest.md +21 -0
- data/docs/AccountStatus.md +16 -0
- data/docs/AccountType.md +23 -0
- data/docs/AclClientPermissionVO.md +10 -0
- data/docs/AdminClient.md +18 -0
- data/docs/AdminClientApi.md +309 -0
- data/docs/AggregationAccount.md +30 -0
- data/docs/AggregationAccountApi.md +1702 -0
- data/docs/AggregationAccountBalance.md +18 -0
- data/docs/AggregationAccountHolding.md +26 -0
- data/docs/AggregationAccountTransaction.md +23 -0
- data/docs/AggregationAccountsMap.md +9 -0
- data/docs/Allocation.md +22 -0
- data/docs/AllocationAggregatedVO.md +13 -0
- data/docs/AllocationApi.md +872 -0
- data/docs/AllocationComposition.md +18 -0
- data/docs/AllocationCompositionAggregatedVO.md +19 -0
- data/docs/AllocationCompositionModelHoldingsVO.md +22 -0
- data/docs/AllocationNodeMap.md +8 -0
- data/docs/Answer.md +18 -0
- data/docs/AnswerMap.md +8 -0
- data/docs/Application.md +15 -0
- data/docs/ApplicationApi.md +309 -0
- data/docs/AuditLog.md +23 -0
- data/docs/AuditLogApi.md +191 -0
- data/docs/AvailableDateDoubleVO.md +14 -0
- data/docs/BankCredit.md +15 -0
- data/docs/BankLink.md +29 -0
- data/docs/BankLinkMap.md +9 -0
- data/docs/Benchmark.md +17 -0
- data/docs/BenchmarkApi.md +375 -0
- data/docs/BenchmarkComposition.md +9 -0
- data/docs/Brokers.md +9 -0
- data/docs/Budget.md +25 -0
- data/docs/BudgetAggregationAccount.md +8 -0
- data/docs/BudgetApi.md +315 -0
- data/docs/BudgetObject.md +10 -0
- data/docs/BulkApi.md +249 -0
- data/docs/BulkTransaction.md +13 -0
- data/docs/BulkTransactionVO.md +12 -0
- data/docs/Business.md +32 -0
- data/docs/BusinessAddress.md +15 -0
- data/docs/BusinessApi.md +523 -0
- data/docs/Card.md +35 -0
- data/docs/CardAddress.md +14 -0
- data/docs/CardApi.md +754 -0
- data/docs/CardProgram.md +23 -0
- data/docs/Cash.md +10 -0
- data/docs/CategoriesMap.md +9 -0
- data/docs/CategoryInternalResponseVO.md +10 -0
- data/docs/CategoryResponseVO.md +9 -0
- data/docs/Check.md +10 -0
- data/docs/CheckImages.md +9 -0
- data/docs/Client.md +39 -0
- data/docs/ClientAccountMapping.md +10 -0
- data/docs/ClientAddress.md +15 -0
- data/docs/ClientApi.md +1008 -0
- data/docs/ClientRelationship.md +10 -0
- data/docs/ClientResponse.md +17 -0
- data/docs/ClientStatus.md +16 -0
- data/docs/ClientViewGoalData.md +21 -0
- data/docs/Country.md +12 -0
- data/docs/Currency.md +11 -0
- data/docs/Customer.md +21 -0
- data/docs/CustomerAddress.md +14 -0
- data/docs/CustomerApi.md +616 -0
- data/docs/CustomerRevenue.md +16 -0
- data/docs/DailyDeposit.md +28 -0
- data/docs/DailyWithdrawal.md +29 -0
- data/docs/DateDoubleVO.md +10 -0
- data/docs/DecisionTree.md +17 -0
- data/docs/DecisionTreeApi.md +971 -0
- data/docs/DecisionTreeCO.md +9 -0
- data/docs/DecisionTreeResultVO.md +9 -0
- data/docs/Document.md +30 -0
- data/docs/DocumentApi.md +309 -0
- data/docs/Employment.md +11 -0
- data/docs/ExternalAccountTransfer.md +28 -0
- data/docs/Feature.md +18 -0
- data/docs/FeatureApi.md +610 -0
- data/docs/FeatureTrack.md +14 -0
- data/docs/FinancialStatement.md +23 -0
- data/docs/FinancialStatementApi.md +315 -0
- data/docs/Funding.md +37 -0
- data/docs/FundingApi.md +1601 -0
- data/docs/FundingRequestMap.md +8 -0
- data/docs/FxRateView.md +11 -0
- data/docs/Goal.md +24 -0
- data/docs/GoalAccountMapping.md +11 -0
- data/docs/GoalApi.md +841 -0
- data/docs/GoalTrack.md +26 -0
- data/docs/GoalTrackAccounts.md +8 -0
- data/docs/Household.md +18 -0
- data/docs/HouseholdApi.md +523 -0
- data/docs/Investment.md +16 -0
- data/docs/Invoice.md +32 -0
- data/docs/InvoiceApi.md +622 -0
- data/docs/InvoicePayment.md +15 -0
- data/docs/JsonNode.md +29 -0
- data/docs/LineItems.md +15 -0
- data/docs/Location.md +15 -0
- data/docs/MXMerchantRes.md +14 -0
- data/docs/Member.md +11 -0
- data/docs/MerchantCategoryCode.md +11 -0
- data/docs/MerchantsMap.md +9 -0
- data/docs/Model.md +29 -0
- data/docs/ModelApi.md +1580 -0
- data/docs/ModelAssetSize.md +16 -0
- data/docs/ModelComment.md +15 -0
- data/docs/ModelHolding.md +25 -0
- data/docs/ModelHoldingVO.md +11 -0
- data/docs/ModelTransaction.md +17 -0
- data/docs/Node.md +15 -0
- data/docs/NodeRelationship.md +18 -0
- data/docs/Notification.md +20 -0
- data/docs/NotificationApi.md +911 -0
- data/docs/NotificationClient.md +19 -0
- data/docs/NotificationSetting.md +19 -0
- data/docs/Order.md +27 -0
- data/docs/OrderApi.md +1764 -0
- data/docs/OrderBulk.md +18 -0
- data/docs/OrderReconcileRequest.md +12 -0
- data/docs/OrderReconcileReturnObject.md +12 -0
- data/docs/OrderStatus.md +14 -0
- data/docs/OrderTrack.md +20 -0
- data/docs/OrderVoClone.md +20 -0
- data/docs/Overflow.md +16 -0
- data/docs/OverflowApi.md +492 -0
- data/docs/OverflowBankLinkMap.md +9 -0
- data/docs/OverflowSettings.md +17 -0
- data/docs/OverflowVO.md +10 -0
- data/docs/Ownership.md +12 -0
- data/docs/PageAccount.md +16 -0
- data/docs/PageAccountAllocationMapping.md +16 -0
- data/docs/PageAccountPermissionVO.md +16 -0
- data/docs/PageAccountStatus.md +16 -0
- data/docs/PageAccountType.md +16 -0
- data/docs/PageAdminClient.md +16 -0
- data/docs/PageAggregationAccount.md +16 -0
- data/docs/PageAggregationAccountBalance.md +16 -0
- data/docs/PageAggregationAccountHolding.md +16 -0
- data/docs/PageAggregationAccountTransaction.md +16 -0
- data/docs/PageAllocation.md +16 -0
- data/docs/PageAllocationComposition.md +16 -0
- data/docs/PageAnswer.md +16 -0
- data/docs/PageApplication.md +16 -0
- data/docs/PageAuditLog.md +16 -0
- data/docs/PageBankLink.md +16 -0
- data/docs/PageBenchmark.md +16 -0
- data/docs/PageBudget.md +16 -0
- data/docs/PageBusiness.md +16 -0
- data/docs/PageCard.md +16 -0
- data/docs/PageCardProgram.md +16 -0
- data/docs/PageClient.md +16 -0
- data/docs/PageClientResponse.md +16 -0
- data/docs/PageClientStatus.md +16 -0
- data/docs/PageCustomer.md +16 -0
- data/docs/PageCustomerRevenue.md +16 -0
- data/docs/PageDailyDeposit.md +16 -0
- data/docs/PageDailyWithdrawal.md +16 -0
- data/docs/PageDecisionTree.md +16 -0
- data/docs/PageDocument.md +16 -0
- data/docs/PageExternalAccountTransfer.md +16 -0
- data/docs/PageFeature.md +16 -0
- data/docs/PageFeatureTrack.md +16 -0
- data/docs/PageFinancialStatement.md +16 -0
- data/docs/PageFunding.md +16 -0
- data/docs/PageGoal.md +16 -0
- data/docs/PageGoalTrack.md +16 -0
- data/docs/PageHousehold.md +16 -0
- data/docs/PageInvoice.md +16 -0
- data/docs/PageInvoicePayment.md +16 -0
- data/docs/PageMXMerchantRes.md +16 -0
- data/docs/PageModel.md +16 -0
- data/docs/PageModelAssetSize.md +16 -0
- data/docs/PageModelComment.md +16 -0
- data/docs/PageModelHolding.md +16 -0
- data/docs/PageModelTransaction.md +16 -0
- data/docs/PageNode.md +16 -0
- data/docs/PageNodeRelationship.md +16 -0
- data/docs/PageNotification.md +16 -0
- data/docs/PageNotificationClient.md +16 -0
- data/docs/PageNotificationSetting.md +16 -0
- data/docs/PageOrder.md +16 -0
- data/docs/PageOrderBulk.md +16 -0
- data/docs/PageOrderStatus.md +16 -0
- data/docs/PageOrderTrack.md +16 -0
- data/docs/PageOverflow.md +16 -0
- data/docs/PageOverflowSettings.md +16 -0
- data/docs/PagePortfolio.md +16 -0
- data/docs/PagePortfolioAssetSizeLog.md +16 -0
- data/docs/PagePortfolioComment.md +16 -0
- data/docs/PagePortfolioGoal.md +16 -0
- data/docs/PagePortfolioHoldingLog.md +16 -0
- data/docs/PagePortfolioTransaction.md +16 -0
- data/docs/PageQuestion.md +16 -0
- data/docs/PageQuestionnaire.md +16 -0
- data/docs/PageReasonCode.md +16 -0
- data/docs/PageRiskProfile.md +16 -0
- data/docs/PageRoundup.md +16 -0
- data/docs/PageRoundupSettings.md +16 -0
- data/docs/PageScore.md +16 -0
- data/docs/PageSecurity.md +16 -0
- data/docs/PageSecurityExclusion.md +16 -0
- data/docs/PageSecurityPrice.md +16 -0
- data/docs/PageSpendingControl.md +16 -0
- data/docs/PageStage.md +16 -0
- data/docs/PageTransactionCode.md +16 -0
- data/docs/PageVAccountAssetSize.md +16 -0
- data/docs/PageWebhook.md +16 -0
- data/docs/PerformanceApi.md +973 -0
- data/docs/PermissionVO.md +9 -0
- data/docs/Portfolio.md +22 -0
- data/docs/PortfolioApi.md +1902 -0
- data/docs/PortfolioAssetSizeLog.md +20 -0
- data/docs/PortfolioComment.md +16 -0
- data/docs/PortfolioGoal.md +14 -0
- data/docs/PortfolioGoalMap.md +9 -0
- data/docs/PortfolioHoldingAgg.md +14 -0
- data/docs/PortfolioHoldingLog.md +21 -0
- data/docs/PortfolioTransaction.md +37 -0
- data/docs/Question.md +23 -0
- data/docs/Questionnaire.md +17 -0
- data/docs/QuestionnaireApi.md +1212 -0
- data/docs/ReasonCode.md +17 -0
- data/docs/ResourceApi.md +534 -0
- data/docs/RiskProfile.md +18 -0
- data/docs/RiskProfileApi.md +309 -0
- data/docs/Roundup.md +15 -0
- data/docs/RoundupApi.md +492 -0
- data/docs/RoundupCO.md +12 -0
- data/docs/RoundupSettings.md +21 -0
- data/docs/Score.md +23 -0
- data/docs/ScoreApi.md +309 -0
- data/docs/SecuritiesApi.md +917 -0
- data/docs/SecuritiesComposition.md +11 -0
- data/docs/SecuritiesCountry.md +9 -0
- data/docs/Security.md +32 -0
- data/docs/SecurityCompositionVO.md +21 -0
- data/docs/SecurityCountryVO.md +9 -0
- data/docs/SecurityExclusion.md +18 -0
- data/docs/SecurityPrice.md +20 -0
- data/docs/Sort.md +13 -0
- data/docs/SpendingControl.md +21 -0
- data/docs/SpendingControlApi.md +309 -0
- data/docs/Stage.md +22 -0
- data/docs/Stat.md +9 -0
- data/docs/State.md +10 -0
- data/docs/StatisticResourceVO.md +11 -0
- data/docs/TokenDateRequest.md +13 -0
- data/docs/TransactionCode.md +20 -0
- data/docs/UtilsApi.md +911 -0
- data/docs/VAccountAssetSize.md +11 -0
- data/docs/VAccountVO.md +13 -0
- data/docs/VClientGoalViewData.md +13 -0
- data/docs/VPortfolioVO.md +11 -0
- data/docs/Webhook.md +15 -0
- data/docs/WebhookApi.md +309 -0
- data/git_push.sh +55 -0
- data/lib/nucleus_api.rb +303 -0
- data/lib/nucleus_api/api/account_api.rb +1794 -0
- data/lib/nucleus_api/api/admin_client_api.rb +301 -0
- data/lib/nucleus_api/api/aggregation_account_api.rb +1587 -0
- data/lib/nucleus_api/api/allocation_api.rb +824 -0
- data/lib/nucleus_api/api/application_api.rb +301 -0
- data/lib/nucleus_api/api/audit_log_api.rb +190 -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 +508 -0
- data/lib/nucleus_api/api/card_api.rb +719 -0
- data/lib/nucleus_api/api/client_api.rb +950 -0
- data/lib/nucleus_api/api/customer_api.rb +585 -0
- data/lib/nucleus_api/api/decision_tree_api.rb +913 -0
- data/lib/nucleus_api/api/document_api.rb +301 -0
- data/lib/nucleus_api/api/feature_api.rb +579 -0
- data/lib/nucleus_api/api/financial_statement_api.rb +307 -0
- data/lib/nucleus_api/api/funding_api.rb +1497 -0
- data/lib/nucleus_api/api/goal_api.rb +819 -0
- data/lib/nucleus_api/api/household_api.rb +508 -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/notification_api.rb +857 -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/performance_api.rb +1131 -0
- data/lib/nucleus_api/api/portfolio_api.rb +1776 -0
- data/lib/nucleus_api/api/questionnaire_api.rb +1135 -0
- data/lib/nucleus_api/api/resource_api.rb +479 -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 +857 -0
- data/lib/nucleus_api/api/webhook_api.rb +301 -0
- data/lib/nucleus_api/api_client.rb +428 -0
- data/lib/nucleus_api/api_error.rb +38 -0
- data/lib/nucleus_api/auth_configuration.rb +177 -0
- data/lib/nucleus_api/configuration.rb +224 -0
- data/lib/nucleus_api/models/account.rb +333 -0
- data/lib/nucleus_api/models/account_allocation_mapping.rb +294 -0
- data/lib/nucleus_api/models/account_map.rb +202 -0
- data/lib/nucleus_api/models/account_permission_vo.rb +195 -0
- data/lib/nucleus_api/models/account_portfolio_rebalance_request.rb +313 -0
- data/lib/nucleus_api/models/account_status.rb +275 -0
- data/lib/nucleus_api/models/account_type.rb +335 -0
- data/lib/nucleus_api/models/acl_client_permission_vo.rb +236 -0
- data/lib/nucleus_api/models/admin_client.rb +272 -0
- data/lib/nucleus_api/models/aggregation_account.rb +420 -0
- data/lib/nucleus_api/models/aggregation_account_balance.rb +284 -0
- data/lib/nucleus_api/models/aggregation_account_holding.rb +364 -0
- data/lib/nucleus_api/models/aggregation_account_transaction.rb +382 -0
- data/lib/nucleus_api/models/aggregation_accounts_map.rb +202 -0
- data/lib/nucleus_api/models/allocation.rb +325 -0
- data/lib/nucleus_api/models/allocation_aggregated_vo.rb +228 -0
- data/lib/nucleus_api/models/allocation_composition.rb +304 -0
- data/lib/nucleus_api/models/allocation_composition_aggregated_vo.rb +282 -0
- data/lib/nucleus_api/models/allocation_composition_model_holdings_vo.rb +311 -0
- data/lib/nucleus_api/models/allocation_node_map.rb +187 -0
- data/lib/nucleus_api/models/answer.rb +286 -0
- data/lib/nucleus_api/models/answer_map.rb +181 -0
- data/lib/nucleus_api/models/application.rb +256 -0
- data/lib/nucleus_api/models/audit_log.rb +357 -0
- data/lib/nucleus_api/models/available_date_double_vo.rb +243 -0
- data/lib/nucleus_api/models/bank_credit.rb +262 -0
- data/lib/nucleus_api/models/bank_link.rb +410 -0
- data/lib/nucleus_api/models/bank_link_map.rb +202 -0
- data/lib/nucleus_api/models/benchmark.rb +277 -0
- data/lib/nucleus_api/models/benchmark_composition.rb +202 -0
- data/lib/nucleus_api/models/brokers.rb +203 -0
- data/lib/nucleus_api/models/budget.rb +372 -0
- data/lib/nucleus_api/models/budget_aggregation_account.rb +187 -0
- data/lib/nucleus_api/models/budget_object.rb +213 -0
- data/lib/nucleus_api/models/bulk_transaction.rb +226 -0
- data/lib/nucleus_api/models/bulk_transaction_vo.rb +217 -0
- data/lib/nucleus_api/models/business.rb +430 -0
- data/lib/nucleus_api/models/business_address.rb +278 -0
- data/lib/nucleus_api/models/card.rb +489 -0
- data/lib/nucleus_api/models/card_address.rb +268 -0
- data/lib/nucleus_api/models/card_program.rb +350 -0
- data/lib/nucleus_api/models/cash.rb +213 -0
- data/lib/nucleus_api/models/categories_map.rb +202 -0
- data/lib/nucleus_api/models/category_internal_response_vo.rb +201 -0
- data/lib/nucleus_api/models/category_response_vo.rb +192 -0
- data/lib/nucleus_api/models/check.rb +210 -0
- data/lib/nucleus_api/models/check_images.rb +198 -0
- data/lib/nucleus_api/models/client.rb +523 -0
- data/lib/nucleus_api/models/client_account_mapping.rb +212 -0
- data/lib/nucleus_api/models/client_address.rb +278 -0
- data/lib/nucleus_api/models/client_relationship.rb +209 -0
- data/lib/nucleus_api/models/client_response.rb +280 -0
- data/lib/nucleus_api/models/client_status.rb +275 -0
- data/lib/nucleus_api/models/client_view_goal_data.rb +302 -0
- data/lib/nucleus_api/models/country.rb +233 -0
- data/lib/nucleus_api/models/currency.rb +212 -0
- data/lib/nucleus_api/models/customer.rb +317 -0
- data/lib/nucleus_api/models/customer_address.rb +268 -0
- data/lib/nucleus_api/models/customer_revenue.rb +284 -0
- data/lib/nucleus_api/models/daily_deposit.rb +395 -0
- data/lib/nucleus_api/models/daily_withdrawal.rb +405 -0
- data/lib/nucleus_api/models/date_double_vo.rb +203 -0
- data/lib/nucleus_api/models/decision_tree.rb +275 -0
- data/lib/nucleus_api/models/decision_tree_co.rb +202 -0
- data/lib/nucleus_api/models/decision_tree_result_vo.rb +192 -0
- data/lib/nucleus_api/models/document.rb +409 -0
- data/lib/nucleus_api/models/employment.rb +213 -0
- data/lib/nucleus_api/models/external_account_transfer.rb +412 -0
- data/lib/nucleus_api/models/feature.rb +286 -0
- data/lib/nucleus_api/models/feature_track.rb +251 -0
- data/lib/nucleus_api/models/financial_statement.rb +352 -0
- data/lib/nucleus_api/models/funding.rb +496 -0
- data/lib/nucleus_api/models/funding_request_map.rb +187 -0
- data/lib/nucleus_api/models/fx_rate_view.rb +233 -0
- data/lib/nucleus_api/models/goal.rb +340 -0
- data/lib/nucleus_api/models/goal_account_mapping.rb +218 -0
- data/lib/nucleus_api/models/goal_track.rb +372 -0
- data/lib/nucleus_api/models/goal_track_accounts.rb +187 -0
- data/lib/nucleus_api/models/household.rb +285 -0
- data/lib/nucleus_api/models/investment.rb +283 -0
- data/lib/nucleus_api/models/invoice.rb +452 -0
- data/lib/nucleus_api/models/invoice_payment.rb +269 -0
- data/lib/nucleus_api/models/json_node.rb +404 -0
- data/lib/nucleus_api/models/line_items.rb +278 -0
- data/lib/nucleus_api/models/location.rb +253 -0
- data/lib/nucleus_api/models/member.rb +217 -0
- data/lib/nucleus_api/models/merchant_category_code.rb +213 -0
- data/lib/nucleus_api/models/merchants_map.rb +202 -0
- data/lib/nucleus_api/models/model.rb +396 -0
- data/lib/nucleus_api/models/model_asset_size.rb +274 -0
- data/lib/nucleus_api/models/model_comment.rb +264 -0
- data/lib/nucleus_api/models/model_holding.rb +370 -0
- data/lib/nucleus_api/models/model_holding_vo.rb +208 -0
- data/lib/nucleus_api/models/model_transaction.rb +298 -0
- data/lib/nucleus_api/models/mx_merchant_res.rb +235 -0
- data/lib/nucleus_api/models/node.rb +260 -0
- data/lib/nucleus_api/models/node_relationship.rb +300 -0
- data/lib/nucleus_api/models/notification.rb +313 -0
- data/lib/nucleus_api/models/notification_client.rb +309 -0
- data/lib/nucleus_api/models/notification_setting.rb +300 -0
- data/lib/nucleus_api/models/order.rb +390 -0
- data/lib/nucleus_api/models/order_bulk.rb +309 -0
- data/lib/nucleus_api/models/order_reconcile_request.rb +220 -0
- data/lib/nucleus_api/models/order_reconcile_return_object.rb +227 -0
- data/lib/nucleus_api/models/order_status.rb +250 -0
- data/lib/nucleus_api/models/order_track.rb +316 -0
- data/lib/nucleus_api/models/order_vo_clone.rb +304 -0
- data/lib/nucleus_api/models/overflow.rb +281 -0
- data/lib/nucleus_api/models/overflow_bank_link_map.rb +202 -0
- data/lib/nucleus_api/models/overflow_settings.rb +287 -0
- data/lib/nucleus_api/models/overflow_vo.rb +203 -0
- data/lib/nucleus_api/models/ownership.rb +233 -0
- data/lib/nucleus_api/models/page_account.rb +258 -0
- data/lib/nucleus_api/models/page_account_allocation_mapping.rb +258 -0
- data/lib/nucleus_api/models/page_account_permission_vo.rb +258 -0
- data/lib/nucleus_api/models/page_account_status.rb +258 -0
- data/lib/nucleus_api/models/page_account_type.rb +258 -0
- data/lib/nucleus_api/models/page_admin_client.rb +258 -0
- data/lib/nucleus_api/models/page_aggregation_account.rb +258 -0
- data/lib/nucleus_api/models/page_aggregation_account_balance.rb +258 -0
- data/lib/nucleus_api/models/page_aggregation_account_holding.rb +258 -0
- data/lib/nucleus_api/models/page_aggregation_account_transaction.rb +258 -0
- data/lib/nucleus_api/models/page_allocation.rb +258 -0
- data/lib/nucleus_api/models/page_allocation_composition.rb +258 -0
- data/lib/nucleus_api/models/page_answer.rb +258 -0
- data/lib/nucleus_api/models/page_application.rb +258 -0
- data/lib/nucleus_api/models/page_audit_log.rb +258 -0
- data/lib/nucleus_api/models/page_bank_link.rb +258 -0
- data/lib/nucleus_api/models/page_benchmark.rb +258 -0
- data/lib/nucleus_api/models/page_budget.rb +258 -0
- data/lib/nucleus_api/models/page_business.rb +258 -0
- data/lib/nucleus_api/models/page_card.rb +258 -0
- data/lib/nucleus_api/models/page_card_program.rb +258 -0
- data/lib/nucleus_api/models/page_client.rb +258 -0
- data/lib/nucleus_api/models/page_client_response.rb +258 -0
- data/lib/nucleus_api/models/page_client_status.rb +258 -0
- data/lib/nucleus_api/models/page_customer.rb +258 -0
- data/lib/nucleus_api/models/page_customer_revenue.rb +258 -0
- data/lib/nucleus_api/models/page_daily_deposit.rb +258 -0
- data/lib/nucleus_api/models/page_daily_withdrawal.rb +258 -0
- data/lib/nucleus_api/models/page_decision_tree.rb +258 -0
- data/lib/nucleus_api/models/page_document.rb +258 -0
- data/lib/nucleus_api/models/page_external_account_transfer.rb +258 -0
- data/lib/nucleus_api/models/page_feature.rb +258 -0
- data/lib/nucleus_api/models/page_feature_track.rb +258 -0
- data/lib/nucleus_api/models/page_financial_statement.rb +258 -0
- data/lib/nucleus_api/models/page_funding.rb +258 -0
- data/lib/nucleus_api/models/page_goal.rb +258 -0
- data/lib/nucleus_api/models/page_goal_track.rb +258 -0
- data/lib/nucleus_api/models/page_household.rb +258 -0
- data/lib/nucleus_api/models/page_invoice.rb +258 -0
- data/lib/nucleus_api/models/page_invoice_payment.rb +258 -0
- data/lib/nucleus_api/models/page_model.rb +258 -0
- data/lib/nucleus_api/models/page_model_asset_size.rb +258 -0
- data/lib/nucleus_api/models/page_model_comment.rb +258 -0
- data/lib/nucleus_api/models/page_model_holding.rb +258 -0
- data/lib/nucleus_api/models/page_model_transaction.rb +258 -0
- data/lib/nucleus_api/models/page_mx_merchant_res.rb +255 -0
- data/lib/nucleus_api/models/page_node.rb +258 -0
- data/lib/nucleus_api/models/page_node_relationship.rb +258 -0
- data/lib/nucleus_api/models/page_notification.rb +258 -0
- data/lib/nucleus_api/models/page_notification_client.rb +258 -0
- data/lib/nucleus_api/models/page_notification_setting.rb +258 -0
- data/lib/nucleus_api/models/page_order.rb +258 -0
- data/lib/nucleus_api/models/page_order_bulk.rb +258 -0
- data/lib/nucleus_api/models/page_order_status.rb +258 -0
- data/lib/nucleus_api/models/page_order_track.rb +258 -0
- data/lib/nucleus_api/models/page_overflow.rb +258 -0
- data/lib/nucleus_api/models/page_overflow_settings.rb +258 -0
- data/lib/nucleus_api/models/page_portfolio.rb +258 -0
- data/lib/nucleus_api/models/page_portfolio_asset_size_log.rb +258 -0
- data/lib/nucleus_api/models/page_portfolio_comment.rb +258 -0
- data/lib/nucleus_api/models/page_portfolio_goal.rb +258 -0
- data/lib/nucleus_api/models/page_portfolio_holding_log.rb +258 -0
- data/lib/nucleus_api/models/page_portfolio_transaction.rb +258 -0
- data/lib/nucleus_api/models/page_question.rb +258 -0
- data/lib/nucleus_api/models/page_questionnaire.rb +258 -0
- data/lib/nucleus_api/models/page_reason_code.rb +258 -0
- data/lib/nucleus_api/models/page_risk_profile.rb +258 -0
- data/lib/nucleus_api/models/page_roundup.rb +258 -0
- data/lib/nucleus_api/models/page_roundup_settings.rb +258 -0
- data/lib/nucleus_api/models/page_score.rb +258 -0
- data/lib/nucleus_api/models/page_security.rb +258 -0
- data/lib/nucleus_api/models/page_security_exclusion.rb +258 -0
- data/lib/nucleus_api/models/page_security_price.rb +258 -0
- data/lib/nucleus_api/models/page_spending_control.rb +258 -0
- data/lib/nucleus_api/models/page_stage.rb +258 -0
- data/lib/nucleus_api/models/page_transaction_code.rb +258 -0
- data/lib/nucleus_api/models/page_v_account_asset_size.rb +258 -0
- data/lib/nucleus_api/models/page_webhook.rb +258 -0
- data/lib/nucleus_api/models/permission_vo.rb +226 -0
- data/lib/nucleus_api/models/portfolio.rb +341 -0
- data/lib/nucleus_api/models/portfolio_asset_size_log.rb +329 -0
- data/lib/nucleus_api/models/portfolio_comment.rb +279 -0
- data/lib/nucleus_api/models/portfolio_goal.rb +255 -0
- data/lib/nucleus_api/models/portfolio_goal_map.rb +202 -0
- data/lib/nucleus_api/models/portfolio_holding_agg.rb +243 -0
- data/lib/nucleus_api/models/portfolio_holding_log.rb +339 -0
- data/lib/nucleus_api/models/portfolio_transaction.rb +495 -0
- data/lib/nucleus_api/models/question.rb +334 -0
- data/lib/nucleus_api/models/questionnaire.rb +275 -0
- data/lib/nucleus_api/models/reason_code.rb +274 -0
- data/lib/nucleus_api/models/risk_profile.rb +286 -0
- data/lib/nucleus_api/models/roundup.rb +266 -0
- data/lib/nucleus_api/models/roundup_co.rb +232 -0
- data/lib/nucleus_api/models/roundup_settings.rb +331 -0
- data/lib/nucleus_api/models/score.rb +374 -0
- data/lib/nucleus_api/models/securities_composition.rb +232 -0
- data/lib/nucleus_api/models/securities_country.rb +202 -0
- data/lib/nucleus_api/models/security.rb +434 -0
- data/lib/nucleus_api/models/security_composition_vo.rb +300 -0
- data/lib/nucleus_api/models/security_country_vo.rb +190 -0
- data/lib/nucleus_api/models/security_exclusion.rb +300 -0
- data/lib/nucleus_api/models/security_price.rb +313 -0
- data/lib/nucleus_api/models/sort.rb +233 -0
- data/lib/nucleus_api/models/spending_control.rb +331 -0
- data/lib/nucleus_api/models/stage.rb +325 -0
- data/lib/nucleus_api/models/stat.rb +203 -0
- data/lib/nucleus_api/models/state.rb +202 -0
- data/lib/nucleus_api/models/statistic_resource_vo.rb +208 -0
- data/lib/nucleus_api/models/token_date_request.rb +233 -0
- data/lib/nucleus_api/models/transaction_code.rb +362 -0
- data/lib/nucleus_api/models/v_account_asset_size.rb +212 -0
- data/lib/nucleus_api/models/v_account_vo.rb +226 -0
- data/lib/nucleus_api/models/v_client_goal_view_data.rb +228 -0
- data/lib/nucleus_api/models/v_portfolio_vo.rb +208 -0
- data/lib/nucleus_api/models/webhook.rb +280 -0
- data/lib/nucleus_api/version.rb +15 -0
- data/nucleus_api.gemspec +46 -0
- data/spec/api/account_api_spec.rb +455 -0
- data/spec/api/admin_client_api_spec.rb +100 -0
- data/spec/api/aggregation_account_api_spec.rb +399 -0
- data/spec/api/allocation_api_spec.rb +225 -0
- data/spec/api/application_api_spec.rb +100 -0
- data/spec/api/audit_log_api_spec.rb +75 -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 +153 -0
- data/spec/api/card_api_spec.rb +201 -0
- data/spec/api/client_api_spec.rb +256 -0
- data/spec/api/customer_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/feature_api_spec.rb +165 -0
- data/spec/api/financial_statement_api_spec.rb +102 -0
- data/spec/api/funding_api_spec.rb +382 -0
- data/spec/api/goal_api_spec.rb +225 -0
- data/spec/api/household_api_spec.rb +153 -0
- data/spec/api/invoice_api_spec.rb +169 -0
- data/spec/api/model_api_spec.rb +375 -0
- data/spec/api/notification_api_spec.rb +230 -0
- data/spec/api/order_api_spec.rb +412 -0
- data/spec/api/overflow_api_spec.rb +140 -0
- data/spec/api/performance_api_spec.rb +355 -0
- data/spec/api/portfolio_api_spec.rb +448 -0
- data/spec/api/questionnaire_api_spec.rb +295 -0
- data/spec/api/resource_api_spec.rb +148 -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 +230 -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 +101 -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 +173 -0
- data/spec/models/aggregation_account_transaction_spec.rb +139 -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 +101 -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/bank_credit_spec.rb +83 -0
- data/spec/models/bank_link_map_spec.rb +47 -0
- data/spec/models/bank_link_spec.rb +167 -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 +143 -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_spec.rb +185 -0
- data/spec/models/card_address_spec.rb +77 -0
- data/spec/models/card_program_spec.rb +131 -0
- data/spec/models/card_spec.rb +202 -0
- data/spec/models/cash_spec.rb +53 -0
- data/spec/models/categories_map_spec.rb +47 -0
- data/spec/models/category_internal_response_vo_spec.rb +53 -0
- data/spec/models/category_response_vo_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_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/country_spec.rb +65 -0
- data/spec/models/currency_spec.rb +59 -0
- data/spec/models/customer_address_spec.rb +77 -0
- data/spec/models/customer_revenue_spec.rb +89 -0
- data/spec/models/customer_spec.rb +119 -0
- data/spec/models/daily_deposit_spec.rb +161 -0
- data/spec/models/daily_withdrawal_spec.rb +167 -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 +131 -0
- data/spec/models/funding_request_map_spec.rb +41 -0
- data/spec/models/funding_spec.rb +215 -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/investment_spec.rb +89 -0
- data/spec/models/invoice_payment_spec.rb +83 -0
- data/spec/models/invoice_spec.rb +185 -0
- data/spec/models/json_node_spec.rb +171 -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 +59 -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 +47 -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_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_customer_revenue_spec.rb +89 -0
- data/spec/models/page_customer_spec.rb +89 -0
- data/spec/models/page_daily_deposit_spec.rb +89 -0
- data/spec/models/page_daily_withdrawal_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_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_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 +89 -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_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_v_account_asset_size_spec.rb +89 -0
- data/spec/models/page_webhook_spec.rb +89 -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 +215 -0
- data/spec/models/question_spec.rb +131 -0
- data/spec/models/questionnaire_spec.rb +95 -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 +119 -0
- data/spec/models/stage_spec.rb +125 -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 +125 -0
- data/spec/models/v_account_asset_size_spec.rb +59 -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 +1312 -0
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Hydrogen Nucleus API
|
|
3
|
+
|
|
4
|
+
#The Hydrogen Nucleus API
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.8.0
|
|
7
|
+
Contact: info@hydrogenplatform.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.18
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'uri'
|
|
14
|
+
|
|
15
|
+
module NucleusApi
|
|
16
|
+
class FinancialStatementApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create an financialStatement
|
|
23
|
+
# Store stats pulled from financialStatement vendors.
|
|
24
|
+
# @param financial_statement financialStatement
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [FinancialStatement]
|
|
27
|
+
def create_financial_statement_using_post(financial_statement, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_financial_statement_using_post_with_http_info(financial_statement, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create an financialStatement
|
|
33
|
+
# Store stats pulled from financialStatement vendors.
|
|
34
|
+
# @param financial_statement financialStatement
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(FinancialStatement, Fixnum, Hash)>] FinancialStatement data, response status code and response headers
|
|
37
|
+
def create_financial_statement_using_post_with_http_info(financial_statement, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: FinancialStatementApi.create_financial_statement_using_post ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'financial_statement' is set
|
|
42
|
+
if @api_client.config.client_side_validation && financial_statement.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'financial_statement' when calling FinancialStatementApi.create_financial_statement_using_post"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/financial_statement'
|
|
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(financial_statement)
|
|
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 => 'FinancialStatement')
|
|
71
|
+
if @api_client.config.debugging
|
|
72
|
+
@api_client.config.logger.debug "API called: FinancialStatementApi#create_financial_statement_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
|
+
end
|
|
74
|
+
return data, status_code, headers
|
|
75
|
+
end
|
|
76
|
+
# Delete an financialStatement
|
|
77
|
+
# Permanently delete an financialStatement.
|
|
78
|
+
# @param financial_statement_id UUID financialStatement_id
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [nil]
|
|
81
|
+
def delete_financial_statement_using_delete(financial_statement_id, opts = {})
|
|
82
|
+
delete_financial_statement_using_delete_with_http_info(financial_statement_id, opts)
|
|
83
|
+
nil
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Delete an financialStatement
|
|
87
|
+
# Permanently delete an financialStatement.
|
|
88
|
+
# @param financial_statement_id UUID financialStatement_id
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
91
|
+
def delete_financial_statement_using_delete_with_http_info(financial_statement_id, opts = {})
|
|
92
|
+
if @api_client.config.debugging
|
|
93
|
+
@api_client.config.logger.debug 'Calling API: FinancialStatementApi.delete_financial_statement_using_delete ...'
|
|
94
|
+
end
|
|
95
|
+
# verify the required parameter 'financial_statement_id' is set
|
|
96
|
+
if @api_client.config.client_side_validation && financial_statement_id.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'financial_statement_id' when calling FinancialStatementApi.delete_financial_statement_using_delete"
|
|
98
|
+
end
|
|
99
|
+
# resource path
|
|
100
|
+
local_var_path = '/financial_statement/{financial_statement_id}'.sub('{' + 'financial_statement_id' + '}', financial_statement_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: FinancialStatementApi#delete_financial_statement_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
124
|
+
end
|
|
125
|
+
return data, status_code, headers
|
|
126
|
+
end
|
|
127
|
+
# List all financialStatement
|
|
128
|
+
# Get information for all financialStatement for all clients defined for your firm.
|
|
129
|
+
# @param [Hash] opts the optional parameters
|
|
130
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
131
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
132
|
+
# @option opts [String] :filter filter
|
|
133
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
134
|
+
# @option opts [Integer] :page page (default to 0)
|
|
135
|
+
# @option opts [Integer] :size size (default to 25)
|
|
136
|
+
# @return [PageFinancialStatement]
|
|
137
|
+
def get_financial_statement_all_using_get(opts = {})
|
|
138
|
+
data, _status_code, _headers = get_financial_statement_all_using_get_with_http_info(opts)
|
|
139
|
+
data
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# List all financialStatement
|
|
143
|
+
# Get information for all financialStatement for all clients defined for your firm.
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
146
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
147
|
+
# @option opts [String] :filter filter
|
|
148
|
+
# @option opts [String] :order_by order_by
|
|
149
|
+
# @option opts [Integer] :page page
|
|
150
|
+
# @option opts [Integer] :size size
|
|
151
|
+
# @return [Array<(PageFinancialStatement, Fixnum, Hash)>] PageFinancialStatement data, response status code and response headers
|
|
152
|
+
def get_financial_statement_all_using_get_with_http_info(opts = {})
|
|
153
|
+
if @api_client.config.debugging
|
|
154
|
+
@api_client.config.logger.debug 'Calling API: FinancialStatementApi.get_financial_statement_all_using_get ...'
|
|
155
|
+
end
|
|
156
|
+
# resource path
|
|
157
|
+
local_var_path = '/financial_statement'
|
|
158
|
+
|
|
159
|
+
# query parameters
|
|
160
|
+
query_params = {}
|
|
161
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
162
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
163
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
164
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
165
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
166
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
167
|
+
|
|
168
|
+
# header parameters
|
|
169
|
+
header_params = {}
|
|
170
|
+
# HTTP header 'Accept' (if needed)
|
|
171
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
172
|
+
|
|
173
|
+
# form parameters
|
|
174
|
+
form_params = {}
|
|
175
|
+
|
|
176
|
+
# http body (model)
|
|
177
|
+
post_body = nil
|
|
178
|
+
auth_names = ['oauth2']
|
|
179
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
180
|
+
:header_params => header_params,
|
|
181
|
+
:query_params => query_params,
|
|
182
|
+
:form_params => form_params,
|
|
183
|
+
:body => post_body,
|
|
184
|
+
:auth_names => auth_names,
|
|
185
|
+
:return_type => 'PageFinancialStatement')
|
|
186
|
+
if @api_client.config.debugging
|
|
187
|
+
@api_client.config.logger.debug "API called: FinancialStatementApi#get_financial_statement_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
188
|
+
end
|
|
189
|
+
return data, status_code, headers
|
|
190
|
+
end
|
|
191
|
+
# Retrieve an financialStatement
|
|
192
|
+
# Retrieve the information for a specific financialStatement associated with a client.
|
|
193
|
+
# @param financial_statement_id UUID financial_statement_id
|
|
194
|
+
# @param [Hash] opts the optional parameters
|
|
195
|
+
# @option opts [String] :currency_conversion USD
|
|
196
|
+
# @return [FinancialStatement]
|
|
197
|
+
def get_financial_statement_using_get(financial_statement_id, opts = {})
|
|
198
|
+
data, _status_code, _headers = get_financial_statement_using_get_with_http_info(financial_statement_id, opts)
|
|
199
|
+
data
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# Retrieve an financialStatement
|
|
203
|
+
# Retrieve the information for a specific financialStatement associated with a client.
|
|
204
|
+
# @param financial_statement_id UUID financial_statement_id
|
|
205
|
+
# @param [Hash] opts the optional parameters
|
|
206
|
+
# @option opts [String] :currency_conversion USD
|
|
207
|
+
# @return [Array<(FinancialStatement, Fixnum, Hash)>] FinancialStatement data, response status code and response headers
|
|
208
|
+
def get_financial_statement_using_get_with_http_info(financial_statement_id, opts = {})
|
|
209
|
+
if @api_client.config.debugging
|
|
210
|
+
@api_client.config.logger.debug 'Calling API: FinancialStatementApi.get_financial_statement_using_get ...'
|
|
211
|
+
end
|
|
212
|
+
# verify the required parameter 'financial_statement_id' is set
|
|
213
|
+
if @api_client.config.client_side_validation && financial_statement_id.nil?
|
|
214
|
+
fail ArgumentError, "Missing the required parameter 'financial_statement_id' when calling FinancialStatementApi.get_financial_statement_using_get"
|
|
215
|
+
end
|
|
216
|
+
# resource path
|
|
217
|
+
local_var_path = '/financial_statement/{financial_statement_id}'.sub('{' + 'financial_statement_id' + '}', financial_statement_id.to_s)
|
|
218
|
+
|
|
219
|
+
# query parameters
|
|
220
|
+
query_params = {}
|
|
221
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
222
|
+
|
|
223
|
+
# header parameters
|
|
224
|
+
header_params = {}
|
|
225
|
+
# HTTP header 'Accept' (if needed)
|
|
226
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
227
|
+
|
|
228
|
+
# form parameters
|
|
229
|
+
form_params = {}
|
|
230
|
+
|
|
231
|
+
# http body (model)
|
|
232
|
+
post_body = nil
|
|
233
|
+
auth_names = ['oauth2']
|
|
234
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
235
|
+
:header_params => header_params,
|
|
236
|
+
:query_params => query_params,
|
|
237
|
+
:form_params => form_params,
|
|
238
|
+
:body => post_body,
|
|
239
|
+
:auth_names => auth_names,
|
|
240
|
+
:return_type => 'FinancialStatement')
|
|
241
|
+
if @api_client.config.debugging
|
|
242
|
+
@api_client.config.logger.debug "API called: FinancialStatementApi#get_financial_statement_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
243
|
+
end
|
|
244
|
+
return data, status_code, headers
|
|
245
|
+
end
|
|
246
|
+
# Update an financialStatement
|
|
247
|
+
# Update the information for an financialStatement.
|
|
248
|
+
# @param financial_statement financialStatement
|
|
249
|
+
# @param financial_statement_id UUID financialStatement_id
|
|
250
|
+
# @param [Hash] opts the optional parameters
|
|
251
|
+
# @return [FinancialStatement]
|
|
252
|
+
def update_financial_statement_using_put(financial_statement, financial_statement_id, opts = {})
|
|
253
|
+
data, _status_code, _headers = update_financial_statement_using_put_with_http_info(financial_statement, financial_statement_id, opts)
|
|
254
|
+
data
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# Update an financialStatement
|
|
258
|
+
# Update the information for an financialStatement.
|
|
259
|
+
# @param financial_statement financialStatement
|
|
260
|
+
# @param financial_statement_id UUID financialStatement_id
|
|
261
|
+
# @param [Hash] opts the optional parameters
|
|
262
|
+
# @return [Array<(FinancialStatement, Fixnum, Hash)>] FinancialStatement data, response status code and response headers
|
|
263
|
+
def update_financial_statement_using_put_with_http_info(financial_statement, financial_statement_id, opts = {})
|
|
264
|
+
if @api_client.config.debugging
|
|
265
|
+
@api_client.config.logger.debug 'Calling API: FinancialStatementApi.update_financial_statement_using_put ...'
|
|
266
|
+
end
|
|
267
|
+
# verify the required parameter 'financial_statement' is set
|
|
268
|
+
if @api_client.config.client_side_validation && financial_statement.nil?
|
|
269
|
+
fail ArgumentError, "Missing the required parameter 'financial_statement' when calling FinancialStatementApi.update_financial_statement_using_put"
|
|
270
|
+
end
|
|
271
|
+
# verify the required parameter 'financial_statement_id' is set
|
|
272
|
+
if @api_client.config.client_side_validation && financial_statement_id.nil?
|
|
273
|
+
fail ArgumentError, "Missing the required parameter 'financial_statement_id' when calling FinancialStatementApi.update_financial_statement_using_put"
|
|
274
|
+
end
|
|
275
|
+
# resource path
|
|
276
|
+
local_var_path = '/financial_statement/{financial_statement_id}'.sub('{' + 'financial_statement_id' + '}', financial_statement_id.to_s)
|
|
277
|
+
|
|
278
|
+
# query parameters
|
|
279
|
+
query_params = {}
|
|
280
|
+
|
|
281
|
+
# header parameters
|
|
282
|
+
header_params = {}
|
|
283
|
+
# HTTP header 'Accept' (if needed)
|
|
284
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
285
|
+
# HTTP header 'Content-Type'
|
|
286
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
287
|
+
|
|
288
|
+
# form parameters
|
|
289
|
+
form_params = {}
|
|
290
|
+
|
|
291
|
+
# http body (model)
|
|
292
|
+
post_body = @api_client.object_to_http_body(financial_statement)
|
|
293
|
+
auth_names = ['oauth2']
|
|
294
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
295
|
+
:header_params => header_params,
|
|
296
|
+
:query_params => query_params,
|
|
297
|
+
:form_params => form_params,
|
|
298
|
+
:body => post_body,
|
|
299
|
+
:auth_names => auth_names,
|
|
300
|
+
:return_type => 'FinancialStatement')
|
|
301
|
+
if @api_client.config.debugging
|
|
302
|
+
@api_client.config.logger.debug "API called: FinancialStatementApi#update_financial_statement_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
303
|
+
end
|
|
304
|
+
return data, status_code, headers
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
end
|
|
@@ -0,0 +1,1497 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Hydrogen Nucleus API
|
|
3
|
+
|
|
4
|
+
#The Hydrogen Nucleus API
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.8.0
|
|
7
|
+
Contact: info@hydrogenplatform.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.18
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'uri'
|
|
14
|
+
|
|
15
|
+
module NucleusApi
|
|
16
|
+
class FundingApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create a bank link
|
|
23
|
+
# Create a new bank link for an account.
|
|
24
|
+
# @param bank_link_info_request bankLinkInfoRequest
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [BankLink]
|
|
27
|
+
def create_bank_link_using_post(bank_link_info_request, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_bank_link_using_post_with_http_info(bank_link_info_request, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create a bank link
|
|
33
|
+
# Create a new bank link for an account.
|
|
34
|
+
# @param bank_link_info_request bankLinkInfoRequest
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(BankLink, Fixnum, Hash)>] BankLink data, response status code and response headers
|
|
37
|
+
def create_bank_link_using_post_with_http_info(bank_link_info_request, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.create_bank_link_using_post ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'bank_link_info_request' is set
|
|
42
|
+
if @api_client.config.client_side_validation && bank_link_info_request.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'bank_link_info_request' when calling FundingApi.create_bank_link_using_post"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/bank_link'
|
|
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(bank_link_info_request)
|
|
63
|
+
auth_names = ['oauth2']
|
|
64
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
65
|
+
:header_params => header_params,
|
|
66
|
+
:query_params => query_params,
|
|
67
|
+
:form_params => form_params,
|
|
68
|
+
:body => post_body,
|
|
69
|
+
:auth_names => auth_names,
|
|
70
|
+
:return_type => 'BankLink')
|
|
71
|
+
if @api_client.config.debugging
|
|
72
|
+
@api_client.config.logger.debug "API called: FundingApi#create_bank_link_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
|
+
end
|
|
74
|
+
return data, status_code, headers
|
|
75
|
+
end
|
|
76
|
+
# Create a deposit request
|
|
77
|
+
# Create a new deposit request for an account.
|
|
78
|
+
# @param daily_deposit_request dailyDepositRequest
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [DailyDeposit]
|
|
81
|
+
def create_deposit_using_post(daily_deposit_request, opts = {})
|
|
82
|
+
data, _status_code, _headers = create_deposit_using_post_with_http_info(daily_deposit_request, opts)
|
|
83
|
+
data
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Create a deposit request
|
|
87
|
+
# Create a new deposit request for an account.
|
|
88
|
+
# @param daily_deposit_request dailyDepositRequest
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Array<(DailyDeposit, Fixnum, Hash)>] DailyDeposit data, response status code and response headers
|
|
91
|
+
def create_deposit_using_post_with_http_info(daily_deposit_request, opts = {})
|
|
92
|
+
if @api_client.config.debugging
|
|
93
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.create_deposit_using_post ...'
|
|
94
|
+
end
|
|
95
|
+
# verify the required parameter 'daily_deposit_request' is set
|
|
96
|
+
if @api_client.config.client_side_validation && daily_deposit_request.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'daily_deposit_request' when calling FundingApi.create_deposit_using_post"
|
|
98
|
+
end
|
|
99
|
+
# resource path
|
|
100
|
+
local_var_path = '/deposit'
|
|
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(daily_deposit_request)
|
|
117
|
+
auth_names = ['oauth2']
|
|
118
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
119
|
+
:header_params => header_params,
|
|
120
|
+
:query_params => query_params,
|
|
121
|
+
:form_params => form_params,
|
|
122
|
+
:body => post_body,
|
|
123
|
+
:auth_names => auth_names,
|
|
124
|
+
:return_type => 'DailyDeposit')
|
|
125
|
+
if @api_client.config.debugging
|
|
126
|
+
@api_client.config.logger.debug "API called: FundingApi#create_deposit_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
127
|
+
end
|
|
128
|
+
return data, status_code, headers
|
|
129
|
+
end
|
|
130
|
+
# Create a funding request
|
|
131
|
+
# Create a new funding request for an account.
|
|
132
|
+
# @param funding_request fundingRequest
|
|
133
|
+
# @param [Hash] opts the optional parameters
|
|
134
|
+
# @return [Funding]
|
|
135
|
+
def create_funding_using_post(funding_request, opts = {})
|
|
136
|
+
data, _status_code, _headers = create_funding_using_post_with_http_info(funding_request, opts)
|
|
137
|
+
data
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# Create a funding request
|
|
141
|
+
# Create a new funding request for an account.
|
|
142
|
+
# @param funding_request fundingRequest
|
|
143
|
+
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @return [Array<(Funding, Fixnum, Hash)>] Funding data, response status code and response headers
|
|
145
|
+
def create_funding_using_post_with_http_info(funding_request, opts = {})
|
|
146
|
+
if @api_client.config.debugging
|
|
147
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.create_funding_using_post ...'
|
|
148
|
+
end
|
|
149
|
+
# verify the required parameter 'funding_request' is set
|
|
150
|
+
if @api_client.config.client_side_validation && funding_request.nil?
|
|
151
|
+
fail ArgumentError, "Missing the required parameter 'funding_request' when calling FundingApi.create_funding_using_post"
|
|
152
|
+
end
|
|
153
|
+
# resource path
|
|
154
|
+
local_var_path = '/funding'
|
|
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(funding_request)
|
|
171
|
+
auth_names = ['oauth2']
|
|
172
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
173
|
+
:header_params => header_params,
|
|
174
|
+
:query_params => query_params,
|
|
175
|
+
:form_params => form_params,
|
|
176
|
+
:body => post_body,
|
|
177
|
+
:auth_names => auth_names,
|
|
178
|
+
:return_type => 'Funding')
|
|
179
|
+
if @api_client.config.debugging
|
|
180
|
+
@api_client.config.logger.debug "API called: FundingApi#create_funding_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
181
|
+
end
|
|
182
|
+
return data, status_code, headers
|
|
183
|
+
end
|
|
184
|
+
# Create a transfer requests
|
|
185
|
+
# Create a new external account transfer for a client account.
|
|
186
|
+
# @param external_account_transfer_request externalAccountTransferRequest
|
|
187
|
+
# @param [Hash] opts the optional parameters
|
|
188
|
+
# @return [ExternalAccountTransfer]
|
|
189
|
+
def create_transfer_using_post(external_account_transfer_request, opts = {})
|
|
190
|
+
data, _status_code, _headers = create_transfer_using_post_with_http_info(external_account_transfer_request, opts)
|
|
191
|
+
data
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Create a transfer requests
|
|
195
|
+
# Create a new external account transfer for a client account.
|
|
196
|
+
# @param external_account_transfer_request externalAccountTransferRequest
|
|
197
|
+
# @param [Hash] opts the optional parameters
|
|
198
|
+
# @return [Array<(ExternalAccountTransfer, Fixnum, Hash)>] ExternalAccountTransfer data, response status code and response headers
|
|
199
|
+
def create_transfer_using_post_with_http_info(external_account_transfer_request, opts = {})
|
|
200
|
+
if @api_client.config.debugging
|
|
201
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.create_transfer_using_post ...'
|
|
202
|
+
end
|
|
203
|
+
# verify the required parameter 'external_account_transfer_request' is set
|
|
204
|
+
if @api_client.config.client_side_validation && external_account_transfer_request.nil?
|
|
205
|
+
fail ArgumentError, "Missing the required parameter 'external_account_transfer_request' when calling FundingApi.create_transfer_using_post"
|
|
206
|
+
end
|
|
207
|
+
# resource path
|
|
208
|
+
local_var_path = '/transfer'
|
|
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(external_account_transfer_request)
|
|
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 => 'ExternalAccountTransfer')
|
|
233
|
+
if @api_client.config.debugging
|
|
234
|
+
@api_client.config.logger.debug "API called: FundingApi#create_transfer_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
235
|
+
end
|
|
236
|
+
return data, status_code, headers
|
|
237
|
+
end
|
|
238
|
+
# Create a withdrawal request
|
|
239
|
+
# Create a new withdrawal request for an account.
|
|
240
|
+
# @param daily_withdrawal_request dailyWithdrawalRequest
|
|
241
|
+
# @param [Hash] opts the optional parameters
|
|
242
|
+
# @return [DailyWithdrawal]
|
|
243
|
+
def create_withdrawal_using_post(daily_withdrawal_request, opts = {})
|
|
244
|
+
data, _status_code, _headers = create_withdrawal_using_post_with_http_info(daily_withdrawal_request, opts)
|
|
245
|
+
data
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Create a withdrawal request
|
|
249
|
+
# Create a new withdrawal request for an account.
|
|
250
|
+
# @param daily_withdrawal_request dailyWithdrawalRequest
|
|
251
|
+
# @param [Hash] opts the optional parameters
|
|
252
|
+
# @return [Array<(DailyWithdrawal, Fixnum, Hash)>] DailyWithdrawal data, response status code and response headers
|
|
253
|
+
def create_withdrawal_using_post_with_http_info(daily_withdrawal_request, opts = {})
|
|
254
|
+
if @api_client.config.debugging
|
|
255
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.create_withdrawal_using_post ...'
|
|
256
|
+
end
|
|
257
|
+
# verify the required parameter 'daily_withdrawal_request' is set
|
|
258
|
+
if @api_client.config.client_side_validation && daily_withdrawal_request.nil?
|
|
259
|
+
fail ArgumentError, "Missing the required parameter 'daily_withdrawal_request' when calling FundingApi.create_withdrawal_using_post"
|
|
260
|
+
end
|
|
261
|
+
# resource path
|
|
262
|
+
local_var_path = '/withdrawal'
|
|
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(daily_withdrawal_request)
|
|
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 => 'DailyWithdrawal')
|
|
287
|
+
if @api_client.config.debugging
|
|
288
|
+
@api_client.config.logger.debug "API called: FundingApi#create_withdrawal_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
289
|
+
end
|
|
290
|
+
return data, status_code, headers
|
|
291
|
+
end
|
|
292
|
+
# Delete a bank link
|
|
293
|
+
# Permanently delete a bank link defined for an account.
|
|
294
|
+
# @param bank_link_id UUID bank_link_id
|
|
295
|
+
# @param [Hash] opts the optional parameters
|
|
296
|
+
# @return [nil]
|
|
297
|
+
def delete_bank_link_using_delete(bank_link_id, opts = {})
|
|
298
|
+
delete_bank_link_using_delete_with_http_info(bank_link_id, opts)
|
|
299
|
+
nil
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Delete a bank link
|
|
303
|
+
# Permanently delete a bank link defined for an account.
|
|
304
|
+
# @param bank_link_id UUID bank_link_id
|
|
305
|
+
# @param [Hash] opts the optional parameters
|
|
306
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
307
|
+
def delete_bank_link_using_delete_with_http_info(bank_link_id, opts = {})
|
|
308
|
+
if @api_client.config.debugging
|
|
309
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.delete_bank_link_using_delete ...'
|
|
310
|
+
end
|
|
311
|
+
# verify the required parameter 'bank_link_id' is set
|
|
312
|
+
if @api_client.config.client_side_validation && bank_link_id.nil?
|
|
313
|
+
fail ArgumentError, "Missing the required parameter 'bank_link_id' when calling FundingApi.delete_bank_link_using_delete"
|
|
314
|
+
end
|
|
315
|
+
# resource path
|
|
316
|
+
local_var_path = '/bank_link/{bank_link_id}'.sub('{' + 'bank_link_id' + '}', bank_link_id.to_s)
|
|
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
|
+
|
|
326
|
+
# form parameters
|
|
327
|
+
form_params = {}
|
|
328
|
+
|
|
329
|
+
# http body (model)
|
|
330
|
+
post_body = nil
|
|
331
|
+
auth_names = ['oauth2']
|
|
332
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
333
|
+
:header_params => header_params,
|
|
334
|
+
:query_params => query_params,
|
|
335
|
+
:form_params => form_params,
|
|
336
|
+
:body => post_body,
|
|
337
|
+
:auth_names => auth_names)
|
|
338
|
+
if @api_client.config.debugging
|
|
339
|
+
@api_client.config.logger.debug "API called: FundingApi#delete_bank_link_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
340
|
+
end
|
|
341
|
+
return data, status_code, headers
|
|
342
|
+
end
|
|
343
|
+
# Delete a deposit request
|
|
344
|
+
# Permanently delete a deposit request for an account.
|
|
345
|
+
# @param deposit_id UUID deposit_id
|
|
346
|
+
# @param [Hash] opts the optional parameters
|
|
347
|
+
# @return [nil]
|
|
348
|
+
def delete_deposit_using_delete(deposit_id, opts = {})
|
|
349
|
+
delete_deposit_using_delete_with_http_info(deposit_id, opts)
|
|
350
|
+
nil
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
# Delete a deposit request
|
|
354
|
+
# Permanently delete a deposit request for an account.
|
|
355
|
+
# @param deposit_id UUID deposit_id
|
|
356
|
+
# @param [Hash] opts the optional parameters
|
|
357
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
358
|
+
def delete_deposit_using_delete_with_http_info(deposit_id, opts = {})
|
|
359
|
+
if @api_client.config.debugging
|
|
360
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.delete_deposit_using_delete ...'
|
|
361
|
+
end
|
|
362
|
+
# verify the required parameter 'deposit_id' is set
|
|
363
|
+
if @api_client.config.client_side_validation && deposit_id.nil?
|
|
364
|
+
fail ArgumentError, "Missing the required parameter 'deposit_id' when calling FundingApi.delete_deposit_using_delete"
|
|
365
|
+
end
|
|
366
|
+
# resource path
|
|
367
|
+
local_var_path = '/deposit/{deposit_id}'.sub('{' + 'deposit_id' + '}', deposit_id.to_s)
|
|
368
|
+
|
|
369
|
+
# query parameters
|
|
370
|
+
query_params = {}
|
|
371
|
+
|
|
372
|
+
# header parameters
|
|
373
|
+
header_params = {}
|
|
374
|
+
# HTTP header 'Accept' (if needed)
|
|
375
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
376
|
+
|
|
377
|
+
# form parameters
|
|
378
|
+
form_params = {}
|
|
379
|
+
|
|
380
|
+
# http body (model)
|
|
381
|
+
post_body = nil
|
|
382
|
+
auth_names = ['oauth2']
|
|
383
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
384
|
+
:header_params => header_params,
|
|
385
|
+
:query_params => query_params,
|
|
386
|
+
:form_params => form_params,
|
|
387
|
+
:body => post_body,
|
|
388
|
+
:auth_names => auth_names)
|
|
389
|
+
if @api_client.config.debugging
|
|
390
|
+
@api_client.config.logger.debug "API called: FundingApi#delete_deposit_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
391
|
+
end
|
|
392
|
+
return data, status_code, headers
|
|
393
|
+
end
|
|
394
|
+
# Delete a funding request
|
|
395
|
+
# Permanently delete a funding request defined for an account.
|
|
396
|
+
# @param funding_id UUID funding_id
|
|
397
|
+
# @param [Hash] opts the optional parameters
|
|
398
|
+
# @return [nil]
|
|
399
|
+
def delete_funding_using_delete(funding_id, opts = {})
|
|
400
|
+
delete_funding_using_delete_with_http_info(funding_id, opts)
|
|
401
|
+
nil
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
# Delete a funding request
|
|
405
|
+
# Permanently delete a funding request defined for an account.
|
|
406
|
+
# @param funding_id UUID funding_id
|
|
407
|
+
# @param [Hash] opts the optional parameters
|
|
408
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
409
|
+
def delete_funding_using_delete_with_http_info(funding_id, opts = {})
|
|
410
|
+
if @api_client.config.debugging
|
|
411
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.delete_funding_using_delete ...'
|
|
412
|
+
end
|
|
413
|
+
# verify the required parameter 'funding_id' is set
|
|
414
|
+
if @api_client.config.client_side_validation && funding_id.nil?
|
|
415
|
+
fail ArgumentError, "Missing the required parameter 'funding_id' when calling FundingApi.delete_funding_using_delete"
|
|
416
|
+
end
|
|
417
|
+
# resource path
|
|
418
|
+
local_var_path = '/funding/{funding_id}'.sub('{' + 'funding_id' + '}', funding_id.to_s)
|
|
419
|
+
|
|
420
|
+
# query parameters
|
|
421
|
+
query_params = {}
|
|
422
|
+
|
|
423
|
+
# header parameters
|
|
424
|
+
header_params = {}
|
|
425
|
+
# HTTP header 'Accept' (if needed)
|
|
426
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
427
|
+
|
|
428
|
+
# form parameters
|
|
429
|
+
form_params = {}
|
|
430
|
+
|
|
431
|
+
# http body (model)
|
|
432
|
+
post_body = nil
|
|
433
|
+
auth_names = ['oauth2']
|
|
434
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
435
|
+
:header_params => header_params,
|
|
436
|
+
:query_params => query_params,
|
|
437
|
+
:form_params => form_params,
|
|
438
|
+
:body => post_body,
|
|
439
|
+
:auth_names => auth_names)
|
|
440
|
+
if @api_client.config.debugging
|
|
441
|
+
@api_client.config.logger.debug "API called: FundingApi#delete_funding_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
442
|
+
end
|
|
443
|
+
return data, status_code, headers
|
|
444
|
+
end
|
|
445
|
+
# Delete a transfer request
|
|
446
|
+
# Permanently delete a external account transfer from a client account.
|
|
447
|
+
# @param transfer_id UUID external_account_transfer_id
|
|
448
|
+
# @param [Hash] opts the optional parameters
|
|
449
|
+
# @return [nil]
|
|
450
|
+
def delete_transfer_using_delete(transfer_id, opts = {})
|
|
451
|
+
delete_transfer_using_delete_with_http_info(transfer_id, opts)
|
|
452
|
+
nil
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
# Delete a transfer request
|
|
456
|
+
# Permanently delete a external account transfer from a client account.
|
|
457
|
+
# @param transfer_id UUID external_account_transfer_id
|
|
458
|
+
# @param [Hash] opts the optional parameters
|
|
459
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
460
|
+
def delete_transfer_using_delete_with_http_info(transfer_id, opts = {})
|
|
461
|
+
if @api_client.config.debugging
|
|
462
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.delete_transfer_using_delete ...'
|
|
463
|
+
end
|
|
464
|
+
# verify the required parameter 'transfer_id' is set
|
|
465
|
+
if @api_client.config.client_side_validation && transfer_id.nil?
|
|
466
|
+
fail ArgumentError, "Missing the required parameter 'transfer_id' when calling FundingApi.delete_transfer_using_delete"
|
|
467
|
+
end
|
|
468
|
+
# resource path
|
|
469
|
+
local_var_path = '/transfer/{transfer_id}'.sub('{' + 'transfer_id' + '}', transfer_id.to_s)
|
|
470
|
+
|
|
471
|
+
# query parameters
|
|
472
|
+
query_params = {}
|
|
473
|
+
|
|
474
|
+
# header parameters
|
|
475
|
+
header_params = {}
|
|
476
|
+
# HTTP header 'Accept' (if needed)
|
|
477
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
478
|
+
|
|
479
|
+
# form parameters
|
|
480
|
+
form_params = {}
|
|
481
|
+
|
|
482
|
+
# http body (model)
|
|
483
|
+
post_body = nil
|
|
484
|
+
auth_names = ['oauth2']
|
|
485
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
486
|
+
:header_params => header_params,
|
|
487
|
+
:query_params => query_params,
|
|
488
|
+
:form_params => form_params,
|
|
489
|
+
:body => post_body,
|
|
490
|
+
:auth_names => auth_names)
|
|
491
|
+
if @api_client.config.debugging
|
|
492
|
+
@api_client.config.logger.debug "API called: FundingApi#delete_transfer_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
493
|
+
end
|
|
494
|
+
return data, status_code, headers
|
|
495
|
+
end
|
|
496
|
+
# Delete a withdrawal request
|
|
497
|
+
# Permanently delete a withdrawal request from an account.
|
|
498
|
+
# @param withdrawal_id UUID withdrawal_id
|
|
499
|
+
# @param [Hash] opts the optional parameters
|
|
500
|
+
# @return [nil]
|
|
501
|
+
def delete_withdrawal_using_delete(withdrawal_id, opts = {})
|
|
502
|
+
delete_withdrawal_using_delete_with_http_info(withdrawal_id, opts)
|
|
503
|
+
nil
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# Delete a withdrawal request
|
|
507
|
+
# Permanently delete a withdrawal request from an account.
|
|
508
|
+
# @param withdrawal_id UUID withdrawal_id
|
|
509
|
+
# @param [Hash] opts the optional parameters
|
|
510
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
511
|
+
def delete_withdrawal_using_delete_with_http_info(withdrawal_id, opts = {})
|
|
512
|
+
if @api_client.config.debugging
|
|
513
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.delete_withdrawal_using_delete ...'
|
|
514
|
+
end
|
|
515
|
+
# verify the required parameter 'withdrawal_id' is set
|
|
516
|
+
if @api_client.config.client_side_validation && withdrawal_id.nil?
|
|
517
|
+
fail ArgumentError, "Missing the required parameter 'withdrawal_id' when calling FundingApi.delete_withdrawal_using_delete"
|
|
518
|
+
end
|
|
519
|
+
# resource path
|
|
520
|
+
local_var_path = '/withdrawal/{withdrawal_id}'.sub('{' + 'withdrawal_id' + '}', withdrawal_id.to_s)
|
|
521
|
+
|
|
522
|
+
# query parameters
|
|
523
|
+
query_params = {}
|
|
524
|
+
|
|
525
|
+
# header parameters
|
|
526
|
+
header_params = {}
|
|
527
|
+
# HTTP header 'Accept' (if needed)
|
|
528
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
529
|
+
|
|
530
|
+
# form parameters
|
|
531
|
+
form_params = {}
|
|
532
|
+
|
|
533
|
+
# http body (model)
|
|
534
|
+
post_body = nil
|
|
535
|
+
auth_names = ['oauth2']
|
|
536
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
537
|
+
:header_params => header_params,
|
|
538
|
+
:query_params => query_params,
|
|
539
|
+
:form_params => form_params,
|
|
540
|
+
:body => post_body,
|
|
541
|
+
:auth_names => auth_names)
|
|
542
|
+
if @api_client.config.debugging
|
|
543
|
+
@api_client.config.logger.debug "API called: FundingApi#delete_withdrawal_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
544
|
+
end
|
|
545
|
+
return data, status_code, headers
|
|
546
|
+
end
|
|
547
|
+
# List all bank links
|
|
548
|
+
# Get all bank links defined for all clients defined for your firm.
|
|
549
|
+
# @param [Hash] opts the optional parameters
|
|
550
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
551
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
552
|
+
# @option opts [String] :filter filter
|
|
553
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
554
|
+
# @option opts [Integer] :page page (default to 0)
|
|
555
|
+
# @option opts [Integer] :size size (default to 25)
|
|
556
|
+
# @return [PageBankLink]
|
|
557
|
+
def get_bank_link_all_using_get(opts = {})
|
|
558
|
+
data, _status_code, _headers = get_bank_link_all_using_get_with_http_info(opts)
|
|
559
|
+
data
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
# List all bank links
|
|
563
|
+
# Get all bank links defined for all clients defined for your firm.
|
|
564
|
+
# @param [Hash] opts the optional parameters
|
|
565
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
566
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
567
|
+
# @option opts [String] :filter filter
|
|
568
|
+
# @option opts [String] :order_by order_by
|
|
569
|
+
# @option opts [Integer] :page page
|
|
570
|
+
# @option opts [Integer] :size size
|
|
571
|
+
# @return [Array<(PageBankLink, Fixnum, Hash)>] PageBankLink data, response status code and response headers
|
|
572
|
+
def get_bank_link_all_using_get_with_http_info(opts = {})
|
|
573
|
+
if @api_client.config.debugging
|
|
574
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_bank_link_all_using_get ...'
|
|
575
|
+
end
|
|
576
|
+
# resource path
|
|
577
|
+
local_var_path = '/bank_link'
|
|
578
|
+
|
|
579
|
+
# query parameters
|
|
580
|
+
query_params = {}
|
|
581
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
582
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
583
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
584
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
585
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
586
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
587
|
+
|
|
588
|
+
# header parameters
|
|
589
|
+
header_params = {}
|
|
590
|
+
# HTTP header 'Accept' (if needed)
|
|
591
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
592
|
+
|
|
593
|
+
# form parameters
|
|
594
|
+
form_params = {}
|
|
595
|
+
|
|
596
|
+
# http body (model)
|
|
597
|
+
post_body = nil
|
|
598
|
+
auth_names = ['oauth2']
|
|
599
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
600
|
+
:header_params => header_params,
|
|
601
|
+
:query_params => query_params,
|
|
602
|
+
:form_params => form_params,
|
|
603
|
+
:body => post_body,
|
|
604
|
+
:auth_names => auth_names,
|
|
605
|
+
:return_type => 'PageBankLink')
|
|
606
|
+
if @api_client.config.debugging
|
|
607
|
+
@api_client.config.logger.debug "API called: FundingApi#get_bank_link_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
608
|
+
end
|
|
609
|
+
return data, status_code, headers
|
|
610
|
+
end
|
|
611
|
+
# Retrieve a bank link
|
|
612
|
+
# Retrieve the information for a bank link for an account.
|
|
613
|
+
# @param bank_link_id UUID bank_link_id
|
|
614
|
+
# @param [Hash] opts the optional parameters
|
|
615
|
+
# @option opts [String] :currency_conversion USD
|
|
616
|
+
# @return [BankLink]
|
|
617
|
+
def get_bank_link_using_get(bank_link_id, opts = {})
|
|
618
|
+
data, _status_code, _headers = get_bank_link_using_get_with_http_info(bank_link_id, opts)
|
|
619
|
+
data
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# Retrieve a bank link
|
|
623
|
+
# Retrieve the information for a bank link for an account.
|
|
624
|
+
# @param bank_link_id UUID bank_link_id
|
|
625
|
+
# @param [Hash] opts the optional parameters
|
|
626
|
+
# @option opts [String] :currency_conversion USD
|
|
627
|
+
# @return [Array<(BankLink, Fixnum, Hash)>] BankLink data, response status code and response headers
|
|
628
|
+
def get_bank_link_using_get_with_http_info(bank_link_id, opts = {})
|
|
629
|
+
if @api_client.config.debugging
|
|
630
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_bank_link_using_get ...'
|
|
631
|
+
end
|
|
632
|
+
# verify the required parameter 'bank_link_id' is set
|
|
633
|
+
if @api_client.config.client_side_validation && bank_link_id.nil?
|
|
634
|
+
fail ArgumentError, "Missing the required parameter 'bank_link_id' when calling FundingApi.get_bank_link_using_get"
|
|
635
|
+
end
|
|
636
|
+
# resource path
|
|
637
|
+
local_var_path = '/bank_link/{bank_link_id}'.sub('{' + 'bank_link_id' + '}', bank_link_id.to_s)
|
|
638
|
+
|
|
639
|
+
# query parameters
|
|
640
|
+
query_params = {}
|
|
641
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
642
|
+
|
|
643
|
+
# header parameters
|
|
644
|
+
header_params = {}
|
|
645
|
+
# HTTP header 'Accept' (if needed)
|
|
646
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
647
|
+
|
|
648
|
+
# form parameters
|
|
649
|
+
form_params = {}
|
|
650
|
+
|
|
651
|
+
# http body (model)
|
|
652
|
+
post_body = nil
|
|
653
|
+
auth_names = ['oauth2']
|
|
654
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
655
|
+
:header_params => header_params,
|
|
656
|
+
:query_params => query_params,
|
|
657
|
+
:form_params => form_params,
|
|
658
|
+
:body => post_body,
|
|
659
|
+
:auth_names => auth_names,
|
|
660
|
+
:return_type => 'BankLink')
|
|
661
|
+
if @api_client.config.debugging
|
|
662
|
+
@api_client.config.logger.debug "API called: FundingApi#get_bank_link_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
663
|
+
end
|
|
664
|
+
return data, status_code, headers
|
|
665
|
+
end
|
|
666
|
+
# List all deposit requests
|
|
667
|
+
# Get the information for all deposit requests for all clients.
|
|
668
|
+
# @param [Hash] opts the optional parameters
|
|
669
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
670
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
671
|
+
# @option opts [String] :filter filter
|
|
672
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
673
|
+
# @option opts [Integer] :page page (default to 0)
|
|
674
|
+
# @option opts [Integer] :size size (default to 25)
|
|
675
|
+
# @return [PageDailyDeposit]
|
|
676
|
+
def get_deposit_all_using_get(opts = {})
|
|
677
|
+
data, _status_code, _headers = get_deposit_all_using_get_with_http_info(opts)
|
|
678
|
+
data
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
# List all deposit requests
|
|
682
|
+
# Get the information for all deposit requests for all clients.
|
|
683
|
+
# @param [Hash] opts the optional parameters
|
|
684
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
685
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
686
|
+
# @option opts [String] :filter filter
|
|
687
|
+
# @option opts [String] :order_by order_by
|
|
688
|
+
# @option opts [Integer] :page page
|
|
689
|
+
# @option opts [Integer] :size size
|
|
690
|
+
# @return [Array<(PageDailyDeposit, Fixnum, Hash)>] PageDailyDeposit data, response status code and response headers
|
|
691
|
+
def get_deposit_all_using_get_with_http_info(opts = {})
|
|
692
|
+
if @api_client.config.debugging
|
|
693
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_deposit_all_using_get ...'
|
|
694
|
+
end
|
|
695
|
+
# resource path
|
|
696
|
+
local_var_path = '/deposit'
|
|
697
|
+
|
|
698
|
+
# query parameters
|
|
699
|
+
query_params = {}
|
|
700
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
701
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
702
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
703
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
704
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
705
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
706
|
+
|
|
707
|
+
# header parameters
|
|
708
|
+
header_params = {}
|
|
709
|
+
# HTTP header 'Accept' (if needed)
|
|
710
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
711
|
+
|
|
712
|
+
# form parameters
|
|
713
|
+
form_params = {}
|
|
714
|
+
|
|
715
|
+
# http body (model)
|
|
716
|
+
post_body = nil
|
|
717
|
+
auth_names = ['oauth2']
|
|
718
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
719
|
+
:header_params => header_params,
|
|
720
|
+
:query_params => query_params,
|
|
721
|
+
:form_params => form_params,
|
|
722
|
+
:body => post_body,
|
|
723
|
+
:auth_names => auth_names,
|
|
724
|
+
:return_type => 'PageDailyDeposit')
|
|
725
|
+
if @api_client.config.debugging
|
|
726
|
+
@api_client.config.logger.debug "API called: FundingApi#get_deposit_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
727
|
+
end
|
|
728
|
+
return data, status_code, headers
|
|
729
|
+
end
|
|
730
|
+
# Retrieve a deposit request
|
|
731
|
+
# Retrieve the information for a deposit request for an account.
|
|
732
|
+
# @param deposit_id UUID deposit_id
|
|
733
|
+
# @param [Hash] opts the optional parameters
|
|
734
|
+
# @option opts [String] :currency_conversion USD
|
|
735
|
+
# @return [DailyDeposit]
|
|
736
|
+
def get_deposit_using_get(deposit_id, opts = {})
|
|
737
|
+
data, _status_code, _headers = get_deposit_using_get_with_http_info(deposit_id, opts)
|
|
738
|
+
data
|
|
739
|
+
end
|
|
740
|
+
|
|
741
|
+
# Retrieve a deposit request
|
|
742
|
+
# Retrieve the information for a deposit request for an account.
|
|
743
|
+
# @param deposit_id UUID deposit_id
|
|
744
|
+
# @param [Hash] opts the optional parameters
|
|
745
|
+
# @option opts [String] :currency_conversion USD
|
|
746
|
+
# @return [Array<(DailyDeposit, Fixnum, Hash)>] DailyDeposit data, response status code and response headers
|
|
747
|
+
def get_deposit_using_get_with_http_info(deposit_id, opts = {})
|
|
748
|
+
if @api_client.config.debugging
|
|
749
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_deposit_using_get ...'
|
|
750
|
+
end
|
|
751
|
+
# verify the required parameter 'deposit_id' is set
|
|
752
|
+
if @api_client.config.client_side_validation && deposit_id.nil?
|
|
753
|
+
fail ArgumentError, "Missing the required parameter 'deposit_id' when calling FundingApi.get_deposit_using_get"
|
|
754
|
+
end
|
|
755
|
+
# resource path
|
|
756
|
+
local_var_path = '/deposit/{deposit_id}'.sub('{' + 'deposit_id' + '}', deposit_id.to_s)
|
|
757
|
+
|
|
758
|
+
# query parameters
|
|
759
|
+
query_params = {}
|
|
760
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
761
|
+
|
|
762
|
+
# header parameters
|
|
763
|
+
header_params = {}
|
|
764
|
+
# HTTP header 'Accept' (if needed)
|
|
765
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
766
|
+
|
|
767
|
+
# form parameters
|
|
768
|
+
form_params = {}
|
|
769
|
+
|
|
770
|
+
# http body (model)
|
|
771
|
+
post_body = nil
|
|
772
|
+
auth_names = ['oauth2']
|
|
773
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
774
|
+
:header_params => header_params,
|
|
775
|
+
:query_params => query_params,
|
|
776
|
+
:form_params => form_params,
|
|
777
|
+
:body => post_body,
|
|
778
|
+
:auth_names => auth_names,
|
|
779
|
+
:return_type => 'DailyDeposit')
|
|
780
|
+
if @api_client.config.debugging
|
|
781
|
+
@api_client.config.logger.debug "API called: FundingApi#get_deposit_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
782
|
+
end
|
|
783
|
+
return data, status_code, headers
|
|
784
|
+
end
|
|
785
|
+
# List all funding requests
|
|
786
|
+
# Get the information for all funding requests defined for your firm.
|
|
787
|
+
# @param [Hash] opts the optional parameters
|
|
788
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
789
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
790
|
+
# @option opts [String] :filter filter
|
|
791
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
792
|
+
# @option opts [Integer] :page page (default to 0)
|
|
793
|
+
# @option opts [Integer] :size size (default to 25)
|
|
794
|
+
# @return [PageFunding]
|
|
795
|
+
def get_funding_all_using_get(opts = {})
|
|
796
|
+
data, _status_code, _headers = get_funding_all_using_get_with_http_info(opts)
|
|
797
|
+
data
|
|
798
|
+
end
|
|
799
|
+
|
|
800
|
+
# List all funding requests
|
|
801
|
+
# Get the information for all funding requests defined for your firm.
|
|
802
|
+
# @param [Hash] opts the optional parameters
|
|
803
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
804
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
805
|
+
# @option opts [String] :filter filter
|
|
806
|
+
# @option opts [String] :order_by order_by
|
|
807
|
+
# @option opts [Integer] :page page
|
|
808
|
+
# @option opts [Integer] :size size
|
|
809
|
+
# @return [Array<(PageFunding, Fixnum, Hash)>] PageFunding data, response status code and response headers
|
|
810
|
+
def get_funding_all_using_get_with_http_info(opts = {})
|
|
811
|
+
if @api_client.config.debugging
|
|
812
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_funding_all_using_get ...'
|
|
813
|
+
end
|
|
814
|
+
# resource path
|
|
815
|
+
local_var_path = '/funding'
|
|
816
|
+
|
|
817
|
+
# query parameters
|
|
818
|
+
query_params = {}
|
|
819
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
820
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
821
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
822
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
823
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
824
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
825
|
+
|
|
826
|
+
# header parameters
|
|
827
|
+
header_params = {}
|
|
828
|
+
# HTTP header 'Accept' (if needed)
|
|
829
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
830
|
+
|
|
831
|
+
# form parameters
|
|
832
|
+
form_params = {}
|
|
833
|
+
|
|
834
|
+
# http body (model)
|
|
835
|
+
post_body = nil
|
|
836
|
+
auth_names = ['oauth2']
|
|
837
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
838
|
+
:header_params => header_params,
|
|
839
|
+
:query_params => query_params,
|
|
840
|
+
:form_params => form_params,
|
|
841
|
+
:body => post_body,
|
|
842
|
+
:auth_names => auth_names,
|
|
843
|
+
:return_type => 'PageFunding')
|
|
844
|
+
if @api_client.config.debugging
|
|
845
|
+
@api_client.config.logger.debug "API called: FundingApi#get_funding_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
846
|
+
end
|
|
847
|
+
return data, status_code, headers
|
|
848
|
+
end
|
|
849
|
+
# Retrieve a funding request
|
|
850
|
+
# Retrieve the information for a funding request for an account.
|
|
851
|
+
# @param funding_id UUID funding_id
|
|
852
|
+
# @param [Hash] opts the optional parameters
|
|
853
|
+
# @option opts [String] :currency_conversion USD
|
|
854
|
+
# @return [Funding]
|
|
855
|
+
def get_funding_using_get(funding_id, opts = {})
|
|
856
|
+
data, _status_code, _headers = get_funding_using_get_with_http_info(funding_id, opts)
|
|
857
|
+
data
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
# Retrieve a funding request
|
|
861
|
+
# Retrieve the information for a funding request for an account.
|
|
862
|
+
# @param funding_id UUID funding_id
|
|
863
|
+
# @param [Hash] opts the optional parameters
|
|
864
|
+
# @option opts [String] :currency_conversion USD
|
|
865
|
+
# @return [Array<(Funding, Fixnum, Hash)>] Funding data, response status code and response headers
|
|
866
|
+
def get_funding_using_get_with_http_info(funding_id, opts = {})
|
|
867
|
+
if @api_client.config.debugging
|
|
868
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_funding_using_get ...'
|
|
869
|
+
end
|
|
870
|
+
# verify the required parameter 'funding_id' is set
|
|
871
|
+
if @api_client.config.client_side_validation && funding_id.nil?
|
|
872
|
+
fail ArgumentError, "Missing the required parameter 'funding_id' when calling FundingApi.get_funding_using_get"
|
|
873
|
+
end
|
|
874
|
+
# resource path
|
|
875
|
+
local_var_path = '/funding/{funding_id}'.sub('{' + 'funding_id' + '}', funding_id.to_s)
|
|
876
|
+
|
|
877
|
+
# query parameters
|
|
878
|
+
query_params = {}
|
|
879
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
880
|
+
|
|
881
|
+
# header parameters
|
|
882
|
+
header_params = {}
|
|
883
|
+
# HTTP header 'Accept' (if needed)
|
|
884
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
885
|
+
|
|
886
|
+
# form parameters
|
|
887
|
+
form_params = {}
|
|
888
|
+
|
|
889
|
+
# http body (model)
|
|
890
|
+
post_body = nil
|
|
891
|
+
auth_names = ['oauth2']
|
|
892
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
893
|
+
:header_params => header_params,
|
|
894
|
+
:query_params => query_params,
|
|
895
|
+
:form_params => form_params,
|
|
896
|
+
:body => post_body,
|
|
897
|
+
:auth_names => auth_names,
|
|
898
|
+
:return_type => 'Funding')
|
|
899
|
+
if @api_client.config.debugging
|
|
900
|
+
@api_client.config.logger.debug "API called: FundingApi#get_funding_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
901
|
+
end
|
|
902
|
+
return data, status_code, headers
|
|
903
|
+
end
|
|
904
|
+
# List all transfer requests
|
|
905
|
+
# Get the information for all external account transfers defined for your firm.
|
|
906
|
+
# @param [Hash] opts the optional parameters
|
|
907
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
908
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
909
|
+
# @option opts [String] :filter filter
|
|
910
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
911
|
+
# @option opts [Integer] :page page (default to 0)
|
|
912
|
+
# @option opts [Integer] :size size (default to 25)
|
|
913
|
+
# @return [PageExternalAccountTransfer]
|
|
914
|
+
def get_transfer_all_using_get(opts = {})
|
|
915
|
+
data, _status_code, _headers = get_transfer_all_using_get_with_http_info(opts)
|
|
916
|
+
data
|
|
917
|
+
end
|
|
918
|
+
|
|
919
|
+
# List all transfer requests
|
|
920
|
+
# Get the information for all external account transfers defined for your firm.
|
|
921
|
+
# @param [Hash] opts the optional parameters
|
|
922
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
923
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
924
|
+
# @option opts [String] :filter filter
|
|
925
|
+
# @option opts [String] :order_by order_by
|
|
926
|
+
# @option opts [Integer] :page page
|
|
927
|
+
# @option opts [Integer] :size size
|
|
928
|
+
# @return [Array<(PageExternalAccountTransfer, Fixnum, Hash)>] PageExternalAccountTransfer data, response status code and response headers
|
|
929
|
+
def get_transfer_all_using_get_with_http_info(opts = {})
|
|
930
|
+
if @api_client.config.debugging
|
|
931
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_transfer_all_using_get ...'
|
|
932
|
+
end
|
|
933
|
+
# resource path
|
|
934
|
+
local_var_path = '/transfer'
|
|
935
|
+
|
|
936
|
+
# query parameters
|
|
937
|
+
query_params = {}
|
|
938
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
939
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
940
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
941
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
942
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
943
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
944
|
+
|
|
945
|
+
# header parameters
|
|
946
|
+
header_params = {}
|
|
947
|
+
# HTTP header 'Accept' (if needed)
|
|
948
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
949
|
+
|
|
950
|
+
# form parameters
|
|
951
|
+
form_params = {}
|
|
952
|
+
|
|
953
|
+
# http body (model)
|
|
954
|
+
post_body = nil
|
|
955
|
+
auth_names = ['oauth2']
|
|
956
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
957
|
+
:header_params => header_params,
|
|
958
|
+
:query_params => query_params,
|
|
959
|
+
:form_params => form_params,
|
|
960
|
+
:body => post_body,
|
|
961
|
+
:auth_names => auth_names,
|
|
962
|
+
:return_type => 'PageExternalAccountTransfer')
|
|
963
|
+
if @api_client.config.debugging
|
|
964
|
+
@api_client.config.logger.debug "API called: FundingApi#get_transfer_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
965
|
+
end
|
|
966
|
+
return data, status_code, headers
|
|
967
|
+
end
|
|
968
|
+
# Retrieve a transfer request
|
|
969
|
+
# Retrieve the information for a external account transfer for an account.
|
|
970
|
+
# @param transfer_id UUID external_account_transfer_id
|
|
971
|
+
# @param [Hash] opts the optional parameters
|
|
972
|
+
# @option opts [String] :currency_conversion USD
|
|
973
|
+
# @return [ExternalAccountTransfer]
|
|
974
|
+
def get_transfer_using_get(transfer_id, opts = {})
|
|
975
|
+
data, _status_code, _headers = get_transfer_using_get_with_http_info(transfer_id, opts)
|
|
976
|
+
data
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
# Retrieve a transfer request
|
|
980
|
+
# Retrieve the information for a external account transfer for an account.
|
|
981
|
+
# @param transfer_id UUID external_account_transfer_id
|
|
982
|
+
# @param [Hash] opts the optional parameters
|
|
983
|
+
# @option opts [String] :currency_conversion USD
|
|
984
|
+
# @return [Array<(ExternalAccountTransfer, Fixnum, Hash)>] ExternalAccountTransfer data, response status code and response headers
|
|
985
|
+
def get_transfer_using_get_with_http_info(transfer_id, opts = {})
|
|
986
|
+
if @api_client.config.debugging
|
|
987
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_transfer_using_get ...'
|
|
988
|
+
end
|
|
989
|
+
# verify the required parameter 'transfer_id' is set
|
|
990
|
+
if @api_client.config.client_side_validation && transfer_id.nil?
|
|
991
|
+
fail ArgumentError, "Missing the required parameter 'transfer_id' when calling FundingApi.get_transfer_using_get"
|
|
992
|
+
end
|
|
993
|
+
# resource path
|
|
994
|
+
local_var_path = '/transfer/{transfer_id}'.sub('{' + 'transfer_id' + '}', transfer_id.to_s)
|
|
995
|
+
|
|
996
|
+
# query parameters
|
|
997
|
+
query_params = {}
|
|
998
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
999
|
+
|
|
1000
|
+
# header parameters
|
|
1001
|
+
header_params = {}
|
|
1002
|
+
# HTTP header 'Accept' (if needed)
|
|
1003
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1004
|
+
|
|
1005
|
+
# form parameters
|
|
1006
|
+
form_params = {}
|
|
1007
|
+
|
|
1008
|
+
# http body (model)
|
|
1009
|
+
post_body = nil
|
|
1010
|
+
auth_names = ['oauth2']
|
|
1011
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1012
|
+
:header_params => header_params,
|
|
1013
|
+
:query_params => query_params,
|
|
1014
|
+
:form_params => form_params,
|
|
1015
|
+
:body => post_body,
|
|
1016
|
+
:auth_names => auth_names,
|
|
1017
|
+
:return_type => 'ExternalAccountTransfer')
|
|
1018
|
+
if @api_client.config.debugging
|
|
1019
|
+
@api_client.config.logger.debug "API called: FundingApi#get_transfer_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1020
|
+
end
|
|
1021
|
+
return data, status_code, headers
|
|
1022
|
+
end
|
|
1023
|
+
# List all withdrawal requests
|
|
1024
|
+
# Get the information for all withdrawal requests for all clients.
|
|
1025
|
+
# @param [Hash] opts the optional parameters
|
|
1026
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
1027
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
1028
|
+
# @option opts [String] :filter filter
|
|
1029
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
1030
|
+
# @option opts [Integer] :page page (default to 0)
|
|
1031
|
+
# @option opts [Integer] :size size (default to 25)
|
|
1032
|
+
# @return [PageDailyWithdrawal]
|
|
1033
|
+
def get_withdrawal_all_using_get(opts = {})
|
|
1034
|
+
data, _status_code, _headers = get_withdrawal_all_using_get_with_http_info(opts)
|
|
1035
|
+
data
|
|
1036
|
+
end
|
|
1037
|
+
|
|
1038
|
+
# List all withdrawal requests
|
|
1039
|
+
# Get the information for all withdrawal requests for all clients.
|
|
1040
|
+
# @param [Hash] opts the optional parameters
|
|
1041
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
1042
|
+
# @option opts [String] :currency_conversion currency_conversion
|
|
1043
|
+
# @option opts [String] :filter filter
|
|
1044
|
+
# @option opts [String] :order_by order_by
|
|
1045
|
+
# @option opts [Integer] :page page
|
|
1046
|
+
# @option opts [Integer] :size size
|
|
1047
|
+
# @return [Array<(PageDailyWithdrawal, Fixnum, Hash)>] PageDailyWithdrawal data, response status code and response headers
|
|
1048
|
+
def get_withdrawal_all_using_get_with_http_info(opts = {})
|
|
1049
|
+
if @api_client.config.debugging
|
|
1050
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_withdrawal_all_using_get ...'
|
|
1051
|
+
end
|
|
1052
|
+
# resource path
|
|
1053
|
+
local_var_path = '/withdrawal'
|
|
1054
|
+
|
|
1055
|
+
# query parameters
|
|
1056
|
+
query_params = {}
|
|
1057
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
1058
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
1059
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
1060
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
1061
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1062
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1063
|
+
|
|
1064
|
+
# header parameters
|
|
1065
|
+
header_params = {}
|
|
1066
|
+
# HTTP header 'Accept' (if needed)
|
|
1067
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1068
|
+
|
|
1069
|
+
# form parameters
|
|
1070
|
+
form_params = {}
|
|
1071
|
+
|
|
1072
|
+
# http body (model)
|
|
1073
|
+
post_body = nil
|
|
1074
|
+
auth_names = ['oauth2']
|
|
1075
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1076
|
+
:header_params => header_params,
|
|
1077
|
+
:query_params => query_params,
|
|
1078
|
+
:form_params => form_params,
|
|
1079
|
+
:body => post_body,
|
|
1080
|
+
:auth_names => auth_names,
|
|
1081
|
+
:return_type => 'PageDailyWithdrawal')
|
|
1082
|
+
if @api_client.config.debugging
|
|
1083
|
+
@api_client.config.logger.debug "API called: FundingApi#get_withdrawal_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1084
|
+
end
|
|
1085
|
+
return data, status_code, headers
|
|
1086
|
+
end
|
|
1087
|
+
# Retrieve a withdrawal request
|
|
1088
|
+
# Retrieve the information for a withdrawal request for an account.
|
|
1089
|
+
# @param withdrawal_id UUID withdrawal_id
|
|
1090
|
+
# @param [Hash] opts the optional parameters
|
|
1091
|
+
# @option opts [String] :currency_conversion USD
|
|
1092
|
+
# @return [DailyWithdrawal]
|
|
1093
|
+
def get_withdrawal_using_get(withdrawal_id, opts = {})
|
|
1094
|
+
data, _status_code, _headers = get_withdrawal_using_get_with_http_info(withdrawal_id, opts)
|
|
1095
|
+
data
|
|
1096
|
+
end
|
|
1097
|
+
|
|
1098
|
+
# Retrieve a withdrawal request
|
|
1099
|
+
# Retrieve the information for a withdrawal request for an account.
|
|
1100
|
+
# @param withdrawal_id UUID withdrawal_id
|
|
1101
|
+
# @param [Hash] opts the optional parameters
|
|
1102
|
+
# @option opts [String] :currency_conversion USD
|
|
1103
|
+
# @return [Array<(DailyWithdrawal, Fixnum, Hash)>] DailyWithdrawal data, response status code and response headers
|
|
1104
|
+
def get_withdrawal_using_get_with_http_info(withdrawal_id, opts = {})
|
|
1105
|
+
if @api_client.config.debugging
|
|
1106
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.get_withdrawal_using_get ...'
|
|
1107
|
+
end
|
|
1108
|
+
# verify the required parameter 'withdrawal_id' is set
|
|
1109
|
+
if @api_client.config.client_side_validation && withdrawal_id.nil?
|
|
1110
|
+
fail ArgumentError, "Missing the required parameter 'withdrawal_id' when calling FundingApi.get_withdrawal_using_get"
|
|
1111
|
+
end
|
|
1112
|
+
# resource path
|
|
1113
|
+
local_var_path = '/withdrawal/{withdrawal_id}'.sub('{' + 'withdrawal_id' + '}', withdrawal_id.to_s)
|
|
1114
|
+
|
|
1115
|
+
# query parameters
|
|
1116
|
+
query_params = {}
|
|
1117
|
+
query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
|
|
1118
|
+
|
|
1119
|
+
# header parameters
|
|
1120
|
+
header_params = {}
|
|
1121
|
+
# HTTP header 'Accept' (if needed)
|
|
1122
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1123
|
+
|
|
1124
|
+
# form parameters
|
|
1125
|
+
form_params = {}
|
|
1126
|
+
|
|
1127
|
+
# http body (model)
|
|
1128
|
+
post_body = nil
|
|
1129
|
+
auth_names = ['oauth2']
|
|
1130
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1131
|
+
:header_params => header_params,
|
|
1132
|
+
:query_params => query_params,
|
|
1133
|
+
:form_params => form_params,
|
|
1134
|
+
:body => post_body,
|
|
1135
|
+
:auth_names => auth_names,
|
|
1136
|
+
:return_type => 'DailyWithdrawal')
|
|
1137
|
+
if @api_client.config.debugging
|
|
1138
|
+
@api_client.config.logger.debug "API called: FundingApi#get_withdrawal_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1139
|
+
end
|
|
1140
|
+
return data, status_code, headers
|
|
1141
|
+
end
|
|
1142
|
+
# Update list of bank link
|
|
1143
|
+
# Update bank link list for an account.
|
|
1144
|
+
# @param bank_link_list bankLinkList
|
|
1145
|
+
# @param [Hash] opts the optional parameters
|
|
1146
|
+
# @return [Array<BankLink>]
|
|
1147
|
+
def update_bank_link_bulk_using_put(bank_link_list, opts = {})
|
|
1148
|
+
data, _status_code, _headers = update_bank_link_bulk_using_put_with_http_info(bank_link_list, opts)
|
|
1149
|
+
data
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
# Update list of bank link
|
|
1153
|
+
# Update bank link list for an account.
|
|
1154
|
+
# @param bank_link_list bankLinkList
|
|
1155
|
+
# @param [Hash] opts the optional parameters
|
|
1156
|
+
# @return [Array<(Array<BankLink>, Fixnum, Hash)>] Array<BankLink> data, response status code and response headers
|
|
1157
|
+
def update_bank_link_bulk_using_put_with_http_info(bank_link_list, opts = {})
|
|
1158
|
+
if @api_client.config.debugging
|
|
1159
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.update_bank_link_bulk_using_put ...'
|
|
1160
|
+
end
|
|
1161
|
+
# verify the required parameter 'bank_link_list' is set
|
|
1162
|
+
if @api_client.config.client_side_validation && bank_link_list.nil?
|
|
1163
|
+
fail ArgumentError, "Missing the required parameter 'bank_link_list' when calling FundingApi.update_bank_link_bulk_using_put"
|
|
1164
|
+
end
|
|
1165
|
+
# resource path
|
|
1166
|
+
local_var_path = '/bulk_bank_link'
|
|
1167
|
+
|
|
1168
|
+
# query parameters
|
|
1169
|
+
query_params = {}
|
|
1170
|
+
|
|
1171
|
+
# header parameters
|
|
1172
|
+
header_params = {}
|
|
1173
|
+
# HTTP header 'Accept' (if needed)
|
|
1174
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1175
|
+
# HTTP header 'Content-Type'
|
|
1176
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1177
|
+
|
|
1178
|
+
# form parameters
|
|
1179
|
+
form_params = {}
|
|
1180
|
+
|
|
1181
|
+
# http body (model)
|
|
1182
|
+
post_body = @api_client.object_to_http_body(bank_link_list)
|
|
1183
|
+
auth_names = ['oauth2']
|
|
1184
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1185
|
+
:header_params => header_params,
|
|
1186
|
+
:query_params => query_params,
|
|
1187
|
+
:form_params => form_params,
|
|
1188
|
+
:body => post_body,
|
|
1189
|
+
:auth_names => auth_names,
|
|
1190
|
+
:return_type => 'Array<BankLink>')
|
|
1191
|
+
if @api_client.config.debugging
|
|
1192
|
+
@api_client.config.logger.debug "API called: FundingApi#update_bank_link_bulk_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1193
|
+
end
|
|
1194
|
+
return data, status_code, headers
|
|
1195
|
+
end
|
|
1196
|
+
# Update a bank link
|
|
1197
|
+
# Update the information for a bank link for an account.
|
|
1198
|
+
# @param bank_link bank_link
|
|
1199
|
+
# @param bank_link_id UUID bank_link_id
|
|
1200
|
+
# @param [Hash] opts the optional parameters
|
|
1201
|
+
# @return [BankLink]
|
|
1202
|
+
def update_bank_link_using_put(bank_link, bank_link_id, opts = {})
|
|
1203
|
+
data, _status_code, _headers = update_bank_link_using_put_with_http_info(bank_link, bank_link_id, opts)
|
|
1204
|
+
data
|
|
1205
|
+
end
|
|
1206
|
+
|
|
1207
|
+
# Update a bank link
|
|
1208
|
+
# Update the information for a bank link for an account.
|
|
1209
|
+
# @param bank_link bank_link
|
|
1210
|
+
# @param bank_link_id UUID bank_link_id
|
|
1211
|
+
# @param [Hash] opts the optional parameters
|
|
1212
|
+
# @return [Array<(BankLink, Fixnum, Hash)>] BankLink data, response status code and response headers
|
|
1213
|
+
def update_bank_link_using_put_with_http_info(bank_link, bank_link_id, opts = {})
|
|
1214
|
+
if @api_client.config.debugging
|
|
1215
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.update_bank_link_using_put ...'
|
|
1216
|
+
end
|
|
1217
|
+
# verify the required parameter 'bank_link' is set
|
|
1218
|
+
if @api_client.config.client_side_validation && bank_link.nil?
|
|
1219
|
+
fail ArgumentError, "Missing the required parameter 'bank_link' when calling FundingApi.update_bank_link_using_put"
|
|
1220
|
+
end
|
|
1221
|
+
# verify the required parameter 'bank_link_id' is set
|
|
1222
|
+
if @api_client.config.client_side_validation && bank_link_id.nil?
|
|
1223
|
+
fail ArgumentError, "Missing the required parameter 'bank_link_id' when calling FundingApi.update_bank_link_using_put"
|
|
1224
|
+
end
|
|
1225
|
+
# resource path
|
|
1226
|
+
local_var_path = '/bank_link/{bank_link_id}'.sub('{' + 'bank_link_id' + '}', bank_link_id.to_s)
|
|
1227
|
+
|
|
1228
|
+
# query parameters
|
|
1229
|
+
query_params = {}
|
|
1230
|
+
|
|
1231
|
+
# header parameters
|
|
1232
|
+
header_params = {}
|
|
1233
|
+
# HTTP header 'Accept' (if needed)
|
|
1234
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1235
|
+
# HTTP header 'Content-Type'
|
|
1236
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1237
|
+
|
|
1238
|
+
# form parameters
|
|
1239
|
+
form_params = {}
|
|
1240
|
+
|
|
1241
|
+
# http body (model)
|
|
1242
|
+
post_body = @api_client.object_to_http_body(bank_link)
|
|
1243
|
+
auth_names = ['oauth2']
|
|
1244
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1245
|
+
:header_params => header_params,
|
|
1246
|
+
:query_params => query_params,
|
|
1247
|
+
:form_params => form_params,
|
|
1248
|
+
:body => post_body,
|
|
1249
|
+
:auth_names => auth_names,
|
|
1250
|
+
:return_type => 'BankLink')
|
|
1251
|
+
if @api_client.config.debugging
|
|
1252
|
+
@api_client.config.logger.debug "API called: FundingApi#update_bank_link_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1253
|
+
end
|
|
1254
|
+
return data, status_code, headers
|
|
1255
|
+
end
|
|
1256
|
+
# Update a deposit request
|
|
1257
|
+
# Update the information for a deposit request for an account.
|
|
1258
|
+
# @param deposit deposit
|
|
1259
|
+
# @param deposit_id UUID deposit_id
|
|
1260
|
+
# @param [Hash] opts the optional parameters
|
|
1261
|
+
# @return [DailyDeposit]
|
|
1262
|
+
def update_deposit_using_put(deposit, deposit_id, opts = {})
|
|
1263
|
+
data, _status_code, _headers = update_deposit_using_put_with_http_info(deposit, deposit_id, opts)
|
|
1264
|
+
data
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1267
|
+
# Update a deposit request
|
|
1268
|
+
# Update the information for a deposit request for an account.
|
|
1269
|
+
# @param deposit deposit
|
|
1270
|
+
# @param deposit_id UUID deposit_id
|
|
1271
|
+
# @param [Hash] opts the optional parameters
|
|
1272
|
+
# @return [Array<(DailyDeposit, Fixnum, Hash)>] DailyDeposit data, response status code and response headers
|
|
1273
|
+
def update_deposit_using_put_with_http_info(deposit, deposit_id, opts = {})
|
|
1274
|
+
if @api_client.config.debugging
|
|
1275
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.update_deposit_using_put ...'
|
|
1276
|
+
end
|
|
1277
|
+
# verify the required parameter 'deposit' is set
|
|
1278
|
+
if @api_client.config.client_side_validation && deposit.nil?
|
|
1279
|
+
fail ArgumentError, "Missing the required parameter 'deposit' when calling FundingApi.update_deposit_using_put"
|
|
1280
|
+
end
|
|
1281
|
+
# verify the required parameter 'deposit_id' is set
|
|
1282
|
+
if @api_client.config.client_side_validation && deposit_id.nil?
|
|
1283
|
+
fail ArgumentError, "Missing the required parameter 'deposit_id' when calling FundingApi.update_deposit_using_put"
|
|
1284
|
+
end
|
|
1285
|
+
# resource path
|
|
1286
|
+
local_var_path = '/deposit/{deposit_id}'.sub('{' + 'deposit_id' + '}', deposit_id.to_s)
|
|
1287
|
+
|
|
1288
|
+
# query parameters
|
|
1289
|
+
query_params = {}
|
|
1290
|
+
|
|
1291
|
+
# header parameters
|
|
1292
|
+
header_params = {}
|
|
1293
|
+
# HTTP header 'Accept' (if needed)
|
|
1294
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1295
|
+
# HTTP header 'Content-Type'
|
|
1296
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1297
|
+
|
|
1298
|
+
# form parameters
|
|
1299
|
+
form_params = {}
|
|
1300
|
+
|
|
1301
|
+
# http body (model)
|
|
1302
|
+
post_body = @api_client.object_to_http_body(deposit)
|
|
1303
|
+
auth_names = ['oauth2']
|
|
1304
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1305
|
+
:header_params => header_params,
|
|
1306
|
+
:query_params => query_params,
|
|
1307
|
+
:form_params => form_params,
|
|
1308
|
+
:body => post_body,
|
|
1309
|
+
:auth_names => auth_names,
|
|
1310
|
+
:return_type => 'DailyDeposit')
|
|
1311
|
+
if @api_client.config.debugging
|
|
1312
|
+
@api_client.config.logger.debug "API called: FundingApi#update_deposit_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1313
|
+
end
|
|
1314
|
+
return data, status_code, headers
|
|
1315
|
+
end
|
|
1316
|
+
# Update a funding request
|
|
1317
|
+
# Update the information for a funding request for an account.
|
|
1318
|
+
# @param funding funding
|
|
1319
|
+
# @param funding_id UUID funding_id
|
|
1320
|
+
# @param [Hash] opts the optional parameters
|
|
1321
|
+
# @return [Funding]
|
|
1322
|
+
def update_funding_using_put(funding, funding_id, opts = {})
|
|
1323
|
+
data, _status_code, _headers = update_funding_using_put_with_http_info(funding, funding_id, opts)
|
|
1324
|
+
data
|
|
1325
|
+
end
|
|
1326
|
+
|
|
1327
|
+
# Update a funding request
|
|
1328
|
+
# Update the information for a funding request for an account.
|
|
1329
|
+
# @param funding funding
|
|
1330
|
+
# @param funding_id UUID funding_id
|
|
1331
|
+
# @param [Hash] opts the optional parameters
|
|
1332
|
+
# @return [Array<(Funding, Fixnum, Hash)>] Funding data, response status code and response headers
|
|
1333
|
+
def update_funding_using_put_with_http_info(funding, funding_id, opts = {})
|
|
1334
|
+
if @api_client.config.debugging
|
|
1335
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.update_funding_using_put ...'
|
|
1336
|
+
end
|
|
1337
|
+
# verify the required parameter 'funding' is set
|
|
1338
|
+
if @api_client.config.client_side_validation && funding.nil?
|
|
1339
|
+
fail ArgumentError, "Missing the required parameter 'funding' when calling FundingApi.update_funding_using_put"
|
|
1340
|
+
end
|
|
1341
|
+
# verify the required parameter 'funding_id' is set
|
|
1342
|
+
if @api_client.config.client_side_validation && funding_id.nil?
|
|
1343
|
+
fail ArgumentError, "Missing the required parameter 'funding_id' when calling FundingApi.update_funding_using_put"
|
|
1344
|
+
end
|
|
1345
|
+
# resource path
|
|
1346
|
+
local_var_path = '/funding/{funding_id}'.sub('{' + 'funding_id' + '}', funding_id.to_s)
|
|
1347
|
+
|
|
1348
|
+
# query parameters
|
|
1349
|
+
query_params = {}
|
|
1350
|
+
|
|
1351
|
+
# header parameters
|
|
1352
|
+
header_params = {}
|
|
1353
|
+
# HTTP header 'Accept' (if needed)
|
|
1354
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1355
|
+
# HTTP header 'Content-Type'
|
|
1356
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1357
|
+
|
|
1358
|
+
# form parameters
|
|
1359
|
+
form_params = {}
|
|
1360
|
+
|
|
1361
|
+
# http body (model)
|
|
1362
|
+
post_body = @api_client.object_to_http_body(funding)
|
|
1363
|
+
auth_names = ['oauth2']
|
|
1364
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1365
|
+
:header_params => header_params,
|
|
1366
|
+
:query_params => query_params,
|
|
1367
|
+
:form_params => form_params,
|
|
1368
|
+
:body => post_body,
|
|
1369
|
+
:auth_names => auth_names,
|
|
1370
|
+
:return_type => 'Funding')
|
|
1371
|
+
if @api_client.config.debugging
|
|
1372
|
+
@api_client.config.logger.debug "API called: FundingApi#update_funding_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1373
|
+
end
|
|
1374
|
+
return data, status_code, headers
|
|
1375
|
+
end
|
|
1376
|
+
# Update a transfer request
|
|
1377
|
+
# Update the information for a external account transfer for a client account.
|
|
1378
|
+
# @param transfer transfer
|
|
1379
|
+
# @param transfer_id UUID external_account_transfer_id
|
|
1380
|
+
# @param [Hash] opts the optional parameters
|
|
1381
|
+
# @return [ExternalAccountTransfer]
|
|
1382
|
+
def update_transfer_using_put(transfer, transfer_id, opts = {})
|
|
1383
|
+
data, _status_code, _headers = update_transfer_using_put_with_http_info(transfer, transfer_id, opts)
|
|
1384
|
+
data
|
|
1385
|
+
end
|
|
1386
|
+
|
|
1387
|
+
# Update a transfer request
|
|
1388
|
+
# Update the information for a external account transfer for a client account.
|
|
1389
|
+
# @param transfer transfer
|
|
1390
|
+
# @param transfer_id UUID external_account_transfer_id
|
|
1391
|
+
# @param [Hash] opts the optional parameters
|
|
1392
|
+
# @return [Array<(ExternalAccountTransfer, Fixnum, Hash)>] ExternalAccountTransfer data, response status code and response headers
|
|
1393
|
+
def update_transfer_using_put_with_http_info(transfer, transfer_id, opts = {})
|
|
1394
|
+
if @api_client.config.debugging
|
|
1395
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.update_transfer_using_put ...'
|
|
1396
|
+
end
|
|
1397
|
+
# verify the required parameter 'transfer' is set
|
|
1398
|
+
if @api_client.config.client_side_validation && transfer.nil?
|
|
1399
|
+
fail ArgumentError, "Missing the required parameter 'transfer' when calling FundingApi.update_transfer_using_put"
|
|
1400
|
+
end
|
|
1401
|
+
# verify the required parameter 'transfer_id' is set
|
|
1402
|
+
if @api_client.config.client_side_validation && transfer_id.nil?
|
|
1403
|
+
fail ArgumentError, "Missing the required parameter 'transfer_id' when calling FundingApi.update_transfer_using_put"
|
|
1404
|
+
end
|
|
1405
|
+
# resource path
|
|
1406
|
+
local_var_path = '/transfer/{transfer_id}'.sub('{' + 'transfer_id' + '}', transfer_id.to_s)
|
|
1407
|
+
|
|
1408
|
+
# query parameters
|
|
1409
|
+
query_params = {}
|
|
1410
|
+
|
|
1411
|
+
# header parameters
|
|
1412
|
+
header_params = {}
|
|
1413
|
+
# HTTP header 'Accept' (if needed)
|
|
1414
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1415
|
+
# HTTP header 'Content-Type'
|
|
1416
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1417
|
+
|
|
1418
|
+
# form parameters
|
|
1419
|
+
form_params = {}
|
|
1420
|
+
|
|
1421
|
+
# http body (model)
|
|
1422
|
+
post_body = @api_client.object_to_http_body(transfer)
|
|
1423
|
+
auth_names = ['oauth2']
|
|
1424
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1425
|
+
:header_params => header_params,
|
|
1426
|
+
:query_params => query_params,
|
|
1427
|
+
:form_params => form_params,
|
|
1428
|
+
:body => post_body,
|
|
1429
|
+
:auth_names => auth_names,
|
|
1430
|
+
:return_type => 'ExternalAccountTransfer')
|
|
1431
|
+
if @api_client.config.debugging
|
|
1432
|
+
@api_client.config.logger.debug "API called: FundingApi#update_transfer_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1433
|
+
end
|
|
1434
|
+
return data, status_code, headers
|
|
1435
|
+
end
|
|
1436
|
+
# Update a withdrawal request
|
|
1437
|
+
# Update the information for a withdrawal request for an account.
|
|
1438
|
+
# @param withdrawal withdrawal
|
|
1439
|
+
# @param withdrawal_id UUID withdrawal_id
|
|
1440
|
+
# @param [Hash] opts the optional parameters
|
|
1441
|
+
# @return [DailyWithdrawal]
|
|
1442
|
+
def update_withdrawal_using_put(withdrawal, withdrawal_id, opts = {})
|
|
1443
|
+
data, _status_code, _headers = update_withdrawal_using_put_with_http_info(withdrawal, withdrawal_id, opts)
|
|
1444
|
+
data
|
|
1445
|
+
end
|
|
1446
|
+
|
|
1447
|
+
# Update a withdrawal request
|
|
1448
|
+
# Update the information for a withdrawal request for an account.
|
|
1449
|
+
# @param withdrawal withdrawal
|
|
1450
|
+
# @param withdrawal_id UUID withdrawal_id
|
|
1451
|
+
# @param [Hash] opts the optional parameters
|
|
1452
|
+
# @return [Array<(DailyWithdrawal, Fixnum, Hash)>] DailyWithdrawal data, response status code and response headers
|
|
1453
|
+
def update_withdrawal_using_put_with_http_info(withdrawal, withdrawal_id, opts = {})
|
|
1454
|
+
if @api_client.config.debugging
|
|
1455
|
+
@api_client.config.logger.debug 'Calling API: FundingApi.update_withdrawal_using_put ...'
|
|
1456
|
+
end
|
|
1457
|
+
# verify the required parameter 'withdrawal' is set
|
|
1458
|
+
if @api_client.config.client_side_validation && withdrawal.nil?
|
|
1459
|
+
fail ArgumentError, "Missing the required parameter 'withdrawal' when calling FundingApi.update_withdrawal_using_put"
|
|
1460
|
+
end
|
|
1461
|
+
# verify the required parameter 'withdrawal_id' is set
|
|
1462
|
+
if @api_client.config.client_side_validation && withdrawal_id.nil?
|
|
1463
|
+
fail ArgumentError, "Missing the required parameter 'withdrawal_id' when calling FundingApi.update_withdrawal_using_put"
|
|
1464
|
+
end
|
|
1465
|
+
# resource path
|
|
1466
|
+
local_var_path = '/withdrawal/{withdrawal_id}'.sub('{' + 'withdrawal_id' + '}', withdrawal_id.to_s)
|
|
1467
|
+
|
|
1468
|
+
# query parameters
|
|
1469
|
+
query_params = {}
|
|
1470
|
+
|
|
1471
|
+
# header parameters
|
|
1472
|
+
header_params = {}
|
|
1473
|
+
# HTTP header 'Accept' (if needed)
|
|
1474
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1475
|
+
# HTTP header 'Content-Type'
|
|
1476
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1477
|
+
|
|
1478
|
+
# form parameters
|
|
1479
|
+
form_params = {}
|
|
1480
|
+
|
|
1481
|
+
# http body (model)
|
|
1482
|
+
post_body = @api_client.object_to_http_body(withdrawal)
|
|
1483
|
+
auth_names = ['oauth2']
|
|
1484
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1485
|
+
:header_params => header_params,
|
|
1486
|
+
:query_params => query_params,
|
|
1487
|
+
:form_params => form_params,
|
|
1488
|
+
:body => post_body,
|
|
1489
|
+
:auth_names => auth_names,
|
|
1490
|
+
:return_type => 'DailyWithdrawal')
|
|
1491
|
+
if @api_client.config.debugging
|
|
1492
|
+
@api_client.config.logger.debug "API called: FundingApi#update_withdrawal_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1493
|
+
end
|
|
1494
|
+
return data, status_code, headers
|
|
1495
|
+
end
|
|
1496
|
+
end
|
|
1497
|
+
end
|