modern_treasury 0.22.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 +35 -0
- data/README.md +1 -1
- data/lib/modern_treasury/models/child_legal_entity.rb +2 -2
- data/lib/modern_treasury/models/child_legal_entity_create.rb +1 -26
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +1 -28
- data/lib/modern_treasury/models/counterparty_create_params.rb +1 -30
- data/lib/modern_treasury/models/currency.rb +2 -0
- data/lib/modern_treasury/models/legal_entity.rb +2 -2
- 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/legal_entity_create_params.rb +1 -24
- data/lib/modern_treasury/models/legal_entity_update_params.rb +1 -24
- data/lib/modern_treasury/models/transaction.rb +1 -0
- data/lib/modern_treasury/resources/incoming_payment_details.rb +2 -2
- data/lib/modern_treasury/resources/legal_entities.rb +2 -6
- data/lib/modern_treasury/version.rb +1 -1
- data/rbi/modern_treasury/models/child_legal_entity.rbi +3 -3
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +0 -61
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +0 -68
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +0 -68
- data/rbi/modern_treasury/models/currency.rbi +2 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +3 -3
- 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/legal_entity_create_params.rbi +0 -63
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +0 -63
- data/rbi/modern_treasury/models/transaction.rbi +5 -0
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +1 -1
- data/rbi/modern_treasury/resources/legal_entities.rbi +0 -14
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +0 -18
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +0 -18
- data/sig/modern_treasury/models/counterparty_create_params.rbs +0 -18
- 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/legal_entity_create_params.rbs +0 -18
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +0 -18
- data/sig/modern_treasury/models/transaction.rbs +2 -0
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
- data/sig/modern_treasury/resources/legal_entities.rbs +0 -2
- 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,40 @@
|
|
|
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
|
+
|
|
30
|
+
## 0.23.0 (2026-03-18)
|
|
31
|
+
|
|
32
|
+
Full Changelog: [v0.22.0...v0.23.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.22.0...v0.23.0)
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* **api:** api update ([0031f74](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/0031f749e5edeec038cfb7a36594fd7d038c0222))
|
|
37
|
+
|
|
3
38
|
## 0.22.0 (2026-03-17)
|
|
4
39
|
|
|
5
40
|
Full Changelog: [v0.21.0...v0.22.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.21.0...v0.22.0)
|
data/README.md
CHANGED
|
@@ -237,7 +237,7 @@ module ModernTreasury
|
|
|
237
237
|
|
|
238
238
|
# @!attribute status
|
|
239
239
|
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
240
|
-
#
|
|
240
|
+
# denied.
|
|
241
241
|
#
|
|
242
242
|
# @return [Symbol, ModernTreasury::Models::ChildLegalEntity::Status, nil]
|
|
243
243
|
required :status, enum: -> { ModernTreasury::ChildLegalEntity::Status }, nil?: true
|
|
@@ -706,7 +706,7 @@ module ModernTreasury
|
|
|
706
706
|
end
|
|
707
707
|
|
|
708
708
|
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
709
|
-
#
|
|
709
|
+
# denied.
|
|
710
710
|
#
|
|
711
711
|
# @see ModernTreasury::Models::ChildLegalEntity#status
|
|
712
712
|
module Status
|
|
@@ -229,13 +229,6 @@ module ModernTreasury
|
|
|
229
229
|
# @return [Symbol, ModernTreasury::Models::ChildLegalEntityCreate::RiskRating, nil]
|
|
230
230
|
optional :risk_rating, enum: -> { ModernTreasury::ChildLegalEntityCreate::RiskRating }, nil?: true
|
|
231
231
|
|
|
232
|
-
# @!attribute status
|
|
233
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
234
|
-
# closed.
|
|
235
|
-
#
|
|
236
|
-
# @return [Symbol, ModernTreasury::Models::ChildLegalEntityCreate::Status, nil]
|
|
237
|
-
optional :status, enum: -> { ModernTreasury::ChildLegalEntityCreate::Status }, nil?: true
|
|
238
|
-
|
|
239
232
|
# @!attribute suffix
|
|
240
233
|
# An individual's suffix.
|
|
241
234
|
#
|
|
@@ -269,7 +262,7 @@ module ModernTreasury
|
|
|
269
262
|
# @return [String, nil]
|
|
270
263
|
optional :website, String, nil?: true
|
|
271
264
|
|
|
272
|
-
# @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_entity_type: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil,
|
|
265
|
+
# @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_entity_type: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
|
|
273
266
|
# Some parameter documentations has been truncated, see
|
|
274
267
|
# {ModernTreasury::Models::ChildLegalEntityCreate} for more details.
|
|
275
268
|
#
|
|
@@ -341,8 +334,6 @@ module ModernTreasury
|
|
|
341
334
|
#
|
|
342
335
|
# @param risk_rating [Symbol, ModernTreasury::Models::ChildLegalEntityCreate::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
|
343
336
|
#
|
|
344
|
-
# @param status [Symbol, ModernTreasury::Models::ChildLegalEntityCreate::Status, nil] The activation status of the legal entity. One of pending, active, suspended, or
|
|
345
|
-
#
|
|
346
337
|
# @param suffix [String, nil] An individual's suffix.
|
|
347
338
|
#
|
|
348
339
|
# @param third_party_verification [ModernTreasury::Models::ChildLegalEntityCreate::ThirdPartyVerification, nil] Information describing a third-party verification run by an external vendor.
|
|
@@ -484,22 +475,6 @@ module ModernTreasury
|
|
|
484
475
|
# @return [Array<Symbol>]
|
|
485
476
|
end
|
|
486
477
|
|
|
487
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
488
|
-
# closed.
|
|
489
|
-
#
|
|
490
|
-
# @see ModernTreasury::Models::ChildLegalEntityCreate#status
|
|
491
|
-
module Status
|
|
492
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
493
|
-
|
|
494
|
-
ACTIVE = :active
|
|
495
|
-
DENIED = :denied
|
|
496
|
-
PENDING = :pending
|
|
497
|
-
SUSPENDED = :suspended
|
|
498
|
-
|
|
499
|
-
# @!method self.values
|
|
500
|
-
# @return [Array<Symbol>]
|
|
501
|
-
end
|
|
502
|
-
|
|
503
478
|
# @see ModernTreasury::Models::ChildLegalEntityCreate#third_party_verification
|
|
504
479
|
class ThirdPartyVerification < ModernTreasury::Internal::Type::BaseModel
|
|
505
480
|
# @!attribute vendor
|
|
@@ -262,15 +262,6 @@ module ModernTreasury
|
|
|
262
262
|
enum: -> { ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::RiskRating },
|
|
263
263
|
nil?: true
|
|
264
264
|
|
|
265
|
-
# @!attribute status
|
|
266
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
267
|
-
# closed.
|
|
268
|
-
#
|
|
269
|
-
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Status, nil]
|
|
270
|
-
optional :status,
|
|
271
|
-
enum: -> { ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::Status },
|
|
272
|
-
nil?: true
|
|
273
|
-
|
|
274
265
|
# @!attribute suffix
|
|
275
266
|
# An individual's suffix.
|
|
276
267
|
#
|
|
@@ -306,7 +297,7 @@ module ModernTreasury
|
|
|
306
297
|
# @return [String, nil]
|
|
307
298
|
optional :website, String, nil?: true
|
|
308
299
|
|
|
309
|
-
# @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_entity_type: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil,
|
|
300
|
+
# @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_entity_type: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
|
|
310
301
|
# Some parameter documentations has been truncated, see
|
|
311
302
|
# {ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity} for
|
|
312
303
|
# more details.
|
|
@@ -381,8 +372,6 @@ module ModernTreasury
|
|
|
381
372
|
#
|
|
382
373
|
# @param risk_rating [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
|
383
374
|
#
|
|
384
|
-
# @param status [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Status, nil] The activation status of the legal entity. One of pending, active, suspended, or
|
|
385
|
-
#
|
|
386
375
|
# @param suffix [String, nil] An individual's suffix.
|
|
387
376
|
#
|
|
388
377
|
# @param third_party_verification [ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::ThirdPartyVerification, nil] Information describing a third-party verification run by an external vendor.
|
|
@@ -526,22 +515,6 @@ module ModernTreasury
|
|
|
526
515
|
# @return [Array<Symbol>]
|
|
527
516
|
end
|
|
528
517
|
|
|
529
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
530
|
-
# closed.
|
|
531
|
-
#
|
|
532
|
-
# @see ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity#status
|
|
533
|
-
module Status
|
|
534
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
535
|
-
|
|
536
|
-
ACTIVE = :active
|
|
537
|
-
DENIED = :denied
|
|
538
|
-
PENDING = :pending
|
|
539
|
-
SUSPENDED = :suspended
|
|
540
|
-
|
|
541
|
-
# @!method self.values
|
|
542
|
-
# @return [Array<Symbol>]
|
|
543
|
-
end
|
|
544
|
-
|
|
545
518
|
# @see ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity#third_party_verification
|
|
546
519
|
class ThirdPartyVerification < ModernTreasury::Internal::Type::BaseModel
|
|
547
520
|
# @!attribute vendor
|
|
@@ -659,17 +659,6 @@ module ModernTreasury
|
|
|
659
659
|
enum: -> { ModernTreasury::CounterpartyCreateParams::LegalEntity::RiskRating },
|
|
660
660
|
nil?: true
|
|
661
661
|
|
|
662
|
-
# @!attribute status
|
|
663
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
664
|
-
# closed.
|
|
665
|
-
#
|
|
666
|
-
# @return [Symbol, ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::Status, nil]
|
|
667
|
-
optional :status,
|
|
668
|
-
enum: -> {
|
|
669
|
-
ModernTreasury::CounterpartyCreateParams::LegalEntity::Status
|
|
670
|
-
},
|
|
671
|
-
nil?: true
|
|
672
|
-
|
|
673
662
|
# @!attribute suffix
|
|
674
663
|
# An individual's suffix.
|
|
675
664
|
#
|
|
@@ -703,7 +692,7 @@ module ModernTreasury
|
|
|
703
692
|
# @return [String, nil]
|
|
704
693
|
optional :website, String, nil?: true
|
|
705
694
|
|
|
706
|
-
# @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil,
|
|
695
|
+
# @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
|
|
707
696
|
# Some parameter documentations has been truncated, see
|
|
708
697
|
# {ModernTreasury::Models::CounterpartyCreateParams::LegalEntity} for more
|
|
709
698
|
# details.
|
|
@@ -776,8 +765,6 @@ module ModernTreasury
|
|
|
776
765
|
#
|
|
777
766
|
# @param risk_rating [Symbol, ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
|
778
767
|
#
|
|
779
|
-
# @param status [Symbol, ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::Status, nil] The activation status of the legal entity. One of pending, active, suspended, or
|
|
780
|
-
#
|
|
781
768
|
# @param suffix [String, nil] An individual's suffix.
|
|
782
769
|
#
|
|
783
770
|
# @param third_party_verification [ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::ThirdPartyVerification, nil] Information describing a third-party verification run by an external vendor.
|
|
@@ -921,22 +908,6 @@ module ModernTreasury
|
|
|
921
908
|
# @return [Array<Symbol>]
|
|
922
909
|
end
|
|
923
910
|
|
|
924
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
925
|
-
# closed.
|
|
926
|
-
#
|
|
927
|
-
# @see ModernTreasury::Models::CounterpartyCreateParams::LegalEntity#status
|
|
928
|
-
module Status
|
|
929
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
930
|
-
|
|
931
|
-
ACTIVE = :active
|
|
932
|
-
DENIED = :denied
|
|
933
|
-
PENDING = :pending
|
|
934
|
-
SUSPENDED = :suspended
|
|
935
|
-
|
|
936
|
-
# @!method self.values
|
|
937
|
-
# @return [Array<Symbol>]
|
|
938
|
-
end
|
|
939
|
-
|
|
940
911
|
# @see ModernTreasury::Models::CounterpartyCreateParams::LegalEntity#third_party_verification
|
|
941
912
|
class ThirdPartyVerification < ModernTreasury::Internal::Type::BaseModel
|
|
942
913
|
# @!attribute vendor
|
|
@@ -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
|
|
@@ -229,7 +229,7 @@ module ModernTreasury
|
|
|
229
229
|
|
|
230
230
|
# @!attribute status
|
|
231
231
|
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
232
|
-
#
|
|
232
|
+
# denied.
|
|
233
233
|
#
|
|
234
234
|
# @return [Symbol, ModernTreasury::Models::LegalEntity::Status, nil]
|
|
235
235
|
required :status, enum: -> { ModernTreasury::LegalEntity::Status }, nil?: true
|
|
@@ -708,7 +708,7 @@ module ModernTreasury
|
|
|
708
708
|
end
|
|
709
709
|
|
|
710
710
|
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
711
|
-
#
|
|
711
|
+
# denied.
|
|
712
712
|
#
|
|
713
713
|
# @see ModernTreasury::Models::LegalEntity#status
|
|
714
714
|
module Status
|
|
@@ -231,13 +231,6 @@ module ModernTreasury
|
|
|
231
231
|
# @return [Symbol, ModernTreasury::Models::LegalEntityCreateParams::RiskRating, nil]
|
|
232
232
|
optional :risk_rating, enum: -> { ModernTreasury::LegalEntityCreateParams::RiskRating }, nil?: true
|
|
233
233
|
|
|
234
|
-
# @!attribute status
|
|
235
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
236
|
-
# closed.
|
|
237
|
-
#
|
|
238
|
-
# @return [Symbol, ModernTreasury::Models::LegalEntityCreateParams::Status, nil]
|
|
239
|
-
optional :status, enum: -> { ModernTreasury::LegalEntityCreateParams::Status }, nil?: true
|
|
240
|
-
|
|
241
234
|
# @!attribute suffix
|
|
242
235
|
# An individual's suffix.
|
|
243
236
|
#
|
|
@@ -271,7 +264,7 @@ module ModernTreasury
|
|
|
271
264
|
# @return [String, nil]
|
|
272
265
|
optional :website, String, nil?: true
|
|
273
266
|
|
|
274
|
-
# @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil,
|
|
267
|
+
# @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
275
268
|
# Some parameter documentations has been truncated, see
|
|
276
269
|
# {ModernTreasury::Models::LegalEntityCreateParams} for more details.
|
|
277
270
|
#
|
|
@@ -343,8 +336,6 @@ module ModernTreasury
|
|
|
343
336
|
#
|
|
344
337
|
# @param risk_rating [Symbol, ModernTreasury::Models::LegalEntityCreateParams::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
|
345
338
|
#
|
|
346
|
-
# @param status [Symbol, ModernTreasury::Models::LegalEntityCreateParams::Status, nil] The activation status of the legal entity. One of pending, active, suspended, or
|
|
347
|
-
#
|
|
348
339
|
# @param suffix [String, nil] An individual's suffix.
|
|
349
340
|
#
|
|
350
341
|
# @param third_party_verification [ModernTreasury::Models::LegalEntityCreateParams::ThirdPartyVerification, nil] Information describing a third-party verification run by an external vendor.
|
|
@@ -482,20 +473,6 @@ module ModernTreasury
|
|
|
482
473
|
# @return [Array<Symbol>]
|
|
483
474
|
end
|
|
484
475
|
|
|
485
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
486
|
-
# closed.
|
|
487
|
-
module Status
|
|
488
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
489
|
-
|
|
490
|
-
ACTIVE = :active
|
|
491
|
-
DENIED = :denied
|
|
492
|
-
PENDING = :pending
|
|
493
|
-
SUSPENDED = :suspended
|
|
494
|
-
|
|
495
|
-
# @!method self.values
|
|
496
|
-
# @return [Array<Symbol>]
|
|
497
|
-
end
|
|
498
|
-
|
|
499
476
|
class ThirdPartyVerification < ModernTreasury::Internal::Type::BaseModel
|
|
500
477
|
# @!attribute vendor
|
|
501
478
|
# The vendor that performed the verification, e.g. `persona`.
|
|
@@ -196,13 +196,6 @@ module ModernTreasury
|
|
|
196
196
|
# @return [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::RiskRating, nil]
|
|
197
197
|
optional :risk_rating, enum: -> { ModernTreasury::LegalEntityUpdateParams::RiskRating }, nil?: true
|
|
198
198
|
|
|
199
|
-
# @!attribute status
|
|
200
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
201
|
-
# closed.
|
|
202
|
-
#
|
|
203
|
-
# @return [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::Status, nil]
|
|
204
|
-
optional :status, enum: -> { ModernTreasury::LegalEntityUpdateParams::Status }, nil?: true
|
|
205
|
-
|
|
206
199
|
# @!attribute suffix
|
|
207
200
|
# An individual's suffix.
|
|
208
201
|
#
|
|
@@ -236,7 +229,7 @@ module ModernTreasury
|
|
|
236
229
|
# @return [String, nil]
|
|
237
230
|
optional :website, String, nil?: true
|
|
238
231
|
|
|
239
|
-
# @!method initialize(id:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil,
|
|
232
|
+
# @!method initialize(id:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
240
233
|
# Some parameter documentations has been truncated, see
|
|
241
234
|
# {ModernTreasury::Models::LegalEntityUpdateParams} for more details.
|
|
242
235
|
#
|
|
@@ -300,8 +293,6 @@ module ModernTreasury
|
|
|
300
293
|
#
|
|
301
294
|
# @param risk_rating [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
|
302
295
|
#
|
|
303
|
-
# @param status [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::Status, nil] The activation status of the legal entity. One of pending, active, suspended, or
|
|
304
|
-
#
|
|
305
296
|
# @param suffix [String, nil] An individual's suffix.
|
|
306
297
|
#
|
|
307
298
|
# @param third_party_verification [ModernTreasury::Models::LegalEntityUpdateParams::ThirdPartyVerification, nil] Information describing a third-party verification run by an external vendor.
|
|
@@ -384,20 +375,6 @@ module ModernTreasury
|
|
|
384
375
|
# @return [Array<Symbol>]
|
|
385
376
|
end
|
|
386
377
|
|
|
387
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
388
|
-
# closed.
|
|
389
|
-
module Status
|
|
390
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
391
|
-
|
|
392
|
-
ACTIVE = :active
|
|
393
|
-
DENIED = :denied
|
|
394
|
-
PENDING = :pending
|
|
395
|
-
SUSPENDED = :suspended
|
|
396
|
-
|
|
397
|
-
# @!method self.values
|
|
398
|
-
# @return [Array<Symbol>]
|
|
399
|
-
end
|
|
400
|
-
|
|
401
378
|
class ThirdPartyVerification < ModernTreasury::Internal::Type::BaseModel
|
|
402
379
|
# @!attribute vendor
|
|
403
380
|
# The vendor that performed the verification, e.g. `persona`.
|
|
@@ -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
|
|
@@ -8,7 +8,7 @@ module ModernTreasury
|
|
|
8
8
|
#
|
|
9
9
|
# create legal_entity
|
|
10
10
|
#
|
|
11
|
-
# @overload create(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil,
|
|
11
|
+
# @overload create(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param legal_entity_type [Symbol, ModernTreasury::Models::LegalEntityCreateParams::LegalEntityType] The type of legal entity.
|
|
14
14
|
#
|
|
@@ -78,8 +78,6 @@ module ModernTreasury
|
|
|
78
78
|
#
|
|
79
79
|
# @param risk_rating [Symbol, ModernTreasury::Models::LegalEntityCreateParams::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
|
80
80
|
#
|
|
81
|
-
# @param status [Symbol, ModernTreasury::Models::LegalEntityCreateParams::Status, nil] The activation status of the legal entity. One of pending, active, suspended, or
|
|
82
|
-
#
|
|
83
81
|
# @param suffix [String, nil] An individual's suffix.
|
|
84
82
|
#
|
|
85
83
|
# @param third_party_verification [ModernTreasury::Models::LegalEntityCreateParams::ThirdPartyVerification, nil] Information describing a third-party verification run by an external vendor.
|
|
@@ -131,7 +129,7 @@ module ModernTreasury
|
|
|
131
129
|
#
|
|
132
130
|
# Update a legal entity.
|
|
133
131
|
#
|
|
134
|
-
# @overload update(id, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil,
|
|
132
|
+
# @overload update(id, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
135
133
|
#
|
|
136
134
|
# @param id [String] id
|
|
137
135
|
#
|
|
@@ -193,8 +191,6 @@ module ModernTreasury
|
|
|
193
191
|
#
|
|
194
192
|
# @param risk_rating [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
|
195
193
|
#
|
|
196
|
-
# @param status [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::Status, nil] The activation status of the legal entity. One of pending, active, suspended, or
|
|
197
|
-
#
|
|
198
194
|
# @param suffix [String, nil] An individual's suffix.
|
|
199
195
|
#
|
|
200
196
|
# @param third_party_verification [ModernTreasury::Models::LegalEntityUpdateParams::ThirdPartyVerification, nil] Information describing a third-party verification run by an external vendor.
|
|
@@ -189,7 +189,7 @@ module ModernTreasury
|
|
|
189
189
|
attr_accessor :risk_rating
|
|
190
190
|
|
|
191
191
|
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
192
|
-
#
|
|
192
|
+
# denied.
|
|
193
193
|
sig do
|
|
194
194
|
returns(
|
|
195
195
|
T.nilable(ModernTreasury::ChildLegalEntity::Status::TaggedSymbol)
|
|
@@ -385,7 +385,7 @@ module ModernTreasury
|
|
|
385
385
|
# The risk rating of the legal entity. One of low, medium, high.
|
|
386
386
|
risk_rating:,
|
|
387
387
|
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
388
|
-
#
|
|
388
|
+
# denied.
|
|
389
389
|
status:,
|
|
390
390
|
# An individual's suffix.
|
|
391
391
|
suffix:,
|
|
@@ -1105,7 +1105,7 @@ module ModernTreasury
|
|
|
1105
1105
|
end
|
|
1106
1106
|
|
|
1107
1107
|
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
1108
|
-
#
|
|
1108
|
+
# denied.
|
|
1109
1109
|
module Status
|
|
1110
1110
|
extend ModernTreasury::Internal::Type::Enum
|
|
1111
1111
|
|
|
@@ -271,15 +271,6 @@ module ModernTreasury
|
|
|
271
271
|
end
|
|
272
272
|
attr_accessor :risk_rating
|
|
273
273
|
|
|
274
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
275
|
-
# closed.
|
|
276
|
-
sig do
|
|
277
|
-
returns(
|
|
278
|
-
T.nilable(ModernTreasury::ChildLegalEntityCreate::Status::OrSymbol)
|
|
279
|
-
)
|
|
280
|
-
end
|
|
281
|
-
attr_accessor :status
|
|
282
|
-
|
|
283
274
|
# An individual's suffix.
|
|
284
275
|
sig { returns(T.nilable(String)) }
|
|
285
276
|
attr_accessor :suffix
|
|
@@ -384,8 +375,6 @@ module ModernTreasury
|
|
|
384
375
|
T.nilable(
|
|
385
376
|
ModernTreasury::ChildLegalEntityCreate::RiskRating::OrSymbol
|
|
386
377
|
),
|
|
387
|
-
status:
|
|
388
|
-
T.nilable(ModernTreasury::ChildLegalEntityCreate::Status::OrSymbol),
|
|
389
378
|
suffix: T.nilable(String),
|
|
390
379
|
third_party_verification:
|
|
391
380
|
T.nilable(
|
|
@@ -472,9 +461,6 @@ module ModernTreasury
|
|
|
472
461
|
regulators: nil,
|
|
473
462
|
# The risk rating of the legal entity. One of low, medium, high.
|
|
474
463
|
risk_rating: nil,
|
|
475
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
476
|
-
# closed.
|
|
477
|
-
status: nil,
|
|
478
464
|
# An individual's suffix.
|
|
479
465
|
suffix: nil,
|
|
480
466
|
# Information describing a third-party verification run by an external vendor.
|
|
@@ -542,10 +528,6 @@ module ModernTreasury
|
|
|
542
528
|
T.nilable(
|
|
543
529
|
ModernTreasury::ChildLegalEntityCreate::RiskRating::OrSymbol
|
|
544
530
|
),
|
|
545
|
-
status:
|
|
546
|
-
T.nilable(
|
|
547
|
-
ModernTreasury::ChildLegalEntityCreate::Status::OrSymbol
|
|
548
|
-
),
|
|
549
531
|
suffix: T.nilable(String),
|
|
550
532
|
third_party_verification:
|
|
551
533
|
T.nilable(
|
|
@@ -877,49 +859,6 @@ module ModernTreasury
|
|
|
877
859
|
end
|
|
878
860
|
end
|
|
879
861
|
|
|
880
|
-
# The activation status of the legal entity. One of pending, active, suspended, or
|
|
881
|
-
# closed.
|
|
882
|
-
module Status
|
|
883
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
884
|
-
|
|
885
|
-
TaggedSymbol =
|
|
886
|
-
T.type_alias do
|
|
887
|
-
T.all(Symbol, ModernTreasury::ChildLegalEntityCreate::Status)
|
|
888
|
-
end
|
|
889
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
890
|
-
|
|
891
|
-
ACTIVE =
|
|
892
|
-
T.let(
|
|
893
|
-
:active,
|
|
894
|
-
ModernTreasury::ChildLegalEntityCreate::Status::TaggedSymbol
|
|
895
|
-
)
|
|
896
|
-
DENIED =
|
|
897
|
-
T.let(
|
|
898
|
-
:denied,
|
|
899
|
-
ModernTreasury::ChildLegalEntityCreate::Status::TaggedSymbol
|
|
900
|
-
)
|
|
901
|
-
PENDING =
|
|
902
|
-
T.let(
|
|
903
|
-
:pending,
|
|
904
|
-
ModernTreasury::ChildLegalEntityCreate::Status::TaggedSymbol
|
|
905
|
-
)
|
|
906
|
-
SUSPENDED =
|
|
907
|
-
T.let(
|
|
908
|
-
:suspended,
|
|
909
|
-
ModernTreasury::ChildLegalEntityCreate::Status::TaggedSymbol
|
|
910
|
-
)
|
|
911
|
-
|
|
912
|
-
sig do
|
|
913
|
-
override.returns(
|
|
914
|
-
T::Array[
|
|
915
|
-
ModernTreasury::ChildLegalEntityCreate::Status::TaggedSymbol
|
|
916
|
-
]
|
|
917
|
-
)
|
|
918
|
-
end
|
|
919
|
-
def self.values
|
|
920
|
-
end
|
|
921
|
-
end
|
|
922
|
-
|
|
923
862
|
class ThirdPartyVerification < ModernTreasury::Internal::Type::BaseModel
|
|
924
863
|
OrHash =
|
|
925
864
|
T.type_alias do
|