modern_treasury 0.15.0 → 0.16.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.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +1 -1
  4. data/lib/modern_treasury/models/bulk_request_create_params.rb +28 -3
  5. data/lib/modern_treasury/models/child_legal_entity.rb +9 -1
  6. data/lib/modern_treasury/models/child_legal_entity_create.rb +9 -1
  7. data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +9 -1
  8. data/lib/modern_treasury/models/counterparty_create_params.rb +9 -1
  9. data/lib/modern_treasury/models/counterparty_update_params.rb +9 -1
  10. data/lib/modern_treasury/models/internal_account.rb +9 -1
  11. data/lib/modern_treasury/models/internal_account_create_params.rb +9 -1
  12. data/lib/modern_treasury/models/internal_account_list_params.rb +9 -1
  13. data/lib/modern_treasury/models/internal_account_update_params.rb +9 -1
  14. data/lib/modern_treasury/models/ledger_account_category_update_params.rb +9 -1
  15. data/lib/modern_treasury/models/ledger_account_update_params.rb +9 -1
  16. data/lib/modern_treasury/models/ledger_transaction_update_params.rb +10 -1
  17. data/lib/modern_treasury/models/legal_entity.rb +9 -1
  18. data/lib/modern_treasury/models/legal_entity_create_params.rb +9 -1
  19. data/lib/modern_treasury/models/legal_entity_list_params.rb +9 -1
  20. data/lib/modern_treasury/models/legal_entity_update_params.rb +9 -1
  21. data/lib/modern_treasury/models/payment_order.rb +1 -0
  22. data/lib/modern_treasury/models/payment_order_create_async_params.rb +9 -1
  23. data/lib/modern_treasury/models/payment_order_create_params.rb +9 -1
  24. data/lib/modern_treasury/models/payment_order_update_params.rb +9 -1
  25. data/lib/modern_treasury/models/payment_orders/reversal.rb +9 -1
  26. data/lib/modern_treasury/models/payment_reference.rb +1 -0
  27. data/lib/modern_treasury/models/return_object.rb +1 -0
  28. data/lib/modern_treasury/resources/counterparties.rb +3 -1
  29. data/lib/modern_treasury/resources/internal_accounts.rb +9 -3
  30. data/lib/modern_treasury/resources/ledger_account_categories.rb +3 -1
  31. data/lib/modern_treasury/resources/ledger_accounts.rb +3 -1
  32. data/lib/modern_treasury/resources/ledger_transactions.rb +3 -1
  33. data/lib/modern_treasury/resources/legal_entities.rb +9 -3
  34. data/lib/modern_treasury/resources/payment_orders.rb +9 -3
  35. data/lib/modern_treasury/version.rb +1 -1
  36. data/rbi/modern_treasury/models/bulk_request_create_params.rbi +26 -0
  37. data/rbi/modern_treasury/models/child_legal_entity.rbi +8 -0
  38. data/rbi/modern_treasury/models/child_legal_entity_create.rbi +8 -0
  39. data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +8 -0
  40. data/rbi/modern_treasury/models/counterparty_create_params.rbi +8 -0
  41. data/rbi/modern_treasury/models/counterparty_update_params.rbi +8 -0
  42. data/rbi/modern_treasury/models/internal_account.rbi +8 -0
  43. data/rbi/modern_treasury/models/internal_account_create_params.rbi +8 -0
  44. data/rbi/modern_treasury/models/internal_account_list_params.rbi +11 -0
  45. data/rbi/modern_treasury/models/internal_account_update_params.rbi +8 -0
  46. data/rbi/modern_treasury/models/ledger_account_category_update_params.rbi +8 -0
  47. data/rbi/modern_treasury/models/ledger_account_update_params.rbi +8 -0
  48. data/rbi/modern_treasury/models/ledger_transaction_update_params.rbi +10 -0
  49. data/rbi/modern_treasury/models/legal_entity.rbi +8 -0
  50. data/rbi/modern_treasury/models/legal_entity_create_params.rbi +8 -0
  51. data/rbi/modern_treasury/models/legal_entity_list_params.rbi +11 -0
  52. data/rbi/modern_treasury/models/legal_entity_update_params.rbi +8 -0
  53. data/rbi/modern_treasury/models/payment_order.rbi +5 -0
  54. data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +8 -0
  55. data/rbi/modern_treasury/models/payment_order_create_params.rbi +8 -0
  56. data/rbi/modern_treasury/models/payment_order_update_params.rbi +8 -0
  57. data/rbi/modern_treasury/models/payment_orders/reversal.rbi +8 -0
  58. data/rbi/modern_treasury/models/payment_reference.rbi +5 -0
  59. data/rbi/modern_treasury/models/return_object.rbi +5 -0
  60. data/rbi/modern_treasury/resources/counterparties.rbi +3 -0
  61. data/rbi/modern_treasury/resources/internal_accounts.rbi +9 -0
  62. data/rbi/modern_treasury/resources/ledger_account_categories.rbi +3 -0
  63. data/rbi/modern_treasury/resources/ledger_accounts.rbi +3 -0
  64. data/rbi/modern_treasury/resources/ledger_transactions.rbi +4 -0
  65. data/rbi/modern_treasury/resources/legal_entities.rbi +9 -0
  66. data/rbi/modern_treasury/resources/payment_orders.rbi +9 -0
  67. data/sig/modern_treasury/models/bulk_request_create_params.rbs +15 -0
  68. data/sig/modern_treasury/models/child_legal_entity.rbs +5 -0
  69. data/sig/modern_treasury/models/child_legal_entity_create.rbs +5 -0
  70. data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +5 -0
  71. data/sig/modern_treasury/models/counterparty_create_params.rbs +5 -0
  72. data/sig/modern_treasury/models/counterparty_update_params.rbs +5 -0
  73. data/sig/modern_treasury/models/internal_account.rbs +5 -0
  74. data/sig/modern_treasury/models/internal_account_create_params.rbs +5 -0
  75. data/sig/modern_treasury/models/internal_account_list_params.rbs +7 -0
  76. data/sig/modern_treasury/models/internal_account_update_params.rbs +5 -0
  77. data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +10 -1
  78. data/sig/modern_treasury/models/ledger_account_update_params.rbs +10 -1
  79. data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +5 -0
  80. data/sig/modern_treasury/models/legal_entity.rbs +5 -0
  81. data/sig/modern_treasury/models/legal_entity_create_params.rbs +5 -0
  82. data/sig/modern_treasury/models/legal_entity_list_params.rbs +7 -0
  83. data/sig/modern_treasury/models/legal_entity_update_params.rbs +5 -0
  84. data/sig/modern_treasury/models/payment_order.rbs +2 -0
  85. data/sig/modern_treasury/models/payment_order_create_async_params.rbs +5 -0
  86. data/sig/modern_treasury/models/payment_order_create_params.rbs +5 -0
  87. data/sig/modern_treasury/models/payment_order_update_params.rbs +5 -0
  88. data/sig/modern_treasury/models/payment_orders/reversal.rbs +5 -0
  89. data/sig/modern_treasury/models/payment_reference.rbs +2 -0
  90. data/sig/modern_treasury/models/return_object.rbs +2 -0
  91. data/sig/modern_treasury/resources/counterparties.rbs +1 -0
  92. data/sig/modern_treasury/resources/internal_accounts.rbs +3 -0
  93. data/sig/modern_treasury/resources/ledger_account_categories.rbs +1 -0
  94. data/sig/modern_treasury/resources/ledger_accounts.rbs +1 -0
  95. data/sig/modern_treasury/resources/ledger_transactions.rbs +1 -0
  96. data/sig/modern_treasury/resources/legal_entities.rbs +3 -0
  97. data/sig/modern_treasury/resources/payment_orders.rbs +3 -0
  98. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78d0e3b7a156520e56c0a9129f403c6172e7375019d9810db1a0b5b606e10f1e
4
- data.tar.gz: 8912212d998fff81d9cb4af65fe5a3b349861973893c2a857122f1f0d5530f99
3
+ metadata.gz: 4302d3760d6d435cbca5b115c8c5c54a308e5331651e5da1f241cbcb89c167cf
4
+ data.tar.gz: f547731b853f094e4971cccf21f8afca68057e21a8f49874fbc2035dc5cbb3c6
5
5
  SHA512:
6
- metadata.gz: 1bb845ed289e9bb1563498d369280be4db34b73c690cdd1226734b2665db316e5f21c6bbab7c3100943d31a58b31d30989bcb7ff533f0426a508e9b73e120bf1
7
- data.tar.gz: 7f6103012a84072509ff6f8c029edc4ec88b63df00b23a597fa2cd8147663c9656c00ceebb750442670e4e0bdf77d0d3fc9560d4309258cee180e6f5ee49e7e9
6
+ metadata.gz: 664e21a8710e35e4f4cb96a7912f571987e1e6f5c9eb43df3efb6125d7f27156feaa4f2b25e1c5352f7f84eef24d19a1f2d95bd7903e596904b8a86e254947b2
7
+ data.tar.gz: b861bae0d7b835152e5e0724a23a6f06161a8a9337b5b2fb9a627d0e40d56f85d603bfde4e99502bd5adf079768f22685a241560019524b86978e2318d373c70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.0 (2026-02-24)
4
+
5
+ Full Changelog: [v0.15.0...v0.16.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.15.0...v0.16.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([56c491e](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/56c491e14575b8e85e5d885d85870d0c602baf72))
10
+ * **api:** api update ([0d9d0f2](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/0d9d0f2ce0e877ff8d3c835858a8ae76ca804f8e))
11
+ * **api:** api update ([11a5ef3](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/11a5ef3670dd153d50f37fd7092dfa17d7c96de6))
12
+ * **api:** api update ([33d3263](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/33d3263bd00d33ebc839d0007dff1aa2261c30f1))
13
+
3
14
  ## 0.15.0 (2026-02-19)
4
15
 
5
16
  Full Changelog: [v0.14.0...v0.15.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.14.0...v0.15.0)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "modern_treasury", "~> 0.15.0"
27
+ gem "modern_treasury", "~> 0.16.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -194,6 +194,12 @@ module ModernTreasury
194
194
  # @return [Time, nil]
195
195
  optional :expires_at, Time, nil?: true
196
196
 
197
+ # @!attribute external_id
198
+ # An optional user-defined 180 character unique identifier.
199
+ #
200
+ # @return [String, nil]
201
+ optional :external_id, String, nil?: true
202
+
197
203
  # @!attribute fallback_type
198
204
  # A payment type to fallback to if the original type is not valid for the
199
205
  # receiving account. Currently, this only supports falling back from RTP to ACH
@@ -389,7 +395,7 @@ module ModernTreasury
389
395
  # @return [String, nil]
390
396
  optional :ultimate_receiving_party_name, String, nil?: true
391
397
 
392
- # @!method initialize(amount:, direction:, originating_account_id:, type:, accounting: nil, accounting_category_id: nil, accounting_ledger_class_id: nil, charge_bearer: nil, currency: nil, description: nil, effective_date: nil, expires_at: nil, fallback_type: nil, foreign_exchange_contract: nil, foreign_exchange_indicator: nil, ledger_transaction: nil, ledger_transaction_id: nil, line_items: nil, metadata: nil, nsf_protected: nil, originating_party_name: nil, priority: nil, process_after: nil, purpose: nil, receiving_account: nil, receiving_account_id: nil, reconciliation_status: nil, remittance_information: nil, send_remittance_advice: nil, statement_descriptor: nil, subtype: nil, transaction_monitoring_enabled: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil)
398
+ # @!method initialize(amount:, direction:, originating_account_id:, type:, accounting: nil, accounting_category_id: nil, accounting_ledger_class_id: nil, charge_bearer: nil, currency: nil, description: nil, effective_date: nil, expires_at: nil, external_id: nil, fallback_type: nil, foreign_exchange_contract: nil, foreign_exchange_indicator: nil, ledger_transaction: nil, ledger_transaction_id: nil, line_items: nil, metadata: nil, nsf_protected: nil, originating_party_name: nil, priority: nil, process_after: nil, purpose: nil, receiving_account: nil, receiving_account_id: nil, reconciliation_status: nil, remittance_information: nil, send_remittance_advice: nil, statement_descriptor: nil, subtype: nil, transaction_monitoring_enabled: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil)
393
399
  # Some parameter documentations has been truncated, see
394
400
  # {ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest}
395
401
  # for more details.
@@ -418,6 +424,8 @@ module ModernTreasury
418
424
  #
419
425
  # @param expires_at [Time, nil] RFP payments require an expires_at. This value must be past the effective_date.
420
426
  #
427
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
428
+ #
421
429
  # @param fallback_type [Symbol, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::FallbackType] A payment type to fallback to if the original type is not valid for the receivin
422
430
  #
423
431
  # @param foreign_exchange_contract [String, nil] If present, indicates a specific foreign exchange contract number that has been
@@ -1493,6 +1501,12 @@ module ModernTreasury
1493
1501
  # @return [Time, nil]
1494
1502
  optional :expires_at, Time, nil?: true
1495
1503
 
1504
+ # @!attribute external_id
1505
+ # An optional user-defined 180 character unique identifier.
1506
+ #
1507
+ # @return [String, nil]
1508
+ optional :external_id, String, nil?: true
1509
+
1496
1510
  # @!attribute fallback_type
1497
1511
  # A payment type to fallback to if the original type is not valid for the
1498
1512
  # receiving account. Currently, this only supports falling back from RTP to ACH
@@ -1692,7 +1706,7 @@ module ModernTreasury
1692
1706
  # @return [String, nil]
1693
1707
  optional :ultimate_receiving_party_name, String, nil?: true
1694
1708
 
1695
- # @!method initialize(id: nil, accounting: nil, accounting_category_id: nil, accounting_ledger_class_id: nil, amount: nil, charge_bearer: nil, counterparty_id: nil, currency: nil, description: nil, direction: nil, effective_date: nil, expires_at: nil, fallback_type: nil, foreign_exchange_contract: nil, foreign_exchange_indicator: nil, line_items: nil, metadata: nil, nsf_protected: nil, originating_account_id: nil, originating_party_name: nil, priority: nil, process_after: nil, purpose: nil, receiving_account: nil, receiving_account_id: nil, reconciliation_status: nil, remittance_information: nil, send_remittance_advice: nil, statement_descriptor: nil, status: nil, subtype: nil, type: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil)
1709
+ # @!method initialize(id: nil, accounting: nil, accounting_category_id: nil, accounting_ledger_class_id: nil, amount: nil, charge_bearer: nil, counterparty_id: nil, currency: nil, description: nil, direction: nil, effective_date: nil, expires_at: nil, external_id: nil, fallback_type: nil, foreign_exchange_contract: nil, foreign_exchange_indicator: nil, line_items: nil, metadata: nil, nsf_protected: nil, originating_account_id: nil, originating_party_name: nil, priority: nil, process_after: nil, purpose: nil, receiving_account: nil, receiving_account_id: nil, reconciliation_status: nil, remittance_information: nil, send_remittance_advice: nil, statement_descriptor: nil, status: nil, subtype: nil, type: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil)
1696
1710
  # Some parameter documentations has been truncated, see
1697
1711
  # {ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID}
1698
1712
  # for more details.
@@ -1721,6 +1735,8 @@ module ModernTreasury
1721
1735
  #
1722
1736
  # @param expires_at [Time, nil] RFP payments require an expires_at. This value must be past the effective_date.
1723
1737
  #
1738
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
1739
+ #
1724
1740
  # @param fallback_type [Symbol, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::FallbackType] A payment type to fallback to if the original type is not valid for the receivin
1725
1741
  #
1726
1742
  # @param foreign_exchange_contract [String, nil] If present, indicates a specific foreign exchange contract number that has been
@@ -2568,6 +2584,13 @@ module ModernTreasury
2568
2584
  # @return [Time, nil]
2569
2585
  optional :effective_at, Time
2570
2586
 
2587
+ # @!attribute external_id
2588
+ # A unique string to represent the ledger transaction. Only one pending or posted
2589
+ # ledger transaction may have this ID in the ledger.
2590
+ #
2591
+ # @return [String, nil]
2592
+ optional :external_id, String, nil?: true
2593
+
2571
2594
  # @!attribute ledger_entries
2572
2595
  # An array of ledger entry objects.
2573
2596
  #
@@ -2605,7 +2628,7 @@ module ModernTreasury
2605
2628
  optional :status,
2606
2629
  enum: -> { ModernTreasury::BulkRequestCreateParams::Resource::LedgerTransactionUpdateRequestWithID::Status }
2607
2630
 
2608
- # @!method initialize(id: nil, description: nil, effective_at: nil, ledger_entries: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil)
2631
+ # @!method initialize(id: nil, description: nil, effective_at: nil, external_id: nil, ledger_entries: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil)
2609
2632
  # Some parameter documentations has been truncated, see
2610
2633
  # {ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerTransactionUpdateRequestWithID}
2611
2634
  # for more details.
@@ -2616,6 +2639,8 @@ module ModernTreasury
2616
2639
  #
2617
2640
  # @param effective_at [Time] The timestamp (ISO8601 format) at which the ledger transaction happened for repo
2618
2641
  #
2642
+ # @param external_id [String, nil] A unique string to represent the ledger transaction. Only one pending or posted
2643
+ #
2619
2644
  # @param ledger_entries [Array<ModernTreasury::Models::LedgerEntryCreateRequest>] An array of ledger entry objects.
2620
2645
  #
2621
2646
  # @param ledgerable_id [String] If the ledger transaction can be reconciled to another object in Modern Treasury
@@ -95,6 +95,12 @@ module ModernTreasury
95
95
  # @return [Integer, nil]
96
96
  required :expected_activity_volume, Integer, nil?: true
97
97
 
98
+ # @!attribute external_id
99
+ # An optional user-defined 180 character unique identifier.
100
+ #
101
+ # @return [String, nil]
102
+ required :external_id, String, nil?: true
103
+
98
104
  # @!attribute first_name
99
105
  # An individual's first name.
100
106
  #
@@ -274,7 +280,7 @@ module ModernTreasury
274
280
  # @return [String, nil]
275
281
  required :website, String, nil?: true
276
282
 
277
- # @!method initialize(id:, addresses:, bank_settings:, business_description:, business_name:, citizenship_country:, compliance_details:, country_of_incorporation:, created_at:, date_formed:, date_of_birth:, discarded_at:, documents:, doing_business_as_names:, email:, expected_activity_volume:, first_name:, identifications:, industry_classifications:, intended_use:, last_name:, legal_entity_associations:, legal_entity_type:, legal_structure:, listed_exchange:, live_mode:, metadata:, middle_name:, object:, operating_jurisdictions:, phone_numbers:, politically_exposed_person:, preferred_name:, prefix:, primary_social_media_sites:, regulators:, risk_rating:, status:, suffix:, third_party_verification:, ticker_symbol:, updated_at:, wealth_and_employment_details:, website:)
283
+ # @!method initialize(id:, addresses:, bank_settings:, business_description:, business_name:, citizenship_country:, compliance_details:, country_of_incorporation:, created_at:, date_formed:, date_of_birth:, discarded_at:, documents:, doing_business_as_names:, email:, expected_activity_volume:, external_id:, first_name:, identifications:, industry_classifications:, intended_use:, last_name:, legal_entity_associations:, legal_entity_type:, legal_structure:, listed_exchange:, live_mode:, metadata:, middle_name:, object:, operating_jurisdictions:, phone_numbers:, politically_exposed_person:, preferred_name:, prefix:, primary_social_media_sites:, regulators:, risk_rating:, status:, suffix:, third_party_verification:, ticker_symbol:, updated_at:, wealth_and_employment_details:, website:)
278
284
  # Some parameter documentations has been truncated, see
279
285
  # {ModernTreasury::Models::ChildLegalEntity} for more details.
280
286
  #
@@ -310,6 +316,8 @@ module ModernTreasury
310
316
  #
311
317
  # @param expected_activity_volume [Integer, nil] Monthly expected transaction volume in USD.
312
318
  #
319
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
320
+ #
313
321
  # @param first_name [String, nil] An individual's first name.
314
322
  #
315
323
  # @param identifications [Array<ModernTreasury::Models::ChildLegalEntity::Identification>] A list of identifications for the legal entity.
@@ -79,6 +79,12 @@ module ModernTreasury
79
79
  # @return [Integer, nil]
80
80
  optional :expected_activity_volume, Integer, nil?: true
81
81
 
82
+ # @!attribute external_id
83
+ # An optional user-defined 180 character unique identifier.
84
+ #
85
+ # @return [String, nil]
86
+ optional :external_id, String, nil?: true
87
+
82
88
  # @!attribute first_name
83
89
  # An individual's first name.
84
90
  #
@@ -249,7 +255,7 @@ module ModernTreasury
249
255
  # @return [String, nil]
250
256
  optional :website, String, nil?: true
251
257
 
252
- # @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: 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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
258
+ # @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: 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_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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
253
259
  # Some parameter documentations has been truncated, see
254
260
  # {ModernTreasury::Models::ChildLegalEntityCreate} for more details.
255
261
  #
@@ -277,6 +283,8 @@ module ModernTreasury
277
283
  #
278
284
  # @param expected_activity_volume [Integer, nil] Monthly expected transaction volume in USD.
279
285
  #
286
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
287
+ #
280
288
  # @param first_name [String, nil] An individual's first name.
281
289
  #
282
290
  # @param identifications [Array<ModernTreasury::Models::IdentificationCreateRequest>] A list of identifications for the legal entity.
@@ -111,6 +111,12 @@ module ModernTreasury
111
111
  # @return [Integer, nil]
112
112
  optional :expected_activity_volume, Integer, nil?: true
113
113
 
114
+ # @!attribute external_id
115
+ # An optional user-defined 180 character unique identifier.
116
+ #
117
+ # @return [String, nil]
118
+ optional :external_id, String, nil?: true
119
+
114
120
  # @!attribute first_name
115
121
  # An individual's first name.
116
122
  #
@@ -286,7 +292,7 @@ module ModernTreasury
286
292
  # @return [String, nil]
287
293
  optional :website, String, nil?: true
288
294
 
289
- # @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: 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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
295
+ # @!method initialize(addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: 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_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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
290
296
  # Some parameter documentations has been truncated, see
291
297
  # {ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity} for
292
298
  # more details.
@@ -317,6 +323,8 @@ module ModernTreasury
317
323
  #
318
324
  # @param expected_activity_volume [Integer, nil] Monthly expected transaction volume in USD.
319
325
  #
326
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
327
+ #
320
328
  # @param first_name [String, nil] An individual's first name.
321
329
  #
322
330
  # @param identifications [Array<ModernTreasury::Models::IdentificationCreateRequest>] A list of identifications for the legal entity.
@@ -515,6 +515,12 @@ module ModernTreasury
515
515
  # @return [Integer, nil]
516
516
  optional :expected_activity_volume, Integer, nil?: true
517
517
 
518
+ # @!attribute external_id
519
+ # An optional user-defined 180 character unique identifier.
520
+ #
521
+ # @return [String, nil]
522
+ optional :external_id, String, nil?: true
523
+
518
524
  # @!attribute first_name
519
525
  # An individual's first name.
520
526
  #
@@ -683,7 +689,7 @@ module ModernTreasury
683
689
  # @return [String, nil]
684
690
  optional :website, String, nil?: true
685
691
 
686
- # @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: 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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
692
+ # @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: 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_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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil)
687
693
  # Some parameter documentations has been truncated, see
688
694
  # {ModernTreasury::Models::CounterpartyCreateParams::LegalEntity} for more
689
695
  # details.
@@ -714,6 +720,8 @@ module ModernTreasury
714
720
  #
715
721
  # @param expected_activity_volume [Integer, nil] Monthly expected transaction volume in USD.
716
722
  #
723
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
724
+ #
717
725
  # @param first_name [String, nil] An individual's first name.
718
726
  #
719
727
  # @param identifications [Array<ModernTreasury::Models::IdentificationCreateRequest>] A list of identifications for the legal entity.
@@ -13,6 +13,12 @@ module ModernTreasury
13
13
  # @return [String, nil]
14
14
  optional :email, String
15
15
 
16
+ # @!attribute external_id
17
+ # An optional user-defined 180 character unique identifier.
18
+ #
19
+ # @return [String, nil]
20
+ optional :external_id, String, nil?: true
21
+
16
22
  # @!attribute legal_entity_id
17
23
  # The id of the legal entity.
18
24
  #
@@ -45,12 +51,14 @@ module ModernTreasury
45
51
  # @return [String, nil]
46
52
  optional :taxpayer_identifier, String
47
53
 
48
- # @!method initialize(email: nil, legal_entity_id: nil, metadata: nil, name: nil, send_remittance_advice: nil, taxpayer_identifier: nil, request_options: {})
54
+ # @!method initialize(email: nil, external_id: nil, legal_entity_id: nil, metadata: nil, name: nil, send_remittance_advice: nil, taxpayer_identifier: nil, request_options: {})
49
55
  # Some parameter documentations has been truncated, see
50
56
  # {ModernTreasury::Models::CounterpartyUpdateParams} for more details.
51
57
  #
52
58
  # @param email [String] A new email for the counterparty.
53
59
  #
60
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
61
+ #
54
62
  # @param legal_entity_id [String, nil] The id of the legal entity.
55
63
  #
56
64
  # @param metadata [Hash{Symbol=>String}] Additional data in the form of key-value pairs. Pairs can be removed by passing
@@ -59,6 +59,12 @@ module ModernTreasury
59
59
  # @return [Symbol, ModernTreasury::Models::Currency]
60
60
  required :currency, enum: -> { ModernTreasury::Currency }
61
61
 
62
+ # @!attribute external_id
63
+ # An optional user-defined 180 character unique identifier.
64
+ #
65
+ # @return [String, nil]
66
+ required :external_id, String, nil?: true
67
+
62
68
  # @!attribute ledger_account_id
63
69
  # If the internal account links to a ledger account in Modern Treasury, the id of
64
70
  # the ledger account will be populated here.
@@ -144,7 +150,7 @@ module ModernTreasury
144
150
  # @return [String, nil]
145
151
  required :vendor_id, String, nil?: true
146
152
 
147
- # @!method initialize(id:, account_capabilities:, account_details:, account_type:, connection:, contra_ledger_account_id:, counterparty_id:, created_at:, currency:, ledger_account_id:, legal_entity_id:, live_mode:, metadata:, name:, object:, parent_account_id:, party_address:, party_name:, party_type:, routing_details:, status:, updated_at:, vendor_id:)
153
+ # @!method initialize(id:, account_capabilities:, account_details:, account_type:, connection:, contra_ledger_account_id:, counterparty_id:, created_at:, currency:, 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:, updated_at:, vendor_id:)
148
154
  # Some parameter documentations has been truncated, see
149
155
  # {ModernTreasury::Models::InternalAccount} for more details.
150
156
  #
@@ -166,6 +172,8 @@ module ModernTreasury
166
172
  #
167
173
  # @param currency [Symbol, ModernTreasury::Models::Currency] The currency of the account.
168
174
  #
175
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
176
+ #
169
177
  # @param ledger_account_id [String, nil] If the internal account links to a ledger account in Modern Treasury, the id of
170
178
  #
171
179
  # @param legal_entity_id [String, nil] The Legal Entity associated to this account.
@@ -53,6 +53,12 @@ module ModernTreasury
53
53
  # @return [String, nil]
54
54
  optional :counterparty_id, String
55
55
 
56
+ # @!attribute external_id
57
+ # An optional user-defined 180 character unique identifier.
58
+ #
59
+ # @return [String, nil]
60
+ optional :external_id, String, nil?: true
61
+
56
62
  # @!attribute legal_entity_id
57
63
  # The LegalEntity associated to this account.
58
64
  #
@@ -78,7 +84,7 @@ module ModernTreasury
78
84
  # @return [Hash{Symbol=>String}, nil]
79
85
  optional :vendor_attributes, ModernTreasury::Internal::Type::HashOf[String]
80
86
 
81
- # @!method initialize(connection_id:, currency:, name:, party_name:, account_capabilities: nil, account_type: nil, counterparty_id: nil, legal_entity_id: nil, parent_account_id: nil, party_address: nil, vendor_attributes: nil, request_options: {})
87
+ # @!method initialize(connection_id:, currency:, name:, party_name:, account_capabilities: nil, account_type: nil, counterparty_id: nil, external_id: nil, legal_entity_id: nil, parent_account_id: nil, party_address: nil, vendor_attributes: nil, request_options: {})
82
88
  # Some parameter documentations has been truncated, see
83
89
  # {ModernTreasury::Models::InternalAccountCreateParams} for more details.
84
90
  #
@@ -96,6 +102,8 @@ module ModernTreasury
96
102
  #
97
103
  # @param counterparty_id [String] The Counterparty associated to this account.
98
104
  #
105
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
106
+ #
99
107
  # @param legal_entity_id [String] The LegalEntity associated to this account.
100
108
  #
101
109
  # @param parent_account_id [String] The parent internal account of this new account.
@@ -24,6 +24,12 @@ module ModernTreasury
24
24
  # @return [Symbol, ModernTreasury::Models::Currency, nil]
25
25
  optional :currency, enum: -> { ModernTreasury::Currency }
26
26
 
27
+ # @!attribute external_id
28
+ # An optional user-defined 180 character unique identifier.
29
+ #
30
+ # @return [String, nil]
31
+ optional :external_id, String
32
+
27
33
  # @!attribute legal_entity_id
28
34
  # Only return internal accounts associated with this legal entity.
29
35
  #
@@ -61,7 +67,7 @@ module ModernTreasury
61
67
  # @return [Symbol, ModernTreasury::Models::InternalAccountListParams::Status, nil]
62
68
  optional :status, enum: -> { ModernTreasury::InternalAccountListParams::Status }
63
69
 
64
- # @!method initialize(after_cursor: nil, counterparty_id: nil, currency: nil, legal_entity_id: nil, metadata: nil, payment_direction: nil, payment_type: nil, per_page: nil, status: nil, request_options: {})
70
+ # @!method initialize(after_cursor: nil, counterparty_id: nil, currency: nil, external_id: nil, legal_entity_id: nil, metadata: nil, payment_direction: nil, payment_type: nil, per_page: nil, status: nil, request_options: {})
65
71
  # Some parameter documentations has been truncated, see
66
72
  # {ModernTreasury::Models::InternalAccountListParams} for more details.
67
73
  #
@@ -71,6 +77,8 @@ module ModernTreasury
71
77
  #
72
78
  # @param currency [Symbol, ModernTreasury::Models::Currency] Only return internal accounts with this currency.
73
79
  #
80
+ # @param external_id [String] An optional user-defined 180 character unique identifier.
81
+ #
74
82
  # @param legal_entity_id [String] Only return internal accounts associated with this legal entity.
75
83
  #
76
84
  # @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value
@@ -19,6 +19,12 @@ module ModernTreasury
19
19
  # @return [String, nil]
20
20
  optional :counterparty_id, String
21
21
 
22
+ # @!attribute external_id
23
+ # An optional user-defined 180 character unique identifier.
24
+ #
25
+ # @return [String, nil]
26
+ optional :external_id, String, nil?: true
27
+
22
28
  # @!attribute ledger_account_id
23
29
  # The Ledger Account associated to this account.
24
30
  #
@@ -44,7 +50,7 @@ module ModernTreasury
44
50
  # @return [String, nil]
45
51
  optional :parent_account_id, String
46
52
 
47
- # @!method initialize(contra_ledger_account_id: nil, counterparty_id: nil, ledger_account_id: nil, metadata: nil, name: nil, parent_account_id: nil, request_options: {})
53
+ # @!method initialize(contra_ledger_account_id: nil, counterparty_id: nil, external_id: nil, ledger_account_id: nil, metadata: nil, name: nil, parent_account_id: nil, request_options: {})
48
54
  # Some parameter documentations has been truncated, see
49
55
  # {ModernTreasury::Models::InternalAccountUpdateParams} for more details.
50
56
  #
@@ -52,6 +58,8 @@ module ModernTreasury
52
58
  #
53
59
  # @param counterparty_id [String] The Counterparty associated to this account.
54
60
  #
61
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
62
+ #
55
63
  # @param ledger_account_id [String] The Ledger Account associated to this account.
56
64
  #
57
65
  # @param metadata [Hash{Symbol=>String}] Additional data in the form of key-value pairs. Pairs can be removed by passing
@@ -13,6 +13,12 @@ module ModernTreasury
13
13
  # @return [String, nil]
14
14
  optional :description, String, nil?: true
15
15
 
16
+ # @!attribute external_id
17
+ # An optional user-defined 180 character unique identifier.
18
+ #
19
+ # @return [String, nil]
20
+ optional :external_id, String, nil?: true
21
+
16
22
  # @!attribute metadata
17
23
  # Additional data represented as key-value pairs. Both the key and value must be
18
24
  # strings.
@@ -26,12 +32,14 @@ module ModernTreasury
26
32
  # @return [String, nil]
27
33
  optional :name, String
28
34
 
29
- # @!method initialize(description: nil, metadata: nil, name: nil, request_options: {})
35
+ # @!method initialize(description: nil, external_id: nil, metadata: nil, name: nil, request_options: {})
30
36
  # Some parameter documentations has been truncated, see
31
37
  # {ModernTreasury::Models::LedgerAccountCategoryUpdateParams} for more details.
32
38
  #
33
39
  # @param description [String, nil] The description of the ledger account category.
34
40
  #
41
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
42
+ #
35
43
  # @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
36
44
  #
37
45
  # @param name [String] The name of the ledger account category.
@@ -13,6 +13,12 @@ module ModernTreasury
13
13
  # @return [String, nil]
14
14
  optional :description, String, nil?: true
15
15
 
16
+ # @!attribute external_id
17
+ # An optional user-defined 180 character unique identifier.
18
+ #
19
+ # @return [String, nil]
20
+ optional :external_id, String, nil?: true
21
+
16
22
  # @!attribute metadata
17
23
  # Additional data represented as key-value pairs. Both the key and value must be
18
24
  # strings.
@@ -26,12 +32,14 @@ module ModernTreasury
26
32
  # @return [String, nil]
27
33
  optional :name, String
28
34
 
29
- # @!method initialize(description: nil, metadata: nil, name: nil, request_options: {})
35
+ # @!method initialize(description: nil, external_id: nil, metadata: nil, name: nil, request_options: {})
30
36
  # Some parameter documentations has been truncated, see
31
37
  # {ModernTreasury::Models::LedgerAccountUpdateParams} for more details.
32
38
  #
33
39
  # @param description [String, nil] The description of the ledger account.
34
40
  #
41
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
42
+ #
35
43
  # @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
36
44
  #
37
45
  # @param name [String] The name of the ledger account.
@@ -20,6 +20,13 @@ module ModernTreasury
20
20
  # @return [Time, nil]
21
21
  optional :effective_at, Time
22
22
 
23
+ # @!attribute external_id
24
+ # A unique string to represent the ledger transaction. Only one pending or posted
25
+ # ledger transaction may have this ID in the ledger.
26
+ #
27
+ # @return [String, nil]
28
+ optional :external_id, String, nil?: true
29
+
23
30
  # @!attribute ledger_entries
24
31
  # An array of ledger entry objects.
25
32
  #
@@ -55,7 +62,7 @@ module ModernTreasury
55
62
  # @return [Symbol, ModernTreasury::Models::LedgerTransactionUpdateParams::Status, nil]
56
63
  optional :status, enum: -> { ModernTreasury::LedgerTransactionUpdateParams::Status }
57
64
 
58
- # @!method initialize(description: nil, effective_at: nil, ledger_entries: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil, request_options: {})
65
+ # @!method initialize(description: nil, effective_at: nil, external_id: nil, ledger_entries: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil, request_options: {})
59
66
  # Some parameter documentations has been truncated, see
60
67
  # {ModernTreasury::Models::LedgerTransactionUpdateParams} for more details.
61
68
  #
@@ -63,6 +70,8 @@ module ModernTreasury
63
70
  #
64
71
  # @param effective_at [Time] The timestamp (ISO8601 format) at which the ledger transaction happened for repo
65
72
  #
73
+ # @param external_id [String, nil] A unique string to represent the ledger transaction. Only one pending or posted
74
+ #
66
75
  # @param ledger_entries [Array<ModernTreasury::Models::LedgerEntryCreateRequest>] An array of ledger entry objects.
67
76
  #
68
77
  # @param ledgerable_id [String] If the ledger transaction can be reconciled to another object in Modern Treasury
@@ -95,6 +95,12 @@ module ModernTreasury
95
95
  # @return [Integer, nil]
96
96
  required :expected_activity_volume, Integer, nil?: true
97
97
 
98
+ # @!attribute external_id
99
+ # An optional user-defined 180 character unique identifier.
100
+ #
101
+ # @return [String, nil]
102
+ required :external_id, String, nil?: true
103
+
98
104
  # @!attribute first_name
99
105
  # An individual's first name.
100
106
  #
@@ -276,7 +282,7 @@ module ModernTreasury
276
282
  -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation] },
277
283
  nil?: true
278
284
 
279
- # @!method initialize(id:, addresses:, bank_settings:, business_description:, business_name:, citizenship_country:, compliance_details:, country_of_incorporation:, created_at:, date_formed:, date_of_birth:, discarded_at:, documents:, doing_business_as_names:, email:, expected_activity_volume:, first_name:, identifications:, industry_classifications:, intended_use:, last_name:, legal_entity_type:, legal_structure:, listed_exchange:, live_mode:, metadata:, middle_name:, object:, operating_jurisdictions:, phone_numbers:, politically_exposed_person:, preferred_name:, prefix:, primary_social_media_sites:, regulators:, risk_rating:, status:, suffix:, third_party_verification:, ticker_symbol:, updated_at:, wealth_and_employment_details:, website:, legal_entity_associations: nil)
285
+ # @!method initialize(id:, addresses:, bank_settings:, business_description:, business_name:, citizenship_country:, compliance_details:, country_of_incorporation:, created_at:, date_formed:, date_of_birth:, discarded_at:, documents:, doing_business_as_names:, email:, expected_activity_volume:, external_id:, first_name:, identifications:, industry_classifications:, intended_use:, last_name:, legal_entity_type:, legal_structure:, listed_exchange:, live_mode:, metadata:, middle_name:, object:, operating_jurisdictions:, phone_numbers:, politically_exposed_person:, preferred_name:, prefix:, primary_social_media_sites:, regulators:, risk_rating:, status:, suffix:, third_party_verification:, ticker_symbol:, updated_at:, wealth_and_employment_details:, website:, legal_entity_associations: nil)
280
286
  # Some parameter documentations has been truncated, see
281
287
  # {ModernTreasury::Models::LegalEntity} for more details.
282
288
  #
@@ -312,6 +318,8 @@ module ModernTreasury
312
318
  #
313
319
  # @param expected_activity_volume [Integer, nil] Monthly expected transaction volume in USD.
314
320
  #
321
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
322
+ #
315
323
  # @param first_name [String, nil] An individual's first name.
316
324
  #
317
325
  # @param identifications [Array<ModernTreasury::Models::LegalEntity::Identification>] A list of identifications for the legal entity.
@@ -89,6 +89,12 @@ module ModernTreasury
89
89
  # @return [Integer, nil]
90
90
  optional :expected_activity_volume, Integer, nil?: true
91
91
 
92
+ # @!attribute external_id
93
+ # An optional user-defined 180 character unique identifier.
94
+ #
95
+ # @return [String, nil]
96
+ optional :external_id, String, nil?: true
97
+
92
98
  # @!attribute first_name
93
99
  # An individual's first name.
94
100
  #
@@ -251,7 +257,7 @@ module ModernTreasury
251
257
  # @return [String, nil]
252
258
  optional :website, String, nil?: true
253
259
 
254
- # @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: 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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
260
+ # @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, connection_id: 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_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, status: nil, suffix: nil, third_party_verification: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
255
261
  # Some parameter documentations has been truncated, see
256
262
  # {ModernTreasury::Models::LegalEntityCreateParams} for more details.
257
263
  #
@@ -281,6 +287,8 @@ module ModernTreasury
281
287
  #
282
288
  # @param expected_activity_volume [Integer, nil] Monthly expected transaction volume in USD.
283
289
  #
290
+ # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
291
+ #
284
292
  # @param first_name [String, nil] An individual's first name.
285
293
  #
286
294
  # @param identifications [Array<ModernTreasury::Models::IdentificationCreateRequest>] A list of identifications for the legal entity.
@@ -12,6 +12,12 @@ module ModernTreasury
12
12
  # @return [String, nil]
13
13
  optional :after_cursor, String, nil?: true
14
14
 
15
+ # @!attribute external_id
16
+ # An optional user-defined 180 character unique identifier.
17
+ #
18
+ # @return [String, nil]
19
+ optional :external_id, String
20
+
15
21
  # @!attribute legal_entity_type
16
22
  #
17
23
  # @return [Symbol, ModernTreasury::Models::LegalEntityListParams::LegalEntityType, nil]
@@ -40,12 +46,14 @@ module ModernTreasury
40
46
  # @return [Symbol, ModernTreasury::Models::LegalEntityListParams::Status, nil]
41
47
  optional :status, enum: -> { ModernTreasury::LegalEntityListParams::Status }
42
48
 
43
- # @!method initialize(after_cursor: nil, legal_entity_type: nil, metadata: nil, per_page: nil, show_deleted: nil, status: nil, request_options: {})
49
+ # @!method initialize(after_cursor: nil, external_id: nil, legal_entity_type: nil, metadata: nil, per_page: nil, show_deleted: nil, status: nil, request_options: {})
44
50
  # Some parameter documentations has been truncated, see
45
51
  # {ModernTreasury::Models::LegalEntityListParams} for more details.
46
52
  #
47
53
  # @param after_cursor [String, nil]
48
54
  #
55
+ # @param external_id [String] An optional user-defined 180 character unique identifier.
56
+ #
49
57
  # @param legal_entity_type [Symbol, ModernTreasury::Models::LegalEntityListParams::LegalEntityType]
50
58
  #
51
59
  # @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value