modern_treasury 0.32.0 → 0.33.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 +32 -0
- data/README.md +1 -1
- data/lib/modern_treasury/client.rb +4 -0
- data/lib/modern_treasury/models/account_collection_flow.rb +2 -0
- data/lib/modern_treasury/models/account_detail.rb +0 -1
- data/lib/modern_treasury/models/account_detail_create_params.rb +0 -1
- data/lib/modern_treasury/models/bulk_request_create_params.rb +26 -5
- data/lib/modern_treasury/models/case_.rb +4 -2
- data/lib/modern_treasury/models/child_legal_entity.rb +2 -0
- data/lib/modern_treasury/models/child_legal_entity_create.rb +4 -0
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +4 -0
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -1
- data/lib/modern_treasury/models/counterparty_create_params.rb +6 -65
- data/lib/modern_treasury/models/currency.rb +1 -0
- data/lib/modern_treasury/models/embeddable_flow.rb +298 -0
- data/lib/modern_treasury/models/embeddable_flow_create_params.rb +219 -0
- data/lib/modern_treasury/models/embeddable_flow_list_params.rb +49 -0
- data/lib/modern_treasury/models/{hold_retrieve_params.rb → embeddable_flow_retrieve_params.rb} +2 -2
- data/lib/modern_treasury/models/embeddable_flow_update_params.rb +44 -0
- data/lib/modern_treasury/models/external_account_create_params.rb +1 -1
- data/lib/modern_treasury/models/external_account_type.rb +2 -5
- data/lib/modern_treasury/models/external_account_update_params.rb +2 -2
- data/lib/modern_treasury/models/identification.rb +19 -0
- data/lib/modern_treasury/models/identification_create_params.rb +21 -0
- data/lib/modern_treasury/models/identification_create_request.rb +21 -0
- data/lib/modern_treasury/models/identification_update_params.rb +19 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +14 -4
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +14 -11
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +4 -2
- data/lib/modern_treasury/models/internal_account.rb +186 -14
- data/lib/modern_treasury/models/internal_account_create_params.rb +36 -8
- data/lib/modern_treasury/models/internal_account_update_params.rb +35 -3
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +12 -4
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +12 -4
- data/lib/modern_treasury/models/legal_entity.rb +2 -0
- data/lib/modern_treasury/models/legal_entity_create_params.rb +4 -0
- data/lib/modern_treasury/models/legal_entity_update_params.rb +2 -0
- data/lib/modern_treasury/models/payment_action_list_params.rb +1 -0
- data/lib/modern_treasury/models/payment_order.rb +6 -0
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +13 -2
- data/lib/modern_treasury/models/payment_order_create_params.rb +21 -3
- data/lib/modern_treasury/models/payment_order_update_params.rb +13 -2
- data/lib/modern_treasury/models/payment_reference.rb +6 -0
- data/lib/modern_treasury/models/return_object.rb +6 -0
- data/lib/modern_treasury/models/routing_detail.rb +1 -0
- data/lib/modern_treasury/models/routing_detail_create_params.rb +1 -0
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +1 -0
- data/lib/modern_treasury/models/third_party_verification.rb +1 -0
- data/lib/modern_treasury/models/transaction_list_params.rb +1 -8
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +4 -4
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +1 -0
- data/lib/modern_treasury/models/virtual_account.rb +9 -1
- data/lib/modern_treasury/models/virtual_account_create_params.rb +11 -2
- data/lib/modern_treasury/models/virtual_account_update_params.rb +14 -1
- data/lib/modern_treasury/models.rb +10 -10
- data/lib/modern_treasury/resources/account_collection_flows.rb +2 -0
- data/lib/modern_treasury/resources/counterparties.rb +1 -5
- data/lib/modern_treasury/resources/embeddable_flows.rb +111 -0
- data/lib/modern_treasury/resources/external_accounts.rb +1 -1
- data/lib/modern_treasury/resources/holds.rb +0 -113
- data/lib/modern_treasury/resources/incoming_payment_details.rb +4 -4
- data/lib/modern_treasury/resources/internal_accounts.rb +11 -26
- data/lib/modern_treasury/resources/payment_flows.rb +2 -0
- data/lib/modern_treasury/resources/payment_orders.rb +9 -3
- data/lib/modern_treasury/resources/transactions.rb +1 -3
- data/lib/modern_treasury/resources/virtual_accounts.rb +9 -2
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +6 -9
- data/rbi/modern_treasury/client.rbi +3 -0
- data/rbi/modern_treasury/models/account_collection_flow.rbi +10 -0
- data/rbi/modern_treasury/models/account_detail.rbi +0 -5
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +0 -5
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +38 -15
- data/rbi/modern_treasury/models/case_.rbi +20 -10
- data/rbi/modern_treasury/models/child_legal_entity.rbi +10 -0
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +20 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -5
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +25 -170
- data/rbi/modern_treasury/models/currency.rbi +1 -0
- data/rbi/modern_treasury/models/embeddable_flow.rbi +512 -0
- data/rbi/modern_treasury/models/embeddable_flow_create_params.rbi +531 -0
- data/rbi/modern_treasury/models/embeddable_flow_list_params.rbi +119 -0
- data/rbi/modern_treasury/models/{hold_retrieve_params.rbi → embeddable_flow_retrieve_params.rbi} +2 -2
- data/rbi/modern_treasury/models/{hold_update_params.rbi → embeddable_flow_update_params.rbi} +21 -21
- data/rbi/modern_treasury/models/external_account_create_params.rbi +5 -5
- data/rbi/modern_treasury/models/external_account_type.rbi +6 -15
- data/rbi/modern_treasury/models/external_account_update_params.rbi +7 -3
- data/rbi/modern_treasury/models/identification.rbi +41 -0
- data/rbi/modern_treasury/models/identification_create_params.rbi +105 -0
- data/rbi/modern_treasury/models/identification_create_request.rbi +105 -0
- data/rbi/modern_treasury/models/identification_update_params.rbi +95 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +26 -8
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +24 -28
- data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +13 -3
- data/rbi/modern_treasury/models/internal_account.rbi +310 -34
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +78 -29
- data/rbi/modern_treasury/models/internal_account_update_params.rbi +79 -3
- data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +32 -6
- data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +32 -6
- data/rbi/modern_treasury/models/legal_entity.rbi +10 -0
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +10 -0
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order.rbi +30 -0
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +19 -5
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +25 -5
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +19 -5
- data/rbi/modern_treasury/models/payment_reference.rbi +30 -0
- data/rbi/modern_treasury/models/return_object.rbi +30 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +5 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +5 -0
- data/rbi/modern_treasury/models/third_party_verification.rbi +5 -0
- data/rbi/modern_treasury/models/transaction_list_params.rbi +0 -9
- data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +5 -5
- data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +5 -0
- data/rbi/modern_treasury/models/virtual_account.rbi +13 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +18 -5
- data/rbi/modern_treasury/models/virtual_account_update_params.rbi +19 -0
- data/rbi/modern_treasury/models.rbi +13 -11
- data/rbi/modern_treasury/resources/counterparties.rbi +0 -8
- data/rbi/modern_treasury/resources/embeddable_flows.rbi +88 -0
- data/rbi/modern_treasury/resources/external_accounts.rbi +1 -1
- data/rbi/modern_treasury/resources/holds.rbi +0 -94
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +10 -7
- data/rbi/modern_treasury/resources/internal_accounts.rbi +30 -18
- data/rbi/modern_treasury/resources/payment_orders.rbi +18 -0
- data/rbi/modern_treasury/resources/transactions.rbi +0 -2
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +9 -0
- data/sig/modern_treasury/client.rbs +2 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +3 -1
- data/sig/modern_treasury/models/account_detail.rbs +0 -2
- data/sig/modern_treasury/models/account_detail_create_params.rbs +0 -2
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +14 -6
- data/sig/modern_treasury/models/case_.rbs +10 -6
- data/sig/modern_treasury/models/child_legal_entity.rbs +4 -0
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +9 -1
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +9 -1
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -2
- data/sig/modern_treasury/models/counterparty_create_params.rbs +11 -64
- data/sig/modern_treasury/models/currency.rbs +2 -0
- data/sig/modern_treasury/models/embeddable_flow.rbs +270 -0
- data/sig/modern_treasury/models/embeddable_flow_create_params.rbs +219 -0
- data/sig/modern_treasury/models/embeddable_flow_list_params.rbs +61 -0
- data/sig/modern_treasury/models/{hold_retrieve_params.rbs → embeddable_flow_retrieve_params.rbs} +2 -2
- data/sig/modern_treasury/models/embeddable_flow_update_params.rbs +41 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +2 -2
- data/sig/modern_treasury/models/external_account_type.rbs +5 -11
- data/sig/modern_treasury/models/external_account_update_params.rbs +4 -8
- data/sig/modern_treasury/models/identification.rbs +38 -0
- data/sig/modern_treasury/models/identification_create_params.rbs +43 -1
- data/sig/modern_treasury/models/identification_create_request.rbs +43 -1
- data/sig/modern_treasury/models/identification_update_params.rbs +38 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +10 -3
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +5 -9
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +3 -1
- data/sig/modern_treasury/models/internal_account.rbs +143 -18
- data/sig/modern_treasury/models/internal_account_create_params.rbs +22 -11
- data/sig/modern_treasury/models/internal_account_update_params.rbs +24 -7
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +8 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +8 -0
- data/sig/modern_treasury/models/legal_entity.rbs +4 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +9 -1
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +4 -0
- data/sig/modern_treasury/models/payment_action_list_params.rbs +2 -1
- data/sig/modern_treasury/models/payment_order.rbs +12 -0
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +7 -2
- data/sig/modern_treasury/models/payment_order_create_params.rbs +12 -2
- data/sig/modern_treasury/models/payment_order_update_params.rbs +7 -2
- data/sig/modern_treasury/models/payment_reference.rbs +12 -0
- data/sig/modern_treasury/models/return_object.rbs +12 -0
- data/sig/modern_treasury/models/routing_detail.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +2 -0
- data/sig/modern_treasury/models/third_party_verification.rbs +9 -1
- data/sig/modern_treasury/models/transaction_list_params.rbs +0 -7
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +4 -4
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account.rbs +5 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +11 -2
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +6 -1
- data/sig/modern_treasury/models.rbs +10 -10
- data/sig/modern_treasury/resources/counterparties.rbs +0 -2
- data/sig/modern_treasury/resources/embeddable_flows.rbs +32 -0
- data/sig/modern_treasury/resources/external_accounts.rbs +1 -1
- data/sig/modern_treasury/resources/holds.rbs +0 -31
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
- data/sig/modern_treasury/resources/internal_accounts.rbs +5 -6
- data/sig/modern_treasury/resources/payment_orders.rbs +3 -0
- data/sig/modern_treasury/resources/transactions.rbs +0 -1
- data/sig/modern_treasury/resources/virtual_accounts.rbs +2 -0
- metadata +20 -29
- data/lib/modern_treasury/models/hold_create_params.rb +0 -74
- data/lib/modern_treasury/models/hold_create_response.rb +0 -143
- data/lib/modern_treasury/models/hold_list_params.rb +0 -86
- data/lib/modern_treasury/models/hold_list_response.rb +0 -143
- data/lib/modern_treasury/models/hold_retrieve_response.rb +0 -143
- data/lib/modern_treasury/models/hold_update_params.rb +0 -47
- data/lib/modern_treasury/models/hold_update_response.rb +0 -143
- data/lib/modern_treasury/models/internal_account_request_closure_params.rb +0 -20
- data/rbi/modern_treasury/models/hold_create_params.rbi +0 -125
- data/rbi/modern_treasury/models/hold_create_response.rbi +0 -232
- data/rbi/modern_treasury/models/hold_list_params.rbi +0 -145
- data/rbi/modern_treasury/models/hold_list_response.rbi +0 -225
- data/rbi/modern_treasury/models/hold_retrieve_response.rbi +0 -234
- data/rbi/modern_treasury/models/hold_update_response.rbi +0 -232
- data/rbi/modern_treasury/models/internal_account_request_closure_params.rbi +0 -38
- data/sig/modern_treasury/models/hold_create_params.rbs +0 -66
- data/sig/modern_treasury/models/hold_create_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_list_params.rbs +0 -76
- data/sig/modern_treasury/models/hold_list_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_retrieve_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_update_params.rbs +0 -46
- data/sig/modern_treasury/models/hold_update_response.rbs +0 -108
- data/sig/modern_treasury/models/internal_account_request_closure_params.rbs +0 -23
|
@@ -29,6 +29,15 @@ module ModernTreasury
|
|
|
29
29
|
# @return [Symbol, ModernTreasury::Models::InternalAccount::AccountType, nil]
|
|
30
30
|
required :account_type, enum: -> { ModernTreasury::InternalAccount::AccountType }, nil?: true
|
|
31
31
|
|
|
32
|
+
# @!attribute allowed_ach_debit_company_ids
|
|
33
|
+
# The ACH Company IDs allowed to debit this account. `null` allows every company.
|
|
34
|
+
# An empty array allows none. Debits from any other company are returned with code
|
|
35
|
+
# R10. Only applicable to debitable accounts under a Modern Treasury PSP
|
|
36
|
+
# connection.
|
|
37
|
+
#
|
|
38
|
+
# @return [Array<String>, nil]
|
|
39
|
+
required :allowed_ach_debit_company_ids, ModernTreasury::Internal::Type::ArrayOf[String], nil?: true
|
|
40
|
+
|
|
32
41
|
# @!attribute connection
|
|
33
42
|
# Specifies which financial institution the accounts belong to.
|
|
34
43
|
#
|
|
@@ -131,7 +140,8 @@ module ModernTreasury
|
|
|
131
140
|
required :party_name, String
|
|
132
141
|
|
|
133
142
|
# @!attribute party_type
|
|
134
|
-
# Either individual or business.
|
|
143
|
+
# Either individual or business. Inherits from associated LegalEntity
|
|
144
|
+
# legal_entity_type, if one exists.
|
|
135
145
|
#
|
|
136
146
|
# @return [Symbol, ModernTreasury::Models::InternalAccount::PartyType, nil]
|
|
137
147
|
required :party_type, enum: -> { ModernTreasury::InternalAccount::PartyType }, nil?: true
|
|
@@ -149,11 +159,12 @@ module ModernTreasury
|
|
|
149
159
|
required :status, enum: -> { ModernTreasury::InternalAccount::Status }, nil?: true
|
|
150
160
|
|
|
151
161
|
# @!attribute title
|
|
152
|
-
# The account title at the financial institution
|
|
153
|
-
#
|
|
162
|
+
# The account title at the financial institution. Defaults to the party name
|
|
163
|
+
# unless a custom title was set on creation. Custom titles are only applicable to
|
|
164
|
+
# accounts created under supported connections.
|
|
154
165
|
#
|
|
155
|
-
# @return [String
|
|
156
|
-
required :title, String
|
|
166
|
+
# @return [String]
|
|
167
|
+
required :title, String
|
|
157
168
|
|
|
158
169
|
# @!attribute updated_at
|
|
159
170
|
#
|
|
@@ -166,7 +177,14 @@ module ModernTreasury
|
|
|
166
177
|
# @return [String, nil]
|
|
167
178
|
required :vendor_id, String, nil?: true
|
|
168
179
|
|
|
169
|
-
# @!
|
|
180
|
+
# @!attribute latest_balances
|
|
181
|
+
# An array of `Balance` objects from the account's latest balance report.
|
|
182
|
+
#
|
|
183
|
+
# @return [Array<ModernTreasury::Models::InternalAccount::LatestBalance>, nil]
|
|
184
|
+
optional :latest_balances,
|
|
185
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccount::LatestBalance] }
|
|
186
|
+
|
|
187
|
+
# @!method initialize(id:, account_capabilities:, account_details:, account_type:, allowed_ach_debit_company_ids:, connection:, contra_ledger_account_id:, counterparty_id:, created_at:, currency:, debitable:, external_id:, ledger_account_id:, legal_entity_id:, live_mode:, metadata:, name:, object:, parent_account_id:, party_address:, party_name:, party_type:, routing_details:, status:, title:, updated_at:, vendor_id:, latest_balances: nil)
|
|
170
188
|
# Some parameter documentations has been truncated, see
|
|
171
189
|
# {ModernTreasury::Models::InternalAccount} for more details.
|
|
172
190
|
#
|
|
@@ -178,6 +196,8 @@ module ModernTreasury
|
|
|
178
196
|
#
|
|
179
197
|
# @param account_type [Symbol, ModernTreasury::Models::InternalAccount::AccountType, nil] Can be checking, savings or other.
|
|
180
198
|
#
|
|
199
|
+
# @param allowed_ach_debit_company_ids [Array<String>, nil] The ACH Company IDs allowed to debit this account. `null` allows every company.
|
|
200
|
+
#
|
|
181
201
|
# @param connection [ModernTreasury::Models::Connection] Specifies which financial institution the accounts belong to.
|
|
182
202
|
#
|
|
183
203
|
# @param contra_ledger_account_id [String, nil] If the internal account links to a contra ledger account in Modern Treasury, the
|
|
@@ -210,17 +230,19 @@ module ModernTreasury
|
|
|
210
230
|
#
|
|
211
231
|
# @param party_name [String] The legal name of the entity which owns the account.
|
|
212
232
|
#
|
|
213
|
-
# @param party_type [Symbol, ModernTreasury::Models::InternalAccount::PartyType, nil] Either individual or business.
|
|
233
|
+
# @param party_type [Symbol, ModernTreasury::Models::InternalAccount::PartyType, nil] Either individual or business. Inherits from associated LegalEntity legal_entity
|
|
214
234
|
#
|
|
215
235
|
# @param routing_details [Array<ModernTreasury::Models::RoutingDetail>] An array of routing detail objects.
|
|
216
236
|
#
|
|
217
237
|
# @param status [Symbol, ModernTreasury::Models::InternalAccount::Status, nil] The internal account status.
|
|
218
238
|
#
|
|
219
|
-
# @param title [String
|
|
239
|
+
# @param title [String] The account title at the financial institution. Defaults to the party name unles
|
|
220
240
|
#
|
|
221
241
|
# @param updated_at [Time]
|
|
222
242
|
#
|
|
223
243
|
# @param vendor_id [String, nil] The vendor ID associated with this account.
|
|
244
|
+
#
|
|
245
|
+
# @param latest_balances [Array<ModernTreasury::Models::InternalAccount::LatestBalance>] An array of `Balance` objects from the account's latest balance report.
|
|
224
246
|
|
|
225
247
|
class AccountCapability < ModernTreasury::Internal::Type::BaseModel
|
|
226
248
|
# @!attribute id
|
|
@@ -342,25 +364,23 @@ module ModernTreasury
|
|
|
342
364
|
module AccountType
|
|
343
365
|
extend ModernTreasury::Internal::Type::Enum
|
|
344
366
|
|
|
345
|
-
BASE_WALLET = :base_wallet
|
|
346
367
|
CASH = :cash
|
|
347
368
|
CHECKING = :checking
|
|
348
|
-
CRYPTO_WALLET = :crypto_wallet
|
|
349
|
-
ETHEREUM_WALLET = :ethereum_wallet
|
|
350
369
|
GENERAL_LEDGER = :general_ledger
|
|
370
|
+
HOSTED_WALLET = :hosted_wallet
|
|
351
371
|
LOAN = :loan
|
|
352
372
|
NON_RESIDENT = :non_resident
|
|
353
373
|
OTHER = :other
|
|
354
374
|
OVERDRAFT = :overdraft
|
|
355
|
-
POLYGON_WALLET = :polygon_wallet
|
|
356
375
|
SAVINGS = :savings
|
|
357
|
-
|
|
376
|
+
SELF_HOSTED_WALLET = :self_hosted_wallet
|
|
358
377
|
|
|
359
378
|
# @!method self.values
|
|
360
379
|
# @return [Array<Symbol>]
|
|
361
380
|
end
|
|
362
381
|
|
|
363
|
-
# Either individual or business.
|
|
382
|
+
# Either individual or business. Inherits from associated LegalEntity
|
|
383
|
+
# legal_entity_type, if one exists.
|
|
364
384
|
#
|
|
365
385
|
# @see ModernTreasury::Models::InternalAccount#party_type
|
|
366
386
|
module PartyType
|
|
@@ -388,6 +408,158 @@ module ModernTreasury
|
|
|
388
408
|
# @!method self.values
|
|
389
409
|
# @return [Array<Symbol>]
|
|
390
410
|
end
|
|
411
|
+
|
|
412
|
+
class LatestBalance < ModernTreasury::Internal::Type::BaseModel
|
|
413
|
+
# @!attribute id
|
|
414
|
+
#
|
|
415
|
+
# @return [String]
|
|
416
|
+
required :id, String
|
|
417
|
+
|
|
418
|
+
# @!attribute amount
|
|
419
|
+
# The balance amount.
|
|
420
|
+
#
|
|
421
|
+
# @return [Integer]
|
|
422
|
+
required :amount, Integer
|
|
423
|
+
|
|
424
|
+
# @!attribute amount_string
|
|
425
|
+
# The amount of the balance as a string, preserving full precision for values that
|
|
426
|
+
# may exceed safe integer limits in some languages.
|
|
427
|
+
#
|
|
428
|
+
# @return [String]
|
|
429
|
+
required :amount_string, String
|
|
430
|
+
|
|
431
|
+
# @!attribute as_of_date
|
|
432
|
+
# The date on which the balance became true for the account.
|
|
433
|
+
#
|
|
434
|
+
# @return [Date, nil]
|
|
435
|
+
required :as_of_date, Date, nil?: true
|
|
436
|
+
|
|
437
|
+
# @!attribute as_of_time
|
|
438
|
+
# The time on which the balance became true for the account.
|
|
439
|
+
#
|
|
440
|
+
# @return [Time, nil]
|
|
441
|
+
required :as_of_time, Time, nil?: true
|
|
442
|
+
|
|
443
|
+
# @!attribute balance_type
|
|
444
|
+
# The specific type of balance reported. One of `opening_ledger`,
|
|
445
|
+
# `closing_ledger`, `current_ledger`, `opening_available`,
|
|
446
|
+
# `opening_available_next_business_day`, `closing_available`,
|
|
447
|
+
# `closing_pending_inflows`, `closing_pending_outflows`, `current_available`,
|
|
448
|
+
# 'previously_closed_book', `current_pending_inflows`, `current_pending_outflows`,
|
|
449
|
+
# or `other`.
|
|
450
|
+
#
|
|
451
|
+
# @return [Symbol, ModernTreasury::Models::InternalAccount::LatestBalance::BalanceType]
|
|
452
|
+
required :balance_type, enum: -> { ModernTreasury::InternalAccount::LatestBalance::BalanceType }
|
|
453
|
+
|
|
454
|
+
# @!attribute created_at
|
|
455
|
+
#
|
|
456
|
+
# @return [Time]
|
|
457
|
+
required :created_at, Time
|
|
458
|
+
|
|
459
|
+
# @!attribute currency
|
|
460
|
+
# The currency of the balance.
|
|
461
|
+
#
|
|
462
|
+
# @return [Symbol, ModernTreasury::Models::Currency]
|
|
463
|
+
required :currency, enum: -> { ModernTreasury::Currency }
|
|
464
|
+
|
|
465
|
+
# @!attribute live_mode
|
|
466
|
+
# This field will be true if this object exists in the live environment or false
|
|
467
|
+
# if it exists in the test environment.
|
|
468
|
+
#
|
|
469
|
+
# @return [Boolean]
|
|
470
|
+
required :live_mode, ModernTreasury::Internal::Type::Boolean
|
|
471
|
+
|
|
472
|
+
# @!attribute object
|
|
473
|
+
#
|
|
474
|
+
# @return [String]
|
|
475
|
+
required :object, String
|
|
476
|
+
|
|
477
|
+
# @!attribute updated_at
|
|
478
|
+
#
|
|
479
|
+
# @return [Time]
|
|
480
|
+
required :updated_at, Time
|
|
481
|
+
|
|
482
|
+
# @!attribute value_date
|
|
483
|
+
# The date on which the balance becomes available.
|
|
484
|
+
#
|
|
485
|
+
# @return [Date, nil]
|
|
486
|
+
required :value_date, Date, nil?: true
|
|
487
|
+
|
|
488
|
+
# @!attribute vendor_code
|
|
489
|
+
# The code used by the bank when reporting this specific balance.
|
|
490
|
+
#
|
|
491
|
+
# @return [String]
|
|
492
|
+
required :vendor_code, String
|
|
493
|
+
|
|
494
|
+
# @!attribute vendor_code_type
|
|
495
|
+
# The type of `vendor_code` being reported. Can be one of `bai2`, `bankprov`,
|
|
496
|
+
# `bnk_dev`, `cleartouch`, `currencycloud`, `cross_river`, `dwolla`, `evolve`,
|
|
497
|
+
# `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `silvergate`, `swift`, or `us_bank`.
|
|
498
|
+
#
|
|
499
|
+
# @return [String, nil]
|
|
500
|
+
required :vendor_code_type, String, nil?: true
|
|
501
|
+
|
|
502
|
+
# @!method initialize(id:, amount:, amount_string:, as_of_date:, as_of_time:, balance_type:, created_at:, currency:, live_mode:, object:, updated_at:, value_date:, vendor_code:, vendor_code_type:)
|
|
503
|
+
# Some parameter documentations has been truncated, see
|
|
504
|
+
# {ModernTreasury::Models::InternalAccount::LatestBalance} for more details.
|
|
505
|
+
#
|
|
506
|
+
# @param id [String]
|
|
507
|
+
#
|
|
508
|
+
# @param amount [Integer] The balance amount.
|
|
509
|
+
#
|
|
510
|
+
# @param amount_string [String] The amount of the balance as a string, preserving full precision for values that
|
|
511
|
+
#
|
|
512
|
+
# @param as_of_date [Date, nil] The date on which the balance became true for the account.
|
|
513
|
+
#
|
|
514
|
+
# @param as_of_time [Time, nil] The time on which the balance became true for the account.
|
|
515
|
+
#
|
|
516
|
+
# @param balance_type [Symbol, ModernTreasury::Models::InternalAccount::LatestBalance::BalanceType] The specific type of balance reported. One of `opening_ledger`, `closing_ledger`
|
|
517
|
+
#
|
|
518
|
+
# @param created_at [Time]
|
|
519
|
+
#
|
|
520
|
+
# @param currency [Symbol, ModernTreasury::Models::Currency] The currency of the balance.
|
|
521
|
+
#
|
|
522
|
+
# @param live_mode [Boolean] This field will be true if this object exists in the live environment or false i
|
|
523
|
+
#
|
|
524
|
+
# @param object [String]
|
|
525
|
+
#
|
|
526
|
+
# @param updated_at [Time]
|
|
527
|
+
#
|
|
528
|
+
# @param value_date [Date, nil] The date on which the balance becomes available.
|
|
529
|
+
#
|
|
530
|
+
# @param vendor_code [String] The code used by the bank when reporting this specific balance.
|
|
531
|
+
#
|
|
532
|
+
# @param vendor_code_type [String, nil] The type of `vendor_code` being reported. Can be one of `bai2`, `bankprov`, `bnk
|
|
533
|
+
|
|
534
|
+
# The specific type of balance reported. One of `opening_ledger`,
|
|
535
|
+
# `closing_ledger`, `current_ledger`, `opening_available`,
|
|
536
|
+
# `opening_available_next_business_day`, `closing_available`,
|
|
537
|
+
# `closing_pending_inflows`, `closing_pending_outflows`, `current_available`,
|
|
538
|
+
# 'previously_closed_book', `current_pending_inflows`, `current_pending_outflows`,
|
|
539
|
+
# or `other`.
|
|
540
|
+
#
|
|
541
|
+
# @see ModernTreasury::Models::InternalAccount::LatestBalance#balance_type
|
|
542
|
+
module BalanceType
|
|
543
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
544
|
+
|
|
545
|
+
CLOSING_AVAILABLE = :closing_available
|
|
546
|
+
CLOSING_LEDGER = :closing_ledger
|
|
547
|
+
CLOSING_PENDING_INFLOWS = :closing_pending_inflows
|
|
548
|
+
CLOSING_PENDING_OUTFLOWS = :closing_pending_outflows
|
|
549
|
+
CURRENT_AVAILABLE = :current_available
|
|
550
|
+
CURRENT_LEDGER = :current_ledger
|
|
551
|
+
CURRENT_PENDING_INFLOWS = :current_pending_inflows
|
|
552
|
+
CURRENT_PENDING_OUTFLOWS = :current_pending_outflows
|
|
553
|
+
OPENING_AVAILABLE = :opening_available
|
|
554
|
+
OPENING_AVAILABLE_NEXT_BUSINESS_DAY = :opening_available_next_business_day
|
|
555
|
+
OPENING_LEDGER = :opening_ledger
|
|
556
|
+
OTHER = :other
|
|
557
|
+
PREVIOUSLY_CLOSED_BOOK = :previously_closed_book
|
|
558
|
+
|
|
559
|
+
# @!method self.values
|
|
560
|
+
# @return [Array<Symbol>]
|
|
561
|
+
end
|
|
562
|
+
end
|
|
391
563
|
end
|
|
392
564
|
end
|
|
393
565
|
end
|
|
@@ -34,6 +34,15 @@ module ModernTreasury
|
|
|
34
34
|
# @return [Symbol, ModernTreasury::Models::InternalAccountCreateParams::AccountType, nil]
|
|
35
35
|
optional :account_type, enum: -> { ModernTreasury::InternalAccountCreateParams::AccountType }
|
|
36
36
|
|
|
37
|
+
# @!attribute allowed_ach_debit_company_ids
|
|
38
|
+
# The ACH Company IDs allowed to debit this account. `null` allows every company.
|
|
39
|
+
# An empty array allows none. Debits from any other company are returned with code
|
|
40
|
+
# R10. Only applicable to debitable accounts under a Modern Treasury PSP
|
|
41
|
+
# connection.
|
|
42
|
+
#
|
|
43
|
+
# @return [Array<String>, nil]
|
|
44
|
+
optional :allowed_ach_debit_company_ids, ModernTreasury::Internal::Type::ArrayOf[String], nil?: true
|
|
45
|
+
|
|
37
46
|
# @!attribute connection_id
|
|
38
47
|
# The identifier of the financial institution the account belongs to. If not
|
|
39
48
|
# provided, defaults to the default connection, or the sole connection if only one
|
|
@@ -94,6 +103,13 @@ module ModernTreasury
|
|
|
94
103
|
# @return [String, nil]
|
|
95
104
|
optional :party_name, String, nil?: true
|
|
96
105
|
|
|
106
|
+
# @!attribute party_type
|
|
107
|
+
# Either individual or business. Inherits from associated LegalEntity
|
|
108
|
+
# legal_entity_type, if one exists.
|
|
109
|
+
#
|
|
110
|
+
# @return [Symbol, ModernTreasury::Models::InternalAccountCreateParams::PartyType, nil]
|
|
111
|
+
optional :party_type, enum: -> { ModernTreasury::InternalAccountCreateParams::PartyType }, nil?: true
|
|
112
|
+
|
|
97
113
|
# @!attribute requested_account_number_types
|
|
98
114
|
# An array of account number types requested for provisioning.
|
|
99
115
|
#
|
|
@@ -103,8 +119,9 @@ module ModernTreasury
|
|
|
103
119
|
|
|
104
120
|
# @!attribute title
|
|
105
121
|
# The account title at the financial institution, used in place of the party name.
|
|
106
|
-
# Only applicable to accounts created under
|
|
107
|
-
# out to your customer success manager to
|
|
122
|
+
# Defaults to the party name if not set. Only applicable to accounts created under
|
|
123
|
+
# supported connections. Please reach out to your customer success manager to
|
|
124
|
+
# enable this capability for your program.
|
|
108
125
|
#
|
|
109
126
|
# @return [String, nil]
|
|
110
127
|
optional :title, String, nil?: true
|
|
@@ -116,7 +133,7 @@ module ModernTreasury
|
|
|
116
133
|
# @return [Hash{Symbol=>String}, nil]
|
|
117
134
|
optional :vendor_attributes, ModernTreasury::Internal::Type::HashOf[String]
|
|
118
135
|
|
|
119
|
-
# @!method initialize(currency:, name:, account_capabilities: nil, account_type: nil, connection_id: nil, counterparty_id: nil, debitable: nil, external_id: nil, legal_entity_id: nil, metadata: nil, parent_account_id: nil, party_address: nil, party_name: nil, requested_account_number_types: nil, title: nil, vendor_attributes: nil, request_options: {})
|
|
136
|
+
# @!method initialize(currency:, name:, account_capabilities: nil, account_type: nil, allowed_ach_debit_company_ids: nil, connection_id: nil, counterparty_id: nil, debitable: nil, external_id: nil, legal_entity_id: nil, metadata: nil, parent_account_id: nil, party_address: nil, party_name: nil, party_type: nil, requested_account_number_types: nil, title: nil, vendor_attributes: nil, request_options: {})
|
|
120
137
|
# Some parameter documentations has been truncated, see
|
|
121
138
|
# {ModernTreasury::Models::InternalAccountCreateParams} for more details.
|
|
122
139
|
#
|
|
@@ -128,6 +145,8 @@ module ModernTreasury
|
|
|
128
145
|
#
|
|
129
146
|
# @param account_type [Symbol, ModernTreasury::Models::InternalAccountCreateParams::AccountType] The account type, used to provision the appropriate account at the financial ins
|
|
130
147
|
#
|
|
148
|
+
# @param allowed_ach_debit_company_ids [Array<String>, nil] The ACH Company IDs allowed to debit this account. `null` allows every company.
|
|
149
|
+
#
|
|
131
150
|
# @param connection_id [String] The identifier of the financial institution the account belongs to. If not provi
|
|
132
151
|
#
|
|
133
152
|
# @param counterparty_id [String] The Counterparty associated to this account.
|
|
@@ -146,6 +165,8 @@ module ModernTreasury
|
|
|
146
165
|
#
|
|
147
166
|
# @param party_name [String, nil] The legal name of the entity which owns the account.
|
|
148
167
|
#
|
|
168
|
+
# @param party_type [Symbol, ModernTreasury::Models::InternalAccountCreateParams::PartyType, nil] Either individual or business. Inherits from associated LegalEntity legal_entity
|
|
169
|
+
#
|
|
149
170
|
# @param requested_account_number_types [Array<Symbol, ModernTreasury::Models::InternalAccountCreateParams::RequestedAccountNumberType>] An array of account number types requested for provisioning.
|
|
150
171
|
#
|
|
151
172
|
# @param title [String, nil] The account title at the financial institution, used in place of the party name.
|
|
@@ -290,19 +311,14 @@ module ModernTreasury
|
|
|
290
311
|
module AccountType
|
|
291
312
|
extend ModernTreasury::Internal::Type::Enum
|
|
292
313
|
|
|
293
|
-
BASE_WALLET = :base_wallet
|
|
294
314
|
CASH = :cash
|
|
295
315
|
CHECKING = :checking
|
|
296
|
-
CRYPTO_WALLET = :crypto_wallet
|
|
297
|
-
ETHEREUM_WALLET = :ethereum_wallet
|
|
298
316
|
GENERAL_LEDGER = :general_ledger
|
|
299
317
|
LOAN = :loan
|
|
300
318
|
NON_RESIDENT = :non_resident
|
|
301
319
|
OTHER = :other
|
|
302
320
|
OVERDRAFT = :overdraft
|
|
303
|
-
POLYGON_WALLET = :polygon_wallet
|
|
304
321
|
SAVINGS = :savings
|
|
305
|
-
SOLANA_WALLET = :solana_wallet
|
|
306
322
|
|
|
307
323
|
# @!method self.values
|
|
308
324
|
# @return [Array<Symbol>]
|
|
@@ -365,6 +381,18 @@ module ModernTreasury
|
|
|
365
381
|
# @param line2 [String]
|
|
366
382
|
end
|
|
367
383
|
|
|
384
|
+
# Either individual or business. Inherits from associated LegalEntity
|
|
385
|
+
# legal_entity_type, if one exists.
|
|
386
|
+
module PartyType
|
|
387
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
388
|
+
|
|
389
|
+
INDIVIDUAL = :individual
|
|
390
|
+
BUSINESS = :business
|
|
391
|
+
|
|
392
|
+
# @!method self.values
|
|
393
|
+
# @return [Array<Symbol>]
|
|
394
|
+
end
|
|
395
|
+
|
|
368
396
|
module RequestedAccountNumberType
|
|
369
397
|
extend ModernTreasury::Internal::Type::Enum
|
|
370
398
|
|
|
@@ -12,6 +12,15 @@ module ModernTreasury
|
|
|
12
12
|
# @return [String]
|
|
13
13
|
required :id, String
|
|
14
14
|
|
|
15
|
+
# @!attribute allowed_ach_debit_company_ids
|
|
16
|
+
# The ACH Company IDs allowed to debit this account. `null` allows every company.
|
|
17
|
+
# An empty array allows none. Debits from any other company are returned with code
|
|
18
|
+
# R10. Only applicable to debitable accounts under a Modern Treasury PSP
|
|
19
|
+
# connection.
|
|
20
|
+
#
|
|
21
|
+
# @return [Array<String>, nil]
|
|
22
|
+
optional :allowed_ach_debit_company_ids, ModernTreasury::Internal::Type::ArrayOf[String], nil?: true
|
|
23
|
+
|
|
15
24
|
# @!attribute contra_ledger_account_id
|
|
16
25
|
# The Contra Ledger Account associated to this account.
|
|
17
26
|
#
|
|
@@ -62,7 +71,14 @@ module ModernTreasury
|
|
|
62
71
|
# accurate.
|
|
63
72
|
#
|
|
64
73
|
# @return [ModernTreasury::Models::AddressRequest, nil]
|
|
65
|
-
optional :party_address, -> { ModernTreasury::AddressRequest }
|
|
74
|
+
optional :party_address, -> { ModernTreasury::AddressRequest }, nil?: true
|
|
75
|
+
|
|
76
|
+
# @!attribute party_type
|
|
77
|
+
# Either individual or business. Inherits from associated LegalEntity
|
|
78
|
+
# legal_entity_type, if one exists.
|
|
79
|
+
#
|
|
80
|
+
# @return [Symbol, ModernTreasury::Models::InternalAccountUpdateParams::PartyType, nil]
|
|
81
|
+
optional :party_type, enum: -> { ModernTreasury::InternalAccountUpdateParams::PartyType }, nil?: true
|
|
66
82
|
|
|
67
83
|
# @!attribute status
|
|
68
84
|
# Requests closure of the internal account. The resulting status may be `closed`
|
|
@@ -71,12 +87,14 @@ module ModernTreasury
|
|
|
71
87
|
# @return [Symbol, ModernTreasury::Models::InternalAccountUpdateParams::Status, nil]
|
|
72
88
|
optional :status, enum: -> { ModernTreasury::InternalAccountUpdateParams::Status }
|
|
73
89
|
|
|
74
|
-
# @!method initialize(id:, contra_ledger_account_id: nil, counterparty_id: nil, external_id: nil, ledger_account_id: nil, metadata: nil, name: nil, parent_account_id: nil, party_address: nil, status: nil, request_options: {})
|
|
90
|
+
# @!method initialize(id:, allowed_ach_debit_company_ids: nil, contra_ledger_account_id: nil, counterparty_id: nil, external_id: nil, ledger_account_id: nil, metadata: nil, name: nil, parent_account_id: nil, party_address: nil, party_type: nil, status: nil, request_options: {})
|
|
75
91
|
# Some parameter documentations has been truncated, see
|
|
76
92
|
# {ModernTreasury::Models::InternalAccountUpdateParams} for more details.
|
|
77
93
|
#
|
|
78
94
|
# @param id [String]
|
|
79
95
|
#
|
|
96
|
+
# @param allowed_ach_debit_company_ids [Array<String>, nil] The ACH Company IDs allowed to debit this account. `null` allows every company.
|
|
97
|
+
#
|
|
80
98
|
# @param contra_ledger_account_id [String] The Contra Ledger Account associated to this account.
|
|
81
99
|
#
|
|
82
100
|
# @param counterparty_id [String] The Counterparty associated to this account.
|
|
@@ -91,12 +109,26 @@ module ModernTreasury
|
|
|
91
109
|
#
|
|
92
110
|
# @param parent_account_id [String] The parent internal account for this account.
|
|
93
111
|
#
|
|
94
|
-
# @param party_address [ModernTreasury::Models::AddressRequest] The address associated with the owner of the internal account. Updating this val
|
|
112
|
+
# @param party_address [ModernTreasury::Models::AddressRequest, nil] The address associated with the owner of the internal account. Updating this val
|
|
113
|
+
#
|
|
114
|
+
# @param party_type [Symbol, ModernTreasury::Models::InternalAccountUpdateParams::PartyType, nil] Either individual or business. Inherits from associated LegalEntity legal_entity
|
|
95
115
|
#
|
|
96
116
|
# @param status [Symbol, ModernTreasury::Models::InternalAccountUpdateParams::Status] Requests closure of the internal account. The resulting status may be `closed` f
|
|
97
117
|
#
|
|
98
118
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
99
119
|
|
|
120
|
+
# Either individual or business. Inherits from associated LegalEntity
|
|
121
|
+
# legal_entity_type, if one exists.
|
|
122
|
+
module PartyType
|
|
123
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
124
|
+
|
|
125
|
+
INDIVIDUAL = :individual
|
|
126
|
+
BUSINESS = :business
|
|
127
|
+
|
|
128
|
+
# @!method self.values
|
|
129
|
+
# @return [Array<Symbol>]
|
|
130
|
+
end
|
|
131
|
+
|
|
100
132
|
# Requests closure of the internal account. The resulting status may be `closed`
|
|
101
133
|
# for vendors that close synchronously.
|
|
102
134
|
module Status
|
|
@@ -139,8 +139,10 @@ module ModernTreasury
|
|
|
139
139
|
# @!attribute balance_type
|
|
140
140
|
# The specific type of balance reported. One of `opening_ledger`,
|
|
141
141
|
# `closing_ledger`, `current_ledger`, `opening_available`,
|
|
142
|
-
# `opening_available_next_business_day`, `closing_available`,
|
|
143
|
-
#
|
|
142
|
+
# `opening_available_next_business_day`, `closing_available`,
|
|
143
|
+
# `closing_pending_inflows`, `closing_pending_outflows`, `current_available`,
|
|
144
|
+
# 'previously_closed_book', `current_pending_inflows`, `current_pending_outflows`,
|
|
145
|
+
# or `other`.
|
|
144
146
|
#
|
|
145
147
|
# @return [Symbol, ModernTreasury::Models::InternalAccounts::BalanceReport::Balance::BalanceType]
|
|
146
148
|
required :balance_type, enum: -> { ModernTreasury::InternalAccounts::BalanceReport::Balance::BalanceType }
|
|
@@ -228,8 +230,10 @@ module ModernTreasury
|
|
|
228
230
|
|
|
229
231
|
# The specific type of balance reported. One of `opening_ledger`,
|
|
230
232
|
# `closing_ledger`, `current_ledger`, `opening_available`,
|
|
231
|
-
# `opening_available_next_business_day`, `closing_available`,
|
|
232
|
-
#
|
|
233
|
+
# `opening_available_next_business_day`, `closing_available`,
|
|
234
|
+
# `closing_pending_inflows`, `closing_pending_outflows`, `current_available`,
|
|
235
|
+
# 'previously_closed_book', `current_pending_inflows`, `current_pending_outflows`,
|
|
236
|
+
# or `other`.
|
|
233
237
|
#
|
|
234
238
|
# @see ModernTreasury::Models::InternalAccounts::BalanceReport::Balance#balance_type
|
|
235
239
|
module BalanceType
|
|
@@ -237,8 +241,12 @@ module ModernTreasury
|
|
|
237
241
|
|
|
238
242
|
CLOSING_AVAILABLE = :closing_available
|
|
239
243
|
CLOSING_LEDGER = :closing_ledger
|
|
244
|
+
CLOSING_PENDING_INFLOWS = :closing_pending_inflows
|
|
245
|
+
CLOSING_PENDING_OUTFLOWS = :closing_pending_outflows
|
|
240
246
|
CURRENT_AVAILABLE = :current_available
|
|
241
247
|
CURRENT_LEDGER = :current_ledger
|
|
248
|
+
CURRENT_PENDING_INFLOWS = :current_pending_inflows
|
|
249
|
+
CURRENT_PENDING_OUTFLOWS = :current_pending_outflows
|
|
242
250
|
OPENING_AVAILABLE = :opening_available
|
|
243
251
|
OPENING_AVAILABLE_NEXT_BUSINESS_DAY = :opening_available_next_business_day
|
|
244
252
|
OPENING_LEDGER = :opening_ledger
|
|
@@ -75,8 +75,10 @@ module ModernTreasury
|
|
|
75
75
|
# @!attribute balance_type
|
|
76
76
|
# The specific type of balance reported. One of `opening_ledger`,
|
|
77
77
|
# `closing_ledger`, `current_ledger`, `opening_available`,
|
|
78
|
-
# `opening_available_next_business_day`, `closing_available`,
|
|
79
|
-
#
|
|
78
|
+
# `opening_available_next_business_day`, `closing_available`,
|
|
79
|
+
# `closing_pending_inflows`, `closing_pending_outflows`, `current_available`,
|
|
80
|
+
# 'previously_closed_book', `current_pending_inflows`, `current_pending_outflows`,
|
|
81
|
+
# or `other`.
|
|
80
82
|
#
|
|
81
83
|
# @return [Symbol, ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance::BalanceType]
|
|
82
84
|
required :balance_type,
|
|
@@ -128,8 +130,10 @@ module ModernTreasury
|
|
|
128
130
|
|
|
129
131
|
# The specific type of balance reported. One of `opening_ledger`,
|
|
130
132
|
# `closing_ledger`, `current_ledger`, `opening_available`,
|
|
131
|
-
# `opening_available_next_business_day`, `closing_available`,
|
|
132
|
-
#
|
|
133
|
+
# `opening_available_next_business_day`, `closing_available`,
|
|
134
|
+
# `closing_pending_inflows`, `closing_pending_outflows`, `current_available`,
|
|
135
|
+
# 'previously_closed_book', `current_pending_inflows`, `current_pending_outflows`,
|
|
136
|
+
# or `other`.
|
|
133
137
|
#
|
|
134
138
|
# @see ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance#balance_type
|
|
135
139
|
module BalanceType
|
|
@@ -137,8 +141,12 @@ module ModernTreasury
|
|
|
137
141
|
|
|
138
142
|
CLOSING_AVAILABLE = :closing_available
|
|
139
143
|
CLOSING_LEDGER = :closing_ledger
|
|
144
|
+
CLOSING_PENDING_INFLOWS = :closing_pending_inflows
|
|
145
|
+
CLOSING_PENDING_OUTFLOWS = :closing_pending_outflows
|
|
140
146
|
CURRENT_AVAILABLE = :current_available
|
|
141
147
|
CURRENT_LEDGER = :current_ledger
|
|
148
|
+
CURRENT_PENDING_INFLOWS = :current_pending_inflows
|
|
149
|
+
CURRENT_PENDING_OUTFLOWS = :current_pending_outflows
|
|
142
150
|
OPENING_AVAILABLE = :opening_available
|
|
143
151
|
OPENING_AVAILABLE_NEXT_BUSINESS_DAY = :opening_available_next_business_day
|
|
144
152
|
OPENING_LEDGER = :opening_ledger
|
|
@@ -446,12 +446,14 @@ module ModernTreasury
|
|
|
446
446
|
module DocumentType
|
|
447
447
|
extend ModernTreasury::Internal::Type::Enum
|
|
448
448
|
|
|
449
|
+
AGENT_AUTHORIZATION_LETTER = :agent_authorization_letter
|
|
449
450
|
ARTICLES_OF_INCORPORATION = :articles_of_incorporation
|
|
450
451
|
CERTIFICATE_OF_GOOD_STANDING = :certificate_of_good_standing
|
|
451
452
|
EIN_LETTER = :ein_letter
|
|
452
453
|
GENERIC = :generic
|
|
453
454
|
IDENTIFICATION_BACK = :identification_back
|
|
454
455
|
IDENTIFICATION_FRONT = :identification_front
|
|
456
|
+
LETTER_OF_ADMINISTRATION = :letter_of_administration
|
|
455
457
|
PROOF_OF_ADDRESS = :proof_of_address
|
|
456
458
|
|
|
457
459
|
# @!method self.values
|
|
@@ -464,6 +466,8 @@ module ModernTreasury
|
|
|
464
466
|
extend ModernTreasury::Internal::Type::Enum
|
|
465
467
|
|
|
466
468
|
CORPORATION = :corporation
|
|
469
|
+
ESTATE = :estate
|
|
470
|
+
GOVERNMENT_ENTITY = :government_entity
|
|
467
471
|
LLC = :llc
|
|
468
472
|
NON_PROFIT = :non_profit
|
|
469
473
|
PARTNERSHIP = :partnership
|
|
@@ -908,6 +908,7 @@ module ModernTreasury
|
|
|
908
908
|
CITIBANK_REFERENCE_NUMBER = :citibank_reference_number
|
|
909
909
|
CITIBANK_WORLDLINK_CLEARING_SYSTEM_REFERENCE_NUMBER =
|
|
910
910
|
:citibank_worldlink_clearing_system_reference_number
|
|
911
|
+
CITIBANK_WORLDLINK_FNDREF = :citibank_worldlink_fndref
|
|
911
912
|
COLUMN_FX_QUOTE_ID = :column_fx_quote_id
|
|
912
913
|
COLUMN_REVERSAL_PAIR_TRANSFER_ID = :column_reversal_pair_transfer_id
|
|
913
914
|
COLUMN_TRANSFER_ID = :column_transfer_id
|
|
@@ -922,6 +923,7 @@ module ModernTreasury
|
|
|
922
923
|
CURRENCYCLOUD_CONVERSION_ID = :currencycloud_conversion_id
|
|
923
924
|
CURRENCYCLOUD_PAYMENT_ID = :currencycloud_payment_id
|
|
924
925
|
EFT_TRACE_NUMBER = :eft_trace_number
|
|
926
|
+
END_TO_END_IDENTIFICATION = :end_to_end_identification
|
|
925
927
|
EVOLVE_CORE_BATCH = :evolve_core_batch
|
|
926
928
|
EVOLVE_CORE_FILE_KEY = :evolve_core_file_key
|
|
927
929
|
EVOLVE_CORE_SEQ = :evolve_core_seq
|
|
@@ -935,6 +937,7 @@ module ModernTreasury
|
|
|
935
937
|
GOLDMAN_SACHS_PAYMENT_REQUEST_ID = :goldman_sachs_payment_request_id
|
|
936
938
|
GOLDMAN_SACHS_REQUEST_ID = :goldman_sachs_request_id
|
|
937
939
|
GOLDMAN_SACHS_UNIQUE_PAYMENT_ID = :goldman_sachs_unique_payment_id
|
|
940
|
+
INSTRUCTION_IDENTIFICATION = :instruction_identification
|
|
938
941
|
JPMC_CCN = :jpmc_ccn
|
|
939
942
|
JPMC_CLEARING_SYSTEM_REFERENCE = :jpmc_clearing_system_reference
|
|
940
943
|
JPMC_CUSTOMER_REFERENCE_ID = :jpmc_customer_reference_id
|
|
@@ -961,14 +964,17 @@ module ModernTreasury
|
|
|
961
964
|
PNC_REQUEST_FOR_PAYMENT_ID = :pnc_request_for_payment_id
|
|
962
965
|
PNC_TRANSACTION_REFERENCE_NUMBER = :pnc_transaction_reference_number
|
|
963
966
|
RBC_WIRE_REFERENCE_ID = :rbc_wire_reference_id
|
|
967
|
+
RETURN_IDENTIFICATION = :return_identification
|
|
964
968
|
RTP_INSTRUCTION_ID = :rtp_instruction_id
|
|
965
969
|
SILVERGATE_PAYMENT_ID = :silvergate_payment_id
|
|
966
970
|
SVB_END_TO_END_ID = :svb_end_to_end_id
|
|
967
971
|
SVB_PAYMENT_ID = :svb_payment_id
|
|
968
972
|
SWIFT_MIR = :swift_mir
|
|
969
973
|
SWIFT_UETR = :swift_uetr
|
|
974
|
+
TRANSACTION_IDENTIFICATION = :transaction_identification
|
|
970
975
|
TURNKEY_ACTIVITY_ID = :turnkey_activity_id
|
|
971
976
|
TURNKEY_SEND_TRANSACTION_STATUS_ID = :turnkey_send_transaction_status_id
|
|
977
|
+
UETR = :uetr
|
|
972
978
|
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER = :umb_product_partner_account_number
|
|
973
979
|
USBANK_PAYMENT_APPLICATION_REFERENCE_ID = :usbank_payment_application_reference_id
|
|
974
980
|
USBANK_PAYMENT_ID = :usbank_payment_id
|