modern_treasury 0.1.0.pre.alpha.22 → 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 +38 -0
- data/README.md +1 -1
- data/lib/modern_treasury/client.rb +0 -12
- data/lib/modern_treasury/internal/transport/base_client.rb +1 -1
- data/lib/modern_treasury/internal/type/base_model.rb +4 -4
- 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 +144 -1505
- 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 +37 -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 +18 -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/internal_account.rb +3 -95
- 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/invoice.rb +3 -81
- 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 +9 -141
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +3 -182
- data/lib/modern_treasury/models/ledger_account_category.rb +3 -175
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +9 -5
- 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_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 +13 -102
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +24 -477
- data/lib/modern_treasury/models/payment_order_create_params.rb +24 -479
- data/lib/modern_treasury/models/payment_order_update_params.rb +21 -248
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +3 -232
- data/lib/modern_treasury/models/payment_reference.rb +7 -1
- data/lib/modern_treasury/models/return_list_params.rb +5 -6
- data/lib/modern_treasury/models/return_object.rb +7 -3
- data/lib/modern_treasury/models/routing_detail.rb +3 -93
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +3 -55
- data/lib/modern_treasury/models/transaction.rb +5 -73
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +0 -1
- data/lib/modern_treasury/models/virtual_account_create_params.rb +3 -117
- data/lib/modern_treasury/models.rb +31 -6
- 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.rb +34 -0
- data/lib/modern_treasury/resources/invoices.rb +2 -2
- data/lib/modern_treasury/resources/ledger_account_categories.rb +1 -1
- data/lib/modern_treasury/resources/ledger_accounts.rb +1 -1
- 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 +5 -5
- data/lib/modern_treasury/resources/returns.rb +1 -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 -6
- data/rbi/modern_treasury/client.rbi +0 -9
- data/rbi/modern_treasury/internal/transport/base_client.rbi +1 -1
- 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 +701 -3140
- 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 +47 -1718
- 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 +20 -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/internal_account.rbi +4 -115
- 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/invoice.rbi +3 -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 +12 -218
- data/rbi/modern_treasury/models/ledger_account_balance_monitor.rbi +4 -303
- data/rbi/modern_treasury/models/ledger_account_category.rbi +4 -301
- data/rbi/modern_treasury/models/ledger_account_category_list_params.rbi +14 -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_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 +43 -159
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +28 -882
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +28 -887
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +24 -460
- data/rbi/modern_treasury/models/payment_orders/reversal_create_params.rbi +4 -415
- data/rbi/modern_treasury/models/payment_reference.rbi +35 -5
- data/rbi/modern_treasury/models/return_list_params.rbi +6 -11
- data/rbi/modern_treasury/models/return_object.rbi +35 -12
- data/rbi/modern_treasury/models/routing_detail.rbi +4 -113
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +4 -87
- data/rbi/modern_treasury/models/transaction.rbi +14 -103
- data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +0 -5
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +4 -203
- data/rbi/modern_treasury/models.rbi +36 -6
- data/rbi/modern_treasury/resources/bulk_requests.rbi +2 -2
- 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.rbi +24 -0
- data/rbi/modern_treasury/resources/invoices.rbi +2 -8
- data/rbi/modern_treasury/resources/ledger_account_categories.rbi +7 -3
- data/rbi/modern_treasury/resources/ledger_accounts.rbi +1 -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 +5 -8
- data/rbi/modern_treasury/resources/returns.rbi +2 -2
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +1 -2
- data/sig/modern_treasury/client.rbs +0 -6
- data/sig/modern_treasury/internal/transport/base_client.rbs +1 -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 +88 -1089
- 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 +49 -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 +23 -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/internal_account.rbs +4 -71
- 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/invoice.rbs +4 -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 +12 -123
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +4 -142
- data/sig/modern_treasury/models/ledger_account_category.rbs +4 -142
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +5 -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_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 +22 -69
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +35 -380
- data/sig/modern_treasury/models/payment_order_create_params.rbs +35 -384
- data/sig/modern_treasury/models/payment_order_update_params.rbs +29 -207
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +6 -173
- data/sig/modern_treasury/models/payment_reference.rbs +14 -2
- data/sig/modern_treasury/models/return_list_params.rbs +1 -6
- data/sig/modern_treasury/models/return_object.rbs +15 -10
- data/sig/modern_treasury/models/routing_detail.rbs +4 -71
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +6 -48
- data/sig/modern_treasury/models/transaction.rbs +8 -53
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +0 -2
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +6 -95
- data/sig/modern_treasury/models.rbs +30 -6
- 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.rbs +7 -0
- data/sig/modern_treasury/resources/invoices.rbs +2 -2
- data/sig/modern_treasury/resources/ledger_account_categories.rbs +1 -1
- data/sig/modern_treasury/resources/ledger_accounts.rbs +1 -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 +5 -5
- data/sig/modern_treasury/resources/virtual_accounts.rbs +1 -1
- metadata +52 -22
- 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 -14
- data/lib/modern_treasury/resources/ledgerable_events.rb +0 -14
- data/lib/modern_treasury/resources/paper_items.rb +0 -68
- 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 -12
- data/rbi/modern_treasury/resources/ledgerable_events.rbi +0 -12
- data/rbi/modern_treasury/resources/paper_items.rbi +0 -51
- 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 -7
- data/sig/modern_treasury/resources/ledgerable_events.rbs +0 -7
- data/sig/modern_treasury/resources/paper_items.rbs +0 -21
|
@@ -27,7 +27,8 @@ module ModernTreasury
|
|
|
27
27
|
|
|
28
28
|
# For example, if you want the balances as of a particular time (ISO8601), the
|
|
29
29
|
# encoded query string would be `balances%5Beffective_at%5D=2000-12-31T12:00:00Z`.
|
|
30
|
-
# The balances as of a time are inclusive of entries with that exact time
|
|
30
|
+
# The balances as of a time are inclusive of entries with that exact time, but
|
|
31
|
+
# with respect to the ledger accounts that are currently present in the category.
|
|
31
32
|
sig do
|
|
32
33
|
returns(
|
|
33
34
|
T.nilable(ModernTreasury::LedgerAccountCategoryListParams::Balances)
|
|
@@ -78,10 +79,12 @@ module ModernTreasury
|
|
|
78
79
|
sig { params(metadata: T::Hash[Symbol, String]).void }
|
|
79
80
|
attr_writer :metadata
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
# If you have specific names to retrieve in bulk, you can pass them as query
|
|
83
|
+
# parameters delimited with `name[]=`, for example `?name[]=123&name[]=abc`.
|
|
84
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
82
85
|
attr_reader :name
|
|
83
86
|
|
|
84
|
-
sig { params(name: String).void }
|
|
87
|
+
sig { params(name: T::Array[String]).void }
|
|
85
88
|
attr_writer :name
|
|
86
89
|
|
|
87
90
|
# Query categories that are nested underneath a parent category
|
|
@@ -108,7 +111,7 @@ module ModernTreasury
|
|
|
108
111
|
ledger_account_id: String,
|
|
109
112
|
ledger_id: String,
|
|
110
113
|
metadata: T::Hash[Symbol, String],
|
|
111
|
-
name: String,
|
|
114
|
+
name: T::Array[String],
|
|
112
115
|
parent_ledger_account_category_id: String,
|
|
113
116
|
per_page: Integer,
|
|
114
117
|
request_options: ModernTreasury::RequestOptions::OrHash
|
|
@@ -121,7 +124,8 @@ module ModernTreasury
|
|
|
121
124
|
after_cursor: nil,
|
|
122
125
|
# For example, if you want the balances as of a particular time (ISO8601), the
|
|
123
126
|
# encoded query string would be `balances%5Beffective_at%5D=2000-12-31T12:00:00Z`.
|
|
124
|
-
# The balances as of a time are inclusive of entries with that exact time
|
|
127
|
+
# The balances as of a time are inclusive of entries with that exact time, but
|
|
128
|
+
# with respect to the ledger accounts that are currently present in the category.
|
|
125
129
|
balances: nil,
|
|
126
130
|
currency: nil,
|
|
127
131
|
external_id: nil,
|
|
@@ -133,6 +137,8 @@ module ModernTreasury
|
|
|
133
137
|
# `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query
|
|
134
138
|
# parameters.
|
|
135
139
|
metadata: nil,
|
|
140
|
+
# If you have specific names to retrieve in bulk, you can pass them as query
|
|
141
|
+
# parameters delimited with `name[]=`, for example `?name[]=123&name[]=abc`.
|
|
136
142
|
name: nil,
|
|
137
143
|
# Query categories that are nested underneath a parent category
|
|
138
144
|
parent_ledger_account_category_id: nil,
|
|
@@ -152,7 +158,7 @@ module ModernTreasury
|
|
|
152
158
|
ledger_account_id: String,
|
|
153
159
|
ledger_id: String,
|
|
154
160
|
metadata: T::Hash[Symbol, String],
|
|
155
|
-
name: String,
|
|
161
|
+
name: T::Array[String],
|
|
156
162
|
parent_ledger_account_category_id: String,
|
|
157
163
|
per_page: Integer,
|
|
158
164
|
request_options: ModernTreasury::RequestOptions
|
|
@@ -179,7 +185,8 @@ module ModernTreasury
|
|
|
179
185
|
|
|
180
186
|
# For example, if you want the balances as of a particular time (ISO8601), the
|
|
181
187
|
# encoded query string would be `balances%5Beffective_at%5D=2000-12-31T12:00:00Z`.
|
|
182
|
-
# The balances as of a time are inclusive of entries with that exact time
|
|
188
|
+
# The balances as of a time are inclusive of entries with that exact time, but
|
|
189
|
+
# with respect to the ledger accounts that are currently present in the category.
|
|
183
190
|
sig { params(effective_at: Time).returns(T.attached_class) }
|
|
184
191
|
def self.new(effective_at: nil)
|
|
185
192
|
end
|
|
@@ -16,7 +16,8 @@ module ModernTreasury
|
|
|
16
16
|
|
|
17
17
|
# For example, if you want the balances as of a particular time (ISO8601), the
|
|
18
18
|
# encoded query string would be `balances%5Beffective_at%5D=2000-12-31T12:00:00Z`.
|
|
19
|
-
# The balances as of a time are inclusive of entries with that exact time
|
|
19
|
+
# The balances as of a time are inclusive of entries with that exact time, but
|
|
20
|
+
# with respect to the ledger accounts that are currently present in the category.
|
|
20
21
|
sig do
|
|
21
22
|
returns(
|
|
22
23
|
T.nilable(
|
|
@@ -44,7 +45,8 @@ module ModernTreasury
|
|
|
44
45
|
def self.new(
|
|
45
46
|
# For example, if you want the balances as of a particular time (ISO8601), the
|
|
46
47
|
# encoded query string would be `balances%5Beffective_at%5D=2000-12-31T12:00:00Z`.
|
|
47
|
-
# The balances as of a time are inclusive of entries with that exact time
|
|
48
|
+
# The balances as of a time are inclusive of entries with that exact time, but
|
|
49
|
+
# with respect to the ledger accounts that are currently present in the category.
|
|
48
50
|
balances: nil,
|
|
49
51
|
request_options: {}
|
|
50
52
|
)
|
|
@@ -85,7 +87,8 @@ module ModernTreasury
|
|
|
85
87
|
|
|
86
88
|
# For example, if you want the balances as of a particular time (ISO8601), the
|
|
87
89
|
# encoded query string would be `balances%5Beffective_at%5D=2000-12-31T12:00:00Z`.
|
|
88
|
-
# The balances as of a time are inclusive of entries with that exact time
|
|
90
|
+
# The balances as of a time are inclusive of entries with that exact time, but
|
|
91
|
+
# with respect to the ledger accounts that are currently present in the category.
|
|
89
92
|
sig do
|
|
90
93
|
params(as_of_date: Date, effective_at: Time).returns(T.attached_class)
|
|
91
94
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module ModernTreasury
|
|
4
4
|
module Models
|
|
5
|
-
class LedgerAccountCreateParams < ModernTreasury::
|
|
5
|
+
class LedgerAccountCreateParams < ModernTreasury::Models::LedgerAccountCreateRequest
|
|
6
6
|
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
7
7
|
include ModernTreasury::Internal::Type::RequestParameters
|
|
8
8
|
|
|
@@ -14,187 +14,19 @@ module ModernTreasury
|
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
# The currency of the ledger account.
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
attr_accessor :currency
|
|
20
|
-
|
|
21
|
-
# The id of the ledger that this account belongs to.
|
|
22
|
-
sig { returns(String) }
|
|
23
|
-
attr_accessor :ledger_id
|
|
24
|
-
|
|
25
|
-
# The name of the ledger account.
|
|
26
|
-
sig { returns(String) }
|
|
27
|
-
attr_accessor :name
|
|
28
|
-
|
|
29
|
-
# The normal balance of the ledger account.
|
|
30
|
-
sig { returns(ModernTreasury::TransactionDirection::OrSymbol) }
|
|
31
|
-
attr_accessor :normal_balance
|
|
32
|
-
|
|
33
|
-
# The currency exponent of the ledger account.
|
|
34
|
-
sig { returns(T.nilable(Integer)) }
|
|
35
|
-
attr_accessor :currency_exponent
|
|
36
|
-
|
|
37
|
-
# The description of the ledger account.
|
|
38
|
-
sig { returns(T.nilable(String)) }
|
|
39
|
-
attr_accessor :description
|
|
40
|
-
|
|
41
|
-
# The array of ledger account category ids that this ledger account should be a
|
|
42
|
-
# child of.
|
|
43
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
44
|
-
attr_reader :ledger_account_category_ids
|
|
45
|
-
|
|
46
|
-
sig { params(ledger_account_category_ids: T::Array[String]).void }
|
|
47
|
-
attr_writer :ledger_account_category_ids
|
|
48
|
-
|
|
49
|
-
# If the ledger account links to another object in Modern Treasury, the id will be
|
|
50
|
-
# populated here, otherwise null.
|
|
51
|
-
sig { returns(T.nilable(String)) }
|
|
52
|
-
attr_reader :ledgerable_id
|
|
53
|
-
|
|
54
|
-
sig { params(ledgerable_id: String).void }
|
|
55
|
-
attr_writer :ledgerable_id
|
|
56
|
-
|
|
57
|
-
# If the ledger account links to another object in Modern Treasury, the type will
|
|
58
|
-
# be populated here, otherwise null. The value is one of internal_account or
|
|
59
|
-
# external_account.
|
|
60
17
|
sig do
|
|
61
|
-
returns(
|
|
62
|
-
T.
|
|
63
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::OrSymbol
|
|
64
|
-
)
|
|
18
|
+
params(request_options: ModernTreasury::RequestOptions::OrHash).returns(
|
|
19
|
+
T.attached_class
|
|
65
20
|
)
|
|
66
21
|
end
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
sig do
|
|
70
|
-
params(
|
|
71
|
-
ledgerable_type:
|
|
72
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::OrSymbol
|
|
73
|
-
).void
|
|
74
|
-
end
|
|
75
|
-
attr_writer :ledgerable_type
|
|
76
|
-
|
|
77
|
-
# Additional data represented as key-value pairs. Both the key and value must be
|
|
78
|
-
# strings.
|
|
79
|
-
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
80
|
-
attr_reader :metadata
|
|
81
|
-
|
|
82
|
-
sig { params(metadata: T::Hash[Symbol, String]).void }
|
|
83
|
-
attr_writer :metadata
|
|
84
|
-
|
|
85
|
-
sig do
|
|
86
|
-
params(
|
|
87
|
-
currency: String,
|
|
88
|
-
ledger_id: String,
|
|
89
|
-
name: String,
|
|
90
|
-
normal_balance: ModernTreasury::TransactionDirection::OrSymbol,
|
|
91
|
-
currency_exponent: T.nilable(Integer),
|
|
92
|
-
description: T.nilable(String),
|
|
93
|
-
ledger_account_category_ids: T::Array[String],
|
|
94
|
-
ledgerable_id: String,
|
|
95
|
-
ledgerable_type:
|
|
96
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::OrSymbol,
|
|
97
|
-
metadata: T::Hash[Symbol, String],
|
|
98
|
-
request_options: ModernTreasury::RequestOptions::OrHash
|
|
99
|
-
).returns(T.attached_class)
|
|
100
|
-
end
|
|
101
|
-
def self.new(
|
|
102
|
-
# The currency of the ledger account.
|
|
103
|
-
currency:,
|
|
104
|
-
# The id of the ledger that this account belongs to.
|
|
105
|
-
ledger_id:,
|
|
106
|
-
# The name of the ledger account.
|
|
107
|
-
name:,
|
|
108
|
-
# The normal balance of the ledger account.
|
|
109
|
-
normal_balance:,
|
|
110
|
-
# The currency exponent of the ledger account.
|
|
111
|
-
currency_exponent: nil,
|
|
112
|
-
# The description of the ledger account.
|
|
113
|
-
description: nil,
|
|
114
|
-
# The array of ledger account category ids that this ledger account should be a
|
|
115
|
-
# child of.
|
|
116
|
-
ledger_account_category_ids: nil,
|
|
117
|
-
# If the ledger account links to another object in Modern Treasury, the id will be
|
|
118
|
-
# populated here, otherwise null.
|
|
119
|
-
ledgerable_id: nil,
|
|
120
|
-
# If the ledger account links to another object in Modern Treasury, the type will
|
|
121
|
-
# be populated here, otherwise null. The value is one of internal_account or
|
|
122
|
-
# external_account.
|
|
123
|
-
ledgerable_type: nil,
|
|
124
|
-
# Additional data represented as key-value pairs. Both the key and value must be
|
|
125
|
-
# strings.
|
|
126
|
-
metadata: nil,
|
|
127
|
-
request_options: {}
|
|
128
|
-
)
|
|
22
|
+
def self.new(request_options: {})
|
|
129
23
|
end
|
|
130
24
|
|
|
131
25
|
sig do
|
|
132
|
-
override.returns(
|
|
133
|
-
{
|
|
134
|
-
currency: String,
|
|
135
|
-
ledger_id: String,
|
|
136
|
-
name: String,
|
|
137
|
-
normal_balance: ModernTreasury::TransactionDirection::OrSymbol,
|
|
138
|
-
currency_exponent: T.nilable(Integer),
|
|
139
|
-
description: T.nilable(String),
|
|
140
|
-
ledger_account_category_ids: T::Array[String],
|
|
141
|
-
ledgerable_id: String,
|
|
142
|
-
ledgerable_type:
|
|
143
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::OrSymbol,
|
|
144
|
-
metadata: T::Hash[Symbol, String],
|
|
145
|
-
request_options: ModernTreasury::RequestOptions
|
|
146
|
-
}
|
|
147
|
-
)
|
|
26
|
+
override.returns({ request_options: ModernTreasury::RequestOptions })
|
|
148
27
|
end
|
|
149
28
|
def to_hash
|
|
150
29
|
end
|
|
151
|
-
|
|
152
|
-
# If the ledger account links to another object in Modern Treasury, the type will
|
|
153
|
-
# be populated here, otherwise null. The value is one of internal_account or
|
|
154
|
-
# external_account.
|
|
155
|
-
module LedgerableType
|
|
156
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
157
|
-
|
|
158
|
-
TaggedSymbol =
|
|
159
|
-
T.type_alias do
|
|
160
|
-
T.all(
|
|
161
|
-
Symbol,
|
|
162
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType
|
|
163
|
-
)
|
|
164
|
-
end
|
|
165
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
166
|
-
|
|
167
|
-
COUNTERPARTY =
|
|
168
|
-
T.let(
|
|
169
|
-
:counterparty,
|
|
170
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::TaggedSymbol
|
|
171
|
-
)
|
|
172
|
-
EXTERNAL_ACCOUNT =
|
|
173
|
-
T.let(
|
|
174
|
-
:external_account,
|
|
175
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::TaggedSymbol
|
|
176
|
-
)
|
|
177
|
-
INTERNAL_ACCOUNT =
|
|
178
|
-
T.let(
|
|
179
|
-
:internal_account,
|
|
180
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::TaggedSymbol
|
|
181
|
-
)
|
|
182
|
-
VIRTUAL_ACCOUNT =
|
|
183
|
-
T.let(
|
|
184
|
-
:virtual_account,
|
|
185
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::TaggedSymbol
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
sig do
|
|
189
|
-
override.returns(
|
|
190
|
-
T::Array[
|
|
191
|
-
ModernTreasury::LedgerAccountCreateParams::LedgerableType::TaggedSymbol
|
|
192
|
-
]
|
|
193
|
-
)
|
|
194
|
-
end
|
|
195
|
-
def self.values
|
|
196
|
-
end
|
|
197
|
-
end
|
|
198
30
|
end
|
|
199
31
|
end
|
|
200
32
|
end
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
class LedgerAccountCreateRequest < ModernTreasury::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
ModernTreasury::LedgerAccountCreateRequest,
|
|
10
|
+
ModernTreasury::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The currency of the ledger account.
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :currency
|
|
17
|
+
|
|
18
|
+
# The id of the ledger that this account belongs to.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :ledger_id
|
|
21
|
+
|
|
22
|
+
# The name of the ledger account.
|
|
23
|
+
sig { returns(String) }
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
26
|
+
# The normal balance of the ledger account.
|
|
27
|
+
sig { returns(ModernTreasury::TransactionDirection::OrSymbol) }
|
|
28
|
+
attr_accessor :normal_balance
|
|
29
|
+
|
|
30
|
+
# The currency exponent of the ledger account.
|
|
31
|
+
sig { returns(T.nilable(Integer)) }
|
|
32
|
+
attr_accessor :currency_exponent
|
|
33
|
+
|
|
34
|
+
# The description of the ledger account.
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_accessor :description
|
|
37
|
+
|
|
38
|
+
# The array of ledger account category ids that this ledger account should be a
|
|
39
|
+
# child of.
|
|
40
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
41
|
+
attr_reader :ledger_account_category_ids
|
|
42
|
+
|
|
43
|
+
sig { params(ledger_account_category_ids: T::Array[String]).void }
|
|
44
|
+
attr_writer :ledger_account_category_ids
|
|
45
|
+
|
|
46
|
+
# If the ledger account links to another object in Modern Treasury, the id will be
|
|
47
|
+
# populated here, otherwise null.
|
|
48
|
+
sig { returns(T.nilable(String)) }
|
|
49
|
+
attr_reader :ledgerable_id
|
|
50
|
+
|
|
51
|
+
sig { params(ledgerable_id: String).void }
|
|
52
|
+
attr_writer :ledgerable_id
|
|
53
|
+
|
|
54
|
+
# If the ledger account links to another object in Modern Treasury, the type will
|
|
55
|
+
# be populated here, otherwise null. The value is one of internal_account or
|
|
56
|
+
# external_account.
|
|
57
|
+
sig do
|
|
58
|
+
returns(
|
|
59
|
+
T.nilable(
|
|
60
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::OrSymbol
|
|
61
|
+
)
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
attr_reader :ledgerable_type
|
|
65
|
+
|
|
66
|
+
sig do
|
|
67
|
+
params(
|
|
68
|
+
ledgerable_type:
|
|
69
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::OrSymbol
|
|
70
|
+
).void
|
|
71
|
+
end
|
|
72
|
+
attr_writer :ledgerable_type
|
|
73
|
+
|
|
74
|
+
# Additional data represented as key-value pairs. Both the key and value must be
|
|
75
|
+
# strings.
|
|
76
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
77
|
+
attr_reader :metadata
|
|
78
|
+
|
|
79
|
+
sig { params(metadata: T::Hash[Symbol, String]).void }
|
|
80
|
+
attr_writer :metadata
|
|
81
|
+
|
|
82
|
+
sig do
|
|
83
|
+
params(
|
|
84
|
+
currency: String,
|
|
85
|
+
ledger_id: String,
|
|
86
|
+
name: String,
|
|
87
|
+
normal_balance: ModernTreasury::TransactionDirection::OrSymbol,
|
|
88
|
+
currency_exponent: T.nilable(Integer),
|
|
89
|
+
description: T.nilable(String),
|
|
90
|
+
ledger_account_category_ids: T::Array[String],
|
|
91
|
+
ledgerable_id: String,
|
|
92
|
+
ledgerable_type:
|
|
93
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::OrSymbol,
|
|
94
|
+
metadata: T::Hash[Symbol, String]
|
|
95
|
+
).returns(T.attached_class)
|
|
96
|
+
end
|
|
97
|
+
def self.new(
|
|
98
|
+
# The currency of the ledger account.
|
|
99
|
+
currency:,
|
|
100
|
+
# The id of the ledger that this account belongs to.
|
|
101
|
+
ledger_id:,
|
|
102
|
+
# The name of the ledger account.
|
|
103
|
+
name:,
|
|
104
|
+
# The normal balance of the ledger account.
|
|
105
|
+
normal_balance:,
|
|
106
|
+
# The currency exponent of the ledger account.
|
|
107
|
+
currency_exponent: nil,
|
|
108
|
+
# The description of the ledger account.
|
|
109
|
+
description: nil,
|
|
110
|
+
# The array of ledger account category ids that this ledger account should be a
|
|
111
|
+
# child of.
|
|
112
|
+
ledger_account_category_ids: nil,
|
|
113
|
+
# If the ledger account links to another object in Modern Treasury, the id will be
|
|
114
|
+
# populated here, otherwise null.
|
|
115
|
+
ledgerable_id: nil,
|
|
116
|
+
# If the ledger account links to another object in Modern Treasury, the type will
|
|
117
|
+
# be populated here, otherwise null. The value is one of internal_account or
|
|
118
|
+
# external_account.
|
|
119
|
+
ledgerable_type: nil,
|
|
120
|
+
# Additional data represented as key-value pairs. Both the key and value must be
|
|
121
|
+
# strings.
|
|
122
|
+
metadata: nil
|
|
123
|
+
)
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
sig do
|
|
127
|
+
override.returns(
|
|
128
|
+
{
|
|
129
|
+
currency: String,
|
|
130
|
+
ledger_id: String,
|
|
131
|
+
name: String,
|
|
132
|
+
normal_balance: ModernTreasury::TransactionDirection::OrSymbol,
|
|
133
|
+
currency_exponent: T.nilable(Integer),
|
|
134
|
+
description: T.nilable(String),
|
|
135
|
+
ledger_account_category_ids: T::Array[String],
|
|
136
|
+
ledgerable_id: String,
|
|
137
|
+
ledgerable_type:
|
|
138
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::OrSymbol,
|
|
139
|
+
metadata: T::Hash[Symbol, String]
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
end
|
|
143
|
+
def to_hash
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# If the ledger account links to another object in Modern Treasury, the type will
|
|
147
|
+
# be populated here, otherwise null. The value is one of internal_account or
|
|
148
|
+
# external_account.
|
|
149
|
+
module LedgerableType
|
|
150
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
151
|
+
|
|
152
|
+
TaggedSymbol =
|
|
153
|
+
T.type_alias do
|
|
154
|
+
T.all(
|
|
155
|
+
Symbol,
|
|
156
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType
|
|
157
|
+
)
|
|
158
|
+
end
|
|
159
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
160
|
+
|
|
161
|
+
COUNTERPARTY =
|
|
162
|
+
T.let(
|
|
163
|
+
:counterparty,
|
|
164
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::TaggedSymbol
|
|
165
|
+
)
|
|
166
|
+
EXTERNAL_ACCOUNT =
|
|
167
|
+
T.let(
|
|
168
|
+
:external_account,
|
|
169
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::TaggedSymbol
|
|
170
|
+
)
|
|
171
|
+
INTERNAL_ACCOUNT =
|
|
172
|
+
T.let(
|
|
173
|
+
:internal_account,
|
|
174
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::TaggedSymbol
|
|
175
|
+
)
|
|
176
|
+
VIRTUAL_ACCOUNT =
|
|
177
|
+
T.let(
|
|
178
|
+
:virtual_account,
|
|
179
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::TaggedSymbol
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
sig do
|
|
183
|
+
override.returns(
|
|
184
|
+
T::Array[
|
|
185
|
+
ModernTreasury::LedgerAccountCreateRequest::LedgerableType::TaggedSymbol
|
|
186
|
+
]
|
|
187
|
+
)
|
|
188
|
+
end
|
|
189
|
+
def self.values
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
end
|