integration_api 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +438 -0
- data/Rakefile +8 -0
- data/docs/ACHApi.md +878 -0
- data/docs/AccountingApi.md +633 -0
- data/docs/AccountingCustomerResponseVO.md +9 -0
- data/docs/AccountingCustomerRevenueResponseVO.md +9 -0
- data/docs/AccountingFinalResponseVO.md +15 -0
- data/docs/AccountingInvoicePaymentResponseVO.md +9 -0
- data/docs/AccountingInvoiceResponseVO.md +9 -0
- data/docs/AccountingStatsResponseVO.md +9 -0
- data/docs/AchBalanceResponseVO.md +13 -0
- data/docs/AchBankLinkRequestCO.md +10 -0
- data/docs/AchBankLinkResponseVO.md +14 -0
- data/docs/AchBusinessRequestCO.md +10 -0
- data/docs/AchBusinessResponseVO.md +12 -0
- data/docs/AchCardLinkRequestCO.md +9 -0
- data/docs/AchCardLinkResponseVO.md +12 -0
- data/docs/AchClientRequestCO.md +10 -0
- data/docs/AchClientResponseVO.md +12 -0
- data/docs/AchTransferRequestCO.md +10 -0
- data/docs/AchTransferResponseVO.md +14 -0
- data/docs/Acquiree.md +10 -0
- data/docs/Acquirer.md +10 -0
- data/docs/Address.md +15 -0
- data/docs/AggregationAccount.md +29 -0
- data/docs/AggregationAccountBalance.md +18 -0
- data/docs/AggregationAccountBalanceResponseVO.md +11 -0
- data/docs/AggregationAccountHolding.md +27 -0
- data/docs/AggregationAccountHoldingResponseInternalObjectVO.md +9 -0
- data/docs/AggregationAccountHoldingResponseVO.md +11 -0
- data/docs/AggregationAccountResponseInternalObjectVO.md +9 -0
- data/docs/AggregationAccountResponseVO.md +11 -0
- data/docs/AggregationAccountTransaction.md +24 -0
- data/docs/AggregationAccountTransactionResponseInternalObjectVO.md +9 -0
- data/docs/AggregationAccountTransactionResponseVO.md +12 -0
- data/docs/AggregationAccountsResponseVO.md +11 -0
- data/docs/AggregationApi.md +722 -0
- data/docs/AggregationRequestObject.md +12 -0
- data/docs/AggregationVendorRequestCO.md +10 -0
- data/docs/ApplePayload.md +10 -0
- data/docs/AsyncApi.md +262 -0
- data/docs/AsyncTransaction.md +12 -0
- data/docs/AsyncTransactionVO.md +10 -0
- data/docs/BaasAccountCO.md +9 -0
- data/docs/BaasAccountVO.md +16 -0
- data/docs/BaasApi.md +551 -0
- data/docs/BaasBalanceVO.md +12 -0
- data/docs/BaasBusinessVO.md +14 -0
- data/docs/BaasClientVO.md +14 -0
- data/docs/BaasStatementVO.md +13 -0
- data/docs/BaasStatementsVO.md +10 -0
- data/docs/BaasSubAccountCO.md +8 -0
- data/docs/BaasSubAccountVO.md +15 -0
- data/docs/BaasTransactionsVO.md +12 -0
- data/docs/BankCredit.md +15 -0
- data/docs/BankLink.md +29 -0
- data/docs/BankLinkResponseInternalObjectVO.md +9 -0
- data/docs/BankLinkVendorDataVO.md +9 -0
- data/docs/BaseResponseVO.md +10 -0
- data/docs/BrokerageAccountCO.md +9 -0
- data/docs/BrokerageAccountVO.md +12 -0
- data/docs/BrokerageApi.md +1170 -0
- data/docs/BrokerageBalanceVO.md +13 -0
- data/docs/BrokerageBankLinkCO.md +8 -0
- data/docs/BrokerageBankLinkVO.md +13 -0
- data/docs/BrokerageClientCO.md +9 -0
- data/docs/BrokerageCreateClientVO.md +12 -0
- data/docs/BrokerageDepositCO.md +8 -0
- data/docs/BrokerageDepositVO.md +12 -0
- data/docs/BrokerageDocumentCO.md +9 -0
- data/docs/BrokerageDocumentVO.md +13 -0
- data/docs/BrokerageHoldingVO.md +13 -0
- data/docs/BrokerageOrderCO.md +8 -0
- data/docs/BrokerageOrderVO.md +13 -0
- data/docs/BrokeragePerformanceVO.md +13 -0
- data/docs/BrokerageSecuritiesVO.md +11 -0
- data/docs/BrokerageStatementVO.md +10 -0
- data/docs/BrokerageTransactionVO.md +13 -0
- data/docs/BrokerageUpdateClientVO.md +13 -0
- data/docs/BrokerageWithdrawalCO.md +8 -0
- data/docs/BrokerageWithdrawalVO.md +12 -0
- data/docs/BusinessAddress.md +14 -0
- data/docs/BusinessVendorRequestDataVO.md +22 -0
- data/docs/CardApi.md +1684 -0
- data/docs/CardAutoReloadRequestCO.md +11 -0
- data/docs/CardAutoReloadResponseVO.md +13 -0
- data/docs/CardBalanceResponseVO.md +13 -0
- data/docs/CardBaseRequestCO.md +10 -0
- data/docs/CardBusinessRequestCO.md +8 -0
- data/docs/CardClientRequestCO.md +9 -0
- data/docs/CardLoadRequestCO.md +9 -0
- data/docs/CardLoadUnloadResponseVO.md +14 -0
- data/docs/CardPinRequestCO.md +11 -0
- data/docs/CardReplaceResponseVO.md +14 -0
- data/docs/CardReserveAccountResponseVO.md +14 -0
- data/docs/CardSpendingControlRequestCO.md +8 -0
- data/docs/CardSpendingControlResponseVO.md +12 -0
- data/docs/CardTokenRequestCO.md +11 -0
- data/docs/CardTokenResponseVO.md +15 -0
- data/docs/CardTransactionResponseVO.md +13 -0
- data/docs/CardUnloadRequestCO.md +9 -0
- data/docs/CardUpdatePinRequestCO.md +11 -0
- data/docs/Cash.md +10 -0
- data/docs/ClientAddress.md +15 -0
- data/docs/ClientVendorRequestDataVO.md +25 -0
- data/docs/CreateBaasBusinessCO.md +9 -0
- data/docs/CreateBaasClientCO.md +9 -0
- data/docs/CreateBusinessResponseVO.md +12 -0
- data/docs/CreateCardClientResponseVO.md +12 -0
- data/docs/CreateUserRequest.md +13 -0
- data/docs/Customer.md +21 -0
- data/docs/CustomerAddress.md +14 -0
- data/docs/CustomerRevenue.md +16 -0
- data/docs/Dividend.md +10 -0
- data/docs/DividendTax.md +9 -0
- data/docs/Email.md +26 -0
- data/docs/EmailClick.md +11 -0
- data/docs/EmailOpen.md +10 -0
- data/docs/ExchangePublicTokenVO.md +12 -0
- data/docs/ExchangeTokenCO.md +13 -0
- data/docs/FinancialStatement.md +23 -0
- data/docs/GetCardImageResponseVO.md +12 -0
- data/docs/GetCardPciDetailsResponseVO.md +14 -0
- data/docs/GetCardStatementResponseVO.md +15 -0
- data/docs/GetCardTokenResponseVO.md +15 -0
- data/docs/GetTransactionsResponse.md +8 -0
- data/docs/GooglePayload.md +8 -0
- data/docs/IAVApi.md +126 -0
- data/docs/IavAggregationResponseVo.md +9 -0
- data/docs/IavBankLinkResponseVo.md +9 -0
- data/docs/IavRequestCO.md +14 -0
- data/docs/IavResponseVo.md +10 -0
- data/docs/IavTokenExchangeVendorResponseVO.md +7 -0
- data/docs/IavVendorRequestCO.md +10 -0
- data/docs/Identification.md +14 -0
- data/docs/Instrument.md +10 -0
- data/docs/Investment.md +16 -0
- data/docs/Invoice.md +32 -0
- data/docs/InvoicePayment.md +15 -0
- data/docs/JsonNode.md +28 -0
- data/docs/KMSApi.md +314 -0
- data/docs/KYCApi.md +135 -0
- data/docs/KmsConfig.md +19 -0
- data/docs/KycRequestCO.md +16 -0
- data/docs/KycResponseVo.md +18 -0
- data/docs/KycVendorRequestDataVO.md +30 -0
- data/docs/LineItems.md +15 -0
- data/docs/Location.md +15 -0
- data/docs/Mapstringobject.md +7 -0
- data/docs/MarketDataApi.md +122 -0
- data/docs/MdHistoryItemVO.md +14 -0
- data/docs/MdHistoryRequestCO.md +12 -0
- data/docs/MdHistoryResponseVO.md +8 -0
- data/docs/MdQuoteItemVO.md +25 -0
- data/docs/MdQuoteRequestCO.md +11 -0
- data/docs/MdQuoteResponseVO.md +8 -0
- data/docs/MergerAcquisition.md +10 -0
- data/docs/NucleusTransferFieldsCO.md +9 -0
- data/docs/Ownership.md +9 -0
- data/docs/PageAchTransferResponseVO.md +16 -0
- data/docs/PageKmsConfig.md +16 -0
- data/docs/PageWebhook.md +16 -0
- data/docs/Pageobject.md +16 -0
- data/docs/PoliticallyExposedPersonDTO.md +11 -0
- data/docs/PortfolioAssetSizeLog.md +20 -0
- data/docs/PropertyValueResponseVO.md +12 -0
- data/docs/RTPApi.md +521 -0
- data/docs/ResponseEntity.md +10 -0
- data/docs/RtpBankLinkRequestCO.md +9 -0
- data/docs/RtpBankLinkResponseVO.md +14 -0
- data/docs/RtpTransferRequestCO.md +9 -0
- data/docs/RtpTransferResponseVO.md +13 -0
- data/docs/SMS.md +24 -0
- data/docs/SMSApi.md +128 -0
- data/docs/SMSResponseVO.md +13 -0
- data/docs/SMSVO.md +12 -0
- data/docs/SMTPApi.md +128 -0
- data/docs/SamsungPayload.md +8 -0
- data/docs/SmtpResponseVO.md +13 -0
- data/docs/SmtpVO.md +17 -0
- data/docs/Sort.md +13 -0
- data/docs/SpendingControlVendorRequestDataVO.md +16 -0
- data/docs/Stat.md +9 -0
- data/docs/Transaction.md +29 -0
- data/docs/UpdateBaasBusinessCO.md +8 -0
- data/docs/UpdateBaasClientCO.md +8 -0
- data/docs/UpdateBusinessResponseVO.md +12 -0
- data/docs/UpdateCardClientResponseVO.md +12 -0
- data/docs/UserResponseInterface.md +7 -0
- data/docs/UserResponseVO.md +13 -0
- data/docs/UtilsApi.md +273 -0
- data/docs/VendorAccessConfigVO.md +10 -0
- data/docs/Webhook.md +15 -0
- data/docs/WebhookApi.md +314 -0
- data/docs/WidgetUrlVO.md +9 -0
- data/docs/WireApi.md +521 -0
- data/docs/WireBankLinkRequestCO.md +9 -0
- data/docs/WireBankLinkResponseVO.md +14 -0
- data/docs/WireTransferRequestCO.md +9 -0
- data/docs/WireTransferResponseVO.md +13 -0
- data/docs/ZillowPropertyVendorResponseVO.md +12 -0
- data/git_push.sh +55 -0
- data/integration_api.gemspec +46 -0
- data/lib/integration_api.rb +239 -0
- data/lib/integration_api/api/accounting_api.rb +597 -0
- data/lib/integration_api/api/ach_api.rb +800 -0
- data/lib/integration_api/api/aggregation_api.rb +665 -0
- data/lib/integration_api/api/async_api.rb +269 -0
- data/lib/integration_api/api/baas_api.rb +518 -0
- data/lib/integration_api/api/brokerage_api.rb +1089 -0
- data/lib/integration_api/api/card_api.rb +1548 -0
- data/lib/integration_api/api/iav_api.rb +129 -0
- data/lib/integration_api/api/kms_api.rb +301 -0
- data/lib/integration_api/api/kyc_api.rb +138 -0
- data/lib/integration_api/api/market_data_api.rb +127 -0
- data/lib/integration_api/api/rtp_api.rb +479 -0
- data/lib/integration_api/api/sms_api.rb +129 -0
- data/lib/integration_api/api/smtp_api.rb +129 -0
- data/lib/integration_api/api/utils_api.rb +272 -0
- data/lib/integration_api/api/webhook_api.rb +301 -0
- data/lib/integration_api/api/wire_api.rb +479 -0
- data/lib/integration_api/api_client.rb +391 -0
- data/lib/integration_api/api_error.rb +38 -0
- data/lib/integration_api/auth_configuration.rb +177 -0
- data/lib/integration_api/configuration.rb +209 -0
- data/lib/integration_api/models/accounting_customer_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_customer_revenue_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_final_response_vo.rb +253 -0
- data/lib/integration_api/models/accounting_invoice_payment_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_invoice_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_stats_response_vo.rb +191 -0
- data/lib/integration_api/models/ach_balance_response_vo.rb +231 -0
- data/lib/integration_api/models/ach_bank_link_request_co.rb +200 -0
- data/lib/integration_api/models/ach_bank_link_response_vo.rb +236 -0
- data/lib/integration_api/models/ach_business_request_co.rb +200 -0
- data/lib/integration_api/models/ach_business_response_vo.rb +218 -0
- data/lib/integration_api/models/ach_card_link_request_co.rb +191 -0
- data/lib/integration_api/models/ach_card_link_response_vo.rb +218 -0
- data/lib/integration_api/models/ach_client_request_co.rb +200 -0
- data/lib/integration_api/models/ach_client_response_vo.rb +218 -0
- data/lib/integration_api/models/ach_transfer_request_co.rb +200 -0
- data/lib/integration_api/models/ach_transfer_response_vo.rb +236 -0
- data/lib/integration_api/models/acquiree.rb +200 -0
- data/lib/integration_api/models/acquirer.rb +200 -0
- data/lib/integration_api/models/address.rb +281 -0
- data/lib/integration_api/models/aggregation_account.rb +411 -0
- data/lib/integration_api/models/aggregation_account_balance.rb +293 -0
- data/lib/integration_api/models/aggregation_account_balance_response_vo.rb +209 -0
- data/lib/integration_api/models/aggregation_account_holding.rb +381 -0
- data/lib/integration_api/models/aggregation_account_holding_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/aggregation_account_holding_response_vo.rb +211 -0
- data/lib/integration_api/models/aggregation_account_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/aggregation_account_response_vo.rb +209 -0
- data/lib/integration_api/models/aggregation_account_transaction.rb +348 -0
- data/lib/integration_api/models/aggregation_account_transaction_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/aggregation_account_transaction_response_vo.rb +222 -0
- data/lib/integration_api/models/aggregation_accounts_response_vo.rb +211 -0
- data/lib/integration_api/models/aggregation_request_object.rb +218 -0
- data/lib/integration_api/models/aggregation_vendor_request_co.rb +200 -0
- data/lib/integration_api/models/apple_payload.rb +200 -0
- data/lib/integration_api/models/async_transaction.rb +218 -0
- data/lib/integration_api/models/async_transaction_vo.rb +200 -0
- data/lib/integration_api/models/baas_account_co.rb +191 -0
- data/lib/integration_api/models/baas_account_vo.rb +254 -0
- data/lib/integration_api/models/baas_balance_vo.rb +222 -0
- data/lib/integration_api/models/baas_business_vo.rb +238 -0
- data/lib/integration_api/models/baas_client_vo.rb +238 -0
- data/lib/integration_api/models/baas_statement_vo.rb +227 -0
- data/lib/integration_api/models/baas_statements_vo.rb +202 -0
- data/lib/integration_api/models/baas_sub_account_co.rb +182 -0
- data/lib/integration_api/models/baas_sub_account_vo.rb +245 -0
- data/lib/integration_api/models/baas_transactions_vo.rb +222 -0
- data/lib/integration_api/models/bank_credit.rb +263 -0
- data/lib/integration_api/models/bank_link.rb +412 -0
- data/lib/integration_api/models/bank_link_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/bank_link_vendor_data_vo.rb +191 -0
- data/lib/integration_api/models/base_response_vo.rb +200 -0
- data/lib/integration_api/models/brokerage_account_co.rb +193 -0
- data/lib/integration_api/models/brokerage_account_vo.rb +218 -0
- data/lib/integration_api/models/brokerage_balance_vo.rb +229 -0
- data/lib/integration_api/models/brokerage_bank_link_co.rb +182 -0
- data/lib/integration_api/models/brokerage_bank_link_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_client_co.rb +193 -0
- data/lib/integration_api/models/brokerage_create_client_vo.rb +218 -0
- data/lib/integration_api/models/brokerage_deposit_co.rb +182 -0
- data/lib/integration_api/models/brokerage_deposit_vo.rb +218 -0
- data/lib/integration_api/models/brokerage_document_co.rb +191 -0
- data/lib/integration_api/models/brokerage_document_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_holding_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_order_co.rb +182 -0
- data/lib/integration_api/models/brokerage_order_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_performance_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_securities_vo.rb +209 -0
- data/lib/integration_api/models/brokerage_statement_vo.rb +200 -0
- data/lib/integration_api/models/brokerage_transaction_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_update_client_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_withdrawal_co.rb +182 -0
- data/lib/integration_api/models/brokerage_withdrawal_vo.rb +218 -0
- data/lib/integration_api/models/business_address.rb +244 -0
- data/lib/integration_api/models/business_vendor_request_data_vo.rb +314 -0
- data/lib/integration_api/models/card_auto_reload_request_co.rb +209 -0
- data/lib/integration_api/models/card_auto_reload_response_vo.rb +227 -0
- data/lib/integration_api/models/card_balance_response_vo.rb +231 -0
- data/lib/integration_api/models/card_base_request_co.rb +200 -0
- data/lib/integration_api/models/card_business_request_co.rb +182 -0
- data/lib/integration_api/models/card_client_request_co.rb +193 -0
- data/lib/integration_api/models/card_load_request_co.rb +191 -0
- data/lib/integration_api/models/card_load_unload_response_vo.rb +236 -0
- data/lib/integration_api/models/card_pin_request_co.rb +209 -0
- data/lib/integration_api/models/card_replace_response_vo.rb +236 -0
- data/lib/integration_api/models/card_reserve_account_response_vo.rb +236 -0
- data/lib/integration_api/models/card_spending_control_request_co.rb +182 -0
- data/lib/integration_api/models/card_spending_control_response_vo.rb +218 -0
- data/lib/integration_api/models/card_token_request_co.rb +243 -0
- data/lib/integration_api/models/card_token_response_vo.rb +279 -0
- data/lib/integration_api/models/card_transaction_response_vo.rb +231 -0
- data/lib/integration_api/models/card_unload_request_co.rb +191 -0
- data/lib/integration_api/models/card_update_pin_request_co.rb +209 -0
- data/lib/integration_api/models/cash.rb +214 -0
- data/lib/integration_api/models/client_address.rb +286 -0
- data/lib/integration_api/models/client_vendor_request_data_vo.rb +341 -0
- data/lib/integration_api/models/create_baas_business_co.rb +193 -0
- data/lib/integration_api/models/create_baas_client_co.rb +193 -0
- data/lib/integration_api/models/create_business_response_vo.rb +218 -0
- data/lib/integration_api/models/create_card_client_response_vo.rb +218 -0
- data/lib/integration_api/models/create_user_request.rb +227 -0
- data/lib/integration_api/models/customer.rb +318 -0
- data/lib/integration_api/models/customer_address.rb +269 -0
- data/lib/integration_api/models/customer_revenue.rb +285 -0
- data/lib/integration_api/models/dividend.rb +200 -0
- data/lib/integration_api/models/dividend_tax.rb +191 -0
- data/lib/integration_api/models/email.rb +360 -0
- data/lib/integration_api/models/email_click.rb +221 -0
- data/lib/integration_api/models/email_open.rb +206 -0
- data/lib/integration_api/models/exchange_public_token_vo.rb +218 -0
- data/lib/integration_api/models/exchange_token_co.rb +227 -0
- data/lib/integration_api/models/financial_statement.rb +353 -0
- data/lib/integration_api/models/get_card_image_response_vo.rb +218 -0
- data/lib/integration_api/models/get_card_pci_details_response_vo.rb +236 -0
- data/lib/integration_api/models/get_card_statement_response_vo.rb +247 -0
- data/lib/integration_api/models/get_card_token_response_vo.rb +279 -0
- data/lib/integration_api/models/get_transactions_response.rb +184 -0
- data/lib/integration_api/models/google_payload.rb +182 -0
- data/lib/integration_api/models/iav_aggregation_response_vo.rb +191 -0
- data/lib/integration_api/models/iav_bank_link_response_vo.rb +193 -0
- data/lib/integration_api/models/iav_request_co.rb +236 -0
- data/lib/integration_api/models/iav_response_vo.rb +200 -0
- data/lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb +173 -0
- data/lib/integration_api/models/iav_vendor_request_co.rb +200 -0
- data/lib/integration_api/models/identification.rb +236 -0
- data/lib/integration_api/models/instrument.rb +200 -0
- data/lib/integration_api/models/investment.rb +284 -0
- data/lib/integration_api/models/invoice.rb +453 -0
- data/lib/integration_api/models/invoice_payment.rb +270 -0
- data/lib/integration_api/models/json_node.rb +396 -0
- data/lib/integration_api/models/kms_config.rb +308 -0
- data/lib/integration_api/models/kyc_request_co.rb +256 -0
- data/lib/integration_api/models/kyc_response_vo.rb +272 -0
- data/lib/integration_api/models/kyc_vendor_request_data_vo.rb +386 -0
- data/lib/integration_api/models/line_items.rb +279 -0
- data/lib/integration_api/models/location.rb +254 -0
- data/lib/integration_api/models/mapstringobject.rb +173 -0
- data/lib/integration_api/models/md_history_item_vo.rb +236 -0
- data/lib/integration_api/models/md_history_request_co.rb +222 -0
- data/lib/integration_api/models/md_history_response_vo.rb +184 -0
- data/lib/integration_api/models/md_quote_item_vo.rb +335 -0
- data/lib/integration_api/models/md_quote_request_co.rb +247 -0
- data/lib/integration_api/models/md_quote_response_vo.rb +184 -0
- data/lib/integration_api/models/merger_acquisition.rb +200 -0
- data/lib/integration_api/models/nucleus_transfer_fields_co.rb +191 -0
- data/lib/integration_api/models/ownership.rb +191 -0
- data/lib/integration_api/models/page_ach_transfer_response_vo.rb +259 -0
- data/lib/integration_api/models/page_kms_config.rb +259 -0
- data/lib/integration_api/models/page_webhook.rb +259 -0
- data/lib/integration_api/models/pageobject.rb +259 -0
- data/lib/integration_api/models/politically_exposed_person_dto.rb +209 -0
- data/lib/integration_api/models/portfolio_asset_size_log.rb +330 -0
- data/lib/integration_api/models/property_value_response_vo.rb +218 -0
- data/lib/integration_api/models/response_entity.rb +234 -0
- data/lib/integration_api/models/rtp_bank_link_request_co.rb +191 -0
- data/lib/integration_api/models/rtp_bank_link_response_vo.rb +236 -0
- data/lib/integration_api/models/rtp_transfer_request_co.rb +191 -0
- data/lib/integration_api/models/rtp_transfer_response_vo.rb +227 -0
- data/lib/integration_api/models/samsung_payload.rb +182 -0
- data/lib/integration_api/models/sms.rb +338 -0
- data/lib/integration_api/models/sms_response_vo.rb +227 -0
- data/lib/integration_api/models/smsvo.rb +218 -0
- data/lib/integration_api/models/smtp_response_vo.rb +227 -0
- data/lib/integration_api/models/smtp_vo.rb +263 -0
- data/lib/integration_api/models/sort.rb +234 -0
- data/lib/integration_api/models/spending_control_vendor_request_data_vo.rb +256 -0
- data/lib/integration_api/models/stat.rb +204 -0
- data/lib/integration_api/models/transaction.rb +371 -0
- data/lib/integration_api/models/update_baas_business_co.rb +184 -0
- data/lib/integration_api/models/update_baas_client_co.rb +184 -0
- data/lib/integration_api/models/update_business_response_vo.rb +218 -0
- data/lib/integration_api/models/update_card_client_response_vo.rb +218 -0
- data/lib/integration_api/models/user_response_interface.rb +173 -0
- data/lib/integration_api/models/user_response_vo.rb +227 -0
- data/lib/integration_api/models/vendor_access_config_vo.rb +203 -0
- data/lib/integration_api/models/webhook.rb +280 -0
- data/lib/integration_api/models/widget_url_vo.rb +191 -0
- data/lib/integration_api/models/wire_bank_link_request_co.rb +191 -0
- data/lib/integration_api/models/wire_bank_link_response_vo.rb +236 -0
- data/lib/integration_api/models/wire_transfer_request_co.rb +191 -0
- data/lib/integration_api/models/wire_transfer_response_vo.rb +227 -0
- data/lib/integration_api/models/zillow_property_vendor_response_vo.rb +218 -0
- data/lib/integration_api/version.rb +15 -0
- data/spec/api/accounting_api_spec.rb +169 -0
- data/spec/api/ach_api_spec.rb +207 -0
- data/spec/api/aggregation_api_spec.rb +181 -0
- data/spec/api/async_api_spec.rb +89 -0
- data/spec/api/baas_api_spec.rb +143 -0
- data/spec/api/brokerage_api_spec.rb +263 -0
- data/spec/api/card_api_spec.rb +363 -0
- data/spec/api/iav_api_spec.rb +59 -0
- data/spec/api/kms_api_spec.rb +100 -0
- data/spec/api/kyc_api_spec.rb +63 -0
- data/spec/api/market_data_api_spec.rb +57 -0
- data/spec/api/rtp_api_spec.rb +134 -0
- data/spec/api/sms_api_spec.rb +59 -0
- data/spec/api/smtp_api_spec.rb +59 -0
- data/spec/api/utils_api_spec.rb +96 -0
- data/spec/api/webhook_api_spec.rb +100 -0
- data/spec/api/wire_api_spec.rb +134 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/accounting_customer_response_vo_spec.rb +47 -0
- data/spec/models/accounting_customer_revenue_response_vo_spec.rb +47 -0
- data/spec/models/accounting_final_response_vo_spec.rb +83 -0
- data/spec/models/accounting_invoice_payment_response_vo_spec.rb +47 -0
- data/spec/models/accounting_invoice_response_vo_spec.rb +47 -0
- data/spec/models/accounting_stats_response_vo_spec.rb +47 -0
- data/spec/models/ach_balance_response_vo_spec.rb +71 -0
- data/spec/models/ach_bank_link_request_co_spec.rb +53 -0
- data/spec/models/ach_bank_link_response_vo_spec.rb +77 -0
- data/spec/models/ach_business_request_co_spec.rb +53 -0
- data/spec/models/ach_business_response_vo_spec.rb +65 -0
- data/spec/models/ach_card_link_request_co_spec.rb +47 -0
- data/spec/models/ach_card_link_response_vo_spec.rb +65 -0
- data/spec/models/ach_client_request_co_spec.rb +53 -0
- data/spec/models/ach_client_response_vo_spec.rb +65 -0
- data/spec/models/ach_transfer_request_co_spec.rb +53 -0
- data/spec/models/ach_transfer_response_vo_spec.rb +77 -0
- data/spec/models/acquiree_spec.rb +53 -0
- data/spec/models/acquirer_spec.rb +53 -0
- data/spec/models/address_spec.rb +87 -0
- data/spec/models/aggregation_account_balance_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_account_balance_spec.rb +101 -0
- data/spec/models/aggregation_account_holding_response_internal_object_vo_spec.rb +47 -0
- data/spec/models/aggregation_account_holding_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_account_holding_spec.rb +155 -0
- data/spec/models/aggregation_account_response_internal_object_vo_spec.rb +47 -0
- data/spec/models/aggregation_account_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_account_spec.rb +167 -0
- data/spec/models/aggregation_account_transaction_response_internal_object_vo_spec.rb +47 -0
- data/spec/models/aggregation_account_transaction_response_vo_spec.rb +65 -0
- data/spec/models/aggregation_account_transaction_spec.rb +137 -0
- data/spec/models/aggregation_accounts_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_request_object_spec.rb +65 -0
- data/spec/models/aggregation_vendor_request_co_spec.rb +53 -0
- data/spec/models/apple_payload_spec.rb +53 -0
- data/spec/models/async_transaction_spec.rb +65 -0
- data/spec/models/async_transaction_vo_spec.rb +53 -0
- data/spec/models/baas_account_co_spec.rb +47 -0
- data/spec/models/baas_account_vo_spec.rb +89 -0
- data/spec/models/baas_balance_vo_spec.rb +65 -0
- data/spec/models/baas_business_vo_spec.rb +77 -0
- data/spec/models/baas_client_vo_spec.rb +77 -0
- data/spec/models/baas_statement_vo_spec.rb +71 -0
- data/spec/models/baas_statements_vo_spec.rb +53 -0
- data/spec/models/baas_sub_account_co_spec.rb +41 -0
- data/spec/models/baas_sub_account_vo_spec.rb +83 -0
- data/spec/models/baas_transactions_vo_spec.rb +65 -0
- data/spec/models/bank_credit_spec.rb +83 -0
- data/spec/models/bank_link_response_internal_object_vo_spec.rb +47 -0
- data/spec/models/bank_link_spec.rb +167 -0
- data/spec/models/bank_link_vendor_data_vo_spec.rb +47 -0
- data/spec/models/base_response_vo_spec.rb +53 -0
- data/spec/models/brokerage_account_co_spec.rb +47 -0
- data/spec/models/brokerage_account_vo_spec.rb +65 -0
- data/spec/models/brokerage_balance_vo_spec.rb +71 -0
- data/spec/models/brokerage_bank_link_co_spec.rb +41 -0
- data/spec/models/brokerage_bank_link_vo_spec.rb +71 -0
- data/spec/models/brokerage_client_co_spec.rb +47 -0
- data/spec/models/brokerage_create_client_vo_spec.rb +65 -0
- data/spec/models/brokerage_deposit_co_spec.rb +41 -0
- data/spec/models/brokerage_deposit_vo_spec.rb +65 -0
- data/spec/models/brokerage_document_co_spec.rb +47 -0
- data/spec/models/brokerage_document_vo_spec.rb +71 -0
- data/spec/models/brokerage_holding_vo_spec.rb +71 -0
- data/spec/models/brokerage_order_co_spec.rb +41 -0
- data/spec/models/brokerage_order_vo_spec.rb +71 -0
- data/spec/models/brokerage_performance_vo_spec.rb +71 -0
- data/spec/models/brokerage_securities_vo_spec.rb +59 -0
- data/spec/models/brokerage_statement_vo_spec.rb +53 -0
- data/spec/models/brokerage_transaction_vo_spec.rb +71 -0
- data/spec/models/brokerage_update_client_vo_spec.rb +71 -0
- data/spec/models/brokerage_withdrawal_co_spec.rb +41 -0
- data/spec/models/brokerage_withdrawal_vo_spec.rb +65 -0
- data/spec/models/business_address_spec.rb +77 -0
- data/spec/models/business_vendor_request_data_vo_spec.rb +125 -0
- data/spec/models/card_auto_reload_request_co_spec.rb +59 -0
- data/spec/models/card_auto_reload_response_vo_spec.rb +71 -0
- data/spec/models/card_balance_response_vo_spec.rb +71 -0
- data/spec/models/card_base_request_co_spec.rb +53 -0
- data/spec/models/card_business_request_co_spec.rb +41 -0
- data/spec/models/card_client_request_co_spec.rb +47 -0
- data/spec/models/card_load_request_co_spec.rb +47 -0
- data/spec/models/card_load_unload_response_vo_spec.rb +77 -0
- data/spec/models/card_pin_request_co_spec.rb +59 -0
- data/spec/models/card_replace_response_vo_spec.rb +77 -0
- data/spec/models/card_reserve_account_response_vo_spec.rb +77 -0
- data/spec/models/card_spending_control_request_co_spec.rb +41 -0
- data/spec/models/card_spending_control_response_vo_spec.rb +65 -0
- data/spec/models/card_token_request_co_spec.rb +63 -0
- data/spec/models/card_token_response_vo_spec.rb +87 -0
- data/spec/models/card_transaction_response_vo_spec.rb +71 -0
- data/spec/models/card_unload_request_co_spec.rb +47 -0
- data/spec/models/card_update_pin_request_co_spec.rb +59 -0
- data/spec/models/cash_spec.rb +53 -0
- data/spec/models/client_address_spec.rb +87 -0
- data/spec/models/client_vendor_request_data_vo_spec.rb +143 -0
- data/spec/models/create_baas_business_co_spec.rb +47 -0
- data/spec/models/create_baas_client_co_spec.rb +47 -0
- data/spec/models/create_business_response_vo_spec.rb +65 -0
- data/spec/models/create_card_client_response_vo_spec.rb +65 -0
- data/spec/models/create_user_request_spec.rb +71 -0
- data/spec/models/customer_address_spec.rb +77 -0
- data/spec/models/customer_revenue_spec.rb +89 -0
- data/spec/models/customer_spec.rb +119 -0
- data/spec/models/dividend_spec.rb +53 -0
- data/spec/models/dividend_tax_spec.rb +47 -0
- data/spec/models/email_click_spec.rb +59 -0
- data/spec/models/email_open_spec.rb +53 -0
- data/spec/models/email_spec.rb +149 -0
- data/spec/models/exchange_public_token_vo_spec.rb +65 -0
- data/spec/models/exchange_token_co_spec.rb +71 -0
- data/spec/models/financial_statement_spec.rb +131 -0
- data/spec/models/get_card_image_response_vo_spec.rb +65 -0
- data/spec/models/get_card_pci_details_response_vo_spec.rb +77 -0
- data/spec/models/get_card_statement_response_vo_spec.rb +83 -0
- data/spec/models/get_card_token_response_vo_spec.rb +87 -0
- data/spec/models/get_transactions_response_spec.rb +41 -0
- data/spec/models/google_payload_spec.rb +41 -0
- data/spec/models/iav_aggregation_response_vo_spec.rb +47 -0
- data/spec/models/iav_bank_link_response_vo_spec.rb +47 -0
- data/spec/models/iav_request_co_spec.rb +77 -0
- data/spec/models/iav_response_vo_spec.rb +53 -0
- data/spec/models/iav_token_exchange_vendor_response_vo_spec.rb +35 -0
- data/spec/models/iav_vendor_request_co_spec.rb +53 -0
- data/spec/models/identification_spec.rb +77 -0
- data/spec/models/instrument_spec.rb +53 -0
- data/spec/models/investment_spec.rb +89 -0
- data/spec/models/invoice_payment_spec.rb +83 -0
- data/spec/models/invoice_spec.rb +185 -0
- data/spec/models/json_node_spec.rb +165 -0
- data/spec/models/kms_config_spec.rb +107 -0
- data/spec/models/kyc_request_co_spec.rb +89 -0
- data/spec/models/kyc_response_vo_spec.rb +101 -0
- data/spec/models/kyc_vendor_request_data_vo_spec.rb +173 -0
- data/spec/models/line_items_spec.rb +83 -0
- data/spec/models/location_spec.rb +83 -0
- data/spec/models/mapstringobject_spec.rb +35 -0
- data/spec/models/md_history_item_vo_spec.rb +77 -0
- data/spec/models/md_history_request_co_spec.rb +65 -0
- data/spec/models/md_history_response_vo_spec.rb +41 -0
- data/spec/models/md_quote_item_vo_spec.rb +143 -0
- data/spec/models/md_quote_request_co_spec.rb +63 -0
- data/spec/models/md_quote_response_vo_spec.rb +41 -0
- data/spec/models/merger_acquisition_spec.rb +53 -0
- data/spec/models/nucleus_transfer_fields_co_spec.rb +47 -0
- data/spec/models/ownership_spec.rb +47 -0
- data/spec/models/page_ach_transfer_response_vo_spec.rb +89 -0
- data/spec/models/page_kms_config_spec.rb +89 -0
- data/spec/models/page_webhook_spec.rb +89 -0
- data/spec/models/pageobject_spec.rb +89 -0
- data/spec/models/politically_exposed_person_dto_spec.rb +59 -0
- data/spec/models/portfolio_asset_size_log_spec.rb +113 -0
- data/spec/models/property_value_response_vo_spec.rb +65 -0
- data/spec/models/response_entity_spec.rb +57 -0
- data/spec/models/rtp_bank_link_request_co_spec.rb +47 -0
- data/spec/models/rtp_bank_link_response_vo_spec.rb +77 -0
- data/spec/models/rtp_transfer_request_co_spec.rb +47 -0
- data/spec/models/rtp_transfer_response_vo_spec.rb +71 -0
- data/spec/models/samsung_payload_spec.rb +41 -0
- data/spec/models/sms_response_vo_spec.rb +71 -0
- data/spec/models/sms_spec.rb +137 -0
- data/spec/models/smsvo_spec.rb +65 -0
- data/spec/models/smtp_response_vo_spec.rb +71 -0
- data/spec/models/smtp_vo_spec.rb +95 -0
- data/spec/models/sort_spec.rb +71 -0
- data/spec/models/spending_control_vendor_request_data_vo_spec.rb +89 -0
- data/spec/models/stat_spec.rb +47 -0
- data/spec/models/transaction_spec.rb +167 -0
- data/spec/models/update_baas_business_co_spec.rb +41 -0
- data/spec/models/update_baas_client_co_spec.rb +41 -0
- data/spec/models/update_business_response_vo_spec.rb +65 -0
- data/spec/models/update_card_client_response_vo_spec.rb +65 -0
- data/spec/models/user_response_interface_spec.rb +35 -0
- data/spec/models/user_response_vo_spec.rb +71 -0
- data/spec/models/vendor_access_config_vo_spec.rb +53 -0
- data/spec/models/webhook_spec.rb +87 -0
- data/spec/models/widget_url_vo_spec.rb +47 -0
- data/spec/models/wire_bank_link_request_co_spec.rb +47 -0
- data/spec/models/wire_bank_link_response_vo_spec.rb +77 -0
- data/spec/models/wire_transfer_request_co_spec.rb +47 -0
- data/spec/models/wire_transfer_response_vo_spec.rb +71 -0
- data/spec/models/zillow_property_vendor_response_vo_spec.rb +65 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1056 -0
|
@@ -0,0 +1,269 @@
|
|
|
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 AsyncApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create async transaction for GET endpoints for bulk data
|
|
23
|
+
# Create async transaction for GET endpoints for bulk data
|
|
24
|
+
# @param id UUID id
|
|
25
|
+
# @param integration_type String integration_type
|
|
26
|
+
# @param service String service
|
|
27
|
+
# @param [Hash] opts the optional parameters
|
|
28
|
+
# @return [AsyncTransaction]
|
|
29
|
+
def get_async_data(id, integration_type, service, opts = {})
|
|
30
|
+
data, _status_code, _headers = get_async_data_with_http_info(id, integration_type, service, opts)
|
|
31
|
+
data
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Create async transaction for GET endpoints for bulk data
|
|
35
|
+
# Create async transaction for GET endpoints for bulk data
|
|
36
|
+
# @param id UUID id
|
|
37
|
+
# @param integration_type String integration_type
|
|
38
|
+
# @param service String service
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [Array<(AsyncTransaction, Fixnum, Hash)>] AsyncTransaction data, response status code and response headers
|
|
41
|
+
def get_async_data_with_http_info(id, integration_type, service, opts = {})
|
|
42
|
+
if @api_client.config.debugging
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: AsyncApi.get_async_data ...'
|
|
44
|
+
end
|
|
45
|
+
# verify the required parameter 'id' is set
|
|
46
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AsyncApi.get_async_data"
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'integration_type' is set
|
|
50
|
+
if @api_client.config.client_side_validation && integration_type.nil?
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'integration_type' when calling AsyncApi.get_async_data"
|
|
52
|
+
end
|
|
53
|
+
# verify the required parameter 'service' is set
|
|
54
|
+
if @api_client.config.client_side_validation && service.nil?
|
|
55
|
+
fail ArgumentError, "Missing the required parameter 'service' when calling AsyncApi.get_async_data"
|
|
56
|
+
end
|
|
57
|
+
# resource path
|
|
58
|
+
local_var_path = '/async/{integration_type}/{service}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'integration_type' + '}', integration_type.to_s).sub('{' + 'service' + '}', service.to_s)
|
|
59
|
+
|
|
60
|
+
# query parameters
|
|
61
|
+
query_params = {}
|
|
62
|
+
|
|
63
|
+
# header parameters
|
|
64
|
+
header_params = {}
|
|
65
|
+
# HTTP header 'Accept' (if needed)
|
|
66
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
67
|
+
|
|
68
|
+
# form parameters
|
|
69
|
+
form_params = {}
|
|
70
|
+
|
|
71
|
+
# http body (model)
|
|
72
|
+
post_body = nil
|
|
73
|
+
auth_names = ['oauth2']
|
|
74
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names,
|
|
80
|
+
:return_type => 'AsyncTransaction')
|
|
81
|
+
if @api_client.config.debugging
|
|
82
|
+
@api_client.config.logger.debug "API called: AsyncApi#get_async_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
83
|
+
end
|
|
84
|
+
return data, status_code, headers
|
|
85
|
+
end
|
|
86
|
+
# Create async transaction for GET endpoints for bulk data
|
|
87
|
+
# Create async transaction for GET endpoints for bulk data
|
|
88
|
+
# @param id UUID id
|
|
89
|
+
# @param integration_type String integration_type
|
|
90
|
+
# @param service String service
|
|
91
|
+
# @param [Hash] opts the optional parameters
|
|
92
|
+
# @return [AsyncTransaction]
|
|
93
|
+
def get_async_data1(id, integration_type, service, opts = {})
|
|
94
|
+
data, _status_code, _headers = get_async_data1_with_http_info(id, integration_type, service, opts)
|
|
95
|
+
data
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Create async transaction for GET endpoints for bulk data
|
|
99
|
+
# Create async transaction for GET endpoints for bulk data
|
|
100
|
+
# @param id UUID id
|
|
101
|
+
# @param integration_type String integration_type
|
|
102
|
+
# @param service String service
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(AsyncTransaction, Fixnum, Hash)>] AsyncTransaction data, response status code and response headers
|
|
105
|
+
def get_async_data1_with_http_info(id, integration_type, service, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: AsyncApi.get_async_data1 ...'
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'id' is set
|
|
110
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AsyncApi.get_async_data1"
|
|
112
|
+
end
|
|
113
|
+
# verify the required parameter 'integration_type' is set
|
|
114
|
+
if @api_client.config.client_side_validation && integration_type.nil?
|
|
115
|
+
fail ArgumentError, "Missing the required parameter 'integration_type' when calling AsyncApi.get_async_data1"
|
|
116
|
+
end
|
|
117
|
+
# verify the required parameter 'service' is set
|
|
118
|
+
if @api_client.config.client_side_validation && service.nil?
|
|
119
|
+
fail ArgumentError, "Missing the required parameter 'service' when calling AsyncApi.get_async_data1"
|
|
120
|
+
end
|
|
121
|
+
# resource path
|
|
122
|
+
local_var_path = '/async/{integration_type}/{service}/{id}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'integration_type' + '}', integration_type.to_s).sub('{' + 'service' + '}', service.to_s)
|
|
123
|
+
|
|
124
|
+
# query parameters
|
|
125
|
+
query_params = {}
|
|
126
|
+
|
|
127
|
+
# header parameters
|
|
128
|
+
header_params = {}
|
|
129
|
+
# HTTP header 'Accept' (if needed)
|
|
130
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
131
|
+
|
|
132
|
+
# form parameters
|
|
133
|
+
form_params = {}
|
|
134
|
+
|
|
135
|
+
# http body (model)
|
|
136
|
+
post_body = nil
|
|
137
|
+
auth_names = ['oauth2']
|
|
138
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
139
|
+
:header_params => header_params,
|
|
140
|
+
:query_params => query_params,
|
|
141
|
+
:form_params => form_params,
|
|
142
|
+
:body => post_body,
|
|
143
|
+
:auth_names => auth_names,
|
|
144
|
+
:return_type => 'AsyncTransaction')
|
|
145
|
+
if @api_client.config.debugging
|
|
146
|
+
@api_client.config.logger.debug "API called: AsyncApi#get_async_data1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
147
|
+
end
|
|
148
|
+
return data, status_code, headers
|
|
149
|
+
end
|
|
150
|
+
# Create async transaction for POST endpoints for bulk data
|
|
151
|
+
# Create async transaction for POST endpoints for bulk data
|
|
152
|
+
# @param data data
|
|
153
|
+
# @param integration_type String integration_type
|
|
154
|
+
# @param service String service
|
|
155
|
+
# @param [Hash] opts the optional parameters
|
|
156
|
+
# @return [AsyncTransaction]
|
|
157
|
+
def get_async_data2(data, integration_type, service, opts = {})
|
|
158
|
+
data, _status_code, _headers = get_async_data2_with_http_info(data, integration_type, service, opts)
|
|
159
|
+
data
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# Create async transaction for POST endpoints for bulk data
|
|
163
|
+
# Create async transaction for POST endpoints for bulk data
|
|
164
|
+
# @param data data
|
|
165
|
+
# @param integration_type String integration_type
|
|
166
|
+
# @param service String service
|
|
167
|
+
# @param [Hash] opts the optional parameters
|
|
168
|
+
# @return [Array<(AsyncTransaction, Fixnum, Hash)>] AsyncTransaction data, response status code and response headers
|
|
169
|
+
def get_async_data2_with_http_info(data, integration_type, service, opts = {})
|
|
170
|
+
if @api_client.config.debugging
|
|
171
|
+
@api_client.config.logger.debug 'Calling API: AsyncApi.get_async_data2 ...'
|
|
172
|
+
end
|
|
173
|
+
# verify the required parameter 'data' is set
|
|
174
|
+
if @api_client.config.client_side_validation && data.nil?
|
|
175
|
+
fail ArgumentError, "Missing the required parameter 'data' when calling AsyncApi.get_async_data2"
|
|
176
|
+
end
|
|
177
|
+
# verify the required parameter 'integration_type' is set
|
|
178
|
+
if @api_client.config.client_side_validation && integration_type.nil?
|
|
179
|
+
fail ArgumentError, "Missing the required parameter 'integration_type' when calling AsyncApi.get_async_data2"
|
|
180
|
+
end
|
|
181
|
+
# verify the required parameter 'service' is set
|
|
182
|
+
if @api_client.config.client_side_validation && service.nil?
|
|
183
|
+
fail ArgumentError, "Missing the required parameter 'service' when calling AsyncApi.get_async_data2"
|
|
184
|
+
end
|
|
185
|
+
# resource path
|
|
186
|
+
local_var_path = '/async/{integration_type}/{service}'.sub('{' + 'integration_type' + '}', integration_type.to_s).sub('{' + 'service' + '}', service.to_s)
|
|
187
|
+
|
|
188
|
+
# query parameters
|
|
189
|
+
query_params = {}
|
|
190
|
+
|
|
191
|
+
# header parameters
|
|
192
|
+
header_params = {}
|
|
193
|
+
# HTTP header 'Accept' (if needed)
|
|
194
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
195
|
+
# HTTP header 'Content-Type'
|
|
196
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
197
|
+
|
|
198
|
+
# form parameters
|
|
199
|
+
form_params = {}
|
|
200
|
+
|
|
201
|
+
# http body (model)
|
|
202
|
+
post_body = @api_client.object_to_http_body(data)
|
|
203
|
+
auth_names = ['oauth2']
|
|
204
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
205
|
+
:header_params => header_params,
|
|
206
|
+
:query_params => query_params,
|
|
207
|
+
:form_params => form_params,
|
|
208
|
+
:body => post_body,
|
|
209
|
+
:auth_names => auth_names,
|
|
210
|
+
:return_type => 'AsyncTransaction')
|
|
211
|
+
if @api_client.config.debugging
|
|
212
|
+
@api_client.config.logger.debug "API called: AsyncApi#get_async_data2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
213
|
+
end
|
|
214
|
+
return data, status_code, headers
|
|
215
|
+
end
|
|
216
|
+
# Get Status of async transaction created through GET/POST endpoints
|
|
217
|
+
# Get Status of async transaction created through GET/POST endpoints
|
|
218
|
+
# @param id UUID Async Transaction Id
|
|
219
|
+
# @param [Hash] opts the optional parameters
|
|
220
|
+
# @return [AsyncTransactionVO]
|
|
221
|
+
def get_async_status(id, opts = {})
|
|
222
|
+
data, _status_code, _headers = get_async_status_with_http_info(id, opts)
|
|
223
|
+
data
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# Get Status of async transaction created through GET/POST endpoints
|
|
227
|
+
# Get Status of async transaction created through GET/POST endpoints
|
|
228
|
+
# @param id UUID Async Transaction Id
|
|
229
|
+
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @return [Array<(AsyncTransactionVO, Fixnum, Hash)>] AsyncTransactionVO data, response status code and response headers
|
|
231
|
+
def get_async_status_with_http_info(id, opts = {})
|
|
232
|
+
if @api_client.config.debugging
|
|
233
|
+
@api_client.config.logger.debug 'Calling API: AsyncApi.get_async_status ...'
|
|
234
|
+
end
|
|
235
|
+
# verify the required parameter 'id' is set
|
|
236
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
237
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AsyncApi.get_async_status"
|
|
238
|
+
end
|
|
239
|
+
# resource path
|
|
240
|
+
local_var_path = '/async/status/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
241
|
+
|
|
242
|
+
# query parameters
|
|
243
|
+
query_params = {}
|
|
244
|
+
|
|
245
|
+
# header parameters
|
|
246
|
+
header_params = {}
|
|
247
|
+
# HTTP header 'Accept' (if needed)
|
|
248
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
249
|
+
|
|
250
|
+
# form parameters
|
|
251
|
+
form_params = {}
|
|
252
|
+
|
|
253
|
+
# http body (model)
|
|
254
|
+
post_body = nil
|
|
255
|
+
auth_names = ['oauth2']
|
|
256
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
257
|
+
:header_params => header_params,
|
|
258
|
+
:query_params => query_params,
|
|
259
|
+
:form_params => form_params,
|
|
260
|
+
:body => post_body,
|
|
261
|
+
:auth_names => auth_names,
|
|
262
|
+
:return_type => 'AsyncTransactionVO')
|
|
263
|
+
if @api_client.config.debugging
|
|
264
|
+
@api_client.config.logger.debug "API called: AsyncApi#get_async_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
265
|
+
end
|
|
266
|
+
return data, status_code, headers
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
end
|
|
@@ -0,0 +1,518 @@
|
|
|
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 BaasApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# create a Baas account
|
|
23
|
+
# @param baas_account_co baasAccountCO
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @return [BaasAccountVO]
|
|
26
|
+
def create_baas_account_using_post(baas_account_co, opts = {})
|
|
27
|
+
data, _status_code, _headers = create_baas_account_using_post_with_http_info(baas_account_co, opts)
|
|
28
|
+
data
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# create a Baas account
|
|
32
|
+
# @param baas_account_co baasAccountCO
|
|
33
|
+
# @param [Hash] opts the optional parameters
|
|
34
|
+
# @return [Array<(BaasAccountVO, Fixnum, Hash)>] BaasAccountVO data, response status code and response headers
|
|
35
|
+
def create_baas_account_using_post_with_http_info(baas_account_co, opts = {})
|
|
36
|
+
if @api_client.config.debugging
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.create_baas_account_using_post ...'
|
|
38
|
+
end
|
|
39
|
+
# verify the required parameter 'baas_account_co' is set
|
|
40
|
+
if @api_client.config.client_side_validation && baas_account_co.nil?
|
|
41
|
+
fail ArgumentError, "Missing the required parameter 'baas_account_co' when calling BaasApi.create_baas_account_using_post"
|
|
42
|
+
end
|
|
43
|
+
# resource path
|
|
44
|
+
local_var_path = '/baas/account'
|
|
45
|
+
|
|
46
|
+
# query parameters
|
|
47
|
+
query_params = {}
|
|
48
|
+
|
|
49
|
+
# header parameters
|
|
50
|
+
header_params = {}
|
|
51
|
+
# HTTP header 'Accept' (if needed)
|
|
52
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
53
|
+
# HTTP header 'Content-Type'
|
|
54
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
55
|
+
|
|
56
|
+
# form parameters
|
|
57
|
+
form_params = {}
|
|
58
|
+
|
|
59
|
+
# http body (model)
|
|
60
|
+
post_body = @api_client.object_to_http_body(baas_account_co)
|
|
61
|
+
auth_names = ['oauth2']
|
|
62
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
63
|
+
:header_params => header_params,
|
|
64
|
+
:query_params => query_params,
|
|
65
|
+
:form_params => form_params,
|
|
66
|
+
:body => post_body,
|
|
67
|
+
:auth_names => auth_names,
|
|
68
|
+
:return_type => 'BaasAccountVO')
|
|
69
|
+
if @api_client.config.debugging
|
|
70
|
+
@api_client.config.logger.debug "API called: BaasApi#create_baas_account_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
71
|
+
end
|
|
72
|
+
return data, status_code, headers
|
|
73
|
+
end
|
|
74
|
+
# Create a Baas Business
|
|
75
|
+
# @param baas_business_co baasBusinessCO
|
|
76
|
+
# @param [Hash] opts the optional parameters
|
|
77
|
+
# @return [BaasBusinessVO]
|
|
78
|
+
def create_baas_business_using_post(baas_business_co, opts = {})
|
|
79
|
+
data, _status_code, _headers = create_baas_business_using_post_with_http_info(baas_business_co, opts)
|
|
80
|
+
data
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Create a Baas Business
|
|
84
|
+
# @param baas_business_co baasBusinessCO
|
|
85
|
+
# @param [Hash] opts the optional parameters
|
|
86
|
+
# @return [Array<(BaasBusinessVO, Fixnum, Hash)>] BaasBusinessVO data, response status code and response headers
|
|
87
|
+
def create_baas_business_using_post_with_http_info(baas_business_co, opts = {})
|
|
88
|
+
if @api_client.config.debugging
|
|
89
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.create_baas_business_using_post ...'
|
|
90
|
+
end
|
|
91
|
+
# verify the required parameter 'baas_business_co' is set
|
|
92
|
+
if @api_client.config.client_side_validation && baas_business_co.nil?
|
|
93
|
+
fail ArgumentError, "Missing the required parameter 'baas_business_co' when calling BaasApi.create_baas_business_using_post"
|
|
94
|
+
end
|
|
95
|
+
# resource path
|
|
96
|
+
local_var_path = '/baas/business'
|
|
97
|
+
|
|
98
|
+
# query parameters
|
|
99
|
+
query_params = {}
|
|
100
|
+
|
|
101
|
+
# header parameters
|
|
102
|
+
header_params = {}
|
|
103
|
+
# HTTP header 'Accept' (if needed)
|
|
104
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
105
|
+
# HTTP header 'Content-Type'
|
|
106
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
107
|
+
|
|
108
|
+
# form parameters
|
|
109
|
+
form_params = {}
|
|
110
|
+
|
|
111
|
+
# http body (model)
|
|
112
|
+
post_body = @api_client.object_to_http_body(baas_business_co)
|
|
113
|
+
auth_names = ['oauth2']
|
|
114
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
115
|
+
:header_params => header_params,
|
|
116
|
+
:query_params => query_params,
|
|
117
|
+
:form_params => form_params,
|
|
118
|
+
:body => post_body,
|
|
119
|
+
:auth_names => auth_names,
|
|
120
|
+
:return_type => 'BaasBusinessVO')
|
|
121
|
+
if @api_client.config.debugging
|
|
122
|
+
@api_client.config.logger.debug "API called: BaasApi#create_baas_business_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
123
|
+
end
|
|
124
|
+
return data, status_code, headers
|
|
125
|
+
end
|
|
126
|
+
# Create a Baas Client
|
|
127
|
+
# @param baas_client_co baasClientCO
|
|
128
|
+
# @param [Hash] opts the optional parameters
|
|
129
|
+
# @return [BaasClientVO]
|
|
130
|
+
def create_baas_client_using_post(baas_client_co, opts = {})
|
|
131
|
+
data, _status_code, _headers = create_baas_client_using_post_with_http_info(baas_client_co, opts)
|
|
132
|
+
data
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Create a Baas Client
|
|
136
|
+
# @param baas_client_co baasClientCO
|
|
137
|
+
# @param [Hash] opts the optional parameters
|
|
138
|
+
# @return [Array<(BaasClientVO, Fixnum, Hash)>] BaasClientVO data, response status code and response headers
|
|
139
|
+
def create_baas_client_using_post_with_http_info(baas_client_co, opts = {})
|
|
140
|
+
if @api_client.config.debugging
|
|
141
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.create_baas_client_using_post ...'
|
|
142
|
+
end
|
|
143
|
+
# verify the required parameter 'baas_client_co' is set
|
|
144
|
+
if @api_client.config.client_side_validation && baas_client_co.nil?
|
|
145
|
+
fail ArgumentError, "Missing the required parameter 'baas_client_co' when calling BaasApi.create_baas_client_using_post"
|
|
146
|
+
end
|
|
147
|
+
# resource path
|
|
148
|
+
local_var_path = '/baas/client'
|
|
149
|
+
|
|
150
|
+
# query parameters
|
|
151
|
+
query_params = {}
|
|
152
|
+
|
|
153
|
+
# header parameters
|
|
154
|
+
header_params = {}
|
|
155
|
+
# HTTP header 'Accept' (if needed)
|
|
156
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
157
|
+
# HTTP header 'Content-Type'
|
|
158
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
159
|
+
|
|
160
|
+
# form parameters
|
|
161
|
+
form_params = {}
|
|
162
|
+
|
|
163
|
+
# http body (model)
|
|
164
|
+
post_body = @api_client.object_to_http_body(baas_client_co)
|
|
165
|
+
auth_names = ['oauth2']
|
|
166
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
167
|
+
:header_params => header_params,
|
|
168
|
+
:query_params => query_params,
|
|
169
|
+
:form_params => form_params,
|
|
170
|
+
:body => post_body,
|
|
171
|
+
:auth_names => auth_names,
|
|
172
|
+
:return_type => 'BaasClientVO')
|
|
173
|
+
if @api_client.config.debugging
|
|
174
|
+
@api_client.config.logger.debug "API called: BaasApi#create_baas_client_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
175
|
+
end
|
|
176
|
+
return data, status_code, headers
|
|
177
|
+
end
|
|
178
|
+
# create a Baas subaccount
|
|
179
|
+
# @param baas_sub_account_co baasSubAccountCO
|
|
180
|
+
# @param [Hash] opts the optional parameters
|
|
181
|
+
# @return [BaasSubAccountVO]
|
|
182
|
+
def create_baas_sub_account_using_post(baas_sub_account_co, opts = {})
|
|
183
|
+
data, _status_code, _headers = create_baas_sub_account_using_post_with_http_info(baas_sub_account_co, opts)
|
|
184
|
+
data
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# create a Baas subaccount
|
|
188
|
+
# @param baas_sub_account_co baasSubAccountCO
|
|
189
|
+
# @param [Hash] opts the optional parameters
|
|
190
|
+
# @return [Array<(BaasSubAccountVO, Fixnum, Hash)>] BaasSubAccountVO data, response status code and response headers
|
|
191
|
+
def create_baas_sub_account_using_post_with_http_info(baas_sub_account_co, opts = {})
|
|
192
|
+
if @api_client.config.debugging
|
|
193
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.create_baas_sub_account_using_post ...'
|
|
194
|
+
end
|
|
195
|
+
# verify the required parameter 'baas_sub_account_co' is set
|
|
196
|
+
if @api_client.config.client_side_validation && baas_sub_account_co.nil?
|
|
197
|
+
fail ArgumentError, "Missing the required parameter 'baas_sub_account_co' when calling BaasApi.create_baas_sub_account_using_post"
|
|
198
|
+
end
|
|
199
|
+
# resource path
|
|
200
|
+
local_var_path = '/baas/subaccount'
|
|
201
|
+
|
|
202
|
+
# query parameters
|
|
203
|
+
query_params = {}
|
|
204
|
+
|
|
205
|
+
# header parameters
|
|
206
|
+
header_params = {}
|
|
207
|
+
# HTTP header 'Accept' (if needed)
|
|
208
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
209
|
+
# HTTP header 'Content-Type'
|
|
210
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
211
|
+
|
|
212
|
+
# form parameters
|
|
213
|
+
form_params = {}
|
|
214
|
+
|
|
215
|
+
# http body (model)
|
|
216
|
+
post_body = @api_client.object_to_http_body(baas_sub_account_co)
|
|
217
|
+
auth_names = ['oauth2']
|
|
218
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
219
|
+
:header_params => header_params,
|
|
220
|
+
:query_params => query_params,
|
|
221
|
+
:form_params => form_params,
|
|
222
|
+
:body => post_body,
|
|
223
|
+
:auth_names => auth_names,
|
|
224
|
+
:return_type => 'BaasSubAccountVO')
|
|
225
|
+
if @api_client.config.debugging
|
|
226
|
+
@api_client.config.logger.debug "API called: BaasApi#create_baas_sub_account_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
227
|
+
end
|
|
228
|
+
return data, status_code, headers
|
|
229
|
+
end
|
|
230
|
+
# Get a Baas account statement
|
|
231
|
+
# @param end_date end_date
|
|
232
|
+
# @param nucleus_account_id nucleus_account_id
|
|
233
|
+
# @param start_date start_date
|
|
234
|
+
# @param [Hash] opts the optional parameters
|
|
235
|
+
# @option opts [String] :statement_type statement_type
|
|
236
|
+
# @return [BaasStatementsVO]
|
|
237
|
+
def get_baas_account_statement_using_get(end_date, nucleus_account_id, start_date, opts = {})
|
|
238
|
+
data, _status_code, _headers = get_baas_account_statement_using_get_with_http_info(end_date, nucleus_account_id, start_date, opts)
|
|
239
|
+
data
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# Get a Baas account statement
|
|
243
|
+
# @param end_date end_date
|
|
244
|
+
# @param nucleus_account_id nucleus_account_id
|
|
245
|
+
# @param start_date start_date
|
|
246
|
+
# @param [Hash] opts the optional parameters
|
|
247
|
+
# @option opts [String] :statement_type statement_type
|
|
248
|
+
# @return [Array<(BaasStatementsVO, Fixnum, Hash)>] BaasStatementsVO data, response status code and response headers
|
|
249
|
+
def get_baas_account_statement_using_get_with_http_info(end_date, nucleus_account_id, start_date, opts = {})
|
|
250
|
+
if @api_client.config.debugging
|
|
251
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.get_baas_account_statement_using_get ...'
|
|
252
|
+
end
|
|
253
|
+
# verify the required parameter 'end_date' is set
|
|
254
|
+
if @api_client.config.client_side_validation && end_date.nil?
|
|
255
|
+
fail ArgumentError, "Missing the required parameter 'end_date' when calling BaasApi.get_baas_account_statement_using_get"
|
|
256
|
+
end
|
|
257
|
+
# verify the required parameter 'nucleus_account_id' is set
|
|
258
|
+
if @api_client.config.client_side_validation && nucleus_account_id.nil?
|
|
259
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_account_id' when calling BaasApi.get_baas_account_statement_using_get"
|
|
260
|
+
end
|
|
261
|
+
# verify the required parameter 'start_date' is set
|
|
262
|
+
if @api_client.config.client_side_validation && start_date.nil?
|
|
263
|
+
fail ArgumentError, "Missing the required parameter 'start_date' when calling BaasApi.get_baas_account_statement_using_get"
|
|
264
|
+
end
|
|
265
|
+
# resource path
|
|
266
|
+
local_var_path = '/baas/statement/{nucleus_account_id}'.sub('{' + 'nucleus_account_id' + '}', nucleus_account_id.to_s)
|
|
267
|
+
|
|
268
|
+
# query parameters
|
|
269
|
+
query_params = {}
|
|
270
|
+
query_params[:'end_date'] = end_date
|
|
271
|
+
query_params[:'start_date'] = start_date
|
|
272
|
+
query_params[:'statement_type'] = opts[:'statement_type'] if !opts[:'statement_type'].nil?
|
|
273
|
+
|
|
274
|
+
# header parameters
|
|
275
|
+
header_params = {}
|
|
276
|
+
# HTTP header 'Accept' (if needed)
|
|
277
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
278
|
+
|
|
279
|
+
# form parameters
|
|
280
|
+
form_params = {}
|
|
281
|
+
|
|
282
|
+
# http body (model)
|
|
283
|
+
post_body = nil
|
|
284
|
+
auth_names = ['oauth2']
|
|
285
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
286
|
+
:header_params => header_params,
|
|
287
|
+
:query_params => query_params,
|
|
288
|
+
:form_params => form_params,
|
|
289
|
+
:body => post_body,
|
|
290
|
+
:auth_names => auth_names,
|
|
291
|
+
:return_type => 'BaasStatementsVO')
|
|
292
|
+
if @api_client.config.debugging
|
|
293
|
+
@api_client.config.logger.debug "API called: BaasApi#get_baas_account_statement_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
294
|
+
end
|
|
295
|
+
return data, status_code, headers
|
|
296
|
+
end
|
|
297
|
+
# Get a Baas portfolio balance
|
|
298
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
|
299
|
+
# @param [Hash] opts the optional parameters
|
|
300
|
+
# @option opts [Date] :end_date end_date
|
|
301
|
+
# @option opts [Date] :start_date start_date
|
|
302
|
+
# @return [BaasBalanceVO]
|
|
303
|
+
def get_baas_portfolio_balance_using_get(nucleus_portfolio_id, opts = {})
|
|
304
|
+
data, _status_code, _headers = get_baas_portfolio_balance_using_get_with_http_info(nucleus_portfolio_id, opts)
|
|
305
|
+
data
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Get a Baas portfolio balance
|
|
309
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
|
310
|
+
# @param [Hash] opts the optional parameters
|
|
311
|
+
# @option opts [Date] :end_date end_date
|
|
312
|
+
# @option opts [Date] :start_date start_date
|
|
313
|
+
# @return [Array<(BaasBalanceVO, Fixnum, Hash)>] BaasBalanceVO data, response status code and response headers
|
|
314
|
+
def get_baas_portfolio_balance_using_get_with_http_info(nucleus_portfolio_id, opts = {})
|
|
315
|
+
if @api_client.config.debugging
|
|
316
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.get_baas_portfolio_balance_using_get ...'
|
|
317
|
+
end
|
|
318
|
+
# verify the required parameter 'nucleus_portfolio_id' is set
|
|
319
|
+
if @api_client.config.client_side_validation && nucleus_portfolio_id.nil?
|
|
320
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_portfolio_id' when calling BaasApi.get_baas_portfolio_balance_using_get"
|
|
321
|
+
end
|
|
322
|
+
# resource path
|
|
323
|
+
local_var_path = '/baas/balance/{nucleus_portfolio_id}'.sub('{' + 'nucleus_portfolio_id' + '}', nucleus_portfolio_id.to_s)
|
|
324
|
+
|
|
325
|
+
# query parameters
|
|
326
|
+
query_params = {}
|
|
327
|
+
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
|
328
|
+
query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
|
329
|
+
|
|
330
|
+
# header parameters
|
|
331
|
+
header_params = {}
|
|
332
|
+
# HTTP header 'Accept' (if needed)
|
|
333
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
334
|
+
|
|
335
|
+
# form parameters
|
|
336
|
+
form_params = {}
|
|
337
|
+
|
|
338
|
+
# http body (model)
|
|
339
|
+
post_body = nil
|
|
340
|
+
auth_names = ['oauth2']
|
|
341
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
342
|
+
:header_params => header_params,
|
|
343
|
+
:query_params => query_params,
|
|
344
|
+
:form_params => form_params,
|
|
345
|
+
:body => post_body,
|
|
346
|
+
:auth_names => auth_names,
|
|
347
|
+
:return_type => 'BaasBalanceVO')
|
|
348
|
+
if @api_client.config.debugging
|
|
349
|
+
@api_client.config.logger.debug "API called: BaasApi#get_baas_portfolio_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
350
|
+
end
|
|
351
|
+
return data, status_code, headers
|
|
352
|
+
end
|
|
353
|
+
# Get a Baas portfolio transaction
|
|
354
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
|
355
|
+
# @param [Hash] opts the optional parameters
|
|
356
|
+
# @option opts [Date] :end_date end_date
|
|
357
|
+
# @option opts [Date] :start_date start_date
|
|
358
|
+
# @return [BaasTransactionsVO]
|
|
359
|
+
def get_baas_portfolio_transaction_using_get(nucleus_portfolio_id, opts = {})
|
|
360
|
+
data, _status_code, _headers = get_baas_portfolio_transaction_using_get_with_http_info(nucleus_portfolio_id, opts)
|
|
361
|
+
data
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# Get a Baas portfolio transaction
|
|
365
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
|
366
|
+
# @param [Hash] opts the optional parameters
|
|
367
|
+
# @option opts [Date] :end_date end_date
|
|
368
|
+
# @option opts [Date] :start_date start_date
|
|
369
|
+
# @return [Array<(BaasTransactionsVO, Fixnum, Hash)>] BaasTransactionsVO data, response status code and response headers
|
|
370
|
+
def get_baas_portfolio_transaction_using_get_with_http_info(nucleus_portfolio_id, opts = {})
|
|
371
|
+
if @api_client.config.debugging
|
|
372
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.get_baas_portfolio_transaction_using_get ...'
|
|
373
|
+
end
|
|
374
|
+
# verify the required parameter 'nucleus_portfolio_id' is set
|
|
375
|
+
if @api_client.config.client_side_validation && nucleus_portfolio_id.nil?
|
|
376
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_portfolio_id' when calling BaasApi.get_baas_portfolio_transaction_using_get"
|
|
377
|
+
end
|
|
378
|
+
# resource path
|
|
379
|
+
local_var_path = '/baas/transaction/{nucleus_portfolio_id}'.sub('{' + 'nucleus_portfolio_id' + '}', nucleus_portfolio_id.to_s)
|
|
380
|
+
|
|
381
|
+
# query parameters
|
|
382
|
+
query_params = {}
|
|
383
|
+
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
|
384
|
+
query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
|
385
|
+
|
|
386
|
+
# header parameters
|
|
387
|
+
header_params = {}
|
|
388
|
+
# HTTP header 'Accept' (if needed)
|
|
389
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
390
|
+
|
|
391
|
+
# form parameters
|
|
392
|
+
form_params = {}
|
|
393
|
+
|
|
394
|
+
# http body (model)
|
|
395
|
+
post_body = nil
|
|
396
|
+
auth_names = ['oauth2']
|
|
397
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
398
|
+
:header_params => header_params,
|
|
399
|
+
:query_params => query_params,
|
|
400
|
+
:form_params => form_params,
|
|
401
|
+
:body => post_body,
|
|
402
|
+
:auth_names => auth_names,
|
|
403
|
+
:return_type => 'BaasTransactionsVO')
|
|
404
|
+
if @api_client.config.debugging
|
|
405
|
+
@api_client.config.logger.debug "API called: BaasApi#get_baas_portfolio_transaction_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
406
|
+
end
|
|
407
|
+
return data, status_code, headers
|
|
408
|
+
end
|
|
409
|
+
# Update a Baas business
|
|
410
|
+
# @param nucleus_business_id nucleus_business_id
|
|
411
|
+
# @param [Hash] opts the optional parameters
|
|
412
|
+
# @option opts [UpdateBaasBusinessCO] :baas_business_co baasBusinessCO
|
|
413
|
+
# @return [BaasBusinessVO]
|
|
414
|
+
def update_baas_business_using_put(nucleus_business_id, opts = {})
|
|
415
|
+
data, _status_code, _headers = update_baas_business_using_put_with_http_info(nucleus_business_id, opts)
|
|
416
|
+
data
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
# Update a Baas business
|
|
420
|
+
# @param nucleus_business_id nucleus_business_id
|
|
421
|
+
# @param [Hash] opts the optional parameters
|
|
422
|
+
# @option opts [UpdateBaasBusinessCO] :baas_business_co baasBusinessCO
|
|
423
|
+
# @return [Array<(BaasBusinessVO, Fixnum, Hash)>] BaasBusinessVO data, response status code and response headers
|
|
424
|
+
def update_baas_business_using_put_with_http_info(nucleus_business_id, opts = {})
|
|
425
|
+
if @api_client.config.debugging
|
|
426
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.update_baas_business_using_put ...'
|
|
427
|
+
end
|
|
428
|
+
# verify the required parameter 'nucleus_business_id' is set
|
|
429
|
+
if @api_client.config.client_side_validation && nucleus_business_id.nil?
|
|
430
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_business_id' when calling BaasApi.update_baas_business_using_put"
|
|
431
|
+
end
|
|
432
|
+
# resource path
|
|
433
|
+
local_var_path = '/baas/business/{nucleus_business_id}'.sub('{' + 'nucleus_business_id' + '}', nucleus_business_id.to_s)
|
|
434
|
+
|
|
435
|
+
# query parameters
|
|
436
|
+
query_params = {}
|
|
437
|
+
|
|
438
|
+
# header parameters
|
|
439
|
+
header_params = {}
|
|
440
|
+
# HTTP header 'Accept' (if needed)
|
|
441
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
442
|
+
# HTTP header 'Content-Type'
|
|
443
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
444
|
+
|
|
445
|
+
# form parameters
|
|
446
|
+
form_params = {}
|
|
447
|
+
|
|
448
|
+
# http body (model)
|
|
449
|
+
post_body = @api_client.object_to_http_body(opts[:'baas_business_co'])
|
|
450
|
+
auth_names = ['oauth2']
|
|
451
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
452
|
+
:header_params => header_params,
|
|
453
|
+
:query_params => query_params,
|
|
454
|
+
:form_params => form_params,
|
|
455
|
+
:body => post_body,
|
|
456
|
+
:auth_names => auth_names,
|
|
457
|
+
:return_type => 'BaasBusinessVO')
|
|
458
|
+
if @api_client.config.debugging
|
|
459
|
+
@api_client.config.logger.debug "API called: BaasApi#update_baas_business_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
460
|
+
end
|
|
461
|
+
return data, status_code, headers
|
|
462
|
+
end
|
|
463
|
+
# Update a Baas client
|
|
464
|
+
# @param nucleus_client_id nucleus_client_id
|
|
465
|
+
# @param [Hash] opts the optional parameters
|
|
466
|
+
# @option opts [UpdateBaasClientCO] :baas_client_co baasClientCO
|
|
467
|
+
# @return [BaasClientVO]
|
|
468
|
+
def update_baas_client_using_put(nucleus_client_id, opts = {})
|
|
469
|
+
data, _status_code, _headers = update_baas_client_using_put_with_http_info(nucleus_client_id, opts)
|
|
470
|
+
data
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# Update a Baas client
|
|
474
|
+
# @param nucleus_client_id nucleus_client_id
|
|
475
|
+
# @param [Hash] opts the optional parameters
|
|
476
|
+
# @option opts [UpdateBaasClientCO] :baas_client_co baasClientCO
|
|
477
|
+
# @return [Array<(BaasClientVO, Fixnum, Hash)>] BaasClientVO data, response status code and response headers
|
|
478
|
+
def update_baas_client_using_put_with_http_info(nucleus_client_id, opts = {})
|
|
479
|
+
if @api_client.config.debugging
|
|
480
|
+
@api_client.config.logger.debug 'Calling API: BaasApi.update_baas_client_using_put ...'
|
|
481
|
+
end
|
|
482
|
+
# verify the required parameter 'nucleus_client_id' is set
|
|
483
|
+
if @api_client.config.client_side_validation && nucleus_client_id.nil?
|
|
484
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling BaasApi.update_baas_client_using_put"
|
|
485
|
+
end
|
|
486
|
+
# resource path
|
|
487
|
+
local_var_path = '/baas/client/{nucleus_client_id}'.sub('{' + 'nucleus_client_id' + '}', nucleus_client_id.to_s)
|
|
488
|
+
|
|
489
|
+
# query parameters
|
|
490
|
+
query_params = {}
|
|
491
|
+
|
|
492
|
+
# header parameters
|
|
493
|
+
header_params = {}
|
|
494
|
+
# HTTP header 'Accept' (if needed)
|
|
495
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
496
|
+
# HTTP header 'Content-Type'
|
|
497
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
498
|
+
|
|
499
|
+
# form parameters
|
|
500
|
+
form_params = {}
|
|
501
|
+
|
|
502
|
+
# http body (model)
|
|
503
|
+
post_body = @api_client.object_to_http_body(opts[:'baas_client_co'])
|
|
504
|
+
auth_names = ['oauth2']
|
|
505
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
506
|
+
:header_params => header_params,
|
|
507
|
+
:query_params => query_params,
|
|
508
|
+
:form_params => form_params,
|
|
509
|
+
:body => post_body,
|
|
510
|
+
:auth_names => auth_names,
|
|
511
|
+
:return_type => 'BaasClientVO')
|
|
512
|
+
if @api_client.config.debugging
|
|
513
|
+
@api_client.config.logger.debug "API called: BaasApi#update_baas_client_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
514
|
+
end
|
|
515
|
+
return data, status_code, headers
|
|
516
|
+
end
|
|
517
|
+
end
|
|
518
|
+
end
|