modern_treasury 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.21
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/CHANGELOG.md +46 -0
- data/README.md +110 -61
- data/SECURITY.md +2 -2
- data/lib/modern_treasury/client.rb +9 -5
- data/lib/modern_treasury/internal/transport/pooled_net_requester.rb +3 -1
- data/lib/modern_treasury/internal/type/array_of.rb +8 -0
- data/lib/modern_treasury/internal/type/base_model.rb +14 -0
- data/lib/modern_treasury/internal/type/boolean.rb +8 -0
- data/lib/modern_treasury/internal/type/enum.rb +15 -0
- data/lib/modern_treasury/internal/type/file_input.rb +7 -0
- data/lib/modern_treasury/internal/type/hash_of.rb +8 -0
- data/lib/modern_treasury/internal/type/union.rb +17 -0
- data/lib/modern_treasury/internal/type/unknown.rb +8 -0
- data/lib/modern_treasury/internal/util.rb +62 -10
- data/lib/modern_treasury/internal.rb +3 -0
- data/lib/modern_treasury/models/account_collection_flow.rb +8 -8
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +2 -2
- data/lib/modern_treasury/models/account_collection_flow_update_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail.rb +8 -4
- data/lib/modern_treasury/models/account_detail_create_params.rb +8 -4
- data/lib/modern_treasury/models/account_detail_delete_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail_list_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/bank_settings.rb +1 -1
- data/lib/modern_treasury/models/bulk_request.rb +11 -10
- data/lib/modern_treasury/models/bulk_request_create_params.rb +252 -247
- data/lib/modern_treasury/models/bulk_request_list_params.rb +7 -6
- data/lib/modern_treasury/models/bulk_result.rb +18 -29
- data/lib/modern_treasury/models/bulk_result_list_params.rb +7 -6
- data/lib/modern_treasury/models/connection.rb +1 -1
- data/lib/modern_treasury/models/connection_legal_entity.rb +4 -4
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +108 -72
- data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +2 -2
- data/lib/modern_treasury/models/connection_legal_entity_update_params.rb +2 -2
- data/lib/modern_treasury/models/counterparty.rb +32 -32
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +4 -4
- data/lib/modern_treasury/models/counterparty_collect_account_response.rb +1 -1
- data/lib/modern_treasury/models/counterparty_create_params.rb +166 -121
- data/lib/modern_treasury/models/currency.rb +7 -0
- data/lib/modern_treasury/models/document.rb +13 -13
- data/lib/modern_treasury/models/document_create_params.rb +6 -6
- data/lib/modern_treasury/models/document_list_params.rb +4 -4
- data/lib/modern_treasury/models/event.rb +2 -2
- data/lib/modern_treasury/models/expected_payment.rb +16 -16
- data/lib/modern_treasury/models/expected_payment_create_params.rb +27 -26
- data/lib/modern_treasury/models/expected_payment_list_params.rb +27 -7
- data/lib/modern_treasury/models/expected_payment_type.rb +4 -0
- data/lib/modern_treasury/models/expected_payment_update_params.rb +10 -10
- data/lib/modern_treasury/models/external_account.rb +26 -26
- data/lib/modern_treasury/models/external_account_create_params.rb +41 -32
- data/lib/modern_treasury/models/external_account_type.rb +5 -0
- data/lib/modern_treasury/models/external_account_update_params.rb +6 -6
- data/lib/modern_treasury/models/external_account_verify_params.rb +12 -8
- data/lib/modern_treasury/models/external_account_verify_response.rb +5 -10
- data/lib/modern_treasury/models/foreign_exchange_quote.rb +10 -9
- data/lib/modern_treasury/models/foreign_exchange_quote_create_params.rb +4 -4
- data/lib/modern_treasury/models/incoming_payment_detail.rb +23 -19
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +6 -6
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +6 -6
- data/lib/modern_treasury/models/internal_account.rb +24 -19
- data/lib/modern_treasury/models/internal_account_create_params.rb +37 -5
- data/lib/modern_treasury/models/internal_account_list_params.rb +10 -6
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +13 -12
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +9 -9
- data/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rb +2 -2
- data/lib/modern_treasury/models/invoice.rb +34 -34
- data/lib/modern_treasury/models/invoice_create_params.rb +21 -21
- data/lib/modern_treasury/models/invoice_list_params.rb +2 -2
- data/lib/modern_treasury/models/invoice_update_params.rb +21 -21
- data/lib/modern_treasury/models/invoices/invoice_line_item.rb +10 -2
- data/lib/modern_treasury/models/ledger.rb +2 -2
- data/lib/modern_treasury/models/ledger_account.rb +19 -19
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +23 -22
- data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_category.rb +16 -16
- data/lib/modern_treasury/models/ledger_account_category_create_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_create_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_list_params.rb +8 -8
- data/lib/modern_treasury/models/ledger_account_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_settlement.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_settlement_create_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +2 -2
- data/lib/modern_treasury/models/ledger_entry.rb +20 -19
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +12 -12
- data/lib/modern_treasury/models/ledger_event_handler.rb +12 -12
- data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +10 -10
- data/lib/modern_treasury/models/ledger_event_handler_variable.rb +4 -4
- data/lib/modern_treasury/models/ledger_transaction.rb +9 -9
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +10 -9
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +6 -6
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +12 -12
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +10 -9
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +30 -29
- data/lib/modern_treasury/models/ledgerable_event.rb +1 -1
- data/lib/modern_treasury/models/legal_entity.rb +52 -34
- data/lib/modern_treasury/models/legal_entity_association.rb +59 -40
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +54 -36
- data/lib/modern_treasury/models/legal_entity_compliance_detail.rb +1 -1
- data/lib/modern_treasury/models/legal_entity_create_params.rb +102 -65
- data/lib/modern_treasury/models/legal_entity_industry_classification.rb +4 -4
- data/lib/modern_treasury/models/legal_entity_list_params.rb +2 -2
- data/lib/modern_treasury/models/legal_entity_update_params.rb +44 -25
- data/lib/modern_treasury/models/line_item.rb +9 -9
- data/lib/modern_treasury/models/line_item_list_params.rb +2 -2
- data/lib/modern_treasury/models/line_item_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/line_item_update_params.rb +2 -2
- data/lib/modern_treasury/models/paper_item.rb +16 -7
- data/lib/modern_treasury/models/payment_action_create_params.rb +59 -0
- data/lib/modern_treasury/models/payment_action_create_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_list_params.rb +157 -0
- data/lib/modern_treasury/models/payment_action_list_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_retrieve_params.rb +14 -0
- data/lib/modern_treasury/models/payment_action_retrieve_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_update_params.rb +44 -0
- data/lib/modern_treasury/models/payment_action_update_response.rb +100 -0
- data/lib/modern_treasury/models/payment_flow.rb +13 -13
- data/lib/modern_treasury/models/payment_flow_create_params.rb +2 -2
- data/lib/modern_treasury/models/payment_flow_update_params.rb +2 -2
- data/lib/modern_treasury/models/payment_order.rb +57 -86
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +86 -76
- data/lib/modern_treasury/models/payment_order_create_params.rb +95 -85
- data/lib/modern_treasury/models/payment_order_list_params.rb +12 -8
- data/lib/modern_treasury/models/payment_order_type.rb +4 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +72 -63
- data/lib/modern_treasury/models/payment_orders/reversal.rb +7 -7
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +17 -17
- data/lib/modern_treasury/models/payment_reference.rb +11 -7
- data/lib/modern_treasury/models/payment_reference_list_params.rb +2 -2
- data/lib/modern_treasury/models/reconciliation_rule.rb +13 -9
- data/lib/modern_treasury/models/return_create_params.rb +44 -4
- data/lib/modern_treasury/models/return_list_params.rb +2 -2
- data/lib/modern_treasury/models/return_object.rb +78 -27
- data/lib/modern_treasury/models/routing_detail.rb +15 -11
- data/lib/modern_treasury/models/routing_detail_create_params.rb +10 -6
- data/lib/modern_treasury/models/routing_detail_delete_params.rb +2 -2
- data/lib/modern_treasury/models/routing_detail_list_params.rb +2 -2
- data/lib/modern_treasury/models/routing_detail_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +13 -9
- data/lib/modern_treasury/models/transaction.rb +23 -17
- data/lib/modern_treasury/models/transaction_create_params.rb +6 -2
- data/lib/modern_treasury/models/transactions/line_item_list_params.rb +2 -2
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +7 -7
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +2 -2
- data/lib/modern_treasury/models/virtual_account.rb +5 -5
- data/lib/modern_treasury/models/virtual_account_create_params.rb +34 -23
- data/lib/modern_treasury/models/wealth_and_employment_details.rb +19 -19
- data/lib/modern_treasury/models.rb +38 -19
- data/lib/modern_treasury/resources/account_collection_flows.rb +6 -6
- data/lib/modern_treasury/resources/account_details.rb +8 -8
- data/lib/modern_treasury/resources/bulk_requests.rb +9 -9
- data/lib/modern_treasury/resources/bulk_results.rb +5 -5
- data/lib/modern_treasury/resources/connection_legal_entities.rb +7 -7
- data/lib/modern_treasury/resources/connections.rb +1 -1
- data/lib/modern_treasury/resources/counterparties.rb +12 -12
- data/lib/modern_treasury/resources/documents.rb +6 -6
- data/lib/modern_treasury/resources/events.rb +2 -2
- data/lib/modern_treasury/resources/expected_payments.rb +24 -20
- data/lib/modern_treasury/resources/external_accounts.rb +20 -20
- data/lib/modern_treasury/resources/foreign_exchange_quotes.rb +5 -5
- data/lib/modern_treasury/resources/incoming_payment_details.rb +10 -10
- data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +6 -6
- data/lib/modern_treasury/resources/internal_accounts.rb +12 -10
- data/lib/modern_treasury/resources/invoices/line_items.rb +5 -5
- data/lib/modern_treasury/resources/invoices.rb +21 -21
- data/lib/modern_treasury/resources/ledger_account_balance_monitors.rb +6 -6
- data/lib/modern_treasury/resources/ledger_account_categories.rb +8 -8
- data/lib/modern_treasury/resources/ledger_account_settlements.rb +6 -6
- data/lib/modern_treasury/resources/ledger_accounts.rb +12 -12
- data/lib/modern_treasury/resources/ledger_entries.rb +6 -6
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +7 -7
- data/lib/modern_treasury/resources/ledger_transactions/versions.rb +1 -1
- data/lib/modern_treasury/resources/ledger_transactions.rb +18 -18
- data/lib/modern_treasury/resources/ledgerable_events.rb +2 -2
- data/lib/modern_treasury/resources/ledgers.rb +5 -5
- data/lib/modern_treasury/resources/legal_entities.rb +25 -25
- data/lib/modern_treasury/resources/legal_entity_associations.rb +3 -3
- data/lib/modern_treasury/resources/line_items.rb +6 -6
- data/lib/modern_treasury/resources/paper_items.rb +2 -2
- data/lib/modern_treasury/resources/payment_actions.rb +137 -0
- data/lib/modern_treasury/resources/payment_flows.rb +6 -6
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +5 -5
- data/lib/modern_treasury/resources/payment_orders.rb +46 -46
- data/lib/modern_treasury/resources/payment_references.rb +3 -3
- data/lib/modern_treasury/resources/returns.rb +6 -6
- data/lib/modern_treasury/resources/routing_details.rb +9 -9
- data/lib/modern_treasury/resources/transactions/line_items.rb +4 -4
- data/lib/modern_treasury/resources/transactions.rb +5 -5
- data/lib/modern_treasury/resources/validations.rb +2 -2
- data/lib/modern_treasury/resources/virtual_accounts.rb +8 -8
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +12 -1
- data/rbi/modern_treasury/client.rbi +3 -0
- data/rbi/modern_treasury/internal/transport/pooled_net_requester.rbi +5 -1
- data/rbi/modern_treasury/internal/type/array_of.rbi +6 -0
- data/rbi/modern_treasury/internal/type/base_model.rbi +5 -0
- data/rbi/modern_treasury/internal/type/boolean.rbi +6 -0
- data/rbi/modern_treasury/internal/type/enum.rbi +5 -0
- data/rbi/modern_treasury/internal/type/file_input.rbi +5 -0
- data/rbi/modern_treasury/internal/type/hash_of.rbi +6 -0
- data/rbi/modern_treasury/internal/type/union.rbi +5 -0
- data/rbi/modern_treasury/internal/type/unknown.rbi +6 -0
- data/rbi/modern_treasury/internal/util.rbi +36 -0
- data/rbi/modern_treasury/internal.rbi +5 -0
- data/rbi/modern_treasury/models/account_detail.rbi +20 -0
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/bulk_request.rbi +5 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +105 -0
- data/rbi/modern_treasury/models/bulk_request_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/bulk_result.rbi +7 -19
- data/rbi/modern_treasury/models/bulk_result_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +52 -6
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +92 -6
- data/rbi/modern_treasury/models/currency.rbi +7 -0
- data/rbi/modern_treasury/models/document.rbi +9 -6
- data/rbi/modern_treasury/models/document_create_params.rbi +12 -12
- data/rbi/modern_treasury/models/document_list_params.rbi +9 -9
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +42 -0
- data/rbi/modern_treasury/models/expected_payment_type.rbi +6 -0
- data/rbi/modern_treasury/models/external_account_create_params.rbi +40 -0
- data/rbi/modern_treasury/models/external_account_type.rbi +16 -0
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +20 -0
- data/rbi/modern_treasury/models/external_account_verify_response.rbi +20 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +20 -0
- data/rbi/modern_treasury/models/internal_account.rbi +25 -0
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +117 -0
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +20 -0
- data/rbi/modern_treasury/models/invoice.rbi +2 -2
- data/rbi/modern_treasury/models/invoices/invoice_line_item.rbi +8 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +23 -0
- data/rbi/modern_treasury/models/legal_entity_association.rbi +23 -0
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +26 -3
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +52 -6
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +26 -3
- data/rbi/modern_treasury/models/paper_item.rbi +10 -0
- data/rbi/modern_treasury/models/payment_action_create_params.rbi +94 -0
- data/rbi/modern_treasury/models/payment_action_create_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +306 -0
- data/rbi/modern_treasury/models/payment_action_list_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/payment_action_retrieve_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_update_params.rbi +106 -0
- data/rbi/modern_treasury/models/payment_action_update_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_order.rbi +22 -38
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +40 -0
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +52 -12
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +20 -0
- data/rbi/modern_treasury/models/payment_order_type.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +40 -0
- data/rbi/modern_treasury/models/payment_reference.rbi +20 -0
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +14 -0
- data/rbi/modern_treasury/models/return_create_params.rbi +80 -0
- data/rbi/modern_treasury/models/return_object.rbi +66 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +17 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +20 -0
- data/rbi/modern_treasury/models/transaction.rbi +16 -0
- data/rbi/modern_treasury/models/transaction_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +40 -0
- data/rbi/modern_treasury/models.rbi +9 -0
- data/rbi/modern_treasury/resources/documents.rbi +1 -1
- data/rbi/modern_treasury/resources/expected_payments.rbi +6 -0
- data/rbi/modern_treasury/resources/external_accounts.rbi +1 -4
- data/rbi/modern_treasury/resources/internal_accounts.rbi +5 -0
- data/rbi/modern_treasury/resources/payment_actions.rbi +119 -0
- data/sig/modern_treasury/client.rbs +2 -0
- data/sig/modern_treasury/internal/transport/pooled_net_requester.rbs +2 -0
- data/sig/modern_treasury/internal/type/array_of.rbs +3 -0
- data/sig/modern_treasury/internal/type/base_model.rbs +2 -0
- data/sig/modern_treasury/internal/type/boolean.rbs +3 -0
- data/sig/modern_treasury/internal/type/enum.rbs +2 -0
- data/sig/modern_treasury/internal/type/file_input.rbs +2 -0
- data/sig/modern_treasury/internal/type/hash_of.rbs +3 -0
- data/sig/modern_treasury/internal/type/union.rbs +2 -0
- data/sig/modern_treasury/internal/type/unknown.rbs +3 -0
- data/sig/modern_treasury/internal/util.rbs +12 -0
- data/sig/modern_treasury/internal.rbs +3 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +30 -16
- data/sig/modern_treasury/models/account_collection_flow_create_params.rbs +13 -6
- data/sig/modern_treasury/models/account_collection_flow_list_params.rbs +10 -0
- data/sig/modern_treasury/models/account_collection_flow_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/account_collection_flow_update_params.rbs +5 -0
- data/sig/modern_treasury/models/account_detail.rbs +24 -4
- data/sig/modern_treasury/models/account_detail_create_params.rbs +15 -0
- data/sig/modern_treasury/models/account_detail_delete_params.rbs +6 -0
- data/sig/modern_treasury/models/account_detail_list_params.rbs +7 -0
- data/sig/modern_treasury/models/account_detail_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/async_response.rbs +2 -0
- data/sig/modern_treasury/models/bank_settings.rbs +13 -0
- data/sig/modern_treasury/models/bulk_request.rbs +29 -12
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +600 -188
- data/sig/modern_treasury/models/bulk_request_list_params.rbs +12 -0
- data/sig/modern_treasury/models/bulk_request_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/bulk_result.rbs +44 -16
- data/sig/modern_treasury/models/bulk_result_list_params.rbs +13 -0
- data/sig/modern_treasury/models/bulk_result_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/client_ping_params.rbs +2 -0
- data/sig/modern_treasury/models/connection.rbs +12 -0
- data/sig/modern_treasury/models/connection_legal_entity.rbs +17 -4
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +188 -56
- data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +9 -0
- data/sig/modern_treasury/models/connection_legal_entity_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/connection_legal_entity_update_params.rbs +5 -0
- data/sig/modern_treasury/models/connection_list_params.rbs +8 -0
- data/sig/modern_treasury/models/counterparty.rbs +84 -22
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +14 -6
- data/sig/modern_treasury/models/counterparty_collect_account_response.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_create_params.rbs +307 -92
- data/sig/modern_treasury/models/counterparty_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_list_params.rbs +12 -0
- data/sig/modern_treasury/models/counterparty_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_update_params.rbs +10 -0
- data/sig/modern_treasury/models/currency.rbs +14 -0
- data/sig/modern_treasury/models/document.rbs +41 -9
- data/sig/modern_treasury/models/document_create_params.rbs +16 -8
- data/sig/modern_treasury/models/document_list_params.rbs +13 -5
- data/sig/modern_treasury/models/document_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/event.rbs +13 -0
- data/sig/modern_treasury/models/event_list_params.rbs +11 -0
- data/sig/modern_treasury/models/event_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment.rbs +41 -12
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +66 -12
- data/sig/modern_treasury/models/expected_payment_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +37 -1
- data/sig/modern_treasury/models/expected_payment_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_type.rbs +8 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +21 -0
- data/sig/modern_treasury/models/external_account.rbs +63 -16
- data/sig/modern_treasury/models/external_account_complete_verification_params.rbs +5 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +99 -28
- data/sig/modern_treasury/models/external_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_list_params.rbs +9 -0
- data/sig/modern_treasury/models/external_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_type.rbs +11 -1
- data/sig/modern_treasury/models/external_account_update_params.rbs +20 -0
- data/sig/modern_treasury/models/external_account_verify_params.rbs +17 -0
- data/sig/modern_treasury/models/external_account_verify_response.rbs +21 -0
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +25 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_create_params.rbs +10 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_list_params.rbs +13 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +52 -16
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +13 -0
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +13 -0
- data/sig/modern_treasury/models/incoming_payment_detail_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/incoming_payment_detail_update_params.rbs +5 -0
- data/sig/modern_treasury/models/internal_account.rbs +55 -9
- data/sig/modern_treasury/models/internal_account_create_params.rbs +66 -0
- data/sig/modern_treasury/models/internal_account_list_params.rbs +20 -0
- data/sig/modern_treasury/models/internal_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_update_params.rbs +9 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +37 -8
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +19 -4
- data/sig/modern_treasury/models/internal_accounts/balance_report_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_list_params.rbs +8 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/invoice.rbs +94 -16
- data/sig/modern_treasury/models/invoice_add_payment_order_params.rbs +5 -0
- data/sig/modern_treasury/models/invoice_create_params.rbs +81 -4
- data/sig/modern_treasury/models/invoice_list_params.rbs +15 -0
- data/sig/modern_treasury/models/invoice_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/invoice_update_params.rbs +81 -4
- data/sig/modern_treasury/models/invoices/invoice_line_item.rbs +21 -0
- data/sig/modern_treasury/models/invoices/line_item_create_params.rbs +11 -0
- data/sig/modern_treasury/models/invoices/line_item_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/invoices/line_item_list_params.rbs +6 -0
- data/sig/modern_treasury/models/invoices/line_item_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/invoices/line_item_update_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account.rbs +54 -4
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +52 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_create_params.rbs +10 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_update_params.rbs +6 -0
- data/sig/modern_treasury/models/ledger_account_category.rbs +45 -0
- data/sig/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_add_nested_category_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_create_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account_category_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +16 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_retrieve_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +14 -0
- data/sig/modern_treasury/models/ledger_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_list_params.rbs +52 -0
- data/sig/modern_treasury/models/ledger_account_retrieve_params.rbs +13 -0
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +24 -4
- data/sig/modern_treasury/models/ledger_account_settlement_create_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account_settlement_list_params.rbs +14 -0
- data/sig/modern_treasury/models/ledger_account_settlement_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +78 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +78 -0
- data/sig/modern_treasury/models/ledger_account_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_create_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_entry.rbs +53 -4
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +41 -12
- data/sig/modern_treasury/models/ledger_entry_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_entry_update_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_event_handler.rbs +31 -0
- data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +26 -0
- data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +7 -0
- data/sig/modern_treasury/models/ledger_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_transaction.rbs +30 -8
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +25 -0
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +19 -4
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +11 -0
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +40 -12
- data/sig/modern_treasury/models/ledger_transaction_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +23 -0
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +82 -12
- data/sig/modern_treasury/models/ledger_transactions/version_list_params.rbs +10 -0
- data/sig/modern_treasury/models/ledger_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledgerable_event.rbs +13 -0
- data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +8 -0
- data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/legal_entity.rbs +96 -20
- data/sig/modern_treasury/models/legal_entity_association.rbs +113 -24
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +98 -30
- data/sig/modern_treasury/models/legal_entity_compliance_detail.rbs +15 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +168 -42
- data/sig/modern_treasury/models/legal_entity_industry_classification.rbs +15 -4
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +9 -0
- data/sig/modern_treasury/models/legal_entity_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +70 -12
- data/sig/modern_treasury/models/line_item.rbs +22 -4
- data/sig/modern_treasury/models/line_item_list_params.rbs +7 -0
- data/sig/modern_treasury/models/line_item_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/line_item_update_params.rbs +7 -0
- data/sig/modern_treasury/models/paper_item.rbs +30 -4
- data/sig/modern_treasury/models/paper_item_list_params.rbs +9 -0
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_action_create_params.rbs +54 -0
- data/sig/modern_treasury/models/payment_action_create_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_list_params.rbs +149 -0
- data/sig/modern_treasury/models/payment_action_list_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_retrieve_params.rbs +15 -0
- data/sig/modern_treasury/models/payment_action_retrieve_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_update_params.rbs +40 -0
- data/sig/modern_treasury/models/payment_action_update_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_flow.rbs +44 -22
- data/sig/modern_treasury/models/payment_flow_create_params.rbs +10 -0
- data/sig/modern_treasury/models/payment_flow_list_params.rbs +12 -0
- data/sig/modern_treasury/models/payment_flow_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_flow_update_params.rbs +5 -0
- data/sig/modern_treasury/models/payment_order.rbs +116 -48
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +185 -44
- data/sig/modern_treasury/models/payment_order_create_params.rbs +205 -56
- data/sig/modern_treasury/models/payment_order_list_params.rbs +29 -0
- data/sig/modern_treasury/models/payment_order_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_type.rbs +8 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +148 -32
- data/sig/modern_treasury/models/payment_orders/reversal.rbs +22 -8
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +43 -12
- data/sig/modern_treasury/models/payment_orders/reversal_list_params.rbs +6 -0
- data/sig/modern_treasury/models/payment_orders/reversal_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/payment_reference.rbs +28 -8
- data/sig/modern_treasury/models/payment_reference_list_params.rbs +9 -0
- data/sig/modern_treasury/models/payment_reference_retireve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_reference_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ping_response.rbs +2 -0
- data/sig/modern_treasury/models/reconciliation_rule.rbs +29 -8
- data/sig/modern_treasury/models/return_create_params.rbs +91 -0
- data/sig/modern_treasury/models/return_list_params.rbs +10 -0
- data/sig/modern_treasury/models/return_object.rbs +154 -24
- data/sig/modern_treasury/models/return_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail.rbs +44 -8
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +16 -0
- data/sig/modern_treasury/models/routing_detail_delete_params.rbs +6 -0
- data/sig/modern_treasury/models/routing_detail_list_params.rbs +7 -0
- data/sig/modern_treasury/models/routing_detail_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +38 -12
- data/sig/modern_treasury/models/transaction.rbs +58 -8
- data/sig/modern_treasury/models/transaction_create_params.rbs +22 -0
- data/sig/modern_treasury/models/transaction_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/transaction_list_params.rbs +18 -0
- data/sig/modern_treasury/models/transaction_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/transaction_update_params.rbs +5 -0
- data/sig/modern_treasury/models/transactions/line_item_create_params.rbs +7 -0
- data/sig/modern_treasury/models/transactions/line_item_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/transactions/line_item_list_params.rbs +9 -0
- data/sig/modern_treasury/models/transactions/line_item_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +26 -8
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +6 -0
- data/sig/modern_treasury/models/virtual_account.rbs +19 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +74 -20
- data/sig/modern_treasury/models/virtual_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_list_params.rbs +9 -0
- data/sig/modern_treasury/models/virtual_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +8 -0
- data/sig/modern_treasury/models/wealth_and_employment_details.rbs +45 -24
- data/sig/modern_treasury/models.rbs +8 -0
- data/sig/modern_treasury/resources/account_collection_flows.rbs +1 -1
- data/sig/modern_treasury/resources/bulk_requests.rbs +1 -1
- data/sig/modern_treasury/resources/counterparties.rbs +1 -1
- data/sig/modern_treasury/resources/documents.rbs +1 -1
- data/sig/modern_treasury/resources/expected_payments.rbs +2 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +1 -1
- data/sig/modern_treasury/resources/payment_actions.rbs +40 -0
- metadata +29 -2
@@ -21,13 +21,13 @@ module ModernTreasury
|
|
21
21
|
#
|
22
22
|
# @param auto_advance [Boolean, nil] When true, the invoice will progress to unpaid automatically and cannot be edite
|
23
23
|
#
|
24
|
-
# @param contact_details [Array<ModernTreasury::InvoiceCreateParams::ContactDetail>] The invoicer's contact details displayed at the top of the invoice.
|
24
|
+
# @param contact_details [Array<ModernTreasury::Models::InvoiceCreateParams::ContactDetail>] The invoicer's contact details displayed at the top of the invoice.
|
25
25
|
#
|
26
|
-
# @param counterparty_billing_address [ModernTreasury::InvoiceCreateParams::CounterpartyBillingAddress, nil] The counterparty's billing address.
|
26
|
+
# @param counterparty_billing_address [ModernTreasury::Models::InvoiceCreateParams::CounterpartyBillingAddress, nil] The counterparty's billing address.
|
27
27
|
#
|
28
|
-
# @param counterparty_shipping_address [ModernTreasury::InvoiceCreateParams::CounterpartyShippingAddress, nil] The counterparty's shipping address where physical goods should be delivered.
|
28
|
+
# @param counterparty_shipping_address [ModernTreasury::Models::InvoiceCreateParams::CounterpartyShippingAddress, nil] The counterparty's shipping address where physical goods should be delivered.
|
29
29
|
#
|
30
|
-
# @param currency [Symbol, ModernTreasury::Currency] Currency that the invoice is denominated in. Defaults to `USD` if not provided.
|
30
|
+
# @param currency [Symbol, ModernTreasury::Models::Currency] Currency that the invoice is denominated in. Defaults to `USD` if not provided.
|
31
31
|
#
|
32
32
|
# @param description [String] A free-form description of the invoice.
|
33
33
|
#
|
@@ -35,9 +35,9 @@ module ModernTreasury
|
|
35
35
|
#
|
36
36
|
# @param ingest_ledger_entries [Boolean, nil] Whether to ingest the ledger_entries to populate the invoice line items. If this
|
37
37
|
#
|
38
|
-
# @param invoice_line_items [Array<ModernTreasury::InvoiceCreateParams::InvoiceLineItem>, nil] An array of invoice line items. The API supports a maximum of 50 invoice line it
|
38
|
+
# @param invoice_line_items [Array<ModernTreasury::Models::InvoiceCreateParams::InvoiceLineItem>, nil] An array of invoice line items. The API supports a maximum of 50 invoice line it
|
39
39
|
#
|
40
|
-
# @param invoicer_address [ModernTreasury::InvoiceCreateParams::InvoicerAddress, nil] The invoice issuer's business address.
|
40
|
+
# @param invoicer_address [ModernTreasury::Models::InvoiceCreateParams::InvoicerAddress, nil] The invoice issuer's business address.
|
41
41
|
#
|
42
42
|
# @param ledger_account_settlement_id [String, nil] The ID of the virtual account the invoice should be paid to.
|
43
43
|
#
|
@@ -49,9 +49,9 @@ module ModernTreasury
|
|
49
49
|
#
|
50
50
|
# @param payment_effective_date [Date] Date transactions are to be posted to the participants' account. Defaults to the
|
51
51
|
#
|
52
|
-
# @param payment_method [Symbol, ModernTreasury::InvoiceCreateParams::PaymentMethod] The method by which the invoice can be paid. `ui` will show the embedded payment
|
52
|
+
# @param payment_method [Symbol, ModernTreasury::Models::InvoiceCreateParams::PaymentMethod] The method by which the invoice can be paid. `ui` will show the embedded payment
|
53
53
|
#
|
54
|
-
# @param payment_type [Symbol, ModernTreasury::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
54
|
+
# @param payment_type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
55
55
|
#
|
56
56
|
# @param receiving_account_id [String] The receiving account ID. Can be an `external_account`.
|
57
57
|
#
|
@@ -65,7 +65,7 @@ module ModernTreasury
|
|
65
65
|
#
|
66
66
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
67
67
|
#
|
68
|
-
# @return [ModernTreasury::Invoice]
|
68
|
+
# @return [ModernTreasury::Models::Invoice]
|
69
69
|
#
|
70
70
|
# @see ModernTreasury::Models::InvoiceCreateParams
|
71
71
|
def create(params)
|
@@ -87,7 +87,7 @@ module ModernTreasury
|
|
87
87
|
#
|
88
88
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
89
89
|
#
|
90
|
-
# @return [ModernTreasury::Invoice]
|
90
|
+
# @return [ModernTreasury::Models::Invoice]
|
91
91
|
#
|
92
92
|
# @see ModernTreasury::Models::InvoiceRetrieveParams
|
93
93
|
def retrieve(id, params = {})
|
@@ -108,15 +108,15 @@ module ModernTreasury
|
|
108
108
|
#
|
109
109
|
# @param id [String] id
|
110
110
|
#
|
111
|
-
# @param contact_details [Array<ModernTreasury::InvoiceUpdateParams::ContactDetail>] The invoicer's contact details displayed at the top of the invoice.
|
111
|
+
# @param contact_details [Array<ModernTreasury::Models::InvoiceUpdateParams::ContactDetail>] The invoicer's contact details displayed at the top of the invoice.
|
112
112
|
#
|
113
|
-
# @param counterparty_billing_address [ModernTreasury::InvoiceUpdateParams::CounterpartyBillingAddress, nil] The counterparty's billing address.
|
113
|
+
# @param counterparty_billing_address [ModernTreasury::Models::InvoiceUpdateParams::CounterpartyBillingAddress, nil] The counterparty's billing address.
|
114
114
|
#
|
115
115
|
# @param counterparty_id [String] The ID of the counterparty receiving the invoice.
|
116
116
|
#
|
117
|
-
# @param counterparty_shipping_address [ModernTreasury::InvoiceUpdateParams::CounterpartyShippingAddress, nil] The counterparty's shipping address where physical goods should be delivered.
|
117
|
+
# @param counterparty_shipping_address [ModernTreasury::Models::InvoiceUpdateParams::CounterpartyShippingAddress, nil] The counterparty's shipping address where physical goods should be delivered.
|
118
118
|
#
|
119
|
-
# @param currency [Symbol, ModernTreasury::Currency] Currency that the invoice is denominated in. Defaults to `USD` if not provided.
|
119
|
+
# @param currency [Symbol, ModernTreasury::Models::Currency] Currency that the invoice is denominated in. Defaults to `USD` if not provided.
|
120
120
|
#
|
121
121
|
# @param description [String] A free-form description of the invoice.
|
122
122
|
#
|
@@ -126,9 +126,9 @@ module ModernTreasury
|
|
126
126
|
#
|
127
127
|
# @param ingest_ledger_entries [Boolean, nil] Whether to ingest the ledger_entries to populate the invoice line items. If this
|
128
128
|
#
|
129
|
-
# @param invoice_line_items [Array<ModernTreasury::InvoiceUpdateParams::InvoiceLineItem>, nil] An array of invoice line items. The API supports a maximum of 50 invoice line it
|
129
|
+
# @param invoice_line_items [Array<ModernTreasury::Models::InvoiceUpdateParams::InvoiceLineItem>, nil] An array of invoice line items. The API supports a maximum of 50 invoice line it
|
130
130
|
#
|
131
|
-
# @param invoicer_address [ModernTreasury::InvoiceUpdateParams::InvoicerAddress, nil] The invoice issuer's business address.
|
131
|
+
# @param invoicer_address [ModernTreasury::Models::InvoiceUpdateParams::InvoicerAddress, nil] The invoice issuer's business address.
|
132
132
|
#
|
133
133
|
# @param ledger_account_settlement_id [String, nil] The ID of the virtual account the invoice should be paid to.
|
134
134
|
#
|
@@ -142,9 +142,9 @@ module ModernTreasury
|
|
142
142
|
#
|
143
143
|
# @param payment_effective_date [Date] Date transactions are to be posted to the participants' account. Defaults to the
|
144
144
|
#
|
145
|
-
# @param payment_method [Symbol, ModernTreasury::InvoiceUpdateParams::PaymentMethod] The method by which the invoice can be paid. `ui` will show the embedded payment
|
145
|
+
# @param payment_method [Symbol, ModernTreasury::Models::InvoiceUpdateParams::PaymentMethod] The method by which the invoice can be paid. `ui` will show the embedded payment
|
146
146
|
#
|
147
|
-
# @param payment_type [Symbol, ModernTreasury::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
147
|
+
# @param payment_type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
148
148
|
#
|
149
149
|
# @param receiving_account_id [String] The receiving account ID. Can be an `external_account`.
|
150
150
|
#
|
@@ -160,7 +160,7 @@ module ModernTreasury
|
|
160
160
|
#
|
161
161
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
162
162
|
#
|
163
|
-
# @return [ModernTreasury::Invoice]
|
163
|
+
# @return [ModernTreasury::Models::Invoice]
|
164
164
|
#
|
165
165
|
# @see ModernTreasury::Models::InvoiceUpdateParams
|
166
166
|
def update(id, params = {})
|
@@ -201,11 +201,11 @@ module ModernTreasury
|
|
201
201
|
#
|
202
202
|
# @param per_page [Integer]
|
203
203
|
#
|
204
|
-
# @param status [Symbol, ModernTreasury::InvoiceListParams::Status]
|
204
|
+
# @param status [Symbol, ModernTreasury::Models::InvoiceListParams::Status]
|
205
205
|
#
|
206
206
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
207
207
|
#
|
208
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::Invoice>]
|
208
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::Invoice>]
|
209
209
|
#
|
210
210
|
# @see ModernTreasury::Models::InvoiceListParams
|
211
211
|
def list(params = {})
|
@@ -11,7 +11,7 @@ module ModernTreasury
|
|
11
11
|
#
|
12
12
|
# @overload create(alert_condition:, ledger_account_id:, description: nil, metadata: nil, request_options: {})
|
13
13
|
#
|
14
|
-
# @param alert_condition [ModernTreasury::LedgerAccountBalanceMonitorCreateParams::AlertCondition] Describes the condition that must be satisfied for the monitor to be triggered.
|
14
|
+
# @param alert_condition [ModernTreasury::Models::LedgerAccountBalanceMonitorCreateParams::AlertCondition] Describes the condition that must be satisfied for the monitor to be triggered.
|
15
15
|
#
|
16
16
|
# @param ledger_account_id [String] The ledger account associated with this balance monitor.
|
17
17
|
#
|
@@ -21,7 +21,7 @@ module ModernTreasury
|
|
21
21
|
#
|
22
22
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
23
23
|
#
|
24
|
-
# @return [ModernTreasury::LedgerAccountBalanceMonitor]
|
24
|
+
# @return [ModernTreasury::Models::LedgerAccountBalanceMonitor]
|
25
25
|
#
|
26
26
|
# @see ModernTreasury::Models::LedgerAccountBalanceMonitorCreateParams
|
27
27
|
def create(params)
|
@@ -43,7 +43,7 @@ module ModernTreasury
|
|
43
43
|
#
|
44
44
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
45
45
|
#
|
46
|
-
# @return [ModernTreasury::LedgerAccountBalanceMonitor]
|
46
|
+
# @return [ModernTreasury::Models::LedgerAccountBalanceMonitor]
|
47
47
|
#
|
48
48
|
# @see ModernTreasury::Models::LedgerAccountBalanceMonitorRetrieveParams
|
49
49
|
def retrieve(id, params = {})
|
@@ -71,7 +71,7 @@ module ModernTreasury
|
|
71
71
|
#
|
72
72
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
73
73
|
#
|
74
|
-
# @return [ModernTreasury::LedgerAccountBalanceMonitor]
|
74
|
+
# @return [ModernTreasury::Models::LedgerAccountBalanceMonitor]
|
75
75
|
#
|
76
76
|
# @see ModernTreasury::Models::LedgerAccountBalanceMonitorUpdateParams
|
77
77
|
def update(id, params = {})
|
@@ -105,7 +105,7 @@ module ModernTreasury
|
|
105
105
|
#
|
106
106
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
107
107
|
#
|
108
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerAccountBalanceMonitor>]
|
108
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerAccountBalanceMonitor>]
|
109
109
|
#
|
110
110
|
# @see ModernTreasury::Models::LedgerAccountBalanceMonitorListParams
|
111
111
|
def list(params = {})
|
@@ -128,7 +128,7 @@ module ModernTreasury
|
|
128
128
|
#
|
129
129
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
130
130
|
#
|
131
|
-
# @return [ModernTreasury::LedgerAccountBalanceMonitor]
|
131
|
+
# @return [ModernTreasury::Models::LedgerAccountBalanceMonitor]
|
132
132
|
#
|
133
133
|
# @see ModernTreasury::Models::LedgerAccountBalanceMonitorDeleteParams
|
134
134
|
def delete(id, params = {})
|
@@ -16,7 +16,7 @@ module ModernTreasury
|
|
16
16
|
#
|
17
17
|
# @param name [String] The name of the ledger account category.
|
18
18
|
#
|
19
|
-
# @param normal_balance [Symbol, ModernTreasury::TransactionDirection] The normal balance of the ledger account category.
|
19
|
+
# @param normal_balance [Symbol, ModernTreasury::Models::TransactionDirection] The normal balance of the ledger account category.
|
20
20
|
#
|
21
21
|
# @param currency_exponent [Integer, nil] The currency exponent of the ledger account category.
|
22
22
|
#
|
@@ -28,7 +28,7 @@ module ModernTreasury
|
|
28
28
|
#
|
29
29
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
30
30
|
#
|
31
|
-
# @return [ModernTreasury::LedgerAccountCategory]
|
31
|
+
# @return [ModernTreasury::Models::LedgerAccountCategory]
|
32
32
|
#
|
33
33
|
# @see ModernTreasury::Models::LedgerAccountCategoryCreateParams
|
34
34
|
def create(params)
|
@@ -51,11 +51,11 @@ module ModernTreasury
|
|
51
51
|
#
|
52
52
|
# @param id [String] id
|
53
53
|
#
|
54
|
-
# @param balances [ModernTreasury::LedgerAccountCategoryRetrieveParams::Balances] For example, if you want the balances as of a particular time (ISO8601), the enc
|
54
|
+
# @param balances [ModernTreasury::Models::LedgerAccountCategoryRetrieveParams::Balances] For example, if you want the balances as of a particular time (ISO8601), the enc
|
55
55
|
#
|
56
56
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
57
57
|
#
|
58
|
-
# @return [ModernTreasury::LedgerAccountCategory]
|
58
|
+
# @return [ModernTreasury::Models::LedgerAccountCategory]
|
59
59
|
#
|
60
60
|
# @see ModernTreasury::Models::LedgerAccountCategoryRetrieveParams
|
61
61
|
def retrieve(id, params = {})
|
@@ -86,7 +86,7 @@ module ModernTreasury
|
|
86
86
|
#
|
87
87
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
88
88
|
#
|
89
|
-
# @return [ModernTreasury::LedgerAccountCategory]
|
89
|
+
# @return [ModernTreasury::Models::LedgerAccountCategory]
|
90
90
|
#
|
91
91
|
# @see ModernTreasury::Models::LedgerAccountCategoryUpdateParams
|
92
92
|
def update(id, params = {})
|
@@ -111,7 +111,7 @@ module ModernTreasury
|
|
111
111
|
#
|
112
112
|
# @param after_cursor [String, nil]
|
113
113
|
#
|
114
|
-
# @param balances [ModernTreasury::LedgerAccountCategoryListParams::Balances] For example, if you want the balances as of a particular time (ISO8601), the enc
|
114
|
+
# @param balances [ModernTreasury::Models::LedgerAccountCategoryListParams::Balances] For example, if you want the balances as of a particular time (ISO8601), the enc
|
115
115
|
#
|
116
116
|
# @param currency [String]
|
117
117
|
#
|
@@ -129,7 +129,7 @@ module ModernTreasury
|
|
129
129
|
#
|
130
130
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
131
131
|
#
|
132
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerAccountCategory>]
|
132
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerAccountCategory>]
|
133
133
|
#
|
134
134
|
# @see ModernTreasury::Models::LedgerAccountCategoryListParams
|
135
135
|
def list(params = {})
|
@@ -152,7 +152,7 @@ module ModernTreasury
|
|
152
152
|
#
|
153
153
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
154
154
|
#
|
155
|
-
# @return [ModernTreasury::LedgerAccountCategory]
|
155
|
+
# @return [ModernTreasury::Models::LedgerAccountCategory]
|
156
156
|
#
|
157
157
|
# @see ModernTreasury::Models::LedgerAccountCategoryDeleteParams
|
158
158
|
def delete(id, params = {})
|
@@ -27,11 +27,11 @@ module ModernTreasury
|
|
27
27
|
#
|
28
28
|
# @param skip_settlement_ledger_transaction [Boolean, nil] It is set to `false` by default. It should be set to `true` when migrating exist
|
29
29
|
#
|
30
|
-
# @param status [Symbol, ModernTreasury::LedgerAccountSettlementCreateParams::Status, nil] The status of the ledger account settlement. It is set to `pending` by default.
|
30
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerAccountSettlementCreateParams::Status, nil] The status of the ledger account settlement. It is set to `pending` by default.
|
31
31
|
#
|
32
32
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
33
33
|
#
|
34
|
-
# @return [ModernTreasury::LedgerAccountSettlement]
|
34
|
+
# @return [ModernTreasury::Models::LedgerAccountSettlement]
|
35
35
|
#
|
36
36
|
# @see ModernTreasury::Models::LedgerAccountSettlementCreateParams
|
37
37
|
def create(params)
|
@@ -53,7 +53,7 @@ module ModernTreasury
|
|
53
53
|
#
|
54
54
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
55
55
|
#
|
56
|
-
# @return [ModernTreasury::LedgerAccountSettlement]
|
56
|
+
# @return [ModernTreasury::Models::LedgerAccountSettlement]
|
57
57
|
#
|
58
58
|
# @see ModernTreasury::Models::LedgerAccountSettlementRetrieveParams
|
59
59
|
def retrieve(id, params = {})
|
@@ -78,11 +78,11 @@ module ModernTreasury
|
|
78
78
|
#
|
79
79
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
80
80
|
#
|
81
|
-
# @param status [Symbol, ModernTreasury::LedgerAccountSettlementUpdateParams::Status] To post a pending ledger account settlement, use `posted`. To archive a pending
|
81
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerAccountSettlementUpdateParams::Status] To post a pending ledger account settlement, use `posted`. To archive a pending
|
82
82
|
#
|
83
83
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
84
84
|
#
|
85
|
-
# @return [ModernTreasury::LedgerAccountSettlement]
|
85
|
+
# @return [ModernTreasury::Models::LedgerAccountSettlement]
|
86
86
|
#
|
87
87
|
# @see ModernTreasury::Models::LedgerAccountSettlementUpdateParams
|
88
88
|
def update(id, params = {})
|
@@ -125,7 +125,7 @@ module ModernTreasury
|
|
125
125
|
#
|
126
126
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
127
127
|
#
|
128
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerAccountSettlement>]
|
128
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerAccountSettlement>]
|
129
129
|
#
|
130
130
|
# @see ModernTreasury::Models::LedgerAccountSettlementListParams
|
131
131
|
def list(params = {})
|
@@ -16,7 +16,7 @@ module ModernTreasury
|
|
16
16
|
#
|
17
17
|
# @param name [String] The name of the ledger account.
|
18
18
|
#
|
19
|
-
# @param normal_balance [Symbol, ModernTreasury::TransactionDirection] The normal balance of the ledger account.
|
19
|
+
# @param normal_balance [Symbol, ModernTreasury::Models::TransactionDirection] The normal balance of the ledger account.
|
20
20
|
#
|
21
21
|
# @param currency_exponent [Integer, nil] The currency exponent of the ledger account.
|
22
22
|
#
|
@@ -26,13 +26,13 @@ module ModernTreasury
|
|
26
26
|
#
|
27
27
|
# @param ledgerable_id [String] If the ledger account links to another object in Modern Treasury, the id will be
|
28
28
|
#
|
29
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerAccountCreateParams::LedgerableType] If the ledger account links to another object in Modern Treasury, the type will
|
29
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerAccountCreateParams::LedgerableType] If the ledger account links to another object in Modern Treasury, the type will
|
30
30
|
#
|
31
31
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
32
32
|
#
|
33
33
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
34
34
|
#
|
35
|
-
# @return [ModernTreasury::LedgerAccount]
|
35
|
+
# @return [ModernTreasury::Models::LedgerAccount]
|
36
36
|
#
|
37
37
|
# @see ModernTreasury::Models::LedgerAccountCreateParams
|
38
38
|
def create(params)
|
@@ -55,11 +55,11 @@ module ModernTreasury
|
|
55
55
|
#
|
56
56
|
# @param id [String] id
|
57
57
|
#
|
58
|
-
# @param balances [ModernTreasury::LedgerAccountRetrieveParams::Balances] Use `balances[effective_at_lower_bound]` and `balances[effective_at_upper_bound]
|
58
|
+
# @param balances [ModernTreasury::Models::LedgerAccountRetrieveParams::Balances] Use `balances[effective_at_lower_bound]` and `balances[effective_at_upper_bound]
|
59
59
|
#
|
60
60
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
61
61
|
#
|
62
|
-
# @return [ModernTreasury::LedgerAccount]
|
62
|
+
# @return [ModernTreasury::Models::LedgerAccount]
|
63
63
|
#
|
64
64
|
# @see ModernTreasury::Models::LedgerAccountRetrieveParams
|
65
65
|
def retrieve(id, params = {})
|
@@ -90,7 +90,7 @@ module ModernTreasury
|
|
90
90
|
#
|
91
91
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
92
92
|
#
|
93
|
-
# @return [ModernTreasury::LedgerAccount]
|
93
|
+
# @return [ModernTreasury::Models::LedgerAccount]
|
94
94
|
#
|
95
95
|
# @see ModernTreasury::Models::LedgerAccountUpdateParams
|
96
96
|
def update(id, params = {})
|
@@ -115,9 +115,9 @@ module ModernTreasury
|
|
115
115
|
#
|
116
116
|
# @param after_cursor [String, nil]
|
117
117
|
#
|
118
|
-
# @param available_balance_amount [ModernTreasury::LedgerAccountListParams::AvailableBalanceAmount] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi
|
118
|
+
# @param available_balance_amount [ModernTreasury::Models::LedgerAccountListParams::AvailableBalanceAmount] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi
|
119
119
|
#
|
120
|
-
# @param balances [ModernTreasury::LedgerAccountListParams::Balances] Use `balances[effective_at_lower_bound]` and `balances[effective_at_upper_bound]
|
120
|
+
# @param balances [ModernTreasury::Models::LedgerAccountListParams::Balances] Use `balances[effective_at_lower_bound]` and `balances[effective_at_upper_bound]
|
121
121
|
#
|
122
122
|
# @param created_at [Hash{Symbol=>Time}] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the cre
|
123
123
|
#
|
@@ -131,17 +131,17 @@ module ModernTreasury
|
|
131
131
|
#
|
132
132
|
# @param name [Array<String>] If you have specific names to retrieve in bulk, you can pass them as query param
|
133
133
|
#
|
134
|
-
# @param pending_balance_amount [ModernTreasury::LedgerAccountListParams::PendingBalanceAmount] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi
|
134
|
+
# @param pending_balance_amount [ModernTreasury::Models::LedgerAccountListParams::PendingBalanceAmount] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi
|
135
135
|
#
|
136
136
|
# @param per_page [Integer]
|
137
137
|
#
|
138
|
-
# @param posted_balance_amount [ModernTreasury::LedgerAccountListParams::PostedBalanceAmount] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi
|
138
|
+
# @param posted_balance_amount [ModernTreasury::Models::LedgerAccountListParams::PostedBalanceAmount] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi
|
139
139
|
#
|
140
140
|
# @param updated_at [Hash{Symbol=>Time}] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the upd
|
141
141
|
#
|
142
142
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
143
143
|
#
|
144
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerAccount>]
|
144
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerAccount>]
|
145
145
|
#
|
146
146
|
# @see ModernTreasury::Models::LedgerAccountListParams
|
147
147
|
def list(params = {})
|
@@ -164,7 +164,7 @@ module ModernTreasury
|
|
164
164
|
#
|
165
165
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
166
166
|
#
|
167
|
-
# @return [ModernTreasury::LedgerAccount]
|
167
|
+
# @return [ModernTreasury::Models::LedgerAccount]
|
168
168
|
#
|
169
169
|
# @see ModernTreasury::Models::LedgerAccountDeleteParams
|
170
170
|
def delete(id, params = {})
|
@@ -16,7 +16,7 @@ module ModernTreasury
|
|
16
16
|
#
|
17
17
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
18
18
|
#
|
19
|
-
# @return [ModernTreasury::LedgerEntry]
|
19
|
+
# @return [ModernTreasury::Models::LedgerEntry]
|
20
20
|
#
|
21
21
|
# @see ModernTreasury::Models::LedgerEntryRetrieveParams
|
22
22
|
def retrieve(id, params = {})
|
@@ -43,7 +43,7 @@ module ModernTreasury
|
|
43
43
|
#
|
44
44
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
45
45
|
#
|
46
|
-
# @return [ModernTreasury::LedgerEntry]
|
46
|
+
# @return [ModernTreasury::Models::LedgerEntry]
|
47
47
|
#
|
48
48
|
# @see ModernTreasury::Models::LedgerEntryUpdateParams
|
49
49
|
def update(id, params = {})
|
@@ -70,7 +70,7 @@ module ModernTreasury
|
|
70
70
|
#
|
71
71
|
# @param as_of_lock_version [Integer] Shows all ledger entries that were present on a ledger account at a particular `
|
72
72
|
#
|
73
|
-
# @param direction [Symbol, ModernTreasury::TransactionDirection] If true, response will include ledger entries that were deleted. When you update
|
73
|
+
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection] If true, response will include ledger entries that were deleted. When you update
|
74
74
|
#
|
75
75
|
# @param effective_at [Hash{Symbol=>Time}] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the tra
|
76
76
|
#
|
@@ -92,7 +92,7 @@ module ModernTreasury
|
|
92
92
|
#
|
93
93
|
# @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value
|
94
94
|
#
|
95
|
-
# @param order_by [ModernTreasury::LedgerEntryListParams::OrderBy] Order by `created_at` or `effective_at` in `asc` or `desc` order. For example, t
|
95
|
+
# @param order_by [ModernTreasury::Models::LedgerEntryListParams::OrderBy] Order by `created_at` or `effective_at` in `asc` or `desc` order. For example, t
|
96
96
|
#
|
97
97
|
# @param per_page [Integer]
|
98
98
|
#
|
@@ -100,13 +100,13 @@ module ModernTreasury
|
|
100
100
|
#
|
101
101
|
# @param show_deleted [Boolean] If true, response will include ledger entries that were deleted. When you update
|
102
102
|
#
|
103
|
-
# @param status [Symbol, ModernTreasury::LedgerEntryListParams::Status] Get all ledger entries that match the status specified. One of `pending`, `poste
|
103
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerEntryListParams::Status] Get all ledger entries that match the status specified. One of `pending`, `poste
|
104
104
|
#
|
105
105
|
# @param updated_at [Hash{Symbol=>Time}] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the pos
|
106
106
|
#
|
107
107
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
108
108
|
#
|
109
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerEntry>]
|
109
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerEntry>]
|
110
110
|
#
|
111
111
|
# @see ModernTreasury::Models::LedgerEntryListParams
|
112
112
|
def list(params = {})
|
@@ -10,11 +10,11 @@ module ModernTreasury
|
|
10
10
|
#
|
11
11
|
# @overload create(ledger_transaction_template:, name:, conditions: nil, description: nil, ledger_id: nil, metadata: nil, variables: nil, request_options: {})
|
12
12
|
#
|
13
|
-
# @param ledger_transaction_template [ModernTreasury::LedgerEventHandlerCreateParams::LedgerTransactionTemplate]
|
13
|
+
# @param ledger_transaction_template [ModernTreasury::Models::LedgerEventHandlerCreateParams::LedgerTransactionTemplate]
|
14
14
|
#
|
15
15
|
# @param name [String] Name of the ledger event handler.
|
16
16
|
#
|
17
|
-
# @param conditions [ModernTreasury::LedgerEventHandlerCreateParams::Conditions, nil]
|
17
|
+
# @param conditions [ModernTreasury::Models::LedgerEventHandlerCreateParams::Conditions, nil]
|
18
18
|
#
|
19
19
|
# @param description [String, nil] An optional description.
|
20
20
|
#
|
@@ -22,11 +22,11 @@ module ModernTreasury
|
|
22
22
|
#
|
23
23
|
# @param metadata [Hash{Symbol=>String}, nil] Additional data represented as key-value pairs. Both the key and value must be s
|
24
24
|
#
|
25
|
-
# @param variables [Hash{Symbol=>ModernTreasury::LedgerEventHandlerVariable}, nil]
|
25
|
+
# @param variables [Hash{Symbol=>ModernTreasury::Models::LedgerEventHandlerVariable}, nil]
|
26
26
|
#
|
27
27
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
28
28
|
#
|
29
|
-
# @return [ModernTreasury::LedgerEventHandler]
|
29
|
+
# @return [ModernTreasury::Models::LedgerEventHandler]
|
30
30
|
#
|
31
31
|
# @see ModernTreasury::Models::LedgerEventHandlerCreateParams
|
32
32
|
def create(params)
|
@@ -48,7 +48,7 @@ module ModernTreasury
|
|
48
48
|
#
|
49
49
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
50
50
|
#
|
51
|
-
# @return [ModernTreasury::LedgerEventHandler]
|
51
|
+
# @return [ModernTreasury::Models::LedgerEventHandler]
|
52
52
|
#
|
53
53
|
# @see ModernTreasury::Models::LedgerEventHandlerRetrieveParams
|
54
54
|
def retrieve(id, params = {})
|
@@ -79,7 +79,7 @@ module ModernTreasury
|
|
79
79
|
#
|
80
80
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
81
81
|
#
|
82
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerEventHandler>]
|
82
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerEventHandler>]
|
83
83
|
#
|
84
84
|
# @see ModernTreasury::Models::LedgerEventHandlerListParams
|
85
85
|
def list(params = {})
|
@@ -102,7 +102,7 @@ module ModernTreasury
|
|
102
102
|
#
|
103
103
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
104
104
|
#
|
105
|
-
# @return [ModernTreasury::LedgerEventHandler]
|
105
|
+
# @return [ModernTreasury::Models::LedgerEventHandler]
|
106
106
|
#
|
107
107
|
# @see ModernTreasury::Models::LedgerEventHandlerDeleteParams
|
108
108
|
def delete(id, params = {})
|
@@ -26,7 +26,7 @@ module ModernTreasury
|
|
26
26
|
#
|
27
27
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
28
28
|
#
|
29
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerTransactions::LedgerTransactionVersion>]
|
29
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion>]
|
30
30
|
#
|
31
31
|
# @see ModernTreasury::Models::LedgerTransactions::VersionListParams
|
32
32
|
def list(params = {})
|
@@ -13,7 +13,7 @@ module ModernTreasury
|
|
13
13
|
#
|
14
14
|
# @overload create(ledger_entries:, description: nil, effective_at: nil, effective_date: nil, external_id: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil, request_options: {})
|
15
15
|
#
|
16
|
-
# @param ledger_entries [Array<ModernTreasury::LedgerTransactionCreateParams::LedgerEntry>] An array of ledger entry objects.
|
16
|
+
# @param ledger_entries [Array<ModernTreasury::Models::LedgerTransactionCreateParams::LedgerEntry>] An array of ledger entry objects.
|
17
17
|
#
|
18
18
|
# @param description [String, nil] An optional description for internal use.
|
19
19
|
#
|
@@ -25,15 +25,15 @@ module ModernTreasury
|
|
25
25
|
#
|
26
26
|
# @param ledgerable_id [String] If the ledger transaction can be reconciled to another object in Modern Treasury
|
27
27
|
#
|
28
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactionCreateParams::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
28
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactionCreateParams::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
29
29
|
#
|
30
30
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
31
31
|
#
|
32
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactionCreateParams::Status] To post a ledger transaction at creation, use `posted`.
|
32
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactionCreateParams::Status] To post a ledger transaction at creation, use `posted`.
|
33
33
|
#
|
34
34
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
35
35
|
#
|
36
|
-
# @return [ModernTreasury::LedgerTransaction]
|
36
|
+
# @return [ModernTreasury::Models::LedgerTransaction]
|
37
37
|
#
|
38
38
|
# @see ModernTreasury::Models::LedgerTransactionCreateParams
|
39
39
|
def create(params)
|
@@ -55,7 +55,7 @@ module ModernTreasury
|
|
55
55
|
#
|
56
56
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
57
57
|
#
|
58
|
-
# @return [ModernTreasury::LedgerTransaction]
|
58
|
+
# @return [ModernTreasury::Models::LedgerTransaction]
|
59
59
|
#
|
60
60
|
# @see ModernTreasury::Models::LedgerTransactionRetrieveParams
|
61
61
|
def retrieve(id, params = {})
|
@@ -80,19 +80,19 @@ module ModernTreasury
|
|
80
80
|
#
|
81
81
|
# @param effective_at [Time] The timestamp (ISO8601 format) at which the ledger transaction happened for repo
|
82
82
|
#
|
83
|
-
# @param ledger_entries [Array<ModernTreasury::LedgerTransactionUpdateParams::LedgerEntry>] An array of ledger entry objects.
|
83
|
+
# @param ledger_entries [Array<ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerEntry>] An array of ledger entry objects.
|
84
84
|
#
|
85
85
|
# @param ledgerable_id [String] If the ledger transaction can be reconciled to another object in Modern Treasury
|
86
86
|
#
|
87
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactionUpdateParams::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
87
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
88
88
|
#
|
89
89
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
90
90
|
#
|
91
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactionUpdateParams::Status] To post a ledger transaction at creation, use `posted`.
|
91
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactionUpdateParams::Status] To post a ledger transaction at creation, use `posted`.
|
92
92
|
#
|
93
93
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
94
94
|
#
|
95
|
-
# @return [ModernTreasury::LedgerTransaction]
|
95
|
+
# @return [ModernTreasury::Models::LedgerTransaction]
|
96
96
|
#
|
97
97
|
# @see ModernTreasury::Models::LedgerTransactionUpdateParams
|
98
98
|
def update(id, params = {})
|
@@ -133,11 +133,11 @@ module ModernTreasury
|
|
133
133
|
#
|
134
134
|
# @param ledgerable_id [String]
|
135
135
|
#
|
136
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactionListParams::LedgerableType]
|
136
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactionListParams::LedgerableType]
|
137
137
|
#
|
138
138
|
# @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value
|
139
139
|
#
|
140
|
-
# @param order_by [ModernTreasury::LedgerTransactionListParams::OrderBy] Order by `created_at` or `effective_at` in `asc` or `desc` order. For example, t
|
140
|
+
# @param order_by [ModernTreasury::Models::LedgerTransactionListParams::OrderBy] Order by `created_at` or `effective_at` in `asc` or `desc` order. For example, t
|
141
141
|
#
|
142
142
|
# @param partially_posts_ledger_transaction_id [String]
|
143
143
|
#
|
@@ -147,13 +147,13 @@ module ModernTreasury
|
|
147
147
|
#
|
148
148
|
# @param reverses_ledger_transaction_id [String]
|
149
149
|
#
|
150
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactionListParams::Status]
|
150
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactionListParams::Status]
|
151
151
|
#
|
152
152
|
# @param updated_at [Hash{Symbol=>Time}] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the pos
|
153
153
|
#
|
154
154
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
155
155
|
#
|
156
|
-
# @return [ModernTreasury::Internal::Page<ModernTreasury::LedgerTransaction>]
|
156
|
+
# @return [ModernTreasury::Internal::Page<ModernTreasury::Models::LedgerTransaction>]
|
157
157
|
#
|
158
158
|
# @see ModernTreasury::Models::LedgerTransactionListParams
|
159
159
|
def list(params = {})
|
@@ -178,7 +178,7 @@ module ModernTreasury
|
|
178
178
|
#
|
179
179
|
# @param id [String] The ID of the ledger transaction to partially post.
|
180
180
|
#
|
181
|
-
# @param posted_ledger_entries [Array<ModernTreasury::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry>] An array of ledger entry objects to be set on the posted ledger transaction. The
|
181
|
+
# @param posted_ledger_entries [Array<ModernTreasury::Models::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry>] An array of ledger entry objects to be set on the posted ledger transaction. The
|
182
182
|
#
|
183
183
|
# @param description [String] An optional free-form description for the posted ledger transaction. Maximum of
|
184
184
|
#
|
@@ -188,7 +188,7 @@ module ModernTreasury
|
|
188
188
|
#
|
189
189
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
190
190
|
#
|
191
|
-
# @return [ModernTreasury::LedgerTransaction]
|
191
|
+
# @return [ModernTreasury::Models::LedgerTransaction]
|
192
192
|
#
|
193
193
|
# @see ModernTreasury::Models::LedgerTransactionCreatePartialPostParams
|
194
194
|
def create_partial_post(id, params)
|
@@ -220,15 +220,15 @@ module ModernTreasury
|
|
220
220
|
#
|
221
221
|
# @param ledgerable_id [String] Specify this if you'd like to link the reversal ledger transaction to a Payment
|
222
222
|
#
|
223
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactionCreateReversalParams::LedgerableType] Specify this if you'd like to link the reversal ledger transaction to a Payment
|
223
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactionCreateReversalParams::LedgerableType] Specify this if you'd like to link the reversal ledger transaction to a Payment
|
224
224
|
#
|
225
225
|
# @param metadata [Hash{Symbol=>String}] Additional data to be added to the reversal ledger transaction as key-value pair
|
226
226
|
#
|
227
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactionCreateReversalParams::Status] Status of the reversal ledger transaction. It defaults to `posted` if not provid
|
227
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactionCreateReversalParams::Status] Status of the reversal ledger transaction. It defaults to `posted` if not provid
|
228
228
|
#
|
229
229
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
230
230
|
#
|
231
|
-
# @return [ModernTreasury::LedgerTransaction]
|
231
|
+
# @return [ModernTreasury::Models::LedgerTransaction]
|
232
232
|
#
|
233
233
|
# @see ModernTreasury::Models::LedgerTransactionCreateReversalParams
|
234
234
|
def create_reversal(id, params = {})
|
@@ -20,7 +20,7 @@ module ModernTreasury
|
|
20
20
|
#
|
21
21
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
22
22
|
#
|
23
|
-
# @return [ModernTreasury::LedgerableEvent]
|
23
|
+
# @return [ModernTreasury::Models::LedgerableEvent]
|
24
24
|
#
|
25
25
|
# @see ModernTreasury::Models::LedgerableEventCreateParams
|
26
26
|
def create(params)
|
@@ -42,7 +42,7 @@ module ModernTreasury
|
|
42
42
|
#
|
43
43
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
44
44
|
#
|
45
|
-
# @return [ModernTreasury::LedgerableEvent]
|
45
|
+
# @return [ModernTreasury::Models::LedgerableEvent]
|
46
46
|
#
|
47
47
|
# @see ModernTreasury::Models::LedgerableEventRetrieveParams
|
48
48
|
def retrieve(id, params = {})
|