integration_api 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (613) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +438 -0
  4. data/Rakefile +8 -0
  5. data/docs/ACHApi.md +878 -0
  6. data/docs/AccountingApi.md +633 -0
  7. data/docs/AccountingCustomerResponseVO.md +9 -0
  8. data/docs/AccountingCustomerRevenueResponseVO.md +9 -0
  9. data/docs/AccountingFinalResponseVO.md +15 -0
  10. data/docs/AccountingInvoicePaymentResponseVO.md +9 -0
  11. data/docs/AccountingInvoiceResponseVO.md +9 -0
  12. data/docs/AccountingStatsResponseVO.md +9 -0
  13. data/docs/AchBalanceResponseVO.md +13 -0
  14. data/docs/AchBankLinkRequestCO.md +10 -0
  15. data/docs/AchBankLinkResponseVO.md +14 -0
  16. data/docs/AchBusinessRequestCO.md +10 -0
  17. data/docs/AchBusinessResponseVO.md +12 -0
  18. data/docs/AchCardLinkRequestCO.md +9 -0
  19. data/docs/AchCardLinkResponseVO.md +12 -0
  20. data/docs/AchClientRequestCO.md +10 -0
  21. data/docs/AchClientResponseVO.md +12 -0
  22. data/docs/AchTransferRequestCO.md +10 -0
  23. data/docs/AchTransferResponseVO.md +14 -0
  24. data/docs/Acquiree.md +10 -0
  25. data/docs/Acquirer.md +10 -0
  26. data/docs/Address.md +15 -0
  27. data/docs/AggregationAccount.md +29 -0
  28. data/docs/AggregationAccountBalance.md +18 -0
  29. data/docs/AggregationAccountBalanceResponseVO.md +11 -0
  30. data/docs/AggregationAccountHolding.md +27 -0
  31. data/docs/AggregationAccountHoldingResponseInternalObjectVO.md +9 -0
  32. data/docs/AggregationAccountHoldingResponseVO.md +11 -0
  33. data/docs/AggregationAccountResponseInternalObjectVO.md +9 -0
  34. data/docs/AggregationAccountResponseVO.md +11 -0
  35. data/docs/AggregationAccountTransaction.md +24 -0
  36. data/docs/AggregationAccountTransactionResponseInternalObjectVO.md +9 -0
  37. data/docs/AggregationAccountTransactionResponseVO.md +12 -0
  38. data/docs/AggregationAccountsResponseVO.md +11 -0
  39. data/docs/AggregationApi.md +722 -0
  40. data/docs/AggregationRequestObject.md +12 -0
  41. data/docs/AggregationVendorRequestCO.md +10 -0
  42. data/docs/ApplePayload.md +10 -0
  43. data/docs/AsyncApi.md +262 -0
  44. data/docs/AsyncTransaction.md +12 -0
  45. data/docs/AsyncTransactionVO.md +10 -0
  46. data/docs/BaasAccountCO.md +9 -0
  47. data/docs/BaasAccountVO.md +16 -0
  48. data/docs/BaasApi.md +551 -0
  49. data/docs/BaasBalanceVO.md +12 -0
  50. data/docs/BaasBusinessVO.md +14 -0
  51. data/docs/BaasClientVO.md +14 -0
  52. data/docs/BaasStatementVO.md +13 -0
  53. data/docs/BaasStatementsVO.md +10 -0
  54. data/docs/BaasSubAccountCO.md +8 -0
  55. data/docs/BaasSubAccountVO.md +15 -0
  56. data/docs/BaasTransactionsVO.md +12 -0
  57. data/docs/BankCredit.md +15 -0
  58. data/docs/BankLink.md +29 -0
  59. data/docs/BankLinkResponseInternalObjectVO.md +9 -0
  60. data/docs/BankLinkVendorDataVO.md +9 -0
  61. data/docs/BaseResponseVO.md +10 -0
  62. data/docs/BrokerageAccountCO.md +9 -0
  63. data/docs/BrokerageAccountVO.md +12 -0
  64. data/docs/BrokerageApi.md +1170 -0
  65. data/docs/BrokerageBalanceVO.md +13 -0
  66. data/docs/BrokerageBankLinkCO.md +8 -0
  67. data/docs/BrokerageBankLinkVO.md +13 -0
  68. data/docs/BrokerageClientCO.md +9 -0
  69. data/docs/BrokerageCreateClientVO.md +12 -0
  70. data/docs/BrokerageDepositCO.md +8 -0
  71. data/docs/BrokerageDepositVO.md +12 -0
  72. data/docs/BrokerageDocumentCO.md +9 -0
  73. data/docs/BrokerageDocumentVO.md +13 -0
  74. data/docs/BrokerageHoldingVO.md +13 -0
  75. data/docs/BrokerageOrderCO.md +8 -0
  76. data/docs/BrokerageOrderVO.md +13 -0
  77. data/docs/BrokeragePerformanceVO.md +13 -0
  78. data/docs/BrokerageSecuritiesVO.md +11 -0
  79. data/docs/BrokerageStatementVO.md +10 -0
  80. data/docs/BrokerageTransactionVO.md +13 -0
  81. data/docs/BrokerageUpdateClientVO.md +13 -0
  82. data/docs/BrokerageWithdrawalCO.md +8 -0
  83. data/docs/BrokerageWithdrawalVO.md +12 -0
  84. data/docs/BusinessAddress.md +14 -0
  85. data/docs/BusinessVendorRequestDataVO.md +22 -0
  86. data/docs/CardApi.md +1684 -0
  87. data/docs/CardAutoReloadRequestCO.md +11 -0
  88. data/docs/CardAutoReloadResponseVO.md +13 -0
  89. data/docs/CardBalanceResponseVO.md +13 -0
  90. data/docs/CardBaseRequestCO.md +10 -0
  91. data/docs/CardBusinessRequestCO.md +8 -0
  92. data/docs/CardClientRequestCO.md +9 -0
  93. data/docs/CardLoadRequestCO.md +9 -0
  94. data/docs/CardLoadUnloadResponseVO.md +14 -0
  95. data/docs/CardPinRequestCO.md +11 -0
  96. data/docs/CardReplaceResponseVO.md +14 -0
  97. data/docs/CardReserveAccountResponseVO.md +14 -0
  98. data/docs/CardSpendingControlRequestCO.md +8 -0
  99. data/docs/CardSpendingControlResponseVO.md +12 -0
  100. data/docs/CardTokenRequestCO.md +11 -0
  101. data/docs/CardTokenResponseVO.md +15 -0
  102. data/docs/CardTransactionResponseVO.md +13 -0
  103. data/docs/CardUnloadRequestCO.md +9 -0
  104. data/docs/CardUpdatePinRequestCO.md +11 -0
  105. data/docs/Cash.md +10 -0
  106. data/docs/ClientAddress.md +15 -0
  107. data/docs/ClientVendorRequestDataVO.md +25 -0
  108. data/docs/CreateBaasBusinessCO.md +9 -0
  109. data/docs/CreateBaasClientCO.md +9 -0
  110. data/docs/CreateBusinessResponseVO.md +12 -0
  111. data/docs/CreateCardClientResponseVO.md +12 -0
  112. data/docs/CreateUserRequest.md +13 -0
  113. data/docs/Customer.md +21 -0
  114. data/docs/CustomerAddress.md +14 -0
  115. data/docs/CustomerRevenue.md +16 -0
  116. data/docs/Dividend.md +10 -0
  117. data/docs/DividendTax.md +9 -0
  118. data/docs/Email.md +26 -0
  119. data/docs/EmailClick.md +11 -0
  120. data/docs/EmailOpen.md +10 -0
  121. data/docs/ExchangePublicTokenVO.md +12 -0
  122. data/docs/ExchangeTokenCO.md +13 -0
  123. data/docs/FinancialStatement.md +23 -0
  124. data/docs/GetCardImageResponseVO.md +12 -0
  125. data/docs/GetCardPciDetailsResponseVO.md +14 -0
  126. data/docs/GetCardStatementResponseVO.md +15 -0
  127. data/docs/GetCardTokenResponseVO.md +15 -0
  128. data/docs/GetTransactionsResponse.md +8 -0
  129. data/docs/GooglePayload.md +8 -0
  130. data/docs/IAVApi.md +126 -0
  131. data/docs/IavAggregationResponseVo.md +9 -0
  132. data/docs/IavBankLinkResponseVo.md +9 -0
  133. data/docs/IavRequestCO.md +14 -0
  134. data/docs/IavResponseVo.md +10 -0
  135. data/docs/IavTokenExchangeVendorResponseVO.md +7 -0
  136. data/docs/IavVendorRequestCO.md +10 -0
  137. data/docs/Identification.md +14 -0
  138. data/docs/Instrument.md +10 -0
  139. data/docs/Investment.md +16 -0
  140. data/docs/Invoice.md +32 -0
  141. data/docs/InvoicePayment.md +15 -0
  142. data/docs/JsonNode.md +28 -0
  143. data/docs/KMSApi.md +314 -0
  144. data/docs/KYCApi.md +135 -0
  145. data/docs/KmsConfig.md +19 -0
  146. data/docs/KycRequestCO.md +16 -0
  147. data/docs/KycResponseVo.md +18 -0
  148. data/docs/KycVendorRequestDataVO.md +30 -0
  149. data/docs/LineItems.md +15 -0
  150. data/docs/Location.md +15 -0
  151. data/docs/Mapstringobject.md +7 -0
  152. data/docs/MarketDataApi.md +122 -0
  153. data/docs/MdHistoryItemVO.md +14 -0
  154. data/docs/MdHistoryRequestCO.md +12 -0
  155. data/docs/MdHistoryResponseVO.md +8 -0
  156. data/docs/MdQuoteItemVO.md +25 -0
  157. data/docs/MdQuoteRequestCO.md +11 -0
  158. data/docs/MdQuoteResponseVO.md +8 -0
  159. data/docs/MergerAcquisition.md +10 -0
  160. data/docs/NucleusTransferFieldsCO.md +9 -0
  161. data/docs/Ownership.md +9 -0
  162. data/docs/PageAchTransferResponseVO.md +16 -0
  163. data/docs/PageKmsConfig.md +16 -0
  164. data/docs/PageWebhook.md +16 -0
  165. data/docs/Pageobject.md +16 -0
  166. data/docs/PoliticallyExposedPersonDTO.md +11 -0
  167. data/docs/PortfolioAssetSizeLog.md +20 -0
  168. data/docs/PropertyValueResponseVO.md +12 -0
  169. data/docs/RTPApi.md +521 -0
  170. data/docs/ResponseEntity.md +10 -0
  171. data/docs/RtpBankLinkRequestCO.md +9 -0
  172. data/docs/RtpBankLinkResponseVO.md +14 -0
  173. data/docs/RtpTransferRequestCO.md +9 -0
  174. data/docs/RtpTransferResponseVO.md +13 -0
  175. data/docs/SMS.md +24 -0
  176. data/docs/SMSApi.md +128 -0
  177. data/docs/SMSResponseVO.md +13 -0
  178. data/docs/SMSVO.md +12 -0
  179. data/docs/SMTPApi.md +128 -0
  180. data/docs/SamsungPayload.md +8 -0
  181. data/docs/SmtpResponseVO.md +13 -0
  182. data/docs/SmtpVO.md +17 -0
  183. data/docs/Sort.md +13 -0
  184. data/docs/SpendingControlVendorRequestDataVO.md +16 -0
  185. data/docs/Stat.md +9 -0
  186. data/docs/Transaction.md +29 -0
  187. data/docs/UpdateBaasBusinessCO.md +8 -0
  188. data/docs/UpdateBaasClientCO.md +8 -0
  189. data/docs/UpdateBusinessResponseVO.md +12 -0
  190. data/docs/UpdateCardClientResponseVO.md +12 -0
  191. data/docs/UserResponseInterface.md +7 -0
  192. data/docs/UserResponseVO.md +13 -0
  193. data/docs/UtilsApi.md +273 -0
  194. data/docs/VendorAccessConfigVO.md +10 -0
  195. data/docs/Webhook.md +15 -0
  196. data/docs/WebhookApi.md +314 -0
  197. data/docs/WidgetUrlVO.md +9 -0
  198. data/docs/WireApi.md +521 -0
  199. data/docs/WireBankLinkRequestCO.md +9 -0
  200. data/docs/WireBankLinkResponseVO.md +14 -0
  201. data/docs/WireTransferRequestCO.md +9 -0
  202. data/docs/WireTransferResponseVO.md +13 -0
  203. data/docs/ZillowPropertyVendorResponseVO.md +12 -0
  204. data/git_push.sh +55 -0
  205. data/integration_api.gemspec +46 -0
  206. data/lib/integration_api.rb +239 -0
  207. data/lib/integration_api/api/accounting_api.rb +597 -0
  208. data/lib/integration_api/api/ach_api.rb +800 -0
  209. data/lib/integration_api/api/aggregation_api.rb +665 -0
  210. data/lib/integration_api/api/async_api.rb +269 -0
  211. data/lib/integration_api/api/baas_api.rb +518 -0
  212. data/lib/integration_api/api/brokerage_api.rb +1089 -0
  213. data/lib/integration_api/api/card_api.rb +1548 -0
  214. data/lib/integration_api/api/iav_api.rb +129 -0
  215. data/lib/integration_api/api/kms_api.rb +301 -0
  216. data/lib/integration_api/api/kyc_api.rb +138 -0
  217. data/lib/integration_api/api/market_data_api.rb +127 -0
  218. data/lib/integration_api/api/rtp_api.rb +479 -0
  219. data/lib/integration_api/api/sms_api.rb +129 -0
  220. data/lib/integration_api/api/smtp_api.rb +129 -0
  221. data/lib/integration_api/api/utils_api.rb +272 -0
  222. data/lib/integration_api/api/webhook_api.rb +301 -0
  223. data/lib/integration_api/api/wire_api.rb +479 -0
  224. data/lib/integration_api/api_client.rb +391 -0
  225. data/lib/integration_api/api_error.rb +38 -0
  226. data/lib/integration_api/auth_configuration.rb +177 -0
  227. data/lib/integration_api/configuration.rb +209 -0
  228. data/lib/integration_api/models/accounting_customer_response_vo.rb +191 -0
  229. data/lib/integration_api/models/accounting_customer_revenue_response_vo.rb +191 -0
  230. data/lib/integration_api/models/accounting_final_response_vo.rb +253 -0
  231. data/lib/integration_api/models/accounting_invoice_payment_response_vo.rb +191 -0
  232. data/lib/integration_api/models/accounting_invoice_response_vo.rb +191 -0
  233. data/lib/integration_api/models/accounting_stats_response_vo.rb +191 -0
  234. data/lib/integration_api/models/ach_balance_response_vo.rb +231 -0
  235. data/lib/integration_api/models/ach_bank_link_request_co.rb +200 -0
  236. data/lib/integration_api/models/ach_bank_link_response_vo.rb +236 -0
  237. data/lib/integration_api/models/ach_business_request_co.rb +200 -0
  238. data/lib/integration_api/models/ach_business_response_vo.rb +218 -0
  239. data/lib/integration_api/models/ach_card_link_request_co.rb +191 -0
  240. data/lib/integration_api/models/ach_card_link_response_vo.rb +218 -0
  241. data/lib/integration_api/models/ach_client_request_co.rb +200 -0
  242. data/lib/integration_api/models/ach_client_response_vo.rb +218 -0
  243. data/lib/integration_api/models/ach_transfer_request_co.rb +200 -0
  244. data/lib/integration_api/models/ach_transfer_response_vo.rb +236 -0
  245. data/lib/integration_api/models/acquiree.rb +200 -0
  246. data/lib/integration_api/models/acquirer.rb +200 -0
  247. data/lib/integration_api/models/address.rb +281 -0
  248. data/lib/integration_api/models/aggregation_account.rb +411 -0
  249. data/lib/integration_api/models/aggregation_account_balance.rb +293 -0
  250. data/lib/integration_api/models/aggregation_account_balance_response_vo.rb +209 -0
  251. data/lib/integration_api/models/aggregation_account_holding.rb +381 -0
  252. data/lib/integration_api/models/aggregation_account_holding_response_internal_object_vo.rb +191 -0
  253. data/lib/integration_api/models/aggregation_account_holding_response_vo.rb +211 -0
  254. data/lib/integration_api/models/aggregation_account_response_internal_object_vo.rb +191 -0
  255. data/lib/integration_api/models/aggregation_account_response_vo.rb +209 -0
  256. data/lib/integration_api/models/aggregation_account_transaction.rb +348 -0
  257. data/lib/integration_api/models/aggregation_account_transaction_response_internal_object_vo.rb +191 -0
  258. data/lib/integration_api/models/aggregation_account_transaction_response_vo.rb +222 -0
  259. data/lib/integration_api/models/aggregation_accounts_response_vo.rb +211 -0
  260. data/lib/integration_api/models/aggregation_request_object.rb +218 -0
  261. data/lib/integration_api/models/aggregation_vendor_request_co.rb +200 -0
  262. data/lib/integration_api/models/apple_payload.rb +200 -0
  263. data/lib/integration_api/models/async_transaction.rb +218 -0
  264. data/lib/integration_api/models/async_transaction_vo.rb +200 -0
  265. data/lib/integration_api/models/baas_account_co.rb +191 -0
  266. data/lib/integration_api/models/baas_account_vo.rb +254 -0
  267. data/lib/integration_api/models/baas_balance_vo.rb +222 -0
  268. data/lib/integration_api/models/baas_business_vo.rb +238 -0
  269. data/lib/integration_api/models/baas_client_vo.rb +238 -0
  270. data/lib/integration_api/models/baas_statement_vo.rb +227 -0
  271. data/lib/integration_api/models/baas_statements_vo.rb +202 -0
  272. data/lib/integration_api/models/baas_sub_account_co.rb +182 -0
  273. data/lib/integration_api/models/baas_sub_account_vo.rb +245 -0
  274. data/lib/integration_api/models/baas_transactions_vo.rb +222 -0
  275. data/lib/integration_api/models/bank_credit.rb +263 -0
  276. data/lib/integration_api/models/bank_link.rb +412 -0
  277. data/lib/integration_api/models/bank_link_response_internal_object_vo.rb +191 -0
  278. data/lib/integration_api/models/bank_link_vendor_data_vo.rb +191 -0
  279. data/lib/integration_api/models/base_response_vo.rb +200 -0
  280. data/lib/integration_api/models/brokerage_account_co.rb +193 -0
  281. data/lib/integration_api/models/brokerage_account_vo.rb +218 -0
  282. data/lib/integration_api/models/brokerage_balance_vo.rb +229 -0
  283. data/lib/integration_api/models/brokerage_bank_link_co.rb +182 -0
  284. data/lib/integration_api/models/brokerage_bank_link_vo.rb +227 -0
  285. data/lib/integration_api/models/brokerage_client_co.rb +193 -0
  286. data/lib/integration_api/models/brokerage_create_client_vo.rb +218 -0
  287. data/lib/integration_api/models/brokerage_deposit_co.rb +182 -0
  288. data/lib/integration_api/models/brokerage_deposit_vo.rb +218 -0
  289. data/lib/integration_api/models/brokerage_document_co.rb +191 -0
  290. data/lib/integration_api/models/brokerage_document_vo.rb +227 -0
  291. data/lib/integration_api/models/brokerage_holding_vo.rb +227 -0
  292. data/lib/integration_api/models/brokerage_order_co.rb +182 -0
  293. data/lib/integration_api/models/brokerage_order_vo.rb +227 -0
  294. data/lib/integration_api/models/brokerage_performance_vo.rb +227 -0
  295. data/lib/integration_api/models/brokerage_securities_vo.rb +209 -0
  296. data/lib/integration_api/models/brokerage_statement_vo.rb +200 -0
  297. data/lib/integration_api/models/brokerage_transaction_vo.rb +227 -0
  298. data/lib/integration_api/models/brokerage_update_client_vo.rb +227 -0
  299. data/lib/integration_api/models/brokerage_withdrawal_co.rb +182 -0
  300. data/lib/integration_api/models/brokerage_withdrawal_vo.rb +218 -0
  301. data/lib/integration_api/models/business_address.rb +244 -0
  302. data/lib/integration_api/models/business_vendor_request_data_vo.rb +314 -0
  303. data/lib/integration_api/models/card_auto_reload_request_co.rb +209 -0
  304. data/lib/integration_api/models/card_auto_reload_response_vo.rb +227 -0
  305. data/lib/integration_api/models/card_balance_response_vo.rb +231 -0
  306. data/lib/integration_api/models/card_base_request_co.rb +200 -0
  307. data/lib/integration_api/models/card_business_request_co.rb +182 -0
  308. data/lib/integration_api/models/card_client_request_co.rb +193 -0
  309. data/lib/integration_api/models/card_load_request_co.rb +191 -0
  310. data/lib/integration_api/models/card_load_unload_response_vo.rb +236 -0
  311. data/lib/integration_api/models/card_pin_request_co.rb +209 -0
  312. data/lib/integration_api/models/card_replace_response_vo.rb +236 -0
  313. data/lib/integration_api/models/card_reserve_account_response_vo.rb +236 -0
  314. data/lib/integration_api/models/card_spending_control_request_co.rb +182 -0
  315. data/lib/integration_api/models/card_spending_control_response_vo.rb +218 -0
  316. data/lib/integration_api/models/card_token_request_co.rb +243 -0
  317. data/lib/integration_api/models/card_token_response_vo.rb +279 -0
  318. data/lib/integration_api/models/card_transaction_response_vo.rb +231 -0
  319. data/lib/integration_api/models/card_unload_request_co.rb +191 -0
  320. data/lib/integration_api/models/card_update_pin_request_co.rb +209 -0
  321. data/lib/integration_api/models/cash.rb +214 -0
  322. data/lib/integration_api/models/client_address.rb +286 -0
  323. data/lib/integration_api/models/client_vendor_request_data_vo.rb +341 -0
  324. data/lib/integration_api/models/create_baas_business_co.rb +193 -0
  325. data/lib/integration_api/models/create_baas_client_co.rb +193 -0
  326. data/lib/integration_api/models/create_business_response_vo.rb +218 -0
  327. data/lib/integration_api/models/create_card_client_response_vo.rb +218 -0
  328. data/lib/integration_api/models/create_user_request.rb +227 -0
  329. data/lib/integration_api/models/customer.rb +318 -0
  330. data/lib/integration_api/models/customer_address.rb +269 -0
  331. data/lib/integration_api/models/customer_revenue.rb +285 -0
  332. data/lib/integration_api/models/dividend.rb +200 -0
  333. data/lib/integration_api/models/dividend_tax.rb +191 -0
  334. data/lib/integration_api/models/email.rb +360 -0
  335. data/lib/integration_api/models/email_click.rb +221 -0
  336. data/lib/integration_api/models/email_open.rb +206 -0
  337. data/lib/integration_api/models/exchange_public_token_vo.rb +218 -0
  338. data/lib/integration_api/models/exchange_token_co.rb +227 -0
  339. data/lib/integration_api/models/financial_statement.rb +353 -0
  340. data/lib/integration_api/models/get_card_image_response_vo.rb +218 -0
  341. data/lib/integration_api/models/get_card_pci_details_response_vo.rb +236 -0
  342. data/lib/integration_api/models/get_card_statement_response_vo.rb +247 -0
  343. data/lib/integration_api/models/get_card_token_response_vo.rb +279 -0
  344. data/lib/integration_api/models/get_transactions_response.rb +184 -0
  345. data/lib/integration_api/models/google_payload.rb +182 -0
  346. data/lib/integration_api/models/iav_aggregation_response_vo.rb +191 -0
  347. data/lib/integration_api/models/iav_bank_link_response_vo.rb +193 -0
  348. data/lib/integration_api/models/iav_request_co.rb +236 -0
  349. data/lib/integration_api/models/iav_response_vo.rb +200 -0
  350. data/lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb +173 -0
  351. data/lib/integration_api/models/iav_vendor_request_co.rb +200 -0
  352. data/lib/integration_api/models/identification.rb +236 -0
  353. data/lib/integration_api/models/instrument.rb +200 -0
  354. data/lib/integration_api/models/investment.rb +284 -0
  355. data/lib/integration_api/models/invoice.rb +453 -0
  356. data/lib/integration_api/models/invoice_payment.rb +270 -0
  357. data/lib/integration_api/models/json_node.rb +396 -0
  358. data/lib/integration_api/models/kms_config.rb +308 -0
  359. data/lib/integration_api/models/kyc_request_co.rb +256 -0
  360. data/lib/integration_api/models/kyc_response_vo.rb +272 -0
  361. data/lib/integration_api/models/kyc_vendor_request_data_vo.rb +386 -0
  362. data/lib/integration_api/models/line_items.rb +279 -0
  363. data/lib/integration_api/models/location.rb +254 -0
  364. data/lib/integration_api/models/mapstringobject.rb +173 -0
  365. data/lib/integration_api/models/md_history_item_vo.rb +236 -0
  366. data/lib/integration_api/models/md_history_request_co.rb +222 -0
  367. data/lib/integration_api/models/md_history_response_vo.rb +184 -0
  368. data/lib/integration_api/models/md_quote_item_vo.rb +335 -0
  369. data/lib/integration_api/models/md_quote_request_co.rb +247 -0
  370. data/lib/integration_api/models/md_quote_response_vo.rb +184 -0
  371. data/lib/integration_api/models/merger_acquisition.rb +200 -0
  372. data/lib/integration_api/models/nucleus_transfer_fields_co.rb +191 -0
  373. data/lib/integration_api/models/ownership.rb +191 -0
  374. data/lib/integration_api/models/page_ach_transfer_response_vo.rb +259 -0
  375. data/lib/integration_api/models/page_kms_config.rb +259 -0
  376. data/lib/integration_api/models/page_webhook.rb +259 -0
  377. data/lib/integration_api/models/pageobject.rb +259 -0
  378. data/lib/integration_api/models/politically_exposed_person_dto.rb +209 -0
  379. data/lib/integration_api/models/portfolio_asset_size_log.rb +330 -0
  380. data/lib/integration_api/models/property_value_response_vo.rb +218 -0
  381. data/lib/integration_api/models/response_entity.rb +234 -0
  382. data/lib/integration_api/models/rtp_bank_link_request_co.rb +191 -0
  383. data/lib/integration_api/models/rtp_bank_link_response_vo.rb +236 -0
  384. data/lib/integration_api/models/rtp_transfer_request_co.rb +191 -0
  385. data/lib/integration_api/models/rtp_transfer_response_vo.rb +227 -0
  386. data/lib/integration_api/models/samsung_payload.rb +182 -0
  387. data/lib/integration_api/models/sms.rb +338 -0
  388. data/lib/integration_api/models/sms_response_vo.rb +227 -0
  389. data/lib/integration_api/models/smsvo.rb +218 -0
  390. data/lib/integration_api/models/smtp_response_vo.rb +227 -0
  391. data/lib/integration_api/models/smtp_vo.rb +263 -0
  392. data/lib/integration_api/models/sort.rb +234 -0
  393. data/lib/integration_api/models/spending_control_vendor_request_data_vo.rb +256 -0
  394. data/lib/integration_api/models/stat.rb +204 -0
  395. data/lib/integration_api/models/transaction.rb +371 -0
  396. data/lib/integration_api/models/update_baas_business_co.rb +184 -0
  397. data/lib/integration_api/models/update_baas_client_co.rb +184 -0
  398. data/lib/integration_api/models/update_business_response_vo.rb +218 -0
  399. data/lib/integration_api/models/update_card_client_response_vo.rb +218 -0
  400. data/lib/integration_api/models/user_response_interface.rb +173 -0
  401. data/lib/integration_api/models/user_response_vo.rb +227 -0
  402. data/lib/integration_api/models/vendor_access_config_vo.rb +203 -0
  403. data/lib/integration_api/models/webhook.rb +280 -0
  404. data/lib/integration_api/models/widget_url_vo.rb +191 -0
  405. data/lib/integration_api/models/wire_bank_link_request_co.rb +191 -0
  406. data/lib/integration_api/models/wire_bank_link_response_vo.rb +236 -0
  407. data/lib/integration_api/models/wire_transfer_request_co.rb +191 -0
  408. data/lib/integration_api/models/wire_transfer_response_vo.rb +227 -0
  409. data/lib/integration_api/models/zillow_property_vendor_response_vo.rb +218 -0
  410. data/lib/integration_api/version.rb +15 -0
  411. data/spec/api/accounting_api_spec.rb +169 -0
  412. data/spec/api/ach_api_spec.rb +207 -0
  413. data/spec/api/aggregation_api_spec.rb +181 -0
  414. data/spec/api/async_api_spec.rb +89 -0
  415. data/spec/api/baas_api_spec.rb +143 -0
  416. data/spec/api/brokerage_api_spec.rb +263 -0
  417. data/spec/api/card_api_spec.rb +363 -0
  418. data/spec/api/iav_api_spec.rb +59 -0
  419. data/spec/api/kms_api_spec.rb +100 -0
  420. data/spec/api/kyc_api_spec.rb +63 -0
  421. data/spec/api/market_data_api_spec.rb +57 -0
  422. data/spec/api/rtp_api_spec.rb +134 -0
  423. data/spec/api/sms_api_spec.rb +59 -0
  424. data/spec/api/smtp_api_spec.rb +59 -0
  425. data/spec/api/utils_api_spec.rb +96 -0
  426. data/spec/api/webhook_api_spec.rb +100 -0
  427. data/spec/api/wire_api_spec.rb +134 -0
  428. data/spec/api_client_spec.rb +243 -0
  429. data/spec/configuration_spec.rb +42 -0
  430. data/spec/models/accounting_customer_response_vo_spec.rb +47 -0
  431. data/spec/models/accounting_customer_revenue_response_vo_spec.rb +47 -0
  432. data/spec/models/accounting_final_response_vo_spec.rb +83 -0
  433. data/spec/models/accounting_invoice_payment_response_vo_spec.rb +47 -0
  434. data/spec/models/accounting_invoice_response_vo_spec.rb +47 -0
  435. data/spec/models/accounting_stats_response_vo_spec.rb +47 -0
  436. data/spec/models/ach_balance_response_vo_spec.rb +71 -0
  437. data/spec/models/ach_bank_link_request_co_spec.rb +53 -0
  438. data/spec/models/ach_bank_link_response_vo_spec.rb +77 -0
  439. data/spec/models/ach_business_request_co_spec.rb +53 -0
  440. data/spec/models/ach_business_response_vo_spec.rb +65 -0
  441. data/spec/models/ach_card_link_request_co_spec.rb +47 -0
  442. data/spec/models/ach_card_link_response_vo_spec.rb +65 -0
  443. data/spec/models/ach_client_request_co_spec.rb +53 -0
  444. data/spec/models/ach_client_response_vo_spec.rb +65 -0
  445. data/spec/models/ach_transfer_request_co_spec.rb +53 -0
  446. data/spec/models/ach_transfer_response_vo_spec.rb +77 -0
  447. data/spec/models/acquiree_spec.rb +53 -0
  448. data/spec/models/acquirer_spec.rb +53 -0
  449. data/spec/models/address_spec.rb +87 -0
  450. data/spec/models/aggregation_account_balance_response_vo_spec.rb +59 -0
  451. data/spec/models/aggregation_account_balance_spec.rb +101 -0
  452. data/spec/models/aggregation_account_holding_response_internal_object_vo_spec.rb +47 -0
  453. data/spec/models/aggregation_account_holding_response_vo_spec.rb +59 -0
  454. data/spec/models/aggregation_account_holding_spec.rb +155 -0
  455. data/spec/models/aggregation_account_response_internal_object_vo_spec.rb +47 -0
  456. data/spec/models/aggregation_account_response_vo_spec.rb +59 -0
  457. data/spec/models/aggregation_account_spec.rb +167 -0
  458. data/spec/models/aggregation_account_transaction_response_internal_object_vo_spec.rb +47 -0
  459. data/spec/models/aggregation_account_transaction_response_vo_spec.rb +65 -0
  460. data/spec/models/aggregation_account_transaction_spec.rb +137 -0
  461. data/spec/models/aggregation_accounts_response_vo_spec.rb +59 -0
  462. data/spec/models/aggregation_request_object_spec.rb +65 -0
  463. data/spec/models/aggregation_vendor_request_co_spec.rb +53 -0
  464. data/spec/models/apple_payload_spec.rb +53 -0
  465. data/spec/models/async_transaction_spec.rb +65 -0
  466. data/spec/models/async_transaction_vo_spec.rb +53 -0
  467. data/spec/models/baas_account_co_spec.rb +47 -0
  468. data/spec/models/baas_account_vo_spec.rb +89 -0
  469. data/spec/models/baas_balance_vo_spec.rb +65 -0
  470. data/spec/models/baas_business_vo_spec.rb +77 -0
  471. data/spec/models/baas_client_vo_spec.rb +77 -0
  472. data/spec/models/baas_statement_vo_spec.rb +71 -0
  473. data/spec/models/baas_statements_vo_spec.rb +53 -0
  474. data/spec/models/baas_sub_account_co_spec.rb +41 -0
  475. data/spec/models/baas_sub_account_vo_spec.rb +83 -0
  476. data/spec/models/baas_transactions_vo_spec.rb +65 -0
  477. data/spec/models/bank_credit_spec.rb +83 -0
  478. data/spec/models/bank_link_response_internal_object_vo_spec.rb +47 -0
  479. data/spec/models/bank_link_spec.rb +167 -0
  480. data/spec/models/bank_link_vendor_data_vo_spec.rb +47 -0
  481. data/spec/models/base_response_vo_spec.rb +53 -0
  482. data/spec/models/brokerage_account_co_spec.rb +47 -0
  483. data/spec/models/brokerage_account_vo_spec.rb +65 -0
  484. data/spec/models/brokerage_balance_vo_spec.rb +71 -0
  485. data/spec/models/brokerage_bank_link_co_spec.rb +41 -0
  486. data/spec/models/brokerage_bank_link_vo_spec.rb +71 -0
  487. data/spec/models/brokerage_client_co_spec.rb +47 -0
  488. data/spec/models/brokerage_create_client_vo_spec.rb +65 -0
  489. data/spec/models/brokerage_deposit_co_spec.rb +41 -0
  490. data/spec/models/brokerage_deposit_vo_spec.rb +65 -0
  491. data/spec/models/brokerage_document_co_spec.rb +47 -0
  492. data/spec/models/brokerage_document_vo_spec.rb +71 -0
  493. data/spec/models/brokerage_holding_vo_spec.rb +71 -0
  494. data/spec/models/brokerage_order_co_spec.rb +41 -0
  495. data/spec/models/brokerage_order_vo_spec.rb +71 -0
  496. data/spec/models/brokerage_performance_vo_spec.rb +71 -0
  497. data/spec/models/brokerage_securities_vo_spec.rb +59 -0
  498. data/spec/models/brokerage_statement_vo_spec.rb +53 -0
  499. data/spec/models/brokerage_transaction_vo_spec.rb +71 -0
  500. data/spec/models/brokerage_update_client_vo_spec.rb +71 -0
  501. data/spec/models/brokerage_withdrawal_co_spec.rb +41 -0
  502. data/spec/models/brokerage_withdrawal_vo_spec.rb +65 -0
  503. data/spec/models/business_address_spec.rb +77 -0
  504. data/spec/models/business_vendor_request_data_vo_spec.rb +125 -0
  505. data/spec/models/card_auto_reload_request_co_spec.rb +59 -0
  506. data/spec/models/card_auto_reload_response_vo_spec.rb +71 -0
  507. data/spec/models/card_balance_response_vo_spec.rb +71 -0
  508. data/spec/models/card_base_request_co_spec.rb +53 -0
  509. data/spec/models/card_business_request_co_spec.rb +41 -0
  510. data/spec/models/card_client_request_co_spec.rb +47 -0
  511. data/spec/models/card_load_request_co_spec.rb +47 -0
  512. data/spec/models/card_load_unload_response_vo_spec.rb +77 -0
  513. data/spec/models/card_pin_request_co_spec.rb +59 -0
  514. data/spec/models/card_replace_response_vo_spec.rb +77 -0
  515. data/spec/models/card_reserve_account_response_vo_spec.rb +77 -0
  516. data/spec/models/card_spending_control_request_co_spec.rb +41 -0
  517. data/spec/models/card_spending_control_response_vo_spec.rb +65 -0
  518. data/spec/models/card_token_request_co_spec.rb +63 -0
  519. data/spec/models/card_token_response_vo_spec.rb +87 -0
  520. data/spec/models/card_transaction_response_vo_spec.rb +71 -0
  521. data/spec/models/card_unload_request_co_spec.rb +47 -0
  522. data/spec/models/card_update_pin_request_co_spec.rb +59 -0
  523. data/spec/models/cash_spec.rb +53 -0
  524. data/spec/models/client_address_spec.rb +87 -0
  525. data/spec/models/client_vendor_request_data_vo_spec.rb +143 -0
  526. data/spec/models/create_baas_business_co_spec.rb +47 -0
  527. data/spec/models/create_baas_client_co_spec.rb +47 -0
  528. data/spec/models/create_business_response_vo_spec.rb +65 -0
  529. data/spec/models/create_card_client_response_vo_spec.rb +65 -0
  530. data/spec/models/create_user_request_spec.rb +71 -0
  531. data/spec/models/customer_address_spec.rb +77 -0
  532. data/spec/models/customer_revenue_spec.rb +89 -0
  533. data/spec/models/customer_spec.rb +119 -0
  534. data/spec/models/dividend_spec.rb +53 -0
  535. data/spec/models/dividend_tax_spec.rb +47 -0
  536. data/spec/models/email_click_spec.rb +59 -0
  537. data/spec/models/email_open_spec.rb +53 -0
  538. data/spec/models/email_spec.rb +149 -0
  539. data/spec/models/exchange_public_token_vo_spec.rb +65 -0
  540. data/spec/models/exchange_token_co_spec.rb +71 -0
  541. data/spec/models/financial_statement_spec.rb +131 -0
  542. data/spec/models/get_card_image_response_vo_spec.rb +65 -0
  543. data/spec/models/get_card_pci_details_response_vo_spec.rb +77 -0
  544. data/spec/models/get_card_statement_response_vo_spec.rb +83 -0
  545. data/spec/models/get_card_token_response_vo_spec.rb +87 -0
  546. data/spec/models/get_transactions_response_spec.rb +41 -0
  547. data/spec/models/google_payload_spec.rb +41 -0
  548. data/spec/models/iav_aggregation_response_vo_spec.rb +47 -0
  549. data/spec/models/iav_bank_link_response_vo_spec.rb +47 -0
  550. data/spec/models/iav_request_co_spec.rb +77 -0
  551. data/spec/models/iav_response_vo_spec.rb +53 -0
  552. data/spec/models/iav_token_exchange_vendor_response_vo_spec.rb +35 -0
  553. data/spec/models/iav_vendor_request_co_spec.rb +53 -0
  554. data/spec/models/identification_spec.rb +77 -0
  555. data/spec/models/instrument_spec.rb +53 -0
  556. data/spec/models/investment_spec.rb +89 -0
  557. data/spec/models/invoice_payment_spec.rb +83 -0
  558. data/spec/models/invoice_spec.rb +185 -0
  559. data/spec/models/json_node_spec.rb +165 -0
  560. data/spec/models/kms_config_spec.rb +107 -0
  561. data/spec/models/kyc_request_co_spec.rb +89 -0
  562. data/spec/models/kyc_response_vo_spec.rb +101 -0
  563. data/spec/models/kyc_vendor_request_data_vo_spec.rb +173 -0
  564. data/spec/models/line_items_spec.rb +83 -0
  565. data/spec/models/location_spec.rb +83 -0
  566. data/spec/models/mapstringobject_spec.rb +35 -0
  567. data/spec/models/md_history_item_vo_spec.rb +77 -0
  568. data/spec/models/md_history_request_co_spec.rb +65 -0
  569. data/spec/models/md_history_response_vo_spec.rb +41 -0
  570. data/spec/models/md_quote_item_vo_spec.rb +143 -0
  571. data/spec/models/md_quote_request_co_spec.rb +63 -0
  572. data/spec/models/md_quote_response_vo_spec.rb +41 -0
  573. data/spec/models/merger_acquisition_spec.rb +53 -0
  574. data/spec/models/nucleus_transfer_fields_co_spec.rb +47 -0
  575. data/spec/models/ownership_spec.rb +47 -0
  576. data/spec/models/page_ach_transfer_response_vo_spec.rb +89 -0
  577. data/spec/models/page_kms_config_spec.rb +89 -0
  578. data/spec/models/page_webhook_spec.rb +89 -0
  579. data/spec/models/pageobject_spec.rb +89 -0
  580. data/spec/models/politically_exposed_person_dto_spec.rb +59 -0
  581. data/spec/models/portfolio_asset_size_log_spec.rb +113 -0
  582. data/spec/models/property_value_response_vo_spec.rb +65 -0
  583. data/spec/models/response_entity_spec.rb +57 -0
  584. data/spec/models/rtp_bank_link_request_co_spec.rb +47 -0
  585. data/spec/models/rtp_bank_link_response_vo_spec.rb +77 -0
  586. data/spec/models/rtp_transfer_request_co_spec.rb +47 -0
  587. data/spec/models/rtp_transfer_response_vo_spec.rb +71 -0
  588. data/spec/models/samsung_payload_spec.rb +41 -0
  589. data/spec/models/sms_response_vo_spec.rb +71 -0
  590. data/spec/models/sms_spec.rb +137 -0
  591. data/spec/models/smsvo_spec.rb +65 -0
  592. data/spec/models/smtp_response_vo_spec.rb +71 -0
  593. data/spec/models/smtp_vo_spec.rb +95 -0
  594. data/spec/models/sort_spec.rb +71 -0
  595. data/spec/models/spending_control_vendor_request_data_vo_spec.rb +89 -0
  596. data/spec/models/stat_spec.rb +47 -0
  597. data/spec/models/transaction_spec.rb +167 -0
  598. data/spec/models/update_baas_business_co_spec.rb +41 -0
  599. data/spec/models/update_baas_client_co_spec.rb +41 -0
  600. data/spec/models/update_business_response_vo_spec.rb +65 -0
  601. data/spec/models/update_card_client_response_vo_spec.rb +65 -0
  602. data/spec/models/user_response_interface_spec.rb +35 -0
  603. data/spec/models/user_response_vo_spec.rb +71 -0
  604. data/spec/models/vendor_access_config_vo_spec.rb +53 -0
  605. data/spec/models/webhook_spec.rb +87 -0
  606. data/spec/models/widget_url_vo_spec.rb +47 -0
  607. data/spec/models/wire_bank_link_request_co_spec.rb +47 -0
  608. data/spec/models/wire_bank_link_response_vo_spec.rb +77 -0
  609. data/spec/models/wire_transfer_request_co_spec.rb +47 -0
  610. data/spec/models/wire_transfer_response_vo_spec.rb +71 -0
  611. data/spec/models/zillow_property_vendor_response_vo_spec.rb +65 -0
  612. data/spec/spec_helper.rb +111 -0
  613. metadata +1056 -0
@@ -0,0 +1,9 @@
1
+ # IntegrationApi::WireBankLinkRequestCO
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **nucleus_bank_link_id** | **String** | | [optional]
7
+ **vendor_request** | **Object** | | [optional]
8
+
9
+
@@ -0,0 +1,14 @@
1
+ # IntegrationApi::WireBankLinkResponseVO
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **message** | **String** | | [optional]
7
+ **nucleus_bank_link_id** | **String** | | [optional]
8
+ **nucleus_client_id** | **String** | | [optional]
9
+ **status** | **String** | | [optional]
10
+ **vendor_name** | **String** | | [optional]
11
+ **vendor_request_data** | [**BankLinkVendorDataVO**](BankLinkVendorDataVO.md) | | [optional]
12
+ **vendor_response** | **Object** | | [optional]
13
+
14
+
@@ -0,0 +1,9 @@
1
+ # IntegrationApi::WireTransferRequestCO
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **nucleus_funding_id** | **String** | | [optional]
7
+ **vendor_request** | **Object** | | [optional]
8
+
9
+
@@ -0,0 +1,13 @@
1
+ # IntegrationApi::WireTransferResponseVO
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **message** | **String** | | [optional]
7
+ **nucleus_funding_id** | **String** | | [optional]
8
+ **status** | **String** | | [optional]
9
+ **vendor_name** | **String** | | [optional]
10
+ **vendor_request** | **Object** | | [optional]
11
+ **vendor_response** | **Object** | | [optional]
12
+
13
+
@@ -0,0 +1,12 @@
1
+ # IntegrationApi::ZillowPropertyVendorResponseVO
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **currency** | **String** | | [optional]
7
+ **link** | **String** | | [optional]
8
+ **text** | **String** | | [optional]
9
+ **zestimate** | **String** | | [optional]
10
+ **zpid** | **String** | | [optional]
11
+
12
+
data/git_push.sh ADDED
@@ -0,0 +1,55 @@
1
+ #!/bin/sh
2
+ #
3
+ # Generated by: https://github.com/swagger-api/swagger-codegen.git
4
+ #
5
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
+ #
7
+ # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
8
+
9
+ git_user_id=$1
10
+ git_repo_id=$2
11
+ release_note=$3
12
+
13
+ if [ "$git_user_id" = "" ]; then
14
+ git_user_id=""
15
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
+ fi
17
+
18
+ if [ "$git_repo_id" = "" ]; then
19
+ git_repo_id=""
20
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
+ fi
22
+
23
+ if [ "$release_note" = "" ]; then
24
+ release_note=""
25
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
+ fi
27
+
28
+ # Initialize the local directory as a Git repository
29
+ git init
30
+
31
+ # Adds the files in the local repository and stages them for commit.
32
+ git add .
33
+
34
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
35
+ git commit -m "$release_note"
36
+
37
+ # Sets the new remote
38
+ git_remote=`git remote`
39
+ if [ "$git_remote" = "" ]; then # git remote not defined
40
+
41
+ if [ "$GIT_TOKEN" = "" ]; then
42
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
+ git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
+ else
45
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
46
+ fi
47
+
48
+ fi
49
+
50
+ git pull origin master
51
+
52
+ # Pushes (Forces) the changes in the local repository up to the remote repository
53
+ echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
54
+ git push origin master 2>&1 | grep -v 'To https'
55
+
@@ -0,0 +1,46 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Hydrogen Integration API
5
+
6
+ #The Hydrogen Integration API
7
+
8
+ OpenAPI spec version: 1.2.1
9
+ Contact: info@hydrogenplatform.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ Swagger Codegen version: 2.4.18
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "integration_api/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "integration_api"
20
+ s.version = IntegrationApi::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["Swagger-Codegen"]
23
+ s.email = ["info@hydrogenplatform.com"]
24
+ s.homepage = "https://github.com/swagger-api/swagger-codegen"
25
+ s.summary = "Hydrogen Integration API Ruby Gem"
26
+ s.description = "The Hydrogen Integration API"
27
+ s.license = "Unlicense"
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+ s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
33
+
34
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
35
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
36
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
37
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
38
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
39
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
40
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
41
+
42
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
43
+ s.test_files = `find spec/*`.split("\n")
44
+ s.executables = []
45
+ s.require_paths = ["lib"]
46
+ end
@@ -0,0 +1,239 @@
1
+ =begin
2
+ #Hydrogen Integration API
3
+
4
+ #The Hydrogen Integration API
5
+
6
+ OpenAPI spec version: 1.2.1
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
+ # Common files
14
+ require 'integration_api/api_client'
15
+ require 'integration_api/api_error'
16
+ require 'integration_api/version'
17
+ require 'integration_api/configuration'
18
+ require 'integration_api/auth_configuration'
19
+
20
+ # Models
21
+ require 'integration_api/models/accounting_customer_response_vo'
22
+ require 'integration_api/models/accounting_customer_revenue_response_vo'
23
+ require 'integration_api/models/accounting_final_response_vo'
24
+ require 'integration_api/models/accounting_invoice_payment_response_vo'
25
+ require 'integration_api/models/accounting_invoice_response_vo'
26
+ require 'integration_api/models/accounting_stats_response_vo'
27
+ require 'integration_api/models/ach_balance_response_vo'
28
+ require 'integration_api/models/ach_bank_link_request_co'
29
+ require 'integration_api/models/ach_bank_link_response_vo'
30
+ require 'integration_api/models/ach_business_request_co'
31
+ require 'integration_api/models/ach_business_response_vo'
32
+ require 'integration_api/models/ach_card_link_request_co'
33
+ require 'integration_api/models/ach_card_link_response_vo'
34
+ require 'integration_api/models/ach_client_request_co'
35
+ require 'integration_api/models/ach_client_response_vo'
36
+ require 'integration_api/models/ach_transfer_request_co'
37
+ require 'integration_api/models/ach_transfer_response_vo'
38
+ require 'integration_api/models/acquiree'
39
+ require 'integration_api/models/acquirer'
40
+ require 'integration_api/models/address'
41
+ require 'integration_api/models/aggregation_account'
42
+ require 'integration_api/models/aggregation_account_balance'
43
+ require 'integration_api/models/aggregation_account_balance_response_vo'
44
+ require 'integration_api/models/aggregation_account_holding'
45
+ require 'integration_api/models/aggregation_account_holding_response_internal_object_vo'
46
+ require 'integration_api/models/aggregation_account_holding_response_vo'
47
+ require 'integration_api/models/aggregation_account_response_internal_object_vo'
48
+ require 'integration_api/models/aggregation_account_response_vo'
49
+ require 'integration_api/models/aggregation_account_transaction'
50
+ require 'integration_api/models/aggregation_account_transaction_response_internal_object_vo'
51
+ require 'integration_api/models/aggregation_account_transaction_response_vo'
52
+ require 'integration_api/models/aggregation_accounts_response_vo'
53
+ require 'integration_api/models/aggregation_request_object'
54
+ require 'integration_api/models/aggregation_vendor_request_co'
55
+ require 'integration_api/models/apple_payload'
56
+ require 'integration_api/models/async_transaction'
57
+ require 'integration_api/models/async_transaction_vo'
58
+ require 'integration_api/models/baas_account_co'
59
+ require 'integration_api/models/baas_account_vo'
60
+ require 'integration_api/models/baas_balance_vo'
61
+ require 'integration_api/models/baas_business_vo'
62
+ require 'integration_api/models/baas_client_vo'
63
+ require 'integration_api/models/baas_statement_vo'
64
+ require 'integration_api/models/baas_statements_vo'
65
+ require 'integration_api/models/baas_sub_account_co'
66
+ require 'integration_api/models/baas_sub_account_vo'
67
+ require 'integration_api/models/baas_transactions_vo'
68
+ require 'integration_api/models/bank_credit'
69
+ require 'integration_api/models/bank_link'
70
+ require 'integration_api/models/bank_link_response_internal_object_vo'
71
+ require 'integration_api/models/bank_link_vendor_data_vo'
72
+ require 'integration_api/models/base_response_vo'
73
+ require 'integration_api/models/brokerage_account_co'
74
+ require 'integration_api/models/brokerage_account_vo'
75
+ require 'integration_api/models/brokerage_balance_vo'
76
+ require 'integration_api/models/brokerage_bank_link_co'
77
+ require 'integration_api/models/brokerage_bank_link_vo'
78
+ require 'integration_api/models/brokerage_client_co'
79
+ require 'integration_api/models/brokerage_create_client_vo'
80
+ require 'integration_api/models/brokerage_deposit_co'
81
+ require 'integration_api/models/brokerage_deposit_vo'
82
+ require 'integration_api/models/brokerage_document_co'
83
+ require 'integration_api/models/brokerage_document_vo'
84
+ require 'integration_api/models/brokerage_holding_vo'
85
+ require 'integration_api/models/brokerage_order_co'
86
+ require 'integration_api/models/brokerage_order_vo'
87
+ require 'integration_api/models/brokerage_performance_vo'
88
+ require 'integration_api/models/brokerage_securities_vo'
89
+ require 'integration_api/models/brokerage_statement_vo'
90
+ require 'integration_api/models/brokerage_transaction_vo'
91
+ require 'integration_api/models/brokerage_update_client_vo'
92
+ require 'integration_api/models/brokerage_withdrawal_co'
93
+ require 'integration_api/models/brokerage_withdrawal_vo'
94
+ require 'integration_api/models/business_address'
95
+ require 'integration_api/models/business_vendor_request_data_vo'
96
+ require 'integration_api/models/card_auto_reload_request_co'
97
+ require 'integration_api/models/card_auto_reload_response_vo'
98
+ require 'integration_api/models/card_balance_response_vo'
99
+ require 'integration_api/models/card_base_request_co'
100
+ require 'integration_api/models/card_business_request_co'
101
+ require 'integration_api/models/card_client_request_co'
102
+ require 'integration_api/models/card_load_request_co'
103
+ require 'integration_api/models/card_load_unload_response_vo'
104
+ require 'integration_api/models/card_pin_request_co'
105
+ require 'integration_api/models/card_replace_response_vo'
106
+ require 'integration_api/models/card_reserve_account_response_vo'
107
+ require 'integration_api/models/card_spending_control_request_co'
108
+ require 'integration_api/models/card_spending_control_response_vo'
109
+ require 'integration_api/models/card_token_request_co'
110
+ require 'integration_api/models/card_token_response_vo'
111
+ require 'integration_api/models/card_transaction_response_vo'
112
+ require 'integration_api/models/card_unload_request_co'
113
+ require 'integration_api/models/card_update_pin_request_co'
114
+ require 'integration_api/models/cash'
115
+ require 'integration_api/models/client_address'
116
+ require 'integration_api/models/client_vendor_request_data_vo'
117
+ require 'integration_api/models/create_baas_business_co'
118
+ require 'integration_api/models/create_baas_client_co'
119
+ require 'integration_api/models/create_business_response_vo'
120
+ require 'integration_api/models/create_card_client_response_vo'
121
+ require 'integration_api/models/create_user_request'
122
+ require 'integration_api/models/customer'
123
+ require 'integration_api/models/customer_address'
124
+ require 'integration_api/models/customer_revenue'
125
+ require 'integration_api/models/dividend'
126
+ require 'integration_api/models/dividend_tax'
127
+ require 'integration_api/models/email'
128
+ require 'integration_api/models/email_click'
129
+ require 'integration_api/models/email_open'
130
+ require 'integration_api/models/exchange_public_token_vo'
131
+ require 'integration_api/models/exchange_token_co'
132
+ require 'integration_api/models/financial_statement'
133
+ require 'integration_api/models/get_card_image_response_vo'
134
+ require 'integration_api/models/get_card_pci_details_response_vo'
135
+ require 'integration_api/models/get_card_statement_response_vo'
136
+ require 'integration_api/models/get_card_token_response_vo'
137
+ require 'integration_api/models/get_transactions_response'
138
+ require 'integration_api/models/google_payload'
139
+ require 'integration_api/models/iav_aggregation_response_vo'
140
+ require 'integration_api/models/iav_bank_link_response_vo'
141
+ require 'integration_api/models/iav_request_co'
142
+ require 'integration_api/models/iav_response_vo'
143
+ require 'integration_api/models/iav_token_exchange_vendor_response_vo'
144
+ require 'integration_api/models/iav_vendor_request_co'
145
+ require 'integration_api/models/identification'
146
+ require 'integration_api/models/instrument'
147
+ require 'integration_api/models/investment'
148
+ require 'integration_api/models/invoice'
149
+ require 'integration_api/models/invoice_payment'
150
+ require 'integration_api/models/json_node'
151
+ require 'integration_api/models/kms_config'
152
+ require 'integration_api/models/kyc_request_co'
153
+ require 'integration_api/models/kyc_response_vo'
154
+ require 'integration_api/models/kyc_vendor_request_data_vo'
155
+ require 'integration_api/models/line_items'
156
+ require 'integration_api/models/location'
157
+ require 'integration_api/models/mapstringobject'
158
+ require 'integration_api/models/md_history_item_vo'
159
+ require 'integration_api/models/md_history_request_co'
160
+ require 'integration_api/models/md_history_response_vo'
161
+ require 'integration_api/models/md_quote_item_vo'
162
+ require 'integration_api/models/md_quote_request_co'
163
+ require 'integration_api/models/md_quote_response_vo'
164
+ require 'integration_api/models/merger_acquisition'
165
+ require 'integration_api/models/nucleus_transfer_fields_co'
166
+ require 'integration_api/models/ownership'
167
+ require 'integration_api/models/page_ach_transfer_response_vo'
168
+ require 'integration_api/models/page_kms_config'
169
+ require 'integration_api/models/page_webhook'
170
+ require 'integration_api/models/pageobject'
171
+ require 'integration_api/models/politically_exposed_person_dto'
172
+ require 'integration_api/models/portfolio_asset_size_log'
173
+ require 'integration_api/models/property_value_response_vo'
174
+ require 'integration_api/models/response_entity'
175
+ require 'integration_api/models/rtp_bank_link_request_co'
176
+ require 'integration_api/models/rtp_bank_link_response_vo'
177
+ require 'integration_api/models/rtp_transfer_request_co'
178
+ require 'integration_api/models/rtp_transfer_response_vo'
179
+ require 'integration_api/models/sms'
180
+ require 'integration_api/models/sms_response_vo'
181
+ require 'integration_api/models/smsvo'
182
+ require 'integration_api/models/samsung_payload'
183
+ require 'integration_api/models/smtp_response_vo'
184
+ require 'integration_api/models/smtp_vo'
185
+ require 'integration_api/models/sort'
186
+ require 'integration_api/models/spending_control_vendor_request_data_vo'
187
+ require 'integration_api/models/stat'
188
+ require 'integration_api/models/transaction'
189
+ require 'integration_api/models/update_baas_business_co'
190
+ require 'integration_api/models/update_baas_client_co'
191
+ require 'integration_api/models/update_business_response_vo'
192
+ require 'integration_api/models/update_card_client_response_vo'
193
+ require 'integration_api/models/user_response_interface'
194
+ require 'integration_api/models/user_response_vo'
195
+ require 'integration_api/models/vendor_access_config_vo'
196
+ require 'integration_api/models/webhook'
197
+ require 'integration_api/models/widget_url_vo'
198
+ require 'integration_api/models/wire_bank_link_request_co'
199
+ require 'integration_api/models/wire_bank_link_response_vo'
200
+ require 'integration_api/models/wire_transfer_request_co'
201
+ require 'integration_api/models/wire_transfer_response_vo'
202
+ require 'integration_api/models/zillow_property_vendor_response_vo'
203
+
204
+ # APIs
205
+ require 'integration_api/api/ach_api'
206
+ require 'integration_api/api/accounting_api'
207
+ require 'integration_api/api/aggregation_api'
208
+ require 'integration_api/api/async_api'
209
+ require 'integration_api/api/baas_api'
210
+ require 'integration_api/api/brokerage_api'
211
+ require 'integration_api/api/card_api'
212
+ require 'integration_api/api/iav_api'
213
+ require 'integration_api/api/kms_api'
214
+ require 'integration_api/api/kyc_api'
215
+ require 'integration_api/api/market_data_api'
216
+ require 'integration_api/api/rtp_api'
217
+ require 'integration_api/api/sms_api'
218
+ require 'integration_api/api/smtp_api'
219
+ require 'integration_api/api/utils_api'
220
+ require 'integration_api/api/webhook_api'
221
+ require 'integration_api/api/wire_api'
222
+
223
+ module IntegrationApi
224
+ class << self
225
+ # Customize default settings for the SDK using block.
226
+ # IntegrationApi.configure do |config|
227
+ # config.username = "xxx"
228
+ # config.password = "xxx"
229
+ # end
230
+ # If no block given, return the default Configuration object.
231
+ def configure
232
+ if block_given?
233
+ yield(AuthConfiguration.default)
234
+ else
235
+ AuthConfiguration.default
236
+ end
237
+ end
238
+ end
239
+ end
@@ -0,0 +1,597 @@
1
+ =begin
2
+ #Hydrogen Integration API
3
+
4
+ #The Hydrogen Integration API
5
+
6
+ OpenAPI spec version: 1.2.1
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 IntegrationApi
16
+ class AccountingApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Update/Create all customers in Nucleus for a given nucleus_client_id
23
+ # Update/Create all customers in Nucleus for a given nucleus_client_id
24
+ # @param nucleus_client_id nucleus_client_id
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [AccountingFinalResponseVO]
27
+ def create_or_update_customer(nucleus_client_id, opts = {})
28
+ data, _status_code, _headers = create_or_update_customer_with_http_info(nucleus_client_id, opts)
29
+ data
30
+ end
31
+
32
+ # Update/Create all customers in Nucleus for a given nucleus_client_id
33
+ # Update/Create all customers in Nucleus for a given nucleus_client_id
34
+ # @param nucleus_client_id nucleus_client_id
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(AccountingFinalResponseVO, Fixnum, Hash)>] AccountingFinalResponseVO data, response status code and response headers
37
+ def create_or_update_customer_with_http_info(nucleus_client_id, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: AccountingApi.create_or_update_customer ...'
40
+ end
41
+ # verify the required parameter 'nucleus_client_id' is set
42
+ if @api_client.config.client_side_validation && nucleus_client_id.nil?
43
+ fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling AccountingApi.create_or_update_customer"
44
+ end
45
+ # resource path
46
+ local_var_path = '/accounting/customer'
47
+
48
+ # query parameters
49
+ query_params = {}
50
+ query_params[:'nucleus_client_id'] = nucleus_client_id
51
+
52
+ # header parameters
53
+ header_params = {}
54
+ # HTTP header 'Accept' (if needed)
55
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
56
+
57
+ # form parameters
58
+ form_params = {}
59
+
60
+ # http body (model)
61
+ post_body = nil
62
+ auth_names = ['oauth2']
63
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
64
+ :header_params => header_params,
65
+ :query_params => query_params,
66
+ :form_params => form_params,
67
+ :body => post_body,
68
+ :auth_names => auth_names,
69
+ :return_type => 'AccountingFinalResponseVO')
70
+ if @api_client.config.debugging
71
+ @api_client.config.logger.debug "API called: AccountingApi#create_or_update_customer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
72
+ end
73
+ return data, status_code, headers
74
+ end
75
+ # Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
76
+ # Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
77
+ # @param nucleus_customer_id nucleus_customer_id
78
+ # @param start_date start_date
79
+ # @param [Hash] opts the optional parameters
80
+ # @option opts [String] :accounting_method accounting_method (default to accrual)
81
+ # @option opts [DateTime] :end_date end_date (default to null)
82
+ # @return [AccountingFinalResponseVO]
83
+ def create_or_update_customer_revenue(nucleus_customer_id, start_date, opts = {})
84
+ data, _status_code, _headers = create_or_update_customer_revenue_with_http_info(nucleus_customer_id, start_date, opts)
85
+ data
86
+ end
87
+
88
+ # Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
89
+ # Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
90
+ # @param nucleus_customer_id nucleus_customer_id
91
+ # @param start_date start_date
92
+ # @param [Hash] opts the optional parameters
93
+ # @option opts [String] :accounting_method accounting_method
94
+ # @option opts [DateTime] :end_date end_date
95
+ # @return [Array<(AccountingFinalResponseVO, Fixnum, Hash)>] AccountingFinalResponseVO data, response status code and response headers
96
+ def create_or_update_customer_revenue_with_http_info(nucleus_customer_id, start_date, opts = {})
97
+ if @api_client.config.debugging
98
+ @api_client.config.logger.debug 'Calling API: AccountingApi.create_or_update_customer_revenue ...'
99
+ end
100
+ # verify the required parameter 'nucleus_customer_id' is set
101
+ if @api_client.config.client_side_validation && nucleus_customer_id.nil?
102
+ fail ArgumentError, "Missing the required parameter 'nucleus_customer_id' when calling AccountingApi.create_or_update_customer_revenue"
103
+ end
104
+ # verify the required parameter 'start_date' is set
105
+ if @api_client.config.client_side_validation && start_date.nil?
106
+ fail ArgumentError, "Missing the required parameter 'start_date' when calling AccountingApi.create_or_update_customer_revenue"
107
+ end
108
+ # resource path
109
+ local_var_path = '/accounting/customer_revenue/{nucleus_customer_id}'.sub('{' + 'nucleus_customer_id' + '}', nucleus_customer_id.to_s)
110
+
111
+ # query parameters
112
+ query_params = {}
113
+ query_params[:'start_date'] = start_date
114
+ query_params[:'accounting_method'] = opts[:'accounting_method'] if !opts[:'accounting_method'].nil?
115
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
116
+
117
+ # header parameters
118
+ header_params = {}
119
+ # HTTP header 'Accept' (if needed)
120
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
121
+
122
+ # form parameters
123
+ form_params = {}
124
+
125
+ # http body (model)
126
+ post_body = nil
127
+ auth_names = ['oauth2']
128
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
129
+ :header_params => header_params,
130
+ :query_params => query_params,
131
+ :form_params => form_params,
132
+ :body => post_body,
133
+ :auth_names => auth_names,
134
+ :return_type => 'AccountingFinalResponseVO')
135
+ if @api_client.config.debugging
136
+ @api_client.config.logger.debug "API called: AccountingApi#create_or_update_customer_revenue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
137
+ end
138
+ return data, status_code, headers
139
+ end
140
+ # Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
141
+ # Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
142
+ # @param nucleus_invoice_id nucleus_invoice_id
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [AccountingFinalResponseVO]
145
+ def create_or_update_invoice_payment(nucleus_invoice_id, opts = {})
146
+ data, _status_code, _headers = create_or_update_invoice_payment_with_http_info(nucleus_invoice_id, opts)
147
+ data
148
+ end
149
+
150
+ # Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
151
+ # Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
152
+ # @param nucleus_invoice_id nucleus_invoice_id
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [Array<(AccountingFinalResponseVO, Fixnum, Hash)>] AccountingFinalResponseVO data, response status code and response headers
155
+ def create_or_update_invoice_payment_with_http_info(nucleus_invoice_id, opts = {})
156
+ if @api_client.config.debugging
157
+ @api_client.config.logger.debug 'Calling API: AccountingApi.create_or_update_invoice_payment ...'
158
+ end
159
+ # verify the required parameter 'nucleus_invoice_id' is set
160
+ if @api_client.config.client_side_validation && nucleus_invoice_id.nil?
161
+ fail ArgumentError, "Missing the required parameter 'nucleus_invoice_id' when calling AccountingApi.create_or_update_invoice_payment"
162
+ end
163
+ # resource path
164
+ local_var_path = '/accounting/invoice_payment/{nucleus_invoice_id}'.sub('{' + 'nucleus_invoice_id' + '}', nucleus_invoice_id.to_s)
165
+
166
+ # query parameters
167
+ query_params = {}
168
+
169
+ # header parameters
170
+ header_params = {}
171
+ # HTTP header 'Accept' (if needed)
172
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
173
+
174
+ # form parameters
175
+ form_params = {}
176
+
177
+ # http body (model)
178
+ post_body = nil
179
+ auth_names = ['oauth2']
180
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
181
+ :header_params => header_params,
182
+ :query_params => query_params,
183
+ :form_params => form_params,
184
+ :body => post_body,
185
+ :auth_names => auth_names,
186
+ :return_type => 'AccountingFinalResponseVO')
187
+ if @api_client.config.debugging
188
+ @api_client.config.logger.debug "API called: AccountingApi#create_or_update_invoice_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
189
+ end
190
+ return data, status_code, headers
191
+ end
192
+ # Update/Create all invoices in Nucleus for a given nucleus_client_id
193
+ # Update/Create all invoices in Nucleus for a given nucleus_client_id
194
+ # @param nucleus_customer_id nucleus_customer_id
195
+ # @param start_date start_date
196
+ # @param [Hash] opts the optional parameters
197
+ # @option opts [DateTime] :end_date end_date (default to null)
198
+ # @return [AccountingFinalResponseVO]
199
+ def create_or_update_invoices(nucleus_customer_id, start_date, opts = {})
200
+ data, _status_code, _headers = create_or_update_invoices_with_http_info(nucleus_customer_id, start_date, opts)
201
+ data
202
+ end
203
+
204
+ # Update/Create all invoices in Nucleus for a given nucleus_client_id
205
+ # Update/Create all invoices in Nucleus for a given nucleus_client_id
206
+ # @param nucleus_customer_id nucleus_customer_id
207
+ # @param start_date start_date
208
+ # @param [Hash] opts the optional parameters
209
+ # @option opts [DateTime] :end_date end_date
210
+ # @return [Array<(AccountingFinalResponseVO, Fixnum, Hash)>] AccountingFinalResponseVO data, response status code and response headers
211
+ def create_or_update_invoices_with_http_info(nucleus_customer_id, start_date, opts = {})
212
+ if @api_client.config.debugging
213
+ @api_client.config.logger.debug 'Calling API: AccountingApi.create_or_update_invoices ...'
214
+ end
215
+ # verify the required parameter 'nucleus_customer_id' is set
216
+ if @api_client.config.client_side_validation && nucleus_customer_id.nil?
217
+ fail ArgumentError, "Missing the required parameter 'nucleus_customer_id' when calling AccountingApi.create_or_update_invoices"
218
+ end
219
+ # verify the required parameter 'start_date' is set
220
+ if @api_client.config.client_side_validation && start_date.nil?
221
+ fail ArgumentError, "Missing the required parameter 'start_date' when calling AccountingApi.create_or_update_invoices"
222
+ end
223
+ # resource path
224
+ local_var_path = '/accounting/invoice'
225
+
226
+ # query parameters
227
+ query_params = {}
228
+ query_params[:'nucleus_customer_id'] = nucleus_customer_id
229
+ query_params[:'start_date'] = start_date
230
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
231
+
232
+ # header parameters
233
+ header_params = {}
234
+ # HTTP header 'Accept' (if needed)
235
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
236
+
237
+ # form parameters
238
+ form_params = {}
239
+
240
+ # http body (model)
241
+ post_body = nil
242
+ auth_names = ['oauth2']
243
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
244
+ :header_params => header_params,
245
+ :query_params => query_params,
246
+ :form_params => form_params,
247
+ :body => post_body,
248
+ :auth_names => auth_names,
249
+ :return_type => 'AccountingFinalResponseVO')
250
+ if @api_client.config.debugging
251
+ @api_client.config.logger.debug "API called: AccountingApi#create_or_update_invoices\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
252
+ end
253
+ return data, status_code, headers
254
+ end
255
+ # Permanently delete relation with particular accounting vendor.
256
+ # Permanently delete relation with particular accounting vendor.
257
+ # @param id id
258
+ # @param [Hash] opts the optional parameters
259
+ # @return [nil]
260
+ def delete_accounting_vendor_access_config_is_active_by_id(id, opts = {})
261
+ delete_accounting_vendor_access_config_is_active_by_id_with_http_info(id, opts)
262
+ nil
263
+ end
264
+
265
+ # Permanently delete relation with particular accounting vendor.
266
+ # Permanently delete relation with particular accounting vendor.
267
+ # @param id id
268
+ # @param [Hash] opts the optional parameters
269
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
270
+ def delete_accounting_vendor_access_config_is_active_by_id_with_http_info(id, opts = {})
271
+ if @api_client.config.debugging
272
+ @api_client.config.logger.debug 'Calling API: AccountingApi.delete_accounting_vendor_access_config_is_active_by_id ...'
273
+ end
274
+ # verify the required parameter 'id' is set
275
+ if @api_client.config.client_side_validation && id.nil?
276
+ fail ArgumentError, "Missing the required parameter 'id' when calling AccountingApi.delete_accounting_vendor_access_config_is_active_by_id"
277
+ end
278
+ # resource path
279
+ local_var_path = '/accounting/vendor/{id}'.sub('{' + 'id' + '}', id.to_s)
280
+
281
+ # query parameters
282
+ query_params = {}
283
+
284
+ # header parameters
285
+ header_params = {}
286
+ # HTTP header 'Accept' (if needed)
287
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
288
+
289
+ # form parameters
290
+ form_params = {}
291
+
292
+ # http body (model)
293
+ post_body = nil
294
+ auth_names = ['oauth2']
295
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
296
+ :header_params => header_params,
297
+ :query_params => query_params,
298
+ :form_params => form_params,
299
+ :body => post_body,
300
+ :auth_names => auth_names)
301
+ if @api_client.config.debugging
302
+ @api_client.config.logger.debug "API called: AccountingApi#delete_accounting_vendor_access_config_is_active_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
303
+ end
304
+ return data, status_code, headers
305
+ end
306
+ # Get accounting stats from financial statements at the vendor for the business provided
307
+ # Get accounting stats from financial statements at the vendor for the business provided
308
+ # @param [Hash] opts the optional parameters
309
+ # @option opts [String] :accounting_method accounting_method (default to accrual)
310
+ # @option opts [String] :nucleus_client_id nucleus_client_id
311
+ # @option opts [String] :period_length period_length
312
+ # @option opts [Integer] :period_month period_month
313
+ # @option opts [Integer] :period_quarter period_quarter
314
+ # @option opts [String] :period_type period_type
315
+ # @option opts [Integer] :period_year period_year
316
+ # @option opts [String] :report report
317
+ # @option opts [DateTime] :statement_date statement_date
318
+ # @return [AccountingFinalResponseVO]
319
+ def get_accounting_stats(opts = {})
320
+ data, _status_code, _headers = get_accounting_stats_with_http_info(opts)
321
+ data
322
+ end
323
+
324
+ # Get accounting stats from financial statements at the vendor for the business provided
325
+ # Get accounting stats from financial statements at the vendor for the business provided
326
+ # @param [Hash] opts the optional parameters
327
+ # @option opts [String] :accounting_method accounting_method
328
+ # @option opts [String] :nucleus_client_id nucleus_client_id
329
+ # @option opts [String] :period_length period_length
330
+ # @option opts [Integer] :period_month period_month
331
+ # @option opts [Integer] :period_quarter period_quarter
332
+ # @option opts [String] :period_type period_type
333
+ # @option opts [Integer] :period_year period_year
334
+ # @option opts [String] :report report
335
+ # @option opts [DateTime] :statement_date statement_date
336
+ # @return [Array<(AccountingFinalResponseVO, Fixnum, Hash)>] AccountingFinalResponseVO data, response status code and response headers
337
+ def get_accounting_stats_with_http_info(opts = {})
338
+ if @api_client.config.debugging
339
+ @api_client.config.logger.debug 'Calling API: AccountingApi.get_accounting_stats ...'
340
+ end
341
+ # resource path
342
+ local_var_path = '/accounting/report'
343
+
344
+ # query parameters
345
+ query_params = {}
346
+ query_params[:'accounting_method'] = opts[:'accounting_method'] if !opts[:'accounting_method'].nil?
347
+ query_params[:'nucleus_client_id'] = opts[:'nucleus_client_id'] if !opts[:'nucleus_client_id'].nil?
348
+ query_params[:'period_length'] = opts[:'period_length'] if !opts[:'period_length'].nil?
349
+ query_params[:'period_month'] = opts[:'period_month'] if !opts[:'period_month'].nil?
350
+ query_params[:'period_quarter'] = opts[:'period_quarter'] if !opts[:'period_quarter'].nil?
351
+ query_params[:'period_type'] = opts[:'period_type'] if !opts[:'period_type'].nil?
352
+ query_params[:'period_year'] = opts[:'period_year'] if !opts[:'period_year'].nil?
353
+ query_params[:'report'] = opts[:'report'] if !opts[:'report'].nil?
354
+ query_params[:'statement_date'] = opts[:'statement_date'] if !opts[:'statement_date'].nil?
355
+
356
+ # header parameters
357
+ header_params = {}
358
+ # HTTP header 'Accept' (if needed)
359
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
360
+
361
+ # form parameters
362
+ form_params = {}
363
+
364
+ # http body (model)
365
+ post_body = nil
366
+ auth_names = ['oauth2']
367
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
368
+ :header_params => header_params,
369
+ :query_params => query_params,
370
+ :form_params => form_params,
371
+ :body => post_body,
372
+ :auth_names => auth_names,
373
+ :return_type => 'AccountingFinalResponseVO')
374
+ if @api_client.config.debugging
375
+ @api_client.config.logger.debug "API called: AccountingApi#get_accounting_stats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
376
+ end
377
+ return data, status_code, headers
378
+ end
379
+ # Get Accounting Vendor Config
380
+ # Get Accounting vendor config information with its status.
381
+ # @param nucleus_client_id nucleus_client_id
382
+ # @param [Hash] opts the optional parameters
383
+ # @return [VendorAccessConfigVO]
384
+ def get_accounting_vendor_info_using_client_id(nucleus_client_id, opts = {})
385
+ data, _status_code, _headers = get_accounting_vendor_info_using_client_id_with_http_info(nucleus_client_id, opts)
386
+ data
387
+ end
388
+
389
+ # Get Accounting Vendor Config
390
+ # Get Accounting vendor config information with its status.
391
+ # @param nucleus_client_id nucleus_client_id
392
+ # @param [Hash] opts the optional parameters
393
+ # @return [Array<(VendorAccessConfigVO, Fixnum, Hash)>] VendorAccessConfigVO data, response status code and response headers
394
+ def get_accounting_vendor_info_using_client_id_with_http_info(nucleus_client_id, opts = {})
395
+ if @api_client.config.debugging
396
+ @api_client.config.logger.debug 'Calling API: AccountingApi.get_accounting_vendor_info_using_client_id ...'
397
+ end
398
+ # verify the required parameter 'nucleus_client_id' is set
399
+ if @api_client.config.client_side_validation && nucleus_client_id.nil?
400
+ fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling AccountingApi.get_accounting_vendor_info_using_client_id"
401
+ end
402
+ # resource path
403
+ local_var_path = '/accounting/vendor/{nucleus_client_id}'.sub('{' + 'nucleus_client_id' + '}', nucleus_client_id.to_s)
404
+
405
+ # query parameters
406
+ query_params = {}
407
+
408
+ # header parameters
409
+ header_params = {}
410
+ # HTTP header 'Accept' (if needed)
411
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
412
+
413
+ # form parameters
414
+ form_params = {}
415
+
416
+ # http body (model)
417
+ post_body = nil
418
+ auth_names = ['oauth2']
419
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
420
+ :header_params => header_params,
421
+ :query_params => query_params,
422
+ :form_params => form_params,
423
+ :body => post_body,
424
+ :auth_names => auth_names,
425
+ :return_type => 'VendorAccessConfigVO')
426
+ if @api_client.config.debugging
427
+ @api_client.config.logger.debug "API called: AccountingApi#get_accounting_vendor_info_using_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
428
+ end
429
+ return data, status_code, headers
430
+ end
431
+ # Enable/Disable relation with particular accounting vendor.
432
+ # Enable/Disable link with particular accounting vendor.
433
+ # @param id id
434
+ # @param is_active is_active
435
+ # @param [Hash] opts the optional parameters
436
+ # @return [VendorAccessConfigVO]
437
+ def update_accounting_vendor_access_config_is_active_by_id(id, is_active, opts = {})
438
+ data, _status_code, _headers = update_accounting_vendor_access_config_is_active_by_id_with_http_info(id, is_active, opts)
439
+ data
440
+ end
441
+
442
+ # Enable/Disable relation with particular accounting vendor.
443
+ # Enable/Disable link with particular accounting vendor.
444
+ # @param id id
445
+ # @param is_active is_active
446
+ # @param [Hash] opts the optional parameters
447
+ # @return [Array<(VendorAccessConfigVO, Fixnum, Hash)>] VendorAccessConfigVO data, response status code and response headers
448
+ def update_accounting_vendor_access_config_is_active_by_id_with_http_info(id, is_active, opts = {})
449
+ if @api_client.config.debugging
450
+ @api_client.config.logger.debug 'Calling API: AccountingApi.update_accounting_vendor_access_config_is_active_by_id ...'
451
+ end
452
+ # verify the required parameter 'id' is set
453
+ if @api_client.config.client_side_validation && id.nil?
454
+ fail ArgumentError, "Missing the required parameter 'id' when calling AccountingApi.update_accounting_vendor_access_config_is_active_by_id"
455
+ end
456
+ # verify the required parameter 'is_active' is set
457
+ if @api_client.config.client_side_validation && is_active.nil?
458
+ fail ArgumentError, "Missing the required parameter 'is_active' when calling AccountingApi.update_accounting_vendor_access_config_is_active_by_id"
459
+ end
460
+ # resource path
461
+ local_var_path = '/accounting/vendor/{id}'.sub('{' + 'id' + '}', id.to_s)
462
+
463
+ # query parameters
464
+ query_params = {}
465
+ query_params[:'is_active'] = is_active
466
+
467
+ # header parameters
468
+ header_params = {}
469
+ # HTTP header 'Accept' (if needed)
470
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
471
+ # HTTP header 'Content-Type'
472
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
473
+
474
+ # form parameters
475
+ form_params = {}
476
+
477
+ # http body (model)
478
+ post_body = nil
479
+ auth_names = ['oauth2']
480
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
481
+ :header_params => header_params,
482
+ :query_params => query_params,
483
+ :form_params => form_params,
484
+ :body => post_body,
485
+ :auth_names => auth_names,
486
+ :return_type => 'VendorAccessConfigVO')
487
+ if @api_client.config.debugging
488
+ @api_client.config.logger.debug "API called: AccountingApi#update_accounting_vendor_access_config_is_active_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
489
+ end
490
+ return data, status_code, headers
491
+ end
492
+ # Update customer in Nucleus for a given nucleus_customer_id
493
+ # Update customer in Nucleus for a given nucleus_customer_id
494
+ # @param nucleus_customer_id nucleus_customer_id
495
+ # @param [Hash] opts the optional parameters
496
+ # @return [AccountingFinalResponseVO]
497
+ def update_customer(nucleus_customer_id, opts = {})
498
+ data, _status_code, _headers = update_customer_with_http_info(nucleus_customer_id, opts)
499
+ data
500
+ end
501
+
502
+ # Update customer in Nucleus for a given nucleus_customer_id
503
+ # Update customer in Nucleus for a given nucleus_customer_id
504
+ # @param nucleus_customer_id nucleus_customer_id
505
+ # @param [Hash] opts the optional parameters
506
+ # @return [Array<(AccountingFinalResponseVO, Fixnum, Hash)>] AccountingFinalResponseVO data, response status code and response headers
507
+ def update_customer_with_http_info(nucleus_customer_id, opts = {})
508
+ if @api_client.config.debugging
509
+ @api_client.config.logger.debug 'Calling API: AccountingApi.update_customer ...'
510
+ end
511
+ # verify the required parameter 'nucleus_customer_id' is set
512
+ if @api_client.config.client_side_validation && nucleus_customer_id.nil?
513
+ fail ArgumentError, "Missing the required parameter 'nucleus_customer_id' when calling AccountingApi.update_customer"
514
+ end
515
+ # resource path
516
+ local_var_path = '/accounting/customer/{nucleus_customer_id}'.sub('{' + 'nucleus_customer_id' + '}', nucleus_customer_id.to_s)
517
+
518
+ # query parameters
519
+ query_params = {}
520
+
521
+ # header parameters
522
+ header_params = {}
523
+ # HTTP header 'Accept' (if needed)
524
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
525
+
526
+ # form parameters
527
+ form_params = {}
528
+
529
+ # http body (model)
530
+ post_body = nil
531
+ auth_names = ['oauth2']
532
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
533
+ :header_params => header_params,
534
+ :query_params => query_params,
535
+ :form_params => form_params,
536
+ :body => post_body,
537
+ :auth_names => auth_names,
538
+ :return_type => 'AccountingFinalResponseVO')
539
+ if @api_client.config.debugging
540
+ @api_client.config.logger.debug "API called: AccountingApi#update_customer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
541
+ end
542
+ return data, status_code, headers
543
+ end
544
+ # Update invoice in Nucleus for a given nucleus_invoice_id
545
+ # Update invoice in Nucleus for a given nucleus_invoice_id
546
+ # @param nucleus_invoice_id nucleus_invoice_id
547
+ # @param [Hash] opts the optional parameters
548
+ # @return [AccountingFinalResponseVO]
549
+ def update_invoice(nucleus_invoice_id, opts = {})
550
+ data, _status_code, _headers = update_invoice_with_http_info(nucleus_invoice_id, opts)
551
+ data
552
+ end
553
+
554
+ # Update invoice in Nucleus for a given nucleus_invoice_id
555
+ # Update invoice in Nucleus for a given nucleus_invoice_id
556
+ # @param nucleus_invoice_id nucleus_invoice_id
557
+ # @param [Hash] opts the optional parameters
558
+ # @return [Array<(AccountingFinalResponseVO, Fixnum, Hash)>] AccountingFinalResponseVO data, response status code and response headers
559
+ def update_invoice_with_http_info(nucleus_invoice_id, opts = {})
560
+ if @api_client.config.debugging
561
+ @api_client.config.logger.debug 'Calling API: AccountingApi.update_invoice ...'
562
+ end
563
+ # verify the required parameter 'nucleus_invoice_id' is set
564
+ if @api_client.config.client_side_validation && nucleus_invoice_id.nil?
565
+ fail ArgumentError, "Missing the required parameter 'nucleus_invoice_id' when calling AccountingApi.update_invoice"
566
+ end
567
+ # resource path
568
+ local_var_path = '/accounting/invoice/{nucleus_invoice_id}'.sub('{' + 'nucleus_invoice_id' + '}', nucleus_invoice_id.to_s)
569
+
570
+ # query parameters
571
+ query_params = {}
572
+
573
+ # header parameters
574
+ header_params = {}
575
+ # HTTP header 'Accept' (if needed)
576
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
577
+
578
+ # form parameters
579
+ form_params = {}
580
+
581
+ # http body (model)
582
+ post_body = nil
583
+ auth_names = ['oauth2']
584
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
585
+ :header_params => header_params,
586
+ :query_params => query_params,
587
+ :form_params => form_params,
588
+ :body => post_body,
589
+ :auth_names => auth_names,
590
+ :return_type => 'AccountingFinalResponseVO')
591
+ if @api_client.config.debugging
592
+ @api_client.config.logger.debug "API called: AccountingApi#update_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
593
+ end
594
+ return data, status_code, headers
595
+ end
596
+ end
597
+ end