modern_treasury 0.1.0.pre.alpha.21 → 0.1.0
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 +65 -0
- data/README.md +1 -1
- data/lib/modern_treasury/client.rb +0 -12
- data/lib/modern_treasury/errors.rb +22 -0
- data/lib/modern_treasury/internal/transport/base_client.rb +11 -3
- data/lib/modern_treasury/internal/type/array_of.rb +6 -1
- data/lib/modern_treasury/internal/type/base_model.rb +81 -27
- data/lib/modern_treasury/internal/type/boolean.rb +7 -1
- data/lib/modern_treasury/internal/type/converter.rb +42 -34
- data/lib/modern_treasury/internal/type/enum.rb +10 -2
- data/lib/modern_treasury/internal/type/file_input.rb +6 -1
- data/lib/modern_treasury/internal/type/hash_of.rb +6 -1
- data/lib/modern_treasury/internal/type/union.rb +12 -7
- data/lib/modern_treasury/internal/type/unknown.rb +7 -1
- data/lib/modern_treasury/models/accounting.rb +30 -0
- data/lib/modern_treasury/models/address.rb +94 -0
- data/lib/modern_treasury/models/address_request.rb +54 -0
- data/lib/modern_treasury/models/bulk_request_create_params.rb +147 -1383
- data/lib/modern_treasury/models/bulk_result.rb +5 -3
- data/lib/modern_treasury/models/child_legal_entity_create.rb +275 -0
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +10 -627
- data/lib/modern_treasury/models/contact_detail.rb +81 -0
- data/lib/modern_treasury/models/contact_detail_create_request.rb +34 -0
- data/lib/modern_treasury/models/counterparty.rb +24 -177
- data/lib/modern_treasury/models/counterparty_create_params.rb +38 -838
- data/lib/modern_treasury/models/counterparty_list_params.rb +9 -1
- data/lib/modern_treasury/models/document.rb +4 -6
- data/lib/modern_treasury/models/document_create_params.rb +0 -2
- data/lib/modern_treasury/models/document_list_params.rb +4 -6
- data/lib/modern_treasury/models/expected_payment.rb +9 -1
- data/lib/modern_treasury/models/expected_payment_create_params.rb +12 -230
- data/lib/modern_treasury/models/expected_payment_list_params.rb +8 -1
- data/lib/modern_treasury/models/expected_payment_update_params.rb +9 -1
- data/lib/modern_treasury/models/external_account.rb +15 -177
- data/lib/modern_treasury/models/external_account_create_params.rb +19 -210
- data/lib/modern_treasury/models/external_account_list_params.rb +9 -1
- data/lib/modern_treasury/models/external_account_update_params.rb +3 -52
- data/lib/modern_treasury/models/foreign_exchange_quote.rb +3 -73
- data/lib/modern_treasury/models/foreign_exchange_rate.rb +71 -0
- data/lib/modern_treasury/models/identification_create_request.rb +86 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +1 -0
- data/lib/modern_treasury/models/internal_account.rb +122 -71
- data/lib/modern_treasury/models/internal_account_create_params.rb +138 -1
- data/lib/modern_treasury/models/internal_account_update_account_capability_params.rb +34 -0
- data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +131 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rb +23 -0
- data/lib/modern_treasury/models/invoice.rb +13 -82
- data/lib/modern_treasury/models/invoice_create_params.rb +3 -83
- data/lib/modern_treasury/models/invoice_update_params.rb +3 -83
- data/lib/modern_treasury/models/ledger_account.rb +18 -142
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +3 -182
- data/lib/modern_treasury/models/ledger_account_category.rb +12 -176
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +17 -6
- data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +4 -2
- data/lib/modern_treasury/models/ledger_account_create_params.rb +2 -105
- data/lib/modern_treasury/models/ledger_account_create_request.rb +113 -0
- data/lib/modern_treasury/models/ledger_account_list_params.rb +15 -1
- data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +6 -360
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +6 -360
- data/lib/modern_treasury/models/ledger_balance.rb +45 -0
- data/lib/modern_treasury/models/ledger_balances.rb +38 -0
- data/lib/modern_treasury/models/ledger_entry.rb +3 -183
- data/lib/modern_treasury/models/ledger_entry_create_request.rb +98 -0
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +48 -8
- data/lib/modern_treasury/models/ledger_transaction.rb +14 -6
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +2 -212
- data/lib/modern_treasury/models/ledger_transaction_create_request.rb +123 -0
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +0 -1
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +44 -7
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +5 -104
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +15 -193
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +78 -0
- data/lib/modern_treasury/models/legal_entity_association.rb +1 -0
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +4 -448
- data/lib/modern_treasury/models/legal_entity_create_params.rb +10 -618
- data/lib/modern_treasury/models/legal_entity_update_params.rb +6 -165
- data/lib/modern_treasury/models/line_item.rb +3 -29
- data/lib/modern_treasury/models/payment_action_list_params.rb +1 -0
- data/lib/modern_treasury/models/payment_order.rb +34 -111
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +32 -484
- data/lib/modern_treasury/models/payment_order_create_params.rb +32 -486
- data/lib/modern_treasury/models/payment_order_list_params.rb +9 -1
- data/lib/modern_treasury/models/payment_order_update_params.rb +30 -255
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +3 -232
- data/lib/modern_treasury/models/payment_reference.rb +11 -2
- data/lib/modern_treasury/models/return_create_params.rb +75 -1
- data/lib/modern_treasury/models/return_list_params.rb +5 -6
- data/lib/modern_treasury/models/return_object.rb +87 -5
- data/lib/modern_treasury/models/routing_detail.rb +4 -93
- data/lib/modern_treasury/models/routing_detail_create_params.rb +1 -0
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +3 -55
- data/lib/modern_treasury/models/transaction.rb +6 -73
- data/lib/modern_treasury/models/transaction_create_params.rb +9 -1
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +9 -2
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +1 -0
- data/lib/modern_treasury/models/virtual_account_create_params.rb +4 -117
- data/lib/modern_treasury/models.rb +31 -24
- data/lib/modern_treasury/resources/bulk_requests.rb +1 -1
- data/lib/modern_treasury/resources/counterparties.rb +20 -14
- data/lib/modern_treasury/resources/expected_payments.rb +10 -4
- data/lib/modern_treasury/resources/external_accounts.rb +23 -17
- data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +2 -2
- data/lib/modern_treasury/resources/internal_accounts.rb +37 -1
- data/lib/modern_treasury/resources/invoices.rb +2 -2
- data/lib/modern_treasury/resources/ledger_account_categories.rb +4 -2
- data/lib/modern_treasury/resources/ledger_accounts.rb +6 -2
- data/lib/modern_treasury/resources/ledger_entries.rb +1 -1
- data/lib/modern_treasury/resources/ledger_transactions.rb +5 -5
- data/lib/modern_treasury/resources/legal_entities.rb +4 -4
- data/lib/modern_treasury/resources/legal_entity_associations.rb +1 -1
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +1 -1
- data/lib/modern_treasury/resources/payment_orders.rb +11 -9
- data/lib/modern_treasury/resources/returns.rb +4 -2
- data/lib/modern_treasury/resources/transactions.rb +3 -1
- data/lib/modern_treasury/resources/virtual_accounts.rb +1 -1
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +16 -15
- data/rbi/modern_treasury/client.rbi +0 -9
- data/rbi/modern_treasury/errors.rbi +16 -0
- data/rbi/modern_treasury/internal/transport/base_client.rbi +1 -1
- data/rbi/modern_treasury/internal/type/boolean.rbi +2 -0
- data/rbi/modern_treasury/internal/type/converter.rbi +15 -15
- data/rbi/modern_treasury/internal/type/union.rbi +5 -0
- data/rbi/modern_treasury/internal/type/unknown.rbi +2 -0
- data/rbi/modern_treasury/models/accounting.rbi +48 -0
- data/rbi/modern_treasury/models/address.rbi +107 -0
- data/rbi/modern_treasury/models/address_request.rbi +76 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +802 -3025
- data/rbi/modern_treasury/models/bulk_result.rbi +2 -0
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +511 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +17 -1314
- data/rbi/modern_treasury/models/contact_detail.rbi +124 -0
- data/rbi/modern_treasury/models/contact_detail_create_request.rbi +99 -0
- data/rbi/modern_treasury/models/counterparty.rbi +24 -264
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +60 -1726
- data/rbi/modern_treasury/models/counterparty_list_params.rbi +11 -0
- data/rbi/modern_treasury/models/document.rbi +6 -16
- data/rbi/modern_treasury/models/document_create_params.rbi +0 -10
- data/rbi/modern_treasury/models/document_list_params.rbi +6 -16
- data/rbi/modern_treasury/models/expected_payment.rbi +8 -0
- data/rbi/modern_treasury/models/expected_payment_create_params.rbi +12 -419
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +9 -0
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +8 -0
- data/rbi/modern_treasury/models/external_account.rbi +15 -244
- data/rbi/modern_treasury/models/external_account_create_params.rbi +25 -400
- data/rbi/modern_treasury/models/external_account_list_params.rbi +11 -0
- data/rbi/modern_treasury/models/external_account_update_params.rbi +4 -86
- data/rbi/modern_treasury/models/foreign_exchange_quote.rbi +4 -99
- data/rbi/modern_treasury/models/foreign_exchange_rate.rbi +96 -0
- data/rbi/modern_treasury/models/identification_create_request.rbi +212 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account.rbi +332 -120
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +333 -0
- data/rbi/modern_treasury/models/internal_account_update_account_capability_params.rbi +54 -0
- data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +304 -0
- data/rbi/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbi +37 -0
- data/rbi/modern_treasury/models/invoice.rbi +13 -128
- data/rbi/modern_treasury/models/invoice_create_params.rbi +4 -139
- data/rbi/modern_treasury/models/invoice_update_params.rbi +4 -139
- data/rbi/modern_treasury/models/ledger_account.rbi +20 -218
- data/rbi/modern_treasury/models/ledger_account_balance_monitor.rbi +4 -303
- data/rbi/modern_treasury/models/ledger_account_category.rbi +12 -301
- data/rbi/modern_treasury/models/ledger_account_category_list_params.rbi +23 -7
- data/rbi/modern_treasury/models/ledger_account_category_retrieve_params.rbi +6 -3
- data/rbi/modern_treasury/models/ledger_account_create_params.rbi +5 -173
- data/rbi/modern_treasury/models/ledger_account_create_request.rbi +194 -0
- data/rbi/modern_treasury/models/ledger_account_list_params.rbi +22 -0
- data/rbi/modern_treasury/models/ledger_account_statement_create_response.rbi +8 -612
- data/rbi/modern_treasury/models/ledger_account_statement_retrieve_response.rbi +8 -612
- data/rbi/modern_treasury/models/ledger_balance.rbi +66 -0
- data/rbi/modern_treasury/models/ledger_balances.rbi +75 -0
- data/rbi/modern_treasury/models/ledger_entry.rbi +4 -309
- data/rbi/modern_treasury/models/ledger_entry_create_request.rbi +137 -0
- data/rbi/modern_treasury/models/ledger_entry_list_params.rbi +99 -16
- data/rbi/modern_treasury/models/ledger_transaction.rbi +17 -11
- data/rbi/modern_treasury/models/ledger_transaction_create_params.rbi +5 -383
- data/rbi/modern_treasury/models/ledger_transaction_create_request.rbi +258 -0
- data/rbi/modern_treasury/models/ledger_transaction_create_reversal_params.rbi +0 -5
- data/rbi/modern_treasury/models/ledger_transaction_list_params.rbi +93 -18
- data/rbi/modern_treasury/models/ledger_transaction_update_params.rbi +7 -158
- data/rbi/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +18 -316
- data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +157 -0
- data/rbi/modern_treasury/models/legal_entity_association.rbi +5 -0
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +9 -917
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +17 -1297
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +8 -378
- data/rbi/modern_treasury/models/line_item.rbi +4 -52
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order.rbi +81 -172
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +42 -891
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +42 -896
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +14 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +43 -469
- data/rbi/modern_treasury/models/payment_orders/reversal_create_params.rbi +4 -415
- data/rbi/modern_treasury/models/payment_reference.rbi +54 -9
- data/rbi/modern_treasury/models/return_create_params.rbi +114 -0
- data/rbi/modern_treasury/models/return_list_params.rbi +6 -11
- data/rbi/modern_treasury/models/return_object.rbi +165 -16
- data/rbi/modern_treasury/models/routing_detail.rbi +9 -113
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +4 -87
- data/rbi/modern_treasury/models/transaction.rbi +19 -103
- data/rbi/modern_treasury/models/transaction_create_params.rbi +8 -0
- data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +8 -5
- data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +5 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +9 -203
- data/rbi/modern_treasury/models.rbi +36 -31
- data/rbi/modern_treasury/resources/bulk_requests.rbi +2 -1
- data/rbi/modern_treasury/resources/counterparties.rbi +20 -12
- data/rbi/modern_treasury/resources/documents.rbi +2 -2
- data/rbi/modern_treasury/resources/expected_payments.rbi +9 -1
- data/rbi/modern_treasury/resources/external_accounts.rbi +29 -22
- data/rbi/modern_treasury/resources/internal_accounts/balance_reports.rbi +7 -3
- data/rbi/modern_treasury/resources/internal_accounts.rbi +31 -0
- data/rbi/modern_treasury/resources/invoices.rbi +2 -8
- data/rbi/modern_treasury/resources/ledger_account_categories.rbi +9 -3
- data/rbi/modern_treasury/resources/ledger_accounts.rbi +5 -1
- data/rbi/modern_treasury/resources/ledger_entries.rbi +9 -2
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +13 -13
- data/rbi/modern_treasury/resources/legal_entities.rbi +4 -8
- data/rbi/modern_treasury/resources/legal_entity_associations.rbi +1 -2
- data/rbi/modern_treasury/resources/payment_orders/reversals.rbi +1 -1
- data/rbi/modern_treasury/resources/payment_orders.rbi +16 -17
- data/rbi/modern_treasury/resources/returns.rbi +8 -2
- data/rbi/modern_treasury/resources/transactions.rbi +3 -0
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +1 -2
- data/sig/modern_treasury/client.rbs +0 -6
- data/sig/modern_treasury/errors.rbs +9 -0
- data/sig/modern_treasury/internal/transport/base_client.rbs +1 -1
- data/sig/modern_treasury/internal/type/converter.rbs +7 -1
- data/sig/modern_treasury/models/accounting.rbs +15 -0
- data/sig/modern_treasury/models/address.rbs +70 -0
- data/sig/modern_treasury/models/address_request.rbs +45 -0
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +99 -999
- data/sig/modern_treasury/models/bulk_result.rbs +1 -0
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +220 -0
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +21 -548
- data/sig/modern_treasury/models/contact_detail.rbs +67 -0
- data/sig/modern_treasury/models/contact_detail_create_request.rbs +43 -0
- data/sig/modern_treasury/models/counterparty.rbs +20 -141
- data/sig/modern_treasury/models/counterparty_create_params.rbs +51 -737
- data/sig/modern_treasury/models/counterparty_list_params.rbs +7 -0
- data/sig/modern_treasury/models/document.rbs +0 -4
- data/sig/modern_treasury/models/document_create_params.rbs +0 -4
- data/sig/modern_treasury/models/document_list_params.rbs +0 -4
- data/sig/modern_treasury/models/expected_payment.rbs +5 -0
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +11 -173
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +7 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +5 -0
- data/sig/modern_treasury/models/external_account.rbs +13 -139
- data/sig/modern_treasury/models/external_account_create_params.rbs +25 -189
- data/sig/modern_treasury/models/external_account_list_params.rbs +7 -0
- data/sig/modern_treasury/models/external_account_update_params.rbs +6 -48
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +4 -51
- data/sig/modern_treasury/models/foreign_exchange_rate.rbs +50 -0
- data/sig/modern_treasury/models/identification_create_request.rbs +93 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +2 -0
- data/sig/modern_treasury/models/internal_account.rbs +148 -71
- data/sig/modern_treasury/models/internal_account_create_params.rbs +143 -0
- data/sig/modern_treasury/models/internal_account_update_account_capability_params.rbs +28 -0
- data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +137 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +10 -0
- data/sig/modern_treasury/models/invoice.rbs +9 -68
- data/sig/modern_treasury/models/invoice_create_params.rbs +6 -70
- data/sig/modern_treasury/models/invoice_update_params.rbs +6 -70
- data/sig/modern_treasury/models/ledger_account.rbs +17 -123
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +4 -142
- data/sig/modern_treasury/models/ledger_account_category.rbs +9 -142
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +12 -5
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +4 -84
- data/sig/modern_treasury/models/ledger_account_create_request.rbs +89 -0
- data/sig/modern_treasury/models/ledger_account_list_params.rbs +16 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +8 -284
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +8 -284
- data/sig/modern_treasury/models/ledger_balance.rbs +40 -0
- data/sig/modern_treasury/models/ledger_balances.rbs +30 -0
- data/sig/modern_treasury/models/ledger_entry.rbs +4 -142
- data/sig/modern_treasury/models/ledger_entry_create_request.rbs +62 -0
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +21 -3
- data/sig/modern_treasury/models/ledger_transaction.rbs +5 -2
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +4 -165
- data/sig/modern_treasury/models/ledger_transaction_create_request.rbs +109 -0
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +0 -2
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +21 -5
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +6 -67
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +9 -144
- data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +68 -0
- data/sig/modern_treasury/models/legal_entity_association.rbs +3 -1
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +9 -380
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +21 -548
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +12 -168
- data/sig/modern_treasury/models/line_item.rbs +4 -16
- data/sig/modern_treasury/models/payment_action_list_params.rbs +2 -1
- data/sig/modern_treasury/models/payment_order.rbs +37 -71
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +37 -380
- data/sig/modern_treasury/models/payment_order_create_params.rbs +37 -384
- data/sig/modern_treasury/models/payment_order_list_params.rbs +9 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +33 -207
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +6 -173
- data/sig/modern_treasury/models/payment_reference.rbs +22 -4
- data/sig/modern_treasury/models/return_create_params.rbs +47 -0
- data/sig/modern_treasury/models/return_list_params.rbs +1 -6
- data/sig/modern_treasury/models/return_object.rbs +70 -12
- data/sig/modern_treasury/models/routing_detail.rbs +6 -71
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +6 -48
- data/sig/modern_treasury/models/transaction.rbs +10 -53
- data/sig/modern_treasury/models/transaction_create_params.rbs +5 -0
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +5 -2
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +8 -95
- data/sig/modern_treasury/models.rbs +30 -24
- data/sig/modern_treasury/resources/counterparties.rbs +2 -0
- data/sig/modern_treasury/resources/expected_payments.rbs +4 -1
- data/sig/modern_treasury/resources/external_accounts.rbs +6 -4
- data/sig/modern_treasury/resources/internal_accounts/balance_reports.rbs +1 -1
- data/sig/modern_treasury/resources/internal_accounts.rbs +8 -0
- data/sig/modern_treasury/resources/invoices.rbs +2 -2
- data/sig/modern_treasury/resources/ledger_account_categories.rbs +2 -1
- data/sig/modern_treasury/resources/ledger_accounts.rbs +3 -1
- data/sig/modern_treasury/resources/ledger_transactions.rbs +4 -4
- data/sig/modern_treasury/resources/legal_entities.rbs +4 -4
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +1 -1
- data/sig/modern_treasury/resources/payment_orders/reversals.rbs +1 -1
- data/sig/modern_treasury/resources/payment_orders.rbs +6 -5
- data/sig/modern_treasury/resources/returns.rbs +1 -0
- data/sig/modern_treasury/resources/transactions.rbs +1 -0
- data/sig/modern_treasury/resources/virtual_accounts.rbs +1 -1
- metadata +52 -49
- data/lib/modern_treasury/models/ledger_event_handler.rb +0 -222
- data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +0 -177
- data/lib/modern_treasury/models/ledger_event_handler_delete_params.rb +0 -14
- data/lib/modern_treasury/models/ledger_event_handler_list_params.rb +0 -58
- data/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rb +0 -14
- data/lib/modern_treasury/models/ledger_event_handler_variable.rb +0 -59
- data/lib/modern_treasury/models/ledgerable_event.rb +0 -92
- data/lib/modern_treasury/models/ledgerable_event_create_params.rb +0 -50
- data/lib/modern_treasury/models/ledgerable_event_retrieve_params.rb +0 -14
- data/lib/modern_treasury/models/paper_item.rb +0 -178
- data/lib/modern_treasury/models/paper_item_list_params.rb +0 -56
- data/lib/modern_treasury/models/paper_item_retrieve_params.rb +0 -14
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +0 -125
- data/lib/modern_treasury/resources/ledgerable_events.rb +0 -65
- data/lib/modern_treasury/resources/paper_items.rb +0 -68
- data/rbi/modern_treasury/models/ledger_event_handler.rbi +0 -322
- data/rbi/modern_treasury/models/ledger_event_handler_create_params.rbi +0 -303
- data/rbi/modern_treasury/models/ledger_event_handler_delete_params.rbi +0 -32
- data/rbi/modern_treasury/models/ledger_event_handler_list_params.rbi +0 -92
- data/rbi/modern_treasury/models/ledger_event_handler_retrieve_params.rbi +0 -32
- data/rbi/modern_treasury/models/ledger_event_handler_variable.rbi +0 -98
- data/rbi/modern_treasury/models/ledgerable_event.rbi +0 -108
- data/rbi/modern_treasury/models/ledgerable_event_create_params.rbi +0 -75
- data/rbi/modern_treasury/models/ledgerable_event_retrieve_params.rbi +0 -32
- data/rbi/modern_treasury/models/paper_item.rbi +0 -204
- data/rbi/modern_treasury/models/paper_item_list_params.rbi +0 -88
- data/rbi/modern_treasury/models/paper_item_retrieve_params.rbi +0 -32
- data/rbi/modern_treasury/resources/ledger_event_handlers.rbi +0 -109
- data/rbi/modern_treasury/resources/ledgerable_events.rbi +0 -50
- data/rbi/modern_treasury/resources/paper_items.rbi +0 -51
- data/sig/modern_treasury/models/ledger_event_handler.rbs +0 -149
- data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +0 -127
- data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +0 -15
- data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +0 -54
- data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +0 -15
- data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +0 -36
- data/sig/modern_treasury/models/ledgerable_event.rbs +0 -65
- data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +0 -43
- data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +0 -15
- data/sig/modern_treasury/models/paper_item.rbs +0 -122
- data/sig/modern_treasury/models/paper_item_list_params.rbs +0 -54
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +0 -15
- data/sig/modern_treasury/resources/ledger_event_handlers.rbs +0 -37
- data/sig/modern_treasury/resources/ledgerable_events.rbs +0 -20
- data/sig/modern_treasury/resources/paper_items.rbs +0 -21
|
@@ -68,6 +68,12 @@ module ModernTreasury
|
|
|
68
68
|
# @return [Symbol, ModernTreasury::Models::TransactionCreateParams::Type, nil]
|
|
69
69
|
optional :type, enum: -> { ModernTreasury::TransactionCreateParams::Type }, nil?: true
|
|
70
70
|
|
|
71
|
+
# @!attribute vendor_customer_id
|
|
72
|
+
# An identifier given to this transaction by the bank, often `null`.
|
|
73
|
+
#
|
|
74
|
+
# @return [String, nil]
|
|
75
|
+
optional :vendor_customer_id, String, nil?: true
|
|
76
|
+
|
|
71
77
|
# @!attribute vendor_description
|
|
72
78
|
# The transaction detail text that often appears in on your bank statement and in
|
|
73
79
|
# your banking portal.
|
|
@@ -75,7 +81,7 @@ module ModernTreasury
|
|
|
75
81
|
# @return [String, nil]
|
|
76
82
|
optional :vendor_description, String, nil?: true
|
|
77
83
|
|
|
78
|
-
# @!method initialize(amount:, as_of_date:, direction:, internal_account_id:, vendor_code:, vendor_code_type:, metadata: nil, posted: nil, type: nil, vendor_description: nil, request_options: {})
|
|
84
|
+
# @!method initialize(amount:, as_of_date:, direction:, internal_account_id:, vendor_code:, vendor_code_type:, metadata: nil, posted: nil, type: nil, vendor_customer_id: nil, vendor_description: nil, request_options: {})
|
|
79
85
|
# Some parameter documentations has been truncated, see
|
|
80
86
|
# {ModernTreasury::Models::TransactionCreateParams} for more details.
|
|
81
87
|
#
|
|
@@ -97,6 +103,8 @@ module ModernTreasury
|
|
|
97
103
|
#
|
|
98
104
|
# @param type [Symbol, ModernTreasury::Models::TransactionCreateParams::Type, nil] The type of the transaction. Examples could be `card, `ach`, `wire`, `check`, `r
|
|
99
105
|
#
|
|
106
|
+
# @param vendor_customer_id [String, nil] An identifier given to this transaction by the bank, often `null`.
|
|
107
|
+
#
|
|
100
108
|
# @param vendor_description [String, nil] The transaction detail text that often appears in on your bank statement and in
|
|
101
109
|
#
|
|
102
110
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -68,6 +68,12 @@ module ModernTreasury
|
|
|
68
68
|
# @return [Boolean]
|
|
69
69
|
required :reconcilable, ModernTreasury::Internal::Type::Boolean
|
|
70
70
|
|
|
71
|
+
# @!attribute reconciliation_group_id
|
|
72
|
+
# The ID of the reconciliation group this line item belongs to, otherwise `null`.
|
|
73
|
+
#
|
|
74
|
+
# @return [String, nil]
|
|
75
|
+
required :reconciliation_group_id, String, nil?: true
|
|
76
|
+
|
|
71
77
|
# @!attribute transactable_id
|
|
72
78
|
# If a matching object exists in Modern Treasury, the ID will be populated here,
|
|
73
79
|
# otherwise `null`.
|
|
@@ -102,7 +108,7 @@ module ModernTreasury
|
|
|
102
108
|
# @return [Time]
|
|
103
109
|
required :updated_at, Time
|
|
104
110
|
|
|
105
|
-
# @!method initialize(id:, amount:, counterparty_id:, created_at:, description:, discarded_at:, expected_payment_id:, live_mode:, object:, reconcilable:, transactable_id:, transactable_type:, transaction_id:, type:, updated_at:)
|
|
111
|
+
# @!method initialize(id:, amount:, counterparty_id:, created_at:, description:, discarded_at:, expected_payment_id:, live_mode:, object:, reconcilable:, reconciliation_group_id:, transactable_id:, transactable_type:, transaction_id:, type:, updated_at:)
|
|
106
112
|
# Some parameter documentations has been truncated, see
|
|
107
113
|
# {ModernTreasury::Models::Transactions::TransactionLineItem} for more details.
|
|
108
114
|
#
|
|
@@ -126,6 +132,8 @@ module ModernTreasury
|
|
|
126
132
|
#
|
|
127
133
|
# @param reconcilable [Boolean] Describes whether this line item should be counted towards the corresponding tra
|
|
128
134
|
#
|
|
135
|
+
# @param reconciliation_group_id [String, nil] The ID of the reconciliation group this line item belongs to, otherwise `null`.
|
|
136
|
+
#
|
|
129
137
|
# @param transactable_id [String, nil] If a matching object exists in Modern Treasury, the ID will be populated here, o
|
|
130
138
|
#
|
|
131
139
|
# @param transactable_type [Symbol, ModernTreasury::Models::Transactions::TransactionLineItem::TransactableType, nil] If a matching object exists in Modern Treasury, the type will be populated here,
|
|
@@ -144,7 +152,6 @@ module ModernTreasury
|
|
|
144
152
|
extend ModernTreasury::Internal::Type::Enum
|
|
145
153
|
|
|
146
154
|
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
147
|
-
PAPER_ITEM = :paper_item
|
|
148
155
|
PAYMENT_ORDER = :payment_order
|
|
149
156
|
PAYMENT_ORDER_ATTEMPT = :payment_order_attempt
|
|
150
157
|
RETURN = :return
|
|
@@ -52,6 +52,7 @@ module ModernTreasury
|
|
|
52
52
|
HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
|
|
53
53
|
HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
|
|
54
54
|
ID_SKNBI_CODE = :id_sknbi_code
|
|
55
|
+
IL_BANK_CODE = :il_bank_code
|
|
55
56
|
IN_IFSC = :in_ifsc
|
|
56
57
|
JP_ZENGIN_CODE = :jp_zengin_code
|
|
57
58
|
MX_BANK_IDENTIFIER = :mx_bank_identifier
|
|
@@ -61,8 +61,8 @@ module ModernTreasury
|
|
|
61
61
|
# The resulting ledger account is linked to the virtual account for auto-ledgering
|
|
62
62
|
# IPDs.
|
|
63
63
|
#
|
|
64
|
-
# @return [ModernTreasury::Models::
|
|
65
|
-
optional :ledger_account, -> { ModernTreasury::
|
|
64
|
+
# @return [ModernTreasury::Models::LedgerAccountCreateRequest, nil]
|
|
65
|
+
optional :ledger_account, -> { ModernTreasury::LedgerAccountCreateRequest }
|
|
66
66
|
|
|
67
67
|
# @!attribute metadata
|
|
68
68
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -98,7 +98,7 @@ module ModernTreasury
|
|
|
98
98
|
#
|
|
99
99
|
# @param description [String] An optional description for internal use.
|
|
100
100
|
#
|
|
101
|
-
# @param ledger_account [ModernTreasury::Models::
|
|
101
|
+
# @param ledger_account [ModernTreasury::Models::LedgerAccountCreateRequest] Specifies a ledger account object that will be created with the virtual account.
|
|
102
102
|
#
|
|
103
103
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
|
104
104
|
#
|
|
@@ -157,120 +157,6 @@ module ModernTreasury
|
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
-
class LedgerAccount < ModernTreasury::Internal::Type::BaseModel
|
|
161
|
-
# @!attribute currency
|
|
162
|
-
# The currency of the ledger account.
|
|
163
|
-
#
|
|
164
|
-
# @return [String]
|
|
165
|
-
required :currency, String
|
|
166
|
-
|
|
167
|
-
# @!attribute ledger_id
|
|
168
|
-
# The id of the ledger that this account belongs to.
|
|
169
|
-
#
|
|
170
|
-
# @return [String]
|
|
171
|
-
required :ledger_id, String
|
|
172
|
-
|
|
173
|
-
# @!attribute name
|
|
174
|
-
# The name of the ledger account.
|
|
175
|
-
#
|
|
176
|
-
# @return [String]
|
|
177
|
-
required :name, String
|
|
178
|
-
|
|
179
|
-
# @!attribute normal_balance
|
|
180
|
-
# The normal balance of the ledger account.
|
|
181
|
-
#
|
|
182
|
-
# @return [Symbol, ModernTreasury::Models::TransactionDirection]
|
|
183
|
-
required :normal_balance, enum: -> { ModernTreasury::TransactionDirection }
|
|
184
|
-
|
|
185
|
-
# @!attribute currency_exponent
|
|
186
|
-
# The currency exponent of the ledger account.
|
|
187
|
-
#
|
|
188
|
-
# @return [Integer, nil]
|
|
189
|
-
optional :currency_exponent, Integer, nil?: true
|
|
190
|
-
|
|
191
|
-
# @!attribute description
|
|
192
|
-
# The description of the ledger account.
|
|
193
|
-
#
|
|
194
|
-
# @return [String, nil]
|
|
195
|
-
optional :description, String, nil?: true
|
|
196
|
-
|
|
197
|
-
# @!attribute ledger_account_category_ids
|
|
198
|
-
# The array of ledger account category ids that this ledger account should be a
|
|
199
|
-
# child of.
|
|
200
|
-
#
|
|
201
|
-
# @return [Array<String>, nil]
|
|
202
|
-
optional :ledger_account_category_ids, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
203
|
-
|
|
204
|
-
# @!attribute ledgerable_id
|
|
205
|
-
# If the ledger account links to another object in Modern Treasury, the id will be
|
|
206
|
-
# populated here, otherwise null.
|
|
207
|
-
#
|
|
208
|
-
# @return [String, nil]
|
|
209
|
-
optional :ledgerable_id, String
|
|
210
|
-
|
|
211
|
-
# @!attribute ledgerable_type
|
|
212
|
-
# If the ledger account links to another object in Modern Treasury, the type will
|
|
213
|
-
# be populated here, otherwise null. The value is one of internal_account or
|
|
214
|
-
# external_account.
|
|
215
|
-
#
|
|
216
|
-
# @return [Symbol, ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::LedgerableType, nil]
|
|
217
|
-
optional :ledgerable_type,
|
|
218
|
-
enum: -> { ModernTreasury::VirtualAccountCreateParams::LedgerAccount::LedgerableType }
|
|
219
|
-
|
|
220
|
-
# @!attribute metadata
|
|
221
|
-
# Additional data represented as key-value pairs. Both the key and value must be
|
|
222
|
-
# strings.
|
|
223
|
-
#
|
|
224
|
-
# @return [Hash{Symbol=>String}, nil]
|
|
225
|
-
optional :metadata, ModernTreasury::Internal::Type::HashOf[String]
|
|
226
|
-
|
|
227
|
-
# @!method initialize(currency:, ledger_id:, name:, normal_balance:, currency_exponent: nil, description: nil, ledger_account_category_ids: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil)
|
|
228
|
-
# Some parameter documentations has been truncated, see
|
|
229
|
-
# {ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount} for more
|
|
230
|
-
# details.
|
|
231
|
-
#
|
|
232
|
-
# Specifies a ledger account object that will be created with the virtual account.
|
|
233
|
-
# The resulting ledger account is linked to the virtual account for auto-ledgering
|
|
234
|
-
# IPDs.
|
|
235
|
-
#
|
|
236
|
-
# @param currency [String] The currency of the ledger account.
|
|
237
|
-
#
|
|
238
|
-
# @param ledger_id [String] The id of the ledger that this account belongs to.
|
|
239
|
-
#
|
|
240
|
-
# @param name [String] The name of the ledger account.
|
|
241
|
-
#
|
|
242
|
-
# @param normal_balance [Symbol, ModernTreasury::Models::TransactionDirection] The normal balance of the ledger account.
|
|
243
|
-
#
|
|
244
|
-
# @param currency_exponent [Integer, nil] The currency exponent of the ledger account.
|
|
245
|
-
#
|
|
246
|
-
# @param description [String, nil] The description of the ledger account.
|
|
247
|
-
#
|
|
248
|
-
# @param ledger_account_category_ids [Array<String>] The array of ledger account category ids that this ledger account should be a ch
|
|
249
|
-
#
|
|
250
|
-
# @param ledgerable_id [String] If the ledger account links to another object in Modern Treasury, the id will be
|
|
251
|
-
#
|
|
252
|
-
# @param ledgerable_type [Symbol, ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::LedgerableType] If the ledger account links to another object in Modern Treasury, the type will
|
|
253
|
-
#
|
|
254
|
-
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
|
255
|
-
|
|
256
|
-
# If the ledger account links to another object in Modern Treasury, the type will
|
|
257
|
-
# be populated here, otherwise null. The value is one of internal_account or
|
|
258
|
-
# external_account.
|
|
259
|
-
#
|
|
260
|
-
# @see ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount#ledgerable_type
|
|
261
|
-
module LedgerableType
|
|
262
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
263
|
-
|
|
264
|
-
COUNTERPARTY = :counterparty
|
|
265
|
-
EXTERNAL_ACCOUNT = :external_account
|
|
266
|
-
INTERNAL_ACCOUNT = :internal_account
|
|
267
|
-
VIRTUAL_ACCOUNT = :virtual_account
|
|
268
|
-
|
|
269
|
-
# @!method self.values
|
|
270
|
-
# @return [Array<Symbol>]
|
|
271
|
-
end
|
|
272
|
-
end
|
|
273
|
-
|
|
274
160
|
class RoutingDetail < ModernTreasury::Internal::Type::BaseModel
|
|
275
161
|
# @!attribute routing_number
|
|
276
162
|
# The routing number of the bank.
|
|
@@ -326,6 +212,7 @@ module ModernTreasury
|
|
|
326
212
|
HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
|
|
327
213
|
HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
|
|
328
214
|
ID_SKNBI_CODE = :id_sknbi_code
|
|
215
|
+
IL_BANK_CODE = :il_bank_code
|
|
329
216
|
IN_IFSC = :in_ifsc
|
|
330
217
|
JP_ZENGIN_CODE = :jp_zengin_code
|
|
331
218
|
MX_BANK_IDENTIFIER = :mx_bank_identifier
|
|
@@ -62,8 +62,14 @@ module ModernTreasury
|
|
|
62
62
|
|
|
63
63
|
AccountDetailRetrieveParams = ModernTreasury::Models::AccountDetailRetrieveParams
|
|
64
64
|
|
|
65
|
+
Accounting = ModernTreasury::Models::Accounting
|
|
66
|
+
|
|
65
67
|
AccountsType = ModernTreasury::Models::AccountsType
|
|
66
68
|
|
|
69
|
+
Address = ModernTreasury::Models::Address
|
|
70
|
+
|
|
71
|
+
AddressRequest = ModernTreasury::Models::AddressRequest
|
|
72
|
+
|
|
67
73
|
AsyncResponse = ModernTreasury::Models::AsyncResponse
|
|
68
74
|
|
|
69
75
|
BankSettings = ModernTreasury::Models::BankSettings
|
|
@@ -82,6 +88,8 @@ module ModernTreasury
|
|
|
82
88
|
|
|
83
89
|
BulkResultRetrieveParams = ModernTreasury::Models::BulkResultRetrieveParams
|
|
84
90
|
|
|
91
|
+
ChildLegalEntityCreate = ModernTreasury::Models::ChildLegalEntityCreate
|
|
92
|
+
|
|
85
93
|
ClientPingParams = ModernTreasury::Models::ClientPingParams
|
|
86
94
|
|
|
87
95
|
Connection = ModernTreasury::Models::Connection
|
|
@@ -98,6 +106,10 @@ module ModernTreasury
|
|
|
98
106
|
|
|
99
107
|
ConnectionListParams = ModernTreasury::Models::ConnectionListParams
|
|
100
108
|
|
|
109
|
+
ContactDetail = ModernTreasury::Models::ContactDetail
|
|
110
|
+
|
|
111
|
+
ContactDetailCreateRequest = ModernTreasury::Models::ContactDetailCreateRequest
|
|
112
|
+
|
|
101
113
|
Counterparty = ModernTreasury::Models::Counterparty
|
|
102
114
|
|
|
103
115
|
CounterpartyCollectAccountParams = ModernTreasury::Models::CounterpartyCollectAccountParams
|
|
@@ -171,6 +183,10 @@ module ModernTreasury
|
|
|
171
183
|
|
|
172
184
|
ForeignExchangeQuoteRetrieveParams = ModernTreasury::Models::ForeignExchangeQuoteRetrieveParams
|
|
173
185
|
|
|
186
|
+
ForeignExchangeRate = ModernTreasury::Models::ForeignExchangeRate
|
|
187
|
+
|
|
188
|
+
IdentificationCreateRequest = ModernTreasury::Models::IdentificationCreateRequest
|
|
189
|
+
|
|
174
190
|
IncomingPaymentDetail = ModernTreasury::Models::IncomingPaymentDetail
|
|
175
191
|
|
|
176
192
|
IncomingPaymentDetailCreateAsyncParams = ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams
|
|
@@ -191,6 +207,9 @@ module ModernTreasury
|
|
|
191
207
|
|
|
192
208
|
InternalAccounts = ModernTreasury::Models::InternalAccounts
|
|
193
209
|
|
|
210
|
+
InternalAccountUpdateAccountCapabilityParams =
|
|
211
|
+
ModernTreasury::Models::InternalAccountUpdateAccountCapabilityParams
|
|
212
|
+
|
|
194
213
|
InternalAccountUpdateParams = ModernTreasury::Models::InternalAccountUpdateParams
|
|
195
214
|
|
|
196
215
|
Invoice = ModernTreasury::Models::Invoice
|
|
@@ -209,12 +228,6 @@ module ModernTreasury
|
|
|
209
228
|
|
|
210
229
|
Ledger = ModernTreasury::Models::Ledger
|
|
211
230
|
|
|
212
|
-
LedgerableEvent = ModernTreasury::Models::LedgerableEvent
|
|
213
|
-
|
|
214
|
-
LedgerableEventCreateParams = ModernTreasury::Models::LedgerableEventCreateParams
|
|
215
|
-
|
|
216
|
-
LedgerableEventRetrieveParams = ModernTreasury::Models::LedgerableEventRetrieveParams
|
|
217
|
-
|
|
218
231
|
LedgerAccount = ModernTreasury::Models::LedgerAccount
|
|
219
232
|
|
|
220
233
|
LedgerAccountBalanceMonitor = ModernTreasury::Models::LedgerAccountBalanceMonitor
|
|
@@ -256,6 +269,8 @@ module ModernTreasury
|
|
|
256
269
|
|
|
257
270
|
LedgerAccountCreateParams = ModernTreasury::Models::LedgerAccountCreateParams
|
|
258
271
|
|
|
272
|
+
LedgerAccountCreateRequest = ModernTreasury::Models::LedgerAccountCreateRequest
|
|
273
|
+
|
|
259
274
|
LedgerAccountDeleteParams = ModernTreasury::Models::LedgerAccountDeleteParams
|
|
260
275
|
|
|
261
276
|
LedgerAccountListParams = ModernTreasury::Models::LedgerAccountListParams
|
|
@@ -280,30 +295,24 @@ module ModernTreasury
|
|
|
280
295
|
|
|
281
296
|
LedgerAccountUpdateParams = ModernTreasury::Models::LedgerAccountUpdateParams
|
|
282
297
|
|
|
298
|
+
LedgerBalance = ModernTreasury::Models::LedgerBalance
|
|
299
|
+
|
|
300
|
+
LedgerBalances = ModernTreasury::Models::LedgerBalances
|
|
301
|
+
|
|
283
302
|
LedgerCreateParams = ModernTreasury::Models::LedgerCreateParams
|
|
284
303
|
|
|
285
304
|
LedgerDeleteParams = ModernTreasury::Models::LedgerDeleteParams
|
|
286
305
|
|
|
287
306
|
LedgerEntry = ModernTreasury::Models::LedgerEntry
|
|
288
307
|
|
|
308
|
+
LedgerEntryCreateRequest = ModernTreasury::Models::LedgerEntryCreateRequest
|
|
309
|
+
|
|
289
310
|
LedgerEntryListParams = ModernTreasury::Models::LedgerEntryListParams
|
|
290
311
|
|
|
291
312
|
LedgerEntryRetrieveParams = ModernTreasury::Models::LedgerEntryRetrieveParams
|
|
292
313
|
|
|
293
314
|
LedgerEntryUpdateParams = ModernTreasury::Models::LedgerEntryUpdateParams
|
|
294
315
|
|
|
295
|
-
LedgerEventHandler = ModernTreasury::Models::LedgerEventHandler
|
|
296
|
-
|
|
297
|
-
LedgerEventHandlerCreateParams = ModernTreasury::Models::LedgerEventHandlerCreateParams
|
|
298
|
-
|
|
299
|
-
LedgerEventHandlerDeleteParams = ModernTreasury::Models::LedgerEventHandlerDeleteParams
|
|
300
|
-
|
|
301
|
-
LedgerEventHandlerListParams = ModernTreasury::Models::LedgerEventHandlerListParams
|
|
302
|
-
|
|
303
|
-
LedgerEventHandlerRetrieveParams = ModernTreasury::Models::LedgerEventHandlerRetrieveParams
|
|
304
|
-
|
|
305
|
-
LedgerEventHandlerVariable = ModernTreasury::Models::LedgerEventHandlerVariable
|
|
306
|
-
|
|
307
316
|
LedgerListParams = ModernTreasury::Models::LedgerListParams
|
|
308
317
|
|
|
309
318
|
LedgerRetrieveParams = ModernTreasury::Models::LedgerRetrieveParams
|
|
@@ -315,6 +324,8 @@ module ModernTreasury
|
|
|
315
324
|
LedgerTransactionCreatePartialPostParams =
|
|
316
325
|
ModernTreasury::Models::LedgerTransactionCreatePartialPostParams
|
|
317
326
|
|
|
327
|
+
LedgerTransactionCreateRequest = ModernTreasury::Models::LedgerTransactionCreateRequest
|
|
328
|
+
|
|
318
329
|
LedgerTransactionCreateReversalParams = ModernTreasury::Models::LedgerTransactionCreateReversalParams
|
|
319
330
|
|
|
320
331
|
LedgerTransactionListParams = ModernTreasury::Models::LedgerTransactionListParams
|
|
@@ -329,6 +340,8 @@ module ModernTreasury
|
|
|
329
340
|
|
|
330
341
|
LegalEntity = ModernTreasury::Models::LegalEntity
|
|
331
342
|
|
|
343
|
+
LegalEntityAddressCreateRequest = ModernTreasury::Models::LegalEntityAddressCreateRequest
|
|
344
|
+
|
|
332
345
|
LegalEntityAssociation = ModernTreasury::Models::LegalEntityAssociation
|
|
333
346
|
|
|
334
347
|
LegalEntityAssociationCreateParams = ModernTreasury::Models::LegalEntityAssociationCreateParams
|
|
@@ -353,12 +366,6 @@ module ModernTreasury
|
|
|
353
366
|
|
|
354
367
|
LineItemUpdateParams = ModernTreasury::Models::LineItemUpdateParams
|
|
355
368
|
|
|
356
|
-
PaperItem = ModernTreasury::Models::PaperItem
|
|
357
|
-
|
|
358
|
-
PaperItemListParams = ModernTreasury::Models::PaperItemListParams
|
|
359
|
-
|
|
360
|
-
PaperItemRetrieveParams = ModernTreasury::Models::PaperItemRetrieveParams
|
|
361
|
-
|
|
362
369
|
PaymentActionCreateParams = ModernTreasury::Models::PaymentActionCreateParams
|
|
363
370
|
|
|
364
371
|
PaymentActionListParams = ModernTreasury::Models::PaymentActionListParams
|
|
@@ -14,7 +14,7 @@ module ModernTreasury
|
|
|
14
14
|
#
|
|
15
15
|
# @param resource_type [Symbol, ModernTreasury::Models::BulkRequestCreateParams::ResourceType] One of payment_order, expected_payment, or ledger_transaction.
|
|
16
16
|
#
|
|
17
|
-
# @param resources [Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentCreateRequest, ModernTreasury::Models::
|
|
17
|
+
# @param resources [Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentCreateRequest, ModernTreasury::Models::LedgerTransactionCreateRequest, ModernTreasury::Models::LedgerAccountCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ID, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerTransactionUpdateRequestWithID>] An array of objects where each object contains the input params for a single `ac
|
|
18
18
|
#
|
|
19
19
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
|
20
20
|
#
|
|
@@ -8,29 +8,31 @@ module ModernTreasury
|
|
|
8
8
|
#
|
|
9
9
|
# Create a new counterparty.
|
|
10
10
|
#
|
|
11
|
-
# @overload create(name:, accounting: nil, accounts: nil, email: nil, ledger_type: nil, legal_entity: nil, legal_entity_id: nil, metadata: nil, send_remittance_advice: nil, taxpayer_identifier: nil, verification_status: nil, request_options: {})
|
|
11
|
+
# @overload create(name:, body_external_id: nil, accounting: nil, accounts: nil, email: nil, ledger_type: nil, legal_entity: nil, legal_entity_id: nil, metadata: nil, send_remittance_advice: nil, taxpayer_identifier: nil, verification_status: nil, request_options: {})
|
|
12
12
|
#
|
|
13
|
-
# @param name [String, nil] A human friendly name for this counterparty.
|
|
13
|
+
# @param name [String, nil] Body param: A human friendly name for this counterparty.
|
|
14
14
|
#
|
|
15
|
-
# @param
|
|
15
|
+
# @param body_external_id [String, nil] Body param: An optional user-defined 180 character unique identifier.
|
|
16
16
|
#
|
|
17
|
-
# @param
|
|
17
|
+
# @param accounting [ModernTreasury::Models::CounterpartyCreateParams::Accounting] Body param:
|
|
18
18
|
#
|
|
19
|
-
# @param
|
|
19
|
+
# @param accounts [Array<ModernTreasury::Models::CounterpartyCreateParams::Account>] Body param: The accounts for this counterparty.
|
|
20
20
|
#
|
|
21
|
-
# @param
|
|
21
|
+
# @param email [String, nil] Body param: The counterparty's email.
|
|
22
22
|
#
|
|
23
|
-
# @param
|
|
23
|
+
# @param ledger_type [Symbol, ModernTreasury::Models::CounterpartyCreateParams::LedgerType] Body param: An optional type to auto-sync the counterparty to your ledger. Eithe
|
|
24
24
|
#
|
|
25
|
-
# @param
|
|
25
|
+
# @param legal_entity [ModernTreasury::Models::CounterpartyCreateParams::LegalEntity] Body param:
|
|
26
26
|
#
|
|
27
|
-
# @param
|
|
27
|
+
# @param legal_entity_id [String, nil] Body param: The id of the legal entity.
|
|
28
28
|
#
|
|
29
|
-
# @param
|
|
29
|
+
# @param metadata [Hash{Symbol=>String}] Body param: Additional data represented as key-value pairs. Both the key and val
|
|
30
30
|
#
|
|
31
|
-
# @param
|
|
31
|
+
# @param send_remittance_advice [Boolean] Body param: Send an email to the counterparty whenever an associated payment ord
|
|
32
|
+
#
|
|
33
|
+
# @param taxpayer_identifier [String] Body param: Either a valid SSN or EIN.
|
|
32
34
|
#
|
|
33
|
-
# @param verification_status [Symbol, ModernTreasury::Models::CounterpartyCreateParams::VerificationStatus] The verification status of the counterparty.
|
|
35
|
+
# @param verification_status [Symbol, ModernTreasury::Models::CounterpartyCreateParams::VerificationStatus] Body param: The verification status of the counterparty.
|
|
34
36
|
#
|
|
35
37
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
36
38
|
#
|
|
@@ -39,10 +41,12 @@ module ModernTreasury
|
|
|
39
41
|
# @see ModernTreasury::Models::CounterpartyCreateParams
|
|
40
42
|
def create(params)
|
|
41
43
|
parsed, options = ModernTreasury::CounterpartyCreateParams.dump_request(params)
|
|
44
|
+
query_params = [:query_external_id]
|
|
42
45
|
@client.request(
|
|
43
46
|
method: :post,
|
|
44
47
|
path: "api/counterparties",
|
|
45
|
-
|
|
48
|
+
query: parsed.slice(*query_params).transform_keys(query_external_id: "external_id"),
|
|
49
|
+
body: parsed.except(*query_params),
|
|
46
50
|
model: ModernTreasury::Counterparty,
|
|
47
51
|
options: options
|
|
48
52
|
)
|
|
@@ -110,7 +114,7 @@ module ModernTreasury
|
|
|
110
114
|
#
|
|
111
115
|
# Get a paginated list of all counterparties.
|
|
112
116
|
#
|
|
113
|
-
# @overload list(after_cursor: nil, created_at_lower_bound: nil, created_at_upper_bound: nil, email: nil, legal_entity_id: nil, metadata: nil, name: nil, per_page: nil, request_options: {})
|
|
117
|
+
# @overload list(after_cursor: nil, created_at_lower_bound: nil, created_at_upper_bound: nil, email: nil, external_id: nil, legal_entity_id: nil, metadata: nil, name: nil, per_page: nil, request_options: {})
|
|
114
118
|
#
|
|
115
119
|
# @param after_cursor [String, nil]
|
|
116
120
|
#
|
|
@@ -120,6 +124,8 @@ module ModernTreasury
|
|
|
120
124
|
#
|
|
121
125
|
# @param email [String] Performs a partial string match of the email field. This is also case insensitiv
|
|
122
126
|
#
|
|
127
|
+
# @param external_id [String] An optional user-defined 180 character unique identifier.
|
|
128
|
+
#
|
|
123
129
|
# @param legal_entity_id [String] Filters for counterparties with the given legal entity ID.
|
|
124
130
|
#
|
|
125
131
|
# @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value
|
|
@@ -8,7 +8,7 @@ module ModernTreasury
|
|
|
8
8
|
#
|
|
9
9
|
# create expected payment
|
|
10
10
|
#
|
|
11
|
-
# @overload create(amount_lower_bound: nil, amount_upper_bound: nil, counterparty_id: nil, currency: nil, date_lower_bound: nil, date_upper_bound: nil, description: nil, direction: nil, internal_account_id: nil, ledger_transaction: nil, ledger_transaction_id: nil, line_items: nil, metadata: nil, reconciliation_filters: nil, reconciliation_groups: nil, reconciliation_rule_variables: nil, remittance_information: nil, statement_descriptor: nil, type: nil, request_options: {})
|
|
11
|
+
# @overload create(amount_lower_bound: nil, amount_upper_bound: nil, counterparty_id: nil, currency: nil, date_lower_bound: nil, date_upper_bound: nil, description: nil, direction: nil, external_id: nil, internal_account_id: nil, ledger_transaction: nil, ledger_transaction_id: nil, line_items: nil, metadata: nil, reconciliation_filters: nil, reconciliation_groups: nil, reconciliation_rule_variables: nil, remittance_information: nil, statement_descriptor: nil, type: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param amount_lower_bound [Integer, nil] The lowest amount this expected payment may be equal to. Value in specified curr
|
|
14
14
|
#
|
|
@@ -26,9 +26,11 @@ module ModernTreasury
|
|
|
26
26
|
#
|
|
27
27
|
# @param direction [Symbol, ModernTreasury::Models::ExpectedPaymentCreateParams::Direction, nil] One of credit or debit. When you are receiving money, use credit. When you are b
|
|
28
28
|
#
|
|
29
|
+
# @param external_id [String, nil] An optional user-defined 180 character unique identifier.
|
|
30
|
+
#
|
|
29
31
|
# @param internal_account_id [String, nil] The ID of the Internal Account for the expected payment.
|
|
30
32
|
#
|
|
31
|
-
# @param ledger_transaction [ModernTreasury::Models::
|
|
33
|
+
# @param ledger_transaction [ModernTreasury::Models::LedgerTransactionCreateRequest] Specifies a ledger transaction object that will be created with the expected pay
|
|
32
34
|
#
|
|
33
35
|
# @param ledger_transaction_id [String] Either ledger_transaction or ledger_transaction_id can be provided. Only a pendi
|
|
34
36
|
#
|
|
@@ -89,7 +91,7 @@ module ModernTreasury
|
|
|
89
91
|
#
|
|
90
92
|
# update expected payment
|
|
91
93
|
#
|
|
92
|
-
# @overload update(id, amount_lower_bound: nil, amount_upper_bound: nil, counterparty_id: nil, currency: nil, date_lower_bound: nil, date_upper_bound: nil, description: nil, direction: nil, internal_account_id: nil, metadata: nil, reconciliation_filters: nil, reconciliation_groups: nil, reconciliation_rule_variables: nil, remittance_information: nil, statement_descriptor: nil, status: nil, type: nil, request_options: {})
|
|
94
|
+
# @overload update(id, amount_lower_bound: nil, amount_upper_bound: nil, counterparty_id: nil, currency: nil, date_lower_bound: nil, date_upper_bound: nil, description: nil, direction: nil, external_id: nil, internal_account_id: nil, metadata: nil, reconciliation_filters: nil, reconciliation_groups: nil, reconciliation_rule_variables: nil, remittance_information: nil, statement_descriptor: nil, status: nil, type: nil, request_options: {})
|
|
93
95
|
#
|
|
94
96
|
# @param id [String] id
|
|
95
97
|
#
|
|
@@ -109,6 +111,8 @@ module ModernTreasury
|
|
|
109
111
|
#
|
|
110
112
|
# @param direction [Symbol, ModernTreasury::Models::ExpectedPaymentUpdateParams::Direction, nil] One of credit or debit. When you are receiving money, use credit. When you are b
|
|
111
113
|
#
|
|
114
|
+
# @param external_id [String, nil] An optional user-defined 180 character unique identifier.
|
|
115
|
+
#
|
|
112
116
|
# @param internal_account_id [String, nil] The ID of the Internal Account for the expected payment.
|
|
113
117
|
#
|
|
114
118
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
|
@@ -148,7 +152,7 @@ module ModernTreasury
|
|
|
148
152
|
#
|
|
149
153
|
# list expected_payments
|
|
150
154
|
#
|
|
151
|
-
# @overload list(after_cursor: nil, counterparty_id: nil, created_at_lower_bound: nil, created_at_upper_bound: nil, direction: nil, internal_account_id: nil, metadata: nil, per_page: nil, status: nil, type: nil, updated_at_lower_bound: nil, updated_at_upper_bound: nil, request_options: {})
|
|
155
|
+
# @overload list(after_cursor: nil, counterparty_id: nil, created_at_lower_bound: nil, created_at_upper_bound: nil, direction: nil, external_id: nil, internal_account_id: nil, metadata: nil, per_page: nil, status: nil, type: nil, updated_at_lower_bound: nil, updated_at_upper_bound: nil, request_options: {})
|
|
152
156
|
#
|
|
153
157
|
# @param after_cursor [String, nil]
|
|
154
158
|
#
|
|
@@ -160,6 +164,8 @@ module ModernTreasury
|
|
|
160
164
|
#
|
|
161
165
|
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection] One of credit, debit
|
|
162
166
|
#
|
|
167
|
+
# @param external_id [String]
|
|
168
|
+
#
|
|
163
169
|
# @param internal_account_id [String] Specify internal_account_id to see expected_payments for a specific account.
|
|
164
170
|
#
|
|
165
171
|
# @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value
|
|
@@ -8,33 +8,35 @@ module ModernTreasury
|
|
|
8
8
|
#
|
|
9
9
|
# create external account
|
|
10
10
|
#
|
|
11
|
-
# @overload create(counterparty_id:, account_details: nil, account_type: nil, contact_details: nil, ledger_account: nil, metadata: nil, name: nil, party_address: nil, party_identifier: nil, party_name: nil, party_type: nil, plaid_processor_token: nil, routing_details: nil, request_options: {})
|
|
11
|
+
# @overload create(counterparty_id:, body_external_id: nil, account_details: nil, account_type: nil, contact_details: nil, ledger_account: nil, metadata: nil, name: nil, party_address: nil, party_identifier: nil, party_name: nil, party_type: nil, plaid_processor_token: nil, routing_details: nil, request_options: {})
|
|
12
12
|
#
|
|
13
|
-
# @param counterparty_id [String, nil]
|
|
13
|
+
# @param counterparty_id [String, nil] Body param:
|
|
14
14
|
#
|
|
15
|
-
# @param
|
|
15
|
+
# @param body_external_id [String, nil] Body param: An optional user-defined 180 character unique identifier.
|
|
16
16
|
#
|
|
17
|
-
# @param
|
|
17
|
+
# @param account_details [Array<ModernTreasury::Models::ExternalAccountCreateParams::AccountDetail>] Body param:
|
|
18
18
|
#
|
|
19
|
-
# @param
|
|
19
|
+
# @param account_type [Symbol, ModernTreasury::Models::ExternalAccountType] Body param: Can be `checking`, `savings` or `other`.
|
|
20
20
|
#
|
|
21
|
-
# @param
|
|
21
|
+
# @param contact_details [Array<ModernTreasury::Models::ContactDetailCreateRequest>] Body param:
|
|
22
22
|
#
|
|
23
|
-
# @param
|
|
23
|
+
# @param ledger_account [ModernTreasury::Models::LedgerAccountCreateRequest] Body param: Specifies a ledger account object that will be created with the exte
|
|
24
24
|
#
|
|
25
|
-
# @param
|
|
25
|
+
# @param metadata [Hash{Symbol=>String}] Body param: Additional data represented as key-value pairs. Both the key and val
|
|
26
26
|
#
|
|
27
|
-
# @param
|
|
27
|
+
# @param name [String, nil] Body param: A nickname for the external account. This is only for internal usage
|
|
28
28
|
#
|
|
29
|
-
# @param
|
|
29
|
+
# @param party_address [ModernTreasury::Models::AddressRequest] Body param: Required if receiving wire payments.
|
|
30
30
|
#
|
|
31
|
-
# @param
|
|
31
|
+
# @param party_identifier [String] Body param:
|
|
32
32
|
#
|
|
33
|
-
# @param
|
|
33
|
+
# @param party_name [String] Body param: If this value isn't provided, it will be inherited from the counterp
|
|
34
34
|
#
|
|
35
|
-
# @param
|
|
35
|
+
# @param party_type [Symbol, ModernTreasury::Models::ExternalAccountCreateParams::PartyType, nil] Body param: Either `individual` or `business`.
|
|
36
36
|
#
|
|
37
|
-
# @param
|
|
37
|
+
# @param plaid_processor_token [String] Body param: If you've enabled the Modern Treasury + Plaid integration in your Pl
|
|
38
|
+
#
|
|
39
|
+
# @param routing_details [Array<ModernTreasury::Models::ExternalAccountCreateParams::RoutingDetail>] Body param:
|
|
38
40
|
#
|
|
39
41
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
40
42
|
#
|
|
@@ -43,10 +45,12 @@ module ModernTreasury
|
|
|
43
45
|
# @see ModernTreasury::Models::ExternalAccountCreateParams
|
|
44
46
|
def create(params)
|
|
45
47
|
parsed, options = ModernTreasury::ExternalAccountCreateParams.dump_request(params)
|
|
48
|
+
query_params = [:query_external_id]
|
|
46
49
|
@client.request(
|
|
47
50
|
method: :post,
|
|
48
51
|
path: "api/external_accounts",
|
|
49
|
-
|
|
52
|
+
query: parsed.slice(*query_params).transform_keys(query_external_id: "external_id"),
|
|
53
|
+
body: parsed.except(*query_params),
|
|
50
54
|
model: ModernTreasury::ExternalAccount,
|
|
51
55
|
options: options
|
|
52
56
|
)
|
|
@@ -89,7 +93,7 @@ module ModernTreasury
|
|
|
89
93
|
#
|
|
90
94
|
# @param name [String, nil] A nickname for the external account. This is only for internal usage and won't a
|
|
91
95
|
#
|
|
92
|
-
# @param party_address [ModernTreasury::Models::
|
|
96
|
+
# @param party_address [ModernTreasury::Models::AddressRequest]
|
|
93
97
|
#
|
|
94
98
|
# @param party_name [String] If this value isn't provided, it will be inherited from the counterparty's name.
|
|
95
99
|
#
|
|
@@ -116,12 +120,14 @@ module ModernTreasury
|
|
|
116
120
|
#
|
|
117
121
|
# list external accounts
|
|
118
122
|
#
|
|
119
|
-
# @overload list(after_cursor: nil, counterparty_id: nil, metadata: nil, party_name: nil, per_page: nil, request_options: {})
|
|
123
|
+
# @overload list(after_cursor: nil, counterparty_id: nil, external_id: nil, metadata: nil, party_name: nil, per_page: nil, request_options: {})
|
|
120
124
|
#
|
|
121
125
|
# @param after_cursor [String, nil]
|
|
122
126
|
#
|
|
123
127
|
# @param counterparty_id [String]
|
|
124
128
|
#
|
|
129
|
+
# @param external_id [String] An optional user-defined 180 character unique identifier.
|
|
130
|
+
#
|
|
125
131
|
# @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value
|
|
126
132
|
#
|
|
127
133
|
# @param party_name [String] Searches the ExternalAccount's party_name AND the Counterparty's party_name
|
|
@@ -46,7 +46,7 @@ module ModernTreasury
|
|
|
46
46
|
#
|
|
47
47
|
# @overload retrieve(id, internal_account_id:, request_options: {})
|
|
48
48
|
#
|
|
49
|
-
# @param id [String] Either the unique identifier of the balance report or latest for the latest
|
|
49
|
+
# @param id [String, Symbol, ModernTreasury::Models::InternalAccounts::BalanceReportRetrieveParams::ID] Either the unique identifier of the balance report or 'latest' for the latest ba
|
|
50
50
|
#
|
|
51
51
|
# @param internal_account_id [String]
|
|
52
52
|
#
|
|
@@ -112,7 +112,7 @@ module ModernTreasury
|
|
|
112
112
|
#
|
|
113
113
|
# @overload delete(id, internal_account_id:, request_options: {})
|
|
114
114
|
#
|
|
115
|
-
# @param id [String] Either the unique identifier of the balance report or latest for the latest
|
|
115
|
+
# @param id [String] Either the unique identifier of the balance report or 'latest' for the latest ba
|
|
116
116
|
#
|
|
117
117
|
# @param internal_account_id [String]
|
|
118
118
|
#
|