modern_treasury 0.1.0.pre.alpha.15 → 0.1.0.pre.alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +63 -20
- data/lib/modern_treasury/base_client.rb +93 -111
- data/lib/modern_treasury/base_model.rb +442 -422
- data/lib/modern_treasury/base_page.rb +34 -15
- data/lib/modern_treasury/client.rb +21 -7
- data/lib/modern_treasury/errors.rb +15 -19
- data/lib/modern_treasury/extern.rb +1 -4
- data/lib/modern_treasury/models/account_collection_flow.rb +9 -54
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +3 -22
- data/lib/modern_treasury/models/account_collection_flow_update_params.rb +3 -12
- data/lib/modern_treasury/models/account_detail.rb +3 -22
- data/lib/modern_treasury/models/account_detail_create_params.rb +6 -33
- data/lib/modern_treasury/models/account_detail_delete_params.rb +3 -11
- data/lib/modern_treasury/models/accounts_type.rb +3 -13
- data/lib/modern_treasury/models/bulk_request.rb +9 -50
- data/lib/modern_treasury/models/bulk_request_create_params.rb +118 -656
- data/lib/modern_treasury/models/bulk_request_list_params.rb +9 -50
- data/lib/modern_treasury/models/bulk_result.rb +16 -67
- data/lib/modern_treasury/models/bulk_result_list_params.rb +9 -48
- data/lib/modern_treasury/models/connection_legal_entity.rb +3 -18
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +33 -200
- data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +3 -17
- data/lib/modern_treasury/models/connection_legal_entity_update_params.rb +3 -12
- data/lib/modern_treasury/models/counterparty.rb +15 -77
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +3 -21
- data/lib/modern_treasury/models/counterparty_create_params.rb +61 -357
- data/lib/modern_treasury/models/currency.rb +3 -22
- data/lib/modern_treasury/models/document.rb +3 -22
- data/lib/modern_treasury/models/document_create_params.rb +3 -21
- data/lib/modern_treasury/models/document_list_params.rb +3 -22
- data/lib/modern_treasury/models/expected_payment.rb +9 -46
- data/lib/modern_treasury/models/expected_payment_create_params.rb +9 -52
- data/lib/modern_treasury/models/expected_payment_list_params.rb +6 -40
- data/lib/modern_treasury/models/expected_payment_type.rb +3 -22
- data/lib/modern_treasury/models/expected_payment_update_params.rb +6 -26
- data/lib/modern_treasury/models/external_account.rb +12 -59
- data/lib/modern_treasury/models/external_account_create_params.rb +18 -110
- data/lib/modern_treasury/models/external_account_type.rb +3 -22
- data/lib/modern_treasury/models/external_account_update_params.rb +3 -14
- data/lib/modern_treasury/models/external_account_verify_params.rb +9 -48
- data/lib/modern_treasury/models/external_account_verify_response.rb +16 -66
- data/lib/modern_treasury/models/incoming_payment_detail.rb +12 -82
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +6 -36
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +6 -38
- data/lib/modern_treasury/models/internal_account.rb +6 -36
- data/lib/modern_treasury/models/internal_account_create_params.rb +3 -14
- data/lib/modern_treasury/models/internal_account_list_params.rb +3 -22
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +12 -46
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +6 -40
- data/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rb +3 -18
- data/lib/modern_treasury/models/invoice.rb +12 -67
- data/lib/modern_treasury/models/invoice_create_params.rb +6 -31
- data/lib/modern_treasury/models/invoice_list_params.rb +3 -21
- data/lib/modern_treasury/models/invoice_update_params.rb +6 -31
- data/lib/modern_treasury/models/ledger_account.rb +3 -18
- data/lib/modern_treasury/models/ledger_account_create_params.rb +3 -18
- data/lib/modern_treasury/models/ledger_account_settlement.rb +3 -22
- data/lib/modern_treasury/models/ledger_account_settlement_create_params.rb +3 -14
- data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +3 -14
- data/lib/modern_treasury/models/ledger_entry.rb +3 -16
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +9 -42
- data/lib/modern_treasury/models/ledger_event_handler.rb +4 -0
- data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +3 -0
- data/lib/modern_treasury/models/ledger_event_handler_variable.rb +2 -0
- data/lib/modern_treasury/models/ledger_transaction.rb +6 -38
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +6 -38
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +3 -14
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +6 -38
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +12 -62
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +6 -38
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +9 -54
- data/lib/modern_treasury/models/ledgerable_event.rb +1 -0
- data/lib/modern_treasury/models/legal_entity.rb +15 -95
- data/lib/modern_treasury/models/legal_entity_association.rb +18 -109
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +18 -107
- data/lib/modern_treasury/models/legal_entity_create_params.rb +33 -200
- data/lib/modern_treasury/models/legal_entity_list_params.rb +3 -13
- data/lib/modern_treasury/models/legal_entity_update_params.rb +12 -79
- data/lib/modern_treasury/models/line_item.rb +3 -14
- data/lib/modern_treasury/models/line_item_list_params.rb +3 -13
- data/lib/modern_treasury/models/line_item_retrieve_params.rb +3 -13
- data/lib/modern_treasury/models/line_item_update_params.rb +3 -13
- data/lib/modern_treasury/models/paper_item.rb +3 -16
- data/lib/modern_treasury/models/payment_flow.rb +12 -58
- data/lib/modern_treasury/models/payment_flow_create_params.rb +3 -14
- data/lib/modern_treasury/models/payment_flow_update_params.rb +3 -12
- data/lib/modern_treasury/models/payment_order.rb +33 -142
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +39 -218
- data/lib/modern_treasury/models/payment_order_create_params.rb +42 -239
- data/lib/modern_treasury/models/payment_order_list_params.rb +9 -56
- data/lib/modern_treasury/models/payment_order_subtype.rb +3 -22
- data/lib/modern_treasury/models/payment_order_type.rb +3 -22
- data/lib/modern_treasury/models/payment_order_update_params.rb +36 -202
- data/lib/modern_treasury/models/payment_orders/reversal.rb +6 -42
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +9 -58
- data/lib/modern_treasury/models/payment_reference.rb +8 -39
- data/lib/modern_treasury/models/payment_reference_list_params.rb +3 -16
- data/lib/modern_treasury/models/reconciliation_rule.rb +6 -36
- data/lib/modern_treasury/models/return_create_params.rb +6 -34
- data/lib/modern_treasury/models/return_list_params.rb +3 -20
- data/lib/modern_treasury/models/return_object.rb +20 -123
- data/lib/modern_treasury/models/routing_detail.rb +6 -44
- data/lib/modern_treasury/models/routing_detail_create_params.rb +9 -55
- data/lib/modern_treasury/models/routing_detail_delete_params.rb +3 -11
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +6 -43
- data/lib/modern_treasury/models/transaction.rb +9 -47
- data/lib/modern_treasury/models/transaction_create_params.rb +3 -22
- data/lib/modern_treasury/models/transaction_direction.rb +3 -13
- data/lib/modern_treasury/models/transactions/line_item_list_params.rb +3 -13
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +6 -36
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +3 -22
- data/lib/modern_treasury/models/virtual_account_create_params.rb +12 -84
- data/lib/modern_treasury/models/wealth_and_employment_details.rb +18 -130
- data/lib/modern_treasury/page.rb +26 -28
- data/lib/modern_treasury/pooled_net_requester.rb +103 -86
- data/lib/modern_treasury/request_options.rb +5 -12
- data/lib/modern_treasury/resources/account_collection_flows.rb +0 -5
- data/lib/modern_treasury/resources/account_details.rb +26 -25
- data/lib/modern_treasury/resources/bulk_requests.rb +0 -4
- data/lib/modern_treasury/resources/bulk_results.rb +0 -3
- data/lib/modern_treasury/resources/connection_legal_entities.rb +0 -5
- data/lib/modern_treasury/resources/connections.rb +0 -2
- data/lib/modern_treasury/resources/counterparties.rb +0 -7
- data/lib/modern_treasury/resources/documents.rb +1 -5
- data/lib/modern_treasury/resources/events.rb +0 -3
- data/lib/modern_treasury/resources/expected_payments.rb +0 -6
- data/lib/modern_treasury/resources/external_accounts.rb +0 -8
- data/lib/modern_treasury/resources/foreign_exchange_quotes.rb +0 -4
- data/lib/modern_treasury/resources/incoming_payment_details.rb +0 -5
- data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +14 -14
- data/lib/modern_treasury/resources/internal_accounts.rb +0 -5
- data/lib/modern_treasury/resources/invoices/line_items.rb +13 -16
- data/lib/modern_treasury/resources/invoices.rb +4 -9
- data/lib/modern_treasury/resources/ledger_account_balance_monitors.rb +0 -6
- data/lib/modern_treasury/resources/ledger_account_categories.rb +24 -26
- data/lib/modern_treasury/resources/ledger_account_settlements/account_entries.rb +4 -5
- data/lib/modern_treasury/resources/ledger_account_settlements.rb +2 -6
- data/lib/modern_treasury/resources/ledger_account_statements.rb +0 -3
- data/lib/modern_treasury/resources/ledger_accounts.rb +0 -6
- data/lib/modern_treasury/resources/ledger_entries.rb +0 -4
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +0 -5
- data/lib/modern_treasury/resources/ledger_transactions/versions.rb +0 -2
- data/lib/modern_treasury/resources/ledger_transactions.rb +0 -7
- data/lib/modern_treasury/resources/ledgerable_events.rb +0 -3
- data/lib/modern_treasury/resources/ledgers.rb +0 -6
- data/lib/modern_treasury/resources/legal_entities.rb +0 -5
- data/lib/modern_treasury/resources/legal_entity_associations.rb +0 -2
- data/lib/modern_treasury/resources/line_items.rb +22 -21
- data/lib/modern_treasury/resources/paper_items.rb +0 -3
- data/lib/modern_treasury/resources/payment_flows.rb +0 -5
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +4 -7
- data/lib/modern_treasury/resources/payment_orders.rb +0 -6
- data/lib/modern_treasury/resources/payment_references.rb +1 -20
- data/lib/modern_treasury/resources/returns.rb +0 -4
- data/lib/modern_treasury/resources/routing_details.rb +26 -25
- data/lib/modern_treasury/resources/transactions/line_items.rb +0 -5
- data/lib/modern_treasury/resources/transactions.rb +0 -6
- data/lib/modern_treasury/resources/validations.rb +0 -2
- data/lib/modern_treasury/resources/virtual_accounts.rb +0 -6
- data/lib/modern_treasury/util.rb +645 -385
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +17 -0
- data/manifest.yaml +2 -0
- data/rbi/lib/modern_treasury/base_client.rbi +108 -72
- data/rbi/lib/modern_treasury/base_model.rbi +404 -239
- data/rbi/lib/modern_treasury/base_page.rbi +3 -6
- data/rbi/lib/modern_treasury/client.rbi +55 -79
- data/rbi/lib/modern_treasury/errors.rbi +23 -24
- data/rbi/lib/modern_treasury/extern.rbi +1 -1
- data/rbi/lib/modern_treasury/models/account_collection_flow.rbi +107 -102
- data/rbi/lib/modern_treasury/models/account_collection_flow_create_params.rbi +69 -42
- data/rbi/lib/modern_treasury/models/account_collection_flow_list_params.rbi +19 -34
- data/rbi/lib/modern_treasury/models/account_collection_flow_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/account_collection_flow_update_params.rbi +31 -16
- data/rbi/lib/modern_treasury/models/account_detail.rbi +44 -73
- data/rbi/lib/modern_treasury/models/account_detail_create_params.rbi +60 -42
- data/rbi/lib/modern_treasury/models/account_detail_delete_params.rbi +24 -26
- data/rbi/lib/modern_treasury/models/account_detail_list_params.rbi +11 -23
- data/rbi/lib/modern_treasury/models/account_detail_retrieve_params.rbi +14 -22
- data/rbi/lib/modern_treasury/models/accounts_type.rbi +8 -5
- data/rbi/lib/modern_treasury/models/async_response.rbi +4 -14
- data/rbi/lib/modern_treasury/models/bank_settings.rbi +22 -62
- data/rbi/lib/modern_treasury/models/bulk_request.rbi +69 -102
- data/rbi/lib/modern_treasury/models/bulk_request_create_params.rbi +4011 -2385
- data/rbi/lib/modern_treasury/models/bulk_request_list_params.rbi +73 -62
- data/rbi/lib/modern_treasury/models/bulk_request_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/bulk_result.rbi +104 -183
- data/rbi/lib/modern_treasury/models/bulk_result_list_params.rbi +78 -66
- data/rbi/lib/modern_treasury/models/bulk_result_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/client_ping_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/connection.rbi +16 -56
- data/rbi/lib/modern_treasury/models/connection_legal_entity.rbi +33 -72
- data/rbi/lib/modern_treasury/models/connection_legal_entity_create_params.rbi +1090 -645
- data/rbi/lib/modern_treasury/models/connection_legal_entity_list_params.rbi +33 -39
- data/rbi/lib/modern_treasury/models/connection_legal_entity_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/connection_legal_entity_update_params.rbi +31 -15
- data/rbi/lib/modern_treasury/models/connection_list_params.rbi +15 -30
- data/rbi/lib/modern_treasury/models/counterparty.rbi +247 -354
- data/rbi/lib/modern_treasury/models/counterparty_collect_account_params.rbi +115 -62
- data/rbi/lib/modern_treasury/models/counterparty_collect_account_response.rbi +12 -20
- data/rbi/lib/modern_treasury/models/counterparty_create_params.rbi +1877 -1038
- data/rbi/lib/modern_treasury/models/counterparty_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/counterparty_list_params.rbi +35 -44
- data/rbi/lib/modern_treasury/models/counterparty_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/counterparty_update_params.rbi +27 -34
- data/rbi/lib/modern_treasury/models/currency.rbi +196 -192
- data/rbi/lib/modern_treasury/models/document.rbi +83 -165
- data/rbi/lib/modern_treasury/models/document_create_params.rbi +48 -44
- data/rbi/lib/modern_treasury/models/document_list_params.rbi +56 -48
- data/rbi/lib/modern_treasury/models/document_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/event.rbi +19 -73
- data/rbi/lib/modern_treasury/models/event_list_params.rbi +24 -39
- data/rbi/lib/modern_treasury/models/event_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/expected_payment.rbi +116 -194
- data/rbi/lib/modern_treasury/models/expected_payment_create_params.rbi +313 -288
- data/rbi/lib/modern_treasury/models/expected_payment_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/expected_payment_list_params.rbi +108 -105
- data/rbi/lib/modern_treasury/models/expected_payment_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/expected_payment_type.rbi +38 -33
- data/rbi/lib/modern_treasury/models/expected_payment_update_params.rbi +87 -129
- data/rbi/lib/modern_treasury/models/external_account.rbi +150 -285
- data/rbi/lib/modern_treasury/models/external_account_complete_verification_params.rbi +6 -8
- data/rbi/lib/modern_treasury/models/external_account_create_params.rbi +670 -322
- data/rbi/lib/modern_treasury/models/external_account_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/external_account_list_params.rbi +20 -29
- data/rbi/lib/modern_treasury/models/external_account_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/external_account_type.rbi +15 -11
- data/rbi/lib/modern_treasury/models/external_account_update_params.rbi +59 -92
- data/rbi/lib/modern_treasury/models/external_account_verify_params.rbi +106 -86
- data/rbi/lib/modern_treasury/models/external_account_verify_response.rbi +304 -121
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote.rbi +61 -132
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote_create_params.rbi +31 -41
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote_list_params.rbi +37 -49
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/incoming_payment_detail.rbi +272 -228
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +79 -75
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_list_params.rbi +85 -76
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_update_params.rbi +8 -8
- data/rbi/lib/modern_treasury/models/internal_account.rbi +106 -218
- data/rbi/lib/modern_treasury/models/internal_account_create_params.rbi +67 -99
- data/rbi/lib/modern_treasury/models/internal_account_list_params.rbi +87 -88
- data/rbi/lib/modern_treasury/models/internal_account_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/internal_account_update_params.rbi +24 -28
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report.rbi +156 -181
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +159 -88
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_delete_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rbi +66 -38
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/invoice.rbi +239 -441
- data/rbi/lib/modern_treasury/models/invoice_add_payment_order_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/invoice_create_params.rbi +292 -378
- data/rbi/lib/modern_treasury/models/invoice_list_params.rbi +57 -71
- data/rbi/lib/modern_treasury/models/invoice_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/invoice_update_params.rbi +300 -374
- data/rbi/lib/modern_treasury/models/invoices/invoice_line_item.rbi +35 -82
- data/rbi/lib/modern_treasury/models/invoices/line_item_create_params.rbi +34 -40
- data/rbi/lib/modern_treasury/models/invoices/line_item_delete_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/invoices/line_item_list_params.rbi +7 -14
- data/rbi/lib/modern_treasury/models/invoices/line_item_retrieve_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/invoices/line_item_update_params.rbi +39 -44
- data/rbi/lib/modern_treasury/models/ledger.rbi +17 -66
- data/rbi/lib/modern_treasury/models/ledger_account.rbi +136 -237
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor.rbi +150 -236
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rbi +42 -52
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_list_params.rbi +22 -36
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_update_params.rbi +12 -13
- data/rbi/lib/modern_treasury/models/ledger_account_category.rbi +121 -197
- data/rbi/lib/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/ledger_account_category_add_nested_category_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/ledger_account_category_create_params.rbi +28 -52
- data/rbi/lib/modern_treasury/models/ledger_account_category_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_account_category_list_params.rbi +54 -63
- data/rbi/lib/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/ledger_account_category_retrieve_params.rbi +30 -22
- data/rbi/lib/modern_treasury/models/ledger_account_category_update_params.rbi +14 -19
- data/rbi/lib/modern_treasury/models/ledger_account_create_params.rbi +65 -74
- data/rbi/lib/modern_treasury/models/ledger_account_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_account_list_params.rbi +183 -205
- data/rbi/lib/modern_treasury/models/ledger_account_retrieve_params.rbi +39 -37
- data/rbi/lib/modern_treasury/models/ledger_account_settlement.rbi +57 -116
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_create_params.rbi +50 -58
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_list_params.rbi +42 -54
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_update_params.rbi +35 -27
- data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbi +6 -9
- data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbi +6 -9
- data/rbi/lib/modern_treasury/models/ledger_account_statement_create_params.rbi +19 -32
- data/rbi/lib/modern_treasury/models/ledger_account_statement_create_response.rbi +238 -335
- data/rbi/lib/modern_treasury/models/ledger_account_statement_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rbi +236 -335
- data/rbi/lib/modern_treasury/models/ledger_account_update_params.rbi +14 -19
- data/rbi/lib/modern_treasury/models/ledger_create_params.rbi +12 -20
- data/rbi/lib/modern_treasury/models/ledger_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_entry.rbi +161 -232
- data/rbi/lib/modern_treasury/models/ledger_entry_list_params.rbi +170 -143
- data/rbi/lib/modern_treasury/models/ledger_entry_retrieve_params.rbi +8 -8
- data/rbi/lib/modern_treasury/models/ledger_entry_update_params.rbi +8 -8
- data/rbi/lib/modern_treasury/models/ledger_event_handler.rbi +77 -155
- data/rbi/lib/modern_treasury/models/ledger_event_handler_create_params.rbi +76 -123
- data/rbi/lib/modern_treasury/models/ledger_event_handler_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_event_handler_list_params.rbi +22 -36
- data/rbi/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_event_handler_variable.rbi +24 -33
- data/rbi/lib/modern_treasury/models/ledger_list_params.rbi +24 -36
- data/rbi/lib/modern_treasury/models/ledger_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_transaction.rbi +86 -143
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_params.rbi +138 -133
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rbi +88 -67
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rbi +113 -58
- data/rbi/lib/modern_treasury/models/ledger_transaction_list_params.rbi +188 -147
- data/rbi/lib/modern_treasury/models/ledger_transaction_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ledger_transaction_update_params.rbi +133 -120
- data/rbi/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +328 -378
- data/rbi/lib/modern_treasury/models/ledger_transactions/version_list_params.rbi +28 -34
- data/rbi/lib/modern_treasury/models/ledger_update_params.rbi +14 -19
- data/rbi/lib/modern_treasury/models/ledgerable_event.rbi +20 -62
- data/rbi/lib/modern_treasury/models/ledgerable_event_create_params.rbi +14 -26
- data/rbi/lib/modern_treasury/models/ledgerable_event_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/legal_entity.rbi +211 -416
- data/rbi/lib/modern_treasury/models/legal_entity_association.rbi +468 -479
- data/rbi/lib/modern_treasury/models/legal_entity_association_create_params.rbi +567 -324
- data/rbi/lib/modern_treasury/models/legal_entity_create_params.rbi +854 -608
- data/rbi/lib/modern_treasury/models/legal_entity_list_params.rbi +33 -37
- data/rbi/lib/modern_treasury/models/legal_entity_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/legal_entity_update_params.rbi +252 -267
- data/rbi/lib/modern_treasury/models/line_item.rbi +54 -105
- data/rbi/lib/modern_treasury/models/line_item_list_params.rbi +22 -28
- data/rbi/lib/modern_treasury/models/line_item_retrieve_params.rbi +26 -27
- data/rbi/lib/modern_treasury/models/line_item_update_params.rbi +25 -28
- data/rbi/lib/modern_treasury/models/paper_item.rbi +53 -122
- data/rbi/lib/modern_treasury/models/paper_item_list_params.rbi +20 -29
- data/rbi/lib/modern_treasury/models/paper_item_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/payment_flow.rbi +141 -136
- data/rbi/lib/modern_treasury/models/payment_flow_create_params.rbi +36 -46
- data/rbi/lib/modern_treasury/models/payment_flow_list_params.rbi +25 -44
- data/rbi/lib/modern_treasury/models/payment_flow_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/payment_flow_update_params.rbi +27 -16
- data/rbi/lib/modern_treasury/models/payment_order.rbi +732 -614
- data/rbi/lib/modern_treasury/models/payment_order_create_async_params.rbi +1297 -744
- data/rbi/lib/modern_treasury/models/payment_order_create_params.rbi +1346 -801
- data/rbi/lib/modern_treasury/models/payment_order_list_params.rbi +150 -157
- data/rbi/lib/modern_treasury/models/payment_order_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/payment_order_subtype.rbi +39 -32
- data/rbi/lib/modern_treasury/models/payment_order_type.rbi +39 -33
- data/rbi/lib/modern_treasury/models/payment_order_update_params.rbi +1104 -632
- data/rbi/lib/modern_treasury/models/payment_orders/reversal.rbi +58 -91
- data/rbi/lib/modern_treasury/models/payment_orders/reversal_create_params.rbi +274 -172
- data/rbi/lib/modern_treasury/models/payment_orders/reversal_list_params.rbi +7 -14
- data/rbi/lib/modern_treasury/models/payment_orders/reversal_retrieve_params.rbi +4 -9
- data/rbi/lib/modern_treasury/models/payment_reference.rbi +298 -144
- data/rbi/lib/modern_treasury/models/payment_reference_list_params.rbi +49 -39
- data/rbi/lib/modern_treasury/models/payment_reference_retireve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/payment_reference_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/ping_response.rbi +3 -8
- data/rbi/lib/modern_treasury/models/reconciliation_rule.rbi +88 -110
- data/rbi/lib/modern_treasury/models/return_create_params.rbi +98 -107
- data/rbi/lib/modern_treasury/models/return_list_params.rbi +45 -45
- data/rbi/lib/modern_treasury/models/return_object.rbi +575 -393
- data/rbi/lib/modern_treasury/models/return_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/routing_detail.rbi +140 -204
- data/rbi/lib/modern_treasury/models/routing_detail_create_params.rbi +159 -107
- data/rbi/lib/modern_treasury/models/routing_detail_delete_params.rbi +24 -26
- data/rbi/lib/modern_treasury/models/routing_detail_list_params.rbi +11 -23
- data/rbi/lib/modern_treasury/models/routing_detail_retrieve_params.rbi +14 -22
- data/rbi/lib/modern_treasury/models/routing_number_lookup_request.rbi +182 -122
- data/rbi/lib/modern_treasury/models/transaction.rbi +193 -287
- data/rbi/lib/modern_treasury/models/transaction_create_params.rbi +80 -100
- data/rbi/lib/modern_treasury/models/transaction_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/transaction_direction.rbi +8 -5
- data/rbi/lib/modern_treasury/models/transaction_list_params.rbi +56 -74
- data/rbi/lib/modern_treasury/models/transaction_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/transaction_update_params.rbi +8 -8
- data/rbi/lib/modern_treasury/models/transactions/line_item_create_params.rbi +10 -21
- data/rbi/lib/modern_treasury/models/transactions/line_item_delete_params.rbi +3 -2
- data/rbi/lib/modern_treasury/models/transactions/line_item_list_params.rbi +29 -45
- data/rbi/lib/modern_treasury/models/transactions/line_item_retrieve_params.rbi +3 -2
- data/rbi/lib/modern_treasury/models/transactions/transaction_line_item.rbi +104 -113
- data/rbi/lib/modern_treasury/models/validation_validate_routing_number_params.rbi +140 -42
- data/rbi/lib/modern_treasury/models/virtual_account.rbi +39 -106
- data/rbi/lib/modern_treasury/models/virtual_account_create_params.rbi +547 -247
- data/rbi/lib/modern_treasury/models/virtual_account_delete_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/virtual_account_list_params.rbi +19 -29
- data/rbi/lib/modern_treasury/models/virtual_account_retrieve_params.rbi +5 -2
- data/rbi/lib/modern_treasury/models/virtual_account_update_params.rbi +14 -30
- data/rbi/lib/modern_treasury/models/wealth_and_employment_details.rbi +288 -241
- data/rbi/lib/modern_treasury/page.rbi +6 -24
- data/rbi/lib/modern_treasury/pooled_net_requester.rbi +42 -39
- data/rbi/lib/modern_treasury/request_options.rbi +33 -54
- data/rbi/lib/modern_treasury/resources/account_collection_flows.rbi +32 -11
- data/rbi/lib/modern_treasury/resources/account_details.rbi +54 -15
- data/rbi/lib/modern_treasury/resources/bulk_requests.rbi +38 -12
- data/rbi/lib/modern_treasury/resources/bulk_results.rbi +22 -8
- data/rbi/lib/modern_treasury/resources/connection_legal_entities.rbi +37 -12
- data/rbi/lib/modern_treasury/resources/connections.rbi +13 -4
- data/rbi/lib/modern_treasury/resources/counterparties.rbi +78 -17
- data/rbi/lib/modern_treasury/resources/documents.rbi +28 -9
- data/rbi/lib/modern_treasury/resources/events.rbi +13 -5
- data/rbi/lib/modern_treasury/resources/expected_payments.rbi +113 -23
- data/rbi/lib/modern_treasury/resources/external_accounts.rbi +83 -26
- data/rbi/lib/modern_treasury/resources/foreign_exchange_quotes.rbi +32 -8
- data/rbi/lib/modern_treasury/resources/incoming_payment_details.rbi +53 -14
- data/rbi/lib/modern_treasury/resources/internal_accounts/balance_reports.rbi +40 -11
- data/rbi/lib/modern_treasury/resources/internal_accounts.rbi +47 -14
- data/rbi/lib/modern_treasury/resources/invoices/line_items.rbi +64 -10
- data/rbi/lib/modern_treasury/resources/invoices.rbi +173 -28
- data/rbi/lib/modern_treasury/resources/ledger_account_balance_monitors.rbi +54 -12
- data/rbi/lib/modern_treasury/resources/ledger_account_categories.rbi +101 -21
- data/rbi/lib/modern_treasury/resources/ledger_account_settlements/account_entries.rbi +22 -6
- data/rbi/lib/modern_treasury/resources/ledger_account_settlements.rbi +59 -12
- data/rbi/lib/modern_treasury/resources/ledger_account_statements.rbi +20 -5
- data/rbi/lib/modern_treasury/resources/ledger_accounts.rbi +93 -17
- data/rbi/lib/modern_treasury/resources/ledger_entries.rbi +61 -10
- data/rbi/lib/modern_treasury/resources/ledger_event_handlers.rbi +41 -11
- data/rbi/lib/modern_treasury/resources/ledger_transactions/versions.rbi +13 -3
- data/rbi/lib/modern_treasury/resources/ledger_transactions.rbi +113 -23
- data/rbi/lib/modern_treasury/resources/ledgerable_events.rbi +23 -6
- data/rbi/lib/modern_treasury/resources/ledgers.rbi +60 -12
- data/rbi/lib/modern_treasury/resources/legal_entities.rbi +83 -24
- data/rbi/lib/modern_treasury/resources/legal_entity_associations.rbi +15 -5
- data/rbi/lib/modern_treasury/resources/line_items.rbi +43 -11
- data/rbi/lib/modern_treasury/resources/paper_items.rbi +15 -5
- data/rbi/lib/modern_treasury/resources/payment_flows.rbi +36 -10
- data/rbi/lib/modern_treasury/resources/payment_orders/reversals.rbi +43 -10
- data/rbi/lib/modern_treasury/resources/payment_orders.rbi +336 -50
- data/rbi/lib/modern_treasury/resources/payment_references.rbi +17 -16
- data/rbi/lib/modern_treasury/resources/returns.rbi +33 -9
- data/rbi/lib/modern_treasury/resources/routing_details.rbi +51 -15
- data/rbi/lib/modern_treasury/resources/transactions/line_items.rbi +31 -10
- data/rbi/lib/modern_treasury/resources/transactions.rbi +63 -13
- data/rbi/lib/modern_treasury/resources/validations.rbi +16 -5
- data/rbi/lib/modern_treasury/resources/virtual_accounts.rbi +47 -12
- data/rbi/lib/modern_treasury/util.rbi +238 -92
- data/rbi/lib/modern_treasury/version.rbi +1 -1
- data/sig/modern_treasury/base_client.rbs +31 -23
- data/sig/modern_treasury/base_model.rbs +36 -20
- data/sig/modern_treasury/base_page.rbs +1 -1
- data/sig/modern_treasury/client.rbs +12 -8
- data/sig/modern_treasury/errors.rbs +22 -21
- data/sig/modern_treasury/models/account_collection_flow.rbs +25 -24
- data/sig/modern_treasury/models/account_collection_flow_create_params.rbs +10 -13
- data/sig/modern_treasury/models/account_collection_flow_list_params.rbs +9 -14
- data/sig/modern_treasury/models/account_collection_flow_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/account_collection_flow_update_params.rbs +8 -11
- data/sig/modern_treasury/models/account_detail.rbs +15 -18
- data/sig/modern_treasury/models/account_detail_create_params.rbs +14 -15
- data/sig/modern_treasury/models/account_detail_delete_params.rbs +9 -12
- data/sig/modern_treasury/models/account_detail_list_params.rbs +6 -11
- data/sig/modern_treasury/models/account_detail_retrieve_params.rbs +5 -10
- data/sig/modern_treasury/models/accounts_type.rbs +4 -2
- data/sig/modern_treasury/models/async_response.rbs +1 -6
- data/sig/modern_treasury/models/bank_settings.rbs +12 -17
- data/sig/modern_treasury/models/bulk_request.rbs +26 -24
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +492 -578
- data/sig/modern_treasury/models/bulk_request_list_params.rbs +21 -20
- data/sig/modern_treasury/models/bulk_request_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/bulk_result.rbs +43 -45
- data/sig/modern_treasury/models/bulk_result_list_params.rbs +22 -21
- data/sig/modern_treasury/models/bulk_result_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/client_ping_params.rbs +1 -6
- data/sig/modern_treasury/models/connection.rbs +11 -15
- data/sig/modern_treasury/models/connection_legal_entity.rbs +16 -19
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +138 -166
- data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +12 -15
- data/sig/modern_treasury/models/connection_legal_entity_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/connection_legal_entity_update_params.rbs +8 -11
- data/sig/modern_treasury/models/connection_list_params.rbs +7 -12
- data/sig/modern_treasury/models/counterparty.rbs +78 -87
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +11 -14
- data/sig/modern_treasury/models/counterparty_collect_account_response.rbs +1 -6
- data/sig/modern_treasury/models/counterparty_create_params.rbs +232 -277
- data/sig/modern_treasury/models/counterparty_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/counterparty_list_params.rbs +11 -16
- data/sig/modern_treasury/models/counterparty_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/counterparty_update_params.rbs +9 -14
- data/sig/modern_treasury/models/currency.rbs +4 -2
- data/sig/modern_treasury/models/document.rbs +33 -41
- data/sig/modern_treasury/models/document_create_params.rbs +11 -14
- data/sig/modern_treasury/models/document_list_params.rbs +11 -14
- data/sig/modern_treasury/models/document_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/event.rbs +12 -16
- data/sig/modern_treasury/models/event_list_params.rbs +10 -15
- data/sig/modern_treasury/models/event_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/expected_payment.rbs +40 -39
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +62 -76
- data/sig/modern_treasury/models/expected_payment_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +21 -22
- data/sig/modern_treasury/models/expected_payment_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/expected_payment_type.rbs +4 -2
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +28 -29
- data/sig/modern_treasury/models/external_account.rbs +60 -67
- data/sig/modern_treasury/models/external_account_complete_verification_params.rbs +4 -9
- data/sig/modern_treasury/models/external_account_create_params.rbs +73 -91
- data/sig/modern_treasury/models/external_account_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/external_account_list_params.rbs +8 -13
- data/sig/modern_treasury/models/external_account_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/external_account_type.rbs +4 -2
- data/sig/modern_treasury/models/external_account_update_params.rbs +22 -30
- data/sig/modern_treasury/models/external_account_verify_params.rbs +20 -19
- data/sig/modern_treasury/models/external_account_verify_response.rbs +28 -25
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +23 -33
- data/sig/modern_treasury/models/foreign_exchange_quote_create_params.rbs +9 -14
- data/sig/modern_treasury/models/foreign_exchange_quote_list_params.rbs +12 -17
- data/sig/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +43 -40
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +19 -20
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +20 -21
- data/sig/modern_treasury/models/incoming_payment_detail_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/incoming_payment_detail_update_params.rbs +4 -9
- data/sig/modern_treasury/models/internal_account.rbs +42 -48
- data/sig/modern_treasury/models/internal_account_create_params.rbs +24 -32
- data/sig/modern_treasury/models/internal_account_list_params.rbs +15 -18
- data/sig/modern_treasury/models/internal_account_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/internal_account_update_params.rbs +8 -13
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +39 -45
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +21 -27
- data/sig/modern_treasury/models/internal_accounts/balance_report_delete_params.rbs +4 -9
- data/sig/modern_treasury/models/internal_accounts/balance_report_list_params.rbs +11 -14
- data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +4 -9
- data/sig/modern_treasury/models/invoice.rbs +89 -105
- data/sig/modern_treasury/models/invoice_add_payment_order_params.rbs +4 -6
- data/sig/modern_treasury/models/invoice_create_params.rbs +79 -105
- data/sig/modern_treasury/models/invoice_list_params.rbs +18 -21
- data/sig/modern_treasury/models/invoice_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/invoice_update_params.rbs +79 -105
- data/sig/modern_treasury/models/invoices/invoice_line_item.rbs +15 -21
- data/sig/modern_treasury/models/invoices/line_item_create_params.rbs +10 -15
- data/sig/modern_treasury/models/invoices/line_item_delete_params.rbs +4 -9
- data/sig/modern_treasury/models/invoices/line_item_list_params.rbs +5 -10
- data/sig/modern_treasury/models/invoices/line_item_retrieve_params.rbs +4 -9
- data/sig/modern_treasury/models/invoices/line_item_update_params.rbs +11 -16
- data/sig/modern_treasury/models/ledger.rbs +11 -15
- data/sig/modern_treasury/models/ledger_account.rbs +49 -72
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +49 -80
- data/sig/modern_treasury/models/ledger_account_balance_monitor_create_params.rbs +12 -18
- data/sig/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_account_balance_monitor_list_params.rbs +8 -13
- data/sig/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_account_balance_monitor_update_params.rbs +5 -10
- data/sig/modern_treasury/models/ledger_account_category.rbs +40 -65
- data/sig/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbs +4 -6
- data/sig/modern_treasury/models/ledger_account_category_add_nested_category_params.rbs +4 -6
- data/sig/modern_treasury/models/ledger_account_category_create_params.rbs +11 -16
- data/sig/modern_treasury/models/ledger_account_category_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +14 -24
- data/sig/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbs +4 -6
- data/sig/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbs +4 -6
- data/sig/modern_treasury/models/ledger_account_category_retrieve_params.rbs +5 -15
- data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +6 -11
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +17 -20
- data/sig/modern_treasury/models/ledger_account_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_account_list_params.rbs +47 -72
- data/sig/modern_treasury/models/ledger_account_retrieve_params.rbs +11 -21
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +23 -26
- data/sig/modern_treasury/models/ledger_account_settlement_create_params.rbs +15 -18
- data/sig/modern_treasury/models/ledger_account_settlement_list_params.rbs +13 -18
- data/sig/modern_treasury/models/ledger_account_settlement_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +10 -13
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbs +4 -9
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbs +4 -9
- data/sig/modern_treasury/models/ledger_account_statement_create_params.rbs +8 -13
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +69 -114
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +69 -114
- data/sig/modern_treasury/models/ledger_account_update_params.rbs +6 -11
- data/sig/modern_treasury/models/ledger_create_params.rbs +6 -11
- data/sig/modern_treasury/models/ledger_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_entry.rbs +48 -70
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +39 -43
- data/sig/modern_treasury/models/ledger_entry_retrieve_params.rbs +4 -9
- data/sig/modern_treasury/models/ledger_entry_update_params.rbs +4 -9
- data/sig/modern_treasury/models/ledger_event_handler.rbs +27 -47
- data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +22 -42
- data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +8 -13
- data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +5 -15
- data/sig/modern_treasury/models/ledger_list_params.rbs +8 -13
- data/sig/modern_treasury/models/ledger_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_transaction.rbs +29 -30
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +31 -37
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +17 -25
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +18 -19
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +42 -44
- data/sig/modern_treasury/models/ledger_transaction_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +29 -35
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +76 -101
- data/sig/modern_treasury/models/ledger_transactions/version_list_params.rbs +9 -14
- data/sig/modern_treasury/models/ledger_update_params.rbs +6 -11
- data/sig/modern_treasury/models/ledgerable_event.rbs +12 -17
- data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +7 -12
- data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/legal_entity.rbs +78 -87
- data/sig/modern_treasury/models/legal_entity_association.rbs +94 -107
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +73 -86
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +133 -156
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +12 -15
- data/sig/modern_treasury/models/legal_entity_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +56 -68
- data/sig/modern_treasury/models/line_item.rbs +20 -27
- data/sig/modern_treasury/models/line_item_list_params.rbs +10 -13
- data/sig/modern_treasury/models/line_item_retrieve_params.rbs +9 -12
- data/sig/modern_treasury/models/line_item_update_params.rbs +10 -13
- data/sig/modern_treasury/models/paper_item.rbs +24 -26
- data/sig/modern_treasury/models/paper_item_list_params.rbs +8 -13
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/payment_flow.rbs +37 -33
- data/sig/modern_treasury/models/payment_flow_create_params.rbs +13 -16
- data/sig/modern_treasury/models/payment_flow_list_params.rbs +11 -16
- data/sig/modern_treasury/models/payment_flow_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/payment_flow_update_params.rbs +8 -11
- data/sig/modern_treasury/models/payment_order.rbs +107 -109
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +166 -195
- data/sig/modern_treasury/models/payment_order_create_params.rbs +177 -209
- data/sig/modern_treasury/models/payment_order_list_params.rbs +32 -31
- data/sig/modern_treasury/models/payment_order_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/payment_order_subtype.rbs +4 -2
- data/sig/modern_treasury/models/payment_order_type.rbs +4 -2
- data/sig/modern_treasury/models/payment_order_update_params.rbs +139 -160
- data/sig/modern_treasury/models/payment_orders/reversal.rbs +21 -22
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +40 -49
- data/sig/modern_treasury/models/payment_orders/reversal_list_params.rbs +5 -10
- data/sig/modern_treasury/models/payment_orders/reversal_retrieve_params.rbs +4 -9
- data/sig/modern_treasury/models/payment_reference.rbs +19 -20
- data/sig/modern_treasury/models/payment_reference_list_params.rbs +12 -15
- data/sig/modern_treasury/models/payment_reference_retireve_params.rbs +1 -6
- data/sig/modern_treasury/models/payment_reference_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/ping_response.rbs +1 -6
- data/sig/modern_treasury/models/reconciliation_rule.rbs +20 -21
- data/sig/modern_treasury/models/return_create_params.rbs +17 -18
- data/sig/modern_treasury/models/return_list_params.rbs +13 -16
- data/sig/modern_treasury/models/return_object.rbs +58 -56
- data/sig/modern_treasury/models/return_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/routing_detail.rbs +34 -40
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +19 -18
- data/sig/modern_treasury/models/routing_detail_delete_params.rbs +9 -12
- data/sig/modern_treasury/models/routing_detail_list_params.rbs +6 -11
- data/sig/modern_treasury/models/routing_detail_retrieve_params.rbs +5 -10
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +24 -30
- data/sig/modern_treasury/models/transaction.rbs +46 -51
- data/sig/modern_treasury/models/transaction_create_params.rbs +17 -20
- data/sig/modern_treasury/models/transaction_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/transaction_direction.rbs +4 -2
- data/sig/modern_treasury/models/transaction_list_params.rbs +17 -22
- data/sig/modern_treasury/models/transaction_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/transaction_update_params.rbs +4 -9
- data/sig/modern_treasury/models/transactions/line_item_create_params.rbs +6 -11
- data/sig/modern_treasury/models/transactions/line_item_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/transactions/line_item_list_params.rbs +12 -15
- data/sig/modern_treasury/models/transactions/line_item_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +25 -27
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +9 -12
- data/sig/modern_treasury/models/virtual_account.rbs +18 -23
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +50 -62
- data/sig/modern_treasury/models/virtual_account_delete_params.rbs +1 -6
- data/sig/modern_treasury/models/virtual_account_list_params.rbs +8 -13
- data/sig/modern_treasury/models/virtual_account_retrieve_params.rbs +1 -6
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +7 -12
- data/sig/modern_treasury/models/wealth_and_employment_details.rbs +44 -37
- data/sig/modern_treasury/page.rbs +2 -7
- data/sig/modern_treasury/pooled_net_requester.rbs +11 -16
- data/sig/modern_treasury/request_options.rbs +6 -2
- data/sig/modern_treasury/resources/account_collection_flows.rbs +24 -46
- data/sig/modern_treasury/resources/account_details.rbs +26 -50
- data/sig/modern_treasury/resources/bulk_requests.rbs +20 -36
- data/sig/modern_treasury/resources/bulk_results.rbs +14 -25
- data/sig/modern_treasury/resources/connection_legal_entities.rbs +23 -45
- data/sig/modern_treasury/resources/connections.rbs +7 -12
- data/sig/modern_treasury/resources/counterparties.rbs +51 -82
- data/sig/modern_treasury/resources/documents.rbs +18 -34
- data/sig/modern_treasury/resources/events.rbs +14 -24
- data/sig/modern_treasury/resources/expected_payments.rbs +64 -92
- data/sig/modern_treasury/resources/external_accounts.rbs +57 -94
- data/sig/modern_treasury/resources/foreign_exchange_quotes.rbs +25 -41
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +32 -54
- data/sig/modern_treasury/resources/internal_accounts/balance_reports.rbs +26 -50
- data/sig/modern_treasury/resources/internal_accounts.rbs +36 -58
- data/sig/modern_treasury/resources/invoices/line_items.rbs +39 -69
- data/sig/modern_treasury/resources/invoices.rbs +80 -108
- data/sig/modern_treasury/resources/ledger_account_balance_monitors.rbs +29 -57
- data/sig/modern_treasury/resources/ledger_account_categories.rbs +60 -112
- data/sig/modern_treasury/resources/ledger_account_settlements/account_entries.rbs +10 -22
- data/sig/modern_treasury/resources/ledger_account_settlements.rbs +35 -57
- data/sig/modern_treasury/resources/ledger_account_statements.rbs +12 -23
- data/sig/modern_treasury/resources/ledger_accounts.rbs +46 -74
- data/sig/modern_treasury/resources/ledger_entries.rbs +33 -50
- data/sig/modern_treasury/resources/ledger_event_handlers.rbs +26 -48
- data/sig/modern_treasury/resources/ledger_transactions/versions.rbs +9 -14
- data/sig/modern_treasury/resources/ledger_transactions.rbs +68 -102
- data/sig/modern_treasury/resources/ledgerable_events.rbs +11 -22
- data/sig/modern_treasury/resources/ledgers.rbs +29 -56
- data/sig/modern_treasury/resources/legal_entities.rbs +65 -87
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +9 -14
- data/sig/modern_treasury/resources/line_items.rbs +20 -38
- data/sig/modern_treasury/resources/paper_items.rbs +12 -23
- data/sig/modern_treasury/resources/payment_flows.rbs +29 -51
- data/sig/modern_treasury/resources/payment_orders/reversals.rbs +18 -36
- data/sig/modern_treasury/resources/payment_orders.rbs +139 -166
- data/sig/modern_treasury/resources/payment_references.rbs +13 -33
- data/sig/modern_treasury/resources/returns.rbs +22 -37
- data/sig/modern_treasury/resources/routing_details.rbs +27 -51
- data/sig/modern_treasury/resources/transactions/line_items.rbs +22 -41
- data/sig/modern_treasury/resources/transactions.rbs +43 -68
- data/sig/modern_treasury/resources/validations.rbs +5 -10
- data/sig/modern_treasury/resources/virtual_accounts.rbs +37 -65
- data/sig/modern_treasury/util.rbs +71 -26
- metadata +4 -4
@@ -4,15 +4,10 @@ module ModernTreasury
|
|
4
4
|
module Models
|
5
5
|
class PingResponse < ModernTreasury::BaseModel
|
6
6
|
sig { returns(String) }
|
7
|
-
|
8
|
-
end
|
9
|
-
|
10
|
-
sig { params(_: String).returns(String) }
|
11
|
-
def ping=(_)
|
12
|
-
end
|
7
|
+
attr_accessor :ping
|
13
8
|
|
14
|
-
sig { params(ping: String).
|
15
|
-
def
|
9
|
+
sig { params(ping: String).returns(T.attached_class) }
|
10
|
+
def self.new(ping:)
|
16
11
|
end
|
17
12
|
|
18
13
|
sig { override.returns({ping: String}) }
|
@@ -3,102 +3,69 @@
|
|
3
3
|
module ModernTreasury
|
4
4
|
module Models
|
5
5
|
class ReconciliationRule < ModernTreasury::BaseModel
|
6
|
+
# The lowest amount this expected payment may be equal to. Value in specified
|
7
|
+
# currency's smallest unit. e.g. $10 would be represented as 1000.
|
6
8
|
sig { returns(Integer) }
|
7
|
-
|
8
|
-
end
|
9
|
-
|
10
|
-
sig { params(_: Integer).returns(Integer) }
|
11
|
-
def amount_lower_bound=(_)
|
12
|
-
end
|
9
|
+
attr_accessor :amount_lower_bound
|
13
10
|
|
11
|
+
# The highest amount this expected payment may be equal to. Value in specified
|
12
|
+
# currency's smallest unit. e.g. $10 would be represented as 1000.
|
14
13
|
sig { returns(Integer) }
|
15
|
-
|
16
|
-
end
|
14
|
+
attr_accessor :amount_upper_bound
|
17
15
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
sig { returns(Symbol) }
|
23
|
-
def direction
|
24
|
-
end
|
25
|
-
|
26
|
-
sig { params(_: Symbol).returns(Symbol) }
|
27
|
-
def direction=(_)
|
28
|
-
end
|
16
|
+
# One of credit or debit. When you are receiving money, use credit. When you are
|
17
|
+
# being charged, use debit.
|
18
|
+
sig { returns(ModernTreasury::Models::ReconciliationRule::Direction::OrSymbol) }
|
19
|
+
attr_accessor :direction
|
29
20
|
|
21
|
+
# The ID of the Internal Account for the expected payment
|
30
22
|
sig { returns(String) }
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
sig { params(_: String).returns(String) }
|
35
|
-
def internal_account_id=(_)
|
36
|
-
end
|
23
|
+
attr_accessor :internal_account_id
|
37
24
|
|
25
|
+
# The ID of the counterparty you expect for this payment
|
38
26
|
sig { returns(T.nilable(String)) }
|
39
|
-
|
40
|
-
end
|
41
|
-
|
42
|
-
sig { params(_: T.nilable(String)).returns(T.nilable(String)) }
|
43
|
-
def counterparty_id=(_)
|
44
|
-
end
|
27
|
+
attr_accessor :counterparty_id
|
45
28
|
|
46
|
-
|
47
|
-
|
48
|
-
|
29
|
+
# Must conform to ISO 4217. Defaults to the currency of the internal account
|
30
|
+
sig { returns(T.nilable(ModernTreasury::Models::Currency::OrSymbol)) }
|
31
|
+
attr_reader :currency
|
49
32
|
|
50
|
-
sig { params(
|
51
|
-
|
52
|
-
end
|
33
|
+
sig { params(currency: ModernTreasury::Models::Currency::OrSymbol).void }
|
34
|
+
attr_writer :currency
|
53
35
|
|
36
|
+
# A hash of custom identifiers for this payment
|
54
37
|
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
55
|
-
|
56
|
-
end
|
57
|
-
|
58
|
-
sig { params(_: T.nilable(T::Hash[Symbol, String])).returns(T.nilable(T::Hash[Symbol, String])) }
|
59
|
-
def custom_identifiers=(_)
|
60
|
-
end
|
38
|
+
attr_accessor :custom_identifiers
|
61
39
|
|
40
|
+
# The earliest date the payment may come in. Format is yyyy-mm-dd
|
62
41
|
sig { returns(T.nilable(Date)) }
|
63
|
-
|
64
|
-
end
|
65
|
-
|
66
|
-
sig { params(_: T.nilable(Date)).returns(T.nilable(Date)) }
|
67
|
-
def date_lower_bound=(_)
|
68
|
-
end
|
42
|
+
attr_accessor :date_lower_bound
|
69
43
|
|
44
|
+
# The latest date the payment may come in. Format is yyyy-mm-dd
|
70
45
|
sig { returns(T.nilable(Date)) }
|
71
|
-
|
72
|
-
end
|
73
|
-
|
74
|
-
sig { params(_: T.nilable(Date)).returns(T.nilable(Date)) }
|
75
|
-
def date_upper_bound=(_)
|
76
|
-
end
|
46
|
+
attr_accessor :date_upper_bound
|
77
47
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
sig { params(_: T.nilable(Symbol)).returns(T.nilable(Symbol)) }
|
83
|
-
def type=(_)
|
84
|
-
end
|
48
|
+
# One of ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
|
49
|
+
# sepa, signet wire
|
50
|
+
sig { returns(T.nilable(ModernTreasury::Models::ReconciliationRule::Type::OrSymbol)) }
|
51
|
+
attr_accessor :type
|
85
52
|
|
86
53
|
sig do
|
87
54
|
params(
|
88
55
|
amount_lower_bound: Integer,
|
89
56
|
amount_upper_bound: Integer,
|
90
|
-
direction:
|
57
|
+
direction: ModernTreasury::Models::ReconciliationRule::Direction::OrSymbol,
|
91
58
|
internal_account_id: String,
|
92
59
|
counterparty_id: T.nilable(String),
|
93
|
-
currency:
|
60
|
+
currency: ModernTreasury::Models::Currency::OrSymbol,
|
94
61
|
custom_identifiers: T.nilable(T::Hash[Symbol, String]),
|
95
62
|
date_lower_bound: T.nilable(Date),
|
96
63
|
date_upper_bound: T.nilable(Date),
|
97
|
-
type: T.nilable(
|
64
|
+
type: T.nilable(ModernTreasury::Models::ReconciliationRule::Type::OrSymbol)
|
98
65
|
)
|
99
|
-
.
|
66
|
+
.returns(T.attached_class)
|
100
67
|
end
|
101
|
-
def
|
68
|
+
def self.new(
|
102
69
|
amount_lower_bound:,
|
103
70
|
amount_upper_bound:,
|
104
71
|
direction:,
|
@@ -118,66 +85,77 @@ module ModernTreasury
|
|
118
85
|
{
|
119
86
|
amount_lower_bound: Integer,
|
120
87
|
amount_upper_bound: Integer,
|
121
|
-
direction:
|
88
|
+
direction: ModernTreasury::Models::ReconciliationRule::Direction::OrSymbol,
|
122
89
|
internal_account_id: String,
|
123
90
|
counterparty_id: T.nilable(String),
|
124
|
-
currency:
|
91
|
+
currency: ModernTreasury::Models::Currency::OrSymbol,
|
125
92
|
custom_identifiers: T.nilable(T::Hash[Symbol, String]),
|
126
93
|
date_lower_bound: T.nilable(Date),
|
127
94
|
date_upper_bound: T.nilable(Date),
|
128
|
-
type: T.nilable(
|
95
|
+
type: T.nilable(ModernTreasury::Models::ReconciliationRule::Type::OrSymbol)
|
129
96
|
}
|
130
97
|
)
|
131
98
|
end
|
132
99
|
def to_hash
|
133
100
|
end
|
134
101
|
|
135
|
-
|
136
|
-
|
102
|
+
# One of credit or debit. When you are receiving money, use credit. When you are
|
103
|
+
# being charged, use debit.
|
104
|
+
module Direction
|
105
|
+
extend ModernTreasury::Enum
|
106
|
+
|
107
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, ModernTreasury::Models::ReconciliationRule::Direction) }
|
108
|
+
OrSymbol =
|
109
|
+
T.type_alias { T.any(Symbol, ModernTreasury::Models::ReconciliationRule::Direction::TaggedSymbol) }
|
137
110
|
|
138
|
-
CREDIT = :credit
|
139
|
-
DEBIT = :debit
|
111
|
+
CREDIT = T.let(:credit, ModernTreasury::Models::ReconciliationRule::Direction::TaggedSymbol)
|
112
|
+
DEBIT = T.let(:debit, ModernTreasury::Models::ReconciliationRule::Direction::TaggedSymbol)
|
140
113
|
|
141
|
-
sig { override.returns(T::Array[
|
114
|
+
sig { override.returns(T::Array[ModernTreasury::Models::ReconciliationRule::Direction::TaggedSymbol]) }
|
142
115
|
def self.values
|
143
116
|
end
|
144
117
|
end
|
145
118
|
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
119
|
+
# One of ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
|
120
|
+
# sepa, signet wire
|
121
|
+
module Type
|
122
|
+
extend ModernTreasury::Enum
|
123
|
+
|
124
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, ModernTreasury::Models::ReconciliationRule::Type) }
|
125
|
+
OrSymbol = T.type_alias { T.any(Symbol, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol) }
|
126
|
+
|
127
|
+
ACH = T.let(:ach, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
128
|
+
AU_BECS = T.let(:au_becs, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
129
|
+
BACS = T.let(:bacs, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
130
|
+
BOOK = T.let(:book, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
131
|
+
CARD = T.let(:card, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
132
|
+
CHATS = T.let(:chats, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
133
|
+
CHECK = T.let(:check, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
134
|
+
CROSS_BORDER = T.let(:cross_border, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
135
|
+
DK_NETS = T.let(:dk_nets, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
136
|
+
EFT = T.let(:eft, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
137
|
+
HU_ICS = T.let(:hu_ics, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
138
|
+
INTERAC = T.let(:interac, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
139
|
+
MASAV = T.let(:masav, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
140
|
+
MX_CCEN = T.let(:mx_ccen, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
141
|
+
NEFT = T.let(:neft, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
142
|
+
NICS = T.let(:nics, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
143
|
+
NZ_BECS = T.let(:nz_becs, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
144
|
+
PL_ELIXIR = T.let(:pl_elixir, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
145
|
+
PROVXCHANGE = T.let(:provxchange, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
146
|
+
RO_SENT = T.let(:ro_sent, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
147
|
+
RTP = T.let(:rtp, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
148
|
+
SE_BANKGIROT = T.let(:se_bankgirot, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
149
|
+
SEN = T.let(:sen, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
150
|
+
SEPA = T.let(:sepa, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
151
|
+
SG_GIRO = T.let(:sg_giro, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
152
|
+
SIC = T.let(:sic, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
153
|
+
SIGNET = T.let(:signet, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
154
|
+
SKNBI = T.let(:sknbi, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
155
|
+
WIRE = T.let(:wire, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
156
|
+
ZENGIN = T.let(:zengin, ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol)
|
157
|
+
|
158
|
+
sig { override.returns(T::Array[ModernTreasury::Models::ReconciliationRule::Type::TaggedSymbol]) }
|
181
159
|
def self.values
|
182
160
|
end
|
183
161
|
end
|
@@ -6,67 +6,47 @@ module ModernTreasury
|
|
6
6
|
extend ModernTreasury::RequestParameters::Converter
|
7
7
|
include ModernTreasury::RequestParameters
|
8
8
|
|
9
|
+
# The ID of the object being returned or `null`.
|
9
10
|
sig { returns(T.nilable(String)) }
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
sig { params(_: T.nilable(String)).returns(T.nilable(String)) }
|
14
|
-
def returnable_id=(_)
|
15
|
-
end
|
16
|
-
|
17
|
-
sig { returns(Symbol) }
|
18
|
-
def returnable_type
|
19
|
-
end
|
11
|
+
attr_accessor :returnable_id
|
20
12
|
|
21
|
-
|
22
|
-
|
23
|
-
|
13
|
+
# The type of object being returned. Currently, this may only be
|
14
|
+
# incoming_payment_detail.
|
15
|
+
sig { returns(ModernTreasury::Models::ReturnCreateParams::ReturnableType::OrSymbol) }
|
16
|
+
attr_accessor :returnable_type
|
24
17
|
|
18
|
+
# Some returns may include additional information from the bank. In these cases,
|
19
|
+
# this string will be present.
|
25
20
|
sig { returns(T.nilable(String)) }
|
26
|
-
|
27
|
-
end
|
21
|
+
attr_accessor :additional_information
|
28
22
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
sig { returns(T.nilable(Symbol)) }
|
34
|
-
def code
|
35
|
-
end
|
36
|
-
|
37
|
-
sig { params(_: T.nilable(Symbol)).returns(T.nilable(Symbol)) }
|
38
|
-
def code=(_)
|
39
|
-
end
|
23
|
+
# The return code. For ACH returns, this is the required ACH return code.
|
24
|
+
sig { returns(T.nilable(ModernTreasury::Models::ReturnCreateParams::Code::OrSymbol)) }
|
25
|
+
attr_accessor :code
|
40
26
|
|
27
|
+
# If the return code is `R14` or `R15` this is the date the deceased counterparty
|
28
|
+
# passed away.
|
41
29
|
sig { returns(T.nilable(Date)) }
|
42
|
-
|
43
|
-
end
|
44
|
-
|
45
|
-
sig { params(_: T.nilable(Date)).returns(T.nilable(Date)) }
|
46
|
-
def date_of_death=(_)
|
47
|
-
end
|
30
|
+
attr_accessor :date_of_death
|
48
31
|
|
32
|
+
# An optional description of the reason for the return. This is for internal usage
|
33
|
+
# and will not be transmitted to the bank.”
|
49
34
|
sig { returns(T.nilable(String)) }
|
50
|
-
|
51
|
-
end
|
52
|
-
|
53
|
-
sig { params(_: T.nilable(String)).returns(T.nilable(String)) }
|
54
|
-
def reason=(_)
|
55
|
-
end
|
35
|
+
attr_accessor :reason
|
56
36
|
|
57
37
|
sig do
|
58
38
|
params(
|
59
39
|
returnable_id: T.nilable(String),
|
60
|
-
returnable_type:
|
40
|
+
returnable_type: ModernTreasury::Models::ReturnCreateParams::ReturnableType::OrSymbol,
|
61
41
|
additional_information: T.nilable(String),
|
62
|
-
code: T.nilable(
|
42
|
+
code: T.nilable(ModernTreasury::Models::ReturnCreateParams::Code::OrSymbol),
|
63
43
|
date_of_death: T.nilable(Date),
|
64
44
|
reason: T.nilable(String),
|
65
|
-
request_options: T.any(ModernTreasury::RequestOptions,
|
45
|
+
request_options: T.any(ModernTreasury::RequestOptions, ModernTreasury::Util::AnyHash)
|
66
46
|
)
|
67
|
-
.
|
47
|
+
.returns(T.attached_class)
|
68
48
|
end
|
69
|
-
def
|
49
|
+
def self.new(
|
70
50
|
returnable_id:,
|
71
51
|
returnable_type:,
|
72
52
|
additional_information: nil,
|
@@ -82,9 +62,9 @@ module ModernTreasury
|
|
82
62
|
.returns(
|
83
63
|
{
|
84
64
|
returnable_id: T.nilable(String),
|
85
|
-
returnable_type:
|
65
|
+
returnable_type: ModernTreasury::Models::ReturnCreateParams::ReturnableType::OrSymbol,
|
86
66
|
additional_information: T.nilable(String),
|
87
|
-
code: T.nilable(
|
67
|
+
code: T.nilable(ModernTreasury::Models::ReturnCreateParams::Code::OrSymbol),
|
88
68
|
date_of_death: T.nilable(Date),
|
89
69
|
reason: T.nilable(String),
|
90
70
|
request_options: ModernTreasury::RequestOptions
|
@@ -94,74 +74,85 @@ module ModernTreasury
|
|
94
74
|
def to_hash
|
95
75
|
end
|
96
76
|
|
97
|
-
|
98
|
-
|
77
|
+
# The type of object being returned. Currently, this may only be
|
78
|
+
# incoming_payment_detail.
|
79
|
+
module ReturnableType
|
80
|
+
extend ModernTreasury::Enum
|
81
|
+
|
82
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, ModernTreasury::Models::ReturnCreateParams::ReturnableType) }
|
83
|
+
OrSymbol =
|
84
|
+
T.type_alias { T.any(Symbol, ModernTreasury::Models::ReturnCreateParams::ReturnableType::TaggedSymbol) }
|
99
85
|
|
100
|
-
INCOMING_PAYMENT_DETAIL =
|
86
|
+
INCOMING_PAYMENT_DETAIL =
|
87
|
+
T.let(:incoming_payment_detail, ModernTreasury::Models::ReturnCreateParams::ReturnableType::TaggedSymbol)
|
101
88
|
|
102
|
-
sig { override.returns(T::Array[
|
89
|
+
sig { override.returns(T::Array[ModernTreasury::Models::ReturnCreateParams::ReturnableType::TaggedSymbol]) }
|
103
90
|
def self.values
|
104
91
|
end
|
105
92
|
end
|
106
93
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
94
|
+
# The return code. For ACH returns, this is the required ACH return code.
|
95
|
+
module Code
|
96
|
+
extend ModernTreasury::Enum
|
97
|
+
|
98
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, ModernTreasury::Models::ReturnCreateParams::Code) }
|
99
|
+
OrSymbol = T.type_alias { T.any(Symbol, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol) }
|
100
|
+
|
101
|
+
NUMBER_901 = T.let(:"901", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
102
|
+
NUMBER_902 = T.let(:"902", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
103
|
+
NUMBER_903 = T.let(:"903", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
104
|
+
NUMBER_904 = T.let(:"904", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
105
|
+
NUMBER_905 = T.let(:"905", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
106
|
+
NUMBER_907 = T.let(:"907", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
107
|
+
NUMBER_908 = T.let(:"908", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
108
|
+
NUMBER_909 = T.let(:"909", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
109
|
+
NUMBER_910 = T.let(:"910", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
110
|
+
NUMBER_911 = T.let(:"911", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
111
|
+
NUMBER_912 = T.let(:"912", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
112
|
+
NUMBER_914 = T.let(:"914", ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
113
|
+
C01 = T.let(:C01, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
114
|
+
C02 = T.let(:C02, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
115
|
+
C03 = T.let(:C03, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
116
|
+
C05 = T.let(:C05, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
117
|
+
C06 = T.let(:C06, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
118
|
+
C07 = T.let(:C07, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
119
|
+
C08 = T.let(:C08, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
120
|
+
C09 = T.let(:C09, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
121
|
+
C13 = T.let(:C13, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
122
|
+
C14 = T.let(:C14, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
123
|
+
R01 = T.let(:R01, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
124
|
+
R02 = T.let(:R02, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
125
|
+
R03 = T.let(:R03, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
126
|
+
R04 = T.let(:R04, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
127
|
+
R05 = T.let(:R05, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
128
|
+
R06 = T.let(:R06, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
129
|
+
R07 = T.let(:R07, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
130
|
+
R08 = T.let(:R08, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
131
|
+
R09 = T.let(:R09, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
132
|
+
R10 = T.let(:R10, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
133
|
+
R11 = T.let(:R11, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
134
|
+
R12 = T.let(:R12, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
135
|
+
R14 = T.let(:R14, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
136
|
+
R15 = T.let(:R15, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
137
|
+
R16 = T.let(:R16, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
138
|
+
R17 = T.let(:R17, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
139
|
+
R20 = T.let(:R20, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
140
|
+
R21 = T.let(:R21, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
141
|
+
R22 = T.let(:R22, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
142
|
+
R23 = T.let(:R23, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
143
|
+
R24 = T.let(:R24, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
144
|
+
R29 = T.let(:R29, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
145
|
+
R31 = T.let(:R31, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
146
|
+
R33 = T.let(:R33, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
147
|
+
R37 = T.let(:R37, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
148
|
+
R38 = T.let(:R38, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
149
|
+
R39 = T.let(:R39, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
150
|
+
R51 = T.let(:R51, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
151
|
+
R52 = T.let(:R52, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
152
|
+
R53 = T.let(:R53, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
153
|
+
CURRENCYCLOUD = T.let(:currencycloud, ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol)
|
154
|
+
|
155
|
+
sig { override.returns(T::Array[ModernTreasury::Models::ReturnCreateParams::Code::TaggedSymbol]) }
|
165
156
|
def self.values
|
166
157
|
end
|
167
158
|
end
|