modern_treasury 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.20
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 +31 -0
- data/README.md +108 -59
- 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 +12 -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 +12 -0
- data/lib/modern_treasury/internal/type/unknown.rb +8 -0
- data/lib/modern_treasury/internal/util.rb +50 -1
- 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 +9 -0
- 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 +34 -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
@@ -75,53 +75,80 @@ module ModernTreasury
|
|
75
75
|
?request_options: ModernTreasury::request_opts
|
76
76
|
) -> void
|
77
77
|
|
78
|
+
def to_hash: -> {
|
79
|
+
internal_account_id: String,
|
80
|
+
name: String,
|
81
|
+
account_details: ::Array[ModernTreasury::VirtualAccountCreateParams::AccountDetail],
|
82
|
+
counterparty_id: String,
|
83
|
+
credit_ledger_account_id: String,
|
84
|
+
debit_ledger_account_id: String,
|
85
|
+
description: String,
|
86
|
+
ledger_account: ModernTreasury::VirtualAccountCreateParams::LedgerAccount,
|
87
|
+
metadata: ::Hash[Symbol, String],
|
88
|
+
routing_details: ::Array[ModernTreasury::VirtualAccountCreateParams::RoutingDetail],
|
89
|
+
request_options: ModernTreasury::RequestOptions
|
90
|
+
}
|
91
|
+
|
78
92
|
type account_detail =
|
79
93
|
{
|
80
94
|
account_number: String,
|
81
|
-
account_number_type: ModernTreasury::VirtualAccountCreateParams::AccountDetail::account_number_type
|
95
|
+
account_number_type: ModernTreasury::Models::VirtualAccountCreateParams::AccountDetail::account_number_type
|
82
96
|
}
|
83
97
|
|
84
98
|
class AccountDetail < ModernTreasury::Internal::Type::BaseModel
|
85
99
|
attr_accessor account_number: String
|
86
100
|
|
87
|
-
attr_reader account_number_type: ModernTreasury::VirtualAccountCreateParams::AccountDetail::account_number_type?
|
101
|
+
attr_reader account_number_type: ModernTreasury::Models::VirtualAccountCreateParams::AccountDetail::account_number_type?
|
88
102
|
|
89
103
|
def account_number_type=: (
|
90
|
-
ModernTreasury::VirtualAccountCreateParams::AccountDetail::account_number_type
|
91
|
-
) -> ModernTreasury::VirtualAccountCreateParams::AccountDetail::account_number_type
|
104
|
+
ModernTreasury::Models::VirtualAccountCreateParams::AccountDetail::account_number_type
|
105
|
+
) -> ModernTreasury::Models::VirtualAccountCreateParams::AccountDetail::account_number_type
|
92
106
|
|
93
107
|
def initialize: (
|
94
108
|
account_number: String,
|
95
|
-
?account_number_type: ModernTreasury::VirtualAccountCreateParams::AccountDetail::account_number_type
|
109
|
+
?account_number_type: ModernTreasury::Models::VirtualAccountCreateParams::AccountDetail::account_number_type
|
96
110
|
) -> void
|
97
111
|
|
112
|
+
def to_hash: -> {
|
113
|
+
account_number: String,
|
114
|
+
account_number_type: ModernTreasury::Models::VirtualAccountCreateParams::AccountDetail::account_number_type
|
115
|
+
}
|
116
|
+
|
98
117
|
type account_number_type =
|
99
118
|
:au_number
|
119
|
+
| :base_address
|
100
120
|
| :clabe
|
121
|
+
| :ethereum_address
|
101
122
|
| :hk_number
|
102
123
|
| :iban
|
103
124
|
| :id_number
|
104
125
|
| :nz_number
|
105
126
|
| :other
|
106
127
|
| :pan
|
128
|
+
| :polygon_address
|
107
129
|
| :sg_number
|
130
|
+
| :solana_address
|
108
131
|
| :wallet_address
|
109
132
|
|
110
133
|
module AccountNumberType
|
111
134
|
extend ModernTreasury::Internal::Type::Enum
|
112
135
|
|
113
136
|
AU_NUMBER: :au_number
|
137
|
+
BASE_ADDRESS: :base_address
|
114
138
|
CLABE: :clabe
|
139
|
+
ETHEREUM_ADDRESS: :ethereum_address
|
115
140
|
HK_NUMBER: :hk_number
|
116
141
|
IBAN: :iban
|
117
142
|
ID_NUMBER: :id_number
|
118
143
|
NZ_NUMBER: :nz_number
|
119
144
|
OTHER: :other
|
120
145
|
PAN: :pan
|
146
|
+
POLYGON_ADDRESS: :polygon_address
|
121
147
|
SG_NUMBER: :sg_number
|
148
|
+
SOLANA_ADDRESS: :solana_address
|
122
149
|
WALLET_ADDRESS: :wallet_address
|
123
150
|
|
124
|
-
def self?.values: -> ::Array[ModernTreasury::VirtualAccountCreateParams::AccountDetail::account_number_type]
|
151
|
+
def self?.values: -> ::Array[ModernTreasury::Models::VirtualAccountCreateParams::AccountDetail::account_number_type]
|
125
152
|
end
|
126
153
|
end
|
127
154
|
|
@@ -135,7 +162,7 @@ module ModernTreasury
|
|
135
162
|
description: String?,
|
136
163
|
ledger_account_category_ids: ::Array[String],
|
137
164
|
ledgerable_id: String,
|
138
|
-
ledgerable_type: ModernTreasury::VirtualAccountCreateParams::LedgerAccount::ledgerable_type,
|
165
|
+
ledgerable_type: ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::ledgerable_type,
|
139
166
|
metadata: ::Hash[Symbol, String]
|
140
167
|
}
|
141
168
|
|
@@ -160,11 +187,11 @@ module ModernTreasury
|
|
160
187
|
|
161
188
|
def ledgerable_id=: (String) -> String
|
162
189
|
|
163
|
-
attr_reader ledgerable_type: ModernTreasury::VirtualAccountCreateParams::LedgerAccount::ledgerable_type?
|
190
|
+
attr_reader ledgerable_type: ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::ledgerable_type?
|
164
191
|
|
165
192
|
def ledgerable_type=: (
|
166
|
-
ModernTreasury::VirtualAccountCreateParams::LedgerAccount::ledgerable_type
|
167
|
-
) -> ModernTreasury::VirtualAccountCreateParams::LedgerAccount::ledgerable_type
|
193
|
+
ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::ledgerable_type
|
194
|
+
) -> ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::ledgerable_type
|
168
195
|
|
169
196
|
attr_reader metadata: ::Hash[Symbol, String]?
|
170
197
|
|
@@ -179,10 +206,23 @@ module ModernTreasury
|
|
179
206
|
?description: String?,
|
180
207
|
?ledger_account_category_ids: ::Array[String],
|
181
208
|
?ledgerable_id: String,
|
182
|
-
?ledgerable_type: ModernTreasury::VirtualAccountCreateParams::LedgerAccount::ledgerable_type,
|
209
|
+
?ledgerable_type: ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::ledgerable_type,
|
183
210
|
?metadata: ::Hash[Symbol, String]
|
184
211
|
) -> void
|
185
212
|
|
213
|
+
def to_hash: -> {
|
214
|
+
currency: String,
|
215
|
+
ledger_id: String,
|
216
|
+
name: String,
|
217
|
+
normal_balance: ModernTreasury::Models::transaction_direction,
|
218
|
+
currency_exponent: Integer?,
|
219
|
+
description: String?,
|
220
|
+
ledger_account_category_ids: ::Array[String],
|
221
|
+
ledgerable_id: String,
|
222
|
+
ledgerable_type: ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::ledgerable_type,
|
223
|
+
metadata: ::Hash[Symbol, String]
|
224
|
+
}
|
225
|
+
|
186
226
|
type ledgerable_type =
|
187
227
|
:counterparty
|
188
228
|
| :external_account
|
@@ -197,30 +237,36 @@ module ModernTreasury
|
|
197
237
|
INTERNAL_ACCOUNT: :internal_account
|
198
238
|
VIRTUAL_ACCOUNT: :virtual_account
|
199
239
|
|
200
|
-
def self?.values: -> ::Array[ModernTreasury::VirtualAccountCreateParams::LedgerAccount::ledgerable_type]
|
240
|
+
def self?.values: -> ::Array[ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::ledgerable_type]
|
201
241
|
end
|
202
242
|
end
|
203
243
|
|
204
244
|
type routing_detail =
|
205
245
|
{
|
206
246
|
routing_number: String,
|
207
|
-
routing_number_type: ModernTreasury::VirtualAccountCreateParams::RoutingDetail::routing_number_type,
|
208
|
-
payment_type: ModernTreasury::VirtualAccountCreateParams::RoutingDetail::payment_type?
|
247
|
+
routing_number_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::routing_number_type,
|
248
|
+
payment_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::payment_type?
|
209
249
|
}
|
210
250
|
|
211
251
|
class RoutingDetail < ModernTreasury::Internal::Type::BaseModel
|
212
252
|
attr_accessor routing_number: String
|
213
253
|
|
214
|
-
attr_accessor routing_number_type: ModernTreasury::VirtualAccountCreateParams::RoutingDetail::routing_number_type
|
254
|
+
attr_accessor routing_number_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::routing_number_type
|
215
255
|
|
216
|
-
attr_accessor payment_type: ModernTreasury::VirtualAccountCreateParams::RoutingDetail::payment_type?
|
256
|
+
attr_accessor payment_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::payment_type?
|
217
257
|
|
218
258
|
def initialize: (
|
219
259
|
routing_number: String,
|
220
|
-
routing_number_type: ModernTreasury::VirtualAccountCreateParams::RoutingDetail::routing_number_type,
|
221
|
-
?payment_type: ModernTreasury::VirtualAccountCreateParams::RoutingDetail::payment_type?
|
260
|
+
routing_number_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::routing_number_type,
|
261
|
+
?payment_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::payment_type?
|
222
262
|
) -> void
|
223
263
|
|
264
|
+
def to_hash: -> {
|
265
|
+
routing_number: String,
|
266
|
+
routing_number_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::routing_number_type,
|
267
|
+
payment_type: ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::payment_type?
|
268
|
+
}
|
269
|
+
|
224
270
|
type routing_number_type =
|
225
271
|
:aba
|
226
272
|
| :au_bsb
|
@@ -269,13 +315,14 @@ module ModernTreasury
|
|
269
315
|
SWIFT: :swift
|
270
316
|
ZA_NATIONAL_CLEARING_CODE: :za_national_clearing_code
|
271
317
|
|
272
|
-
def self?.values: -> ::Array[ModernTreasury::VirtualAccountCreateParams::RoutingDetail::routing_number_type]
|
318
|
+
def self?.values: -> ::Array[ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::routing_number_type]
|
273
319
|
end
|
274
320
|
|
275
321
|
type payment_type =
|
276
322
|
:ach
|
277
323
|
| :au_becs
|
278
324
|
| :bacs
|
325
|
+
| :base
|
279
326
|
| :book
|
280
327
|
| :card
|
281
328
|
| :chats
|
@@ -283,6 +330,7 @@ module ModernTreasury
|
|
283
330
|
| :cross_border
|
284
331
|
| :dk_nets
|
285
332
|
| :eft
|
333
|
+
| :ethereum
|
286
334
|
| :hu_ics
|
287
335
|
| :interac
|
288
336
|
| :masav
|
@@ -291,6 +339,7 @@ module ModernTreasury
|
|
291
339
|
| :nics
|
292
340
|
| :nz_becs
|
293
341
|
| :pl_elixir
|
342
|
+
| :polygon
|
294
343
|
| :provxchange
|
295
344
|
| :ro_sent
|
296
345
|
| :rtp
|
@@ -301,6 +350,7 @@ module ModernTreasury
|
|
301
350
|
| :sic
|
302
351
|
| :signet
|
303
352
|
| :sknbi
|
353
|
+
| :solana
|
304
354
|
| :wire
|
305
355
|
| :zengin
|
306
356
|
|
@@ -310,6 +360,7 @@ module ModernTreasury
|
|
310
360
|
ACH: :ach
|
311
361
|
AU_BECS: :au_becs
|
312
362
|
BACS: :bacs
|
363
|
+
BASE: :base
|
313
364
|
BOOK: :book
|
314
365
|
CARD: :card
|
315
366
|
CHATS: :chats
|
@@ -317,6 +368,7 @@ module ModernTreasury
|
|
317
368
|
CROSS_BORDER: :cross_border
|
318
369
|
DK_NETS: :dk_nets
|
319
370
|
EFT: :eft
|
371
|
+
ETHEREUM: :ethereum
|
320
372
|
HU_ICS: :hu_ics
|
321
373
|
INTERAC: :interac
|
322
374
|
MASAV: :masav
|
@@ -325,6 +377,7 @@ module ModernTreasury
|
|
325
377
|
NICS: :nics
|
326
378
|
NZ_BECS: :nz_becs
|
327
379
|
PL_ELIXIR: :pl_elixir
|
380
|
+
POLYGON: :polygon
|
328
381
|
PROVXCHANGE: :provxchange
|
329
382
|
RO_SENT: :ro_sent
|
330
383
|
RTP: :rtp
|
@@ -335,10 +388,11 @@ module ModernTreasury
|
|
335
388
|
SIC: :sic
|
336
389
|
SIGNET: :signet
|
337
390
|
SKNBI: :sknbi
|
391
|
+
SOLANA: :solana
|
338
392
|
WIRE: :wire
|
339
393
|
ZENGIN: :zengin
|
340
394
|
|
341
|
-
def self?.values: -> ::Array[ModernTreasury::VirtualAccountCreateParams::RoutingDetail::payment_type]
|
395
|
+
def self?.values: -> ::Array[ModernTreasury::Models::VirtualAccountCreateParams::RoutingDetail::payment_type]
|
342
396
|
end
|
343
397
|
end
|
344
398
|
end
|
@@ -40,6 +40,15 @@ module ModernTreasury
|
|
40
40
|
?per_page: Integer,
|
41
41
|
?request_options: ModernTreasury::request_opts
|
42
42
|
) -> void
|
43
|
+
|
44
|
+
def to_hash: -> {
|
45
|
+
after_cursor: String?,
|
46
|
+
counterparty_id: String,
|
47
|
+
internal_account_id: String,
|
48
|
+
metadata: ::Hash[Symbol, String],
|
49
|
+
per_page: Integer,
|
50
|
+
request_options: ModernTreasury::RequestOptions
|
51
|
+
}
|
43
52
|
end
|
44
53
|
end
|
45
54
|
end
|
@@ -34,6 +34,14 @@ module ModernTreasury
|
|
34
34
|
?name: String?,
|
35
35
|
?request_options: ModernTreasury::request_opts
|
36
36
|
) -> void
|
37
|
+
|
38
|
+
def to_hash: -> {
|
39
|
+
counterparty_id: String,
|
40
|
+
ledger_account_id: String,
|
41
|
+
metadata: ::Hash[Symbol, String],
|
42
|
+
name: String?,
|
43
|
+
request_options: ModernTreasury::RequestOptions
|
44
|
+
}
|
37
45
|
end
|
38
46
|
end
|
39
47
|
end
|
@@ -9,17 +9,17 @@ module ModernTreasury
|
|
9
9
|
employer_country: String?,
|
10
10
|
employer_name: String?,
|
11
11
|
employer_state: String?,
|
12
|
-
employment_status: ModernTreasury::WealthAndEmploymentDetails::employment_status?,
|
12
|
+
employment_status: ModernTreasury::Models::WealthAndEmploymentDetails::employment_status?,
|
13
13
|
income_country: String?,
|
14
|
-
income_source: ModernTreasury::WealthAndEmploymentDetails::income_source?,
|
14
|
+
income_source: ModernTreasury::Models::WealthAndEmploymentDetails::income_source?,
|
15
15
|
income_state: String?,
|
16
|
-
industry: ModernTreasury::WealthAndEmploymentDetails::industry?,
|
16
|
+
industry: ModernTreasury::Models::WealthAndEmploymentDetails::industry?,
|
17
17
|
live_mode: bool,
|
18
18
|
object: String,
|
19
|
-
occupation: ModernTreasury::WealthAndEmploymentDetails::occupation?,
|
20
|
-
source_of_funds: ModernTreasury::WealthAndEmploymentDetails::source_of_funds?,
|
19
|
+
occupation: ModernTreasury::Models::WealthAndEmploymentDetails::occupation?,
|
20
|
+
source_of_funds: ModernTreasury::Models::WealthAndEmploymentDetails::source_of_funds?,
|
21
21
|
updated_at: Time,
|
22
|
-
wealth_source: ModernTreasury::WealthAndEmploymentDetails::wealth_source?
|
22
|
+
wealth_source: ModernTreasury::Models::WealthAndEmploymentDetails::wealth_source?
|
23
23
|
}
|
24
24
|
|
25
25
|
class WealthAndEmploymentDetails < ModernTreasury::Internal::Type::BaseModel
|
@@ -37,27 +37,27 @@ module ModernTreasury
|
|
37
37
|
|
38
38
|
attr_accessor employer_state: String?
|
39
39
|
|
40
|
-
attr_accessor employment_status: ModernTreasury::WealthAndEmploymentDetails::employment_status?
|
40
|
+
attr_accessor employment_status: ModernTreasury::Models::WealthAndEmploymentDetails::employment_status?
|
41
41
|
|
42
42
|
attr_accessor income_country: String?
|
43
43
|
|
44
|
-
attr_accessor income_source: ModernTreasury::WealthAndEmploymentDetails::income_source?
|
44
|
+
attr_accessor income_source: ModernTreasury::Models::WealthAndEmploymentDetails::income_source?
|
45
45
|
|
46
46
|
attr_accessor income_state: String?
|
47
47
|
|
48
|
-
attr_accessor industry: ModernTreasury::WealthAndEmploymentDetails::industry?
|
48
|
+
attr_accessor industry: ModernTreasury::Models::WealthAndEmploymentDetails::industry?
|
49
49
|
|
50
50
|
attr_accessor live_mode: bool
|
51
51
|
|
52
52
|
attr_accessor object: String
|
53
53
|
|
54
|
-
attr_accessor occupation: ModernTreasury::WealthAndEmploymentDetails::occupation?
|
54
|
+
attr_accessor occupation: ModernTreasury::Models::WealthAndEmploymentDetails::occupation?
|
55
55
|
|
56
|
-
attr_accessor source_of_funds: ModernTreasury::WealthAndEmploymentDetails::source_of_funds?
|
56
|
+
attr_accessor source_of_funds: ModernTreasury::Models::WealthAndEmploymentDetails::source_of_funds?
|
57
57
|
|
58
58
|
attr_accessor updated_at: Time
|
59
59
|
|
60
|
-
attr_accessor wealth_source: ModernTreasury::WealthAndEmploymentDetails::wealth_source?
|
60
|
+
attr_accessor wealth_source: ModernTreasury::Models::WealthAndEmploymentDetails::wealth_source?
|
61
61
|
|
62
62
|
def initialize: (
|
63
63
|
id: String,
|
@@ -67,19 +67,40 @@ module ModernTreasury
|
|
67
67
|
employer_country: String?,
|
68
68
|
employer_name: String?,
|
69
69
|
employer_state: String?,
|
70
|
-
employment_status: ModernTreasury::WealthAndEmploymentDetails::employment_status?,
|
70
|
+
employment_status: ModernTreasury::Models::WealthAndEmploymentDetails::employment_status?,
|
71
71
|
income_country: String?,
|
72
|
-
income_source: ModernTreasury::WealthAndEmploymentDetails::income_source?,
|
72
|
+
income_source: ModernTreasury::Models::WealthAndEmploymentDetails::income_source?,
|
73
73
|
income_state: String?,
|
74
|
-
industry: ModernTreasury::WealthAndEmploymentDetails::industry?,
|
74
|
+
industry: ModernTreasury::Models::WealthAndEmploymentDetails::industry?,
|
75
75
|
live_mode: bool,
|
76
76
|
object: String,
|
77
|
-
occupation: ModernTreasury::WealthAndEmploymentDetails::occupation?,
|
78
|
-
source_of_funds: ModernTreasury::WealthAndEmploymentDetails::source_of_funds?,
|
77
|
+
occupation: ModernTreasury::Models::WealthAndEmploymentDetails::occupation?,
|
78
|
+
source_of_funds: ModernTreasury::Models::WealthAndEmploymentDetails::source_of_funds?,
|
79
79
|
updated_at: Time,
|
80
|
-
wealth_source: ModernTreasury::WealthAndEmploymentDetails::wealth_source?
|
80
|
+
wealth_source: ModernTreasury::Models::WealthAndEmploymentDetails::wealth_source?
|
81
81
|
) -> void
|
82
82
|
|
83
|
+
def to_hash: -> {
|
84
|
+
id: String,
|
85
|
+
annual_income: Integer?,
|
86
|
+
created_at: Time,
|
87
|
+
discarded_at: Time?,
|
88
|
+
employer_country: String?,
|
89
|
+
employer_name: String?,
|
90
|
+
employer_state: String?,
|
91
|
+
employment_status: ModernTreasury::Models::WealthAndEmploymentDetails::employment_status?,
|
92
|
+
income_country: String?,
|
93
|
+
income_source: ModernTreasury::Models::WealthAndEmploymentDetails::income_source?,
|
94
|
+
income_state: String?,
|
95
|
+
industry: ModernTreasury::Models::WealthAndEmploymentDetails::industry?,
|
96
|
+
live_mode: bool,
|
97
|
+
object: String,
|
98
|
+
occupation: ModernTreasury::Models::WealthAndEmploymentDetails::occupation?,
|
99
|
+
source_of_funds: ModernTreasury::Models::WealthAndEmploymentDetails::source_of_funds?,
|
100
|
+
updated_at: Time,
|
101
|
+
wealth_source: ModernTreasury::Models::WealthAndEmploymentDetails::wealth_source?
|
102
|
+
}
|
103
|
+
|
83
104
|
type employment_status =
|
84
105
|
:employed | :retired | :self_employed | :student | :unemployed
|
85
106
|
|
@@ -92,7 +113,7 @@ module ModernTreasury
|
|
92
113
|
STUDENT: :student
|
93
114
|
UNEMPLOYED: :unemployed
|
94
115
|
|
95
|
-
def self?.values: -> ::Array[ModernTreasury::WealthAndEmploymentDetails::employment_status]
|
116
|
+
def self?.values: -> ::Array[ModernTreasury::Models::WealthAndEmploymentDetails::employment_status]
|
96
117
|
end
|
97
118
|
|
98
119
|
type income_source =
|
@@ -117,7 +138,7 @@ module ModernTreasury
|
|
117
138
|
SALARY: :salary
|
118
139
|
SELF_EMPLOYED: :self_employed
|
119
140
|
|
120
|
-
def self?.values: -> ::Array[ModernTreasury::WealthAndEmploymentDetails::income_source]
|
141
|
+
def self?.values: -> ::Array[ModernTreasury::Models::WealthAndEmploymentDetails::income_source]
|
121
142
|
end
|
122
143
|
|
123
144
|
type industry =
|
@@ -192,7 +213,7 @@ module ModernTreasury
|
|
192
213
|
TRAVEL: :travel
|
193
214
|
UTILITIES: :utilities
|
194
215
|
|
195
|
-
def self?.values: -> ::Array[ModernTreasury::WealthAndEmploymentDetails::industry]
|
216
|
+
def self?.values: -> ::Array[ModernTreasury::Models::WealthAndEmploymentDetails::industry]
|
196
217
|
end
|
197
218
|
|
198
219
|
type occupation =
|
@@ -225,7 +246,7 @@ module ModernTreasury
|
|
225
246
|
SCIENCE_ENGINEERING: :science_engineering
|
226
247
|
TECHNOLOGY: :technology
|
227
248
|
|
228
|
-
def self?.values: -> ::Array[ModernTreasury::WealthAndEmploymentDetails::occupation]
|
249
|
+
def self?.values: -> ::Array[ModernTreasury::Models::WealthAndEmploymentDetails::occupation]
|
229
250
|
end
|
230
251
|
|
231
252
|
type source_of_funds =
|
@@ -268,7 +289,7 @@ module ModernTreasury
|
|
268
289
|
SENIOR_EXECUTIVE: :senior_executive
|
269
290
|
TRUST_INCOME: :trust_income
|
270
291
|
|
271
|
-
def self?.values: -> ::Array[ModernTreasury::WealthAndEmploymentDetails::source_of_funds]
|
292
|
+
def self?.values: -> ::Array[ModernTreasury::Models::WealthAndEmploymentDetails::source_of_funds]
|
272
293
|
end
|
273
294
|
|
274
295
|
type wealth_source =
|
@@ -297,7 +318,7 @@ module ModernTreasury
|
|
297
318
|
SALARY: :salary
|
298
319
|
SELF_EMPLOYED: :self_employed
|
299
320
|
|
300
|
-
def self?.values: -> ::Array[ModernTreasury::WealthAndEmploymentDetails::wealth_source]
|
321
|
+
def self?.values: -> ::Array[ModernTreasury::Models::WealthAndEmploymentDetails::wealth_source]
|
301
322
|
end
|
302
323
|
end
|
303
324
|
end
|
@@ -309,6 +309,14 @@ module ModernTreasury
|
|
309
309
|
|
310
310
|
class PaperItemRetrieveParams = ModernTreasury::Models::PaperItemRetrieveParams
|
311
311
|
|
312
|
+
class PaymentActionCreateParams = ModernTreasury::Models::PaymentActionCreateParams
|
313
|
+
|
314
|
+
class PaymentActionListParams = ModernTreasury::Models::PaymentActionListParams
|
315
|
+
|
316
|
+
class PaymentActionRetrieveParams = ModernTreasury::Models::PaymentActionRetrieveParams
|
317
|
+
|
318
|
+
class PaymentActionUpdateParams = ModernTreasury::Models::PaymentActionUpdateParams
|
319
|
+
|
312
320
|
class PaymentFlow = ModernTreasury::Models::PaymentFlow
|
313
321
|
|
314
322
|
class PaymentFlowCreateParams = ModernTreasury::Models::PaymentFlowCreateParams
|
@@ -4,7 +4,7 @@ module ModernTreasury
|
|
4
4
|
def create: (
|
5
5
|
counterparty_id: String,
|
6
6
|
payment_types: ::Array[String],
|
7
|
-
?receiving_countries: ::Array[ModernTreasury::AccountCollectionFlowCreateParams::receiving_country],
|
7
|
+
?receiving_countries: ::Array[ModernTreasury::Models::AccountCollectionFlowCreateParams::receiving_country],
|
8
8
|
?request_options: ModernTreasury::request_opts
|
9
9
|
) -> ModernTreasury::AccountCollectionFlow
|
10
10
|
|
@@ -4,7 +4,7 @@ module ModernTreasury
|
|
4
4
|
def create: (
|
5
5
|
action_type: ModernTreasury::Models::BulkRequestCreateParams::action_type,
|
6
6
|
resource_type: ModernTreasury::Models::BulkRequestCreateParams::resource_type,
|
7
|
-
resources: ::Array[ModernTreasury::BulkRequestCreateParams::resource],
|
7
|
+
resources: ::Array[ModernTreasury::Models::BulkRequestCreateParams::resource],
|
8
8
|
?metadata: ::Hash[Symbol, String],
|
9
9
|
?request_options: ModernTreasury::request_opts
|
10
10
|
) -> ModernTreasury::BulkRequest
|
@@ -53,7 +53,7 @@ module ModernTreasury
|
|
53
53
|
String id,
|
54
54
|
direction: ModernTreasury::Models::transaction_direction,
|
55
55
|
?custom_redirect: String,
|
56
|
-
?fields: ::Array[ModernTreasury::CounterpartyCollectAccountParams::field],
|
56
|
+
?fields: ::Array[ModernTreasury::Models::CounterpartyCollectAccountParams::field],
|
57
57
|
?send_email: bool,
|
58
58
|
?request_options: ModernTreasury::request_opts
|
59
59
|
) -> ModernTreasury::CounterpartyCollectAccountResponse
|
@@ -4,7 +4,7 @@ module ModernTreasury
|
|
4
4
|
def create: (
|
5
5
|
documentable_id: String,
|
6
6
|
documentable_type: ModernTreasury::Models::DocumentCreateParams::documentable_type,
|
7
|
-
file:
|
7
|
+
file: ModernTreasury::Internal::file_input,
|
8
8
|
?document_type: String,
|
9
9
|
?request_options: ModernTreasury::request_opts
|
10
10
|
) -> ModernTreasury::Document
|
@@ -62,6 +62,8 @@ module ModernTreasury
|
|
62
62
|
?per_page: Integer,
|
63
63
|
?status: ModernTreasury::Models::ExpectedPaymentListParams::status,
|
64
64
|
?type: ModernTreasury::Models::ExpectedPaymentListParams::type_,
|
65
|
+
?updated_at_lower_bound: Time,
|
66
|
+
?updated_at_upper_bound: Time,
|
65
67
|
?request_options: ModernTreasury::request_opts
|
66
68
|
) -> ModernTreasury::Internal::Page[ModernTreasury::ExpectedPayment]
|
67
69
|
|
@@ -8,6 +8,7 @@ module ModernTreasury
|
|
8
8
|
currency: ModernTreasury::Models::InternalAccountCreateParams::currency,
|
9
9
|
name: String,
|
10
10
|
party_name: String,
|
11
|
+
?account_type: ModernTreasury::Models::InternalAccountCreateParams::account_type,
|
11
12
|
?counterparty_id: String,
|
12
13
|
?legal_entity_id: String,
|
13
14
|
?parent_account_id: String,
|
@@ -3,7 +3,7 @@ module ModernTreasury
|
|
3
3
|
class LegalEntityAssociations
|
4
4
|
def create: (
|
5
5
|
parent_legal_entity_id: String,
|
6
|
-
relationship_types: ::Array[ModernTreasury::LegalEntityAssociationCreateParams::relationship_type],
|
6
|
+
relationship_types: ::Array[ModernTreasury::Models::LegalEntityAssociationCreateParams::relationship_type],
|
7
7
|
?child_legal_entity: ModernTreasury::LegalEntityAssociationCreateParams::ChildLegalEntity,
|
8
8
|
?child_legal_entity_id: String,
|
9
9
|
?ownership_percentage: Integer?,
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module ModernTreasury
|
2
|
+
module Resources
|
3
|
+
class PaymentActions
|
4
|
+
def create: (
|
5
|
+
type: String,
|
6
|
+
?actionable_id: String,
|
7
|
+
?actionable_type: String,
|
8
|
+
?details: top,
|
9
|
+
?internal_account_id: String,
|
10
|
+
?request_options: ModernTreasury::request_opts
|
11
|
+
) -> ModernTreasury::Models::PaymentActionCreateResponse
|
12
|
+
|
13
|
+
def retrieve: (
|
14
|
+
String id,
|
15
|
+
?request_options: ModernTreasury::request_opts
|
16
|
+
) -> ModernTreasury::Models::PaymentActionRetrieveResponse
|
17
|
+
|
18
|
+
def update: (
|
19
|
+
String id,
|
20
|
+
status: ModernTreasury::Models::PaymentActionUpdateParams::status,
|
21
|
+
?request_options: ModernTreasury::request_opts
|
22
|
+
) -> ModernTreasury::Models::PaymentActionUpdateResponse
|
23
|
+
|
24
|
+
def list: (
|
25
|
+
?actionable_id: String,
|
26
|
+
?actionable_type: String,
|
27
|
+
?after_cursor: String?,
|
28
|
+
?created_at: ModernTreasury::PaymentActionListParams::CreatedAt,
|
29
|
+
?internal_account_id: String,
|
30
|
+
?metadata: ::Hash[Symbol, String],
|
31
|
+
?per_page: Integer,
|
32
|
+
?status: ModernTreasury::Models::PaymentActionListParams::status,
|
33
|
+
?type: ModernTreasury::Models::PaymentActionListParams::type_,
|
34
|
+
?request_options: ModernTreasury::request_opts
|
35
|
+
) -> ModernTreasury::Internal::Page[ModernTreasury::Models::PaymentActionListResponse]
|
36
|
+
|
37
|
+
def initialize: (client: ModernTreasury::Client) -> void
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|