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.
Files changed (805) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +787 -0
  4. data/Rakefile +8 -0
  5. data/docs/Account.md +22 -0
  6. data/docs/AccountAllocationMapping.md +17 -0
  7. data/docs/AccountApi.md +1919 -0
  8. data/docs/AccountMap.md +9 -0
  9. data/docs/AccountPermissionVO.md +9 -0
  10. data/docs/AccountPortfolioRebalanceRequest.md +21 -0
  11. data/docs/AccountStatus.md +16 -0
  12. data/docs/AccountType.md +23 -0
  13. data/docs/AclClientPermissionVO.md +10 -0
  14. data/docs/AdminClient.md +18 -0
  15. data/docs/AdminClientApi.md +309 -0
  16. data/docs/AggregationAccount.md +30 -0
  17. data/docs/AggregationAccountApi.md +1702 -0
  18. data/docs/AggregationAccountBalance.md +18 -0
  19. data/docs/AggregationAccountHolding.md +26 -0
  20. data/docs/AggregationAccountTransaction.md +23 -0
  21. data/docs/AggregationAccountsMap.md +9 -0
  22. data/docs/Allocation.md +22 -0
  23. data/docs/AllocationAggregatedVO.md +13 -0
  24. data/docs/AllocationApi.md +872 -0
  25. data/docs/AllocationComposition.md +18 -0
  26. data/docs/AllocationCompositionAggregatedVO.md +19 -0
  27. data/docs/AllocationCompositionModelHoldingsVO.md +22 -0
  28. data/docs/AllocationNodeMap.md +8 -0
  29. data/docs/Answer.md +18 -0
  30. data/docs/AnswerMap.md +8 -0
  31. data/docs/Application.md +15 -0
  32. data/docs/ApplicationApi.md +309 -0
  33. data/docs/AuditLog.md +23 -0
  34. data/docs/AuditLogApi.md +191 -0
  35. data/docs/AvailableDateDoubleVO.md +14 -0
  36. data/docs/BankCredit.md +15 -0
  37. data/docs/BankLink.md +29 -0
  38. data/docs/BankLinkMap.md +9 -0
  39. data/docs/Benchmark.md +17 -0
  40. data/docs/BenchmarkApi.md +375 -0
  41. data/docs/BenchmarkComposition.md +9 -0
  42. data/docs/Brokers.md +9 -0
  43. data/docs/Budget.md +25 -0
  44. data/docs/BudgetAggregationAccount.md +8 -0
  45. data/docs/BudgetApi.md +315 -0
  46. data/docs/BudgetObject.md +10 -0
  47. data/docs/BulkApi.md +249 -0
  48. data/docs/BulkTransaction.md +13 -0
  49. data/docs/BulkTransactionVO.md +12 -0
  50. data/docs/Business.md +32 -0
  51. data/docs/BusinessAddress.md +15 -0
  52. data/docs/BusinessApi.md +523 -0
  53. data/docs/Card.md +35 -0
  54. data/docs/CardAddress.md +14 -0
  55. data/docs/CardApi.md +754 -0
  56. data/docs/CardProgram.md +23 -0
  57. data/docs/Cash.md +10 -0
  58. data/docs/CategoriesMap.md +9 -0
  59. data/docs/CategoryInternalResponseVO.md +10 -0
  60. data/docs/CategoryResponseVO.md +9 -0
  61. data/docs/Check.md +10 -0
  62. data/docs/CheckImages.md +9 -0
  63. data/docs/Client.md +39 -0
  64. data/docs/ClientAccountMapping.md +10 -0
  65. data/docs/ClientAddress.md +15 -0
  66. data/docs/ClientApi.md +1008 -0
  67. data/docs/ClientRelationship.md +10 -0
  68. data/docs/ClientResponse.md +17 -0
  69. data/docs/ClientStatus.md +16 -0
  70. data/docs/ClientViewGoalData.md +21 -0
  71. data/docs/Country.md +12 -0
  72. data/docs/Currency.md +11 -0
  73. data/docs/Customer.md +21 -0
  74. data/docs/CustomerAddress.md +14 -0
  75. data/docs/CustomerApi.md +616 -0
  76. data/docs/CustomerRevenue.md +16 -0
  77. data/docs/DailyDeposit.md +28 -0
  78. data/docs/DailyWithdrawal.md +29 -0
  79. data/docs/DateDoubleVO.md +10 -0
  80. data/docs/DecisionTree.md +17 -0
  81. data/docs/DecisionTreeApi.md +971 -0
  82. data/docs/DecisionTreeCO.md +9 -0
  83. data/docs/DecisionTreeResultVO.md +9 -0
  84. data/docs/Document.md +30 -0
  85. data/docs/DocumentApi.md +309 -0
  86. data/docs/Employment.md +11 -0
  87. data/docs/ExternalAccountTransfer.md +28 -0
  88. data/docs/Feature.md +18 -0
  89. data/docs/FeatureApi.md +610 -0
  90. data/docs/FeatureTrack.md +14 -0
  91. data/docs/FinancialStatement.md +23 -0
  92. data/docs/FinancialStatementApi.md +315 -0
  93. data/docs/Funding.md +37 -0
  94. data/docs/FundingApi.md +1601 -0
  95. data/docs/FundingRequestMap.md +8 -0
  96. data/docs/FxRateView.md +11 -0
  97. data/docs/Goal.md +24 -0
  98. data/docs/GoalAccountMapping.md +11 -0
  99. data/docs/GoalApi.md +841 -0
  100. data/docs/GoalTrack.md +26 -0
  101. data/docs/GoalTrackAccounts.md +8 -0
  102. data/docs/Household.md +18 -0
  103. data/docs/HouseholdApi.md +523 -0
  104. data/docs/Investment.md +16 -0
  105. data/docs/Invoice.md +32 -0
  106. data/docs/InvoiceApi.md +622 -0
  107. data/docs/InvoicePayment.md +15 -0
  108. data/docs/JsonNode.md +29 -0
  109. data/docs/LineItems.md +15 -0
  110. data/docs/Location.md +15 -0
  111. data/docs/MXMerchantRes.md +14 -0
  112. data/docs/Member.md +11 -0
  113. data/docs/MerchantCategoryCode.md +11 -0
  114. data/docs/MerchantsMap.md +9 -0
  115. data/docs/Model.md +29 -0
  116. data/docs/ModelApi.md +1580 -0
  117. data/docs/ModelAssetSize.md +16 -0
  118. data/docs/ModelComment.md +15 -0
  119. data/docs/ModelHolding.md +25 -0
  120. data/docs/ModelHoldingVO.md +11 -0
  121. data/docs/ModelTransaction.md +17 -0
  122. data/docs/Node.md +15 -0
  123. data/docs/NodeRelationship.md +18 -0
  124. data/docs/Notification.md +20 -0
  125. data/docs/NotificationApi.md +911 -0
  126. data/docs/NotificationClient.md +19 -0
  127. data/docs/NotificationSetting.md +19 -0
  128. data/docs/Order.md +27 -0
  129. data/docs/OrderApi.md +1764 -0
  130. data/docs/OrderBulk.md +18 -0
  131. data/docs/OrderReconcileRequest.md +12 -0
  132. data/docs/OrderReconcileReturnObject.md +12 -0
  133. data/docs/OrderStatus.md +14 -0
  134. data/docs/OrderTrack.md +20 -0
  135. data/docs/OrderVoClone.md +20 -0
  136. data/docs/Overflow.md +16 -0
  137. data/docs/OverflowApi.md +492 -0
  138. data/docs/OverflowBankLinkMap.md +9 -0
  139. data/docs/OverflowSettings.md +17 -0
  140. data/docs/OverflowVO.md +10 -0
  141. data/docs/Ownership.md +12 -0
  142. data/docs/PageAccount.md +16 -0
  143. data/docs/PageAccountAllocationMapping.md +16 -0
  144. data/docs/PageAccountPermissionVO.md +16 -0
  145. data/docs/PageAccountStatus.md +16 -0
  146. data/docs/PageAccountType.md +16 -0
  147. data/docs/PageAdminClient.md +16 -0
  148. data/docs/PageAggregationAccount.md +16 -0
  149. data/docs/PageAggregationAccountBalance.md +16 -0
  150. data/docs/PageAggregationAccountHolding.md +16 -0
  151. data/docs/PageAggregationAccountTransaction.md +16 -0
  152. data/docs/PageAllocation.md +16 -0
  153. data/docs/PageAllocationComposition.md +16 -0
  154. data/docs/PageAnswer.md +16 -0
  155. data/docs/PageApplication.md +16 -0
  156. data/docs/PageAuditLog.md +16 -0
  157. data/docs/PageBankLink.md +16 -0
  158. data/docs/PageBenchmark.md +16 -0
  159. data/docs/PageBudget.md +16 -0
  160. data/docs/PageBusiness.md +16 -0
  161. data/docs/PageCard.md +16 -0
  162. data/docs/PageCardProgram.md +16 -0
  163. data/docs/PageClient.md +16 -0
  164. data/docs/PageClientResponse.md +16 -0
  165. data/docs/PageClientStatus.md +16 -0
  166. data/docs/PageCustomer.md +16 -0
  167. data/docs/PageCustomerRevenue.md +16 -0
  168. data/docs/PageDailyDeposit.md +16 -0
  169. data/docs/PageDailyWithdrawal.md +16 -0
  170. data/docs/PageDecisionTree.md +16 -0
  171. data/docs/PageDocument.md +16 -0
  172. data/docs/PageExternalAccountTransfer.md +16 -0
  173. data/docs/PageFeature.md +16 -0
  174. data/docs/PageFeatureTrack.md +16 -0
  175. data/docs/PageFinancialStatement.md +16 -0
  176. data/docs/PageFunding.md +16 -0
  177. data/docs/PageGoal.md +16 -0
  178. data/docs/PageGoalTrack.md +16 -0
  179. data/docs/PageHousehold.md +16 -0
  180. data/docs/PageInvoice.md +16 -0
  181. data/docs/PageInvoicePayment.md +16 -0
  182. data/docs/PageMXMerchantRes.md +16 -0
  183. data/docs/PageModel.md +16 -0
  184. data/docs/PageModelAssetSize.md +16 -0
  185. data/docs/PageModelComment.md +16 -0
  186. data/docs/PageModelHolding.md +16 -0
  187. data/docs/PageModelTransaction.md +16 -0
  188. data/docs/PageNode.md +16 -0
  189. data/docs/PageNodeRelationship.md +16 -0
  190. data/docs/PageNotification.md +16 -0
  191. data/docs/PageNotificationClient.md +16 -0
  192. data/docs/PageNotificationSetting.md +16 -0
  193. data/docs/PageOrder.md +16 -0
  194. data/docs/PageOrderBulk.md +16 -0
  195. data/docs/PageOrderStatus.md +16 -0
  196. data/docs/PageOrderTrack.md +16 -0
  197. data/docs/PageOverflow.md +16 -0
  198. data/docs/PageOverflowSettings.md +16 -0
  199. data/docs/PagePortfolio.md +16 -0
  200. data/docs/PagePortfolioAssetSizeLog.md +16 -0
  201. data/docs/PagePortfolioComment.md +16 -0
  202. data/docs/PagePortfolioGoal.md +16 -0
  203. data/docs/PagePortfolioHoldingLog.md +16 -0
  204. data/docs/PagePortfolioTransaction.md +16 -0
  205. data/docs/PageQuestion.md +16 -0
  206. data/docs/PageQuestionnaire.md +16 -0
  207. data/docs/PageReasonCode.md +16 -0
  208. data/docs/PageRiskProfile.md +16 -0
  209. data/docs/PageRoundup.md +16 -0
  210. data/docs/PageRoundupSettings.md +16 -0
  211. data/docs/PageScore.md +16 -0
  212. data/docs/PageSecurity.md +16 -0
  213. data/docs/PageSecurityExclusion.md +16 -0
  214. data/docs/PageSecurityPrice.md +16 -0
  215. data/docs/PageSpendingControl.md +16 -0
  216. data/docs/PageStage.md +16 -0
  217. data/docs/PageTransactionCode.md +16 -0
  218. data/docs/PageVAccountAssetSize.md +16 -0
  219. data/docs/PageWebhook.md +16 -0
  220. data/docs/PerformanceApi.md +973 -0
  221. data/docs/PermissionVO.md +9 -0
  222. data/docs/Portfolio.md +22 -0
  223. data/docs/PortfolioApi.md +1902 -0
  224. data/docs/PortfolioAssetSizeLog.md +20 -0
  225. data/docs/PortfolioComment.md +16 -0
  226. data/docs/PortfolioGoal.md +14 -0
  227. data/docs/PortfolioGoalMap.md +9 -0
  228. data/docs/PortfolioHoldingAgg.md +14 -0
  229. data/docs/PortfolioHoldingLog.md +21 -0
  230. data/docs/PortfolioTransaction.md +37 -0
  231. data/docs/Question.md +23 -0
  232. data/docs/Questionnaire.md +17 -0
  233. data/docs/QuestionnaireApi.md +1212 -0
  234. data/docs/ReasonCode.md +17 -0
  235. data/docs/ResourceApi.md +534 -0
  236. data/docs/RiskProfile.md +18 -0
  237. data/docs/RiskProfileApi.md +309 -0
  238. data/docs/Roundup.md +15 -0
  239. data/docs/RoundupApi.md +492 -0
  240. data/docs/RoundupCO.md +12 -0
  241. data/docs/RoundupSettings.md +21 -0
  242. data/docs/Score.md +23 -0
  243. data/docs/ScoreApi.md +309 -0
  244. data/docs/SecuritiesApi.md +917 -0
  245. data/docs/SecuritiesComposition.md +11 -0
  246. data/docs/SecuritiesCountry.md +9 -0
  247. data/docs/Security.md +32 -0
  248. data/docs/SecurityCompositionVO.md +21 -0
  249. data/docs/SecurityCountryVO.md +9 -0
  250. data/docs/SecurityExclusion.md +18 -0
  251. data/docs/SecurityPrice.md +20 -0
  252. data/docs/Sort.md +13 -0
  253. data/docs/SpendingControl.md +21 -0
  254. data/docs/SpendingControlApi.md +309 -0
  255. data/docs/Stage.md +22 -0
  256. data/docs/Stat.md +9 -0
  257. data/docs/State.md +10 -0
  258. data/docs/StatisticResourceVO.md +11 -0
  259. data/docs/TokenDateRequest.md +13 -0
  260. data/docs/TransactionCode.md +20 -0
  261. data/docs/UtilsApi.md +911 -0
  262. data/docs/VAccountAssetSize.md +11 -0
  263. data/docs/VAccountVO.md +13 -0
  264. data/docs/VClientGoalViewData.md +13 -0
  265. data/docs/VPortfolioVO.md +11 -0
  266. data/docs/Webhook.md +15 -0
  267. data/docs/WebhookApi.md +309 -0
  268. data/git_push.sh +55 -0
  269. data/lib/nucleus_api.rb +303 -0
  270. data/lib/nucleus_api/api/account_api.rb +1794 -0
  271. data/lib/nucleus_api/api/admin_client_api.rb +301 -0
  272. data/lib/nucleus_api/api/aggregation_account_api.rb +1587 -0
  273. data/lib/nucleus_api/api/allocation_api.rb +824 -0
  274. data/lib/nucleus_api/api/application_api.rb +301 -0
  275. data/lib/nucleus_api/api/audit_log_api.rb +190 -0
  276. data/lib/nucleus_api/api/benchmark_api.rb +362 -0
  277. data/lib/nucleus_api/api/budget_api.rb +307 -0
  278. data/lib/nucleus_api/api/bulk_api.rb +253 -0
  279. data/lib/nucleus_api/api/business_api.rb +508 -0
  280. data/lib/nucleus_api/api/card_api.rb +719 -0
  281. data/lib/nucleus_api/api/client_api.rb +950 -0
  282. data/lib/nucleus_api/api/customer_api.rb +585 -0
  283. data/lib/nucleus_api/api/decision_tree_api.rb +913 -0
  284. data/lib/nucleus_api/api/document_api.rb +301 -0
  285. data/lib/nucleus_api/api/feature_api.rb +579 -0
  286. data/lib/nucleus_api/api/financial_statement_api.rb +307 -0
  287. data/lib/nucleus_api/api/funding_api.rb +1497 -0
  288. data/lib/nucleus_api/api/goal_api.rb +819 -0
  289. data/lib/nucleus_api/api/household_api.rb +508 -0
  290. data/lib/nucleus_api/api/invoice_api.rb +591 -0
  291. data/lib/nucleus_api/api/model_api.rb +1479 -0
  292. data/lib/nucleus_api/api/notification_api.rb +857 -0
  293. data/lib/nucleus_api/api/order_api.rb +1688 -0
  294. data/lib/nucleus_api/api/overflow_api.rb +468 -0
  295. data/lib/nucleus_api/api/performance_api.rb +1131 -0
  296. data/lib/nucleus_api/api/portfolio_api.rb +1776 -0
  297. data/lib/nucleus_api/api/questionnaire_api.rb +1135 -0
  298. data/lib/nucleus_api/api/resource_api.rb +479 -0
  299. data/lib/nucleus_api/api/risk_profile_api.rb +301 -0
  300. data/lib/nucleus_api/api/roundup_api.rb +468 -0
  301. data/lib/nucleus_api/api/score_api.rb +301 -0
  302. data/lib/nucleus_api/api/securities_api.rb +863 -0
  303. data/lib/nucleus_api/api/spending_control_api.rb +301 -0
  304. data/lib/nucleus_api/api/utils_api.rb +857 -0
  305. data/lib/nucleus_api/api/webhook_api.rb +301 -0
  306. data/lib/nucleus_api/api_client.rb +428 -0
  307. data/lib/nucleus_api/api_error.rb +38 -0
  308. data/lib/nucleus_api/auth_configuration.rb +177 -0
  309. data/lib/nucleus_api/configuration.rb +224 -0
  310. data/lib/nucleus_api/models/account.rb +333 -0
  311. data/lib/nucleus_api/models/account_allocation_mapping.rb +294 -0
  312. data/lib/nucleus_api/models/account_map.rb +202 -0
  313. data/lib/nucleus_api/models/account_permission_vo.rb +195 -0
  314. data/lib/nucleus_api/models/account_portfolio_rebalance_request.rb +313 -0
  315. data/lib/nucleus_api/models/account_status.rb +275 -0
  316. data/lib/nucleus_api/models/account_type.rb +335 -0
  317. data/lib/nucleus_api/models/acl_client_permission_vo.rb +236 -0
  318. data/lib/nucleus_api/models/admin_client.rb +272 -0
  319. data/lib/nucleus_api/models/aggregation_account.rb +420 -0
  320. data/lib/nucleus_api/models/aggregation_account_balance.rb +284 -0
  321. data/lib/nucleus_api/models/aggregation_account_holding.rb +364 -0
  322. data/lib/nucleus_api/models/aggregation_account_transaction.rb +382 -0
  323. data/lib/nucleus_api/models/aggregation_accounts_map.rb +202 -0
  324. data/lib/nucleus_api/models/allocation.rb +325 -0
  325. data/lib/nucleus_api/models/allocation_aggregated_vo.rb +228 -0
  326. data/lib/nucleus_api/models/allocation_composition.rb +304 -0
  327. data/lib/nucleus_api/models/allocation_composition_aggregated_vo.rb +282 -0
  328. data/lib/nucleus_api/models/allocation_composition_model_holdings_vo.rb +311 -0
  329. data/lib/nucleus_api/models/allocation_node_map.rb +187 -0
  330. data/lib/nucleus_api/models/answer.rb +286 -0
  331. data/lib/nucleus_api/models/answer_map.rb +181 -0
  332. data/lib/nucleus_api/models/application.rb +256 -0
  333. data/lib/nucleus_api/models/audit_log.rb +357 -0
  334. data/lib/nucleus_api/models/available_date_double_vo.rb +243 -0
  335. data/lib/nucleus_api/models/bank_credit.rb +262 -0
  336. data/lib/nucleus_api/models/bank_link.rb +410 -0
  337. data/lib/nucleus_api/models/bank_link_map.rb +202 -0
  338. data/lib/nucleus_api/models/benchmark.rb +277 -0
  339. data/lib/nucleus_api/models/benchmark_composition.rb +202 -0
  340. data/lib/nucleus_api/models/brokers.rb +203 -0
  341. data/lib/nucleus_api/models/budget.rb +372 -0
  342. data/lib/nucleus_api/models/budget_aggregation_account.rb +187 -0
  343. data/lib/nucleus_api/models/budget_object.rb +213 -0
  344. data/lib/nucleus_api/models/bulk_transaction.rb +226 -0
  345. data/lib/nucleus_api/models/bulk_transaction_vo.rb +217 -0
  346. data/lib/nucleus_api/models/business.rb +430 -0
  347. data/lib/nucleus_api/models/business_address.rb +278 -0
  348. data/lib/nucleus_api/models/card.rb +489 -0
  349. data/lib/nucleus_api/models/card_address.rb +268 -0
  350. data/lib/nucleus_api/models/card_program.rb +350 -0
  351. data/lib/nucleus_api/models/cash.rb +213 -0
  352. data/lib/nucleus_api/models/categories_map.rb +202 -0
  353. data/lib/nucleus_api/models/category_internal_response_vo.rb +201 -0
  354. data/lib/nucleus_api/models/category_response_vo.rb +192 -0
  355. data/lib/nucleus_api/models/check.rb +210 -0
  356. data/lib/nucleus_api/models/check_images.rb +198 -0
  357. data/lib/nucleus_api/models/client.rb +523 -0
  358. data/lib/nucleus_api/models/client_account_mapping.rb +212 -0
  359. data/lib/nucleus_api/models/client_address.rb +278 -0
  360. data/lib/nucleus_api/models/client_relationship.rb +209 -0
  361. data/lib/nucleus_api/models/client_response.rb +280 -0
  362. data/lib/nucleus_api/models/client_status.rb +275 -0
  363. data/lib/nucleus_api/models/client_view_goal_data.rb +302 -0
  364. data/lib/nucleus_api/models/country.rb +233 -0
  365. data/lib/nucleus_api/models/currency.rb +212 -0
  366. data/lib/nucleus_api/models/customer.rb +317 -0
  367. data/lib/nucleus_api/models/customer_address.rb +268 -0
  368. data/lib/nucleus_api/models/customer_revenue.rb +284 -0
  369. data/lib/nucleus_api/models/daily_deposit.rb +395 -0
  370. data/lib/nucleus_api/models/daily_withdrawal.rb +405 -0
  371. data/lib/nucleus_api/models/date_double_vo.rb +203 -0
  372. data/lib/nucleus_api/models/decision_tree.rb +275 -0
  373. data/lib/nucleus_api/models/decision_tree_co.rb +202 -0
  374. data/lib/nucleus_api/models/decision_tree_result_vo.rb +192 -0
  375. data/lib/nucleus_api/models/document.rb +409 -0
  376. data/lib/nucleus_api/models/employment.rb +213 -0
  377. data/lib/nucleus_api/models/external_account_transfer.rb +412 -0
  378. data/lib/nucleus_api/models/feature.rb +286 -0
  379. data/lib/nucleus_api/models/feature_track.rb +251 -0
  380. data/lib/nucleus_api/models/financial_statement.rb +352 -0
  381. data/lib/nucleus_api/models/funding.rb +496 -0
  382. data/lib/nucleus_api/models/funding_request_map.rb +187 -0
  383. data/lib/nucleus_api/models/fx_rate_view.rb +233 -0
  384. data/lib/nucleus_api/models/goal.rb +340 -0
  385. data/lib/nucleus_api/models/goal_account_mapping.rb +218 -0
  386. data/lib/nucleus_api/models/goal_track.rb +372 -0
  387. data/lib/nucleus_api/models/goal_track_accounts.rb +187 -0
  388. data/lib/nucleus_api/models/household.rb +285 -0
  389. data/lib/nucleus_api/models/investment.rb +283 -0
  390. data/lib/nucleus_api/models/invoice.rb +452 -0
  391. data/lib/nucleus_api/models/invoice_payment.rb +269 -0
  392. data/lib/nucleus_api/models/json_node.rb +404 -0
  393. data/lib/nucleus_api/models/line_items.rb +278 -0
  394. data/lib/nucleus_api/models/location.rb +253 -0
  395. data/lib/nucleus_api/models/member.rb +217 -0
  396. data/lib/nucleus_api/models/merchant_category_code.rb +213 -0
  397. data/lib/nucleus_api/models/merchants_map.rb +202 -0
  398. data/lib/nucleus_api/models/model.rb +396 -0
  399. data/lib/nucleus_api/models/model_asset_size.rb +274 -0
  400. data/lib/nucleus_api/models/model_comment.rb +264 -0
  401. data/lib/nucleus_api/models/model_holding.rb +370 -0
  402. data/lib/nucleus_api/models/model_holding_vo.rb +208 -0
  403. data/lib/nucleus_api/models/model_transaction.rb +298 -0
  404. data/lib/nucleus_api/models/mx_merchant_res.rb +235 -0
  405. data/lib/nucleus_api/models/node.rb +260 -0
  406. data/lib/nucleus_api/models/node_relationship.rb +300 -0
  407. data/lib/nucleus_api/models/notification.rb +313 -0
  408. data/lib/nucleus_api/models/notification_client.rb +309 -0
  409. data/lib/nucleus_api/models/notification_setting.rb +300 -0
  410. data/lib/nucleus_api/models/order.rb +390 -0
  411. data/lib/nucleus_api/models/order_bulk.rb +309 -0
  412. data/lib/nucleus_api/models/order_reconcile_request.rb +220 -0
  413. data/lib/nucleus_api/models/order_reconcile_return_object.rb +227 -0
  414. data/lib/nucleus_api/models/order_status.rb +250 -0
  415. data/lib/nucleus_api/models/order_track.rb +316 -0
  416. data/lib/nucleus_api/models/order_vo_clone.rb +304 -0
  417. data/lib/nucleus_api/models/overflow.rb +281 -0
  418. data/lib/nucleus_api/models/overflow_bank_link_map.rb +202 -0
  419. data/lib/nucleus_api/models/overflow_settings.rb +287 -0
  420. data/lib/nucleus_api/models/overflow_vo.rb +203 -0
  421. data/lib/nucleus_api/models/ownership.rb +233 -0
  422. data/lib/nucleus_api/models/page_account.rb +258 -0
  423. data/lib/nucleus_api/models/page_account_allocation_mapping.rb +258 -0
  424. data/lib/nucleus_api/models/page_account_permission_vo.rb +258 -0
  425. data/lib/nucleus_api/models/page_account_status.rb +258 -0
  426. data/lib/nucleus_api/models/page_account_type.rb +258 -0
  427. data/lib/nucleus_api/models/page_admin_client.rb +258 -0
  428. data/lib/nucleus_api/models/page_aggregation_account.rb +258 -0
  429. data/lib/nucleus_api/models/page_aggregation_account_balance.rb +258 -0
  430. data/lib/nucleus_api/models/page_aggregation_account_holding.rb +258 -0
  431. data/lib/nucleus_api/models/page_aggregation_account_transaction.rb +258 -0
  432. data/lib/nucleus_api/models/page_allocation.rb +258 -0
  433. data/lib/nucleus_api/models/page_allocation_composition.rb +258 -0
  434. data/lib/nucleus_api/models/page_answer.rb +258 -0
  435. data/lib/nucleus_api/models/page_application.rb +258 -0
  436. data/lib/nucleus_api/models/page_audit_log.rb +258 -0
  437. data/lib/nucleus_api/models/page_bank_link.rb +258 -0
  438. data/lib/nucleus_api/models/page_benchmark.rb +258 -0
  439. data/lib/nucleus_api/models/page_budget.rb +258 -0
  440. data/lib/nucleus_api/models/page_business.rb +258 -0
  441. data/lib/nucleus_api/models/page_card.rb +258 -0
  442. data/lib/nucleus_api/models/page_card_program.rb +258 -0
  443. data/lib/nucleus_api/models/page_client.rb +258 -0
  444. data/lib/nucleus_api/models/page_client_response.rb +258 -0
  445. data/lib/nucleus_api/models/page_client_status.rb +258 -0
  446. data/lib/nucleus_api/models/page_customer.rb +258 -0
  447. data/lib/nucleus_api/models/page_customer_revenue.rb +258 -0
  448. data/lib/nucleus_api/models/page_daily_deposit.rb +258 -0
  449. data/lib/nucleus_api/models/page_daily_withdrawal.rb +258 -0
  450. data/lib/nucleus_api/models/page_decision_tree.rb +258 -0
  451. data/lib/nucleus_api/models/page_document.rb +258 -0
  452. data/lib/nucleus_api/models/page_external_account_transfer.rb +258 -0
  453. data/lib/nucleus_api/models/page_feature.rb +258 -0
  454. data/lib/nucleus_api/models/page_feature_track.rb +258 -0
  455. data/lib/nucleus_api/models/page_financial_statement.rb +258 -0
  456. data/lib/nucleus_api/models/page_funding.rb +258 -0
  457. data/lib/nucleus_api/models/page_goal.rb +258 -0
  458. data/lib/nucleus_api/models/page_goal_track.rb +258 -0
  459. data/lib/nucleus_api/models/page_household.rb +258 -0
  460. data/lib/nucleus_api/models/page_invoice.rb +258 -0
  461. data/lib/nucleus_api/models/page_invoice_payment.rb +258 -0
  462. data/lib/nucleus_api/models/page_model.rb +258 -0
  463. data/lib/nucleus_api/models/page_model_asset_size.rb +258 -0
  464. data/lib/nucleus_api/models/page_model_comment.rb +258 -0
  465. data/lib/nucleus_api/models/page_model_holding.rb +258 -0
  466. data/lib/nucleus_api/models/page_model_transaction.rb +258 -0
  467. data/lib/nucleus_api/models/page_mx_merchant_res.rb +255 -0
  468. data/lib/nucleus_api/models/page_node.rb +258 -0
  469. data/lib/nucleus_api/models/page_node_relationship.rb +258 -0
  470. data/lib/nucleus_api/models/page_notification.rb +258 -0
  471. data/lib/nucleus_api/models/page_notification_client.rb +258 -0
  472. data/lib/nucleus_api/models/page_notification_setting.rb +258 -0
  473. data/lib/nucleus_api/models/page_order.rb +258 -0
  474. data/lib/nucleus_api/models/page_order_bulk.rb +258 -0
  475. data/lib/nucleus_api/models/page_order_status.rb +258 -0
  476. data/lib/nucleus_api/models/page_order_track.rb +258 -0
  477. data/lib/nucleus_api/models/page_overflow.rb +258 -0
  478. data/lib/nucleus_api/models/page_overflow_settings.rb +258 -0
  479. data/lib/nucleus_api/models/page_portfolio.rb +258 -0
  480. data/lib/nucleus_api/models/page_portfolio_asset_size_log.rb +258 -0
  481. data/lib/nucleus_api/models/page_portfolio_comment.rb +258 -0
  482. data/lib/nucleus_api/models/page_portfolio_goal.rb +258 -0
  483. data/lib/nucleus_api/models/page_portfolio_holding_log.rb +258 -0
  484. data/lib/nucleus_api/models/page_portfolio_transaction.rb +258 -0
  485. data/lib/nucleus_api/models/page_question.rb +258 -0
  486. data/lib/nucleus_api/models/page_questionnaire.rb +258 -0
  487. data/lib/nucleus_api/models/page_reason_code.rb +258 -0
  488. data/lib/nucleus_api/models/page_risk_profile.rb +258 -0
  489. data/lib/nucleus_api/models/page_roundup.rb +258 -0
  490. data/lib/nucleus_api/models/page_roundup_settings.rb +258 -0
  491. data/lib/nucleus_api/models/page_score.rb +258 -0
  492. data/lib/nucleus_api/models/page_security.rb +258 -0
  493. data/lib/nucleus_api/models/page_security_exclusion.rb +258 -0
  494. data/lib/nucleus_api/models/page_security_price.rb +258 -0
  495. data/lib/nucleus_api/models/page_spending_control.rb +258 -0
  496. data/lib/nucleus_api/models/page_stage.rb +258 -0
  497. data/lib/nucleus_api/models/page_transaction_code.rb +258 -0
  498. data/lib/nucleus_api/models/page_v_account_asset_size.rb +258 -0
  499. data/lib/nucleus_api/models/page_webhook.rb +258 -0
  500. data/lib/nucleus_api/models/permission_vo.rb +226 -0
  501. data/lib/nucleus_api/models/portfolio.rb +341 -0
  502. data/lib/nucleus_api/models/portfolio_asset_size_log.rb +329 -0
  503. data/lib/nucleus_api/models/portfolio_comment.rb +279 -0
  504. data/lib/nucleus_api/models/portfolio_goal.rb +255 -0
  505. data/lib/nucleus_api/models/portfolio_goal_map.rb +202 -0
  506. data/lib/nucleus_api/models/portfolio_holding_agg.rb +243 -0
  507. data/lib/nucleus_api/models/portfolio_holding_log.rb +339 -0
  508. data/lib/nucleus_api/models/portfolio_transaction.rb +495 -0
  509. data/lib/nucleus_api/models/question.rb +334 -0
  510. data/lib/nucleus_api/models/questionnaire.rb +275 -0
  511. data/lib/nucleus_api/models/reason_code.rb +274 -0
  512. data/lib/nucleus_api/models/risk_profile.rb +286 -0
  513. data/lib/nucleus_api/models/roundup.rb +266 -0
  514. data/lib/nucleus_api/models/roundup_co.rb +232 -0
  515. data/lib/nucleus_api/models/roundup_settings.rb +331 -0
  516. data/lib/nucleus_api/models/score.rb +374 -0
  517. data/lib/nucleus_api/models/securities_composition.rb +232 -0
  518. data/lib/nucleus_api/models/securities_country.rb +202 -0
  519. data/lib/nucleus_api/models/security.rb +434 -0
  520. data/lib/nucleus_api/models/security_composition_vo.rb +300 -0
  521. data/lib/nucleus_api/models/security_country_vo.rb +190 -0
  522. data/lib/nucleus_api/models/security_exclusion.rb +300 -0
  523. data/lib/nucleus_api/models/security_price.rb +313 -0
  524. data/lib/nucleus_api/models/sort.rb +233 -0
  525. data/lib/nucleus_api/models/spending_control.rb +331 -0
  526. data/lib/nucleus_api/models/stage.rb +325 -0
  527. data/lib/nucleus_api/models/stat.rb +203 -0
  528. data/lib/nucleus_api/models/state.rb +202 -0
  529. data/lib/nucleus_api/models/statistic_resource_vo.rb +208 -0
  530. data/lib/nucleus_api/models/token_date_request.rb +233 -0
  531. data/lib/nucleus_api/models/transaction_code.rb +362 -0
  532. data/lib/nucleus_api/models/v_account_asset_size.rb +212 -0
  533. data/lib/nucleus_api/models/v_account_vo.rb +226 -0
  534. data/lib/nucleus_api/models/v_client_goal_view_data.rb +228 -0
  535. data/lib/nucleus_api/models/v_portfolio_vo.rb +208 -0
  536. data/lib/nucleus_api/models/webhook.rb +280 -0
  537. data/lib/nucleus_api/version.rb +15 -0
  538. data/nucleus_api.gemspec +46 -0
  539. data/spec/api/account_api_spec.rb +455 -0
  540. data/spec/api/admin_client_api_spec.rb +100 -0
  541. data/spec/api/aggregation_account_api_spec.rb +399 -0
  542. data/spec/api/allocation_api_spec.rb +225 -0
  543. data/spec/api/application_api_spec.rb +100 -0
  544. data/spec/api/audit_log_api_spec.rb +75 -0
  545. data/spec/api/benchmark_api_spec.rb +115 -0
  546. data/spec/api/budget_api_spec.rb +102 -0
  547. data/spec/api/bulk_api_spec.rb +86 -0
  548. data/spec/api/business_api_spec.rb +153 -0
  549. data/spec/api/card_api_spec.rb +201 -0
  550. data/spec/api/client_api_spec.rb +256 -0
  551. data/spec/api/customer_api_spec.rb +167 -0
  552. data/spec/api/decision_tree_api_spec.rb +242 -0
  553. data/spec/api/document_api_spec.rb +100 -0
  554. data/spec/api/feature_api_spec.rb +165 -0
  555. data/spec/api/financial_statement_api_spec.rb +102 -0
  556. data/spec/api/funding_api_spec.rb +382 -0
  557. data/spec/api/goal_api_spec.rb +225 -0
  558. data/spec/api/household_api_spec.rb +153 -0
  559. data/spec/api/invoice_api_spec.rb +169 -0
  560. data/spec/api/model_api_spec.rb +375 -0
  561. data/spec/api/notification_api_spec.rb +230 -0
  562. data/spec/api/order_api_spec.rb +412 -0
  563. data/spec/api/overflow_api_spec.rb +140 -0
  564. data/spec/api/performance_api_spec.rb +355 -0
  565. data/spec/api/portfolio_api_spec.rb +448 -0
  566. data/spec/api/questionnaire_api_spec.rb +295 -0
  567. data/spec/api/resource_api_spec.rb +148 -0
  568. data/spec/api/risk_profile_api_spec.rb +100 -0
  569. data/spec/api/roundup_api_spec.rb +140 -0
  570. data/spec/api/score_api_spec.rb +100 -0
  571. data/spec/api/securities_api_spec.rb +232 -0
  572. data/spec/api/spending_control_api_spec.rb +100 -0
  573. data/spec/api/utils_api_spec.rb +230 -0
  574. data/spec/api/webhook_api_spec.rb +100 -0
  575. data/spec/api_client_spec.rb +243 -0
  576. data/spec/configuration_spec.rb +42 -0
  577. data/spec/models/account_allocation_mapping_spec.rb +95 -0
  578. data/spec/models/account_map_spec.rb +47 -0
  579. data/spec/models/account_permission_vo_spec.rb +47 -0
  580. data/spec/models/account_portfolio_rebalance_request_spec.rb +119 -0
  581. data/spec/models/account_spec.rb +125 -0
  582. data/spec/models/account_status_spec.rb +89 -0
  583. data/spec/models/account_type_spec.rb +131 -0
  584. data/spec/models/acl_client_permission_vo_spec.rb +57 -0
  585. data/spec/models/admin_client_spec.rb +101 -0
  586. data/spec/models/aggregation_account_balance_spec.rb +101 -0
  587. data/spec/models/aggregation_account_holding_spec.rb +149 -0
  588. data/spec/models/aggregation_account_spec.rb +173 -0
  589. data/spec/models/aggregation_account_transaction_spec.rb +139 -0
  590. data/spec/models/aggregation_accounts_map_spec.rb +47 -0
  591. data/spec/models/allocation_aggregated_vo_spec.rb +71 -0
  592. data/spec/models/allocation_composition_aggregated_vo_spec.rb +107 -0
  593. data/spec/models/allocation_composition_model_holdings_vo_spec.rb +125 -0
  594. data/spec/models/allocation_composition_spec.rb +101 -0
  595. data/spec/models/allocation_node_map_spec.rb +41 -0
  596. data/spec/models/allocation_spec.rb +125 -0
  597. data/spec/models/answer_map_spec.rb +41 -0
  598. data/spec/models/answer_spec.rb +101 -0
  599. data/spec/models/application_spec.rb +83 -0
  600. data/spec/models/audit_log_spec.rb +131 -0
  601. data/spec/models/available_date_double_vo_spec.rb +77 -0
  602. data/spec/models/bank_credit_spec.rb +83 -0
  603. data/spec/models/bank_link_map_spec.rb +47 -0
  604. data/spec/models/bank_link_spec.rb +167 -0
  605. data/spec/models/benchmark_composition_spec.rb +47 -0
  606. data/spec/models/benchmark_spec.rb +95 -0
  607. data/spec/models/brokers_spec.rb +47 -0
  608. data/spec/models/budget_aggregation_account_spec.rb +41 -0
  609. data/spec/models/budget_object_spec.rb +53 -0
  610. data/spec/models/budget_spec.rb +143 -0
  611. data/spec/models/bulk_transaction_spec.rb +71 -0
  612. data/spec/models/bulk_transaction_vo_spec.rb +65 -0
  613. data/spec/models/business_address_spec.rb +83 -0
  614. data/spec/models/business_spec.rb +185 -0
  615. data/spec/models/card_address_spec.rb +77 -0
  616. data/spec/models/card_program_spec.rb +131 -0
  617. data/spec/models/card_spec.rb +202 -0
  618. data/spec/models/cash_spec.rb +53 -0
  619. data/spec/models/categories_map_spec.rb +47 -0
  620. data/spec/models/category_internal_response_vo_spec.rb +53 -0
  621. data/spec/models/category_response_vo_spec.rb +47 -0
  622. data/spec/models/check_images_spec.rb +47 -0
  623. data/spec/models/check_spec.rb +53 -0
  624. data/spec/models/client_account_mapping_spec.rb +53 -0
  625. data/spec/models/client_address_spec.rb +83 -0
  626. data/spec/models/client_relationship_spec.rb +53 -0
  627. data/spec/models/client_response_spec.rb +95 -0
  628. data/spec/models/client_spec.rb +239 -0
  629. data/spec/models/client_status_spec.rb +89 -0
  630. data/spec/models/client_view_goal_data_spec.rb +119 -0
  631. data/spec/models/country_spec.rb +65 -0
  632. data/spec/models/currency_spec.rb +59 -0
  633. data/spec/models/customer_address_spec.rb +77 -0
  634. data/spec/models/customer_revenue_spec.rb +89 -0
  635. data/spec/models/customer_spec.rb +119 -0
  636. data/spec/models/daily_deposit_spec.rb +161 -0
  637. data/spec/models/daily_withdrawal_spec.rb +167 -0
  638. data/spec/models/date_double_vo_spec.rb +53 -0
  639. data/spec/models/decision_tree_co_spec.rb +47 -0
  640. data/spec/models/decision_tree_result_vo_spec.rb +47 -0
  641. data/spec/models/decision_tree_spec.rb +95 -0
  642. data/spec/models/document_spec.rb +173 -0
  643. data/spec/models/employment_spec.rb +59 -0
  644. data/spec/models/external_account_transfer_spec.rb +161 -0
  645. data/spec/models/feature_spec.rb +101 -0
  646. data/spec/models/feature_track_spec.rb +77 -0
  647. data/spec/models/financial_statement_spec.rb +131 -0
  648. data/spec/models/funding_request_map_spec.rb +41 -0
  649. data/spec/models/funding_spec.rb +215 -0
  650. data/spec/models/fx_rate_view_spec.rb +59 -0
  651. data/spec/models/goal_account_mapping_spec.rb +59 -0
  652. data/spec/models/goal_spec.rb +137 -0
  653. data/spec/models/goal_track_accounts_spec.rb +41 -0
  654. data/spec/models/goal_track_spec.rb +149 -0
  655. data/spec/models/household_spec.rb +101 -0
  656. data/spec/models/investment_spec.rb +89 -0
  657. data/spec/models/invoice_payment_spec.rb +83 -0
  658. data/spec/models/invoice_spec.rb +185 -0
  659. data/spec/models/json_node_spec.rb +171 -0
  660. data/spec/models/line_items_spec.rb +83 -0
  661. data/spec/models/location_spec.rb +83 -0
  662. data/spec/models/member_spec.rb +59 -0
  663. data/spec/models/merchant_category_code_spec.rb +59 -0
  664. data/spec/models/merchants_map_spec.rb +47 -0
  665. data/spec/models/model_asset_size_spec.rb +89 -0
  666. data/spec/models/model_comment_spec.rb +83 -0
  667. data/spec/models/model_holding_spec.rb +143 -0
  668. data/spec/models/model_holding_vo_spec.rb +59 -0
  669. data/spec/models/model_spec.rb +167 -0
  670. data/spec/models/model_transaction_spec.rb +95 -0
  671. data/spec/models/mx_merchant_res_spec.rb +77 -0
  672. data/spec/models/node_relationship_spec.rb +101 -0
  673. data/spec/models/node_spec.rb +83 -0
  674. data/spec/models/notification_client_spec.rb +107 -0
  675. data/spec/models/notification_setting_spec.rb +107 -0
  676. data/spec/models/notification_spec.rb +113 -0
  677. data/spec/models/order_bulk_spec.rb +101 -0
  678. data/spec/models/order_reconcile_request_spec.rb +65 -0
  679. data/spec/models/order_reconcile_return_object_spec.rb +65 -0
  680. data/spec/models/order_spec.rb +155 -0
  681. data/spec/models/order_status_spec.rb +77 -0
  682. data/spec/models/order_track_spec.rb +113 -0
  683. data/spec/models/order_vo_clone_spec.rb +113 -0
  684. data/spec/models/overflow_bank_link_map_spec.rb +47 -0
  685. data/spec/models/overflow_settings_spec.rb +95 -0
  686. data/spec/models/overflow_spec.rb +89 -0
  687. data/spec/models/overflow_vo_spec.rb +53 -0
  688. data/spec/models/ownership_spec.rb +65 -0
  689. data/spec/models/page_account_allocation_mapping_spec.rb +89 -0
  690. data/spec/models/page_account_permission_vo_spec.rb +89 -0
  691. data/spec/models/page_account_spec.rb +89 -0
  692. data/spec/models/page_account_status_spec.rb +89 -0
  693. data/spec/models/page_account_type_spec.rb +89 -0
  694. data/spec/models/page_admin_client_spec.rb +89 -0
  695. data/spec/models/page_aggregation_account_balance_spec.rb +89 -0
  696. data/spec/models/page_aggregation_account_holding_spec.rb +89 -0
  697. data/spec/models/page_aggregation_account_spec.rb +89 -0
  698. data/spec/models/page_aggregation_account_transaction_spec.rb +89 -0
  699. data/spec/models/page_allocation_composition_spec.rb +89 -0
  700. data/spec/models/page_allocation_spec.rb +89 -0
  701. data/spec/models/page_answer_spec.rb +89 -0
  702. data/spec/models/page_application_spec.rb +89 -0
  703. data/spec/models/page_audit_log_spec.rb +89 -0
  704. data/spec/models/page_bank_link_spec.rb +89 -0
  705. data/spec/models/page_benchmark_spec.rb +89 -0
  706. data/spec/models/page_budget_spec.rb +89 -0
  707. data/spec/models/page_business_spec.rb +89 -0
  708. data/spec/models/page_card_program_spec.rb +89 -0
  709. data/spec/models/page_card_spec.rb +89 -0
  710. data/spec/models/page_client_response_spec.rb +89 -0
  711. data/spec/models/page_client_spec.rb +89 -0
  712. data/spec/models/page_client_status_spec.rb +89 -0
  713. data/spec/models/page_customer_revenue_spec.rb +89 -0
  714. data/spec/models/page_customer_spec.rb +89 -0
  715. data/spec/models/page_daily_deposit_spec.rb +89 -0
  716. data/spec/models/page_daily_withdrawal_spec.rb +89 -0
  717. data/spec/models/page_decision_tree_spec.rb +89 -0
  718. data/spec/models/page_document_spec.rb +89 -0
  719. data/spec/models/page_external_account_transfer_spec.rb +89 -0
  720. data/spec/models/page_feature_spec.rb +89 -0
  721. data/spec/models/page_feature_track_spec.rb +89 -0
  722. data/spec/models/page_financial_statement_spec.rb +89 -0
  723. data/spec/models/page_funding_spec.rb +89 -0
  724. data/spec/models/page_goal_spec.rb +89 -0
  725. data/spec/models/page_goal_track_spec.rb +89 -0
  726. data/spec/models/page_household_spec.rb +89 -0
  727. data/spec/models/page_invoice_payment_spec.rb +89 -0
  728. data/spec/models/page_invoice_spec.rb +89 -0
  729. data/spec/models/page_model_asset_size_spec.rb +89 -0
  730. data/spec/models/page_model_comment_spec.rb +89 -0
  731. data/spec/models/page_model_holding_spec.rb +89 -0
  732. data/spec/models/page_model_spec.rb +89 -0
  733. data/spec/models/page_model_transaction_spec.rb +89 -0
  734. data/spec/models/page_mx_merchant_res_spec.rb +89 -0
  735. data/spec/models/page_node_relationship_spec.rb +89 -0
  736. data/spec/models/page_node_spec.rb +89 -0
  737. data/spec/models/page_notification_client_spec.rb +89 -0
  738. data/spec/models/page_notification_setting_spec.rb +89 -0
  739. data/spec/models/page_notification_spec.rb +89 -0
  740. data/spec/models/page_order_bulk_spec.rb +89 -0
  741. data/spec/models/page_order_spec.rb +89 -0
  742. data/spec/models/page_order_status_spec.rb +89 -0
  743. data/spec/models/page_order_track_spec.rb +89 -0
  744. data/spec/models/page_overflow_settings_spec.rb +89 -0
  745. data/spec/models/page_overflow_spec.rb +89 -0
  746. data/spec/models/page_portfolio_asset_size_log_spec.rb +89 -0
  747. data/spec/models/page_portfolio_comment_spec.rb +89 -0
  748. data/spec/models/page_portfolio_goal_spec.rb +89 -0
  749. data/spec/models/page_portfolio_holding_log_spec.rb +89 -0
  750. data/spec/models/page_portfolio_spec.rb +89 -0
  751. data/spec/models/page_portfolio_transaction_spec.rb +89 -0
  752. data/spec/models/page_question_spec.rb +89 -0
  753. data/spec/models/page_questionnaire_spec.rb +89 -0
  754. data/spec/models/page_reason_code_spec.rb +89 -0
  755. data/spec/models/page_risk_profile_spec.rb +89 -0
  756. data/spec/models/page_roundup_settings_spec.rb +89 -0
  757. data/spec/models/page_roundup_spec.rb +89 -0
  758. data/spec/models/page_score_spec.rb +89 -0
  759. data/spec/models/page_security_exclusion_spec.rb +89 -0
  760. data/spec/models/page_security_price_spec.rb +89 -0
  761. data/spec/models/page_security_spec.rb +89 -0
  762. data/spec/models/page_spending_control_spec.rb +89 -0
  763. data/spec/models/page_stage_spec.rb +89 -0
  764. data/spec/models/page_transaction_code_spec.rb +89 -0
  765. data/spec/models/page_v_account_asset_size_spec.rb +89 -0
  766. data/spec/models/page_webhook_spec.rb +89 -0
  767. data/spec/models/permission_vo_spec.rb +51 -0
  768. data/spec/models/portfolio_asset_size_log_spec.rb +113 -0
  769. data/spec/models/portfolio_comment_spec.rb +89 -0
  770. data/spec/models/portfolio_goal_map_spec.rb +47 -0
  771. data/spec/models/portfolio_goal_spec.rb +77 -0
  772. data/spec/models/portfolio_holding_agg_spec.rb +77 -0
  773. data/spec/models/portfolio_holding_log_spec.rb +119 -0
  774. data/spec/models/portfolio_spec.rb +125 -0
  775. data/spec/models/portfolio_transaction_spec.rb +215 -0
  776. data/spec/models/question_spec.rb +131 -0
  777. data/spec/models/questionnaire_spec.rb +95 -0
  778. data/spec/models/reason_code_spec.rb +95 -0
  779. data/spec/models/risk_profile_spec.rb +101 -0
  780. data/spec/models/roundup_co_spec.rb +65 -0
  781. data/spec/models/roundup_settings_spec.rb +119 -0
  782. data/spec/models/roundup_spec.rb +83 -0
  783. data/spec/models/score_spec.rb +135 -0
  784. data/spec/models/securities_composition_spec.rb +59 -0
  785. data/spec/models/securities_country_spec.rb +47 -0
  786. data/spec/models/security_composition_vo_spec.rb +119 -0
  787. data/spec/models/security_country_vo_spec.rb +47 -0
  788. data/spec/models/security_exclusion_spec.rb +101 -0
  789. data/spec/models/security_price_spec.rb +113 -0
  790. data/spec/models/security_spec.rb +185 -0
  791. data/spec/models/sort_spec.rb +71 -0
  792. data/spec/models/spending_control_spec.rb +119 -0
  793. data/spec/models/stage_spec.rb +125 -0
  794. data/spec/models/stat_spec.rb +47 -0
  795. data/spec/models/state_spec.rb +53 -0
  796. data/spec/models/statistic_resource_vo_spec.rb +59 -0
  797. data/spec/models/token_date_request_spec.rb +71 -0
  798. data/spec/models/transaction_code_spec.rb +125 -0
  799. data/spec/models/v_account_asset_size_spec.rb +59 -0
  800. data/spec/models/v_account_vo_spec.rb +71 -0
  801. data/spec/models/v_client_goal_view_data_spec.rb +71 -0
  802. data/spec/models/v_portfolio_vo_spec.rb +59 -0
  803. data/spec/models/webhook_spec.rb +87 -0
  804. data/spec/spec_helper.rb +111 -0
  805. metadata +1312 -0
@@ -0,0 +1,1688 @@
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 OrderApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Bulk orders for an account
23
+ # Aggregates all orders on a given date for an account.
24
+ # @param account_id account_id
25
+ # @param req req
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [Array<Order>]
28
+ def create_account_order_bulk_using_post(account_id, req, opts = {})
29
+ data, _status_code, _headers = create_account_order_bulk_using_post_with_http_info(account_id, req, opts)
30
+ data
31
+ end
32
+
33
+ # Bulk orders for an account
34
+ # Aggregates all orders on a given date for an account.
35
+ # @param account_id account_id
36
+ # @param req req
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<(Array<Order>, Fixnum, Hash)>] Array<Order> data, response status code and response headers
39
+ def create_account_order_bulk_using_post_with_http_info(account_id, req, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_account_order_bulk_using_post ...'
42
+ end
43
+ # verify the required parameter 'account_id' is set
44
+ if @api_client.config.client_side_validation && account_id.nil?
45
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling OrderApi.create_account_order_bulk_using_post"
46
+ end
47
+ # verify the required parameter 'req' is set
48
+ if @api_client.config.client_side_validation && req.nil?
49
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_account_order_bulk_using_post"
50
+ end
51
+ # resource path
52
+ local_var_path = '/account/{account_id}/order_bulk'.sub('{' + 'account_id' + '}', account_id.to_s)
53
+
54
+ # query parameters
55
+ query_params = {}
56
+
57
+ # header parameters
58
+ header_params = {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
61
+ # HTTP header 'Content-Type'
62
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
63
+
64
+ # form parameters
65
+ form_params = {}
66
+
67
+ # http body (model)
68
+ post_body = @api_client.object_to_http_body(req)
69
+ auth_names = ['oauth2']
70
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
71
+ :header_params => header_params,
72
+ :query_params => query_params,
73
+ :form_params => form_params,
74
+ :body => post_body,
75
+ :auth_names => auth_names,
76
+ :return_type => 'Array<Order>')
77
+ if @api_client.config.debugging
78
+ @api_client.config.logger.debug "API called: OrderApi#create_account_order_bulk_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ end
80
+ return data, status_code, headers
81
+ end
82
+ # Create buy-only account rebalance orders
83
+ # Create order records necessary to rebalance an account and all its portfolios according to the allocation(s) to which the account subscribes and models to which the portfolios subscribe.
84
+ # @param account_id account_id
85
+ # @param req req
86
+ # @param [Hash] opts the optional parameters
87
+ # @return [Array<OrderVoClone>]
88
+ def create_account_order_buy_only_using_post(account_id, req, opts = {})
89
+ data, _status_code, _headers = create_account_order_buy_only_using_post_with_http_info(account_id, req, opts)
90
+ data
91
+ end
92
+
93
+ # Create buy-only account rebalance orders
94
+ # Create order records necessary to rebalance an account and all its portfolios according to the allocation(s) to which the account subscribes and models to which the portfolios subscribe.
95
+ # @param account_id account_id
96
+ # @param req req
97
+ # @param [Hash] opts the optional parameters
98
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
99
+ def create_account_order_buy_only_using_post_with_http_info(account_id, req, opts = {})
100
+ if @api_client.config.debugging
101
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_account_order_buy_only_using_post ...'
102
+ end
103
+ # verify the required parameter 'account_id' is set
104
+ if @api_client.config.client_side_validation && account_id.nil?
105
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling OrderApi.create_account_order_buy_only_using_post"
106
+ end
107
+ # verify the required parameter 'req' is set
108
+ if @api_client.config.client_side_validation && req.nil?
109
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_account_order_buy_only_using_post"
110
+ end
111
+ # resource path
112
+ local_var_path = '/account/{account_id}/order_buy_only'.sub('{' + 'account_id' + '}', account_id.to_s)
113
+
114
+ # query parameters
115
+ query_params = {}
116
+
117
+ # header parameters
118
+ header_params = {}
119
+ # HTTP header 'Accept' (if needed)
120
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
121
+ # HTTP header 'Content-Type'
122
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
123
+
124
+ # form parameters
125
+ form_params = {}
126
+
127
+ # http body (model)
128
+ post_body = @api_client.object_to_http_body(req)
129
+ auth_names = ['oauth2']
130
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
131
+ :header_params => header_params,
132
+ :query_params => query_params,
133
+ :form_params => form_params,
134
+ :body => post_body,
135
+ :auth_names => auth_names,
136
+ :return_type => 'Array<OrderVoClone>')
137
+ if @api_client.config.debugging
138
+ @api_client.config.logger.debug "API called: OrderApi#create_account_order_buy_only_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
139
+ end
140
+ return data, status_code, headers
141
+ end
142
+ # Create account rebalance orders
143
+ # Create order records necessary to rebalance an account and all its portfolios according to the allocation(s) to which the account subscribes and models to which the portfolios subscribe.
144
+ # @param account_id account_id
145
+ # @param req req
146
+ # @param [Hash] opts the optional parameters
147
+ # @return [Array<OrderVoClone>]
148
+ def create_account_order_rebalance_using_post(account_id, req, opts = {})
149
+ data, _status_code, _headers = create_account_order_rebalance_using_post_with_http_info(account_id, req, opts)
150
+ data
151
+ end
152
+
153
+ # Create account rebalance orders
154
+ # Create order records necessary to rebalance an account and all its portfolios according to the allocation(s) to which the account subscribes and models to which the portfolios subscribe.
155
+ # @param account_id account_id
156
+ # @param req req
157
+ # @param [Hash] opts the optional parameters
158
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
159
+ def create_account_order_rebalance_using_post_with_http_info(account_id, req, opts = {})
160
+ if @api_client.config.debugging
161
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_account_order_rebalance_using_post ...'
162
+ end
163
+ # verify the required parameter 'account_id' is set
164
+ if @api_client.config.client_side_validation && account_id.nil?
165
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling OrderApi.create_account_order_rebalance_using_post"
166
+ end
167
+ # verify the required parameter 'req' is set
168
+ if @api_client.config.client_side_validation && req.nil?
169
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_account_order_rebalance_using_post"
170
+ end
171
+ # resource path
172
+ local_var_path = '/account/{account_id}/order_rebalance'.sub('{' + 'account_id' + '}', account_id.to_s)
173
+
174
+ # query parameters
175
+ query_params = {}
176
+
177
+ # header parameters
178
+ header_params = {}
179
+ # HTTP header 'Accept' (if needed)
180
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
181
+ # HTTP header 'Content-Type'
182
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
183
+
184
+ # form parameters
185
+ form_params = {}
186
+
187
+ # http body (model)
188
+ post_body = @api_client.object_to_http_body(req)
189
+ auth_names = ['oauth2']
190
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
191
+ :header_params => header_params,
192
+ :query_params => query_params,
193
+ :form_params => form_params,
194
+ :body => post_body,
195
+ :auth_names => auth_names,
196
+ :return_type => 'Array<OrderVoClone>')
197
+ if @api_client.config.debugging
198
+ @api_client.config.logger.debug "API called: OrderApi#create_account_order_rebalance_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
199
+ end
200
+ return data, status_code, headers
201
+ end
202
+ # Create account reconciliation order
203
+ # @param account_id account_id
204
+ # @param req req
205
+ # @param [Hash] opts the optional parameters
206
+ # @return [OrderReconcileReturnObject]
207
+ def create_account_order_reconciliation(account_id, req, opts = {})
208
+ data, _status_code, _headers = create_account_order_reconciliation_with_http_info(account_id, req, opts)
209
+ data
210
+ end
211
+
212
+ # Create account reconciliation order
213
+ # @param account_id account_id
214
+ # @param req req
215
+ # @param [Hash] opts the optional parameters
216
+ # @return [Array<(OrderReconcileReturnObject, Fixnum, Hash)>] OrderReconcileReturnObject data, response status code and response headers
217
+ def create_account_order_reconciliation_with_http_info(account_id, req, opts = {})
218
+ if @api_client.config.debugging
219
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_account_order_reconciliation ...'
220
+ end
221
+ # verify the required parameter 'account_id' is set
222
+ if @api_client.config.client_side_validation && account_id.nil?
223
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling OrderApi.create_account_order_reconciliation"
224
+ end
225
+ # verify the required parameter 'req' is set
226
+ if @api_client.config.client_side_validation && req.nil?
227
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_account_order_reconciliation"
228
+ end
229
+ # resource path
230
+ local_var_path = '/account/{account_id}/order_reconciliation'.sub('{' + 'account_id' + '}', account_id.to_s)
231
+
232
+ # query parameters
233
+ query_params = {}
234
+
235
+ # header parameters
236
+ header_params = {}
237
+ # HTTP header 'Accept' (if needed)
238
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
239
+ # HTTP header 'Content-Type'
240
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
241
+
242
+ # form parameters
243
+ form_params = {}
244
+
245
+ # http body (model)
246
+ post_body = @api_client.object_to_http_body(req)
247
+ auth_names = ['oauth2']
248
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
249
+ :header_params => header_params,
250
+ :query_params => query_params,
251
+ :form_params => form_params,
252
+ :body => post_body,
253
+ :auth_names => auth_names,
254
+ :return_type => 'OrderReconcileReturnObject')
255
+ if @api_client.config.debugging
256
+ @api_client.config.logger.debug "API called: OrderApi#create_account_order_reconciliation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
257
+ end
258
+ return data, status_code, headers
259
+ end
260
+ # Sell all account order
261
+ # Create order records necessary to entirely sell all the holdings within an account.
262
+ # @param account_id account_id
263
+ # @param req req
264
+ # @param [Hash] opts the optional parameters
265
+ # @return [Array<OrderVoClone>]
266
+ def create_account_order_sell_all_using_post(account_id, req, opts = {})
267
+ data, _status_code, _headers = create_account_order_sell_all_using_post_with_http_info(account_id, req, opts)
268
+ data
269
+ end
270
+
271
+ # Sell all account order
272
+ # Create order records necessary to entirely sell all the holdings within an account.
273
+ # @param account_id account_id
274
+ # @param req req
275
+ # @param [Hash] opts the optional parameters
276
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
277
+ def create_account_order_sell_all_using_post_with_http_info(account_id, req, opts = {})
278
+ if @api_client.config.debugging
279
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_account_order_sell_all_using_post ...'
280
+ end
281
+ # verify the required parameter 'account_id' is set
282
+ if @api_client.config.client_side_validation && account_id.nil?
283
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling OrderApi.create_account_order_sell_all_using_post"
284
+ end
285
+ # verify the required parameter 'req' is set
286
+ if @api_client.config.client_side_validation && req.nil?
287
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_account_order_sell_all_using_post"
288
+ end
289
+ # resource path
290
+ local_var_path = '/account/{account_id}/order_sell_all'.sub('{' + 'account_id' + '}', account_id.to_s)
291
+
292
+ # query parameters
293
+ query_params = {}
294
+
295
+ # header parameters
296
+ header_params = {}
297
+ # HTTP header 'Accept' (if needed)
298
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
299
+ # HTTP header 'Content-Type'
300
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
301
+
302
+ # form parameters
303
+ form_params = {}
304
+
305
+ # http body (model)
306
+ post_body = @api_client.object_to_http_body(req)
307
+ auth_names = ['oauth2']
308
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
309
+ :header_params => header_params,
310
+ :query_params => query_params,
311
+ :form_params => form_params,
312
+ :body => post_body,
313
+ :auth_names => auth_names,
314
+ :return_type => 'Array<OrderVoClone>')
315
+ if @api_client.config.debugging
316
+ @api_client.config.logger.debug "API called: OrderApi#create_account_order_sell_all_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
317
+ end
318
+ return data, status_code, headers
319
+ end
320
+ # Create sell-only account rebalance orders
321
+ # Create order records necessary to rebalance an account and all its portfolios according to the allocation(s) to which the account subscribes and models to which the portfolios subscribe.
322
+ # @param account_id account_id
323
+ # @param req req
324
+ # @param [Hash] opts the optional parameters
325
+ # @return [Array<OrderVoClone>]
326
+ def create_account_order_sell_only_using_post(account_id, req, opts = {})
327
+ data, _status_code, _headers = create_account_order_sell_only_using_post_with_http_info(account_id, req, opts)
328
+ data
329
+ end
330
+
331
+ # Create sell-only account rebalance orders
332
+ # Create order records necessary to rebalance an account and all its portfolios according to the allocation(s) to which the account subscribes and models to which the portfolios subscribe.
333
+ # @param account_id account_id
334
+ # @param req req
335
+ # @param [Hash] opts the optional parameters
336
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
337
+ def create_account_order_sell_only_using_post_with_http_info(account_id, req, opts = {})
338
+ if @api_client.config.debugging
339
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_account_order_sell_only_using_post ...'
340
+ end
341
+ # verify the required parameter 'account_id' is set
342
+ if @api_client.config.client_side_validation && account_id.nil?
343
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling OrderApi.create_account_order_sell_only_using_post"
344
+ end
345
+ # verify the required parameter 'req' is set
346
+ if @api_client.config.client_side_validation && req.nil?
347
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_account_order_sell_only_using_post"
348
+ end
349
+ # resource path
350
+ local_var_path = '/account/{account_id}/order_sell_only'.sub('{' + 'account_id' + '}', account_id.to_s)
351
+
352
+ # query parameters
353
+ query_params = {}
354
+
355
+ # header parameters
356
+ header_params = {}
357
+ # HTTP header 'Accept' (if needed)
358
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
359
+ # HTTP header 'Content-Type'
360
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
361
+
362
+ # form parameters
363
+ form_params = {}
364
+
365
+ # http body (model)
366
+ post_body = @api_client.object_to_http_body(req)
367
+ auth_names = ['oauth2']
368
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
369
+ :header_params => header_params,
370
+ :query_params => query_params,
371
+ :form_params => form_params,
372
+ :body => post_body,
373
+ :auth_names => auth_names,
374
+ :return_type => 'Array<OrderVoClone>')
375
+ if @api_client.config.debugging
376
+ @api_client.config.logger.debug "API called: OrderApi#create_account_order_sell_only_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
377
+ end
378
+ return data, status_code, headers
379
+ end
380
+ # Bulk orders for a client
381
+ # Aggregates all orders on a given date for a client
382
+ # @param client_id client_id
383
+ # @param req req
384
+ # @param [Hash] opts the optional parameters
385
+ # @return [Array<Order>]
386
+ def create_client_order_bulk_using_post(client_id, req, opts = {})
387
+ data, _status_code, _headers = create_client_order_bulk_using_post_with_http_info(client_id, req, opts)
388
+ data
389
+ end
390
+
391
+ # Bulk orders for a client
392
+ # Aggregates all orders on a given date for a client
393
+ # @param client_id client_id
394
+ # @param req req
395
+ # @param [Hash] opts the optional parameters
396
+ # @return [Array<(Array<Order>, Fixnum, Hash)>] Array<Order> data, response status code and response headers
397
+ def create_client_order_bulk_using_post_with_http_info(client_id, req, opts = {})
398
+ if @api_client.config.debugging
399
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_client_order_bulk_using_post ...'
400
+ end
401
+ # verify the required parameter 'client_id' is set
402
+ if @api_client.config.client_side_validation && client_id.nil?
403
+ fail ArgumentError, "Missing the required parameter 'client_id' when calling OrderApi.create_client_order_bulk_using_post"
404
+ end
405
+ # verify the required parameter 'req' is set
406
+ if @api_client.config.client_side_validation && req.nil?
407
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_client_order_bulk_using_post"
408
+ end
409
+ # resource path
410
+ local_var_path = '/client/{client_id}/order_bulk'.sub('{' + 'client_id' + '}', client_id.to_s)
411
+
412
+ # query parameters
413
+ query_params = {}
414
+
415
+ # header parameters
416
+ header_params = {}
417
+ # HTTP header 'Accept' (if needed)
418
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
419
+ # HTTP header 'Content-Type'
420
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
421
+
422
+ # form parameters
423
+ form_params = {}
424
+
425
+ # http body (model)
426
+ post_body = @api_client.object_to_http_body(req)
427
+ auth_names = ['oauth2']
428
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
429
+ :header_params => header_params,
430
+ :query_params => query_params,
431
+ :form_params => form_params,
432
+ :body => post_body,
433
+ :auth_names => auth_names,
434
+ :return_type => 'Array<Order>')
435
+ if @api_client.config.debugging
436
+ @api_client.config.logger.debug "API called: OrderApi#create_client_order_bulk_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
437
+ end
438
+ return data, status_code, headers
439
+ end
440
+ # Bulk orders for your firm
441
+ # Aggregates all orders on a given date for your firm.
442
+ # @param req req
443
+ # @param [Hash] opts the optional parameters
444
+ # @return [Array<Order>]
445
+ def create_order_bulk_using_post(req, opts = {})
446
+ data, _status_code, _headers = create_order_bulk_using_post_with_http_info(req, opts)
447
+ data
448
+ end
449
+
450
+ # Bulk orders for your firm
451
+ # Aggregates all orders on a given date for your firm.
452
+ # @param req req
453
+ # @param [Hash] opts the optional parameters
454
+ # @return [Array<(Array<Order>, Fixnum, Hash)>] Array<Order> data, response status code and response headers
455
+ def create_order_bulk_using_post_with_http_info(req, opts = {})
456
+ if @api_client.config.debugging
457
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_order_bulk_using_post ...'
458
+ end
459
+ # verify the required parameter 'req' is set
460
+ if @api_client.config.client_side_validation && req.nil?
461
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_order_bulk_using_post"
462
+ end
463
+ # resource path
464
+ local_var_path = '/order_bulk'
465
+
466
+ # query parameters
467
+ query_params = {}
468
+
469
+ # header parameters
470
+ header_params = {}
471
+ # HTTP header 'Accept' (if needed)
472
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
473
+ # HTTP header 'Content-Type'
474
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
475
+
476
+ # form parameters
477
+ form_params = {}
478
+
479
+ # http body (model)
480
+ post_body = @api_client.object_to_http_body(req)
481
+ auth_names = ['oauth2']
482
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
483
+ :header_params => header_params,
484
+ :query_params => query_params,
485
+ :form_params => form_params,
486
+ :body => post_body,
487
+ :auth_names => auth_names,
488
+ :return_type => 'Array<Order>')
489
+ if @api_client.config.debugging
490
+ @api_client.config.logger.debug "API called: OrderApi#create_order_bulk_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
491
+ end
492
+ return data, status_code, headers
493
+ end
494
+ # Create an order status
495
+ # Create an order status for your firm.
496
+ # @param order_status_request orderStatusRequest
497
+ # @param [Hash] opts the optional parameters
498
+ # @return [OrderStatus]
499
+ def create_order_status_using_post(order_status_request, opts = {})
500
+ data, _status_code, _headers = create_order_status_using_post_with_http_info(order_status_request, opts)
501
+ data
502
+ end
503
+
504
+ # Create an order status
505
+ # Create an order status for your firm.
506
+ # @param order_status_request orderStatusRequest
507
+ # @param [Hash] opts the optional parameters
508
+ # @return [Array<(OrderStatus, Fixnum, Hash)>] OrderStatus data, response status code and response headers
509
+ def create_order_status_using_post_with_http_info(order_status_request, opts = {})
510
+ if @api_client.config.debugging
511
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_order_status_using_post ...'
512
+ end
513
+ # verify the required parameter 'order_status_request' is set
514
+ if @api_client.config.client_side_validation && order_status_request.nil?
515
+ fail ArgumentError, "Missing the required parameter 'order_status_request' when calling OrderApi.create_order_status_using_post"
516
+ end
517
+ # resource path
518
+ local_var_path = '/order_status'
519
+
520
+ # query parameters
521
+ query_params = {}
522
+
523
+ # header parameters
524
+ header_params = {}
525
+ # HTTP header 'Accept' (if needed)
526
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
527
+ # HTTP header 'Content-Type'
528
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
529
+
530
+ # form parameters
531
+ form_params = {}
532
+
533
+ # http body (model)
534
+ post_body = @api_client.object_to_http_body(order_status_request)
535
+ auth_names = ['oauth2']
536
+ data, status_code, headers = @api_client.call_api(:POST, 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
+ :return_type => 'OrderStatus')
543
+ if @api_client.config.debugging
544
+ @api_client.config.logger.debug "API called: OrderApi#create_order_status_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
545
+ end
546
+ return data, status_code, headers
547
+ end
548
+ # Create an order tracking record
549
+ # Create a new order tracking record for an order.
550
+ # @param order_track_request orderTrackRequest
551
+ # @param [Hash] opts the optional parameters
552
+ # @return [OrderTrack]
553
+ def create_order_track_using_post(order_track_request, opts = {})
554
+ data, _status_code, _headers = create_order_track_using_post_with_http_info(order_track_request, opts)
555
+ data
556
+ end
557
+
558
+ # Create an order tracking record
559
+ # Create a new order tracking record for an order.
560
+ # @param order_track_request orderTrackRequest
561
+ # @param [Hash] opts the optional parameters
562
+ # @return [Array<(OrderTrack, Fixnum, Hash)>] OrderTrack data, response status code and response headers
563
+ def create_order_track_using_post_with_http_info(order_track_request, opts = {})
564
+ if @api_client.config.debugging
565
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_order_track_using_post ...'
566
+ end
567
+ # verify the required parameter 'order_track_request' is set
568
+ if @api_client.config.client_side_validation && order_track_request.nil?
569
+ fail ArgumentError, "Missing the required parameter 'order_track_request' when calling OrderApi.create_order_track_using_post"
570
+ end
571
+ # resource path
572
+ local_var_path = '/order_track'
573
+
574
+ # query parameters
575
+ query_params = {}
576
+
577
+ # header parameters
578
+ header_params = {}
579
+ # HTTP header 'Accept' (if needed)
580
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
581
+ # HTTP header 'Content-Type'
582
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
583
+
584
+ # form parameters
585
+ form_params = {}
586
+
587
+ # http body (model)
588
+ post_body = @api_client.object_to_http_body(order_track_request)
589
+ auth_names = ['oauth2']
590
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
591
+ :header_params => header_params,
592
+ :query_params => query_params,
593
+ :form_params => form_params,
594
+ :body => post_body,
595
+ :auth_names => auth_names,
596
+ :return_type => 'OrderTrack')
597
+ if @api_client.config.debugging
598
+ @api_client.config.logger.debug "API called: OrderApi#create_order_track_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
599
+ end
600
+ return data, status_code, headers
601
+ end
602
+ # Create an order record
603
+ # Create an order record defined for your firm.
604
+ # @param order_info_request orderInfoRequest
605
+ # @param [Hash] opts the optional parameters
606
+ # @return [Order]
607
+ def create_order_using_post(order_info_request, opts = {})
608
+ data, _status_code, _headers = create_order_using_post_with_http_info(order_info_request, opts)
609
+ data
610
+ end
611
+
612
+ # Create an order record
613
+ # Create an order record defined for your firm.
614
+ # @param order_info_request orderInfoRequest
615
+ # @param [Hash] opts the optional parameters
616
+ # @return [Array<(Order, Fixnum, Hash)>] Order data, response status code and response headers
617
+ def create_order_using_post_with_http_info(order_info_request, opts = {})
618
+ if @api_client.config.debugging
619
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_order_using_post ...'
620
+ end
621
+ # verify the required parameter 'order_info_request' is set
622
+ if @api_client.config.client_side_validation && order_info_request.nil?
623
+ fail ArgumentError, "Missing the required parameter 'order_info_request' when calling OrderApi.create_order_using_post"
624
+ end
625
+ # resource path
626
+ local_var_path = '/order'
627
+
628
+ # query parameters
629
+ query_params = {}
630
+
631
+ # header parameters
632
+ header_params = {}
633
+ # HTTP header 'Accept' (if needed)
634
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
635
+ # HTTP header 'Content-Type'
636
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
637
+
638
+ # form parameters
639
+ form_params = {}
640
+
641
+ # http body (model)
642
+ post_body = @api_client.object_to_http_body(order_info_request)
643
+ auth_names = ['oauth2']
644
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
645
+ :header_params => header_params,
646
+ :query_params => query_params,
647
+ :form_params => form_params,
648
+ :body => post_body,
649
+ :auth_names => auth_names,
650
+ :return_type => 'Order')
651
+ if @api_client.config.debugging
652
+ @api_client.config.logger.debug "API called: OrderApi#create_order_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
653
+ end
654
+ return data, status_code, headers
655
+ end
656
+ # Create buy-only portfolio rebalance orders
657
+ # Create order records necessary to rebalance a portfolio to the model to which it subscribes. However, these will only be buy transactions, and no securities will be sold.
658
+ # @param portfolio_id portfolio_id
659
+ # @param req req
660
+ # @param [Hash] opts the optional parameters
661
+ # @return [Array<OrderVoClone>]
662
+ def create_portfolio_order_buy_only_using_post(portfolio_id, req, opts = {})
663
+ data, _status_code, _headers = create_portfolio_order_buy_only_using_post_with_http_info(portfolio_id, req, opts)
664
+ data
665
+ end
666
+
667
+ # Create buy-only portfolio rebalance orders
668
+ # Create order records necessary to rebalance a portfolio to the model to which it subscribes. However, these will only be buy transactions, and no securities will be sold.
669
+ # @param portfolio_id portfolio_id
670
+ # @param req req
671
+ # @param [Hash] opts the optional parameters
672
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
673
+ def create_portfolio_order_buy_only_using_post_with_http_info(portfolio_id, req, opts = {})
674
+ if @api_client.config.debugging
675
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_portfolio_order_buy_only_using_post ...'
676
+ end
677
+ # verify the required parameter 'portfolio_id' is set
678
+ if @api_client.config.client_side_validation && portfolio_id.nil?
679
+ fail ArgumentError, "Missing the required parameter 'portfolio_id' when calling OrderApi.create_portfolio_order_buy_only_using_post"
680
+ end
681
+ # verify the required parameter 'req' is set
682
+ if @api_client.config.client_side_validation && req.nil?
683
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_portfolio_order_buy_only_using_post"
684
+ end
685
+ # resource path
686
+ local_var_path = '/portfolio/{portfolio_id}/order_buy_only'.sub('{' + 'portfolio_id' + '}', portfolio_id.to_s)
687
+
688
+ # query parameters
689
+ query_params = {}
690
+
691
+ # header parameters
692
+ header_params = {}
693
+ # HTTP header 'Accept' (if needed)
694
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
695
+ # HTTP header 'Content-Type'
696
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
697
+
698
+ # form parameters
699
+ form_params = {}
700
+
701
+ # http body (model)
702
+ post_body = @api_client.object_to_http_body(req)
703
+ auth_names = ['oauth2']
704
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
705
+ :header_params => header_params,
706
+ :query_params => query_params,
707
+ :form_params => form_params,
708
+ :body => post_body,
709
+ :auth_names => auth_names,
710
+ :return_type => 'Array<OrderVoClone>')
711
+ if @api_client.config.debugging
712
+ @api_client.config.logger.debug "API called: OrderApi#create_portfolio_order_buy_only_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
713
+ end
714
+ return data, status_code, headers
715
+ end
716
+ # Create portfolio rebalance orders
717
+ # Create order records necessary to rebalance a portfolio to the model to which it subscribes.
718
+ # @param portfolio_id portfolio_id
719
+ # @param req req
720
+ # @param [Hash] opts the optional parameters
721
+ # @return [Array<OrderVoClone>]
722
+ def create_portfolio_order_rebalance_using_post(portfolio_id, req, opts = {})
723
+ data, _status_code, _headers = create_portfolio_order_rebalance_using_post_with_http_info(portfolio_id, req, opts)
724
+ data
725
+ end
726
+
727
+ # Create portfolio rebalance orders
728
+ # Create order records necessary to rebalance a portfolio to the model to which it subscribes.
729
+ # @param portfolio_id portfolio_id
730
+ # @param req req
731
+ # @param [Hash] opts the optional parameters
732
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
733
+ def create_portfolio_order_rebalance_using_post_with_http_info(portfolio_id, req, opts = {})
734
+ if @api_client.config.debugging
735
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_portfolio_order_rebalance_using_post ...'
736
+ end
737
+ # verify the required parameter 'portfolio_id' is set
738
+ if @api_client.config.client_side_validation && portfolio_id.nil?
739
+ fail ArgumentError, "Missing the required parameter 'portfolio_id' when calling OrderApi.create_portfolio_order_rebalance_using_post"
740
+ end
741
+ # verify the required parameter 'req' is set
742
+ if @api_client.config.client_side_validation && req.nil?
743
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_portfolio_order_rebalance_using_post"
744
+ end
745
+ # resource path
746
+ local_var_path = '/portfolio/{portfolio_id}/order_rebalance'.sub('{' + 'portfolio_id' + '}', portfolio_id.to_s)
747
+
748
+ # query parameters
749
+ query_params = {}
750
+
751
+ # header parameters
752
+ header_params = {}
753
+ # HTTP header 'Accept' (if needed)
754
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
755
+ # HTTP header 'Content-Type'
756
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
757
+
758
+ # form parameters
759
+ form_params = {}
760
+
761
+ # http body (model)
762
+ post_body = @api_client.object_to_http_body(req)
763
+ auth_names = ['oauth2']
764
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
765
+ :header_params => header_params,
766
+ :query_params => query_params,
767
+ :form_params => form_params,
768
+ :body => post_body,
769
+ :auth_names => auth_names,
770
+ :return_type => 'Array<OrderVoClone>')
771
+ if @api_client.config.debugging
772
+ @api_client.config.logger.debug "API called: OrderApi#create_portfolio_order_rebalance_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
773
+ end
774
+ return data, status_code, headers
775
+ end
776
+ # Create portfolio reconciliation order
777
+ # @param portfolio_id portfolio_id
778
+ # @param req req
779
+ # @param [Hash] opts the optional parameters
780
+ # @return [OrderReconcileReturnObject]
781
+ def create_portfolio_order_reconciliation(portfolio_id, req, opts = {})
782
+ data, _status_code, _headers = create_portfolio_order_reconciliation_with_http_info(portfolio_id, req, opts)
783
+ data
784
+ end
785
+
786
+ # Create portfolio reconciliation order
787
+ # @param portfolio_id portfolio_id
788
+ # @param req req
789
+ # @param [Hash] opts the optional parameters
790
+ # @return [Array<(OrderReconcileReturnObject, Fixnum, Hash)>] OrderReconcileReturnObject data, response status code and response headers
791
+ def create_portfolio_order_reconciliation_with_http_info(portfolio_id, req, opts = {})
792
+ if @api_client.config.debugging
793
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_portfolio_order_reconciliation ...'
794
+ end
795
+ # verify the required parameter 'portfolio_id' is set
796
+ if @api_client.config.client_side_validation && portfolio_id.nil?
797
+ fail ArgumentError, "Missing the required parameter 'portfolio_id' when calling OrderApi.create_portfolio_order_reconciliation"
798
+ end
799
+ # verify the required parameter 'req' is set
800
+ if @api_client.config.client_side_validation && req.nil?
801
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_portfolio_order_reconciliation"
802
+ end
803
+ # resource path
804
+ local_var_path = '/portfolio/{portfolio_id}/order_reconciliation'.sub('{' + 'portfolio_id' + '}', portfolio_id.to_s)
805
+
806
+ # query parameters
807
+ query_params = {}
808
+
809
+ # header parameters
810
+ header_params = {}
811
+ # HTTP header 'Accept' (if needed)
812
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
813
+ # HTTP header 'Content-Type'
814
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
815
+
816
+ # form parameters
817
+ form_params = {}
818
+
819
+ # http body (model)
820
+ post_body = @api_client.object_to_http_body(req)
821
+ auth_names = ['oauth2']
822
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
823
+ :header_params => header_params,
824
+ :query_params => query_params,
825
+ :form_params => form_params,
826
+ :body => post_body,
827
+ :auth_names => auth_names,
828
+ :return_type => 'OrderReconcileReturnObject')
829
+ if @api_client.config.debugging
830
+ @api_client.config.logger.debug "API called: OrderApi#create_portfolio_order_reconciliation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
831
+ end
832
+ return data, status_code, headers
833
+ end
834
+ # Sell all portfolio order
835
+ # Create order records necessary to entirely sell all the holdings within a portfolio.
836
+ # @param portfolio_id portfolio_id
837
+ # @param req req
838
+ # @param [Hash] opts the optional parameters
839
+ # @return [Array<OrderVoClone>]
840
+ def create_portfolio_order_sell_all_using_post(portfolio_id, req, opts = {})
841
+ data, _status_code, _headers = create_portfolio_order_sell_all_using_post_with_http_info(portfolio_id, req, opts)
842
+ data
843
+ end
844
+
845
+ # Sell all portfolio order
846
+ # Create order records necessary to entirely sell all the holdings within a portfolio.
847
+ # @param portfolio_id portfolio_id
848
+ # @param req req
849
+ # @param [Hash] opts the optional parameters
850
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
851
+ def create_portfolio_order_sell_all_using_post_with_http_info(portfolio_id, req, opts = {})
852
+ if @api_client.config.debugging
853
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_portfolio_order_sell_all_using_post ...'
854
+ end
855
+ # verify the required parameter 'portfolio_id' is set
856
+ if @api_client.config.client_side_validation && portfolio_id.nil?
857
+ fail ArgumentError, "Missing the required parameter 'portfolio_id' when calling OrderApi.create_portfolio_order_sell_all_using_post"
858
+ end
859
+ # verify the required parameter 'req' is set
860
+ if @api_client.config.client_side_validation && req.nil?
861
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_portfolio_order_sell_all_using_post"
862
+ end
863
+ # resource path
864
+ local_var_path = '/portfolio/{portfolio_id}/order_sell_all'.sub('{' + 'portfolio_id' + '}', portfolio_id.to_s)
865
+
866
+ # query parameters
867
+ query_params = {}
868
+
869
+ # header parameters
870
+ header_params = {}
871
+ # HTTP header 'Accept' (if needed)
872
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
873
+ # HTTP header 'Content-Type'
874
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
875
+
876
+ # form parameters
877
+ form_params = {}
878
+
879
+ # http body (model)
880
+ post_body = @api_client.object_to_http_body(req)
881
+ auth_names = ['oauth2']
882
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
883
+ :header_params => header_params,
884
+ :query_params => query_params,
885
+ :form_params => form_params,
886
+ :body => post_body,
887
+ :auth_names => auth_names,
888
+ :return_type => 'Array<OrderVoClone>')
889
+ if @api_client.config.debugging
890
+ @api_client.config.logger.debug "API called: OrderApi#create_portfolio_order_sell_all_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
891
+ end
892
+ return data, status_code, headers
893
+ end
894
+ # Create sell-only portfolio rebalance orders
895
+ # Create order records necessary to rebalance a portfolio to the model to which it subscribes.
896
+ # @param portfolio_id portfolio_id
897
+ # @param req req
898
+ # @param [Hash] opts the optional parameters
899
+ # @return [Array<OrderVoClone>]
900
+ def create_portfolio_order_sell_only_using_post(portfolio_id, req, opts = {})
901
+ data, _status_code, _headers = create_portfolio_order_sell_only_using_post_with_http_info(portfolio_id, req, opts)
902
+ data
903
+ end
904
+
905
+ # Create sell-only portfolio rebalance orders
906
+ # Create order records necessary to rebalance a portfolio to the model to which it subscribes.
907
+ # @param portfolio_id portfolio_id
908
+ # @param req req
909
+ # @param [Hash] opts the optional parameters
910
+ # @return [Array<(Array<OrderVoClone>, Fixnum, Hash)>] Array<OrderVoClone> data, response status code and response headers
911
+ def create_portfolio_order_sell_only_using_post_with_http_info(portfolio_id, req, opts = {})
912
+ if @api_client.config.debugging
913
+ @api_client.config.logger.debug 'Calling API: OrderApi.create_portfolio_order_sell_only_using_post ...'
914
+ end
915
+ # verify the required parameter 'portfolio_id' is set
916
+ if @api_client.config.client_side_validation && portfolio_id.nil?
917
+ fail ArgumentError, "Missing the required parameter 'portfolio_id' when calling OrderApi.create_portfolio_order_sell_only_using_post"
918
+ end
919
+ # verify the required parameter 'req' is set
920
+ if @api_client.config.client_side_validation && req.nil?
921
+ fail ArgumentError, "Missing the required parameter 'req' when calling OrderApi.create_portfolio_order_sell_only_using_post"
922
+ end
923
+ # resource path
924
+ local_var_path = '/portfolio/{portfolio_id}/order_sell_only'.sub('{' + 'portfolio_id' + '}', portfolio_id.to_s)
925
+
926
+ # query parameters
927
+ query_params = {}
928
+
929
+ # header parameters
930
+ header_params = {}
931
+ # HTTP header 'Accept' (if needed)
932
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
933
+ # HTTP header 'Content-Type'
934
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
935
+
936
+ # form parameters
937
+ form_params = {}
938
+
939
+ # http body (model)
940
+ post_body = @api_client.object_to_http_body(req)
941
+ auth_names = ['oauth2']
942
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
943
+ :header_params => header_params,
944
+ :query_params => query_params,
945
+ :form_params => form_params,
946
+ :body => post_body,
947
+ :auth_names => auth_names,
948
+ :return_type => 'Array<OrderVoClone>')
949
+ if @api_client.config.debugging
950
+ @api_client.config.logger.debug "API called: OrderApi#create_portfolio_order_sell_only_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
951
+ end
952
+ return data, status_code, headers
953
+ end
954
+ # Delete an order status
955
+ # Permanently delete an order status defined for your firm.
956
+ # @param order_status_id UUID order_status_id
957
+ # @param [Hash] opts the optional parameters
958
+ # @return [nil]
959
+ def delete_order_status_using_delete(order_status_id, opts = {})
960
+ delete_order_status_using_delete_with_http_info(order_status_id, opts)
961
+ nil
962
+ end
963
+
964
+ # Delete an order status
965
+ # Permanently delete an order status defined for your firm.
966
+ # @param order_status_id UUID order_status_id
967
+ # @param [Hash] opts the optional parameters
968
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
969
+ def delete_order_status_using_delete_with_http_info(order_status_id, opts = {})
970
+ if @api_client.config.debugging
971
+ @api_client.config.logger.debug 'Calling API: OrderApi.delete_order_status_using_delete ...'
972
+ end
973
+ # verify the required parameter 'order_status_id' is set
974
+ if @api_client.config.client_side_validation && order_status_id.nil?
975
+ fail ArgumentError, "Missing the required parameter 'order_status_id' when calling OrderApi.delete_order_status_using_delete"
976
+ end
977
+ # resource path
978
+ local_var_path = '/order_status/{order_status_id}'.sub('{' + 'order_status_id' + '}', order_status_id.to_s)
979
+
980
+ # query parameters
981
+ query_params = {}
982
+
983
+ # header parameters
984
+ header_params = {}
985
+ # HTTP header 'Accept' (if needed)
986
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
987
+
988
+ # form parameters
989
+ form_params = {}
990
+
991
+ # http body (model)
992
+ post_body = nil
993
+ auth_names = ['oauth2']
994
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
995
+ :header_params => header_params,
996
+ :query_params => query_params,
997
+ :form_params => form_params,
998
+ :body => post_body,
999
+ :auth_names => auth_names)
1000
+ if @api_client.config.debugging
1001
+ @api_client.config.logger.debug "API called: OrderApi#delete_order_status_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1002
+ end
1003
+ return data, status_code, headers
1004
+ end
1005
+ # Delete an order tracking record
1006
+ # Permanently delete an order tracking record for an order.
1007
+ # @param order_track_id UUID order_track_id
1008
+ # @param [Hash] opts the optional parameters
1009
+ # @return [nil]
1010
+ def delete_order_track_using_delete(order_track_id, opts = {})
1011
+ delete_order_track_using_delete_with_http_info(order_track_id, opts)
1012
+ nil
1013
+ end
1014
+
1015
+ # Delete an order tracking record
1016
+ # Permanently delete an order tracking record for an order.
1017
+ # @param order_track_id UUID order_track_id
1018
+ # @param [Hash] opts the optional parameters
1019
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1020
+ def delete_order_track_using_delete_with_http_info(order_track_id, opts = {})
1021
+ if @api_client.config.debugging
1022
+ @api_client.config.logger.debug 'Calling API: OrderApi.delete_order_track_using_delete ...'
1023
+ end
1024
+ # verify the required parameter 'order_track_id' is set
1025
+ if @api_client.config.client_side_validation && order_track_id.nil?
1026
+ fail ArgumentError, "Missing the required parameter 'order_track_id' when calling OrderApi.delete_order_track_using_delete"
1027
+ end
1028
+ # resource path
1029
+ local_var_path = '/order_track/{order_track_id}'.sub('{' + 'order_track_id' + '}', order_track_id.to_s)
1030
+
1031
+ # query parameters
1032
+ query_params = {}
1033
+
1034
+ # header parameters
1035
+ header_params = {}
1036
+ # HTTP header 'Accept' (if needed)
1037
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1038
+
1039
+ # form parameters
1040
+ form_params = {}
1041
+
1042
+ # http body (model)
1043
+ post_body = nil
1044
+ auth_names = ['oauth2']
1045
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1046
+ :header_params => header_params,
1047
+ :query_params => query_params,
1048
+ :form_params => form_params,
1049
+ :body => post_body,
1050
+ :auth_names => auth_names)
1051
+ if @api_client.config.debugging
1052
+ @api_client.config.logger.debug "API called: OrderApi#delete_order_track_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1053
+ end
1054
+ return data, status_code, headers
1055
+ end
1056
+ # Delete an order record
1057
+ # Permanently delete an order record.
1058
+ # @param order_id UUID order_id
1059
+ # @param [Hash] opts the optional parameters
1060
+ # @return [nil]
1061
+ def delete_order_using_delete(order_id, opts = {})
1062
+ delete_order_using_delete_with_http_info(order_id, opts)
1063
+ nil
1064
+ end
1065
+
1066
+ # Delete an order record
1067
+ # Permanently delete an order record.
1068
+ # @param order_id UUID order_id
1069
+ # @param [Hash] opts the optional parameters
1070
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1071
+ def delete_order_using_delete_with_http_info(order_id, opts = {})
1072
+ if @api_client.config.debugging
1073
+ @api_client.config.logger.debug 'Calling API: OrderApi.delete_order_using_delete ...'
1074
+ end
1075
+ # verify the required parameter 'order_id' is set
1076
+ if @api_client.config.client_side_validation && order_id.nil?
1077
+ fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.delete_order_using_delete"
1078
+ end
1079
+ # resource path
1080
+ local_var_path = '/order/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
1081
+
1082
+ # query parameters
1083
+ query_params = {}
1084
+
1085
+ # header parameters
1086
+ header_params = {}
1087
+ # HTTP header 'Accept' (if needed)
1088
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1089
+
1090
+ # form parameters
1091
+ form_params = {}
1092
+
1093
+ # http body (model)
1094
+ post_body = nil
1095
+ auth_names = ['oauth2']
1096
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1097
+ :header_params => header_params,
1098
+ :query_params => query_params,
1099
+ :form_params => form_params,
1100
+ :body => post_body,
1101
+ :auth_names => auth_names)
1102
+ if @api_client.config.debugging
1103
+ @api_client.config.logger.debug "API called: OrderApi#delete_order_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1104
+ end
1105
+ return data, status_code, headers
1106
+ end
1107
+ # List all order records
1108
+ # Get the information for all order records defined for your firm.
1109
+ # @param [Hash] opts the optional parameters
1110
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
1111
+ # @option opts [String] :filter filter
1112
+ # @option opts [String] :order_by order_by (default to update_date)
1113
+ # @option opts [Integer] :page page (default to 0)
1114
+ # @option opts [Integer] :size size (default to 25)
1115
+ # @return [PageOrder]
1116
+ def get_order_all_using_get(opts = {})
1117
+ data, _status_code, _headers = get_order_all_using_get_with_http_info(opts)
1118
+ data
1119
+ end
1120
+
1121
+ # List all order records
1122
+ # Get the information for all order records defined for your firm.
1123
+ # @param [Hash] opts the optional parameters
1124
+ # @option opts [BOOLEAN] :ascending ascending
1125
+ # @option opts [String] :filter filter
1126
+ # @option opts [String] :order_by order_by
1127
+ # @option opts [Integer] :page page
1128
+ # @option opts [Integer] :size size
1129
+ # @return [Array<(PageOrder, Fixnum, Hash)>] PageOrder data, response status code and response headers
1130
+ def get_order_all_using_get_with_http_info(opts = {})
1131
+ if @api_client.config.debugging
1132
+ @api_client.config.logger.debug 'Calling API: OrderApi.get_order_all_using_get ...'
1133
+ end
1134
+ # resource path
1135
+ local_var_path = '/order'
1136
+
1137
+ # query parameters
1138
+ query_params = {}
1139
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
1140
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1141
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
1142
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1143
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1144
+
1145
+ # header parameters
1146
+ header_params = {}
1147
+ # HTTP header 'Accept' (if needed)
1148
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1149
+
1150
+ # form parameters
1151
+ form_params = {}
1152
+
1153
+ # http body (model)
1154
+ post_body = nil
1155
+ auth_names = ['oauth2']
1156
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1157
+ :header_params => header_params,
1158
+ :query_params => query_params,
1159
+ :form_params => form_params,
1160
+ :body => post_body,
1161
+ :auth_names => auth_names,
1162
+ :return_type => 'PageOrder')
1163
+ if @api_client.config.debugging
1164
+ @api_client.config.logger.debug "API called: OrderApi#get_order_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1165
+ end
1166
+ return data, status_code, headers
1167
+ end
1168
+ # List all bulk orders
1169
+ # Get the information for all bulk order records.
1170
+ # @param [Hash] opts the optional parameters
1171
+ # @option opts [BOOLEAN] :ascending ascending (default to true)
1172
+ # @option opts [String] :filter filter
1173
+ # @option opts [String] :order_by order_by (default to order_bulk_id)
1174
+ # @option opts [Integer] :page page (default to 0)
1175
+ # @option opts [Integer] :size size (default to 25)
1176
+ # @return [PageOrderBulk]
1177
+ def get_order_bulk_all_using_get(opts = {})
1178
+ data, _status_code, _headers = get_order_bulk_all_using_get_with_http_info(opts)
1179
+ data
1180
+ end
1181
+
1182
+ # List all bulk orders
1183
+ # Get the information for all bulk order records.
1184
+ # @param [Hash] opts the optional parameters
1185
+ # @option opts [BOOLEAN] :ascending ascending
1186
+ # @option opts [String] :filter filter
1187
+ # @option opts [String] :order_by order_by
1188
+ # @option opts [Integer] :page page
1189
+ # @option opts [Integer] :size size
1190
+ # @return [Array<(PageOrderBulk, Fixnum, Hash)>] PageOrderBulk data, response status code and response headers
1191
+ def get_order_bulk_all_using_get_with_http_info(opts = {})
1192
+ if @api_client.config.debugging
1193
+ @api_client.config.logger.debug 'Calling API: OrderApi.get_order_bulk_all_using_get ...'
1194
+ end
1195
+ # resource path
1196
+ local_var_path = '/order_bulk'
1197
+
1198
+ # query parameters
1199
+ query_params = {}
1200
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
1201
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1202
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
1203
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1204
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1205
+
1206
+ # header parameters
1207
+ header_params = {}
1208
+ # HTTP header 'Accept' (if needed)
1209
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1210
+
1211
+ # form parameters
1212
+ form_params = {}
1213
+
1214
+ # http body (model)
1215
+ post_body = nil
1216
+ auth_names = ['oauth2']
1217
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1218
+ :header_params => header_params,
1219
+ :query_params => query_params,
1220
+ :form_params => form_params,
1221
+ :body => post_body,
1222
+ :auth_names => auth_names,
1223
+ :return_type => 'PageOrderBulk')
1224
+ if @api_client.config.debugging
1225
+ @api_client.config.logger.debug "API called: OrderApi#get_order_bulk_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1226
+ end
1227
+ return data, status_code, headers
1228
+ end
1229
+ # List all order statuses
1230
+ # Get the information for all order statuses defined for your firm.
1231
+ # @param [Hash] opts the optional parameters
1232
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
1233
+ # @option opts [String] :filter filter
1234
+ # @option opts [String] :order_by order_by (default to update_date)
1235
+ # @option opts [Integer] :page page (default to 0)
1236
+ # @option opts [Integer] :size size (default to 25)
1237
+ # @return [PageOrderStatus]
1238
+ def get_order_status_all_using_get(opts = {})
1239
+ data, _status_code, _headers = get_order_status_all_using_get_with_http_info(opts)
1240
+ data
1241
+ end
1242
+
1243
+ # List all order statuses
1244
+ # Get the information for all order statuses defined for your firm.
1245
+ # @param [Hash] opts the optional parameters
1246
+ # @option opts [BOOLEAN] :ascending ascending
1247
+ # @option opts [String] :filter filter
1248
+ # @option opts [String] :order_by order_by
1249
+ # @option opts [Integer] :page page
1250
+ # @option opts [Integer] :size size
1251
+ # @return [Array<(PageOrderStatus, Fixnum, Hash)>] PageOrderStatus data, response status code and response headers
1252
+ def get_order_status_all_using_get_with_http_info(opts = {})
1253
+ if @api_client.config.debugging
1254
+ @api_client.config.logger.debug 'Calling API: OrderApi.get_order_status_all_using_get ...'
1255
+ end
1256
+ # resource path
1257
+ local_var_path = '/order_status'
1258
+
1259
+ # query parameters
1260
+ query_params = {}
1261
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
1262
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1263
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
1264
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1265
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1266
+
1267
+ # header parameters
1268
+ header_params = {}
1269
+ # HTTP header 'Accept' (if needed)
1270
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1271
+
1272
+ # form parameters
1273
+ form_params = {}
1274
+
1275
+ # http body (model)
1276
+ post_body = nil
1277
+ auth_names = ['oauth2']
1278
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1279
+ :header_params => header_params,
1280
+ :query_params => query_params,
1281
+ :form_params => form_params,
1282
+ :body => post_body,
1283
+ :auth_names => auth_names,
1284
+ :return_type => 'PageOrderStatus')
1285
+ if @api_client.config.debugging
1286
+ @api_client.config.logger.debug "API called: OrderApi#get_order_status_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1287
+ end
1288
+ return data, status_code, headers
1289
+ end
1290
+ # Retrieve an order status
1291
+ # Retrieve the information for an order status defined for your firm.
1292
+ # @param order_status_id UUID order_status_id
1293
+ # @param [Hash] opts the optional parameters
1294
+ # @return [OrderStatus]
1295
+ def get_order_status_using_get(order_status_id, opts = {})
1296
+ data, _status_code, _headers = get_order_status_using_get_with_http_info(order_status_id, opts)
1297
+ data
1298
+ end
1299
+
1300
+ # Retrieve an order status
1301
+ # Retrieve the information for an order status defined for your firm.
1302
+ # @param order_status_id UUID order_status_id
1303
+ # @param [Hash] opts the optional parameters
1304
+ # @return [Array<(OrderStatus, Fixnum, Hash)>] OrderStatus data, response status code and response headers
1305
+ def get_order_status_using_get_with_http_info(order_status_id, opts = {})
1306
+ if @api_client.config.debugging
1307
+ @api_client.config.logger.debug 'Calling API: OrderApi.get_order_status_using_get ...'
1308
+ end
1309
+ # verify the required parameter 'order_status_id' is set
1310
+ if @api_client.config.client_side_validation && order_status_id.nil?
1311
+ fail ArgumentError, "Missing the required parameter 'order_status_id' when calling OrderApi.get_order_status_using_get"
1312
+ end
1313
+ # resource path
1314
+ local_var_path = '/order_status/{order_status_id}'.sub('{' + 'order_status_id' + '}', order_status_id.to_s)
1315
+
1316
+ # query parameters
1317
+ query_params = {}
1318
+
1319
+ # header parameters
1320
+ header_params = {}
1321
+ # HTTP header 'Accept' (if needed)
1322
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1323
+
1324
+ # form parameters
1325
+ form_params = {}
1326
+
1327
+ # http body (model)
1328
+ post_body = nil
1329
+ auth_names = ['oauth2']
1330
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1331
+ :header_params => header_params,
1332
+ :query_params => query_params,
1333
+ :form_params => form_params,
1334
+ :body => post_body,
1335
+ :auth_names => auth_names,
1336
+ :return_type => 'OrderStatus')
1337
+ if @api_client.config.debugging
1338
+ @api_client.config.logger.debug "API called: OrderApi#get_order_status_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1339
+ end
1340
+ return data, status_code, headers
1341
+ end
1342
+ # List all order tracking records
1343
+ # Get the information for all order tracking record for all order records.
1344
+ # @param [Hash] opts the optional parameters
1345
+ # @option opts [BOOLEAN] :ascending ascending (default to false)
1346
+ # @option opts [String] :filter filter
1347
+ # @option opts [String] :order_by order_by (default to update_date)
1348
+ # @option opts [Integer] :page page (default to 0)
1349
+ # @option opts [Integer] :size size (default to 25)
1350
+ # @return [PageOrderTrack]
1351
+ def get_order_track_all_using_get(opts = {})
1352
+ data, _status_code, _headers = get_order_track_all_using_get_with_http_info(opts)
1353
+ data
1354
+ end
1355
+
1356
+ # List all order tracking records
1357
+ # Get the information for all order tracking record for all order records.
1358
+ # @param [Hash] opts the optional parameters
1359
+ # @option opts [BOOLEAN] :ascending ascending
1360
+ # @option opts [String] :filter filter
1361
+ # @option opts [String] :order_by order_by
1362
+ # @option opts [Integer] :page page
1363
+ # @option opts [Integer] :size size
1364
+ # @return [Array<(PageOrderTrack, Fixnum, Hash)>] PageOrderTrack data, response status code and response headers
1365
+ def get_order_track_all_using_get_with_http_info(opts = {})
1366
+ if @api_client.config.debugging
1367
+ @api_client.config.logger.debug 'Calling API: OrderApi.get_order_track_all_using_get ...'
1368
+ end
1369
+ # resource path
1370
+ local_var_path = '/order_track'
1371
+
1372
+ # query parameters
1373
+ query_params = {}
1374
+ query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
1375
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1376
+ query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
1377
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1378
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1379
+
1380
+ # header parameters
1381
+ header_params = {}
1382
+ # HTTP header 'Accept' (if needed)
1383
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1384
+
1385
+ # form parameters
1386
+ form_params = {}
1387
+
1388
+ # http body (model)
1389
+ post_body = nil
1390
+ auth_names = ['oauth2']
1391
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1392
+ :header_params => header_params,
1393
+ :query_params => query_params,
1394
+ :form_params => form_params,
1395
+ :body => post_body,
1396
+ :auth_names => auth_names,
1397
+ :return_type => 'PageOrderTrack')
1398
+ if @api_client.config.debugging
1399
+ @api_client.config.logger.debug "API called: OrderApi#get_order_track_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1400
+ end
1401
+ return data, status_code, headers
1402
+ end
1403
+ # Retrieve an order tracking record
1404
+ # Retrieve the information for an order tracking record for an order.
1405
+ # @param order_track_id UUID order_track_id
1406
+ # @param [Hash] opts the optional parameters
1407
+ # @return [OrderTrack]
1408
+ def get_order_track_using_get(order_track_id, opts = {})
1409
+ data, _status_code, _headers = get_order_track_using_get_with_http_info(order_track_id, opts)
1410
+ data
1411
+ end
1412
+
1413
+ # Retrieve an order tracking record
1414
+ # Retrieve the information for an order tracking record for an order.
1415
+ # @param order_track_id UUID order_track_id
1416
+ # @param [Hash] opts the optional parameters
1417
+ # @return [Array<(OrderTrack, Fixnum, Hash)>] OrderTrack data, response status code and response headers
1418
+ def get_order_track_using_get_with_http_info(order_track_id, opts = {})
1419
+ if @api_client.config.debugging
1420
+ @api_client.config.logger.debug 'Calling API: OrderApi.get_order_track_using_get ...'
1421
+ end
1422
+ # verify the required parameter 'order_track_id' is set
1423
+ if @api_client.config.client_side_validation && order_track_id.nil?
1424
+ fail ArgumentError, "Missing the required parameter 'order_track_id' when calling OrderApi.get_order_track_using_get"
1425
+ end
1426
+ # resource path
1427
+ local_var_path = '/order_track/{order_track_id}'.sub('{' + 'order_track_id' + '}', order_track_id.to_s)
1428
+
1429
+ # query parameters
1430
+ query_params = {}
1431
+
1432
+ # header parameters
1433
+ header_params = {}
1434
+ # HTTP header 'Accept' (if needed)
1435
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1436
+
1437
+ # form parameters
1438
+ form_params = {}
1439
+
1440
+ # http body (model)
1441
+ post_body = nil
1442
+ auth_names = ['oauth2']
1443
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1444
+ :header_params => header_params,
1445
+ :query_params => query_params,
1446
+ :form_params => form_params,
1447
+ :body => post_body,
1448
+ :auth_names => auth_names,
1449
+ :return_type => 'OrderTrack')
1450
+ if @api_client.config.debugging
1451
+ @api_client.config.logger.debug "API called: OrderApi#get_order_track_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1452
+ end
1453
+ return data, status_code, headers
1454
+ end
1455
+ # Retrieve an order record
1456
+ # Retrieve the information for an order record.
1457
+ # @param order_id UUID order_id
1458
+ # @param [Hash] opts the optional parameters
1459
+ # @return [Order]
1460
+ def get_order_using_get(order_id, opts = {})
1461
+ data, _status_code, _headers = get_order_using_get_with_http_info(order_id, opts)
1462
+ data
1463
+ end
1464
+
1465
+ # Retrieve an order record
1466
+ # Retrieve the information for an order record.
1467
+ # @param order_id UUID order_id
1468
+ # @param [Hash] opts the optional parameters
1469
+ # @return [Array<(Order, Fixnum, Hash)>] Order data, response status code and response headers
1470
+ def get_order_using_get_with_http_info(order_id, opts = {})
1471
+ if @api_client.config.debugging
1472
+ @api_client.config.logger.debug 'Calling API: OrderApi.get_order_using_get ...'
1473
+ end
1474
+ # verify the required parameter 'order_id' is set
1475
+ if @api_client.config.client_side_validation && order_id.nil?
1476
+ fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.get_order_using_get"
1477
+ end
1478
+ # resource path
1479
+ local_var_path = '/order/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
1480
+
1481
+ # query parameters
1482
+ query_params = {}
1483
+
1484
+ # header parameters
1485
+ header_params = {}
1486
+ # HTTP header 'Accept' (if needed)
1487
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1488
+
1489
+ # form parameters
1490
+ form_params = {}
1491
+
1492
+ # http body (model)
1493
+ post_body = nil
1494
+ auth_names = ['oauth2']
1495
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1496
+ :header_params => header_params,
1497
+ :query_params => query_params,
1498
+ :form_params => form_params,
1499
+ :body => post_body,
1500
+ :auth_names => auth_names,
1501
+ :return_type => 'Order')
1502
+ if @api_client.config.debugging
1503
+ @api_client.config.logger.debug "API called: OrderApi#get_order_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1504
+ end
1505
+ return data, status_code, headers
1506
+ end
1507
+ # Update an order status
1508
+ # Update the information for an order status defined for your firm.
1509
+ # @param order_status order_status
1510
+ # @param order_status_id UUID order_status_id
1511
+ # @param [Hash] opts the optional parameters
1512
+ # @return [OrderStatus]
1513
+ def update_order_status_using_put(order_status, order_status_id, opts = {})
1514
+ data, _status_code, _headers = update_order_status_using_put_with_http_info(order_status, order_status_id, opts)
1515
+ data
1516
+ end
1517
+
1518
+ # Update an order status
1519
+ # Update the information for an order status defined for your firm.
1520
+ # @param order_status order_status
1521
+ # @param order_status_id UUID order_status_id
1522
+ # @param [Hash] opts the optional parameters
1523
+ # @return [Array<(OrderStatus, Fixnum, Hash)>] OrderStatus data, response status code and response headers
1524
+ def update_order_status_using_put_with_http_info(order_status, order_status_id, opts = {})
1525
+ if @api_client.config.debugging
1526
+ @api_client.config.logger.debug 'Calling API: OrderApi.update_order_status_using_put ...'
1527
+ end
1528
+ # verify the required parameter 'order_status' is set
1529
+ if @api_client.config.client_side_validation && order_status.nil?
1530
+ fail ArgumentError, "Missing the required parameter 'order_status' when calling OrderApi.update_order_status_using_put"
1531
+ end
1532
+ # verify the required parameter 'order_status_id' is set
1533
+ if @api_client.config.client_side_validation && order_status_id.nil?
1534
+ fail ArgumentError, "Missing the required parameter 'order_status_id' when calling OrderApi.update_order_status_using_put"
1535
+ end
1536
+ # resource path
1537
+ local_var_path = '/order_status/{order_status_id}'.sub('{' + 'order_status_id' + '}', order_status_id.to_s)
1538
+
1539
+ # query parameters
1540
+ query_params = {}
1541
+
1542
+ # header parameters
1543
+ header_params = {}
1544
+ # HTTP header 'Accept' (if needed)
1545
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1546
+ # HTTP header 'Content-Type'
1547
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1548
+
1549
+ # form parameters
1550
+ form_params = {}
1551
+
1552
+ # http body (model)
1553
+ post_body = @api_client.object_to_http_body(order_status)
1554
+ auth_names = ['oauth2']
1555
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1556
+ :header_params => header_params,
1557
+ :query_params => query_params,
1558
+ :form_params => form_params,
1559
+ :body => post_body,
1560
+ :auth_names => auth_names,
1561
+ :return_type => 'OrderStatus')
1562
+ if @api_client.config.debugging
1563
+ @api_client.config.logger.debug "API called: OrderApi#update_order_status_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1564
+ end
1565
+ return data, status_code, headers
1566
+ end
1567
+ # Update an order tracking record
1568
+ # Update the information for an order tracking record for an order.
1569
+ # @param order_track order_track
1570
+ # @param order_track_id UUID order_track_id
1571
+ # @param [Hash] opts the optional parameters
1572
+ # @return [OrderTrack]
1573
+ def update_order_track_using_put(order_track, order_track_id, opts = {})
1574
+ data, _status_code, _headers = update_order_track_using_put_with_http_info(order_track, order_track_id, opts)
1575
+ data
1576
+ end
1577
+
1578
+ # Update an order tracking record
1579
+ # Update the information for an order tracking record for an order.
1580
+ # @param order_track order_track
1581
+ # @param order_track_id UUID order_track_id
1582
+ # @param [Hash] opts the optional parameters
1583
+ # @return [Array<(OrderTrack, Fixnum, Hash)>] OrderTrack data, response status code and response headers
1584
+ def update_order_track_using_put_with_http_info(order_track, order_track_id, opts = {})
1585
+ if @api_client.config.debugging
1586
+ @api_client.config.logger.debug 'Calling API: OrderApi.update_order_track_using_put ...'
1587
+ end
1588
+ # verify the required parameter 'order_track' is set
1589
+ if @api_client.config.client_side_validation && order_track.nil?
1590
+ fail ArgumentError, "Missing the required parameter 'order_track' when calling OrderApi.update_order_track_using_put"
1591
+ end
1592
+ # verify the required parameter 'order_track_id' is set
1593
+ if @api_client.config.client_side_validation && order_track_id.nil?
1594
+ fail ArgumentError, "Missing the required parameter 'order_track_id' when calling OrderApi.update_order_track_using_put"
1595
+ end
1596
+ # resource path
1597
+ local_var_path = '/order_track/{order_track_id}'.sub('{' + 'order_track_id' + '}', order_track_id.to_s)
1598
+
1599
+ # query parameters
1600
+ query_params = {}
1601
+
1602
+ # header parameters
1603
+ header_params = {}
1604
+ # HTTP header 'Accept' (if needed)
1605
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1606
+ # HTTP header 'Content-Type'
1607
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1608
+
1609
+ # form parameters
1610
+ form_params = {}
1611
+
1612
+ # http body (model)
1613
+ post_body = @api_client.object_to_http_body(order_track)
1614
+ auth_names = ['oauth2']
1615
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1616
+ :header_params => header_params,
1617
+ :query_params => query_params,
1618
+ :form_params => form_params,
1619
+ :body => post_body,
1620
+ :auth_names => auth_names,
1621
+ :return_type => 'OrderTrack')
1622
+ if @api_client.config.debugging
1623
+ @api_client.config.logger.debug "API called: OrderApi#update_order_track_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1624
+ end
1625
+ return data, status_code, headers
1626
+ end
1627
+ # Update an order record
1628
+ # Update the information for an order record.
1629
+ # @param order order
1630
+ # @param order_id UUID order_id
1631
+ # @param [Hash] opts the optional parameters
1632
+ # @return [Order]
1633
+ def update_order_using_put(order, order_id, opts = {})
1634
+ data, _status_code, _headers = update_order_using_put_with_http_info(order, order_id, opts)
1635
+ data
1636
+ end
1637
+
1638
+ # Update an order record
1639
+ # Update the information for an order record.
1640
+ # @param order order
1641
+ # @param order_id UUID order_id
1642
+ # @param [Hash] opts the optional parameters
1643
+ # @return [Array<(Order, Fixnum, Hash)>] Order data, response status code and response headers
1644
+ def update_order_using_put_with_http_info(order, order_id, opts = {})
1645
+ if @api_client.config.debugging
1646
+ @api_client.config.logger.debug 'Calling API: OrderApi.update_order_using_put ...'
1647
+ end
1648
+ # verify the required parameter 'order' is set
1649
+ if @api_client.config.client_side_validation && order.nil?
1650
+ fail ArgumentError, "Missing the required parameter 'order' when calling OrderApi.update_order_using_put"
1651
+ end
1652
+ # verify the required parameter 'order_id' is set
1653
+ if @api_client.config.client_side_validation && order_id.nil?
1654
+ fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.update_order_using_put"
1655
+ end
1656
+ # resource path
1657
+ local_var_path = '/order/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
1658
+
1659
+ # query parameters
1660
+ query_params = {}
1661
+
1662
+ # header parameters
1663
+ header_params = {}
1664
+ # HTTP header 'Accept' (if needed)
1665
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1666
+ # HTTP header 'Content-Type'
1667
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1668
+
1669
+ # form parameters
1670
+ form_params = {}
1671
+
1672
+ # http body (model)
1673
+ post_body = @api_client.object_to_http_body(order)
1674
+ auth_names = ['oauth2']
1675
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1676
+ :header_params => header_params,
1677
+ :query_params => query_params,
1678
+ :form_params => form_params,
1679
+ :body => post_body,
1680
+ :auth_names => auth_names,
1681
+ :return_type => 'Order')
1682
+ if @api_client.config.debugging
1683
+ @api_client.config.logger.debug "API called: OrderApi#update_order_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1684
+ end
1685
+ return data, status_code, headers
1686
+ end
1687
+ end
1688
+ end