modern_treasury 0.0.0 → 0.1.0.pre.alpha.15
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 +4 -4
- data/README.md +125 -0
- data/lib/modern_treasury/base_client.rb +475 -0
- data/lib/modern_treasury/base_model.rb +1191 -0
- data/lib/modern_treasury/base_page.rb +40 -0
- data/lib/modern_treasury/client.rb +236 -0
- data/lib/modern_treasury/errors.rb +187 -0
- data/lib/modern_treasury/extern.rb +10 -0
- data/lib/modern_treasury/models/account_collection_flow.rb +244 -0
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +91 -0
- data/lib/modern_treasury/models/account_collection_flow_list_params.rb +85 -0
- data/lib/modern_treasury/models/account_collection_flow_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/account_collection_flow_update_params.rb +49 -0
- data/lib/modern_treasury/models/account_detail.rb +132 -0
- data/lib/modern_treasury/models/account_detail_create_params.rb +106 -0
- data/lib/modern_treasury/models/account_detail_delete_params.rb +50 -0
- data/lib/modern_treasury/models/account_detail_list_params.rb +40 -0
- data/lib/modern_treasury/models/account_detail_retrieve_params.rb +30 -0
- data/lib/modern_treasury/models/accounts_type.rb +28 -0
- data/lib/modern_treasury/models/async_response.rb +25 -0
- data/lib/modern_treasury/models/bank_settings.rb +97 -0
- data/lib/modern_treasury/models/bulk_request.rb +200 -0
- data/lib/modern_treasury/models/bulk_request_create_params.rb +4666 -0
- data/lib/modern_treasury/models/bulk_request_list_params.rb +178 -0
- data/lib/modern_treasury/models/bulk_request_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/bulk_result.rb +323 -0
- data/lib/modern_treasury/models/bulk_result_list_params.rb +190 -0
- data/lib/modern_treasury/models/bulk_result_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/client_ping_params.rb +18 -0
- data/lib/modern_treasury/models/connection.rb +85 -0
- data/lib/modern_treasury/models/connection_legal_entity.rb +124 -0
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +1191 -0
- data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +103 -0
- data/lib/modern_treasury/models/connection_legal_entity_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/connection_legal_entity_update_params.rb +51 -0
- data/lib/modern_treasury/models/connection_list_params.rb +56 -0
- data/lib/modern_treasury/models/counterparty.rb +623 -0
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +128 -0
- data/lib/modern_treasury/models/counterparty_collect_account_response.rb +38 -0
- data/lib/modern_treasury/models/counterparty_create_params.rb +2033 -0
- data/lib/modern_treasury/models/counterparty_delete_params.rb +18 -0
- data/lib/modern_treasury/models/counterparty_list_params.rb +117 -0
- data/lib/modern_treasury/models/counterparty_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/counterparty_update_params.rb +93 -0
- data/lib/modern_treasury/models/currency.rb +225 -0
- data/lib/modern_treasury/models/document.rb +266 -0
- data/lib/modern_treasury/models/document_create_params.rb +89 -0
- data/lib/modern_treasury/models/document_list_params.rb +103 -0
- data/lib/modern_treasury/models/document_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/event.rb +94 -0
- data/lib/modern_treasury/models/event_list_params.rb +98 -0
- data/lib/modern_treasury/models/event_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/expected_payment.rb +322 -0
- data/lib/modern_treasury/models/expected_payment_create_params.rb +580 -0
- data/lib/modern_treasury/models/expected_payment_delete_params.rb +18 -0
- data/lib/modern_treasury/models/expected_payment_list_params.rb +233 -0
- data/lib/modern_treasury/models/expected_payment_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/expected_payment_type.rb +67 -0
- data/lib/modern_treasury/models/expected_payment_update_params.rb +227 -0
- data/lib/modern_treasury/models/external_account.rb +436 -0
- data/lib/modern_treasury/models/external_account_complete_verification_params.rb +28 -0
- data/lib/modern_treasury/models/external_account_create_params.rb +662 -0
- data/lib/modern_treasury/models/external_account_delete_params.rb +18 -0
- data/lib/modern_treasury/models/external_account_list_params.rb +78 -0
- data/lib/modern_treasury/models/external_account_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/external_account_type.rb +44 -0
- data/lib/modern_treasury/models/external_account_update_params.rb +170 -0
- data/lib/modern_treasury/models/external_account_verify_params.rb +190 -0
- data/lib/modern_treasury/models/external_account_verify_response.rb +236 -0
- data/lib/modern_treasury/models/foreign_exchange_quote.rb +180 -0
- data/lib/modern_treasury/models/foreign_exchange_quote_create_params.rb +89 -0
- data/lib/modern_treasury/models/foreign_exchange_quote_list_params.rb +127 -0
- data/lib/modern_treasury/models/foreign_exchange_quote_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +390 -0
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +171 -0
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +202 -0
- data/lib/modern_treasury/models/incoming_payment_detail_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/incoming_payment_detail_update_params.rb +30 -0
- data/lib/modern_treasury/models/internal_account.rb +329 -0
- data/lib/modern_treasury/models/internal_account_create_params.rb +197 -0
- data/lib/modern_treasury/models/internal_account_list_params.rb +176 -0
- data/lib/modern_treasury/models/internal_account_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/internal_account_update_params.rb +84 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +294 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +169 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report_delete_params.rb +26 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rb +92 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rb +26 -0
- data/lib/modern_treasury/models/invoice.rb +679 -0
- data/lib/modern_treasury/models/invoice_add_payment_order_params.rb +24 -0
- data/lib/modern_treasury/models/invoice_create_params.rb +674 -0
- data/lib/modern_treasury/models/invoice_list_params.rb +181 -0
- data/lib/modern_treasury/models/invoice_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/invoice_update_params.rb +690 -0
- data/lib/modern_treasury/models/invoices/invoice_line_item.rb +130 -0
- data/lib/modern_treasury/models/invoices/line_item_create_params.rb +108 -0
- data/lib/modern_treasury/models/invoices/line_item_delete_params.rb +26 -0
- data/lib/modern_treasury/models/invoices/line_item_list_params.rb +36 -0
- data/lib/modern_treasury/models/invoices/line_item_retrieve_params.rb +26 -0
- data/lib/modern_treasury/models/invoices/line_item_update_params.rb +123 -0
- data/lib/modern_treasury/models/ledger.rb +73 -0
- data/lib/modern_treasury/models/ledger_account.rb +366 -0
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +337 -0
- data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +92 -0
- data/lib/modern_treasury/models/ledger_account_balance_monitor_delete_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_account_balance_monitor_list_params.rb +70 -0
- data/lib/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_account_balance_monitor_update_params.rb +41 -0
- data/lib/modern_treasury/models/ledger_account_category.rb +282 -0
- data/lib/modern_treasury/models/ledger_account_category_add_ledger_account_params.rb +24 -0
- data/lib/modern_treasury/models/ledger_account_category_add_nested_category_params.rb +24 -0
- data/lib/modern_treasury/models/ledger_account_category_create_params.rb +97 -0
- data/lib/modern_treasury/models/ledger_account_category_delete_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +162 -0
- data/lib/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rb +24 -0
- data/lib/modern_treasury/models/ledger_account_category_remove_nested_category_params.rb +24 -0
- data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +63 -0
- data/lib/modern_treasury/models/ledger_account_category_update_params.rb +48 -0
- data/lib/modern_treasury/models/ledger_account_create_params.rb +157 -0
- data/lib/modern_treasury/models/ledger_account_delete_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_account_list_params.rb +467 -0
- data/lib/modern_treasury/models/ledger_account_retrieve_params.rb +108 -0
- data/lib/modern_treasury/models/ledger_account_settlement.rb +194 -0
- data/lib/modern_treasury/models/ledger_account_settlement_create_params.rb +128 -0
- data/lib/modern_treasury/models/ledger_account_settlement_list_params.rb +140 -0
- data/lib/modern_treasury/models/ledger_account_settlement_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +75 -0
- data/lib/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rb +28 -0
- data/lib/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rb +28 -0
- data/lib/modern_treasury/models/ledger_account_statement_create_params.rb +71 -0
- data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +488 -0
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +488 -0
- data/lib/modern_treasury/models/ledger_account_update_params.rb +48 -0
- data/lib/modern_treasury/models/ledger_create_params.rb +44 -0
- data/lib/modern_treasury/models/ledger_delete_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_entry.rb +359 -0
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +380 -0
- data/lib/modern_treasury/models/ledger_entry_retrieve_params.rb +30 -0
- data/lib/modern_treasury/models/ledger_entry_update_params.rb +30 -0
- data/lib/modern_treasury/models/ledger_event_handler.rb +214 -0
- data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +182 -0
- data/lib/modern_treasury/models/ledger_event_handler_delete_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_event_handler_list_params.rb +70 -0
- data/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_event_handler_variable.rb +56 -0
- data/lib/modern_treasury/models/ledger_list_params.rb +72 -0
- data/lib/modern_treasury/models/ledger_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_transaction.rb +245 -0
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +304 -0
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +138 -0
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +178 -0
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +389 -0
- data/lib/modern_treasury/models/ledger_transaction_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +282 -0
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +600 -0
- data/lib/modern_treasury/models/ledger_transactions/version_list_params.rb +96 -0
- data/lib/modern_treasury/models/ledger_update_params.rb +48 -0
- data/lib/modern_treasury/models/ledgerable_event.rb +95 -0
- data/lib/modern_treasury/models/ledgerable_event_create_params.rb +51 -0
- data/lib/modern_treasury/models/ledgerable_event_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/legal_entity.rb +624 -0
- data/lib/modern_treasury/models/legal_entity_association.rb +746 -0
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +620 -0
- data/lib/modern_treasury/models/legal_entity_create_params.rb +1131 -0
- data/lib/modern_treasury/models/legal_entity_list_params.rb +100 -0
- data/lib/modern_treasury/models/legal_entity_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/legal_entity_update_params.rb +484 -0
- data/lib/modern_treasury/models/line_item.rb +172 -0
- data/lib/modern_treasury/models/line_item_list_params.rb +63 -0
- data/lib/modern_treasury/models/line_item_retrieve_params.rb +53 -0
- data/lib/modern_treasury/models/line_item_update_params.rb +65 -0
- data/lib/modern_treasury/models/paper_item.rb +188 -0
- data/lib/modern_treasury/models/paper_item_list_params.rb +78 -0
- data/lib/modern_treasury/models/paper_item_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/payment_flow.rb +339 -0
- data/lib/modern_treasury/models/payment_flow_create_params.rb +106 -0
- data/lib/modern_treasury/models/payment_flow_list_params.rb +107 -0
- data/lib/modern_treasury/models/payment_flow_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/payment_flow_update_params.rb +49 -0
- data/lib/modern_treasury/models/payment_order.rb +933 -0
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +1566 -0
- data/lib/modern_treasury/models/payment_order_create_params.rb +1657 -0
- data/lib/modern_treasury/models/payment_order_list_params.rb +346 -0
- data/lib/modern_treasury/models/payment_order_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/payment_order_subtype.rb +68 -0
- data/lib/modern_treasury/models/payment_order_type.rb +68 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +1312 -0
- data/lib/modern_treasury/models/payment_orders/reversal.rb +175 -0
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +389 -0
- data/lib/modern_treasury/models/payment_orders/reversal_list_params.rb +36 -0
- data/lib/modern_treasury/models/payment_orders/reversal_retrieve_params.rb +26 -0
- data/lib/modern_treasury/models/payment_reference.rb +220 -0
- data/lib/modern_treasury/models/payment_reference_list_params.rb +109 -0
- data/lib/modern_treasury/models/payment_reference_retireve_params.rb +18 -0
- data/lib/modern_treasury/models/payment_reference_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/ping_response.rb +19 -0
- data/lib/modern_treasury/models/reconciliation_rule.rb +193 -0
- data/lib/modern_treasury/models/return_create_params.rb +182 -0
- data/lib/modern_treasury/models/return_list_params.rb +127 -0
- data/lib/modern_treasury/models/return_object.rb +588 -0
- data/lib/modern_treasury/models/return_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/routing_detail.rb +314 -0
- data/lib/modern_treasury/models/routing_detail_create_params.rb +187 -0
- data/lib/modern_treasury/models/routing_detail_delete_params.rb +50 -0
- data/lib/modern_treasury/models/routing_detail_list_params.rb +40 -0
- data/lib/modern_treasury/models/routing_detail_retrieve_params.rb +30 -0
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +248 -0
- data/lib/modern_treasury/models/transaction.rb +421 -0
- data/lib/modern_treasury/models/transaction_create_params.rb +182 -0
- data/lib/modern_treasury/models/transaction_delete_params.rb +18 -0
- data/lib/modern_treasury/models/transaction_direction.rb +28 -0
- data/lib/modern_treasury/models/transaction_list_params.rb +186 -0
- data/lib/modern_treasury/models/transaction_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/transaction_update_params.rb +30 -0
- data/lib/modern_treasury/models/transactions/line_item_create_params.rb +42 -0
- data/lib/modern_treasury/models/transactions/line_item_delete_params.rb +20 -0
- data/lib/modern_treasury/models/transactions/line_item_list_params.rb +85 -0
- data/lib/modern_treasury/models/transactions/line_item_retrieve_params.rb +20 -0
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +212 -0
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +91 -0
- data/lib/modern_treasury/models/virtual_account.rb +148 -0
- data/lib/modern_treasury/models/virtual_account_create_params.rb +516 -0
- data/lib/modern_treasury/models/virtual_account_delete_params.rb +18 -0
- data/lib/modern_treasury/models/virtual_account_list_params.rb +77 -0
- data/lib/modern_treasury/models/virtual_account_retrieve_params.rb +18 -0
- data/lib/modern_treasury/models/virtual_account_update_params.rb +55 -0
- data/lib/modern_treasury/models/wealth_and_employment_details.rb +436 -0
- data/lib/modern_treasury/page.rb +94 -0
- data/lib/modern_treasury/pooled_net_requester.rb +163 -0
- data/lib/modern_treasury/request_options.rb +115 -0
- data/lib/modern_treasury/resources/account_collection_flows.rb +113 -0
- data/lib/modern_treasury/resources/account_details.rb +135 -0
- data/lib/modern_treasury/resources/bulk_requests.rb +95 -0
- data/lib/modern_treasury/resources/bulk_results.rb +69 -0
- data/lib/modern_treasury/resources/connection_legal_entities.rb +110 -0
- data/lib/modern_treasury/resources/connections.rb +41 -0
- data/lib/modern_treasury/resources/counterparties.rb +210 -0
- data/lib/modern_treasury/resources/documents.rb +90 -0
- data/lib/modern_treasury/resources/events.rb +66 -0
- data/lib/modern_treasury/resources/expected_payments.rb +233 -0
- data/lib/modern_treasury/resources/external_accounts.rb +230 -0
- data/lib/modern_treasury/resources/foreign_exchange_quotes.rb +105 -0
- data/lib/modern_treasury/resources/incoming_payment_details.rb +138 -0
- data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +128 -0
- data/lib/modern_treasury/resources/internal_accounts.rb +145 -0
- data/lib/modern_treasury/resources/invoices/line_items.rb +180 -0
- data/lib/modern_treasury/resources/invoices.rb +291 -0
- data/lib/modern_treasury/resources/ledger_account_balance_monitors.rb +138 -0
- data/lib/modern_treasury/resources/ledger_account_categories.rb +268 -0
- data/lib/modern_treasury/resources/ledger_account_settlements/account_entries.rb +63 -0
- data/lib/modern_treasury/resources/ledger_account_settlements.rb +156 -0
- data/lib/modern_treasury/resources/ledger_account_statements.rb +65 -0
- data/lib/modern_treasury/resources/ledger_accounts.rb +195 -0
- data/lib/modern_treasury/resources/ledger_entries.rb +141 -0
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +119 -0
- data/lib/modern_treasury/resources/ledger_transactions/versions.rb +52 -0
- data/lib/modern_treasury/resources/ledger_transactions.rb +269 -0
- data/lib/modern_treasury/resources/ledgerable_events.rb +60 -0
- data/lib/modern_treasury/resources/ledgers.rb +140 -0
- data/lib/modern_treasury/resources/legal_entities.rb +198 -0
- data/lib/modern_treasury/resources/legal_entity_associations.rb +45 -0
- data/lib/modern_treasury/resources/line_items.rb +108 -0
- data/lib/modern_treasury/resources/paper_items.rb +63 -0
- data/lib/modern_treasury/resources/payment_flows.rb +128 -0
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +98 -0
- data/lib/modern_treasury/resources/payment_orders.rb +523 -0
- data/lib/modern_treasury/resources/payment_references.rb +85 -0
- data/lib/modern_treasury/resources/returns.rb +102 -0
- data/lib/modern_treasury/resources/routing_details.rb +139 -0
- data/lib/modern_treasury/resources/transactions/line_items.rb +109 -0
- data/lib/modern_treasury/resources/transactions.rb +180 -0
- data/lib/modern_treasury/resources/validations.rb +40 -0
- data/lib/modern_treasury/resources/virtual_accounts.rb +158 -0
- data/lib/modern_treasury/util.rb +468 -0
- data/lib/modern_treasury/version.rb +5 -0
- data/lib/modern_treasury.rb +293 -0
- data/manifest.yaml +12 -0
- data/rbi/lib/modern_treasury/base_client.rbi +161 -0
- data/rbi/lib/modern_treasury/base_model.rbi +480 -0
- data/rbi/lib/modern_treasury/base_page.rbi +39 -0
- data/rbi/lib/modern_treasury/client.rbi +198 -0
- data/rbi/lib/modern_treasury/errors.rbi +145 -0
- data/rbi/lib/modern_treasury/extern.rbi +7 -0
- data/rbi/lib/modern_treasury/models/account_collection_flow.rbi +198 -0
- data/rbi/lib/modern_treasury/models/account_collection_flow_create_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/account_collection_flow_list_params.rbi +98 -0
- data/rbi/lib/modern_treasury/models/account_collection_flow_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/account_collection_flow_update_params.rbi +42 -0
- data/rbi/lib/modern_treasury/models/account_detail.rbi +144 -0
- data/rbi/lib/modern_treasury/models/account_detail_create_params.rbi +89 -0
- data/rbi/lib/modern_treasury/models/account_detail_delete_params.rbi +58 -0
- data/rbi/lib/modern_treasury/models/account_detail_list_params.rbi +60 -0
- data/rbi/lib/modern_treasury/models/account_detail_retrieve_params.rbi +48 -0
- data/rbi/lib/modern_treasury/models/accounts_type.rbi +16 -0
- data/rbi/lib/modern_treasury/models/async_response.rbi +31 -0
- data/rbi/lib/modern_treasury/models/bank_settings.rbi +136 -0
- data/rbi/lib/modern_treasury/models/bulk_request.rbi +195 -0
- data/rbi/lib/modern_treasury/models/bulk_request_create_params.rbi +4685 -0
- data/rbi/lib/modern_treasury/models/bulk_request_list_params.rbi +135 -0
- data/rbi/lib/modern_treasury/models/bulk_request_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/bulk_result.rbi +365 -0
- data/rbi/lib/modern_treasury/models/bulk_result_list_params.rbi +145 -0
- data/rbi/lib/modern_treasury/models/bulk_result_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/client_ping_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/connection.rbi +125 -0
- data/rbi/lib/modern_treasury/models/connection_legal_entity.rbi +149 -0
- data/rbi/lib/modern_treasury/models/connection_legal_entity_create_params.rbi +1307 -0
- data/rbi/lib/modern_treasury/models/connection_legal_entity_list_params.rbi +100 -0
- data/rbi/lib/modern_treasury/models/connection_legal_entity_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/connection_legal_entity_update_params.rbi +42 -0
- data/rbi/lib/modern_treasury/models/connection_list_params.rbi +76 -0
- data/rbi/lib/modern_treasury/models/counterparty.rbi +714 -0
- data/rbi/lib/modern_treasury/models/counterparty_collect_account_params.rbi +108 -0
- data/rbi/lib/modern_treasury/models/counterparty_collect_account_response.rbi +39 -0
- data/rbi/lib/modern_treasury/models/counterparty_create_params.rbi +2028 -0
- data/rbi/lib/modern_treasury/models/counterparty_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/counterparty_list_params.rbi +120 -0
- data/rbi/lib/modern_treasury/models/counterparty_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/counterparty_update_params.rbi +98 -0
- data/rbi/lib/modern_treasury/models/currency.rbi +203 -0
- data/rbi/lib/modern_treasury/models/document.rbi +325 -0
- data/rbi/lib/modern_treasury/models/document_create_params.rbi +91 -0
- data/rbi/lib/modern_treasury/models/document_list_params.rbi +97 -0
- data/rbi/lib/modern_treasury/models/document_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/event.rbi +136 -0
- data/rbi/lib/modern_treasury/models/event_list_params.rbi +109 -0
- data/rbi/lib/modern_treasury/models/event_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/expected_payment.rbi +350 -0
- data/rbi/lib/modern_treasury/models/expected_payment_create_params.rbi +591 -0
- data/rbi/lib/modern_treasury/models/expected_payment_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/expected_payment_list_params.rbi +194 -0
- data/rbi/lib/modern_treasury/models/expected_payment_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/expected_payment_type.rbi +44 -0
- data/rbi/lib/modern_treasury/models/expected_payment_update_params.rbi +243 -0
- data/rbi/lib/modern_treasury/models/external_account.rbi +545 -0
- data/rbi/lib/modern_treasury/models/external_account_complete_verification_params.rbi +32 -0
- data/rbi/lib/modern_treasury/models/external_account_create_params.rbi +611 -0
- data/rbi/lib/modern_treasury/models/external_account_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/external_account_list_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/external_account_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/external_account_type.rbi +22 -0
- data/rbi/lib/modern_treasury/models/external_account_update_params.rbi +203 -0
- data/rbi/lib/modern_treasury/models/external_account_verify_params.rbi +147 -0
- data/rbi/lib/modern_treasury/models/external_account_verify_response.rbi +212 -0
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote.rbi +259 -0
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote_create_params.rbi +98 -0
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote_list_params.rbi +131 -0
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/incoming_payment_detail.rbi +383 -0
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +149 -0
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_list_params.rbi +161 -0
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_update_params.rbi +34 -0
- data/rbi/lib/modern_treasury/models/internal_account.rbi +414 -0
- data/rbi/lib/modern_treasury/models/internal_account_create_params.rbi +225 -0
- data/rbi/lib/modern_treasury/models/internal_account_list_params.rbi +159 -0
- data/rbi/lib/modern_treasury/models/internal_account_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/internal_account_update_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report.rbi +336 -0
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +164 -0
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_delete_params.rbi +36 -0
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rbi +91 -0
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbi +36 -0
- data/rbi/lib/modern_treasury/models/invoice.rbi +850 -0
- data/rbi/lib/modern_treasury/models/invoice_add_payment_order_params.rbi +35 -0
- data/rbi/lib/modern_treasury/models/invoice_create_params.rbi +793 -0
- data/rbi/lib/modern_treasury/models/invoice_list_params.rbi +168 -0
- data/rbi/lib/modern_treasury/models/invoice_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/invoice_update_params.rbi +793 -0
- data/rbi/lib/modern_treasury/models/invoices/invoice_line_item.rbi +173 -0
- data/rbi/lib/modern_treasury/models/invoices/line_item_create_params.rbi +111 -0
- data/rbi/lib/modern_treasury/models/invoices/line_item_delete_params.rbi +34 -0
- data/rbi/lib/modern_treasury/models/invoices/line_item_list_params.rbi +52 -0
- data/rbi/lib/modern_treasury/models/invoices/line_item_retrieve_params.rbi +34 -0
- data/rbi/lib/modern_treasury/models/invoices/line_item_update_params.rbi +122 -0
- data/rbi/lib/modern_treasury/models/ledger.rbi +125 -0
- data/rbi/lib/modern_treasury/models/ledger_account.rbi +502 -0
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor.rbi +533 -0
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rbi +113 -0
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_list_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_update_params.rbi +50 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category.rbi +430 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbi +35 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_add_nested_category_params.rbi +35 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_create_params.rbi +120 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_list_params.rbi +163 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbi +35 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbi +35 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_retrieve_params.rbi +69 -0
- data/rbi/lib/modern_treasury/models/ledger_account_category_update_params.rbi +60 -0
- data/rbi/lib/modern_treasury/models/ledger_account_create_params.rbi +155 -0
- data/rbi/lib/modern_treasury/models/ledger_account_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_account_list_params.rbi +476 -0
- data/rbi/lib/modern_treasury/models/ledger_account_retrieve_params.rbi +119 -0
- data/rbi/lib/modern_treasury/models/ledger_account_settlement.rbi +228 -0
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_create_params.rbi +131 -0
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_list_params.rbi +142 -0
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_update_params.rbi +71 -0
- data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbi +42 -0
- data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbi +40 -0
- data/rbi/lib/modern_treasury/models/ledger_account_statement_create_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/ledger_account_statement_create_response.rbi +735 -0
- data/rbi/lib/modern_treasury/models/ledger_account_statement_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rbi +737 -0
- data/rbi/lib/modern_treasury/models/ledger_account_update_params.rbi +60 -0
- data/rbi/lib/modern_treasury/models/ledger_create_params.rbi +60 -0
- data/rbi/lib/modern_treasury/models/ledger_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_entry.rbi +486 -0
- data/rbi/lib/modern_treasury/models/ledger_entry_list_params.rbi +315 -0
- data/rbi/lib/modern_treasury/models/ledger_entry_retrieve_params.rbi +32 -0
- data/rbi/lib/modern_treasury/models/ledger_entry_update_params.rbi +34 -0
- data/rbi/lib/modern_treasury/models/ledger_event_handler.rbi +309 -0
- data/rbi/lib/modern_treasury/models/ledger_event_handler_create_params.rbi +257 -0
- data/rbi/lib/modern_treasury/models/ledger_event_handler_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_event_handler_list_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_event_handler_variable.rbi +68 -0
- data/rbi/lib/modern_treasury/models/ledger_list_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/ledger_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_transaction.rbi +265 -0
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_params.rbi +281 -0
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rbi +150 -0
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rbi +136 -0
- data/rbi/lib/modern_treasury/models/ledger_transaction_list_params.rbi +319 -0
- data/rbi/lib/modern_treasury/models/ledger_transaction_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ledger_transaction_update_params.rbi +259 -0
- data/rbi/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +781 -0
- data/rbi/lib/modern_treasury/models/ledger_transactions/version_list_params.rbi +100 -0
- data/rbi/lib/modern_treasury/models/ledger_update_params.rbi +60 -0
- data/rbi/lib/modern_treasury/models/ledgerable_event.rbi +136 -0
- data/rbi/lib/modern_treasury/models/ledgerable_event_create_params.rbi +70 -0
- data/rbi/lib/modern_treasury/models/ledgerable_event_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/legal_entity.rbi +748 -0
- data/rbi/lib/modern_treasury/models/legal_entity_association.rbi +890 -0
- data/rbi/lib/modern_treasury/models/legal_entity_association_create_params.rbi +649 -0
- data/rbi/lib/modern_treasury/models/legal_entity_create_params.rbi +1175 -0
- data/rbi/lib/modern_treasury/models/legal_entity_list_params.rbi +98 -0
- data/rbi/lib/modern_treasury/models/legal_entity_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/legal_entity_update_params.rbi +502 -0
- data/rbi/lib/modern_treasury/models/line_item.rbi +209 -0
- data/rbi/lib/modern_treasury/models/line_item_list_params.rbi +71 -0
- data/rbi/lib/modern_treasury/models/line_item_retrieve_params.rbi +59 -0
- data/rbi/lib/modern_treasury/models/line_item_update_params.rbi +71 -0
- data/rbi/lib/modern_treasury/models/paper_item.rbi +236 -0
- data/rbi/lib/modern_treasury/models/paper_item_list_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/paper_item_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/payment_flow.rbi +280 -0
- data/rbi/lib/modern_treasury/models/payment_flow_create_params.rbi +109 -0
- data/rbi/lib/modern_treasury/models/payment_flow_list_params.rbi +120 -0
- data/rbi/lib/modern_treasury/models/payment_flow_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/payment_flow_update_params.rbi +42 -0
- data/rbi/lib/modern_treasury/models/payment_order.rbi +997 -0
- data/rbi/lib/modern_treasury/models/payment_order_create_async_params.rbi +1455 -0
- data/rbi/lib/modern_treasury/models/payment_order_create_params.rbi +1538 -0
- data/rbi/lib/modern_treasury/models/payment_order_list_params.rbi +289 -0
- data/rbi/lib/modern_treasury/models/payment_order_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/payment_order_subtype.rbi +43 -0
- data/rbi/lib/modern_treasury/models/payment_order_type.rbi +44 -0
- data/rbi/lib/modern_treasury/models/payment_order_update_params.rbi +1179 -0
- data/rbi/lib/modern_treasury/models/payment_orders/reversal.rbi +178 -0
- data/rbi/lib/modern_treasury/models/payment_orders/reversal_create_params.rbi +363 -0
- data/rbi/lib/modern_treasury/models/payment_orders/reversal_list_params.rbi +52 -0
- data/rbi/lib/modern_treasury/models/payment_orders/reversal_retrieve_params.rbi +34 -0
- data/rbi/lib/modern_treasury/models/payment_reference.rbi +217 -0
- data/rbi/lib/modern_treasury/models/payment_reference_list_params.rbi +99 -0
- data/rbi/lib/modern_treasury/models/payment_reference_retireve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/payment_reference_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/ping_response.rbi +23 -0
- data/rbi/lib/modern_treasury/models/reconciliation_rule.rbi +186 -0
- data/rbi/lib/modern_treasury/models/return_create_params.rbi +170 -0
- data/rbi/lib/modern_treasury/models/return_list_params.rbi +112 -0
- data/rbi/lib/modern_treasury/models/return_object.rbi +587 -0
- data/rbi/lib/modern_treasury/models/return_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/routing_detail.rbi +361 -0
- data/rbi/lib/modern_treasury/models/routing_detail_create_params.rbi +155 -0
- data/rbi/lib/modern_treasury/models/routing_detail_delete_params.rbi +58 -0
- data/rbi/lib/modern_treasury/models/routing_detail_list_params.rbi +60 -0
- data/rbi/lib/modern_treasury/models/routing_detail_retrieve_params.rbi +48 -0
- data/rbi/lib/modern_treasury/models/routing_number_lookup_request.rbi +231 -0
- data/rbi/lib/modern_treasury/models/transaction.rbi +474 -0
- data/rbi/lib/modern_treasury/models/transaction_create_params.rbi +182 -0
- data/rbi/lib/modern_treasury/models/transaction_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/transaction_direction.rbi +16 -0
- data/rbi/lib/modern_treasury/models/transaction_list_params.rbi +186 -0
- data/rbi/lib/modern_treasury/models/transaction_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/transaction_update_params.rbi +34 -0
- data/rbi/lib/modern_treasury/models/transactions/line_item_create_params.rbi +62 -0
- data/rbi/lib/modern_treasury/models/transactions/line_item_delete_params.rbi +22 -0
- data/rbi/lib/modern_treasury/models/transactions/line_item_list_params.rbi +100 -0
- data/rbi/lib/modern_treasury/models/transactions/line_item_retrieve_params.rbi +22 -0
- data/rbi/lib/modern_treasury/models/transactions/transaction_line_item.rbi +221 -0
- data/rbi/lib/modern_treasury/models/validation_validate_routing_number_params.rbi +80 -0
- data/rbi/lib/modern_treasury/models/virtual_account.rbi +208 -0
- data/rbi/lib/modern_treasury/models/virtual_account_create_params.rbi +453 -0
- data/rbi/lib/modern_treasury/models/virtual_account_delete_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/virtual_account_list_params.rbi +87 -0
- data/rbi/lib/modern_treasury/models/virtual_account_retrieve_params.rbi +18 -0
- data/rbi/lib/modern_treasury/models/virtual_account_update_params.rbi +76 -0
- data/rbi/lib/modern_treasury/models/wealth_and_employment_details.rbi +363 -0
- data/rbi/lib/modern_treasury/page.rbi +49 -0
- data/rbi/lib/modern_treasury/pooled_net_requester.rbi +59 -0
- data/rbi/lib/modern_treasury/request_options.rbi +84 -0
- data/rbi/lib/modern_treasury/resources/account_collection_flows.rbi +67 -0
- data/rbi/lib/modern_treasury/resources/account_details.rbi +61 -0
- data/rbi/lib/modern_treasury/resources/bulk_requests.rbi +69 -0
- data/rbi/lib/modern_treasury/resources/bulk_results.rbi +46 -0
- data/rbi/lib/modern_treasury/resources/connection_legal_entities.rbi +65 -0
- data/rbi/lib/modern_treasury/resources/connections.rbi +24 -0
- data/rbi/lib/modern_treasury/resources/counterparties.rbi +137 -0
- data/rbi/lib/modern_treasury/resources/documents.rbi +53 -0
- data/rbi/lib/modern_treasury/resources/events.rbi +46 -0
- data/rbi/lib/modern_treasury/resources/expected_payments.rbi +158 -0
- data/rbi/lib/modern_treasury/resources/external_accounts.rbi +155 -0
- data/rbi/lib/modern_treasury/resources/foreign_exchange_quotes.rbi +73 -0
- data/rbi/lib/modern_treasury/resources/incoming_payment_details.rbi +88 -0
- data/rbi/lib/modern_treasury/resources/internal_accounts/balance_reports.rbi +77 -0
- data/rbi/lib/modern_treasury/resources/internal_accounts.rbi +104 -0
- data/rbi/lib/modern_treasury/resources/invoices/line_items.rbi +103 -0
- data/rbi/lib/modern_treasury/resources/invoices.rbi +193 -0
- data/rbi/lib/modern_treasury/resources/ledger_account_balance_monitors.rbi +77 -0
- data/rbi/lib/modern_treasury/resources/ledger_account_categories.rbi +147 -0
- data/rbi/lib/modern_treasury/resources/ledger_account_settlements/account_entries.rbi +35 -0
- data/rbi/lib/modern_treasury/resources/ledger_account_settlements.rbi +96 -0
- data/rbi/lib/modern_treasury/resources/ledger_account_statements.rbi +42 -0
- data/rbi/lib/modern_treasury/resources/ledger_accounts.rbi +115 -0
- data/rbi/lib/modern_treasury/resources/ledger_entries.rbi +84 -0
- data/rbi/lib/modern_treasury/resources/ledger_event_handlers.rbi +77 -0
- data/rbi/lib/modern_treasury/resources/ledger_transactions/versions.rbi +36 -0
- data/rbi/lib/modern_treasury/resources/ledger_transactions.rbi +178 -0
- data/rbi/lib/modern_treasury/resources/ledgerable_events.rbi +34 -0
- data/rbi/lib/modern_treasury/resources/ledgers.rbi +70 -0
- data/rbi/lib/modern_treasury/resources/legal_entities.rbi +158 -0
- data/rbi/lib/modern_treasury/resources/legal_entity_associations.rbi +34 -0
- data/rbi/lib/modern_treasury/resources/line_items.rbi +49 -0
- data/rbi/lib/modern_treasury/resources/paper_items.rbi +42 -0
- data/rbi/lib/modern_treasury/resources/payment_flows.rbi +82 -0
- data/rbi/lib/modern_treasury/resources/payment_orders/reversals.rbi +49 -0
- data/rbi/lib/modern_treasury/resources/payment_orders.rbi +315 -0
- data/rbi/lib/modern_treasury/resources/payment_references.rbi +52 -0
- data/rbi/lib/modern_treasury/resources/returns.rbi +67 -0
- data/rbi/lib/modern_treasury/resources/routing_details.rbi +69 -0
- data/rbi/lib/modern_treasury/resources/transactions/line_items.rbi +66 -0
- data/rbi/lib/modern_treasury/resources/transactions.rbi +116 -0
- data/rbi/lib/modern_treasury/resources/validations.rbi +22 -0
- data/rbi/lib/modern_treasury/resources/virtual_accounts.rbi +104 -0
- data/rbi/lib/modern_treasury/util.rbi +135 -0
- data/rbi/lib/modern_treasury/version.rbi +5 -0
- data/sig/modern_treasury/base_client.rbs +100 -0
- data/sig/modern_treasury/base_model.rbs +246 -0
- data/sig/modern_treasury/base_page.rbs +20 -0
- data/sig/modern_treasury/client.rbs +102 -0
- data/sig/modern_treasury/errors.rbs +98 -0
- data/sig/modern_treasury/extern.rbs +4 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +146 -0
- data/sig/modern_treasury/models/account_collection_flow_create_params.rbs +83 -0
- data/sig/modern_treasury/models/account_collection_flow_list_params.rbs +58 -0
- data/sig/modern_treasury/models/account_collection_flow_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/account_collection_flow_update_params.rbs +36 -0
- data/sig/modern_treasury/models/account_detail.rbs +84 -0
- data/sig/modern_treasury/models/account_detail_create_params.rbs +75 -0
- data/sig/modern_treasury/models/account_detail_delete_params.rbs +40 -0
- data/sig/modern_treasury/models/account_detail_list_params.rbs +38 -0
- data/sig/modern_treasury/models/account_detail_retrieve_params.rbs +32 -0
- data/sig/modern_treasury/models/accounts_type.rbs +12 -0
- data/sig/modern_treasury/models/async_response.rbs +20 -0
- data/sig/modern_treasury/models/bank_settings.rbs +59 -0
- data/sig/modern_treasury/models/bulk_request.rbs +98 -0
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +2680 -0
- data/sig/modern_treasury/models/bulk_request_list_params.rbs +96 -0
- data/sig/modern_treasury/models/bulk_request_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/bulk_result.rbs +178 -0
- data/sig/modern_treasury/models/bulk_result_list_params.rbs +105 -0
- data/sig/modern_treasury/models/bulk_result_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/client_ping_params.rbs +19 -0
- data/sig/modern_treasury/models/connection.rbs +54 -0
- data/sig/modern_treasury/models/connection_legal_entity.rbs +70 -0
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +739 -0
- data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +65 -0
- data/sig/modern_treasury/models/connection_legal_entity_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/connection_legal_entity_update_params.rbs +40 -0
- data/sig/modern_treasury/models/connection_list_params.rbs +46 -0
- data/sig/modern_treasury/models/counterparty.rbs +352 -0
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +113 -0
- data/sig/modern_treasury/models/counterparty_collect_account_response.rbs +23 -0
- data/sig/modern_treasury/models/counterparty_create_params.rbs +1310 -0
- data/sig/modern_treasury/models/counterparty_delete_params.rbs +19 -0
- data/sig/modern_treasury/models/counterparty_list_params.rbs +70 -0
- data/sig/modern_treasury/models/counterparty_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/counterparty_update_params.rbs +58 -0
- data/sig/modern_treasury/models/currency.rbs +388 -0
- data/sig/modern_treasury/models/document.rbs +170 -0
- data/sig/modern_treasury/models/document_create_params.rbs +73 -0
- data/sig/modern_treasury/models/document_list_params.rbs +79 -0
- data/sig/modern_treasury/models/document_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/event.rbs +58 -0
- data/sig/modern_treasury/models/event_list_params.rbs +64 -0
- data/sig/modern_treasury/models/event_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/expected_payment.rbs +153 -0
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +308 -0
- data/sig/modern_treasury/models/expected_payment_delete_params.rbs +20 -0
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +167 -0
- data/sig/modern_treasury/models/expected_payment_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/expected_payment_type.rbs +70 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +111 -0
- data/sig/modern_treasury/models/external_account.rbs +242 -0
- data/sig/modern_treasury/models/external_account_complete_verification_params.rbs +27 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +481 -0
- data/sig/modern_treasury/models/external_account_delete_params.rbs +20 -0
- data/sig/modern_treasury/models/external_account_list_params.rbs +52 -0
- data/sig/modern_treasury/models/external_account_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/external_account_type.rbs +26 -0
- data/sig/modern_treasury/models/external_account_update_params.rbs +113 -0
- data/sig/modern_treasury/models/external_account_verify_params.rbs +140 -0
- data/sig/modern_treasury/models/external_account_verify_response.rbs +154 -0
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +113 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_create_params.rbs +58 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_list_params.rbs +76 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +222 -0
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +94 -0
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +109 -0
- data/sig/modern_treasury/models/incoming_payment_detail_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/incoming_payment_detail_update_params.rbs +27 -0
- data/sig/modern_treasury/models/internal_account.rbs +187 -0
- data/sig/modern_treasury/models/internal_account_create_params.rbs +123 -0
- data/sig/modern_treasury/models/internal_account_list_params.rbs +143 -0
- data/sig/modern_treasury/models/internal_account_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/internal_account_update_params.rbs +54 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +166 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +111 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_delete_params.rbs +27 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_list_params.rbs +62 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +27 -0
- data/sig/modern_treasury/models/invoice.rbs +383 -0
- data/sig/modern_treasury/models/invoice_add_payment_order_params.rbs +22 -0
- data/sig/modern_treasury/models/invoice_create_params.rbs +396 -0
- data/sig/modern_treasury/models/invoice_list_params.rbs +104 -0
- data/sig/modern_treasury/models/invoice_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/invoice_update_params.rbs +404 -0
- data/sig/modern_treasury/models/invoices/invoice_line_item.rbs +76 -0
- data/sig/modern_treasury/models/invoices/line_item_create_params.rbs +64 -0
- data/sig/modern_treasury/models/invoices/line_item_delete_params.rbs +27 -0
- data/sig/modern_treasury/models/invoices/line_item_list_params.rbs +33 -0
- data/sig/modern_treasury/models/invoices/line_item_retrieve_params.rbs +27 -0
- data/sig/modern_treasury/models/invoices/line_item_update_params.rbs +72 -0
- data/sig/modern_treasury/models/ledger.rbs +54 -0
- data/sig/modern_treasury/models/ledger_account.rbs +235 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +246 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_create_params.rbs +63 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_list_params.rbs +52 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_update_params.rbs +33 -0
- data/sig/modern_treasury/models/ledger_account_category.rbs +203 -0
- data/sig/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbs +22 -0
- data/sig/modern_treasury/models/ledger_account_category_add_nested_category_params.rbs +22 -0
- data/sig/modern_treasury/models/ledger_account_category_create_params.rbs +60 -0
- data/sig/modern_treasury/models/ledger_account_category_delete_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +101 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbs +22 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbs +22 -0
- data/sig/modern_treasury/models/ledger_account_category_retrieve_params.rbs +53 -0
- data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +36 -0
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +86 -0
- data/sig/modern_treasury/models/ledger_account_delete_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_account_list_params.rbs +310 -0
- data/sig/modern_treasury/models/ledger_account_retrieve_params.rbs +78 -0
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +101 -0
- data/sig/modern_treasury/models/ledger_account_settlement_create_params.rbs +67 -0
- data/sig/modern_treasury/models/ledger_account_settlement_list_params.rbs +82 -0
- data/sig/modern_treasury/models/ledger_account_settlement_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +51 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbs +27 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbs +28 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_params.rbs +46 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +351 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +351 -0
- data/sig/modern_treasury/models/ledger_account_update_params.rbs +36 -0
- data/sig/modern_treasury/models/ledger_create_params.rbs +34 -0
- data/sig/modern_treasury/models/ledger_delete_params.rbs +19 -0
- data/sig/modern_treasury/models/ledger_entry.rbs +228 -0
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +210 -0
- data/sig/modern_treasury/models/ledger_entry_retrieve_params.rbs +27 -0
- data/sig/modern_treasury/models/ledger_entry_update_params.rbs +27 -0
- data/sig/modern_treasury/models/ledger_event_handler.rbs +146 -0
- data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +129 -0
- data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +52 -0
- data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +46 -0
- data/sig/modern_treasury/models/ledger_list_params.rbs +52 -0
- data/sig/modern_treasury/models/ledger_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/ledger_transaction.rbs +124 -0
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +161 -0
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +89 -0
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +97 -0
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +221 -0
- data/sig/modern_treasury/models/ledger_transaction_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +153 -0
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +351 -0
- data/sig/modern_treasury/models/ledger_transactions/version_list_params.rbs +60 -0
- data/sig/modern_treasury/models/ledger_update_params.rbs +36 -0
- data/sig/modern_treasury/models/ledgerable_event.rbs +59 -0
- data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +42 -0
- data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/legal_entity.rbs +372 -0
- data/sig/modern_treasury/models/legal_entity_association.rbs +438 -0
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +384 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +701 -0
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +63 -0
- data/sig/modern_treasury/models/legal_entity_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +312 -0
- data/sig/modern_treasury/models/line_item.rbs +96 -0
- data/sig/modern_treasury/models/line_item_list_params.rbs +47 -0
- data/sig/modern_treasury/models/line_item_retrieve_params.rbs +41 -0
- data/sig/modern_treasury/models/line_item_update_params.rbs +47 -0
- data/sig/modern_treasury/models/paper_item.rbs +100 -0
- data/sig/modern_treasury/models/paper_item_list_params.rbs +52 -0
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/payment_flow.rbs +161 -0
- data/sig/modern_treasury/models/payment_flow_create_params.rbs +59 -0
- data/sig/modern_treasury/models/payment_flow_list_params.rbs +70 -0
- data/sig/modern_treasury/models/payment_flow_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/payment_flow_update_params.rbs +34 -0
- data/sig/modern_treasury/models/payment_order.rbs +566 -0
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +922 -0
- data/sig/modern_treasury/models/payment_order_create_params.rbs +995 -0
- data/sig/modern_treasury/models/payment_order_list_params.rbs +237 -0
- data/sig/modern_treasury/models/payment_order_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/payment_order_subtype.rbs +68 -0
- data/sig/modern_treasury/models/payment_order_type.rbs +70 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +802 -0
- data/sig/modern_treasury/models/payment_orders/reversal.rbs +96 -0
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +214 -0
- data/sig/modern_treasury/models/payment_orders/reversal_list_params.rbs +33 -0
- data/sig/modern_treasury/models/payment_orders/reversal_retrieve_params.rbs +27 -0
- data/sig/modern_treasury/models/payment_reference.rbs +214 -0
- data/sig/modern_treasury/models/payment_reference_list_params.rbs +64 -0
- data/sig/modern_treasury/models/payment_reference_retireve_params.rbs +20 -0
- data/sig/modern_treasury/models/payment_reference_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/ping_response.rbs +18 -0
- data/sig/modern_treasury/models/reconciliation_rule.rbs +139 -0
- data/sig/modern_treasury/models/return_create_params.rbs +169 -0
- data/sig/modern_treasury/models/return_list_params.rbs +77 -0
- data/sig/modern_treasury/models/return_object.rbs +490 -0
- data/sig/modern_treasury/models/return_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/routing_detail.rbs +239 -0
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +164 -0
- data/sig/modern_treasury/models/routing_detail_delete_params.rbs +40 -0
- data/sig/modern_treasury/models/routing_detail_list_params.rbs +38 -0
- data/sig/modern_treasury/models/routing_detail_retrieve_params.rbs +32 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +191 -0
- data/sig/modern_treasury/models/transaction.rbs +286 -0
- data/sig/modern_treasury/models/transaction_create_params.rbs +137 -0
- data/sig/modern_treasury/models/transaction_delete_params.rbs +19 -0
- data/sig/modern_treasury/models/transaction_direction.rbs +12 -0
- data/sig/modern_treasury/models/transaction_list_params.rbs +106 -0
- data/sig/modern_treasury/models/transaction_retrieve_params.rbs +19 -0
- data/sig/modern_treasury/models/transaction_update_params.rbs +27 -0
- data/sig/modern_treasury/models/transactions/line_item_create_params.rbs +34 -0
- data/sig/modern_treasury/models/transactions/line_item_delete_params.rbs +21 -0
- data/sig/modern_treasury/models/transactions/line_item_list_params.rbs +61 -0
- data/sig/modern_treasury/models/transactions/line_item_retrieve_params.rbs +21 -0
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +112 -0
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +81 -0
- data/sig/modern_treasury/models/virtual_account.rbs +83 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +366 -0
- data/sig/modern_treasury/models/virtual_account_delete_params.rbs +20 -0
- data/sig/modern_treasury/models/virtual_account_list_params.rbs +52 -0
- data/sig/modern_treasury/models/virtual_account_retrieve_params.rbs +20 -0
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +46 -0
- data/sig/modern_treasury/models/wealth_and_employment_details.rbs +299 -0
- data/sig/modern_treasury/page.rbs +22 -0
- data/sig/modern_treasury/pooled_net_requester.rbs +42 -0
- data/sig/modern_treasury/request_options.rbs +42 -0
- data/sig/modern_treasury/resources/account_collection_flows.rbs +57 -0
- data/sig/modern_treasury/resources/account_details.rbs +61 -0
- data/sig/modern_treasury/resources/bulk_requests.rbs +46 -0
- data/sig/modern_treasury/resources/bulk_results.rbs +34 -0
- data/sig/modern_treasury/resources/connection_legal_entities.rbs +56 -0
- data/sig/modern_treasury/resources/connections.rbs +20 -0
- data/sig/modern_treasury/resources/counterparties.rbs +95 -0
- data/sig/modern_treasury/resources/documents.rbs +44 -0
- data/sig/modern_treasury/resources/events.rbs +33 -0
- data/sig/modern_treasury/resources/expected_payments.rbs +104 -0
- data/sig/modern_treasury/resources/external_accounts.rbs +108 -0
- data/sig/modern_treasury/resources/foreign_exchange_quotes.rbs +51 -0
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +65 -0
- data/sig/modern_treasury/resources/internal_accounts/balance_reports.rbs +63 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +71 -0
- data/sig/modern_treasury/resources/invoices/line_items.rbs +83 -0
- data/sig/modern_treasury/resources/invoices.rbs +122 -0
- data/sig/modern_treasury/resources/ledger_account_balance_monitors.rbs +69 -0
- data/sig/modern_treasury/resources/ledger_account_categories.rbs +128 -0
- data/sig/modern_treasury/resources/ledger_account_settlements/account_entries.rbs +33 -0
- data/sig/modern_treasury/resources/ledger_account_settlements.rbs +70 -0
- data/sig/modern_treasury/resources/ledger_account_statements.rbs +32 -0
- data/sig/modern_treasury/resources/ledger_accounts.rbs +86 -0
- data/sig/modern_treasury/resources/ledger_entries.rbs +60 -0
- data/sig/modern_treasury/resources/ledger_event_handlers.rbs +59 -0
- data/sig/modern_treasury/resources/ledger_transactions/versions.rbs +24 -0
- data/sig/modern_treasury/resources/ledger_transactions.rbs +117 -0
- data/sig/modern_treasury/resources/ledgerable_events.rbs +31 -0
- data/sig/modern_treasury/resources/ledgers.rbs +68 -0
- data/sig/modern_treasury/resources/legal_entities.rbs +98 -0
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +22 -0
- data/sig/modern_treasury/resources/line_items.rbs +48 -0
- data/sig/modern_treasury/resources/paper_items.rbs +32 -0
- data/sig/modern_treasury/resources/payment_flows.rbs +62 -0
- data/sig/modern_treasury/resources/payment_orders/reversals.rbs +48 -0
- data/sig/modern_treasury/resources/payment_orders.rbs +180 -0
- data/sig/modern_treasury/resources/payment_references.rbs +43 -0
- data/sig/modern_treasury/resources/returns.rbs +47 -0
- data/sig/modern_treasury/resources/routing_details.rbs +62 -0
- data/sig/modern_treasury/resources/transactions/line_items.rbs +54 -0
- data/sig/modern_treasury/resources/transactions.rbs +82 -0
- data/sig/modern_treasury/resources/validations.rbs +18 -0
- data/sig/modern_treasury/resources/virtual_accounts.rbs +77 -0
- data/sig/modern_treasury/util.rbs +91 -0
- data/sig/modern_treasury/version.rbs +3 -0
- metadata +861 -20
@@ -0,0 +1,18 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module ModernTreasury
|
4
|
+
module Models
|
5
|
+
class CounterpartyDeleteParams < ModernTreasury::BaseModel
|
6
|
+
extend ModernTreasury::RequestParameters::Converter
|
7
|
+
include ModernTreasury::RequestParameters
|
8
|
+
|
9
|
+
sig { params(request_options: T.any(ModernTreasury::RequestOptions, T::Hash[Symbol, T.anything])).void }
|
10
|
+
def initialize(request_options: {})
|
11
|
+
end
|
12
|
+
|
13
|
+
sig { override.returns({request_options: ModernTreasury::RequestOptions}) }
|
14
|
+
def to_hash
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module ModernTreasury
|
4
|
+
module Models
|
5
|
+
class CounterpartyListParams < ModernTreasury::BaseModel
|
6
|
+
extend ModernTreasury::RequestParameters::Converter
|
7
|
+
include ModernTreasury::RequestParameters
|
8
|
+
|
9
|
+
sig { returns(T.nilable(String)) }
|
10
|
+
def after_cursor
|
11
|
+
end
|
12
|
+
|
13
|
+
sig { params(_: T.nilable(String)).returns(T.nilable(String)) }
|
14
|
+
def after_cursor=(_)
|
15
|
+
end
|
16
|
+
|
17
|
+
sig { returns(T.nilable(Time)) }
|
18
|
+
def created_at_lower_bound
|
19
|
+
end
|
20
|
+
|
21
|
+
sig { params(_: Time).returns(Time) }
|
22
|
+
def created_at_lower_bound=(_)
|
23
|
+
end
|
24
|
+
|
25
|
+
sig { returns(T.nilable(Time)) }
|
26
|
+
def created_at_upper_bound
|
27
|
+
end
|
28
|
+
|
29
|
+
sig { params(_: Time).returns(Time) }
|
30
|
+
def created_at_upper_bound=(_)
|
31
|
+
end
|
32
|
+
|
33
|
+
sig { returns(T.nilable(String)) }
|
34
|
+
def email
|
35
|
+
end
|
36
|
+
|
37
|
+
sig { params(_: String).returns(String) }
|
38
|
+
def email=(_)
|
39
|
+
end
|
40
|
+
|
41
|
+
sig { returns(T.nilable(String)) }
|
42
|
+
def legal_entity_id
|
43
|
+
end
|
44
|
+
|
45
|
+
sig { params(_: String).returns(String) }
|
46
|
+
def legal_entity_id=(_)
|
47
|
+
end
|
48
|
+
|
49
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
50
|
+
def metadata
|
51
|
+
end
|
52
|
+
|
53
|
+
sig { params(_: T::Hash[Symbol, String]).returns(T::Hash[Symbol, String]) }
|
54
|
+
def metadata=(_)
|
55
|
+
end
|
56
|
+
|
57
|
+
sig { returns(T.nilable(String)) }
|
58
|
+
def name
|
59
|
+
end
|
60
|
+
|
61
|
+
sig { params(_: String).returns(String) }
|
62
|
+
def name=(_)
|
63
|
+
end
|
64
|
+
|
65
|
+
sig { returns(T.nilable(Integer)) }
|
66
|
+
def per_page
|
67
|
+
end
|
68
|
+
|
69
|
+
sig { params(_: Integer).returns(Integer) }
|
70
|
+
def per_page=(_)
|
71
|
+
end
|
72
|
+
|
73
|
+
sig do
|
74
|
+
params(
|
75
|
+
after_cursor: T.nilable(String),
|
76
|
+
created_at_lower_bound: Time,
|
77
|
+
created_at_upper_bound: Time,
|
78
|
+
email: String,
|
79
|
+
legal_entity_id: String,
|
80
|
+
metadata: T::Hash[Symbol, String],
|
81
|
+
name: String,
|
82
|
+
per_page: Integer,
|
83
|
+
request_options: T.any(ModernTreasury::RequestOptions, T::Hash[Symbol, T.anything])
|
84
|
+
)
|
85
|
+
.void
|
86
|
+
end
|
87
|
+
def initialize(
|
88
|
+
after_cursor: nil,
|
89
|
+
created_at_lower_bound: nil,
|
90
|
+
created_at_upper_bound: nil,
|
91
|
+
email: nil,
|
92
|
+
legal_entity_id: nil,
|
93
|
+
metadata: nil,
|
94
|
+
name: nil,
|
95
|
+
per_page: nil,
|
96
|
+
request_options: {}
|
97
|
+
)
|
98
|
+
end
|
99
|
+
|
100
|
+
sig do
|
101
|
+
override
|
102
|
+
.returns(
|
103
|
+
{
|
104
|
+
after_cursor: T.nilable(String),
|
105
|
+
created_at_lower_bound: Time,
|
106
|
+
created_at_upper_bound: Time,
|
107
|
+
email: String,
|
108
|
+
legal_entity_id: String,
|
109
|
+
metadata: T::Hash[Symbol, String],
|
110
|
+
name: String,
|
111
|
+
per_page: Integer,
|
112
|
+
request_options: ModernTreasury::RequestOptions
|
113
|
+
}
|
114
|
+
)
|
115
|
+
end
|
116
|
+
def to_hash
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module ModernTreasury
|
4
|
+
module Models
|
5
|
+
class CounterpartyRetrieveParams < ModernTreasury::BaseModel
|
6
|
+
extend ModernTreasury::RequestParameters::Converter
|
7
|
+
include ModernTreasury::RequestParameters
|
8
|
+
|
9
|
+
sig { params(request_options: T.any(ModernTreasury::RequestOptions, T::Hash[Symbol, T.anything])).void }
|
10
|
+
def initialize(request_options: {})
|
11
|
+
end
|
12
|
+
|
13
|
+
sig { override.returns({request_options: ModernTreasury::RequestOptions}) }
|
14
|
+
def to_hash
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module ModernTreasury
|
4
|
+
module Models
|
5
|
+
class CounterpartyUpdateParams < ModernTreasury::BaseModel
|
6
|
+
extend ModernTreasury::RequestParameters::Converter
|
7
|
+
include ModernTreasury::RequestParameters
|
8
|
+
|
9
|
+
sig { returns(T.nilable(String)) }
|
10
|
+
def email
|
11
|
+
end
|
12
|
+
|
13
|
+
sig { params(_: String).returns(String) }
|
14
|
+
def email=(_)
|
15
|
+
end
|
16
|
+
|
17
|
+
sig { returns(T.nilable(String)) }
|
18
|
+
def legal_entity_id
|
19
|
+
end
|
20
|
+
|
21
|
+
sig { params(_: T.nilable(String)).returns(T.nilable(String)) }
|
22
|
+
def legal_entity_id=(_)
|
23
|
+
end
|
24
|
+
|
25
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
26
|
+
def metadata
|
27
|
+
end
|
28
|
+
|
29
|
+
sig { params(_: T::Hash[Symbol, String]).returns(T::Hash[Symbol, String]) }
|
30
|
+
def metadata=(_)
|
31
|
+
end
|
32
|
+
|
33
|
+
sig { returns(T.nilable(String)) }
|
34
|
+
def name
|
35
|
+
end
|
36
|
+
|
37
|
+
sig { params(_: String).returns(String) }
|
38
|
+
def name=(_)
|
39
|
+
end
|
40
|
+
|
41
|
+
sig { returns(T.nilable(T::Boolean)) }
|
42
|
+
def send_remittance_advice
|
43
|
+
end
|
44
|
+
|
45
|
+
sig { params(_: T::Boolean).returns(T::Boolean) }
|
46
|
+
def send_remittance_advice=(_)
|
47
|
+
end
|
48
|
+
|
49
|
+
sig { returns(T.nilable(String)) }
|
50
|
+
def taxpayer_identifier
|
51
|
+
end
|
52
|
+
|
53
|
+
sig { params(_: String).returns(String) }
|
54
|
+
def taxpayer_identifier=(_)
|
55
|
+
end
|
56
|
+
|
57
|
+
sig do
|
58
|
+
params(
|
59
|
+
email: String,
|
60
|
+
legal_entity_id: T.nilable(String),
|
61
|
+
metadata: T::Hash[Symbol, String],
|
62
|
+
name: String,
|
63
|
+
send_remittance_advice: T::Boolean,
|
64
|
+
taxpayer_identifier: String,
|
65
|
+
request_options: T.any(ModernTreasury::RequestOptions, T::Hash[Symbol, T.anything])
|
66
|
+
)
|
67
|
+
.void
|
68
|
+
end
|
69
|
+
def initialize(
|
70
|
+
email: nil,
|
71
|
+
legal_entity_id: nil,
|
72
|
+
metadata: nil,
|
73
|
+
name: nil,
|
74
|
+
send_remittance_advice: nil,
|
75
|
+
taxpayer_identifier: nil,
|
76
|
+
request_options: {}
|
77
|
+
)
|
78
|
+
end
|
79
|
+
|
80
|
+
sig do
|
81
|
+
override
|
82
|
+
.returns(
|
83
|
+
{
|
84
|
+
email: String,
|
85
|
+
legal_entity_id: T.nilable(String),
|
86
|
+
metadata: T::Hash[Symbol, String],
|
87
|
+
name: String,
|
88
|
+
send_remittance_advice: T::Boolean,
|
89
|
+
taxpayer_identifier: String,
|
90
|
+
request_options: ModernTreasury::RequestOptions
|
91
|
+
}
|
92
|
+
)
|
93
|
+
end
|
94
|
+
def to_hash
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,203 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module ModernTreasury
|
4
|
+
module Models
|
5
|
+
class Currency < ModernTreasury::Enum
|
6
|
+
abstract!
|
7
|
+
|
8
|
+
AED = :AED
|
9
|
+
AFN = :AFN
|
10
|
+
ALL = :ALL
|
11
|
+
AMD = :AMD
|
12
|
+
ANG = :ANG
|
13
|
+
AOA = :AOA
|
14
|
+
ARS = :ARS
|
15
|
+
AUD = :AUD
|
16
|
+
AWG = :AWG
|
17
|
+
AZN = :AZN
|
18
|
+
BAM = :BAM
|
19
|
+
BBD = :BBD
|
20
|
+
BCH = :BCH
|
21
|
+
BDT = :BDT
|
22
|
+
BGN = :BGN
|
23
|
+
BHD = :BHD
|
24
|
+
BIF = :BIF
|
25
|
+
BMD = :BMD
|
26
|
+
BND = :BND
|
27
|
+
BOB = :BOB
|
28
|
+
BRL = :BRL
|
29
|
+
BSD = :BSD
|
30
|
+
BTC = :BTC
|
31
|
+
BTN = :BTN
|
32
|
+
BWP = :BWP
|
33
|
+
BYN = :BYN
|
34
|
+
BYR = :BYR
|
35
|
+
BZD = :BZD
|
36
|
+
CAD = :CAD
|
37
|
+
CDF = :CDF
|
38
|
+
CHF = :CHF
|
39
|
+
CLF = :CLF
|
40
|
+
CLP = :CLP
|
41
|
+
CNH = :CNH
|
42
|
+
CNY = :CNY
|
43
|
+
COP = :COP
|
44
|
+
CRC = :CRC
|
45
|
+
CUC = :CUC
|
46
|
+
CUP = :CUP
|
47
|
+
CVE = :CVE
|
48
|
+
CZK = :CZK
|
49
|
+
DJF = :DJF
|
50
|
+
DKK = :DKK
|
51
|
+
DOP = :DOP
|
52
|
+
DZD = :DZD
|
53
|
+
EEK = :EEK
|
54
|
+
EGP = :EGP
|
55
|
+
ERN = :ERN
|
56
|
+
ETB = :ETB
|
57
|
+
EUR = :EUR
|
58
|
+
FJD = :FJD
|
59
|
+
FKP = :FKP
|
60
|
+
GBP = :GBP
|
61
|
+
GBX = :GBX
|
62
|
+
GEL = :GEL
|
63
|
+
GGP = :GGP
|
64
|
+
GHS = :GHS
|
65
|
+
GIP = :GIP
|
66
|
+
GMD = :GMD
|
67
|
+
GNF = :GNF
|
68
|
+
GTQ = :GTQ
|
69
|
+
GYD = :GYD
|
70
|
+
HKD = :HKD
|
71
|
+
HNL = :HNL
|
72
|
+
HRK = :HRK
|
73
|
+
HTG = :HTG
|
74
|
+
HUF = :HUF
|
75
|
+
IDR = :IDR
|
76
|
+
ILS = :ILS
|
77
|
+
IMP = :IMP
|
78
|
+
INR = :INR
|
79
|
+
IQD = :IQD
|
80
|
+
IRR = :IRR
|
81
|
+
ISK = :ISK
|
82
|
+
JEP = :JEP
|
83
|
+
JMD = :JMD
|
84
|
+
JOD = :JOD
|
85
|
+
JPY = :JPY
|
86
|
+
KES = :KES
|
87
|
+
KGS = :KGS
|
88
|
+
KHR = :KHR
|
89
|
+
KMF = :KMF
|
90
|
+
KPW = :KPW
|
91
|
+
KRW = :KRW
|
92
|
+
KWD = :KWD
|
93
|
+
KYD = :KYD
|
94
|
+
KZT = :KZT
|
95
|
+
LAK = :LAK
|
96
|
+
LBP = :LBP
|
97
|
+
LKR = :LKR
|
98
|
+
LRD = :LRD
|
99
|
+
LSL = :LSL
|
100
|
+
LTL = :LTL
|
101
|
+
LVL = :LVL
|
102
|
+
LYD = :LYD
|
103
|
+
MAD = :MAD
|
104
|
+
MDL = :MDL
|
105
|
+
MGA = :MGA
|
106
|
+
MKD = :MKD
|
107
|
+
MMK = :MMK
|
108
|
+
MNT = :MNT
|
109
|
+
MOP = :MOP
|
110
|
+
MRO = :MRO
|
111
|
+
MRU = :MRU
|
112
|
+
MTL = :MTL
|
113
|
+
MUR = :MUR
|
114
|
+
MVR = :MVR
|
115
|
+
MWK = :MWK
|
116
|
+
MXN = :MXN
|
117
|
+
MYR = :MYR
|
118
|
+
MZN = :MZN
|
119
|
+
NAD = :NAD
|
120
|
+
NGN = :NGN
|
121
|
+
NIO = :NIO
|
122
|
+
NOK = :NOK
|
123
|
+
NPR = :NPR
|
124
|
+
NZD = :NZD
|
125
|
+
OMR = :OMR
|
126
|
+
PAB = :PAB
|
127
|
+
PEN = :PEN
|
128
|
+
PGK = :PGK
|
129
|
+
PHP = :PHP
|
130
|
+
PKR = :PKR
|
131
|
+
PLN = :PLN
|
132
|
+
PYG = :PYG
|
133
|
+
QAR = :QAR
|
134
|
+
RON = :RON
|
135
|
+
RSD = :RSD
|
136
|
+
RUB = :RUB
|
137
|
+
RWF = :RWF
|
138
|
+
SAR = :SAR
|
139
|
+
SBD = :SBD
|
140
|
+
SCR = :SCR
|
141
|
+
SDG = :SDG
|
142
|
+
SEK = :SEK
|
143
|
+
SGD = :SGD
|
144
|
+
SHP = :SHP
|
145
|
+
SKK = :SKK
|
146
|
+
SLL = :SLL
|
147
|
+
SOS = :SOS
|
148
|
+
SRD = :SRD
|
149
|
+
SSP = :SSP
|
150
|
+
STD = :STD
|
151
|
+
SVC = :SVC
|
152
|
+
SYP = :SYP
|
153
|
+
SZL = :SZL
|
154
|
+
THB = :THB
|
155
|
+
TJS = :TJS
|
156
|
+
TMM = :TMM
|
157
|
+
TMT = :TMT
|
158
|
+
TND = :TND
|
159
|
+
TOP = :TOP
|
160
|
+
TRY = :TRY
|
161
|
+
TTD = :TTD
|
162
|
+
TWD = :TWD
|
163
|
+
TZS = :TZS
|
164
|
+
UAH = :UAH
|
165
|
+
UGX = :UGX
|
166
|
+
USD = :USD
|
167
|
+
UYU = :UYU
|
168
|
+
UZS = :UZS
|
169
|
+
VEF = :VEF
|
170
|
+
VES = :VES
|
171
|
+
VND = :VND
|
172
|
+
VUV = :VUV
|
173
|
+
WST = :WST
|
174
|
+
XAF = :XAF
|
175
|
+
XAG = :XAG
|
176
|
+
XAU = :XAU
|
177
|
+
XBA = :XBA
|
178
|
+
XBB = :XBB
|
179
|
+
XBC = :XBC
|
180
|
+
XBD = :XBD
|
181
|
+
XCD = :XCD
|
182
|
+
XDR = :XDR
|
183
|
+
XFU = :XFU
|
184
|
+
XOF = :XOF
|
185
|
+
XPD = :XPD
|
186
|
+
XPF = :XPF
|
187
|
+
XPT = :XPT
|
188
|
+
XTS = :XTS
|
189
|
+
YER = :YER
|
190
|
+
ZAR = :ZAR
|
191
|
+
ZMK = :ZMK
|
192
|
+
ZMW = :ZMW
|
193
|
+
ZWD = :ZWD
|
194
|
+
ZWL = :ZWL
|
195
|
+
ZWN = :ZWN
|
196
|
+
ZWR = :ZWR
|
197
|
+
|
198
|
+
sig { override.returns(T::Array[Symbol]) }
|
199
|
+
def self.values
|
200
|
+
end
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|