hydrogen-integration-api 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (449) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +87 -0
  4. data/Rakefile +8 -0
  5. data/git_push.sh +55 -0
  6. data/integration_api.gemspec +46 -0
  7. data/lib/integration_api.rb +257 -0
  8. data/lib/integration_api/api/accounting_api.rb +870 -0
  9. data/lib/integration_api/api/ach_api.rb +1109 -0
  10. data/lib/integration_api/api/aggregation_api.rb +616 -0
  11. data/lib/integration_api/api/async_api.rb +263 -0
  12. data/lib/integration_api/api/baas_api.rb +518 -0
  13. data/lib/integration_api/api/brokerage_api.rb +1091 -0
  14. data/lib/integration_api/api/card_api.rb +1651 -0
  15. data/lib/integration_api/api/iav_api.rb +186 -0
  16. data/lib/integration_api/api/kms_api.rb +301 -0
  17. data/lib/integration_api/api/kyc_api.rb +138 -0
  18. data/lib/integration_api/api/market_data_api.rb +127 -0
  19. data/lib/integration_api/api/rtp_api.rb +479 -0
  20. data/lib/integration_api/api/sms_api.rb +129 -0
  21. data/lib/integration_api/api/smtp_api.rb +129 -0
  22. data/lib/integration_api/api/utils_api.rb +296 -0
  23. data/lib/integration_api/api/webhook_api.rb +301 -0
  24. data/lib/integration_api/api/wire_api.rb +479 -0
  25. data/lib/integration_api/api_client.rb +392 -0
  26. data/lib/integration_api/api_error.rb +38 -0
  27. data/lib/integration_api/auth_configuration.rb +181 -0
  28. data/lib/integration_api/configuration.rb +209 -0
  29. data/lib/integration_api/environment.rb +26 -0
  30. data/lib/integration_api/models/accounting_customer_response_vo.rb +200 -0
  31. data/lib/integration_api/models/accounting_customer_revenue_response_vo.rb +199 -0
  32. data/lib/integration_api/models/accounting_final_response_vo.rb +252 -0
  33. data/lib/integration_api/models/accounting_invoice_payment_response_vo.rb +199 -0
  34. data/lib/integration_api/models/accounting_invoice_response_vo.rb +199 -0
  35. data/lib/integration_api/models/accounting_stats_response_vo.rb +199 -0
  36. data/lib/integration_api/models/ach_balance_response_vo.rb +230 -0
  37. data/lib/integration_api/models/ach_bank_link_request_co.rb +199 -0
  38. data/lib/integration_api/models/ach_bank_link_response_vo.rb +235 -0
  39. data/lib/integration_api/models/ach_beneficial_owner_request_co.rb +190 -0
  40. data/lib/integration_api/models/ach_beneficial_owner_response_vo.rb +208 -0
  41. data/lib/integration_api/models/ach_business_balance_response_vo.rb +226 -0
  42. data/lib/integration_api/models/ach_business_request_co.rb +199 -0
  43. data/lib/integration_api/models/ach_business_response_vo.rb +217 -0
  44. data/lib/integration_api/models/ach_card_link_request_co.rb +190 -0
  45. data/lib/integration_api/models/ach_card_link_response_vo.rb +217 -0
  46. data/lib/integration_api/models/ach_card_load_response_vo.rb +190 -0
  47. data/lib/integration_api/models/ach_card_request_co.rb +182 -0
  48. data/lib/integration_api/models/ach_card_reserve_request_co.rb +181 -0
  49. data/lib/integration_api/models/ach_card_reserve_response_vo.rb +217 -0
  50. data/lib/integration_api/models/ach_card_response_vo.rb +218 -0
  51. data/lib/integration_api/models/ach_client_request_co.rb +199 -0
  52. data/lib/integration_api/models/ach_client_response_vo.rb +217 -0
  53. data/lib/integration_api/models/ach_reserve_link_request_co.rb +181 -0
  54. data/lib/integration_api/models/ach_reserve_link_response_vo.rb +219 -0
  55. data/lib/integration_api/models/ach_status_response_vo.rb +260 -0
  56. data/lib/integration_api/models/ach_transfer_request_co.rb +199 -0
  57. data/lib/integration_api/models/ach_transfer_response_vo.rb +244 -0
  58. data/lib/integration_api/models/acquiree.rb +199 -0
  59. data/lib/integration_api/models/acquirer.rb +199 -0
  60. data/lib/integration_api/models/address.rb +278 -0
  61. data/lib/integration_api/models/aggregation_account.rb +495 -0
  62. data/lib/integration_api/models/aggregation_account_balance.rb +292 -0
  63. data/lib/integration_api/models/aggregation_account_balance_response_vo.rb +208 -0
  64. data/lib/integration_api/models/aggregation_account_holding.rb +370 -0
  65. data/lib/integration_api/models/aggregation_account_holding_response_internal_object_vo.rb +199 -0
  66. data/lib/integration_api/models/aggregation_account_holding_response_vo.rb +210 -0
  67. data/lib/integration_api/models/aggregation_account_response_internal_object_vo.rb +199 -0
  68. data/lib/integration_api/models/aggregation_account_response_vo.rb +208 -0
  69. data/lib/integration_api/models/aggregation_account_transaction.rb +329 -0
  70. data/lib/integration_api/models/aggregation_account_transaction_response_internal_object_vo.rb +199 -0
  71. data/lib/integration_api/models/aggregation_account_transaction_response_vo.rb +221 -0
  72. data/lib/integration_api/models/aggregation_accounts_response_vo.rb +210 -0
  73. data/lib/integration_api/models/aggregation_request_object.rb +226 -0
  74. data/lib/integration_api/models/aggregation_vendor_request_co.rb +199 -0
  75. data/lib/integration_api/models/apple_payload.rb +199 -0
  76. data/lib/integration_api/models/async_transaction.rb +217 -0
  77. data/lib/integration_api/models/async_transaction_vo.rb +199 -0
  78. data/lib/integration_api/models/attachment_vo.rb +199 -0
  79. data/lib/integration_api/models/baas_account_co.rb +190 -0
  80. data/lib/integration_api/models/baas_account_vo.rb +253 -0
  81. data/lib/integration_api/models/baas_balance_vo.rb +221 -0
  82. data/lib/integration_api/models/baas_business_vo.rb +237 -0
  83. data/lib/integration_api/models/baas_client_vo.rb +237 -0
  84. data/lib/integration_api/models/baas_statement_vo.rb +226 -0
  85. data/lib/integration_api/models/baas_statements_vo.rb +201 -0
  86. data/lib/integration_api/models/baas_sub_account_co.rb +181 -0
  87. data/lib/integration_api/models/baas_sub_account_vo.rb +244 -0
  88. data/lib/integration_api/models/baas_transactions_vo.rb +221 -0
  89. data/lib/integration_api/models/balances.rb +223 -0
  90. data/lib/integration_api/models/bank_credit.rb +282 -0
  91. data/lib/integration_api/models/bank_link.rb +431 -0
  92. data/lib/integration_api/models/bank_link_response_internal_object_vo.rb +199 -0
  93. data/lib/integration_api/models/bank_link_vendor_data_vo.rb +190 -0
  94. data/lib/integration_api/models/base_response_vo.rb +199 -0
  95. data/lib/integration_api/models/brokerage_account_co.rb +192 -0
  96. data/lib/integration_api/models/brokerage_account_vo.rb +217 -0
  97. data/lib/integration_api/models/brokerage_balance_vo.rb +228 -0
  98. data/lib/integration_api/models/brokerage_bank_link_co.rb +181 -0
  99. data/lib/integration_api/models/brokerage_bank_link_vo.rb +226 -0
  100. data/lib/integration_api/models/brokerage_create_client_co.rb +192 -0
  101. data/lib/integration_api/models/brokerage_create_client_vo.rb +217 -0
  102. data/lib/integration_api/models/brokerage_deposit_co.rb +181 -0
  103. data/lib/integration_api/models/brokerage_deposit_vo.rb +217 -0
  104. data/lib/integration_api/models/brokerage_document_co.rb +190 -0
  105. data/lib/integration_api/models/brokerage_document_vo.rb +226 -0
  106. data/lib/integration_api/models/brokerage_holding_vo.rb +226 -0
  107. data/lib/integration_api/models/brokerage_order_co.rb +181 -0
  108. data/lib/integration_api/models/brokerage_order_vo.rb +226 -0
  109. data/lib/integration_api/models/brokerage_performance_vo.rb +226 -0
  110. data/lib/integration_api/models/brokerage_securities_vo.rb +217 -0
  111. data/lib/integration_api/models/brokerage_statement_vo.rb +199 -0
  112. data/lib/integration_api/models/brokerage_transaction_vo.rb +226 -0
  113. data/lib/integration_api/models/brokerage_update_client_co.rb +183 -0
  114. data/lib/integration_api/models/brokerage_update_client_vo.rb +237 -0
  115. data/lib/integration_api/models/brokerage_withdrawal_co.rb +181 -0
  116. data/lib/integration_api/models/brokerage_withdrawal_vo.rb +217 -0
  117. data/lib/integration_api/models/business_address.rb +253 -0
  118. data/lib/integration_api/models/business_status_response_vo.rb +217 -0
  119. data/lib/integration_api/models/business_vendor_request_data_vo.rb +313 -0
  120. data/lib/integration_api/models/card_auto_reload_request_co.rb +208 -0
  121. data/lib/integration_api/models/card_auto_reload_response_vo.rb +226 -0
  122. data/lib/integration_api/models/card_balance_response_vo.rb +230 -0
  123. data/lib/integration_api/models/card_base_request_co.rb +199 -0
  124. data/lib/integration_api/models/card_business_request_co.rb +181 -0
  125. data/lib/integration_api/models/card_client_request_co.rb +192 -0
  126. data/lib/integration_api/models/card_load_request_co.rb +190 -0
  127. data/lib/integration_api/models/card_load_unload_response_vo.rb +235 -0
  128. data/lib/integration_api/models/card_pin_request_co.rb +208 -0
  129. data/lib/integration_api/models/card_replace_response_vo.rb +235 -0
  130. data/lib/integration_api/models/card_reserve_account_response_vo.rb +235 -0
  131. data/lib/integration_api/models/card_reserve_transfer_request_co.rb +181 -0
  132. data/lib/integration_api/models/card_reserve_transfer_response_vo.rb +217 -0
  133. data/lib/integration_api/models/card_spending_control_request_co.rb +181 -0
  134. data/lib/integration_api/models/card_spending_control_response_vo.rb +217 -0
  135. data/lib/integration_api/models/card_token_request_co.rb +242 -0
  136. data/lib/integration_api/models/card_token_response_vo.rb +278 -0
  137. data/lib/integration_api/models/card_transaction_response_vo.rb +230 -0
  138. data/lib/integration_api/models/card_unload_request_co.rb +190 -0
  139. data/lib/integration_api/models/card_update_pin_request_co.rb +208 -0
  140. data/lib/integration_api/models/cash.rb +213 -0
  141. data/lib/integration_api/models/client_address.rb +283 -0
  142. data/lib/integration_api/models/client_vendor_request_data_vo.rb +340 -0
  143. data/lib/integration_api/models/contact.rb +356 -0
  144. data/lib/integration_api/models/contact_address.rb +268 -0
  145. data/lib/integration_api/models/create_baas_business_co.rb +192 -0
  146. data/lib/integration_api/models/create_baas_client_co.rb +192 -0
  147. data/lib/integration_api/models/create_business_response_vo.rb +217 -0
  148. data/lib/integration_api/models/create_card_client_response_vo.rb +217 -0
  149. data/lib/integration_api/models/create_user_request.rb +235 -0
  150. data/lib/integration_api/models/customer_revenue.rb +296 -0
  151. data/lib/integration_api/models/dividend.rb +199 -0
  152. data/lib/integration_api/models/dividend_tax.rb +190 -0
  153. data/lib/integration_api/models/email.rb +359 -0
  154. data/lib/integration_api/models/email_click.rb +220 -0
  155. data/lib/integration_api/models/email_open.rb +205 -0
  156. data/lib/integration_api/models/exchange_public_token_vo.rb +227 -0
  157. data/lib/integration_api/models/exchange_token_co.rb +235 -0
  158. data/lib/integration_api/models/financial_statement.rb +362 -0
  159. data/lib/integration_api/models/get_card_image_response_vo.rb +217 -0
  160. data/lib/integration_api/models/get_card_pci_details_response_vo.rb +235 -0
  161. data/lib/integration_api/models/get_card_statement_response_vo.rb +282 -0
  162. data/lib/integration_api/models/get_card_token_response_vo.rb +278 -0
  163. data/lib/integration_api/models/get_transactions_response.rb +183 -0
  164. data/lib/integration_api/models/google_payload.rb +181 -0
  165. data/lib/integration_api/models/iav_aggregation_response_vo.rb +190 -0
  166. data/lib/integration_api/models/iav_bank_link_response_vo.rb +192 -0
  167. data/lib/integration_api/models/iav_request_co.rb +244 -0
  168. data/lib/integration_api/models/iav_response_vo.rb +199 -0
  169. data/lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb +172 -0
  170. data/lib/integration_api/models/iav_vendor_request_co.rb +199 -0
  171. data/lib/integration_api/models/identification.rb +235 -0
  172. data/lib/integration_api/models/instrument.rb +199 -0
  173. data/lib/integration_api/models/investment.rb +283 -0
  174. data/lib/integration_api/models/invoice.rb +472 -0
  175. data/lib/integration_api/models/invoice_payment.rb +269 -0
  176. data/lib/integration_api/models/json_node.rb +172 -0
  177. data/lib/integration_api/models/kms_config.rb +307 -0
  178. data/lib/integration_api/models/kyc_request_co.rb +255 -0
  179. data/lib/integration_api/models/kyc_response_vo.rb +271 -0
  180. data/lib/integration_api/models/kyc_vendor_request_data_vo.rb +385 -0
  181. data/lib/integration_api/models/line_items.rb +278 -0
  182. data/lib/integration_api/models/location.rb +253 -0
  183. data/lib/integration_api/models/mapstringobject.rb +172 -0
  184. data/lib/integration_api/models/md_history_item_vo.rb +235 -0
  185. data/lib/integration_api/models/md_history_request_co.rb +221 -0
  186. data/lib/integration_api/models/md_history_response_vo.rb +183 -0
  187. data/lib/integration_api/models/md_quote_item_vo.rb +352 -0
  188. data/lib/integration_api/models/md_quote_request_co.rb +246 -0
  189. data/lib/integration_api/models/md_quote_response_vo.rb +183 -0
  190. data/lib/integration_api/models/merger_acquisition.rb +199 -0
  191. data/lib/integration_api/models/nucleus_transfer_fields_co.rb +190 -0
  192. data/lib/integration_api/models/ownership.rb +190 -0
  193. data/lib/integration_api/models/page_ach_transfer_response_vo.rb +258 -0
  194. data/lib/integration_api/models/page_kms_config.rb +258 -0
  195. data/lib/integration_api/models/page_webhook.rb +258 -0
  196. data/lib/integration_api/models/pageobject.rb +258 -0
  197. data/lib/integration_api/models/politically_exposed_person_dto.rb +208 -0
  198. data/lib/integration_api/models/portfolio_asset_size_log.rb +329 -0
  199. data/lib/integration_api/models/property_value_response_vo.rb +226 -0
  200. data/lib/integration_api/models/response_entity.rb +233 -0
  201. data/lib/integration_api/models/rtp_bank_link_request_co.rb +190 -0
  202. data/lib/integration_api/models/rtp_bank_link_response_vo.rb +235 -0
  203. data/lib/integration_api/models/rtp_transfer_request_co.rb +190 -0
  204. data/lib/integration_api/models/rtp_transfer_response_vo.rb +226 -0
  205. data/lib/integration_api/models/samsung_payload.rb +181 -0
  206. data/lib/integration_api/models/sms.rb +335 -0
  207. data/lib/integration_api/models/sms_response_vo.rb +226 -0
  208. data/lib/integration_api/models/smsvo.rb +217 -0
  209. data/lib/integration_api/models/smtp_response_vo.rb +226 -0
  210. data/lib/integration_api/models/smtp_vo.rb +273 -0
  211. data/lib/integration_api/models/sort.rb +233 -0
  212. data/lib/integration_api/models/spending_control_vendor_request_data_vo.rb +255 -0
  213. data/lib/integration_api/models/stat.rb +203 -0
  214. data/lib/integration_api/models/transaction.rb +370 -0
  215. data/lib/integration_api/models/update_baas_business_co.rb +183 -0
  216. data/lib/integration_api/models/update_baas_client_co.rb +183 -0
  217. data/lib/integration_api/models/update_business_response_vo.rb +217 -0
  218. data/lib/integration_api/models/update_card_client_response_vo.rb +217 -0
  219. data/lib/integration_api/models/user_response_interface.rb +172 -0
  220. data/lib/integration_api/models/user_response_vo.rb +235 -0
  221. data/lib/integration_api/models/vendor_access_config_vo.rb +202 -0
  222. data/lib/integration_api/models/webhook.rb +277 -0
  223. data/lib/integration_api/models/widget_url_vo.rb +190 -0
  224. data/lib/integration_api/models/wire_bank_link_request_co.rb +190 -0
  225. data/lib/integration_api/models/wire_bank_link_response_vo.rb +235 -0
  226. data/lib/integration_api/models/wire_transfer_request_co.rb +190 -0
  227. data/lib/integration_api/models/wire_transfer_response_vo.rb +226 -0
  228. data/lib/integration_api/models/zillow_property_vendor_response_vo.rb +217 -0
  229. data/lib/integration_api/version.rb +15 -0
  230. data/spec/api/accounting_api_spec.rb +234 -0
  231. data/spec/api/ach_api_spec.rb +259 -0
  232. data/spec/api/aggregation_api_spec.rb +172 -0
  233. data/spec/api/async_api_spec.rb +88 -0
  234. data/spec/api/baas_api_spec.rb +143 -0
  235. data/spec/api/brokerage_api_spec.rb +264 -0
  236. data/spec/api/card_api_spec.rb +385 -0
  237. data/spec/api/iav_api_spec.rb +73 -0
  238. data/spec/api/kms_api_spec.rb +100 -0
  239. data/spec/api/kyc_api_spec.rb +63 -0
  240. data/spec/api/market_data_api_spec.rb +57 -0
  241. data/spec/api/rtp_api_spec.rb +134 -0
  242. data/spec/api/sms_api_spec.rb +59 -0
  243. data/spec/api/smtp_api_spec.rb +59 -0
  244. data/spec/api/utils_api_spec.rb +104 -0
  245. data/spec/api/webhook_api_spec.rb +100 -0
  246. data/spec/api/wire_api_spec.rb +134 -0
  247. data/spec/api_client_spec.rb +243 -0
  248. data/spec/configuration_spec.rb +42 -0
  249. data/spec/models/accounting_customer_response_vo_spec.rb +53 -0
  250. data/spec/models/accounting_customer_revenue_response_vo_spec.rb +53 -0
  251. data/spec/models/accounting_final_response_vo_spec.rb +83 -0
  252. data/spec/models/accounting_invoice_payment_response_vo_spec.rb +53 -0
  253. data/spec/models/accounting_invoice_response_vo_spec.rb +53 -0
  254. data/spec/models/accounting_stats_response_vo_spec.rb +53 -0
  255. data/spec/models/ach_balance_response_vo_spec.rb +71 -0
  256. data/spec/models/ach_bank_link_request_co_spec.rb +53 -0
  257. data/spec/models/ach_bank_link_response_vo_spec.rb +77 -0
  258. data/spec/models/ach_beneficial_owner_request_co_spec.rb +47 -0
  259. data/spec/models/ach_beneficial_owner_response_vo_spec.rb +59 -0
  260. data/spec/models/ach_business_balance_response_vo_spec.rb +71 -0
  261. data/spec/models/ach_business_request_co_spec.rb +53 -0
  262. data/spec/models/ach_business_response_vo_spec.rb +65 -0
  263. data/spec/models/ach_card_link_request_co_spec.rb +47 -0
  264. data/spec/models/ach_card_link_response_vo_spec.rb +65 -0
  265. data/spec/models/ach_card_load_response_vo_spec.rb +47 -0
  266. data/spec/models/ach_card_request_co_spec.rb +41 -0
  267. data/spec/models/ach_card_reserve_request_co_spec.rb +41 -0
  268. data/spec/models/ach_card_reserve_response_vo_spec.rb +65 -0
  269. data/spec/models/ach_card_response_vo_spec.rb +65 -0
  270. data/spec/models/ach_client_request_co_spec.rb +53 -0
  271. data/spec/models/ach_client_response_vo_spec.rb +65 -0
  272. data/spec/models/ach_reserve_link_request_co_spec.rb +41 -0
  273. data/spec/models/ach_reserve_link_response_vo_spec.rb +65 -0
  274. data/spec/models/ach_status_response_vo_spec.rb +75 -0
  275. data/spec/models/ach_transfer_request_co_spec.rb +53 -0
  276. data/spec/models/ach_transfer_response_vo_spec.rb +83 -0
  277. data/spec/models/acquiree_spec.rb +53 -0
  278. data/spec/models/acquirer_spec.rb +53 -0
  279. data/spec/models/address_spec.rb +87 -0
  280. data/spec/models/aggregation_account_balance_response_vo_spec.rb +59 -0
  281. data/spec/models/aggregation_account_balance_spec.rb +101 -0
  282. data/spec/models/aggregation_account_holding_response_internal_object_vo_spec.rb +53 -0
  283. data/spec/models/aggregation_account_holding_response_vo_spec.rb +59 -0
  284. data/spec/models/aggregation_account_holding_spec.rb +155 -0
  285. data/spec/models/aggregation_account_response_internal_object_vo_spec.rb +53 -0
  286. data/spec/models/aggregation_account_response_vo_spec.rb +59 -0
  287. data/spec/models/aggregation_account_spec.rb +221 -0
  288. data/spec/models/aggregation_account_transaction_response_internal_object_vo_spec.rb +53 -0
  289. data/spec/models/aggregation_account_transaction_response_vo_spec.rb +65 -0
  290. data/spec/models/aggregation_account_transaction_spec.rb +125 -0
  291. data/spec/models/aggregation_accounts_response_vo_spec.rb +59 -0
  292. data/spec/models/aggregation_request_object_spec.rb +71 -0
  293. data/spec/models/aggregation_vendor_request_co_spec.rb +53 -0
  294. data/spec/models/apple_payload_spec.rb +53 -0
  295. data/spec/models/async_transaction_spec.rb +65 -0
  296. data/spec/models/async_transaction_vo_spec.rb +53 -0
  297. data/spec/models/attachment_vo_spec.rb +53 -0
  298. data/spec/models/baas_account_co_spec.rb +47 -0
  299. data/spec/models/baas_account_vo_spec.rb +89 -0
  300. data/spec/models/baas_balance_vo_spec.rb +65 -0
  301. data/spec/models/baas_business_vo_spec.rb +77 -0
  302. data/spec/models/baas_client_vo_spec.rb +77 -0
  303. data/spec/models/baas_statement_vo_spec.rb +71 -0
  304. data/spec/models/baas_statements_vo_spec.rb +53 -0
  305. data/spec/models/baas_sub_account_co_spec.rb +41 -0
  306. data/spec/models/baas_sub_account_vo_spec.rb +83 -0
  307. data/spec/models/baas_transactions_vo_spec.rb +65 -0
  308. data/spec/models/balances_spec.rb +65 -0
  309. data/spec/models/bank_credit_spec.rb +95 -0
  310. data/spec/models/bank_link_response_internal_object_vo_spec.rb +53 -0
  311. data/spec/models/bank_link_spec.rb +179 -0
  312. data/spec/models/bank_link_vendor_data_vo_spec.rb +47 -0
  313. data/spec/models/base_response_vo_spec.rb +53 -0
  314. data/spec/models/brokerage_account_co_spec.rb +47 -0
  315. data/spec/models/brokerage_account_vo_spec.rb +65 -0
  316. data/spec/models/brokerage_balance_vo_spec.rb +71 -0
  317. data/spec/models/brokerage_bank_link_co_spec.rb +41 -0
  318. data/spec/models/brokerage_bank_link_vo_spec.rb +71 -0
  319. data/spec/models/brokerage_create_client_co_spec.rb +47 -0
  320. data/spec/models/brokerage_create_client_vo_spec.rb +65 -0
  321. data/spec/models/brokerage_deposit_co_spec.rb +41 -0
  322. data/spec/models/brokerage_deposit_vo_spec.rb +65 -0
  323. data/spec/models/brokerage_document_co_spec.rb +47 -0
  324. data/spec/models/brokerage_document_vo_spec.rb +71 -0
  325. data/spec/models/brokerage_holding_vo_spec.rb +71 -0
  326. data/spec/models/brokerage_order_co_spec.rb +41 -0
  327. data/spec/models/brokerage_order_vo_spec.rb +71 -0
  328. data/spec/models/brokerage_performance_vo_spec.rb +71 -0
  329. data/spec/models/brokerage_securities_vo_spec.rb +65 -0
  330. data/spec/models/brokerage_statement_vo_spec.rb +53 -0
  331. data/spec/models/brokerage_transaction_vo_spec.rb +71 -0
  332. data/spec/models/brokerage_update_client_co_spec.rb +41 -0
  333. data/spec/models/brokerage_update_client_vo_spec.rb +77 -0
  334. data/spec/models/brokerage_withdrawal_co_spec.rb +41 -0
  335. data/spec/models/brokerage_withdrawal_vo_spec.rb +65 -0
  336. data/spec/models/business_address_spec.rb +83 -0
  337. data/spec/models/business_status_response_vo_spec.rb +65 -0
  338. data/spec/models/business_vendor_request_data_vo_spec.rb +125 -0
  339. data/spec/models/card_auto_reload_request_co_spec.rb +59 -0
  340. data/spec/models/card_auto_reload_response_vo_spec.rb +71 -0
  341. data/spec/models/card_balance_response_vo_spec.rb +71 -0
  342. data/spec/models/card_base_request_co_spec.rb +53 -0
  343. data/spec/models/card_business_request_co_spec.rb +41 -0
  344. data/spec/models/card_client_request_co_spec.rb +47 -0
  345. data/spec/models/card_load_request_co_spec.rb +47 -0
  346. data/spec/models/card_load_unload_response_vo_spec.rb +77 -0
  347. data/spec/models/card_pin_request_co_spec.rb +59 -0
  348. data/spec/models/card_replace_response_vo_spec.rb +77 -0
  349. data/spec/models/card_reserve_account_response_vo_spec.rb +77 -0
  350. data/spec/models/card_reserve_transfer_request_co_spec.rb +41 -0
  351. data/spec/models/card_reserve_transfer_response_vo_spec.rb +65 -0
  352. data/spec/models/card_spending_control_request_co_spec.rb +41 -0
  353. data/spec/models/card_spending_control_response_vo_spec.rb +65 -0
  354. data/spec/models/card_token_request_co_spec.rb +63 -0
  355. data/spec/models/card_token_response_vo_spec.rb +87 -0
  356. data/spec/models/card_transaction_response_vo_spec.rb +71 -0
  357. data/spec/models/card_unload_request_co_spec.rb +47 -0
  358. data/spec/models/card_update_pin_request_co_spec.rb +59 -0
  359. data/spec/models/cash_spec.rb +53 -0
  360. data/spec/models/client_address_spec.rb +87 -0
  361. data/spec/models/client_vendor_request_data_vo_spec.rb +143 -0
  362. data/spec/models/contact_address_spec.rb +77 -0
  363. data/spec/models/contact_spec.rb +143 -0
  364. data/spec/models/create_baas_business_co_spec.rb +47 -0
  365. data/spec/models/create_baas_client_co_spec.rb +47 -0
  366. data/spec/models/create_business_response_vo_spec.rb +65 -0
  367. data/spec/models/create_card_client_response_vo_spec.rb +65 -0
  368. data/spec/models/create_user_request_spec.rb +77 -0
  369. data/spec/models/customer_revenue_spec.rb +95 -0
  370. data/spec/models/dividend_spec.rb +53 -0
  371. data/spec/models/dividend_tax_spec.rb +47 -0
  372. data/spec/models/email_click_spec.rb +59 -0
  373. data/spec/models/email_open_spec.rb +53 -0
  374. data/spec/models/email_spec.rb +149 -0
  375. data/spec/models/exchange_public_token_vo_spec.rb +71 -0
  376. data/spec/models/exchange_token_co_spec.rb +77 -0
  377. data/spec/models/financial_statement_spec.rb +137 -0
  378. data/spec/models/get_card_image_response_vo_spec.rb +65 -0
  379. data/spec/models/get_card_pci_details_response_vo_spec.rb +77 -0
  380. data/spec/models/get_card_statement_response_vo_spec.rb +107 -0
  381. data/spec/models/get_card_token_response_vo_spec.rb +87 -0
  382. data/spec/models/get_transactions_response_spec.rb +41 -0
  383. data/spec/models/google_payload_spec.rb +41 -0
  384. data/spec/models/iav_aggregation_response_vo_spec.rb +47 -0
  385. data/spec/models/iav_bank_link_response_vo_spec.rb +47 -0
  386. data/spec/models/iav_request_co_spec.rb +83 -0
  387. data/spec/models/iav_response_vo_spec.rb +53 -0
  388. data/spec/models/iav_token_exchange_vendor_response_vo_spec.rb +35 -0
  389. data/spec/models/iav_vendor_request_co_spec.rb +53 -0
  390. data/spec/models/identification_spec.rb +77 -0
  391. data/spec/models/instrument_spec.rb +53 -0
  392. data/spec/models/investment_spec.rb +89 -0
  393. data/spec/models/invoice_payment_spec.rb +83 -0
  394. data/spec/models/invoice_spec.rb +197 -0
  395. data/spec/models/json_node_spec.rb +35 -0
  396. data/spec/models/kms_config_spec.rb +107 -0
  397. data/spec/models/kyc_request_co_spec.rb +89 -0
  398. data/spec/models/kyc_response_vo_spec.rb +101 -0
  399. data/spec/models/kyc_vendor_request_data_vo_spec.rb +173 -0
  400. data/spec/models/line_items_spec.rb +83 -0
  401. data/spec/models/location_spec.rb +83 -0
  402. data/spec/models/mapstringobject_spec.rb +35 -0
  403. data/spec/models/md_history_item_vo_spec.rb +77 -0
  404. data/spec/models/md_history_request_co_spec.rb +65 -0
  405. data/spec/models/md_history_response_vo_spec.rb +41 -0
  406. data/spec/models/md_quote_item_vo_spec.rb +155 -0
  407. data/spec/models/md_quote_request_co_spec.rb +63 -0
  408. data/spec/models/md_quote_response_vo_spec.rb +41 -0
  409. data/spec/models/merger_acquisition_spec.rb +53 -0
  410. data/spec/models/nucleus_transfer_fields_co_spec.rb +47 -0
  411. data/spec/models/ownership_spec.rb +47 -0
  412. data/spec/models/page_ach_transfer_response_vo_spec.rb +89 -0
  413. data/spec/models/page_kms_config_spec.rb +89 -0
  414. data/spec/models/page_webhook_spec.rb +89 -0
  415. data/spec/models/pageobject_spec.rb +89 -0
  416. data/spec/models/politically_exposed_person_dto_spec.rb +59 -0
  417. data/spec/models/portfolio_asset_size_log_spec.rb +113 -0
  418. data/spec/models/property_value_response_vo_spec.rb +71 -0
  419. data/spec/models/response_entity_spec.rb +57 -0
  420. data/spec/models/rtp_bank_link_request_co_spec.rb +47 -0
  421. data/spec/models/rtp_bank_link_response_vo_spec.rb +77 -0
  422. data/spec/models/rtp_transfer_request_co_spec.rb +47 -0
  423. data/spec/models/rtp_transfer_response_vo_spec.rb +71 -0
  424. data/spec/models/samsung_payload_spec.rb +41 -0
  425. data/spec/models/sms_response_vo_spec.rb +71 -0
  426. data/spec/models/sms_spec.rb +137 -0
  427. data/spec/models/smsvo_spec.rb +65 -0
  428. data/spec/models/smtp_response_vo_spec.rb +71 -0
  429. data/spec/models/smtp_vo_spec.rb +101 -0
  430. data/spec/models/sort_spec.rb +71 -0
  431. data/spec/models/spending_control_vendor_request_data_vo_spec.rb +89 -0
  432. data/spec/models/stat_spec.rb +47 -0
  433. data/spec/models/transaction_spec.rb +167 -0
  434. data/spec/models/update_baas_business_co_spec.rb +41 -0
  435. data/spec/models/update_baas_client_co_spec.rb +41 -0
  436. data/spec/models/update_business_response_vo_spec.rb +65 -0
  437. data/spec/models/update_card_client_response_vo_spec.rb +65 -0
  438. data/spec/models/user_response_interface_spec.rb +35 -0
  439. data/spec/models/user_response_vo_spec.rb +77 -0
  440. data/spec/models/vendor_access_config_vo_spec.rb +53 -0
  441. data/spec/models/webhook_spec.rb +87 -0
  442. data/spec/models/widget_url_vo_spec.rb +47 -0
  443. data/spec/models/wire_bank_link_request_co_spec.rb +47 -0
  444. data/spec/models/wire_bank_link_response_vo_spec.rb +77 -0
  445. data/spec/models/wire_transfer_request_co_spec.rb +47 -0
  446. data/spec/models/wire_transfer_response_vo_spec.rb +71 -0
  447. data/spec/models/zillow_property_vendor_response_vo_spec.rb +65 -0
  448. data/spec/spec_helper.rb +111 -0
  449. metadata +909 -0
@@ -0,0 +1,616 @@
1
+ =begin
2
+ #Hydrogen Integration API
3
+
4
+ #The Hydrogen Integration API
5
+
6
+ OpenAPI spec version: 1.3.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.21
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module IntegrationApi
16
+ class AggregationApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Create mapping between client,vendor,tenant
23
+ # Create mapping between client,vendor,tenant
24
+ # @param aggregation_request_object aggregationRequestObject
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [AggregationAccountsResponseVO]
27
+ def create_aggregation_account_using_post(aggregation_request_object, opts = {})
28
+ data, _status_code, _headers = create_aggregation_account_using_post_with_http_info(aggregation_request_object, opts)
29
+ data
30
+ end
31
+
32
+ # Create mapping between client,vendor,tenant
33
+ # Create mapping between client,vendor,tenant
34
+ # @param aggregation_request_object aggregationRequestObject
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(AggregationAccountsResponseVO, Fixnum, Hash)>] AggregationAccountsResponseVO data, response status code and response headers
37
+ def create_aggregation_account_using_post_with_http_info(aggregation_request_object, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: AggregationApi.create_aggregation_account_using_post ...'
40
+ end
41
+ # verify the required parameter 'aggregation_request_object' is set
42
+ if @api_client.config.client_side_validation && aggregation_request_object.nil?
43
+ fail ArgumentError, "Missing the required parameter 'aggregation_request_object' when calling AggregationApi.create_aggregation_account_using_post"
44
+ end
45
+ # resource path
46
+ local_var_path = '/aggregation/account'
47
+
48
+ # query parameters
49
+ query_params = {}
50
+
51
+ # header parameters
52
+ header_params = {}
53
+ # HTTP header 'Accept' (if needed)
54
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
+ # HTTP header 'Content-Type'
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
+
58
+ # form parameters
59
+ form_params = {}
60
+
61
+ # http body (model)
62
+ post_body = @api_client.object_to_http_body(aggregation_request_object)
63
+ auth_names = ['oauth2']
64
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
65
+ :header_params => header_params,
66
+ :query_params => query_params,
67
+ :form_params => form_params,
68
+ :body => post_body,
69
+ :auth_names => auth_names,
70
+ :return_type => 'AggregationAccountsResponseVO')
71
+ if @api_client.config.debugging
72
+ @api_client.config.logger.debug "API called: AggregationApi#create_aggregation_account_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
73
+ end
74
+ return data, status_code, headers
75
+ end
76
+ # De-Link mapping between client,vendor,tenant
77
+ # De-Link mapping between client,vendor,tenant
78
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
79
+ # @param [Hash] opts the optional parameters
80
+ # @option opts [String] :delete_type delete_type (default to delink)
81
+ # @option opts [String] :nucleus_data nucleus_data
82
+ # @return [nil]
83
+ def delete_aggregation_account_using_delete(nucleus_aggregation_account_id, opts = {})
84
+ delete_aggregation_account_using_delete_with_http_info(nucleus_aggregation_account_id, opts)
85
+ nil
86
+ end
87
+
88
+ # De-Link mapping between client,vendor,tenant
89
+ # De-Link mapping between client,vendor,tenant
90
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
91
+ # @param [Hash] opts the optional parameters
92
+ # @option opts [String] :delete_type delete_type
93
+ # @option opts [String] :nucleus_data nucleus_data
94
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
95
+ def delete_aggregation_account_using_delete_with_http_info(nucleus_aggregation_account_id, opts = {})
96
+ if @api_client.config.debugging
97
+ @api_client.config.logger.debug 'Calling API: AggregationApi.delete_aggregation_account_using_delete ...'
98
+ end
99
+ # verify the required parameter 'nucleus_aggregation_account_id' is set
100
+ if @api_client.config.client_side_validation && nucleus_aggregation_account_id.nil?
101
+ fail ArgumentError, "Missing the required parameter 'nucleus_aggregation_account_id' when calling AggregationApi.delete_aggregation_account_using_delete"
102
+ end
103
+ # resource path
104
+ local_var_path = '/aggregation/account/{nucleus_aggregation_account_id}'.sub('{' + 'nucleus_aggregation_account_id' + '}', nucleus_aggregation_account_id.to_s)
105
+
106
+ # query parameters
107
+ query_params = {}
108
+ query_params[:'delete_type'] = opts[:'delete_type'] if !opts[:'delete_type'].nil?
109
+ query_params[:'nucleus_data'] = opts[:'nucleus_data'] if !opts[:'nucleus_data'].nil?
110
+
111
+ # header parameters
112
+ header_params = {}
113
+ # HTTP header 'Accept' (if needed)
114
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
115
+
116
+ # form parameters
117
+ form_params = {}
118
+
119
+ # http body (model)
120
+ post_body = nil
121
+ auth_names = ['oauth2']
122
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
123
+ :header_params => header_params,
124
+ :query_params => query_params,
125
+ :form_params => form_params,
126
+ :body => post_body,
127
+ :auth_names => auth_names)
128
+ if @api_client.config.debugging
129
+ @api_client.config.logger.debug "API called: AggregationApi#delete_aggregation_account_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
130
+ end
131
+ return data, status_code, headers
132
+ end
133
+ # Fetch all aggregation account(s) details with the mapping created in POST endpoint for a client
134
+ # Fetch all aggregation account(s) details with the mapping created in POST endpoint for a client
135
+ # @param aggregation_account_id_list aggregation_account_id_list
136
+ # @param [Hash] opts the optional parameters
137
+ # @return [Array<AggregationAccountResponseVO>]
138
+ def get_aggregation_account_all_using_get(aggregation_account_id_list, opts = {})
139
+ data, _status_code, _headers = get_aggregation_account_all_using_get_with_http_info(aggregation_account_id_list, opts)
140
+ data
141
+ end
142
+
143
+ # Fetch all aggregation account(s) details with the mapping created in POST endpoint for a client
144
+ # Fetch all aggregation account(s) details with the mapping created in POST endpoint for a client
145
+ # @param aggregation_account_id_list aggregation_account_id_list
146
+ # @param [Hash] opts the optional parameters
147
+ # @return [Array<(Array<AggregationAccountResponseVO>, Fixnum, Hash)>] Array<AggregationAccountResponseVO> data, response status code and response headers
148
+ def get_aggregation_account_all_using_get_with_http_info(aggregation_account_id_list, opts = {})
149
+ if @api_client.config.debugging
150
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_all_using_get ...'
151
+ end
152
+ # verify the required parameter 'aggregation_account_id_list' is set
153
+ if @api_client.config.client_side_validation && aggregation_account_id_list.nil?
154
+ fail ArgumentError, "Missing the required parameter 'aggregation_account_id_list' when calling AggregationApi.get_aggregation_account_all_using_get"
155
+ end
156
+ # resource path
157
+ local_var_path = '/aggregation/account?aggregation_account_id_list=' + aggregation_account_id_list.join(",")
158
+
159
+ # query parameters
160
+ query_params = {}
161
+ # query_params[:'aggregation_account_id_list'] = @api_client.build_collection_param(aggregation_account_id_list, :multi)
162
+
163
+ # header parameters
164
+ header_params = {}
165
+ # HTTP header 'Accept' (if needed)
166
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
167
+
168
+ # form parameters
169
+ form_params = {}
170
+
171
+ # http body (model)
172
+ post_body = nil
173
+ auth_names = ['oauth2']
174
+ data, status_code, headers = @api_client.call_api( :GET, local_var_path,
175
+ :header_params => header_params,
176
+ :query_params => query_params,
177
+ :form_params => form_params,
178
+ :body => post_body,
179
+ :auth_names => auth_names,
180
+ :return_type => 'Array<AggregationAccountResponseVO>')
181
+ if @api_client.config.debugging
182
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
183
+ end
184
+ return data, status_code, headers
185
+ end
186
+ # Fetch all aggregation account balance details with for the given aggregation accounts
187
+ # Fetch all aggregation account balance details with for the given aggregation accounts
188
+ # @param aggregation_account_id_list aggregation_account_id_list
189
+ # @param [Hash] opts the optional parameters
190
+ # @return [Array<AggregationAccountBalanceResponseVO>]
191
+ def get_aggregation_account_balance_all_using_get(aggregation_account_id_list, opts = {})
192
+ data, _status_code, _headers = get_aggregation_account_balance_all_using_get_with_http_info(aggregation_account_id_list, opts)
193
+ data
194
+ end
195
+
196
+ # Fetch all aggregation account balance details with for the given aggregation accounts
197
+ # Fetch all aggregation account balance details with for the given aggregation accounts
198
+ # @param aggregation_account_id_list aggregation_account_id_list
199
+ # @param [Hash] opts the optional parameters
200
+ # @return [Array<(Array<AggregationAccountBalanceResponseVO>, Fixnum, Hash)>] Array<AggregationAccountBalanceResponseVO> data, response status code and response headers
201
+ def get_aggregation_account_balance_all_using_get_with_http_info(aggregation_account_id_list, opts = {})
202
+ if @api_client.config.debugging
203
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_balance_all_using_get ...'
204
+ end
205
+ # verify the required parameter 'aggregation_account_id_list' is set
206
+ if @api_client.config.client_side_validation && aggregation_account_id_list.nil?
207
+ fail ArgumentError, "Missing the required parameter 'aggregation_account_id_list' when calling AggregationApi.get_aggregation_account_balance_all_using_get"
208
+ end
209
+ # resource path
210
+ local_var_path = '/aggregation/balance?aggregation_account_id_list=' + aggregation_account_id_list.join(",")
211
+
212
+ # query parameters
213
+ query_params = {}
214
+ # query_params[:'aggregation_account_id_list'] = @api_client.build_collection_param(aggregation_account_id_list, :multi)
215
+
216
+ # header parameters
217
+ header_params = {}
218
+ # HTTP header 'Accept' (if needed)
219
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
220
+
221
+ # form parameters
222
+ form_params = {}
223
+
224
+ # http body (model)
225
+ post_body = nil
226
+ auth_names = ['oauth2']
227
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
228
+ :header_params => header_params,
229
+ :query_params => query_params,
230
+ :form_params => form_params,
231
+ :body => post_body,
232
+ :auth_names => auth_names,
233
+ :return_type => 'Array<AggregationAccountBalanceResponseVO>')
234
+ if @api_client.config.debugging
235
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_balance_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
236
+ end
237
+ return data, status_code, headers
238
+ end
239
+ # Fetch aggregation account balance details with the mapping created in POST endpoint
240
+ # Fetch aggregation account balance details with the mapping created in POST endpoint
241
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
242
+ # @param [Hash] opts the optional parameters
243
+ # @return [AggregationAccountBalanceResponseVO]
244
+ def get_aggregation_account_balance_using_get(nucleus_aggregation_account_id, opts = {})
245
+ data, _status_code, _headers = get_aggregation_account_balance_using_get_with_http_info(nucleus_aggregation_account_id, opts)
246
+ data
247
+ end
248
+
249
+ # Fetch aggregation account balance details with the mapping created in POST endpoint
250
+ # Fetch aggregation account balance details with the mapping created in POST endpoint
251
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
252
+ # @param [Hash] opts the optional parameters
253
+ # @return [Array<(AggregationAccountBalanceResponseVO, Fixnum, Hash)>] AggregationAccountBalanceResponseVO data, response status code and response headers
254
+ def get_aggregation_account_balance_using_get_with_http_info(nucleus_aggregation_account_id, opts = {})
255
+ if @api_client.config.debugging
256
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_balance_using_get ...'
257
+ end
258
+ # verify the required parameter 'nucleus_aggregation_account_id' is set
259
+ if @api_client.config.client_side_validation && nucleus_aggregation_account_id.nil?
260
+ fail ArgumentError, "Missing the required parameter 'nucleus_aggregation_account_id' when calling AggregationApi.get_aggregation_account_balance_using_get"
261
+ end
262
+ # resource path
263
+ local_var_path = '/aggregation/balance/{nucleus_aggregation_account_id}'.sub('{' + 'nucleus_aggregation_account_id' + '}', nucleus_aggregation_account_id.to_s)
264
+
265
+ # query parameters
266
+ query_params = {}
267
+
268
+ # header parameters
269
+ header_params = {}
270
+ # HTTP header 'Accept' (if needed)
271
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
272
+
273
+ # form parameters
274
+ form_params = {}
275
+
276
+ # http body (model)
277
+ post_body = nil
278
+ auth_names = ['oauth2']
279
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
280
+ :header_params => header_params,
281
+ :query_params => query_params,
282
+ :form_params => form_params,
283
+ :body => post_body,
284
+ :auth_names => auth_names,
285
+ :return_type => 'AggregationAccountBalanceResponseVO')
286
+ if @api_client.config.debugging
287
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
288
+ end
289
+ return data, status_code, headers
290
+ end
291
+ # Fetch all aggregation account(s) holding details with the mapping created in POST endpoint
292
+ # Fetch all aggregation account(s) holding details with the mapping created in POST endpoint
293
+ # @param aggregation_account_id_list aggregation_account_id_list
294
+ # @param [Hash] opts the optional parameters
295
+ # @return [Array<AggregationAccountHoldingResponseVO>]
296
+ def get_aggregation_account_holding_all_using_get(aggregation_account_id_list, opts = {})
297
+ data, _status_code, _headers = get_aggregation_account_holding_all_using_get_with_http_info(aggregation_account_id_list, opts)
298
+ data
299
+ end
300
+
301
+ # Fetch all aggregation account(s) holding details with the mapping created in POST endpoint
302
+ # Fetch all aggregation account(s) holding details with the mapping created in POST endpoint
303
+ # @param aggregation_account_id_list aggregation_account_id_list
304
+ # @param [Hash] opts the optional parameters
305
+ # @return [Array<(Array<AggregationAccountHoldingResponseVO>, Fixnum, Hash)>] Array<AggregationAccountHoldingResponseVO> data, response status code and response headers
306
+ def get_aggregation_account_holding_all_using_get_with_http_info(aggregation_account_id_list, opts = {})
307
+ if @api_client.config.debugging
308
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_holding_all_using_get ...'
309
+ end
310
+ # verify the required parameter 'aggregation_account_id_list' is set
311
+ if @api_client.config.client_side_validation && aggregation_account_id_list.nil?
312
+ fail ArgumentError, "Missing the required parameter 'aggregation_account_id_list' when calling AggregationApi.get_aggregation_account_holding_all_using_get"
313
+ end
314
+ # resource path
315
+ local_var_path = '/aggregation/holding?aggregation_account_id_list=' + aggregation_account_id_list.join(",")
316
+
317
+ # query parameters
318
+ query_params = {}
319
+ # query_params[:'aggregation_account_id_list'] = @api_client.build_collection_param(aggregation_account_id_list, :multi)
320
+
321
+ # header parameters
322
+ header_params = {}
323
+ # HTTP header 'Accept' (if needed)
324
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
325
+
326
+ # form parameters
327
+ form_params = {}
328
+
329
+ # http body (model)
330
+ post_body = nil
331
+ auth_names = ['oauth2']
332
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
333
+ :header_params => header_params,
334
+ :query_params => query_params,
335
+ :form_params => form_params,
336
+ :body => post_body,
337
+ :auth_names => auth_names,
338
+ :return_type => 'Array<AggregationAccountHoldingResponseVO>')
339
+ if @api_client.config.debugging
340
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_holding_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
341
+ end
342
+ return data, status_code, headers
343
+ end
344
+ # Fetch aggregation account holding details with the mapping created in POST endpoint
345
+ # Fetch aggregation account holding details with the mapping created in POST endpoint
346
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
347
+ # @param [Hash] opts the optional parameters
348
+ # @return [AggregationAccountHoldingResponseVO]
349
+ def get_aggregation_account_holding_using_get(nucleus_aggregation_account_id, opts = {})
350
+ data, _status_code, _headers = get_aggregation_account_holding_using_get_with_http_info(nucleus_aggregation_account_id, opts)
351
+ data
352
+ end
353
+
354
+ # Fetch aggregation account holding details with the mapping created in POST endpoint
355
+ # Fetch aggregation account holding details with the mapping created in POST endpoint
356
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
357
+ # @param [Hash] opts the optional parameters
358
+ # @return [Array<(AggregationAccountHoldingResponseVO, Fixnum, Hash)>] AggregationAccountHoldingResponseVO data, response status code and response headers
359
+ def get_aggregation_account_holding_using_get_with_http_info(nucleus_aggregation_account_id, opts = {})
360
+ if @api_client.config.debugging
361
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_holding_using_get ...'
362
+ end
363
+ # verify the required parameter 'nucleus_aggregation_account_id' is set
364
+ if @api_client.config.client_side_validation && nucleus_aggregation_account_id.nil?
365
+ fail ArgumentError, "Missing the required parameter 'nucleus_aggregation_account_id' when calling AggregationApi.get_aggregation_account_holding_using_get"
366
+ end
367
+ # resource path
368
+ local_var_path = '/aggregation/holding/{nucleus_aggregation_account_id}'.sub('{' + 'nucleus_aggregation_account_id' + '}', nucleus_aggregation_account_id.to_s)
369
+
370
+ # query parameters
371
+ query_params = {}
372
+
373
+ # header parameters
374
+ header_params = {}
375
+ # HTTP header 'Accept' (if needed)
376
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
377
+
378
+ # form parameters
379
+ form_params = {}
380
+
381
+ # http body (model)
382
+ post_body = nil
383
+ auth_names = ['oauth2']
384
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
385
+ :header_params => header_params,
386
+ :query_params => query_params,
387
+ :form_params => form_params,
388
+ :body => post_body,
389
+ :auth_names => auth_names,
390
+ :return_type => 'AggregationAccountHoldingResponseVO')
391
+ if @api_client.config.debugging
392
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_holding_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
393
+ end
394
+ return data, status_code, headers
395
+ end
396
+ # Fetch all aggregation account balance details with for the given aggregation accounts
397
+ # Fetch all aggregation account balance details with for the given aggregation accounts
398
+ # @param aggregation_account_id_list aggregation_account_id_list
399
+ # @param [Hash] opts the optional parameters
400
+ # @return [Array<AggregationAccountTransactionResponseVO>]
401
+ def get_aggregation_account_transaction_all_using_get(aggregation_account_id_list, opts = {})
402
+ data, _status_code, _headers = get_aggregation_account_transaction_all_using_get_with_http_info(aggregation_account_id_list, opts)
403
+ data
404
+ end
405
+
406
+ # Fetch all aggregation account balance details with for the given aggregation accounts
407
+ # Fetch all aggregation account balance details with for the given aggregation accounts
408
+ # @param aggregation_account_id_list aggregation_account_id_list
409
+ # @param [Hash] opts the optional parameters
410
+ # @return [Array<(Array<AggregationAccountTransactionResponseVO>, Fixnum, Hash)>] Array<AggregationAccountTransactionResponseVO> data, response status code and response headers
411
+ def get_aggregation_account_transaction_all_using_get_with_http_info(aggregation_account_id_list, opts = {})
412
+ if @api_client.config.debugging
413
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_transaction_all_using_get ...'
414
+ end
415
+ # verify the required parameter 'aggregation_account_id_list' is set
416
+ if @api_client.config.client_side_validation && aggregation_account_id_list.nil?
417
+ fail ArgumentError, "Missing the required parameter 'aggregation_account_id_list' when calling AggregationApi.get_aggregation_account_transaction_all_using_get"
418
+ end
419
+ # resource path
420
+ local_var_path = '/aggregation/transaction?aggregation_account_id_list=' + aggregation_account_id_list.join(",")
421
+
422
+ # query parameters
423
+ query_params = {}
424
+ # query_params[:'aggregation_account_id_list'] = @api_client.build_collection_param(aggregation_account_id_list, :multi)
425
+
426
+ # header parameters
427
+ header_params = {}
428
+ # HTTP header 'Accept' (if needed)
429
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
430
+
431
+ # form parameters
432
+ form_params = {}
433
+
434
+ # http body (model)
435
+ post_body = nil
436
+ auth_names = ['oauth2']
437
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
438
+ :header_params => header_params,
439
+ :query_params => query_params,
440
+ :form_params => form_params,
441
+ :body => post_body,
442
+ :auth_names => auth_names,
443
+ :return_type => 'Array<AggregationAccountTransactionResponseVO>')
444
+ if @api_client.config.debugging
445
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_transaction_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
446
+ end
447
+ return data, status_code, headers
448
+ end
449
+ # Fetch aggregation account transaction details with the mapping created in POST endpoint
450
+ # Fetch aggregation account transaction details with the mapping created in POST endpoint
451
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
452
+ # @param [Hash] opts the optional parameters
453
+ # @return [AggregationAccountTransactionResponseVO]
454
+ def get_aggregation_account_transaction_using_get(nucleus_aggregation_account_id, opts = {})
455
+ data, _status_code, _headers = get_aggregation_account_transaction_using_get_with_http_info(nucleus_aggregation_account_id, opts)
456
+ data
457
+ end
458
+
459
+ # Fetch aggregation account transaction details with the mapping created in POST endpoint
460
+ # Fetch aggregation account transaction details with the mapping created in POST endpoint
461
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
462
+ # @param [Hash] opts the optional parameters
463
+ # @return [Array<(AggregationAccountTransactionResponseVO, Fixnum, Hash)>] AggregationAccountTransactionResponseVO data, response status code and response headers
464
+ def get_aggregation_account_transaction_using_get_with_http_info(nucleus_aggregation_account_id, opts = {})
465
+ if @api_client.config.debugging
466
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_transaction_using_get ...'
467
+ end
468
+ # verify the required parameter 'nucleus_aggregation_account_id' is set
469
+ if @api_client.config.client_side_validation && nucleus_aggregation_account_id.nil?
470
+ fail ArgumentError, "Missing the required parameter 'nucleus_aggregation_account_id' when calling AggregationApi.get_aggregation_account_transaction_using_get"
471
+ end
472
+ # resource path
473
+ local_var_path = '/aggregation/transaction/{nucleus_aggregation_account_id}'.sub('{' + 'nucleus_aggregation_account_id' + '}', nucleus_aggregation_account_id.to_s)
474
+
475
+ # query parameters
476
+ query_params = {}
477
+
478
+ # header parameters
479
+ header_params = {}
480
+ # HTTP header 'Accept' (if needed)
481
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
482
+
483
+ # form parameters
484
+ form_params = {}
485
+
486
+ # http body (model)
487
+ post_body = nil
488
+ auth_names = ['oauth2']
489
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
490
+ :header_params => header_params,
491
+ :query_params => query_params,
492
+ :form_params => form_params,
493
+ :body => post_body,
494
+ :auth_names => auth_names,
495
+ :return_type => 'AggregationAccountTransactionResponseVO')
496
+ if @api_client.config.debugging
497
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_transaction_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
498
+ end
499
+ return data, status_code, headers
500
+ end
501
+ # Fetch aggregation account details with the mapping created in POST endpoint
502
+ # Fetch aggregation account details with the mapping created in POST endpoint
503
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
504
+ # @param [Hash] opts the optional parameters
505
+ # @return [AggregationAccountResponseVO]
506
+ def get_aggregation_account_using_get(nucleus_aggregation_account_id, opts = {})
507
+ data, _status_code, _headers = get_aggregation_account_using_get_with_http_info(nucleus_aggregation_account_id, opts)
508
+ data
509
+ end
510
+
511
+ # Fetch aggregation account details with the mapping created in POST endpoint
512
+ # Fetch aggregation account details with the mapping created in POST endpoint
513
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
514
+ # @param [Hash] opts the optional parameters
515
+ # @return [Array<(AggregationAccountResponseVO, Fixnum, Hash)>] AggregationAccountResponseVO data, response status code and response headers
516
+ def get_aggregation_account_using_get_with_http_info(nucleus_aggregation_account_id, opts = {})
517
+ if @api_client.config.debugging
518
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_aggregation_account_using_get ...'
519
+ end
520
+ # verify the required parameter 'nucleus_aggregation_account_id' is set
521
+ if @api_client.config.client_side_validation && nucleus_aggregation_account_id.nil?
522
+ fail ArgumentError, "Missing the required parameter 'nucleus_aggregation_account_id' when calling AggregationApi.get_aggregation_account_using_get"
523
+ end
524
+ # resource path
525
+ local_var_path = '/aggregation/account/{nucleus_aggregation_account_id}'.sub('{' + 'nucleus_aggregation_account_id' + '}', nucleus_aggregation_account_id.to_s)
526
+
527
+ # query parameters
528
+ query_params = {}
529
+
530
+ # header parameters
531
+ header_params = {}
532
+ # HTTP header 'Accept' (if needed)
533
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
534
+
535
+ # form parameters
536
+ form_params = {}
537
+
538
+ # http body (model)
539
+ post_body = nil
540
+ auth_names = ['oauth2']
541
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
542
+ :header_params => header_params,
543
+ :query_params => query_params,
544
+ :form_params => form_params,
545
+ :body => post_body,
546
+ :auth_names => auth_names,
547
+ :return_type => 'AggregationAccountResponseVO')
548
+ if @api_client.config.debugging
549
+ @api_client.config.logger.debug "API called: AggregationApi#get_aggregation_account_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
550
+ end
551
+ return data, status_code, headers
552
+ end
553
+ # Get Value of the given property
554
+ # Get Value of the given property
555
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
556
+ # @param [Hash] opts the optional parameters
557
+ # @option opts [String] :nucleus_business_id nucleus_business_id
558
+ # @option opts [String] :nucleus_client_id nucleus_client_id
559
+ # @option opts [String] :product product (default to atom)
560
+ # @return [PropertyValueResponseVO]
561
+ def get_property_value(nucleus_aggregation_account_id, opts = {})
562
+ data, _status_code, _headers = get_property_value_with_http_info(nucleus_aggregation_account_id, opts)
563
+ data
564
+ end
565
+
566
+ # Get Value of the given property
567
+ # Get Value of the given property
568
+ # @param nucleus_aggregation_account_id nucleus_aggregation_account_id
569
+ # @param [Hash] opts the optional parameters
570
+ # @option opts [String] :nucleus_business_id nucleus_business_id
571
+ # @option opts [String] :nucleus_client_id nucleus_client_id
572
+ # @option opts [String] :product product
573
+ # @return [Array<(PropertyValueResponseVO, Fixnum, Hash)>] PropertyValueResponseVO data, response status code and response headers
574
+ def get_property_value_with_http_info(nucleus_aggregation_account_id, opts = {})
575
+ if @api_client.config.debugging
576
+ @api_client.config.logger.debug 'Calling API: AggregationApi.get_property_value ...'
577
+ end
578
+ # verify the required parameter 'nucleus_aggregation_account_id' is set
579
+ if @api_client.config.client_side_validation && nucleus_aggregation_account_id.nil?
580
+ fail ArgumentError, "Missing the required parameter 'nucleus_aggregation_account_id' when calling AggregationApi.get_property_value"
581
+ end
582
+ # resource path
583
+ local_var_path = '/property_value'
584
+
585
+ # query parameters
586
+ query_params = {}
587
+ query_params[:'nucleus_aggregation_account_id'] = nucleus_aggregation_account_id
588
+ query_params[:'nucleus_business_id'] = opts[:'nucleus_business_id'] if !opts[:'nucleus_business_id'].nil?
589
+ query_params[:'nucleus_client_id'] = opts[:'nucleus_client_id'] if !opts[:'nucleus_client_id'].nil?
590
+ query_params[:'product'] = opts[:'product'] if !opts[:'product'].nil?
591
+
592
+ # header parameters
593
+ header_params = {}
594
+ # HTTP header 'Accept' (if needed)
595
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
596
+
597
+ # form parameters
598
+ form_params = {}
599
+
600
+ # http body (model)
601
+ post_body = nil
602
+ auth_names = ['oauth2']
603
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
604
+ :header_params => header_params,
605
+ :query_params => query_params,
606
+ :form_params => form_params,
607
+ :body => post_body,
608
+ :auth_names => auth_names,
609
+ :return_type => 'PropertyValueResponseVO')
610
+ if @api_client.config.debugging
611
+ @api_client.config.logger.debug "API called: AggregationApi#get_property_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
612
+ end
613
+ return data, status_code, headers
614
+ end
615
+ end
616
+ end