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,301 @@
|
|
|
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 WebhookApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create a webhook
|
|
23
|
+
# One active webhook service is allowed at all times.
|
|
24
|
+
# @param webhook_request webhookRequest
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [Webhook]
|
|
27
|
+
def create_webhook_using_post(webhook_request, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_webhook_using_post_with_http_info(webhook_request, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create a webhook
|
|
33
|
+
# One active webhook service is allowed at all times.
|
|
34
|
+
# @param webhook_request webhookRequest
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
|
|
37
|
+
def create_webhook_using_post_with_http_info(webhook_request, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: WebhookApi.create_webhook_using_post ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'webhook_request' is set
|
|
42
|
+
if @api_client.config.client_side_validation && webhook_request.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'webhook_request' when calling WebhookApi.create_webhook_using_post"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/webhook'
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = {}
|
|
50
|
+
|
|
51
|
+
# header parameters
|
|
52
|
+
header_params = {}
|
|
53
|
+
# HTTP header 'Accept' (if needed)
|
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
55
|
+
# HTTP header 'Content-Type'
|
|
56
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
57
|
+
|
|
58
|
+
# form parameters
|
|
59
|
+
form_params = {}
|
|
60
|
+
|
|
61
|
+
# http body (model)
|
|
62
|
+
post_body = @api_client.object_to_http_body(webhook_request)
|
|
63
|
+
auth_names = ['oauth2']
|
|
64
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
65
|
+
:header_params => header_params,
|
|
66
|
+
:query_params => query_params,
|
|
67
|
+
:form_params => form_params,
|
|
68
|
+
:body => post_body,
|
|
69
|
+
:auth_names => auth_names,
|
|
70
|
+
:return_type => 'Webhook')
|
|
71
|
+
if @api_client.config.debugging
|
|
72
|
+
@api_client.config.logger.debug "API called: WebhookApi#create_webhook_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
|
+
end
|
|
74
|
+
return data, status_code, headers
|
|
75
|
+
end
|
|
76
|
+
# Delete a webhook
|
|
77
|
+
# Permanently delete a webhook for your business. The webhook_id must be provided.
|
|
78
|
+
# @param webhook_id UUID webhook_id
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [nil]
|
|
81
|
+
def delete_webhook_using_delete(webhook_id, opts = {})
|
|
82
|
+
delete_webhook_using_delete_with_http_info(webhook_id, opts)
|
|
83
|
+
nil
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Delete a webhook
|
|
87
|
+
# Permanently delete a webhook for your business. The webhook_id must be provided.
|
|
88
|
+
# @param webhook_id UUID webhook_id
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
91
|
+
def delete_webhook_using_delete_with_http_info(webhook_id, opts = {})
|
|
92
|
+
if @api_client.config.debugging
|
|
93
|
+
@api_client.config.logger.debug 'Calling API: WebhookApi.delete_webhook_using_delete ...'
|
|
94
|
+
end
|
|
95
|
+
# verify the required parameter 'webhook_id' is set
|
|
96
|
+
if @api_client.config.client_side_validation && webhook_id.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhookApi.delete_webhook_using_delete"
|
|
98
|
+
end
|
|
99
|
+
# resource path
|
|
100
|
+
local_var_path = '/webhook/{webhook_id}'.sub('{' + 'webhook_id' + '}', webhook_id.to_s)
|
|
101
|
+
|
|
102
|
+
# query parameters
|
|
103
|
+
query_params = {}
|
|
104
|
+
|
|
105
|
+
# header parameters
|
|
106
|
+
header_params = {}
|
|
107
|
+
# HTTP header 'Accept' (if needed)
|
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
109
|
+
|
|
110
|
+
# form parameters
|
|
111
|
+
form_params = {}
|
|
112
|
+
|
|
113
|
+
# http body (model)
|
|
114
|
+
post_body = nil
|
|
115
|
+
auth_names = ['oauth2']
|
|
116
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
117
|
+
:header_params => header_params,
|
|
118
|
+
:query_params => query_params,
|
|
119
|
+
:form_params => form_params,
|
|
120
|
+
:body => post_body,
|
|
121
|
+
:auth_names => auth_names)
|
|
122
|
+
if @api_client.config.debugging
|
|
123
|
+
@api_client.config.logger.debug "API called: WebhookApi#delete_webhook_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
124
|
+
end
|
|
125
|
+
return data, status_code, headers
|
|
126
|
+
end
|
|
127
|
+
# List all webhooks
|
|
128
|
+
# Get information for all webhooks defined for your business.
|
|
129
|
+
# @param [Hash] opts the optional parameters
|
|
130
|
+
# @option opts [BOOLEAN] :ascending ascending (default to false)
|
|
131
|
+
# @option opts [String] :filter filter
|
|
132
|
+
# @option opts [String] :order_by order_by (default to update_date)
|
|
133
|
+
# @option opts [Integer] :page page (default to 0)
|
|
134
|
+
# @option opts [Integer] :size size (default to 25)
|
|
135
|
+
# @return [PageWebhook]
|
|
136
|
+
def get_webhook_all_using_get(opts = {})
|
|
137
|
+
data, _status_code, _headers = get_webhook_all_using_get_with_http_info(opts)
|
|
138
|
+
data
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# List all webhooks
|
|
142
|
+
# Get information for all webhooks defined for your business.
|
|
143
|
+
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @option opts [BOOLEAN] :ascending ascending
|
|
145
|
+
# @option opts [String] :filter filter
|
|
146
|
+
# @option opts [String] :order_by order_by
|
|
147
|
+
# @option opts [Integer] :page page
|
|
148
|
+
# @option opts [Integer] :size size
|
|
149
|
+
# @return [Array<(PageWebhook, Fixnum, Hash)>] PageWebhook data, response status code and response headers
|
|
150
|
+
def get_webhook_all_using_get_with_http_info(opts = {})
|
|
151
|
+
if @api_client.config.debugging
|
|
152
|
+
@api_client.config.logger.debug 'Calling API: WebhookApi.get_webhook_all_using_get ...'
|
|
153
|
+
end
|
|
154
|
+
# resource path
|
|
155
|
+
local_var_path = '/webhook'
|
|
156
|
+
|
|
157
|
+
# query parameters
|
|
158
|
+
query_params = {}
|
|
159
|
+
query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
|
|
160
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
161
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
|
162
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
163
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
164
|
+
|
|
165
|
+
# header parameters
|
|
166
|
+
header_params = {}
|
|
167
|
+
# HTTP header 'Accept' (if needed)
|
|
168
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
169
|
+
|
|
170
|
+
# form parameters
|
|
171
|
+
form_params = {}
|
|
172
|
+
|
|
173
|
+
# http body (model)
|
|
174
|
+
post_body = nil
|
|
175
|
+
auth_names = ['oauth2']
|
|
176
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
177
|
+
:header_params => header_params,
|
|
178
|
+
:query_params => query_params,
|
|
179
|
+
:form_params => form_params,
|
|
180
|
+
:body => post_body,
|
|
181
|
+
:auth_names => auth_names,
|
|
182
|
+
:return_type => 'PageWebhook')
|
|
183
|
+
if @api_client.config.debugging
|
|
184
|
+
@api_client.config.logger.debug "API called: WebhookApi#get_webhook_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
185
|
+
end
|
|
186
|
+
return data, status_code, headers
|
|
187
|
+
end
|
|
188
|
+
# Retrieve a webhook
|
|
189
|
+
# Retrieve the information for a specific webhook. The webhook_id must be provided.
|
|
190
|
+
# @param webhook_id UUID webhook_id
|
|
191
|
+
# @param [Hash] opts the optional parameters
|
|
192
|
+
# @return [Webhook]
|
|
193
|
+
def get_webhook_using_get(webhook_id, opts = {})
|
|
194
|
+
data, _status_code, _headers = get_webhook_using_get_with_http_info(webhook_id, opts)
|
|
195
|
+
data
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Retrieve a webhook
|
|
199
|
+
# Retrieve the information for a specific webhook. The webhook_id must be provided.
|
|
200
|
+
# @param webhook_id UUID webhook_id
|
|
201
|
+
# @param [Hash] opts the optional parameters
|
|
202
|
+
# @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
|
|
203
|
+
def get_webhook_using_get_with_http_info(webhook_id, opts = {})
|
|
204
|
+
if @api_client.config.debugging
|
|
205
|
+
@api_client.config.logger.debug 'Calling API: WebhookApi.get_webhook_using_get ...'
|
|
206
|
+
end
|
|
207
|
+
# verify the required parameter 'webhook_id' is set
|
|
208
|
+
if @api_client.config.client_side_validation && webhook_id.nil?
|
|
209
|
+
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhookApi.get_webhook_using_get"
|
|
210
|
+
end
|
|
211
|
+
# resource path
|
|
212
|
+
local_var_path = '/webhook/{webhook_id}'.sub('{' + 'webhook_id' + '}', webhook_id.to_s)
|
|
213
|
+
|
|
214
|
+
# query parameters
|
|
215
|
+
query_params = {}
|
|
216
|
+
|
|
217
|
+
# header parameters
|
|
218
|
+
header_params = {}
|
|
219
|
+
# HTTP header 'Accept' (if needed)
|
|
220
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
221
|
+
|
|
222
|
+
# form parameters
|
|
223
|
+
form_params = {}
|
|
224
|
+
|
|
225
|
+
# http body (model)
|
|
226
|
+
post_body = nil
|
|
227
|
+
auth_names = ['oauth2']
|
|
228
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
229
|
+
:header_params => header_params,
|
|
230
|
+
:query_params => query_params,
|
|
231
|
+
:form_params => form_params,
|
|
232
|
+
:body => post_body,
|
|
233
|
+
:auth_names => auth_names,
|
|
234
|
+
:return_type => 'Webhook')
|
|
235
|
+
if @api_client.config.debugging
|
|
236
|
+
@api_client.config.logger.debug "API called: WebhookApi#get_webhook_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
237
|
+
end
|
|
238
|
+
return data, status_code, headers
|
|
239
|
+
end
|
|
240
|
+
# Update a webhook
|
|
241
|
+
# Update a webhook for your business. The webhook_id must be provided
|
|
242
|
+
# @param webhook webhook
|
|
243
|
+
# @param webhook_id UUID webhook_id
|
|
244
|
+
# @param [Hash] opts the optional parameters
|
|
245
|
+
# @return [Webhook]
|
|
246
|
+
def update_webhook_using_put(webhook, webhook_id, opts = {})
|
|
247
|
+
data, _status_code, _headers = update_webhook_using_put_with_http_info(webhook, webhook_id, opts)
|
|
248
|
+
data
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Update a webhook
|
|
252
|
+
# Update a webhook for your business. The webhook_id must be provided
|
|
253
|
+
# @param webhook webhook
|
|
254
|
+
# @param webhook_id UUID webhook_id
|
|
255
|
+
# @param [Hash] opts the optional parameters
|
|
256
|
+
# @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
|
|
257
|
+
def update_webhook_using_put_with_http_info(webhook, webhook_id, opts = {})
|
|
258
|
+
if @api_client.config.debugging
|
|
259
|
+
@api_client.config.logger.debug 'Calling API: WebhookApi.update_webhook_using_put ...'
|
|
260
|
+
end
|
|
261
|
+
# verify the required parameter 'webhook' is set
|
|
262
|
+
if @api_client.config.client_side_validation && webhook.nil?
|
|
263
|
+
fail ArgumentError, "Missing the required parameter 'webhook' when calling WebhookApi.update_webhook_using_put"
|
|
264
|
+
end
|
|
265
|
+
# verify the required parameter 'webhook_id' is set
|
|
266
|
+
if @api_client.config.client_side_validation && webhook_id.nil?
|
|
267
|
+
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhookApi.update_webhook_using_put"
|
|
268
|
+
end
|
|
269
|
+
# resource path
|
|
270
|
+
local_var_path = '/webhook/{webhook_id}'.sub('{' + 'webhook_id' + '}', webhook_id.to_s)
|
|
271
|
+
|
|
272
|
+
# query parameters
|
|
273
|
+
query_params = {}
|
|
274
|
+
|
|
275
|
+
# header parameters
|
|
276
|
+
header_params = {}
|
|
277
|
+
# HTTP header 'Accept' (if needed)
|
|
278
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
279
|
+
# HTTP header 'Content-Type'
|
|
280
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
281
|
+
|
|
282
|
+
# form parameters
|
|
283
|
+
form_params = {}
|
|
284
|
+
|
|
285
|
+
# http body (model)
|
|
286
|
+
post_body = @api_client.object_to_http_body(webhook)
|
|
287
|
+
auth_names = ['oauth2']
|
|
288
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
289
|
+
:header_params => header_params,
|
|
290
|
+
:query_params => query_params,
|
|
291
|
+
:form_params => form_params,
|
|
292
|
+
:body => post_body,
|
|
293
|
+
:auth_names => auth_names,
|
|
294
|
+
:return_type => 'Webhook')
|
|
295
|
+
if @api_client.config.debugging
|
|
296
|
+
@api_client.config.logger.debug "API called: WebhookApi#update_webhook_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
297
|
+
end
|
|
298
|
+
return data, status_code, headers
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
end
|
|
@@ -0,0 +1,479 @@
|
|
|
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 WireApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Cancel the Wire transfer
|
|
23
|
+
# @param nucleus_funding_id nucleus_funding_id
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @return [WireTransferResponseVO]
|
|
26
|
+
def cancel_wire_transfer_using_delete(nucleus_funding_id, opts = {})
|
|
27
|
+
data, _status_code, _headers = cancel_wire_transfer_using_delete_with_http_info(nucleus_funding_id, opts)
|
|
28
|
+
data
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Cancel the Wire transfer
|
|
32
|
+
# @param nucleus_funding_id nucleus_funding_id
|
|
33
|
+
# @param [Hash] opts the optional parameters
|
|
34
|
+
# @return [Array<(WireTransferResponseVO, Fixnum, Hash)>] WireTransferResponseVO data, response status code and response headers
|
|
35
|
+
def cancel_wire_transfer_using_delete_with_http_info(nucleus_funding_id, opts = {})
|
|
36
|
+
if @api_client.config.debugging
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: WireApi.cancel_wire_transfer_using_delete ...'
|
|
38
|
+
end
|
|
39
|
+
# verify the required parameter 'nucleus_funding_id' is set
|
|
40
|
+
if @api_client.config.client_side_validation && nucleus_funding_id.nil?
|
|
41
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_funding_id' when calling WireApi.cancel_wire_transfer_using_delete"
|
|
42
|
+
end
|
|
43
|
+
# resource path
|
|
44
|
+
local_var_path = '/wire/{nucleus_funding_id}'.sub('{' + 'nucleus_funding_id' + '}', nucleus_funding_id.to_s)
|
|
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(['application/json'])
|
|
53
|
+
|
|
54
|
+
# form parameters
|
|
55
|
+
form_params = {}
|
|
56
|
+
|
|
57
|
+
# http body (model)
|
|
58
|
+
post_body = nil
|
|
59
|
+
auth_names = ['oauth2']
|
|
60
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
61
|
+
:header_params => header_params,
|
|
62
|
+
:query_params => query_params,
|
|
63
|
+
:form_params => form_params,
|
|
64
|
+
:body => post_body,
|
|
65
|
+
:auth_names => auth_names,
|
|
66
|
+
:return_type => 'WireTransferResponseVO')
|
|
67
|
+
if @api_client.config.debugging
|
|
68
|
+
@api_client.config.logger.debug "API called: WireApi#cancel_wire_transfer_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
69
|
+
end
|
|
70
|
+
return data, status_code, headers
|
|
71
|
+
end
|
|
72
|
+
# Create bank link
|
|
73
|
+
# @param request request
|
|
74
|
+
# @param [Hash] opts the optional parameters
|
|
75
|
+
# @return [WireBankLinkResponseVO]
|
|
76
|
+
def create_bank_link_using_post3(request, opts = {})
|
|
77
|
+
data, _status_code, _headers = create_bank_link_using_post3_with_http_info(request, opts)
|
|
78
|
+
data
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Create bank link
|
|
82
|
+
# @param request request
|
|
83
|
+
# @param [Hash] opts the optional parameters
|
|
84
|
+
# @return [Array<(WireBankLinkResponseVO, Fixnum, Hash)>] WireBankLinkResponseVO data, response status code and response headers
|
|
85
|
+
def create_bank_link_using_post3_with_http_info(request, opts = {})
|
|
86
|
+
if @api_client.config.debugging
|
|
87
|
+
@api_client.config.logger.debug 'Calling API: WireApi.create_bank_link_using_post3 ...'
|
|
88
|
+
end
|
|
89
|
+
# verify the required parameter 'request' is set
|
|
90
|
+
if @api_client.config.client_side_validation && request.nil?
|
|
91
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling WireApi.create_bank_link_using_post3"
|
|
92
|
+
end
|
|
93
|
+
# resource path
|
|
94
|
+
local_var_path = '/wire/bank_link'
|
|
95
|
+
|
|
96
|
+
# query parameters
|
|
97
|
+
query_params = {}
|
|
98
|
+
|
|
99
|
+
# header parameters
|
|
100
|
+
header_params = {}
|
|
101
|
+
# HTTP header 'Accept' (if needed)
|
|
102
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
103
|
+
# HTTP header 'Content-Type'
|
|
104
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
105
|
+
|
|
106
|
+
# form parameters
|
|
107
|
+
form_params = {}
|
|
108
|
+
|
|
109
|
+
# http body (model)
|
|
110
|
+
post_body = @api_client.object_to_http_body(request)
|
|
111
|
+
auth_names = ['oauth2']
|
|
112
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
113
|
+
:header_params => header_params,
|
|
114
|
+
:query_params => query_params,
|
|
115
|
+
:form_params => form_params,
|
|
116
|
+
:body => post_body,
|
|
117
|
+
:auth_names => auth_names,
|
|
118
|
+
:return_type => 'WireBankLinkResponseVO')
|
|
119
|
+
if @api_client.config.debugging
|
|
120
|
+
@api_client.config.logger.debug "API called: WireApi#create_bank_link_using_post3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
121
|
+
end
|
|
122
|
+
return data, status_code, headers
|
|
123
|
+
end
|
|
124
|
+
# Delete bank link
|
|
125
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
|
126
|
+
# @param [Hash] opts the optional parameters
|
|
127
|
+
# @return [WireBankLinkResponseVO]
|
|
128
|
+
def delete_bank_link_using_delete3(nucleus_bank_link_id, opts = {})
|
|
129
|
+
data, _status_code, _headers = delete_bank_link_using_delete3_with_http_info(nucleus_bank_link_id, opts)
|
|
130
|
+
data
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Delete bank link
|
|
134
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
|
135
|
+
# @param [Hash] opts the optional parameters
|
|
136
|
+
# @return [Array<(WireBankLinkResponseVO, Fixnum, Hash)>] WireBankLinkResponseVO data, response status code and response headers
|
|
137
|
+
def delete_bank_link_using_delete3_with_http_info(nucleus_bank_link_id, opts = {})
|
|
138
|
+
if @api_client.config.debugging
|
|
139
|
+
@api_client.config.logger.debug 'Calling API: WireApi.delete_bank_link_using_delete3 ...'
|
|
140
|
+
end
|
|
141
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
|
142
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
|
143
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling WireApi.delete_bank_link_using_delete3"
|
|
144
|
+
end
|
|
145
|
+
# resource path
|
|
146
|
+
local_var_path = '/wire/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
|
147
|
+
|
|
148
|
+
# query parameters
|
|
149
|
+
query_params = {}
|
|
150
|
+
|
|
151
|
+
# header parameters
|
|
152
|
+
header_params = {}
|
|
153
|
+
# HTTP header 'Accept' (if needed)
|
|
154
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
155
|
+
|
|
156
|
+
# form parameters
|
|
157
|
+
form_params = {}
|
|
158
|
+
|
|
159
|
+
# http body (model)
|
|
160
|
+
post_body = nil
|
|
161
|
+
auth_names = ['oauth2']
|
|
162
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
163
|
+
:header_params => header_params,
|
|
164
|
+
:query_params => query_params,
|
|
165
|
+
:form_params => form_params,
|
|
166
|
+
:body => post_body,
|
|
167
|
+
:auth_names => auth_names,
|
|
168
|
+
:return_type => 'WireBankLinkResponseVO')
|
|
169
|
+
if @api_client.config.debugging
|
|
170
|
+
@api_client.config.logger.debug "API called: WireApi#delete_bank_link_using_delete3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
171
|
+
end
|
|
172
|
+
return data, status_code, headers
|
|
173
|
+
end
|
|
174
|
+
# Get bank link
|
|
175
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
|
176
|
+
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @return [WireBankLinkResponseVO]
|
|
178
|
+
def get_bank_link_using_get3(nucleus_bank_link_id, opts = {})
|
|
179
|
+
data, _status_code, _headers = get_bank_link_using_get3_with_http_info(nucleus_bank_link_id, opts)
|
|
180
|
+
data
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Get bank link
|
|
184
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
|
185
|
+
# @param [Hash] opts the optional parameters
|
|
186
|
+
# @return [Array<(WireBankLinkResponseVO, Fixnum, Hash)>] WireBankLinkResponseVO data, response status code and response headers
|
|
187
|
+
def get_bank_link_using_get3_with_http_info(nucleus_bank_link_id, opts = {})
|
|
188
|
+
if @api_client.config.debugging
|
|
189
|
+
@api_client.config.logger.debug 'Calling API: WireApi.get_bank_link_using_get3 ...'
|
|
190
|
+
end
|
|
191
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
|
192
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
|
193
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling WireApi.get_bank_link_using_get3"
|
|
194
|
+
end
|
|
195
|
+
# resource path
|
|
196
|
+
local_var_path = '/wire/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
|
197
|
+
|
|
198
|
+
# query parameters
|
|
199
|
+
query_params = {}
|
|
200
|
+
|
|
201
|
+
# header parameters
|
|
202
|
+
header_params = {}
|
|
203
|
+
# HTTP header 'Accept' (if needed)
|
|
204
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
205
|
+
|
|
206
|
+
# form parameters
|
|
207
|
+
form_params = {}
|
|
208
|
+
|
|
209
|
+
# http body (model)
|
|
210
|
+
post_body = nil
|
|
211
|
+
auth_names = ['oauth2']
|
|
212
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
213
|
+
:header_params => header_params,
|
|
214
|
+
:query_params => query_params,
|
|
215
|
+
:form_params => form_params,
|
|
216
|
+
:body => post_body,
|
|
217
|
+
:auth_names => auth_names,
|
|
218
|
+
:return_type => 'WireBankLinkResponseVO')
|
|
219
|
+
if @api_client.config.debugging
|
|
220
|
+
@api_client.config.logger.debug "API called: WireApi#get_bank_link_using_get3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
221
|
+
end
|
|
222
|
+
return data, status_code, headers
|
|
223
|
+
end
|
|
224
|
+
# Get client bank links
|
|
225
|
+
# @param nucleus_client_id nucleus_client_id
|
|
226
|
+
# @param [Hash] opts the optional parameters
|
|
227
|
+
# @return [Array<WireBankLinkResponseVO>]
|
|
228
|
+
def get_client_bank_links_using_get2(nucleus_client_id, opts = {})
|
|
229
|
+
data, _status_code, _headers = get_client_bank_links_using_get2_with_http_info(nucleus_client_id, opts)
|
|
230
|
+
data
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# Get client bank links
|
|
234
|
+
# @param nucleus_client_id nucleus_client_id
|
|
235
|
+
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @return [Array<(Array<WireBankLinkResponseVO>, Fixnum, Hash)>] Array<WireBankLinkResponseVO> data, response status code and response headers
|
|
237
|
+
def get_client_bank_links_using_get2_with_http_info(nucleus_client_id, opts = {})
|
|
238
|
+
if @api_client.config.debugging
|
|
239
|
+
@api_client.config.logger.debug 'Calling API: WireApi.get_client_bank_links_using_get2 ...'
|
|
240
|
+
end
|
|
241
|
+
# verify the required parameter 'nucleus_client_id' is set
|
|
242
|
+
if @api_client.config.client_side_validation && nucleus_client_id.nil?
|
|
243
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling WireApi.get_client_bank_links_using_get2"
|
|
244
|
+
end
|
|
245
|
+
# resource path
|
|
246
|
+
local_var_path = '/wire/bank_link/client/{nucleus_client_id}'.sub('{' + 'nucleus_client_id' + '}', nucleus_client_id.to_s)
|
|
247
|
+
|
|
248
|
+
# query parameters
|
|
249
|
+
query_params = {}
|
|
250
|
+
|
|
251
|
+
# header parameters
|
|
252
|
+
header_params = {}
|
|
253
|
+
# HTTP header 'Accept' (if needed)
|
|
254
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
255
|
+
|
|
256
|
+
# form parameters
|
|
257
|
+
form_params = {}
|
|
258
|
+
|
|
259
|
+
# http body (model)
|
|
260
|
+
post_body = nil
|
|
261
|
+
auth_names = ['oauth2']
|
|
262
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
263
|
+
:header_params => header_params,
|
|
264
|
+
:query_params => query_params,
|
|
265
|
+
:form_params => form_params,
|
|
266
|
+
:body => post_body,
|
|
267
|
+
:auth_names => auth_names,
|
|
268
|
+
:return_type => 'Array<WireBankLinkResponseVO>')
|
|
269
|
+
if @api_client.config.debugging
|
|
270
|
+
@api_client.config.logger.debug "API called: WireApi#get_client_bank_links_using_get2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
271
|
+
end
|
|
272
|
+
return data, status_code, headers
|
|
273
|
+
end
|
|
274
|
+
# Get a list of Wire transfers
|
|
275
|
+
# @param nucleus_client_id nucleus_client_id
|
|
276
|
+
# @param [Hash] opts the optional parameters
|
|
277
|
+
# @return [Array<WireTransferResponseVO>]
|
|
278
|
+
def get_list_of_wire_transfers_using_get(nucleus_client_id, opts = {})
|
|
279
|
+
data, _status_code, _headers = get_list_of_wire_transfers_using_get_with_http_info(nucleus_client_id, opts)
|
|
280
|
+
data
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
# Get a list of Wire transfers
|
|
284
|
+
# @param nucleus_client_id nucleus_client_id
|
|
285
|
+
# @param [Hash] opts the optional parameters
|
|
286
|
+
# @return [Array<(Array<WireTransferResponseVO>, Fixnum, Hash)>] Array<WireTransferResponseVO> data, response status code and response headers
|
|
287
|
+
def get_list_of_wire_transfers_using_get_with_http_info(nucleus_client_id, opts = {})
|
|
288
|
+
if @api_client.config.debugging
|
|
289
|
+
@api_client.config.logger.debug 'Calling API: WireApi.get_list_of_wire_transfers_using_get ...'
|
|
290
|
+
end
|
|
291
|
+
# verify the required parameter 'nucleus_client_id' is set
|
|
292
|
+
if @api_client.config.client_side_validation && nucleus_client_id.nil?
|
|
293
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling WireApi.get_list_of_wire_transfers_using_get"
|
|
294
|
+
end
|
|
295
|
+
# resource path
|
|
296
|
+
local_var_path = '/wire/client/{nucleus_client_id}'.sub('{' + 'nucleus_client_id' + '}', nucleus_client_id.to_s)
|
|
297
|
+
|
|
298
|
+
# query parameters
|
|
299
|
+
query_params = {}
|
|
300
|
+
|
|
301
|
+
# header parameters
|
|
302
|
+
header_params = {}
|
|
303
|
+
# HTTP header 'Accept' (if needed)
|
|
304
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
305
|
+
|
|
306
|
+
# form parameters
|
|
307
|
+
form_params = {}
|
|
308
|
+
|
|
309
|
+
# http body (model)
|
|
310
|
+
post_body = nil
|
|
311
|
+
auth_names = ['oauth2']
|
|
312
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
313
|
+
:header_params => header_params,
|
|
314
|
+
:query_params => query_params,
|
|
315
|
+
:form_params => form_params,
|
|
316
|
+
:body => post_body,
|
|
317
|
+
:auth_names => auth_names,
|
|
318
|
+
:return_type => 'Array<WireTransferResponseVO>')
|
|
319
|
+
if @api_client.config.debugging
|
|
320
|
+
@api_client.config.logger.debug "API called: WireApi#get_list_of_wire_transfers_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
321
|
+
end
|
|
322
|
+
return data, status_code, headers
|
|
323
|
+
end
|
|
324
|
+
# Get the Wire transfer
|
|
325
|
+
# @param nucleus_funding_id nucleus_funding_id
|
|
326
|
+
# @param [Hash] opts the optional parameters
|
|
327
|
+
# @return [WireTransferResponseVO]
|
|
328
|
+
def get_wire_transfer_using_get(nucleus_funding_id, opts = {})
|
|
329
|
+
data, _status_code, _headers = get_wire_transfer_using_get_with_http_info(nucleus_funding_id, opts)
|
|
330
|
+
data
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
# Get the Wire transfer
|
|
334
|
+
# @param nucleus_funding_id nucleus_funding_id
|
|
335
|
+
# @param [Hash] opts the optional parameters
|
|
336
|
+
# @return [Array<(WireTransferResponseVO, Fixnum, Hash)>] WireTransferResponseVO data, response status code and response headers
|
|
337
|
+
def get_wire_transfer_using_get_with_http_info(nucleus_funding_id, opts = {})
|
|
338
|
+
if @api_client.config.debugging
|
|
339
|
+
@api_client.config.logger.debug 'Calling API: WireApi.get_wire_transfer_using_get ...'
|
|
340
|
+
end
|
|
341
|
+
# verify the required parameter 'nucleus_funding_id' is set
|
|
342
|
+
if @api_client.config.client_side_validation && nucleus_funding_id.nil?
|
|
343
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_funding_id' when calling WireApi.get_wire_transfer_using_get"
|
|
344
|
+
end
|
|
345
|
+
# resource path
|
|
346
|
+
local_var_path = '/wire/{nucleus_funding_id}'.sub('{' + 'nucleus_funding_id' + '}', nucleus_funding_id.to_s)
|
|
347
|
+
|
|
348
|
+
# query parameters
|
|
349
|
+
query_params = {}
|
|
350
|
+
|
|
351
|
+
# header parameters
|
|
352
|
+
header_params = {}
|
|
353
|
+
# HTTP header 'Accept' (if needed)
|
|
354
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
355
|
+
|
|
356
|
+
# form parameters
|
|
357
|
+
form_params = {}
|
|
358
|
+
|
|
359
|
+
# http body (model)
|
|
360
|
+
post_body = nil
|
|
361
|
+
auth_names = ['oauth2']
|
|
362
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
363
|
+
:header_params => header_params,
|
|
364
|
+
:query_params => query_params,
|
|
365
|
+
:form_params => form_params,
|
|
366
|
+
:body => post_body,
|
|
367
|
+
:auth_names => auth_names,
|
|
368
|
+
:return_type => 'WireTransferResponseVO')
|
|
369
|
+
if @api_client.config.debugging
|
|
370
|
+
@api_client.config.logger.debug "API called: WireApi#get_wire_transfer_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
371
|
+
end
|
|
372
|
+
return data, status_code, headers
|
|
373
|
+
end
|
|
374
|
+
# Submit a Wire transfer
|
|
375
|
+
# @param transfer_request transferRequest
|
|
376
|
+
# @param [Hash] opts the optional parameters
|
|
377
|
+
# @return [WireTransferResponseVO]
|
|
378
|
+
def submit_wire_transfer_using_post(transfer_request, opts = {})
|
|
379
|
+
data, _status_code, _headers = submit_wire_transfer_using_post_with_http_info(transfer_request, opts)
|
|
380
|
+
data
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
# Submit a Wire transfer
|
|
384
|
+
# @param transfer_request transferRequest
|
|
385
|
+
# @param [Hash] opts the optional parameters
|
|
386
|
+
# @return [Array<(WireTransferResponseVO, Fixnum, Hash)>] WireTransferResponseVO data, response status code and response headers
|
|
387
|
+
def submit_wire_transfer_using_post_with_http_info(transfer_request, opts = {})
|
|
388
|
+
if @api_client.config.debugging
|
|
389
|
+
@api_client.config.logger.debug 'Calling API: WireApi.submit_wire_transfer_using_post ...'
|
|
390
|
+
end
|
|
391
|
+
# verify the required parameter 'transfer_request' is set
|
|
392
|
+
if @api_client.config.client_side_validation && transfer_request.nil?
|
|
393
|
+
fail ArgumentError, "Missing the required parameter 'transfer_request' when calling WireApi.submit_wire_transfer_using_post"
|
|
394
|
+
end
|
|
395
|
+
# resource path
|
|
396
|
+
local_var_path = '/wire'
|
|
397
|
+
|
|
398
|
+
# query parameters
|
|
399
|
+
query_params = {}
|
|
400
|
+
|
|
401
|
+
# header parameters
|
|
402
|
+
header_params = {}
|
|
403
|
+
# HTTP header 'Accept' (if needed)
|
|
404
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
405
|
+
# HTTP header 'Content-Type'
|
|
406
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
407
|
+
|
|
408
|
+
# form parameters
|
|
409
|
+
form_params = {}
|
|
410
|
+
|
|
411
|
+
# http body (model)
|
|
412
|
+
post_body = @api_client.object_to_http_body(transfer_request)
|
|
413
|
+
auth_names = ['oauth2']
|
|
414
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
415
|
+
:header_params => header_params,
|
|
416
|
+
:query_params => query_params,
|
|
417
|
+
:form_params => form_params,
|
|
418
|
+
:body => post_body,
|
|
419
|
+
:auth_names => auth_names,
|
|
420
|
+
:return_type => 'WireTransferResponseVO')
|
|
421
|
+
if @api_client.config.debugging
|
|
422
|
+
@api_client.config.logger.debug "API called: WireApi#submit_wire_transfer_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
423
|
+
end
|
|
424
|
+
return data, status_code, headers
|
|
425
|
+
end
|
|
426
|
+
# Update bank link
|
|
427
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
|
428
|
+
# @param [Hash] opts the optional parameters
|
|
429
|
+
# @return [WireBankLinkResponseVO]
|
|
430
|
+
def update_bank_link_using_put3(nucleus_bank_link_id, opts = {})
|
|
431
|
+
data, _status_code, _headers = update_bank_link_using_put3_with_http_info(nucleus_bank_link_id, opts)
|
|
432
|
+
data
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# Update bank link
|
|
436
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
|
437
|
+
# @param [Hash] opts the optional parameters
|
|
438
|
+
# @return [Array<(WireBankLinkResponseVO, Fixnum, Hash)>] WireBankLinkResponseVO data, response status code and response headers
|
|
439
|
+
def update_bank_link_using_put3_with_http_info(nucleus_bank_link_id, opts = {})
|
|
440
|
+
if @api_client.config.debugging
|
|
441
|
+
@api_client.config.logger.debug 'Calling API: WireApi.update_bank_link_using_put3 ...'
|
|
442
|
+
end
|
|
443
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
|
444
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
|
445
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling WireApi.update_bank_link_using_put3"
|
|
446
|
+
end
|
|
447
|
+
# resource path
|
|
448
|
+
local_var_path = '/wire/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
|
449
|
+
|
|
450
|
+
# query parameters
|
|
451
|
+
query_params = {}
|
|
452
|
+
|
|
453
|
+
# header parameters
|
|
454
|
+
header_params = {}
|
|
455
|
+
# HTTP header 'Accept' (if needed)
|
|
456
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
457
|
+
# HTTP header 'Content-Type'
|
|
458
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
459
|
+
|
|
460
|
+
# form parameters
|
|
461
|
+
form_params = {}
|
|
462
|
+
|
|
463
|
+
# http body (model)
|
|
464
|
+
post_body = nil
|
|
465
|
+
auth_names = ['oauth2']
|
|
466
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
467
|
+
:header_params => header_params,
|
|
468
|
+
:query_params => query_params,
|
|
469
|
+
:form_params => form_params,
|
|
470
|
+
:body => post_body,
|
|
471
|
+
:auth_names => auth_names,
|
|
472
|
+
:return_type => 'WireBankLinkResponseVO')
|
|
473
|
+
if @api_client.config.debugging
|
|
474
|
+
@api_client.config.logger.debug "API called: WireApi#update_bank_link_using_put3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
475
|
+
end
|
|
476
|
+
return data, status_code, headers
|
|
477
|
+
end
|
|
478
|
+
end
|
|
479
|
+
end
|