modern_treasury 0.23.0 → 0.24.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 +27 -0
- data/README.md +1 -1
- data/lib/modern_treasury/models/currency.rb +2 -0
- data/lib/modern_treasury/models/legal_entity_association.rb +1 -0
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +1 -0
- data/lib/modern_treasury/models/legal_entity_association_inline_create.rb +1 -0
- data/lib/modern_treasury/models/transaction.rb +1 -0
- data/lib/modern_treasury/resources/incoming_payment_details.rb +2 -2
- data/lib/modern_treasury/version.rb +1 -1
- data/rbi/modern_treasury/models/currency.rbi +2 -0
- data/rbi/modern_treasury/models/legal_entity_association.rbi +5 -0
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/legal_entity_association_inline_create.rbi +5 -0
- data/rbi/modern_treasury/models/transaction.rbi +5 -0
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +1 -1
- data/sig/modern_treasury/models/currency.rbs +4 -0
- data/sig/modern_treasury/models/legal_entity_association.rbs +5 -1
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +5 -1
- data/sig/modern_treasury/models/legal_entity_association_inline_create.rbs +5 -1
- data/sig/modern_treasury/models/transaction.rbs +2 -0
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
- 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: e62f666b6f506840d84566ea50075095b190489860deb927fbd653ecbfc95a48
|
|
4
|
+
data.tar.gz: 7942c70884d9b04225f7676d25382f7867ab1a920dc6e06d3c3442b60e7009f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 532d0703d19955d7934667c3c2f28fc4b2bbe6db88a55ba3cb87bf0c391b0be1d9056e089b34b9f92502866db3b9633feeb46ecc42c14f624d661fede494c5b6
|
|
7
|
+
data.tar.gz: d3c3b35dbd29b159cd99e69af6ee11f83c1402f0791f0f300abf99ad105b8f628aa6e41ec48dbe3b163b62f6840dc912fc556cfeff1bdec50ffabcaffb7f0350
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.24.0 (2026-03-25)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.23.0...v0.24.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.23.0...v0.24.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([47b3e62](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/47b3e62aafe2a3345f52def71fbab0216f1092f2))
|
|
10
|
+
* **api:** api update ([d422719](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/d422719b948c4aa2550890785cebb4a337bba375))
|
|
11
|
+
* **api:** api update ([e2b0830](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/e2b08301720457291b2f7541773cca32135aa666))
|
|
12
|
+
* **api:** api update ([fc6a60a](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/fc6a60af8d45dbbf28c2a7494cb151b0194ca5d2))
|
|
13
|
+
* **api:** switch back to prism mock server ([bc5520b](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/bc5520bdbb3bfd1c3a3452a813a27bf71c8db2bd))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
* **ci:** skip lint on metadata-only changes ([87a19ae](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/87a19ae59a1f2ba1670eac17db78e9d5a40800b6))
|
|
19
|
+
* **internal:** update gitignore ([98c0798](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/98c079816deef59c1a00fe940ca7e4e1e1f09835))
|
|
20
|
+
* **tests:** bump steady to v0.19.4 ([6e3576d](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/6e3576dcfe61145a2700008ec43f1e58cab0d0f7))
|
|
21
|
+
* **tests:** bump steady to v0.19.5 ([ca329ee](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/ca329eea0c3174d706d92dcab5ade09cb190d227))
|
|
22
|
+
* **tests:** bump steady to v0.19.6 ([c9cabb6](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/c9cabb6397b91212c14f7754737ef705b9ec0b4a))
|
|
23
|
+
* **tests:** bump steady to v0.19.7 ([26c8b49](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/26c8b49c5589988a3426a2c0a829edf0741838e7))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Refactors
|
|
27
|
+
|
|
28
|
+
* **tests:** switch from prism to steady ([f508886](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/f5088863a09e15de1442e3c8ae05458a8f41fecf))
|
|
29
|
+
|
|
3
30
|
## 0.23.0 (2026-03-18)
|
|
4
31
|
|
|
5
32
|
Full Changelog: [v0.22.0...v0.23.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.22.0...v0.23.0)
|
data/README.md
CHANGED
|
@@ -55,6 +55,7 @@ module ModernTreasury
|
|
|
55
55
|
EGP = :EGP
|
|
56
56
|
ERN = :ERN
|
|
57
57
|
ETB = :ETB
|
|
58
|
+
ETH = :ETH
|
|
58
59
|
EUR = :EUR
|
|
59
60
|
EURC = :EURC
|
|
60
61
|
FJD = :FJD
|
|
@@ -125,6 +126,7 @@ module ModernTreasury
|
|
|
125
126
|
NPR = :NPR
|
|
126
127
|
NZD = :NZD
|
|
127
128
|
OMR = :OMR
|
|
129
|
+
OP = :OP
|
|
128
130
|
PAB = :PAB
|
|
129
131
|
PEN = :PEN
|
|
130
132
|
PGK = :PGK
|
|
@@ -121,7 +121,7 @@ module ModernTreasury
|
|
|
121
121
|
#
|
|
122
122
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
123
123
|
#
|
|
124
|
-
# @return [ModernTreasury::Models::
|
|
124
|
+
# @return [ModernTreasury::Models::IncomingPaymentDetail]
|
|
125
125
|
#
|
|
126
126
|
# @see ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams
|
|
127
127
|
def create_async(params = {})
|
|
@@ -130,7 +130,7 @@ module ModernTreasury
|
|
|
130
130
|
method: :post,
|
|
131
131
|
path: "api/simulations/incoming_payment_details/create_async",
|
|
132
132
|
body: parsed,
|
|
133
|
-
model: ModernTreasury::
|
|
133
|
+
model: ModernTreasury::IncomingPaymentDetail,
|
|
134
134
|
options: options
|
|
135
135
|
)
|
|
136
136
|
end
|
|
@@ -58,6 +58,7 @@ module ModernTreasury
|
|
|
58
58
|
EGP = T.let(:EGP, ModernTreasury::Currency::TaggedSymbol)
|
|
59
59
|
ERN = T.let(:ERN, ModernTreasury::Currency::TaggedSymbol)
|
|
60
60
|
ETB = T.let(:ETB, ModernTreasury::Currency::TaggedSymbol)
|
|
61
|
+
ETH = T.let(:ETH, ModernTreasury::Currency::TaggedSymbol)
|
|
61
62
|
EUR = T.let(:EUR, ModernTreasury::Currency::TaggedSymbol)
|
|
62
63
|
EURC = T.let(:EURC, ModernTreasury::Currency::TaggedSymbol)
|
|
63
64
|
FJD = T.let(:FJD, ModernTreasury::Currency::TaggedSymbol)
|
|
@@ -128,6 +129,7 @@ module ModernTreasury
|
|
|
128
129
|
NPR = T.let(:NPR, ModernTreasury::Currency::TaggedSymbol)
|
|
129
130
|
NZD = T.let(:NZD, ModernTreasury::Currency::TaggedSymbol)
|
|
130
131
|
OMR = T.let(:OMR, ModernTreasury::Currency::TaggedSymbol)
|
|
132
|
+
OP = T.let(:OP, ModernTreasury::Currency::TaggedSymbol)
|
|
131
133
|
PAB = T.let(:PAB, ModernTreasury::Currency::TaggedSymbol)
|
|
132
134
|
PEN = T.let(:PEN, ModernTreasury::Currency::TaggedSymbol)
|
|
133
135
|
PGK = T.let(:PGK, ModernTreasury::Currency::TaggedSymbol)
|
|
@@ -151,6 +151,11 @@ module ModernTreasury
|
|
|
151
151
|
:control_person,
|
|
152
152
|
ModernTreasury::LegalEntityAssociation::RelationshipType::TaggedSymbol
|
|
153
153
|
)
|
|
154
|
+
SERVICE_CUSTOMER =
|
|
155
|
+
T.let(
|
|
156
|
+
:service_customer,
|
|
157
|
+
ModernTreasury::LegalEntityAssociation::RelationshipType::TaggedSymbol
|
|
158
|
+
)
|
|
154
159
|
|
|
155
160
|
sig do
|
|
156
161
|
override.returns(
|
|
@@ -132,6 +132,11 @@ module ModernTreasury
|
|
|
132
132
|
:control_person,
|
|
133
133
|
ModernTreasury::LegalEntityAssociationCreateParams::RelationshipType::TaggedSymbol
|
|
134
134
|
)
|
|
135
|
+
SERVICE_CUSTOMER =
|
|
136
|
+
T.let(
|
|
137
|
+
:service_customer,
|
|
138
|
+
ModernTreasury::LegalEntityAssociationCreateParams::RelationshipType::TaggedSymbol
|
|
139
|
+
)
|
|
135
140
|
|
|
136
141
|
sig do
|
|
137
142
|
override.returns(
|
|
@@ -114,6 +114,11 @@ module ModernTreasury
|
|
|
114
114
|
:control_person,
|
|
115
115
|
ModernTreasury::LegalEntityAssociationInlineCreate::RelationshipType::TaggedSymbol
|
|
116
116
|
)
|
|
117
|
+
SERVICE_CUSTOMER =
|
|
118
|
+
T.let(
|
|
119
|
+
:service_customer,
|
|
120
|
+
ModernTreasury::LegalEntityAssociationInlineCreate::RelationshipType::TaggedSymbol
|
|
121
|
+
)
|
|
117
122
|
|
|
118
123
|
sig do
|
|
119
124
|
override.returns(
|
|
@@ -387,6 +387,11 @@ module ModernTreasury
|
|
|
387
387
|
:cleartouch,
|
|
388
388
|
ModernTreasury::Transaction::VendorCodeType::TaggedSymbol
|
|
389
389
|
)
|
|
390
|
+
COINBASE_PRIME =
|
|
391
|
+
T.let(
|
|
392
|
+
:coinbase_prime,
|
|
393
|
+
ModernTreasury::Transaction::VendorCodeType::TaggedSymbol
|
|
394
|
+
)
|
|
390
395
|
COLUMN =
|
|
391
396
|
T.let(
|
|
392
397
|
:column,
|
|
@@ -96,7 +96,7 @@ module ModernTreasury
|
|
|
96
96
|
ModernTreasury::IncomingPaymentDetailCreateAsyncParams::Type::OrSymbol,
|
|
97
97
|
virtual_account_id: T.nilable(String),
|
|
98
98
|
request_options: ModernTreasury::RequestOptions::OrHash
|
|
99
|
-
).returns(ModernTreasury::
|
|
99
|
+
).returns(ModernTreasury::IncomingPaymentDetail)
|
|
100
100
|
end
|
|
101
101
|
def create_async(
|
|
102
102
|
# Value in specified currency's smallest unit. e.g. $10 would be represented
|
|
@@ -50,6 +50,7 @@ module ModernTreasury
|
|
|
50
50
|
| :EGP
|
|
51
51
|
| :ERN
|
|
52
52
|
| :ETB
|
|
53
|
+
| :ETH
|
|
53
54
|
| :EUR
|
|
54
55
|
| :EURC
|
|
55
56
|
| :FJD
|
|
@@ -120,6 +121,7 @@ module ModernTreasury
|
|
|
120
121
|
| :NPR
|
|
121
122
|
| :NZD
|
|
122
123
|
| :OMR
|
|
124
|
+
| :OP
|
|
123
125
|
| :PAB
|
|
124
126
|
| :PEN
|
|
125
127
|
| :PGK
|
|
@@ -255,6 +257,7 @@ module ModernTreasury
|
|
|
255
257
|
EGP: :EGP
|
|
256
258
|
ERN: :ERN
|
|
257
259
|
ETB: :ETB
|
|
260
|
+
ETH: :ETH
|
|
258
261
|
EUR: :EUR
|
|
259
262
|
EURC: :EURC
|
|
260
263
|
FJD: :FJD
|
|
@@ -325,6 +328,7 @@ module ModernTreasury
|
|
|
325
328
|
NPR: :NPR
|
|
326
329
|
NZD: :NZD
|
|
327
330
|
OMR: :OMR
|
|
331
|
+
OP: :OP
|
|
328
332
|
PAB: :PAB
|
|
329
333
|
PEN: :PEN
|
|
330
334
|
PGK: :PGK
|
|
@@ -67,7 +67,10 @@ module ModernTreasury
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
type relationship_type =
|
|
70
|
-
:authorized_signer
|
|
70
|
+
:authorized_signer
|
|
71
|
+
| :beneficial_owner
|
|
72
|
+
| :control_person
|
|
73
|
+
| :service_customer
|
|
71
74
|
|
|
72
75
|
module RelationshipType
|
|
73
76
|
extend ModernTreasury::Internal::Type::Enum
|
|
@@ -75,6 +78,7 @@ module ModernTreasury
|
|
|
75
78
|
AUTHORIZED_SIGNER: :authorized_signer
|
|
76
79
|
BENEFICIAL_OWNER: :beneficial_owner
|
|
77
80
|
CONTROL_PERSON: :control_person
|
|
81
|
+
SERVICE_CUSTOMER: :service_customer
|
|
78
82
|
|
|
79
83
|
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociation::relationship_type]
|
|
80
84
|
end
|
|
@@ -54,7 +54,10 @@ module ModernTreasury
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
type relationship_type =
|
|
57
|
-
:authorized_signer
|
|
57
|
+
:authorized_signer
|
|
58
|
+
| :beneficial_owner
|
|
59
|
+
| :control_person
|
|
60
|
+
| :service_customer
|
|
58
61
|
|
|
59
62
|
module RelationshipType
|
|
60
63
|
extend ModernTreasury::Internal::Type::Enum
|
|
@@ -62,6 +65,7 @@ module ModernTreasury
|
|
|
62
65
|
AUTHORIZED_SIGNER: :authorized_signer
|
|
63
66
|
BENEFICIAL_OWNER: :beneficial_owner
|
|
64
67
|
CONTROL_PERSON: :control_person
|
|
68
|
+
SERVICE_CUSTOMER: :service_customer
|
|
65
69
|
|
|
66
70
|
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociationCreateParams::relationship_type]
|
|
67
71
|
end
|
|
@@ -43,7 +43,10 @@ module ModernTreasury
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
type relationship_type =
|
|
46
|
-
:authorized_signer
|
|
46
|
+
:authorized_signer
|
|
47
|
+
| :beneficial_owner
|
|
48
|
+
| :control_person
|
|
49
|
+
| :service_customer
|
|
47
50
|
|
|
48
51
|
module RelationshipType
|
|
49
52
|
extend ModernTreasury::Internal::Type::Enum
|
|
@@ -51,6 +54,7 @@ module ModernTreasury
|
|
|
51
54
|
AUTHORIZED_SIGNER: :authorized_signer
|
|
52
55
|
BENEFICIAL_OWNER: :beneficial_owner
|
|
53
56
|
CONTROL_PERSON: :control_person
|
|
57
|
+
SERVICE_CUSTOMER: :service_customer
|
|
54
58
|
|
|
55
59
|
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociationInlineCreate::relationship_type]
|
|
56
60
|
end
|
|
@@ -226,6 +226,7 @@ module ModernTreasury
|
|
|
226
226
|
| :bnk_dev
|
|
227
227
|
| :brale
|
|
228
228
|
| :cleartouch
|
|
229
|
+
| :coinbase_prime
|
|
229
230
|
| :column
|
|
230
231
|
| :cross_river
|
|
231
232
|
| :currencycloud
|
|
@@ -257,6 +258,7 @@ module ModernTreasury
|
|
|
257
258
|
BNK_DEV: :bnk_dev
|
|
258
259
|
BRALE: :brale
|
|
259
260
|
CLEARTOUCH: :cleartouch
|
|
261
|
+
COINBASE_PRIME: :coinbase_prime
|
|
260
262
|
COLUMN: :column
|
|
261
263
|
CROSS_RIVER: :cross_river
|
|
262
264
|
CURRENCYCLOUD: :currencycloud
|
|
@@ -36,7 +36,7 @@ module ModernTreasury
|
|
|
36
36
|
?type: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::type_,
|
|
37
37
|
?virtual_account_id: String?,
|
|
38
38
|
?request_options: ModernTreasury::request_opts
|
|
39
|
-
) -> ModernTreasury::
|
|
39
|
+
) -> ModernTreasury::IncomingPaymentDetail
|
|
40
40
|
|
|
41
41
|
def initialize: (client: ModernTreasury::Client) -> void
|
|
42
42
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: modern_treasury
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.24.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Modern Treasury
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|