integration_api 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- 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,633 @@
|
|
1
|
+
# IntegrationApi::AccountingApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://sandbox.hydrogenplatform.com/integration/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create_or_update_customer**](AccountingApi.md#create_or_update_customer) | **GET** /accounting/customer | Update/Create all customers in Nucleus for a given nucleus_client_id
|
8
|
+
[**create_or_update_customer_revenue**](AccountingApi.md#create_or_update_customer_revenue) | **GET** /accounting/customer_revenue/{nucleus_customer_id} | Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
|
9
|
+
[**create_or_update_invoice_payment**](AccountingApi.md#create_or_update_invoice_payment) | **GET** /accounting/invoice_payment/{nucleus_invoice_id} | Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
|
10
|
+
[**create_or_update_invoices**](AccountingApi.md#create_or_update_invoices) | **GET** /accounting/invoice | Update/Create all invoices in Nucleus for a given nucleus_client_id
|
11
|
+
[**delete_accounting_vendor_access_config_is_active_by_id**](AccountingApi.md#delete_accounting_vendor_access_config_is_active_by_id) | **DELETE** /accounting/vendor/{id} | Permanently delete relation with particular accounting vendor.
|
12
|
+
[**get_accounting_stats**](AccountingApi.md#get_accounting_stats) | **GET** /accounting/report | Get accounting stats from financial statements at the vendor for the business provided
|
13
|
+
[**get_accounting_vendor_info_using_client_id**](AccountingApi.md#get_accounting_vendor_info_using_client_id) | **GET** /accounting/vendor/{nucleus_client_id} | Get Accounting Vendor Config
|
14
|
+
[**update_accounting_vendor_access_config_is_active_by_id**](AccountingApi.md#update_accounting_vendor_access_config_is_active_by_id) | **PUT** /accounting/vendor/{id} | Enable/Disable relation with particular accounting vendor.
|
15
|
+
[**update_customer**](AccountingApi.md#update_customer) | **GET** /accounting/customer/{nucleus_customer_id} | Update customer in Nucleus for a given nucleus_customer_id
|
16
|
+
[**update_invoice**](AccountingApi.md#update_invoice) | **GET** /accounting/invoice/{nucleus_invoice_id} | Update invoice in Nucleus for a given nucleus_invoice_id
|
17
|
+
|
18
|
+
|
19
|
+
# **create_or_update_customer**
|
20
|
+
> AccountingFinalResponseVO create_or_update_customer(nucleus_client_id)
|
21
|
+
|
22
|
+
Update/Create all customers in Nucleus for a given nucleus_client_id
|
23
|
+
|
24
|
+
Update/Create all customers in Nucleus for a given nucleus_client_id
|
25
|
+
|
26
|
+
### Example
|
27
|
+
```ruby
|
28
|
+
# load the gem
|
29
|
+
require 'integration_api'
|
30
|
+
|
31
|
+
# Setup authorization
|
32
|
+
IntegrationApi.configure do |config|
|
33
|
+
# Use one of the below method to generate oauth token
|
34
|
+
# Creating a token for grant_type=client_credentials
|
35
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
36
|
+
# Creating a token for grant_type=password
|
37
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
38
|
+
# Creating a token using client token
|
39
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
40
|
+
end
|
41
|
+
|
42
|
+
api_instance = IntegrationApi::AccountingApi.new
|
43
|
+
|
44
|
+
nucleus_client_id = 'nucleus_client_id_example' # String | nucleus_client_id
|
45
|
+
|
46
|
+
|
47
|
+
begin
|
48
|
+
#Update/Create all customers in Nucleus for a given nucleus_client_id
|
49
|
+
result = api_instance.create_or_update_customer(nucleus_client_id)
|
50
|
+
p result
|
51
|
+
rescue IntegrationApi::ApiError => e
|
52
|
+
puts "Exception when calling AccountingApi->create_or_update_customer: #{e}"
|
53
|
+
end
|
54
|
+
```
|
55
|
+
|
56
|
+
### Parameters
|
57
|
+
|
58
|
+
Name | Type | Description | Notes
|
59
|
+
------------- | ------------- | ------------- | -------------
|
60
|
+
**nucleus_client_id** | [**String**](.md)| nucleus_client_id |
|
61
|
+
|
62
|
+
### Return type
|
63
|
+
|
64
|
+
[**AccountingFinalResponseVO**](AccountingFinalResponseVO.md)
|
65
|
+
|
66
|
+
### Authorization
|
67
|
+
|
68
|
+
[oauth2](../README.md#oauth2)
|
69
|
+
|
70
|
+
### HTTP request headers
|
71
|
+
|
72
|
+
- **Content-Type**: Not defined
|
73
|
+
- **Accept**: application/json
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
# **create_or_update_customer_revenue**
|
78
|
+
> AccountingFinalResponseVO create_or_update_customer_revenue(nucleus_customer_id, start_date, opts)
|
79
|
+
|
80
|
+
Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
|
81
|
+
|
82
|
+
Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
|
83
|
+
|
84
|
+
### Example
|
85
|
+
```ruby
|
86
|
+
# load the gem
|
87
|
+
require 'integration_api'
|
88
|
+
|
89
|
+
# Setup authorization
|
90
|
+
IntegrationApi.configure do |config|
|
91
|
+
# Use one of the below method to generate oauth token
|
92
|
+
# Creating a token for grant_type=client_credentials
|
93
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
94
|
+
# Creating a token for grant_type=password
|
95
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
96
|
+
# Creating a token using client token
|
97
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
98
|
+
end
|
99
|
+
|
100
|
+
api_instance = IntegrationApi::AccountingApi.new
|
101
|
+
|
102
|
+
nucleus_customer_id = 'nucleus_customer_id_example' # String | nucleus_customer_id
|
103
|
+
|
104
|
+
start_date = DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | start_date
|
105
|
+
|
106
|
+
opts = {
|
107
|
+
accounting_method: 'accrual', # String | accounting_method
|
108
|
+
end_date: DateTime.parse('null') # DateTime | end_date
|
109
|
+
}
|
110
|
+
|
111
|
+
begin
|
112
|
+
#Update/Create all customers revenue in Nucleus for a given nucleus_customer_id
|
113
|
+
result = api_instance.create_or_update_customer_revenue(nucleus_customer_id, start_date, opts)
|
114
|
+
p result
|
115
|
+
rescue IntegrationApi::ApiError => e
|
116
|
+
puts "Exception when calling AccountingApi->create_or_update_customer_revenue: #{e}"
|
117
|
+
end
|
118
|
+
```
|
119
|
+
|
120
|
+
### Parameters
|
121
|
+
|
122
|
+
Name | Type | Description | Notes
|
123
|
+
------------- | ------------- | ------------- | -------------
|
124
|
+
**nucleus_customer_id** | [**String**](.md)| nucleus_customer_id |
|
125
|
+
**start_date** | **DateTime**| start_date |
|
126
|
+
**accounting_method** | **String**| accounting_method | [optional] [default to accrual]
|
127
|
+
**end_date** | **DateTime**| end_date | [optional] [default to null]
|
128
|
+
|
129
|
+
### Return type
|
130
|
+
|
131
|
+
[**AccountingFinalResponseVO**](AccountingFinalResponseVO.md)
|
132
|
+
|
133
|
+
### Authorization
|
134
|
+
|
135
|
+
[oauth2](../README.md#oauth2)
|
136
|
+
|
137
|
+
### HTTP request headers
|
138
|
+
|
139
|
+
- **Content-Type**: Not defined
|
140
|
+
- **Accept**: application/json
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
# **create_or_update_invoice_payment**
|
145
|
+
> AccountingFinalResponseVO create_or_update_invoice_payment(nucleus_invoice_id)
|
146
|
+
|
147
|
+
Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
|
148
|
+
|
149
|
+
Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
|
150
|
+
|
151
|
+
### Example
|
152
|
+
```ruby
|
153
|
+
# load the gem
|
154
|
+
require 'integration_api'
|
155
|
+
|
156
|
+
# Setup authorization
|
157
|
+
IntegrationApi.configure do |config|
|
158
|
+
# Use one of the below method to generate oauth token
|
159
|
+
# Creating a token for grant_type=client_credentials
|
160
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
161
|
+
# Creating a token for grant_type=password
|
162
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
163
|
+
# Creating a token using client token
|
164
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
165
|
+
end
|
166
|
+
|
167
|
+
api_instance = IntegrationApi::AccountingApi.new
|
168
|
+
|
169
|
+
nucleus_invoice_id = 'nucleus_invoice_id_example' # String | nucleus_invoice_id
|
170
|
+
|
171
|
+
|
172
|
+
begin
|
173
|
+
#Create/Update invoice payment in Nucleus for a given nucleus_invoice_id
|
174
|
+
result = api_instance.create_or_update_invoice_payment(nucleus_invoice_id)
|
175
|
+
p result
|
176
|
+
rescue IntegrationApi::ApiError => e
|
177
|
+
puts "Exception when calling AccountingApi->create_or_update_invoice_payment: #{e}"
|
178
|
+
end
|
179
|
+
```
|
180
|
+
|
181
|
+
### Parameters
|
182
|
+
|
183
|
+
Name | Type | Description | Notes
|
184
|
+
------------- | ------------- | ------------- | -------------
|
185
|
+
**nucleus_invoice_id** | [**String**](.md)| nucleus_invoice_id |
|
186
|
+
|
187
|
+
### Return type
|
188
|
+
|
189
|
+
[**AccountingFinalResponseVO**](AccountingFinalResponseVO.md)
|
190
|
+
|
191
|
+
### Authorization
|
192
|
+
|
193
|
+
[oauth2](../README.md#oauth2)
|
194
|
+
|
195
|
+
### HTTP request headers
|
196
|
+
|
197
|
+
- **Content-Type**: Not defined
|
198
|
+
- **Accept**: application/json
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
# **create_or_update_invoices**
|
203
|
+
> AccountingFinalResponseVO create_or_update_invoices(nucleus_customer_id, start_date, opts)
|
204
|
+
|
205
|
+
Update/Create all invoices in Nucleus for a given nucleus_client_id
|
206
|
+
|
207
|
+
Update/Create all invoices in Nucleus for a given nucleus_client_id
|
208
|
+
|
209
|
+
### Example
|
210
|
+
```ruby
|
211
|
+
# load the gem
|
212
|
+
require 'integration_api'
|
213
|
+
|
214
|
+
# Setup authorization
|
215
|
+
IntegrationApi.configure do |config|
|
216
|
+
# Use one of the below method to generate oauth token
|
217
|
+
# Creating a token for grant_type=client_credentials
|
218
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
219
|
+
# Creating a token for grant_type=password
|
220
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
221
|
+
# Creating a token using client token
|
222
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
223
|
+
end
|
224
|
+
|
225
|
+
api_instance = IntegrationApi::AccountingApi.new
|
226
|
+
|
227
|
+
nucleus_customer_id = 'nucleus_customer_id_example' # String | nucleus_customer_id
|
228
|
+
|
229
|
+
start_date = DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | start_date
|
230
|
+
|
231
|
+
opts = {
|
232
|
+
end_date: DateTime.parse('null') # DateTime | end_date
|
233
|
+
}
|
234
|
+
|
235
|
+
begin
|
236
|
+
#Update/Create all invoices in Nucleus for a given nucleus_client_id
|
237
|
+
result = api_instance.create_or_update_invoices(nucleus_customer_id, start_date, opts)
|
238
|
+
p result
|
239
|
+
rescue IntegrationApi::ApiError => e
|
240
|
+
puts "Exception when calling AccountingApi->create_or_update_invoices: #{e}"
|
241
|
+
end
|
242
|
+
```
|
243
|
+
|
244
|
+
### Parameters
|
245
|
+
|
246
|
+
Name | Type | Description | Notes
|
247
|
+
------------- | ------------- | ------------- | -------------
|
248
|
+
**nucleus_customer_id** | [**String**](.md)| nucleus_customer_id |
|
249
|
+
**start_date** | **DateTime**| start_date |
|
250
|
+
**end_date** | **DateTime**| end_date | [optional] [default to null]
|
251
|
+
|
252
|
+
### Return type
|
253
|
+
|
254
|
+
[**AccountingFinalResponseVO**](AccountingFinalResponseVO.md)
|
255
|
+
|
256
|
+
### Authorization
|
257
|
+
|
258
|
+
[oauth2](../README.md#oauth2)
|
259
|
+
|
260
|
+
### HTTP request headers
|
261
|
+
|
262
|
+
- **Content-Type**: Not defined
|
263
|
+
- **Accept**: application/json
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
# **delete_accounting_vendor_access_config_is_active_by_id**
|
268
|
+
> delete_accounting_vendor_access_config_is_active_by_id(id)
|
269
|
+
|
270
|
+
Permanently delete relation with particular accounting vendor.
|
271
|
+
|
272
|
+
Permanently delete relation with particular accounting vendor.
|
273
|
+
|
274
|
+
### Example
|
275
|
+
```ruby
|
276
|
+
# load the gem
|
277
|
+
require 'integration_api'
|
278
|
+
|
279
|
+
# Setup authorization
|
280
|
+
IntegrationApi.configure do |config|
|
281
|
+
# Use one of the below method to generate oauth token
|
282
|
+
# Creating a token for grant_type=client_credentials
|
283
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
284
|
+
# Creating a token for grant_type=password
|
285
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
286
|
+
# Creating a token using client token
|
287
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
288
|
+
end
|
289
|
+
|
290
|
+
api_instance = IntegrationApi::AccountingApi.new
|
291
|
+
|
292
|
+
id = 'id_example' # String | id
|
293
|
+
|
294
|
+
|
295
|
+
begin
|
296
|
+
#Permanently delete relation with particular accounting vendor.
|
297
|
+
api_instance.delete_accounting_vendor_access_config_is_active_by_id(id)
|
298
|
+
rescue IntegrationApi::ApiError => e
|
299
|
+
puts "Exception when calling AccountingApi->delete_accounting_vendor_access_config_is_active_by_id: #{e}"
|
300
|
+
end
|
301
|
+
```
|
302
|
+
|
303
|
+
### Parameters
|
304
|
+
|
305
|
+
Name | Type | Description | Notes
|
306
|
+
------------- | ------------- | ------------- | -------------
|
307
|
+
**id** | [**String**](.md)| id |
|
308
|
+
|
309
|
+
### Return type
|
310
|
+
|
311
|
+
nil (empty response body)
|
312
|
+
|
313
|
+
### Authorization
|
314
|
+
|
315
|
+
[oauth2](../README.md#oauth2)
|
316
|
+
|
317
|
+
### HTTP request headers
|
318
|
+
|
319
|
+
- **Content-Type**: Not defined
|
320
|
+
- **Accept**: */*
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
# **get_accounting_stats**
|
325
|
+
> AccountingFinalResponseVO get_accounting_stats(opts)
|
326
|
+
|
327
|
+
Get accounting stats from financial statements at the vendor for the business provided
|
328
|
+
|
329
|
+
Get accounting stats from financial statements at the vendor for the business provided
|
330
|
+
|
331
|
+
### Example
|
332
|
+
```ruby
|
333
|
+
# load the gem
|
334
|
+
require 'integration_api'
|
335
|
+
|
336
|
+
# Setup authorization
|
337
|
+
IntegrationApi.configure do |config|
|
338
|
+
# Use one of the below method to generate oauth token
|
339
|
+
# Creating a token for grant_type=client_credentials
|
340
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
341
|
+
# Creating a token for grant_type=password
|
342
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
343
|
+
# Creating a token using client token
|
344
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
345
|
+
end
|
346
|
+
|
347
|
+
api_instance = IntegrationApi::AccountingApi.new
|
348
|
+
|
349
|
+
opts = {
|
350
|
+
accounting_method: 'accrual', # String | accounting_method
|
351
|
+
nucleus_client_id: 'nucleus_client_id_example', # String | nucleus_client_id
|
352
|
+
period_length: 'period_length_example', # String | period_length
|
353
|
+
period_month: 56, # Integer | period_month
|
354
|
+
period_quarter: 56, # Integer | period_quarter
|
355
|
+
period_type: 'period_type_example', # String | period_type
|
356
|
+
period_year: 56, # Integer | period_year
|
357
|
+
report: 'report_example', # String | report
|
358
|
+
statement_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | statement_date
|
359
|
+
}
|
360
|
+
|
361
|
+
begin
|
362
|
+
#Get accounting stats from financial statements at the vendor for the business provided
|
363
|
+
result = api_instance.get_accounting_stats(opts)
|
364
|
+
p result
|
365
|
+
rescue IntegrationApi::ApiError => e
|
366
|
+
puts "Exception when calling AccountingApi->get_accounting_stats: #{e}"
|
367
|
+
end
|
368
|
+
```
|
369
|
+
|
370
|
+
### Parameters
|
371
|
+
|
372
|
+
Name | Type | Description | Notes
|
373
|
+
------------- | ------------- | ------------- | -------------
|
374
|
+
**accounting_method** | **String**| accounting_method | [optional] [default to accrual]
|
375
|
+
**nucleus_client_id** | [**String**](.md)| nucleus_client_id | [optional]
|
376
|
+
**period_length** | **String**| period_length | [optional]
|
377
|
+
**period_month** | **Integer**| period_month | [optional]
|
378
|
+
**period_quarter** | **Integer**| period_quarter | [optional]
|
379
|
+
**period_type** | **String**| period_type | [optional]
|
380
|
+
**period_year** | **Integer**| period_year | [optional]
|
381
|
+
**report** | **String**| report | [optional]
|
382
|
+
**statement_date** | **DateTime**| statement_date | [optional]
|
383
|
+
|
384
|
+
### Return type
|
385
|
+
|
386
|
+
[**AccountingFinalResponseVO**](AccountingFinalResponseVO.md)
|
387
|
+
|
388
|
+
### Authorization
|
389
|
+
|
390
|
+
[oauth2](../README.md#oauth2)
|
391
|
+
|
392
|
+
### HTTP request headers
|
393
|
+
|
394
|
+
- **Content-Type**: Not defined
|
395
|
+
- **Accept**: application/json
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
# **get_accounting_vendor_info_using_client_id**
|
400
|
+
> VendorAccessConfigVO get_accounting_vendor_info_using_client_id(nucleus_client_id)
|
401
|
+
|
402
|
+
Get Accounting Vendor Config
|
403
|
+
|
404
|
+
Get Accounting vendor config information with its status.
|
405
|
+
|
406
|
+
### Example
|
407
|
+
```ruby
|
408
|
+
# load the gem
|
409
|
+
require 'integration_api'
|
410
|
+
|
411
|
+
# Setup authorization
|
412
|
+
IntegrationApi.configure do |config|
|
413
|
+
# Use one of the below method to generate oauth token
|
414
|
+
# Creating a token for grant_type=client_credentials
|
415
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
416
|
+
# Creating a token for grant_type=password
|
417
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
418
|
+
# Creating a token using client token
|
419
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
420
|
+
end
|
421
|
+
|
422
|
+
api_instance = IntegrationApi::AccountingApi.new
|
423
|
+
|
424
|
+
nucleus_client_id = 'nucleus_client_id_example' # String | nucleus_client_id
|
425
|
+
|
426
|
+
|
427
|
+
begin
|
428
|
+
#Get Accounting Vendor Config
|
429
|
+
result = api_instance.get_accounting_vendor_info_using_client_id(nucleus_client_id)
|
430
|
+
p result
|
431
|
+
rescue IntegrationApi::ApiError => e
|
432
|
+
puts "Exception when calling AccountingApi->get_accounting_vendor_info_using_client_id: #{e}"
|
433
|
+
end
|
434
|
+
```
|
435
|
+
|
436
|
+
### Parameters
|
437
|
+
|
438
|
+
Name | Type | Description | Notes
|
439
|
+
------------- | ------------- | ------------- | -------------
|
440
|
+
**nucleus_client_id** | [**String**](.md)| nucleus_client_id |
|
441
|
+
|
442
|
+
### Return type
|
443
|
+
|
444
|
+
[**VendorAccessConfigVO**](VendorAccessConfigVO.md)
|
445
|
+
|
446
|
+
### Authorization
|
447
|
+
|
448
|
+
[oauth2](../README.md#oauth2)
|
449
|
+
|
450
|
+
### HTTP request headers
|
451
|
+
|
452
|
+
- **Content-Type**: Not defined
|
453
|
+
- **Accept**: */*
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
# **update_accounting_vendor_access_config_is_active_by_id**
|
458
|
+
> VendorAccessConfigVO update_accounting_vendor_access_config_is_active_by_id(id, is_active)
|
459
|
+
|
460
|
+
Enable/Disable relation with particular accounting vendor.
|
461
|
+
|
462
|
+
Enable/Disable link with particular accounting vendor.
|
463
|
+
|
464
|
+
### Example
|
465
|
+
```ruby
|
466
|
+
# load the gem
|
467
|
+
require 'integration_api'
|
468
|
+
|
469
|
+
# Setup authorization
|
470
|
+
IntegrationApi.configure do |config|
|
471
|
+
# Use one of the below method to generate oauth token
|
472
|
+
# Creating a token for grant_type=client_credentials
|
473
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
474
|
+
# Creating a token for grant_type=password
|
475
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
476
|
+
# Creating a token using client token
|
477
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
478
|
+
end
|
479
|
+
|
480
|
+
api_instance = IntegrationApi::AccountingApi.new
|
481
|
+
|
482
|
+
id = 'id_example' # String | id
|
483
|
+
|
484
|
+
is_active = true # BOOLEAN | is_active
|
485
|
+
|
486
|
+
|
487
|
+
begin
|
488
|
+
#Enable/Disable relation with particular accounting vendor.
|
489
|
+
result = api_instance.update_accounting_vendor_access_config_is_active_by_id(id, is_active)
|
490
|
+
p result
|
491
|
+
rescue IntegrationApi::ApiError => e
|
492
|
+
puts "Exception when calling AccountingApi->update_accounting_vendor_access_config_is_active_by_id: #{e}"
|
493
|
+
end
|
494
|
+
```
|
495
|
+
|
496
|
+
### Parameters
|
497
|
+
|
498
|
+
Name | Type | Description | Notes
|
499
|
+
------------- | ------------- | ------------- | -------------
|
500
|
+
**id** | [**String**](.md)| id |
|
501
|
+
**is_active** | **BOOLEAN**| is_active |
|
502
|
+
|
503
|
+
### Return type
|
504
|
+
|
505
|
+
[**VendorAccessConfigVO**](VendorAccessConfigVO.md)
|
506
|
+
|
507
|
+
### Authorization
|
508
|
+
|
509
|
+
[oauth2](../README.md#oauth2)
|
510
|
+
|
511
|
+
### HTTP request headers
|
512
|
+
|
513
|
+
- **Content-Type**: application/json
|
514
|
+
- **Accept**: */*
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
# **update_customer**
|
519
|
+
> AccountingFinalResponseVO update_customer(nucleus_customer_id)
|
520
|
+
|
521
|
+
Update customer in Nucleus for a given nucleus_customer_id
|
522
|
+
|
523
|
+
Update customer in Nucleus for a given nucleus_customer_id
|
524
|
+
|
525
|
+
### Example
|
526
|
+
```ruby
|
527
|
+
# load the gem
|
528
|
+
require 'integration_api'
|
529
|
+
|
530
|
+
# Setup authorization
|
531
|
+
IntegrationApi.configure do |config|
|
532
|
+
# Use one of the below method to generate oauth token
|
533
|
+
# Creating a token for grant_type=client_credentials
|
534
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
535
|
+
# Creating a token for grant_type=password
|
536
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
537
|
+
# Creating a token using client token
|
538
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
539
|
+
end
|
540
|
+
|
541
|
+
api_instance = IntegrationApi::AccountingApi.new
|
542
|
+
|
543
|
+
nucleus_customer_id = 'nucleus_customer_id_example' # String | nucleus_customer_id
|
544
|
+
|
545
|
+
|
546
|
+
begin
|
547
|
+
#Update customer in Nucleus for a given nucleus_customer_id
|
548
|
+
result = api_instance.update_customer(nucleus_customer_id)
|
549
|
+
p result
|
550
|
+
rescue IntegrationApi::ApiError => e
|
551
|
+
puts "Exception when calling AccountingApi->update_customer: #{e}"
|
552
|
+
end
|
553
|
+
```
|
554
|
+
|
555
|
+
### Parameters
|
556
|
+
|
557
|
+
Name | Type | Description | Notes
|
558
|
+
------------- | ------------- | ------------- | -------------
|
559
|
+
**nucleus_customer_id** | [**String**](.md)| nucleus_customer_id |
|
560
|
+
|
561
|
+
### Return type
|
562
|
+
|
563
|
+
[**AccountingFinalResponseVO**](AccountingFinalResponseVO.md)
|
564
|
+
|
565
|
+
### Authorization
|
566
|
+
|
567
|
+
[oauth2](../README.md#oauth2)
|
568
|
+
|
569
|
+
### HTTP request headers
|
570
|
+
|
571
|
+
- **Content-Type**: Not defined
|
572
|
+
- **Accept**: application/json
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
# **update_invoice**
|
577
|
+
> AccountingFinalResponseVO update_invoice(nucleus_invoice_id)
|
578
|
+
|
579
|
+
Update invoice in Nucleus for a given nucleus_invoice_id
|
580
|
+
|
581
|
+
Update invoice in Nucleus for a given nucleus_invoice_id
|
582
|
+
|
583
|
+
### Example
|
584
|
+
```ruby
|
585
|
+
# load the gem
|
586
|
+
require 'integration_api'
|
587
|
+
|
588
|
+
# Setup authorization
|
589
|
+
IntegrationApi.configure do |config|
|
590
|
+
# Use one of the below method to generate oauth token
|
591
|
+
# Creating a token for grant_type=client_credentials
|
592
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
593
|
+
# Creating a token for grant_type=password
|
594
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
595
|
+
# Creating a token using client token
|
596
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
597
|
+
end
|
598
|
+
|
599
|
+
api_instance = IntegrationApi::AccountingApi.new
|
600
|
+
|
601
|
+
nucleus_invoice_id = 'nucleus_invoice_id_example' # String | nucleus_invoice_id
|
602
|
+
|
603
|
+
|
604
|
+
begin
|
605
|
+
#Update invoice in Nucleus for a given nucleus_invoice_id
|
606
|
+
result = api_instance.update_invoice(nucleus_invoice_id)
|
607
|
+
p result
|
608
|
+
rescue IntegrationApi::ApiError => e
|
609
|
+
puts "Exception when calling AccountingApi->update_invoice: #{e}"
|
610
|
+
end
|
611
|
+
```
|
612
|
+
|
613
|
+
### Parameters
|
614
|
+
|
615
|
+
Name | Type | Description | Notes
|
616
|
+
------------- | ------------- | ------------- | -------------
|
617
|
+
**nucleus_invoice_id** | [**String**](.md)| nucleus_invoice_id |
|
618
|
+
|
619
|
+
### Return type
|
620
|
+
|
621
|
+
[**AccountingFinalResponseVO**](AccountingFinalResponseVO.md)
|
622
|
+
|
623
|
+
### Authorization
|
624
|
+
|
625
|
+
[oauth2](../README.md#oauth2)
|
626
|
+
|
627
|
+
### HTTP request headers
|
628
|
+
|
629
|
+
- **Content-Type**: Not defined
|
630
|
+
- **Accept**: application/json
|
631
|
+
|
632
|
+
|
633
|
+
|