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
|
@@ -17,6 +17,13 @@ module ModernTreasury
|
|
|
17
17
|
sig { returns(String) }
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
+
# System-set reason why the ledger transaction was archived; currently only
|
|
21
|
+
# 'balance_lock_failure' for transactions that violated balance constraints. Only
|
|
22
|
+
# populated when archive_on_balance_lock_failure is true and a balance lock
|
|
23
|
+
# violation occurs, otherwise null.
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
attr_accessor :archived_reason
|
|
26
|
+
|
|
20
27
|
sig { returns(Time) }
|
|
21
28
|
attr_accessor :created_at
|
|
22
29
|
|
|
@@ -120,6 +127,7 @@ module ModernTreasury
|
|
|
120
127
|
sig do
|
|
121
128
|
params(
|
|
122
129
|
id: String,
|
|
130
|
+
archived_reason: T.nilable(String),
|
|
123
131
|
created_at: Time,
|
|
124
132
|
description: T.nilable(String),
|
|
125
133
|
effective_at: Time,
|
|
@@ -150,6 +158,11 @@ module ModernTreasury
|
|
|
150
158
|
end
|
|
151
159
|
def self.new(
|
|
152
160
|
id:,
|
|
161
|
+
# System-set reason why the ledger transaction was archived; currently only
|
|
162
|
+
# 'balance_lock_failure' for transactions that violated balance constraints. Only
|
|
163
|
+
# populated when archive_on_balance_lock_failure is true and a balance lock
|
|
164
|
+
# violation occurs, otherwise null.
|
|
165
|
+
archived_reason:,
|
|
153
166
|
created_at:,
|
|
154
167
|
# An optional description for internal use.
|
|
155
168
|
description:,
|
|
@@ -203,6 +216,7 @@ module ModernTreasury
|
|
|
203
216
|
override.returns(
|
|
204
217
|
{
|
|
205
218
|
id: String,
|
|
219
|
+
archived_reason: T.nilable(String),
|
|
206
220
|
created_at: Time,
|
|
207
221
|
description: T.nilable(String),
|
|
208
222
|
effective_at: Time,
|
|
@@ -305,21 +319,13 @@ module ModernTreasury
|
|
|
305
319
|
# and posted outgoing amounts. Please see
|
|
306
320
|
# https://docs.moderntreasury.com/docs/transaction-status-and-balances for more
|
|
307
321
|
# details.
|
|
308
|
-
sig
|
|
309
|
-
returns(
|
|
310
|
-
T.nilable(
|
|
311
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances
|
|
312
|
-
)
|
|
313
|
-
)
|
|
314
|
-
end
|
|
322
|
+
sig { returns(T.nilable(ModernTreasury::LedgerBalances)) }
|
|
315
323
|
attr_reader :resulting_ledger_account_balances
|
|
316
324
|
|
|
317
325
|
sig do
|
|
318
326
|
params(
|
|
319
327
|
resulting_ledger_account_balances:
|
|
320
|
-
T.nilable(
|
|
321
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::OrHash
|
|
322
|
-
)
|
|
328
|
+
T.nilable(ModernTreasury::LedgerBalances::OrHash)
|
|
323
329
|
).void
|
|
324
330
|
end
|
|
325
331
|
attr_writer :resulting_ledger_account_balances
|
|
@@ -348,9 +354,7 @@ module ModernTreasury
|
|
|
348
354
|
metadata: T::Hash[Symbol, String],
|
|
349
355
|
object: String,
|
|
350
356
|
resulting_ledger_account_balances:
|
|
351
|
-
T.nilable(
|
|
352
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::OrHash
|
|
353
|
-
),
|
|
357
|
+
T.nilable(ModernTreasury::LedgerBalances::OrHash),
|
|
354
358
|
status:
|
|
355
359
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status::OrSymbol
|
|
356
360
|
).returns(T.attached_class)
|
|
@@ -416,9 +420,7 @@ module ModernTreasury
|
|
|
416
420
|
metadata: T::Hash[Symbol, String],
|
|
417
421
|
object: String,
|
|
418
422
|
resulting_ledger_account_balances:
|
|
419
|
-
T.nilable(
|
|
420
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances
|
|
421
|
-
),
|
|
423
|
+
T.nilable(ModernTreasury::LedgerBalances),
|
|
422
424
|
status:
|
|
423
425
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status::TaggedSymbol
|
|
424
426
|
}
|
|
@@ -427,301 +429,6 @@ module ModernTreasury
|
|
|
427
429
|
def to_hash
|
|
428
430
|
end
|
|
429
431
|
|
|
430
|
-
class ResultingLedgerAccountBalances < ModernTreasury::Internal::Type::BaseModel
|
|
431
|
-
OrHash =
|
|
432
|
-
T.type_alias do
|
|
433
|
-
T.any(
|
|
434
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances,
|
|
435
|
-
ModernTreasury::Internal::AnyHash
|
|
436
|
-
)
|
|
437
|
-
end
|
|
438
|
-
|
|
439
|
-
# The available_balance is the sum of all posted inbound entries and pending
|
|
440
|
-
# outbound entries. For credit normal, available_amount = posted_credits -
|
|
441
|
-
# pending_debits; for debit normal, available_amount = posted_debits -
|
|
442
|
-
# pending_credits.
|
|
443
|
-
sig do
|
|
444
|
-
returns(
|
|
445
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance
|
|
446
|
-
)
|
|
447
|
-
end
|
|
448
|
-
attr_reader :available_balance
|
|
449
|
-
|
|
450
|
-
sig do
|
|
451
|
-
params(
|
|
452
|
-
available_balance:
|
|
453
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance::OrHash
|
|
454
|
-
).void
|
|
455
|
-
end
|
|
456
|
-
attr_writer :available_balance
|
|
457
|
-
|
|
458
|
-
# The pending_balance is the sum of all pending and posted entries.
|
|
459
|
-
sig do
|
|
460
|
-
returns(
|
|
461
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance
|
|
462
|
-
)
|
|
463
|
-
end
|
|
464
|
-
attr_reader :pending_balance
|
|
465
|
-
|
|
466
|
-
sig do
|
|
467
|
-
params(
|
|
468
|
-
pending_balance:
|
|
469
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance::OrHash
|
|
470
|
-
).void
|
|
471
|
-
end
|
|
472
|
-
attr_writer :pending_balance
|
|
473
|
-
|
|
474
|
-
# The posted_balance is the sum of all posted entries.
|
|
475
|
-
sig do
|
|
476
|
-
returns(
|
|
477
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance
|
|
478
|
-
)
|
|
479
|
-
end
|
|
480
|
-
attr_reader :posted_balance
|
|
481
|
-
|
|
482
|
-
sig do
|
|
483
|
-
params(
|
|
484
|
-
posted_balance:
|
|
485
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance::OrHash
|
|
486
|
-
).void
|
|
487
|
-
end
|
|
488
|
-
attr_writer :posted_balance
|
|
489
|
-
|
|
490
|
-
# The pending, posted, and available balances for this ledger entry's ledger
|
|
491
|
-
# account. The posted balance is the sum of all posted entries on the account. The
|
|
492
|
-
# pending balance is the sum of all pending and posted entries on the account. The
|
|
493
|
-
# available balance is the posted incoming entries minus the sum of the pending
|
|
494
|
-
# and posted outgoing amounts. Please see
|
|
495
|
-
# https://docs.moderntreasury.com/docs/transaction-status-and-balances for more
|
|
496
|
-
# details.
|
|
497
|
-
sig do
|
|
498
|
-
params(
|
|
499
|
-
available_balance:
|
|
500
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance::OrHash,
|
|
501
|
-
pending_balance:
|
|
502
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance::OrHash,
|
|
503
|
-
posted_balance:
|
|
504
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance::OrHash
|
|
505
|
-
).returns(T.attached_class)
|
|
506
|
-
end
|
|
507
|
-
def self.new(
|
|
508
|
-
# The available_balance is the sum of all posted inbound entries and pending
|
|
509
|
-
# outbound entries. For credit normal, available_amount = posted_credits -
|
|
510
|
-
# pending_debits; for debit normal, available_amount = posted_debits -
|
|
511
|
-
# pending_credits.
|
|
512
|
-
available_balance:,
|
|
513
|
-
# The pending_balance is the sum of all pending and posted entries.
|
|
514
|
-
pending_balance:,
|
|
515
|
-
# The posted_balance is the sum of all posted entries.
|
|
516
|
-
posted_balance:
|
|
517
|
-
)
|
|
518
|
-
end
|
|
519
|
-
|
|
520
|
-
sig do
|
|
521
|
-
override.returns(
|
|
522
|
-
{
|
|
523
|
-
available_balance:
|
|
524
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance,
|
|
525
|
-
pending_balance:
|
|
526
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance,
|
|
527
|
-
posted_balance:
|
|
528
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance
|
|
529
|
-
}
|
|
530
|
-
)
|
|
531
|
-
end
|
|
532
|
-
def to_hash
|
|
533
|
-
end
|
|
534
|
-
|
|
535
|
-
class AvailableBalance < ModernTreasury::Internal::Type::BaseModel
|
|
536
|
-
OrHash =
|
|
537
|
-
T.type_alias do
|
|
538
|
-
T.any(
|
|
539
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance,
|
|
540
|
-
ModernTreasury::Internal::AnyHash
|
|
541
|
-
)
|
|
542
|
-
end
|
|
543
|
-
|
|
544
|
-
sig { returns(Integer) }
|
|
545
|
-
attr_accessor :amount
|
|
546
|
-
|
|
547
|
-
sig { returns(Integer) }
|
|
548
|
-
attr_accessor :credits
|
|
549
|
-
|
|
550
|
-
# The currency of the ledger account.
|
|
551
|
-
sig { returns(String) }
|
|
552
|
-
attr_accessor :currency
|
|
553
|
-
|
|
554
|
-
# The currency exponent of the ledger account.
|
|
555
|
-
sig { returns(Integer) }
|
|
556
|
-
attr_accessor :currency_exponent
|
|
557
|
-
|
|
558
|
-
sig { returns(Integer) }
|
|
559
|
-
attr_accessor :debits
|
|
560
|
-
|
|
561
|
-
# The available_balance is the sum of all posted inbound entries and pending
|
|
562
|
-
# outbound entries. For credit normal, available_amount = posted_credits -
|
|
563
|
-
# pending_debits; for debit normal, available_amount = posted_debits -
|
|
564
|
-
# pending_credits.
|
|
565
|
-
sig do
|
|
566
|
-
params(
|
|
567
|
-
amount: Integer,
|
|
568
|
-
credits: Integer,
|
|
569
|
-
currency: String,
|
|
570
|
-
currency_exponent: Integer,
|
|
571
|
-
debits: Integer
|
|
572
|
-
).returns(T.attached_class)
|
|
573
|
-
end
|
|
574
|
-
def self.new(
|
|
575
|
-
amount:,
|
|
576
|
-
credits:,
|
|
577
|
-
# The currency of the ledger account.
|
|
578
|
-
currency:,
|
|
579
|
-
# The currency exponent of the ledger account.
|
|
580
|
-
currency_exponent:,
|
|
581
|
-
debits:
|
|
582
|
-
)
|
|
583
|
-
end
|
|
584
|
-
|
|
585
|
-
sig do
|
|
586
|
-
override.returns(
|
|
587
|
-
{
|
|
588
|
-
amount: Integer,
|
|
589
|
-
credits: Integer,
|
|
590
|
-
currency: String,
|
|
591
|
-
currency_exponent: Integer,
|
|
592
|
-
debits: Integer
|
|
593
|
-
}
|
|
594
|
-
)
|
|
595
|
-
end
|
|
596
|
-
def to_hash
|
|
597
|
-
end
|
|
598
|
-
end
|
|
599
|
-
|
|
600
|
-
class PendingBalance < ModernTreasury::Internal::Type::BaseModel
|
|
601
|
-
OrHash =
|
|
602
|
-
T.type_alias do
|
|
603
|
-
T.any(
|
|
604
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance,
|
|
605
|
-
ModernTreasury::Internal::AnyHash
|
|
606
|
-
)
|
|
607
|
-
end
|
|
608
|
-
|
|
609
|
-
sig { returns(Integer) }
|
|
610
|
-
attr_accessor :amount
|
|
611
|
-
|
|
612
|
-
sig { returns(Integer) }
|
|
613
|
-
attr_accessor :credits
|
|
614
|
-
|
|
615
|
-
# The currency of the ledger account.
|
|
616
|
-
sig { returns(String) }
|
|
617
|
-
attr_accessor :currency
|
|
618
|
-
|
|
619
|
-
# The currency exponent of the ledger account.
|
|
620
|
-
sig { returns(Integer) }
|
|
621
|
-
attr_accessor :currency_exponent
|
|
622
|
-
|
|
623
|
-
sig { returns(Integer) }
|
|
624
|
-
attr_accessor :debits
|
|
625
|
-
|
|
626
|
-
# The pending_balance is the sum of all pending and posted entries.
|
|
627
|
-
sig do
|
|
628
|
-
params(
|
|
629
|
-
amount: Integer,
|
|
630
|
-
credits: Integer,
|
|
631
|
-
currency: String,
|
|
632
|
-
currency_exponent: Integer,
|
|
633
|
-
debits: Integer
|
|
634
|
-
).returns(T.attached_class)
|
|
635
|
-
end
|
|
636
|
-
def self.new(
|
|
637
|
-
amount:,
|
|
638
|
-
credits:,
|
|
639
|
-
# The currency of the ledger account.
|
|
640
|
-
currency:,
|
|
641
|
-
# The currency exponent of the ledger account.
|
|
642
|
-
currency_exponent:,
|
|
643
|
-
debits:
|
|
644
|
-
)
|
|
645
|
-
end
|
|
646
|
-
|
|
647
|
-
sig do
|
|
648
|
-
override.returns(
|
|
649
|
-
{
|
|
650
|
-
amount: Integer,
|
|
651
|
-
credits: Integer,
|
|
652
|
-
currency: String,
|
|
653
|
-
currency_exponent: Integer,
|
|
654
|
-
debits: Integer
|
|
655
|
-
}
|
|
656
|
-
)
|
|
657
|
-
end
|
|
658
|
-
def to_hash
|
|
659
|
-
end
|
|
660
|
-
end
|
|
661
|
-
|
|
662
|
-
class PostedBalance < ModernTreasury::Internal::Type::BaseModel
|
|
663
|
-
OrHash =
|
|
664
|
-
T.type_alias do
|
|
665
|
-
T.any(
|
|
666
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance,
|
|
667
|
-
ModernTreasury::Internal::AnyHash
|
|
668
|
-
)
|
|
669
|
-
end
|
|
670
|
-
|
|
671
|
-
sig { returns(Integer) }
|
|
672
|
-
attr_accessor :amount
|
|
673
|
-
|
|
674
|
-
sig { returns(Integer) }
|
|
675
|
-
attr_accessor :credits
|
|
676
|
-
|
|
677
|
-
# The currency of the ledger account.
|
|
678
|
-
sig { returns(String) }
|
|
679
|
-
attr_accessor :currency
|
|
680
|
-
|
|
681
|
-
# The currency exponent of the ledger account.
|
|
682
|
-
sig { returns(Integer) }
|
|
683
|
-
attr_accessor :currency_exponent
|
|
684
|
-
|
|
685
|
-
sig { returns(Integer) }
|
|
686
|
-
attr_accessor :debits
|
|
687
|
-
|
|
688
|
-
# The posted_balance is the sum of all posted entries.
|
|
689
|
-
sig do
|
|
690
|
-
params(
|
|
691
|
-
amount: Integer,
|
|
692
|
-
credits: Integer,
|
|
693
|
-
currency: String,
|
|
694
|
-
currency_exponent: Integer,
|
|
695
|
-
debits: Integer
|
|
696
|
-
).returns(T.attached_class)
|
|
697
|
-
end
|
|
698
|
-
def self.new(
|
|
699
|
-
amount:,
|
|
700
|
-
credits:,
|
|
701
|
-
# The currency of the ledger account.
|
|
702
|
-
currency:,
|
|
703
|
-
# The currency exponent of the ledger account.
|
|
704
|
-
currency_exponent:,
|
|
705
|
-
debits:
|
|
706
|
-
)
|
|
707
|
-
end
|
|
708
|
-
|
|
709
|
-
sig do
|
|
710
|
-
override.returns(
|
|
711
|
-
{
|
|
712
|
-
amount: Integer,
|
|
713
|
-
credits: Integer,
|
|
714
|
-
currency: String,
|
|
715
|
-
currency_exponent: Integer,
|
|
716
|
-
debits: Integer
|
|
717
|
-
}
|
|
718
|
-
)
|
|
719
|
-
end
|
|
720
|
-
def to_hash
|
|
721
|
-
end
|
|
722
|
-
end
|
|
723
|
-
end
|
|
724
|
-
|
|
725
432
|
# Equal to the state of the ledger transaction when the ledger entry was created.
|
|
726
433
|
# One of `pending`, `posted`, or `archived`.
|
|
727
434
|
module Status
|
|
@@ -789,11 +496,6 @@ module ModernTreasury
|
|
|
789
496
|
:incoming_payment_detail,
|
|
790
497
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerableType::TaggedSymbol
|
|
791
498
|
)
|
|
792
|
-
PAPER_ITEM =
|
|
793
|
-
T.let(
|
|
794
|
-
:paper_item,
|
|
795
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerableType::TaggedSymbol
|
|
796
|
-
)
|
|
797
499
|
PAYMENT_ORDER =
|
|
798
500
|
T.let(
|
|
799
501
|
:payment_order,
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
class LegalEntityAddressCreateRequest < ModernTreasury::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
ModernTreasury::LegalEntityAddressCreateRequest,
|
|
10
|
+
ModernTreasury::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Country code conforms to [ISO 3166-1 alpha-2]
|
|
15
|
+
sig { returns(T.nilable(String)) }
|
|
16
|
+
attr_accessor :country
|
|
17
|
+
|
|
18
|
+
sig { returns(T.nilable(String)) }
|
|
19
|
+
attr_accessor :line1
|
|
20
|
+
|
|
21
|
+
# Locality or City.
|
|
22
|
+
sig { returns(T.nilable(String)) }
|
|
23
|
+
attr_accessor :locality
|
|
24
|
+
|
|
25
|
+
# The postal code of the address.
|
|
26
|
+
sig { returns(T.nilable(String)) }
|
|
27
|
+
attr_accessor :postal_code
|
|
28
|
+
|
|
29
|
+
# Region or State.
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
attr_accessor :region
|
|
32
|
+
|
|
33
|
+
# The types of this address.
|
|
34
|
+
sig do
|
|
35
|
+
returns(
|
|
36
|
+
T.nilable(
|
|
37
|
+
T::Array[
|
|
38
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::OrSymbol
|
|
39
|
+
]
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
attr_reader :address_types
|
|
44
|
+
|
|
45
|
+
sig do
|
|
46
|
+
params(
|
|
47
|
+
address_types:
|
|
48
|
+
T::Array[
|
|
49
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::OrSymbol
|
|
50
|
+
]
|
|
51
|
+
).void
|
|
52
|
+
end
|
|
53
|
+
attr_writer :address_types
|
|
54
|
+
|
|
55
|
+
sig { returns(T.nilable(String)) }
|
|
56
|
+
attr_accessor :line2
|
|
57
|
+
|
|
58
|
+
sig do
|
|
59
|
+
params(
|
|
60
|
+
country: T.nilable(String),
|
|
61
|
+
line1: T.nilable(String),
|
|
62
|
+
locality: T.nilable(String),
|
|
63
|
+
postal_code: T.nilable(String),
|
|
64
|
+
region: T.nilable(String),
|
|
65
|
+
address_types:
|
|
66
|
+
T::Array[
|
|
67
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::OrSymbol
|
|
68
|
+
],
|
|
69
|
+
line2: T.nilable(String)
|
|
70
|
+
).returns(T.attached_class)
|
|
71
|
+
end
|
|
72
|
+
def self.new(
|
|
73
|
+
# Country code conforms to [ISO 3166-1 alpha-2]
|
|
74
|
+
country:,
|
|
75
|
+
line1:,
|
|
76
|
+
# Locality or City.
|
|
77
|
+
locality:,
|
|
78
|
+
# The postal code of the address.
|
|
79
|
+
postal_code:,
|
|
80
|
+
# Region or State.
|
|
81
|
+
region:,
|
|
82
|
+
# The types of this address.
|
|
83
|
+
address_types: nil,
|
|
84
|
+
line2: nil
|
|
85
|
+
)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
sig do
|
|
89
|
+
override.returns(
|
|
90
|
+
{
|
|
91
|
+
country: T.nilable(String),
|
|
92
|
+
line1: T.nilable(String),
|
|
93
|
+
locality: T.nilable(String),
|
|
94
|
+
postal_code: T.nilable(String),
|
|
95
|
+
region: T.nilable(String),
|
|
96
|
+
address_types:
|
|
97
|
+
T::Array[
|
|
98
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::OrSymbol
|
|
99
|
+
],
|
|
100
|
+
line2: T.nilable(String)
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
end
|
|
104
|
+
def to_hash
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
module AddressType
|
|
108
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
109
|
+
|
|
110
|
+
TaggedSymbol =
|
|
111
|
+
T.type_alias do
|
|
112
|
+
T.all(
|
|
113
|
+
Symbol,
|
|
114
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType
|
|
115
|
+
)
|
|
116
|
+
end
|
|
117
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
118
|
+
|
|
119
|
+
BUSINESS =
|
|
120
|
+
T.let(
|
|
121
|
+
:business,
|
|
122
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::TaggedSymbol
|
|
123
|
+
)
|
|
124
|
+
MAILING =
|
|
125
|
+
T.let(
|
|
126
|
+
:mailing,
|
|
127
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::TaggedSymbol
|
|
128
|
+
)
|
|
129
|
+
OTHER =
|
|
130
|
+
T.let(
|
|
131
|
+
:other,
|
|
132
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::TaggedSymbol
|
|
133
|
+
)
|
|
134
|
+
PO_BOX =
|
|
135
|
+
T.let(
|
|
136
|
+
:po_box,
|
|
137
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::TaggedSymbol
|
|
138
|
+
)
|
|
139
|
+
RESIDENTIAL =
|
|
140
|
+
T.let(
|
|
141
|
+
:residential,
|
|
142
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::TaggedSymbol
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
sig do
|
|
146
|
+
override.returns(
|
|
147
|
+
T::Array[
|
|
148
|
+
ModernTreasury::LegalEntityAddressCreateRequest::AddressType::TaggedSymbol
|
|
149
|
+
]
|
|
150
|
+
)
|
|
151
|
+
end
|
|
152
|
+
def self.values
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
|
@@ -1086,6 +1086,11 @@ module ModernTreasury
|
|
|
1086
1086
|
end
|
|
1087
1087
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1088
1088
|
|
|
1089
|
+
AUTHORIZED_SIGNER =
|
|
1090
|
+
T.let(
|
|
1091
|
+
:authorized_signer,
|
|
1092
|
+
ModernTreasury::LegalEntityAssociation::RelationshipType::TaggedSymbol
|
|
1093
|
+
)
|
|
1089
1094
|
BENEFICIAL_OWNER =
|
|
1090
1095
|
T.let(
|
|
1091
1096
|
:beneficial_owner,
|