modern_treasury 0.30.0 → 0.31.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 +13 -0
- data/README.md +1 -1
- data/lib/modern_treasury/models/account_detail.rb +8 -6
- data/lib/modern_treasury/models/account_detail_create_params.rb +8 -6
- data/lib/modern_treasury/models/bulk_request_create_params.rb +2 -2
- data/lib/modern_treasury/models/child_legal_entity.rb +2 -2
- data/lib/modern_treasury/models/child_legal_entity_create.rb +2 -2
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +2 -2
- data/lib/modern_treasury/models/counterparty_create_params.rb +3 -3
- data/lib/modern_treasury/models/document.rb +7 -9
- data/lib/modern_treasury/models/document_create_params.rb +0 -2
- data/lib/modern_treasury/models/document_list_params.rb +7 -9
- data/lib/modern_treasury/models/external_account_create_params.rb +1 -1
- data/lib/modern_treasury/models/incoming_payment_detail.rb +1 -1
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +3 -14
- data/lib/modern_treasury/models/internal_account_create_params.rb +1 -0
- data/lib/modern_treasury/models/legal_entity.rb +2 -2
- data/lib/modern_treasury/models/legal_entity_create_params.rb +2 -2
- data/lib/modern_treasury/models/legal_entity_update_params.rb +2 -2
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +1 -1
- data/lib/modern_treasury/models/payment_order_create_params.rb +1 -3
- data/lib/modern_treasury/models/payment_order_subtype.rb +1 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +1 -1
- data/lib/modern_treasury/models/virtual_account.rb +9 -1
- data/lib/modern_treasury/models/virtual_account_create_params.rb +17 -7
- data/lib/modern_treasury/models/virtual_account_list_params.rb +9 -1
- data/lib/modern_treasury/resources/account_details.rb +1 -1
- data/lib/modern_treasury/resources/documents.rb +1 -1
- data/lib/modern_treasury/resources/incoming_payment_details.rb +1 -1
- data/lib/modern_treasury/resources/legal_entities.rb +2 -2
- data/lib/modern_treasury/resources/virtual_accounts.rb +6 -2
- data/lib/modern_treasury/version.rb +1 -1
- data/rbi/modern_treasury/models/account_detail.rbi +14 -11
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +14 -11
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +10 -10
- data/rbi/modern_treasury/models/child_legal_entity.rbi +2 -2
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +2 -2
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +2 -2
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +7 -7
- data/rbi/modern_treasury/models/document.rbi +9 -19
- data/rbi/modern_treasury/models/document_create_params.rbi +0 -10
- data/rbi/modern_treasury/models/document_list_params.rbi +9 -19
- data/rbi/modern_treasury/models/external_account_create_params.rbi +5 -5
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +5 -5
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +4 -50
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +2 -2
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +2 -2
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +2 -2
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +5 -5
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +5 -15
- data/rbi/modern_treasury/models/payment_order_subtype.rbi +2 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +5 -5
- data/rbi/modern_treasury/models/virtual_account.rbi +8 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +22 -11
- data/rbi/modern_treasury/models/virtual_account_list_params.rbi +11 -0
- data/rbi/modern_treasury/resources/account_details.rbi +3 -2
- data/rbi/modern_treasury/resources/documents.rbi +3 -3
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +1 -2
- data/rbi/modern_treasury/resources/legal_entities.rbi +2 -2
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +6 -0
- data/sig/modern_treasury/models/account_detail.rbs +3 -3
- data/sig/modern_treasury/models/account_detail_create_params.rbs +3 -3
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +6 -6
- data/sig/modern_treasury/models/counterparty_create_params.rbs +3 -3
- 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/external_account_create_params.rbs +3 -3
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +3 -3
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +6 -17
- data/sig/modern_treasury/models/internal_account_create_params.rbs +6 -1
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +3 -3
- data/sig/modern_treasury/models/payment_order_create_params.rbs +3 -7
- data/sig/modern_treasury/models/payment_order_subtype.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +3 -3
- data/sig/modern_treasury/models/virtual_account.rbs +5 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +8 -3
- data/sig/modern_treasury/models/virtual_account_list_params.rbs +7 -0
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
- data/sig/modern_treasury/resources/virtual_accounts.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac919882403746bb539adee28504278b23265825dc7be6f13f25443883adc3b1
|
|
4
|
+
data.tar.gz: 331c58f6ba8d087b98bb576c563c4e2728ccd82e2fc397dc3570465426dced12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb930cc0bc55f491c9981c1231f3b889255ea308b33186225b7d101804e733a4309f56bd69075382ac9fb717afedb6c6d635b33b04010461342982ce22e2c691
|
|
7
|
+
data.tar.gz: d343d7af1182b9a057d362d5ba53586b0315c07f5b566a9e927873e12bb1e0e3d5b0ebd709fd530a06df784ad0a8efa464ca0b28181608b176b3de3fb19671b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.31.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.30.0...v0.31.0) (2026-09-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* regenerate SDKs from 08af7fedc870e2d9a7f697517623eebdb45d86cc ([7d59741](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/7d5974180a1b4a40b69af93d41cf2049021e81cc))
|
|
9
|
+
* regenerate SDKs from 0cc6cb1cdd4beed4781658a511f3a03ddf277d94 ([7806a09](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/7806a09ac54b22a9b96865b834d08d1f641e6f67))
|
|
10
|
+
* regenerate SDKs from 0ed3f0cdda7032e8a95afe0e230eb52d004afa91 ([4657991](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/465799155b209173034dee8b9982e20f157beb26))
|
|
11
|
+
* regenerate SDKs from 256e67f3902acc2a01de6f9ebf5a5a59f434d332 ([d2c4766](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/d2c476601988a4e8c8986514135360b1f7cc8223))
|
|
12
|
+
* regenerate SDKs from 378be293d156cc28dc8ce9c1853c6d9d013b0a02 ([5f11bc7](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/5f11bc76e2b5a7f87a50f387f338e7a3e3e996ff))
|
|
13
|
+
* regenerate SDKs from 47be8347adfd69e1a713c50b9ac72d9b28708d72 ([94950ee](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/94950ee787da7763e0d67882ab139c64c6dbd785))
|
|
14
|
+
* regenerate SDKs from 6f84b3ee98f7c58add7e7b9c27ad77e30890d095 ([6b047c9](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/6b047c906614042cb2f12e951afcd6f8d095fffd))
|
|
15
|
+
|
|
3
16
|
## [0.30.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.29.3...v0.30.0) (2026-09-04)
|
|
4
17
|
|
|
5
18
|
|
data/README.md
CHANGED
|
@@ -16,8 +16,9 @@ module ModernTreasury
|
|
|
16
16
|
required :account_number_safe, String
|
|
17
17
|
|
|
18
18
|
# @!attribute account_number_type
|
|
19
|
-
#
|
|
20
|
-
# account number is in a
|
|
19
|
+
# The type of the account number. For wallet addresses, use the chain-specific
|
|
20
|
+
# type (e.g. `ethereum_address`). Use `other` if the account number is in a
|
|
21
|
+
# generic format.
|
|
21
22
|
#
|
|
22
23
|
# @return [Symbol, ModernTreasury::Models::AccountDetail::AccountNumberType]
|
|
23
24
|
required :account_number_type, enum: -> { ModernTreasury::AccountDetail::AccountNumberType }
|
|
@@ -63,7 +64,7 @@ module ModernTreasury
|
|
|
63
64
|
#
|
|
64
65
|
# @param account_number_safe [String] The last 4 digits of the account_number.
|
|
65
66
|
#
|
|
66
|
-
# @param account_number_type [Symbol, ModernTreasury::Models::AccountDetail::AccountNumberType]
|
|
67
|
+
# @param account_number_type [Symbol, ModernTreasury::Models::AccountDetail::AccountNumberType] The type of the account number. For wallet addresses, use the chain-specific typ
|
|
67
68
|
#
|
|
68
69
|
# @param created_at [Time]
|
|
69
70
|
#
|
|
@@ -77,13 +78,15 @@ module ModernTreasury
|
|
|
77
78
|
#
|
|
78
79
|
# @param account_number [String] The account number for the bank account.
|
|
79
80
|
|
|
80
|
-
#
|
|
81
|
-
# account number is in a
|
|
81
|
+
# The type of the account number. For wallet addresses, use the chain-specific
|
|
82
|
+
# type (e.g. `ethereum_address`). Use `other` if the account number is in a
|
|
83
|
+
# generic format.
|
|
82
84
|
#
|
|
83
85
|
# @see ModernTreasury::Models::AccountDetail#account_number_type
|
|
84
86
|
module AccountNumberType
|
|
85
87
|
extend ModernTreasury::Internal::Type::Enum
|
|
86
88
|
|
|
89
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
87
90
|
AU_NUMBER = :au_number
|
|
88
91
|
BASE_ADDRESS = :base_address
|
|
89
92
|
CARD_TOKEN = :card_token
|
|
@@ -98,7 +101,6 @@ module ModernTreasury
|
|
|
98
101
|
POLYGON_ADDRESS = :polygon_address
|
|
99
102
|
SG_NUMBER = :sg_number
|
|
100
103
|
SOLANA_ADDRESS = :solana_address
|
|
101
|
-
WALLET_ADDRESS = :wallet_address
|
|
102
104
|
|
|
103
105
|
# @!method self.values
|
|
104
106
|
# @return [Array<Symbol>]
|
|
@@ -24,8 +24,9 @@ module ModernTreasury
|
|
|
24
24
|
required :account_number, String
|
|
25
25
|
|
|
26
26
|
# @!attribute account_number_type
|
|
27
|
-
#
|
|
28
|
-
# account number is in a
|
|
27
|
+
# The type of the account number. For wallet addresses, use the chain-specific
|
|
28
|
+
# type (e.g. `ethereum_address`). Use `other` if the account number is in a
|
|
29
|
+
# generic format.
|
|
29
30
|
#
|
|
30
31
|
# @return [Symbol, ModernTreasury::Models::AccountDetailCreateParams::AccountNumberType, nil]
|
|
31
32
|
optional :account_number_type, enum: -> { ModernTreasury::AccountDetailCreateParams::AccountNumberType }
|
|
@@ -40,7 +41,7 @@ module ModernTreasury
|
|
|
40
41
|
#
|
|
41
42
|
# @param account_number [String] The account number for the bank account.
|
|
42
43
|
#
|
|
43
|
-
# @param account_number_type [Symbol, ModernTreasury::Models::AccountDetailCreateParams::AccountNumberType]
|
|
44
|
+
# @param account_number_type [Symbol, ModernTreasury::Models::AccountDetailCreateParams::AccountNumberType] The type of the account number. For wallet addresses, use the chain-specific typ
|
|
44
45
|
#
|
|
45
46
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
46
47
|
|
|
@@ -53,11 +54,13 @@ module ModernTreasury
|
|
|
53
54
|
# @return [Array<Symbol>]
|
|
54
55
|
end
|
|
55
56
|
|
|
56
|
-
#
|
|
57
|
-
# account number is in a
|
|
57
|
+
# The type of the account number. For wallet addresses, use the chain-specific
|
|
58
|
+
# type (e.g. `ethereum_address`). Use `other` if the account number is in a
|
|
59
|
+
# generic format.
|
|
58
60
|
module AccountNumberType
|
|
59
61
|
extend ModernTreasury::Internal::Type::Enum
|
|
60
62
|
|
|
63
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
61
64
|
AU_NUMBER = :au_number
|
|
62
65
|
BASE_ADDRESS = :base_address
|
|
63
66
|
CARD_TOKEN = :card_token
|
|
@@ -72,7 +75,6 @@ module ModernTreasury
|
|
|
72
75
|
POLYGON_ADDRESS = :polygon_address
|
|
73
76
|
SG_NUMBER = :sg_number
|
|
74
77
|
SOLANA_ADDRESS = :solana_address
|
|
75
|
-
WALLET_ADDRESS = :wallet_address
|
|
76
78
|
|
|
77
79
|
# @!method self.values
|
|
78
80
|
# @return [Array<Symbol>]
|
|
@@ -883,6 +883,7 @@ module ModernTreasury
|
|
|
883
883
|
module AccountNumberType
|
|
884
884
|
extend ModernTreasury::Internal::Type::Enum
|
|
885
885
|
|
|
886
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
886
887
|
AU_NUMBER = :au_number
|
|
887
888
|
BASE_ADDRESS = :base_address
|
|
888
889
|
CARD_TOKEN = :card_token
|
|
@@ -897,7 +898,6 @@ module ModernTreasury
|
|
|
897
898
|
POLYGON_ADDRESS = :polygon_address
|
|
898
899
|
SG_NUMBER = :sg_number
|
|
899
900
|
SOLANA_ADDRESS = :solana_address
|
|
900
|
-
WALLET_ADDRESS = :wallet_address
|
|
901
901
|
|
|
902
902
|
# @!method self.values
|
|
903
903
|
# @return [Array<Symbol>]
|
|
@@ -2311,6 +2311,7 @@ module ModernTreasury
|
|
|
2311
2311
|
module AccountNumberType
|
|
2312
2312
|
extend ModernTreasury::Internal::Type::Enum
|
|
2313
2313
|
|
|
2314
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
2314
2315
|
AU_NUMBER = :au_number
|
|
2315
2316
|
BASE_ADDRESS = :base_address
|
|
2316
2317
|
CARD_TOKEN = :card_token
|
|
@@ -2325,7 +2326,6 @@ module ModernTreasury
|
|
|
2325
2326
|
POLYGON_ADDRESS = :polygon_address
|
|
2326
2327
|
SG_NUMBER = :sg_number
|
|
2327
2328
|
SOLANA_ADDRESS = :solana_address
|
|
2328
|
-
WALLET_ADDRESS = :wallet_address
|
|
2329
2329
|
|
|
2330
2330
|
# @!method self.values
|
|
2331
2331
|
# @return [Array<Symbol>]
|
|
@@ -223,7 +223,7 @@ module ModernTreasury
|
|
|
223
223
|
required :prefix, String, nil?: true
|
|
224
224
|
|
|
225
225
|
# @!attribute primary_social_media_sites
|
|
226
|
-
# A list of primary social media URLs
|
|
226
|
+
# A list of the entity's primary social media URLs.
|
|
227
227
|
#
|
|
228
228
|
# @return [Array<String>]
|
|
229
229
|
required :primary_social_media_sites, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
@@ -382,7 +382,7 @@ module ModernTreasury
|
|
|
382
382
|
#
|
|
383
383
|
# @param prefix [String, nil] An individual's prefix.
|
|
384
384
|
#
|
|
385
|
-
# @param primary_social_media_sites [Array<String>] A list of primary social media URLs
|
|
385
|
+
# @param primary_social_media_sites [Array<String>] A list of the entity's primary social media URLs.
|
|
386
386
|
#
|
|
387
387
|
# @param regulators [Array<ModernTreasury::Models::ChildLegalEntity::Regulator>, nil] Array of regulatory bodies overseeing this institution.
|
|
388
388
|
#
|
|
@@ -216,7 +216,7 @@ module ModernTreasury
|
|
|
216
216
|
optional :prefix, String, nil?: true
|
|
217
217
|
|
|
218
218
|
# @!attribute primary_social_media_sites
|
|
219
|
-
# A list of primary social media URLs
|
|
219
|
+
# A list of the entity's primary social media URLs.
|
|
220
220
|
#
|
|
221
221
|
# @return [Array<String>, nil]
|
|
222
222
|
optional :primary_social_media_sites, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
@@ -357,7 +357,7 @@ module ModernTreasury
|
|
|
357
357
|
#
|
|
358
358
|
# @param prefix [String, nil] An individual's prefix.
|
|
359
359
|
#
|
|
360
|
-
# @param primary_social_media_sites [Array<String>] A list of primary social media URLs
|
|
360
|
+
# @param primary_social_media_sites [Array<String>] A list of the entity's primary social media URLs.
|
|
361
361
|
#
|
|
362
362
|
# @param regulators [Array<ModernTreasury::Models::ChildLegalEntityCreate::Regulator>, nil] Array of regulatory bodies overseeing this institution.
|
|
363
363
|
#
|
|
@@ -249,7 +249,7 @@ module ModernTreasury
|
|
|
249
249
|
optional :prefix, String, nil?: true
|
|
250
250
|
|
|
251
251
|
# @!attribute primary_social_media_sites
|
|
252
|
-
# A list of primary social media URLs
|
|
252
|
+
# A list of the entity's primary social media URLs.
|
|
253
253
|
#
|
|
254
254
|
# @return [Array<String>, nil]
|
|
255
255
|
optional :primary_social_media_sites, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
@@ -397,7 +397,7 @@ module ModernTreasury
|
|
|
397
397
|
#
|
|
398
398
|
# @param prefix [String, nil] An individual's prefix.
|
|
399
399
|
#
|
|
400
|
-
# @param primary_social_media_sites [Array<String>] A list of primary social media URLs
|
|
400
|
+
# @param primary_social_media_sites [Array<String>] A list of the entity's primary social media URLs.
|
|
401
401
|
#
|
|
402
402
|
# @param regulators [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Regulator>, nil] Array of regulatory bodies overseeing this institution.
|
|
403
403
|
#
|
|
@@ -283,6 +283,7 @@ module ModernTreasury
|
|
|
283
283
|
module AccountNumberType
|
|
284
284
|
extend ModernTreasury::Internal::Type::Enum
|
|
285
285
|
|
|
286
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
286
287
|
AU_NUMBER = :au_number
|
|
287
288
|
BASE_ADDRESS = :base_address
|
|
288
289
|
CARD_TOKEN = :card_token
|
|
@@ -297,7 +298,6 @@ module ModernTreasury
|
|
|
297
298
|
POLYGON_ADDRESS = :polygon_address
|
|
298
299
|
SG_NUMBER = :sg_number
|
|
299
300
|
SOLANA_ADDRESS = :solana_address
|
|
300
|
-
WALLET_ADDRESS = :wallet_address
|
|
301
301
|
|
|
302
302
|
# @!method self.values
|
|
303
303
|
# @return [Array<Symbol>]
|
|
@@ -632,7 +632,7 @@ module ModernTreasury
|
|
|
632
632
|
optional :prefix, String, nil?: true
|
|
633
633
|
|
|
634
634
|
# @!attribute primary_social_media_sites
|
|
635
|
-
# A list of primary social media URLs
|
|
635
|
+
# A list of the entity's primary social media URLs.
|
|
636
636
|
#
|
|
637
637
|
# @return [Array<String>, nil]
|
|
638
638
|
optional :primary_social_media_sites, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
@@ -778,7 +778,7 @@ module ModernTreasury
|
|
|
778
778
|
#
|
|
779
779
|
# @param prefix [String, nil] An individual's prefix.
|
|
780
780
|
#
|
|
781
|
-
# @param primary_social_media_sites [Array<String>] A list of primary social media URLs
|
|
781
|
+
# @param primary_social_media_sites [Array<String>] A list of the entity's primary social media URLs.
|
|
782
782
|
#
|
|
783
783
|
# @param regulators [Array<ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::Regulator>, nil] Array of regulatory bodies overseeing this institution.
|
|
784
784
|
#
|
|
@@ -32,9 +32,9 @@ module ModernTreasury
|
|
|
32
32
|
required :documentable_id, String, nil?: true
|
|
33
33
|
|
|
34
34
|
# @!attribute documentable_type
|
|
35
|
-
# The type of the associated object. Currently can be one of `
|
|
36
|
-
# `
|
|
37
|
-
# `
|
|
35
|
+
# The type of the associated object. Currently can be one of `connection`,
|
|
36
|
+
# `counterparty`, `expected_payment`, `identification`, `incoming_payment_detail`,
|
|
37
|
+
# `internal_account`, `legal_entity`, `payment_order`, `return`, or `transaction`.
|
|
38
38
|
#
|
|
39
39
|
# @return [Symbol, ModernTreasury::Models::Document::DocumentableType, nil]
|
|
40
40
|
required :documentable_type, enum: -> { ModernTreasury::Document::DocumentableType }, nil?: true
|
|
@@ -81,7 +81,7 @@ module ModernTreasury
|
|
|
81
81
|
#
|
|
82
82
|
# @param documentable_id [String, nil] The unique identifier for the associated object.
|
|
83
83
|
#
|
|
84
|
-
# @param documentable_type [Symbol, ModernTreasury::Models::Document::DocumentableType, nil] The type of the associated object. Currently can be one of `
|
|
84
|
+
# @param documentable_type [Symbol, ModernTreasury::Models::Document::DocumentableType, nil] The type of the associated object. Currently can be one of `connection`, `counte
|
|
85
85
|
#
|
|
86
86
|
# @param file [ModernTreasury::Models::Document::File]
|
|
87
87
|
#
|
|
@@ -93,9 +93,9 @@ module ModernTreasury
|
|
|
93
93
|
#
|
|
94
94
|
# @param updated_at [Time]
|
|
95
95
|
|
|
96
|
-
# The type of the associated object. Currently can be one of `
|
|
97
|
-
# `
|
|
98
|
-
# `
|
|
96
|
+
# The type of the associated object. Currently can be one of `connection`,
|
|
97
|
+
# `counterparty`, `expected_payment`, `identification`, `incoming_payment_detail`,
|
|
98
|
+
# `internal_account`, `legal_entity`, `payment_order`, `return`, or `transaction`.
|
|
99
99
|
#
|
|
100
100
|
# @see ModernTreasury::Models::Document#documentable_type
|
|
101
101
|
module DocumentableType
|
|
@@ -104,12 +104,10 @@ module ModernTreasury
|
|
|
104
104
|
CONNECTION = :connection
|
|
105
105
|
COUNTERPARTY = :counterparty
|
|
106
106
|
EXPECTED_PAYMENT = :expected_payment
|
|
107
|
-
EXTERNAL_ACCOUNT = :external_account
|
|
108
107
|
IDENTIFICATION = :identification
|
|
109
108
|
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
110
109
|
INTERNAL_ACCOUNT = :internal_account
|
|
111
110
|
LEGAL_ENTITY = :legal_entity
|
|
112
|
-
ORGANIZATION = :organization
|
|
113
111
|
PAYMENT_ORDER = :payment_order
|
|
114
112
|
RETURN = :return
|
|
115
113
|
TRANSACTION = :transaction
|
|
@@ -46,12 +46,10 @@ module ModernTreasury
|
|
|
46
46
|
CONNECTION = :connection
|
|
47
47
|
COUNTERPARTY = :counterparty
|
|
48
48
|
EXPECTED_PAYMENT = :expected_payment
|
|
49
|
-
EXTERNAL_ACCOUNT = :external_account
|
|
50
49
|
IDENTIFICATION = :identification
|
|
51
50
|
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
52
51
|
INTERNAL_ACCOUNT = :internal_account
|
|
53
52
|
LEGAL_ENTITY = :legal_entity
|
|
54
|
-
ORGANIZATION = :organization
|
|
55
53
|
PAYMENT_ORDER = :payment_order
|
|
56
54
|
RETURN = :return
|
|
57
55
|
TRANSACTION = :transaction
|
|
@@ -19,9 +19,9 @@ module ModernTreasury
|
|
|
19
19
|
optional :documentable_id, String
|
|
20
20
|
|
|
21
21
|
# @!attribute documentable_type
|
|
22
|
-
# The type of the associated object. Currently can be one of `
|
|
23
|
-
# `
|
|
24
|
-
# `
|
|
22
|
+
# The type of the associated object. Currently can be one of `connection`,
|
|
23
|
+
# `counterparty`, `expected_payment`, `identification`, `incoming_payment_detail`,
|
|
24
|
+
# `internal_account`, `legal_entity`, `payment_order`, `return`, or `transaction`.
|
|
25
25
|
#
|
|
26
26
|
# @return [Symbol, ModernTreasury::Models::DocumentListParams::DocumentableType, nil]
|
|
27
27
|
optional :documentable_type, enum: -> { ModernTreasury::DocumentListParams::DocumentableType }
|
|
@@ -39,27 +39,25 @@ module ModernTreasury
|
|
|
39
39
|
#
|
|
40
40
|
# @param documentable_id [String] The unique identifier for the associated object.
|
|
41
41
|
#
|
|
42
|
-
# @param documentable_type [Symbol, ModernTreasury::Models::DocumentListParams::DocumentableType] The type of the associated object. Currently can be one of `
|
|
42
|
+
# @param documentable_type [Symbol, ModernTreasury::Models::DocumentListParams::DocumentableType] The type of the associated object. Currently can be one of `connection`, `counte
|
|
43
43
|
#
|
|
44
44
|
# @param per_page [Integer]
|
|
45
45
|
#
|
|
46
46
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
47
47
|
|
|
48
|
-
# The type of the associated object. Currently can be one of `
|
|
49
|
-
# `
|
|
50
|
-
# `
|
|
48
|
+
# The type of the associated object. Currently can be one of `connection`,
|
|
49
|
+
# `counterparty`, `expected_payment`, `identification`, `incoming_payment_detail`,
|
|
50
|
+
# `internal_account`, `legal_entity`, `payment_order`, `return`, or `transaction`.
|
|
51
51
|
module DocumentableType
|
|
52
52
|
extend ModernTreasury::Internal::Type::Enum
|
|
53
53
|
|
|
54
54
|
CONNECTION = :connection
|
|
55
55
|
COUNTERPARTY = :counterparty
|
|
56
56
|
EXPECTED_PAYMENT = :expected_payment
|
|
57
|
-
EXTERNAL_ACCOUNT = :external_account
|
|
58
57
|
IDENTIFICATION = :identification
|
|
59
58
|
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
60
59
|
INTERNAL_ACCOUNT = :internal_account
|
|
61
60
|
LEGAL_ENTITY = :legal_entity
|
|
62
|
-
ORGANIZATION = :organization
|
|
63
61
|
PAYMENT_ORDER = :payment_order
|
|
64
62
|
RETURN = :return
|
|
65
63
|
TRANSACTION = :transaction
|
|
@@ -150,6 +150,7 @@ module ModernTreasury
|
|
|
150
150
|
module AccountNumberType
|
|
151
151
|
extend ModernTreasury::Internal::Type::Enum
|
|
152
152
|
|
|
153
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
153
154
|
AU_NUMBER = :au_number
|
|
154
155
|
BASE_ADDRESS = :base_address
|
|
155
156
|
CARD_TOKEN = :card_token
|
|
@@ -164,7 +165,6 @@ module ModernTreasury
|
|
|
164
165
|
POLYGON_ADDRESS = :polygon_address
|
|
165
166
|
SG_NUMBER = :sg_number
|
|
166
167
|
SOLANA_ADDRESS = :solana_address
|
|
167
|
-
WALLET_ADDRESS = :wallet_address
|
|
168
168
|
|
|
169
169
|
# @!method self.values
|
|
170
170
|
# @return [Array<Symbol>]
|
|
@@ -284,6 +284,7 @@ module ModernTreasury
|
|
|
284
284
|
module OriginatingAccountNumberType
|
|
285
285
|
extend ModernTreasury::Internal::Type::Enum
|
|
286
286
|
|
|
287
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
287
288
|
AU_NUMBER = :au_number
|
|
288
289
|
BASE_ADDRESS = :base_address
|
|
289
290
|
CARD_TOKEN = :card_token
|
|
@@ -298,7 +299,6 @@ module ModernTreasury
|
|
|
298
299
|
POLYGON_ADDRESS = :polygon_address
|
|
299
300
|
SG_NUMBER = :sg_number
|
|
300
301
|
SOLANA_ADDRESS = :solana_address
|
|
301
|
-
WALLET_ADDRESS = :wallet_address
|
|
302
302
|
|
|
303
303
|
# @!method self.values
|
|
304
304
|
# @return [Array<Symbol>]
|
|
@@ -42,8 +42,8 @@ module ModernTreasury
|
|
|
42
42
|
# @!attribute direction
|
|
43
43
|
# One of `credit`, `debit`.
|
|
44
44
|
#
|
|
45
|
-
# @return [Symbol, ModernTreasury::Models::
|
|
46
|
-
optional :direction, enum: -> { ModernTreasury::
|
|
45
|
+
# @return [Symbol, ModernTreasury::Models::TransactionDirection, nil]
|
|
46
|
+
optional :direction, enum: -> { ModernTreasury::TransactionDirection }
|
|
47
47
|
|
|
48
48
|
# @!attribute internal_account_id
|
|
49
49
|
# The ID of one of your internal accounts.
|
|
@@ -86,7 +86,7 @@ module ModernTreasury
|
|
|
86
86
|
#
|
|
87
87
|
# @param description [String, nil] Defaults to a random description.
|
|
88
88
|
#
|
|
89
|
-
# @param direction [Symbol, ModernTreasury::Models::
|
|
89
|
+
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection] One of `credit`, `debit`.
|
|
90
90
|
#
|
|
91
91
|
# @param internal_account_id [String] The ID of one of your internal accounts.
|
|
92
92
|
#
|
|
@@ -98,17 +98,6 @@ module ModernTreasury
|
|
|
98
98
|
#
|
|
99
99
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
100
100
|
|
|
101
|
-
# One of `credit`, `debit`.
|
|
102
|
-
module Direction
|
|
103
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
104
|
-
|
|
105
|
-
CREDIT = :credit
|
|
106
|
-
DEBIT = :debit
|
|
107
|
-
|
|
108
|
-
# @!method self.values
|
|
109
|
-
# @return [Array<Symbol>]
|
|
110
|
-
end
|
|
111
|
-
|
|
112
101
|
# One of `ach`, `wire`, `check`.
|
|
113
102
|
module Type
|
|
114
103
|
extend ModernTreasury::Internal::Type::Enum
|
|
@@ -358,6 +358,7 @@ module ModernTreasury
|
|
|
358
358
|
module RequestedAccountNumberType
|
|
359
359
|
extend ModernTreasury::Internal::Type::Enum
|
|
360
360
|
|
|
361
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
361
362
|
BASE_ADDRESS = :base_address
|
|
362
363
|
ETHEREUM_ADDRESS = :ethereum_address
|
|
363
364
|
POLYGON_ADDRESS = :polygon_address
|
|
@@ -217,7 +217,7 @@ module ModernTreasury
|
|
|
217
217
|
required :prefix, String, nil?: true
|
|
218
218
|
|
|
219
219
|
# @!attribute primary_social_media_sites
|
|
220
|
-
# A list of primary social media URLs
|
|
220
|
+
# A list of the entity's primary social media URLs.
|
|
221
221
|
#
|
|
222
222
|
# @return [Array<String>]
|
|
223
223
|
required :primary_social_media_sites, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
@@ -382,7 +382,7 @@ module ModernTreasury
|
|
|
382
382
|
#
|
|
383
383
|
# @param prefix [String, nil] An individual's prefix.
|
|
384
384
|
#
|
|
385
|
-
# @param primary_social_media_sites [Array<String>] A list of primary social media URLs
|
|
385
|
+
# @param primary_social_media_sites [Array<String>] A list of the entity's primary social media URLs.
|
|
386
386
|
#
|
|
387
387
|
# @param regulators [Array<ModernTreasury::Models::LegalEntity::Regulator>, nil] Array of regulatory bodies overseeing this institution.
|
|
388
388
|
#
|
|
@@ -218,7 +218,7 @@ module ModernTreasury
|
|
|
218
218
|
optional :prefix, String, nil?: true
|
|
219
219
|
|
|
220
220
|
# @!attribute primary_social_media_sites
|
|
221
|
-
# A list of primary social media URLs
|
|
221
|
+
# A list of the entity's primary social media URLs.
|
|
222
222
|
#
|
|
223
223
|
# @return [Array<String>, nil]
|
|
224
224
|
optional :primary_social_media_sites, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
@@ -359,7 +359,7 @@ module ModernTreasury
|
|
|
359
359
|
#
|
|
360
360
|
# @param prefix [String, nil] An individual's prefix.
|
|
361
361
|
#
|
|
362
|
-
# @param primary_social_media_sites [Array<String>] A list of primary social media URLs
|
|
362
|
+
# @param primary_social_media_sites [Array<String>] A list of the entity's primary social media URLs.
|
|
363
363
|
#
|
|
364
364
|
# @param regulators [Array<ModernTreasury::Models::LegalEntityCreateParams::Regulator>, nil] Array of regulatory bodies overseeing this institution.
|
|
365
365
|
#
|
|
@@ -183,7 +183,7 @@ module ModernTreasury
|
|
|
183
183
|
optional :prefix, String, nil?: true
|
|
184
184
|
|
|
185
185
|
# @!attribute primary_social_media_sites
|
|
186
|
-
# A list of primary social media URLs
|
|
186
|
+
# A list of the entity's primary social media URLs.
|
|
187
187
|
#
|
|
188
188
|
# @return [Array<String>, nil]
|
|
189
189
|
optional :primary_social_media_sites, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
@@ -316,7 +316,7 @@ module ModernTreasury
|
|
|
316
316
|
#
|
|
317
317
|
# @param prefix [String, nil] An individual's prefix.
|
|
318
318
|
#
|
|
319
|
-
# @param primary_social_media_sites [Array<String>] A list of primary social media URLs
|
|
319
|
+
# @param primary_social_media_sites [Array<String>] A list of the entity's primary social media URLs.
|
|
320
320
|
#
|
|
321
321
|
# @param regulators [Array<ModernTreasury::Models::LegalEntityUpdateParams::Regulator>, nil] Array of regulatory bodies overseeing this institution.
|
|
322
322
|
#
|
|
@@ -751,6 +751,7 @@ module ModernTreasury
|
|
|
751
751
|
module AccountNumberType
|
|
752
752
|
extend ModernTreasury::Internal::Type::Enum
|
|
753
753
|
|
|
754
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
754
755
|
AU_NUMBER = :au_number
|
|
755
756
|
BASE_ADDRESS = :base_address
|
|
756
757
|
CARD_TOKEN = :card_token
|
|
@@ -765,7 +766,6 @@ module ModernTreasury
|
|
|
765
766
|
POLYGON_ADDRESS = :polygon_address
|
|
766
767
|
SG_NUMBER = :sg_number
|
|
767
768
|
SOLANA_ADDRESS = :solana_address
|
|
768
|
-
WALLET_ADDRESS = :wallet_address
|
|
769
769
|
|
|
770
770
|
# @!method self.values
|
|
771
771
|
# @return [Array<Symbol>]
|
|
@@ -518,12 +518,10 @@ module ModernTreasury
|
|
|
518
518
|
CONNECTION = :connection
|
|
519
519
|
COUNTERPARTY = :counterparty
|
|
520
520
|
EXPECTED_PAYMENT = :expected_payment
|
|
521
|
-
EXTERNAL_ACCOUNT = :external_account
|
|
522
521
|
IDENTIFICATION = :identification
|
|
523
522
|
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
524
523
|
INTERNAL_ACCOUNT = :internal_account
|
|
525
524
|
LEGAL_ENTITY = :legal_entity
|
|
526
|
-
ORGANIZATION = :organization
|
|
527
525
|
PAYMENT_ORDER = :payment_order
|
|
528
526
|
RETURN = :return
|
|
529
527
|
TRANSACTION = :transaction
|
|
@@ -812,6 +810,7 @@ module ModernTreasury
|
|
|
812
810
|
module AccountNumberType
|
|
813
811
|
extend ModernTreasury::Internal::Type::Enum
|
|
814
812
|
|
|
813
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
815
814
|
AU_NUMBER = :au_number
|
|
816
815
|
BASE_ADDRESS = :base_address
|
|
817
816
|
CARD_TOKEN = :card_token
|
|
@@ -826,7 +825,6 @@ module ModernTreasury
|
|
|
826
825
|
POLYGON_ADDRESS = :polygon_address
|
|
827
826
|
SG_NUMBER = :sg_number
|
|
828
827
|
SOLANA_ADDRESS = :solana_address
|
|
829
|
-
WALLET_ADDRESS = :wallet_address
|
|
830
828
|
|
|
831
829
|
# @!method self.values
|
|
832
830
|
# @return [Array<Symbol>]
|
|
@@ -718,6 +718,7 @@ module ModernTreasury
|
|
|
718
718
|
module AccountNumberType
|
|
719
719
|
extend ModernTreasury::Internal::Type::Enum
|
|
720
720
|
|
|
721
|
+
ARBITRUM_ADDRESS = :arbitrum_address
|
|
721
722
|
AU_NUMBER = :au_number
|
|
722
723
|
BASE_ADDRESS = :base_address
|
|
723
724
|
CARD_TOKEN = :card_token
|
|
@@ -732,7 +733,6 @@ module ModernTreasury
|
|
|
732
733
|
POLYGON_ADDRESS = :polygon_address
|
|
733
734
|
SG_NUMBER = :sg_number
|
|
734
735
|
SOLANA_ADDRESS = :solana_address
|
|
735
|
-
WALLET_ADDRESS = :wallet_address
|
|
736
736
|
|
|
737
737
|
# @!method self.values
|
|
738
738
|
# @return [Array<Symbol>]
|
|
@@ -53,6 +53,12 @@ module ModernTreasury
|
|
|
53
53
|
# @return [Time, nil]
|
|
54
54
|
required :discarded_at, Time, nil?: true
|
|
55
55
|
|
|
56
|
+
# @!attribute external_id
|
|
57
|
+
# A user-defined identifier for the virtual account.
|
|
58
|
+
#
|
|
59
|
+
# @return [String, nil]
|
|
60
|
+
required :external_id, String, nil?: true
|
|
61
|
+
|
|
56
62
|
# @!attribute internal_account_id
|
|
57
63
|
# The ID of the internal account that the virtual account is in.
|
|
58
64
|
#
|
|
@@ -103,7 +109,7 @@ module ModernTreasury
|
|
|
103
109
|
# @return [Time]
|
|
104
110
|
required :updated_at, Time
|
|
105
111
|
|
|
106
|
-
# @!method initialize(id:, account_details:, counterparty_id:, created_at:, credit_ledger_account_id:, debit_ledger_account_id:, description:, discarded_at:, internal_account_id:, ledger_account_id:, live_mode:, metadata:, name:, object:, routing_details:, updated_at:)
|
|
112
|
+
# @!method initialize(id:, account_details:, counterparty_id:, created_at:, credit_ledger_account_id:, debit_ledger_account_id:, description:, discarded_at:, external_id:, internal_account_id:, ledger_account_id:, live_mode:, metadata:, name:, object:, routing_details:, updated_at:)
|
|
107
113
|
# Some parameter documentations has been truncated, see
|
|
108
114
|
# {ModernTreasury::Models::VirtualAccount} for more details.
|
|
109
115
|
#
|
|
@@ -123,6 +129,8 @@ module ModernTreasury
|
|
|
123
129
|
#
|
|
124
130
|
# @param discarded_at [Time, nil]
|
|
125
131
|
#
|
|
132
|
+
# @param external_id [String, nil] A user-defined identifier for the virtual account.
|
|
133
|
+
#
|
|
126
134
|
# @param internal_account_id [String] The ID of the internal account that the virtual account is in.
|
|
127
135
|
#
|
|
128
136
|
# @param ledger_account_id [String, nil] If the virtual account links to a ledger account in Modern Treasury, the id of t
|