modern_treasury 0.32.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/README.md +1 -1
  4. data/lib/modern_treasury/client.rb +4 -0
  5. data/lib/modern_treasury/models/account_collection_flow.rb +2 -0
  6. data/lib/modern_treasury/models/account_detail.rb +0 -1
  7. data/lib/modern_treasury/models/account_detail_create_params.rb +0 -1
  8. data/lib/modern_treasury/models/bulk_request_create_params.rb +26 -5
  9. data/lib/modern_treasury/models/case_.rb +4 -2
  10. data/lib/modern_treasury/models/child_legal_entity.rb +2 -0
  11. data/lib/modern_treasury/models/child_legal_entity_create.rb +4 -0
  12. data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +4 -0
  13. data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -1
  14. data/lib/modern_treasury/models/counterparty_create_params.rb +6 -65
  15. data/lib/modern_treasury/models/currency.rb +1 -0
  16. data/lib/modern_treasury/models/embeddable_flow.rb +298 -0
  17. data/lib/modern_treasury/models/embeddable_flow_create_params.rb +219 -0
  18. data/lib/modern_treasury/models/embeddable_flow_list_params.rb +49 -0
  19. data/lib/modern_treasury/models/{hold_retrieve_params.rb → embeddable_flow_retrieve_params.rb} +2 -2
  20. data/lib/modern_treasury/models/embeddable_flow_update_params.rb +44 -0
  21. data/lib/modern_treasury/models/external_account_create_params.rb +1 -1
  22. data/lib/modern_treasury/models/external_account_type.rb +2 -5
  23. data/lib/modern_treasury/models/external_account_update_params.rb +2 -2
  24. data/lib/modern_treasury/models/identification.rb +19 -0
  25. data/lib/modern_treasury/models/identification_create_params.rb +21 -0
  26. data/lib/modern_treasury/models/identification_create_request.rb +21 -0
  27. data/lib/modern_treasury/models/identification_update_params.rb +19 -0
  28. data/lib/modern_treasury/models/incoming_payment_detail.rb +14 -4
  29. data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +14 -11
  30. data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +4 -2
  31. data/lib/modern_treasury/models/internal_account.rb +186 -14
  32. data/lib/modern_treasury/models/internal_account_create_params.rb +36 -8
  33. data/lib/modern_treasury/models/internal_account_update_params.rb +35 -3
  34. data/lib/modern_treasury/models/internal_accounts/balance_report.rb +12 -4
  35. data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +12 -4
  36. data/lib/modern_treasury/models/legal_entity.rb +2 -0
  37. data/lib/modern_treasury/models/legal_entity_create_params.rb +4 -0
  38. data/lib/modern_treasury/models/legal_entity_update_params.rb +2 -0
  39. data/lib/modern_treasury/models/payment_action_list_params.rb +1 -0
  40. data/lib/modern_treasury/models/payment_order.rb +6 -0
  41. data/lib/modern_treasury/models/payment_order_create_async_params.rb +13 -2
  42. data/lib/modern_treasury/models/payment_order_create_params.rb +21 -3
  43. data/lib/modern_treasury/models/payment_order_update_params.rb +13 -2
  44. data/lib/modern_treasury/models/payment_reference.rb +6 -0
  45. data/lib/modern_treasury/models/return_object.rb +6 -0
  46. data/lib/modern_treasury/models/routing_detail.rb +1 -0
  47. data/lib/modern_treasury/models/routing_detail_create_params.rb +1 -0
  48. data/lib/modern_treasury/models/routing_number_lookup_request.rb +1 -0
  49. data/lib/modern_treasury/models/third_party_verification.rb +1 -0
  50. data/lib/modern_treasury/models/transaction_list_params.rb +1 -8
  51. data/lib/modern_treasury/models/transactions/transaction_line_item.rb +4 -4
  52. data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +1 -0
  53. data/lib/modern_treasury/models/virtual_account.rb +9 -1
  54. data/lib/modern_treasury/models/virtual_account_create_params.rb +11 -2
  55. data/lib/modern_treasury/models/virtual_account_update_params.rb +14 -1
  56. data/lib/modern_treasury/models.rb +10 -10
  57. data/lib/modern_treasury/resources/account_collection_flows.rb +2 -0
  58. data/lib/modern_treasury/resources/counterparties.rb +1 -5
  59. data/lib/modern_treasury/resources/embeddable_flows.rb +111 -0
  60. data/lib/modern_treasury/resources/external_accounts.rb +1 -1
  61. data/lib/modern_treasury/resources/holds.rb +0 -113
  62. data/lib/modern_treasury/resources/incoming_payment_details.rb +4 -4
  63. data/lib/modern_treasury/resources/internal_accounts.rb +11 -26
  64. data/lib/modern_treasury/resources/payment_flows.rb +2 -0
  65. data/lib/modern_treasury/resources/payment_orders.rb +9 -3
  66. data/lib/modern_treasury/resources/transactions.rb +1 -3
  67. data/lib/modern_treasury/resources/virtual_accounts.rb +9 -2
  68. data/lib/modern_treasury/version.rb +1 -1
  69. data/lib/modern_treasury.rb +6 -9
  70. data/rbi/modern_treasury/client.rbi +3 -0
  71. data/rbi/modern_treasury/models/account_collection_flow.rbi +10 -0
  72. data/rbi/modern_treasury/models/account_detail.rbi +0 -5
  73. data/rbi/modern_treasury/models/account_detail_create_params.rbi +0 -5
  74. data/rbi/modern_treasury/models/bulk_request_create_params.rbi +38 -15
  75. data/rbi/modern_treasury/models/case_.rbi +20 -10
  76. data/rbi/modern_treasury/models/child_legal_entity.rbi +10 -0
  77. data/rbi/modern_treasury/models/child_legal_entity_create.rbi +20 -0
  78. data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +20 -0
  79. data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -5
  80. data/rbi/modern_treasury/models/counterparty_create_params.rbi +25 -170
  81. data/rbi/modern_treasury/models/currency.rbi +1 -0
  82. data/rbi/modern_treasury/models/embeddable_flow.rbi +512 -0
  83. data/rbi/modern_treasury/models/embeddable_flow_create_params.rbi +531 -0
  84. data/rbi/modern_treasury/models/embeddable_flow_list_params.rbi +119 -0
  85. data/rbi/modern_treasury/models/{hold_retrieve_params.rbi → embeddable_flow_retrieve_params.rbi} +2 -2
  86. data/rbi/modern_treasury/models/{hold_update_params.rbi → embeddable_flow_update_params.rbi} +21 -21
  87. data/rbi/modern_treasury/models/external_account_create_params.rbi +5 -5
  88. data/rbi/modern_treasury/models/external_account_type.rbi +6 -15
  89. data/rbi/modern_treasury/models/external_account_update_params.rbi +7 -3
  90. data/rbi/modern_treasury/models/identification.rbi +41 -0
  91. data/rbi/modern_treasury/models/identification_create_params.rbi +105 -0
  92. data/rbi/modern_treasury/models/identification_create_request.rbi +105 -0
  93. data/rbi/modern_treasury/models/identification_update_params.rbi +95 -0
  94. data/rbi/modern_treasury/models/incoming_payment_detail.rbi +26 -8
  95. data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +24 -28
  96. data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +13 -3
  97. data/rbi/modern_treasury/models/internal_account.rbi +310 -34
  98. data/rbi/modern_treasury/models/internal_account_create_params.rbi +78 -29
  99. data/rbi/modern_treasury/models/internal_account_update_params.rbi +79 -3
  100. data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +32 -6
  101. data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +32 -6
  102. data/rbi/modern_treasury/models/legal_entity.rbi +10 -0
  103. data/rbi/modern_treasury/models/legal_entity_create_params.rbi +20 -0
  104. data/rbi/modern_treasury/models/legal_entity_update_params.rbi +10 -0
  105. data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -0
  106. data/rbi/modern_treasury/models/payment_order.rbi +30 -0
  107. data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +19 -5
  108. data/rbi/modern_treasury/models/payment_order_create_params.rbi +25 -5
  109. data/rbi/modern_treasury/models/payment_order_update_params.rbi +19 -5
  110. data/rbi/modern_treasury/models/payment_reference.rbi +30 -0
  111. data/rbi/modern_treasury/models/return_object.rbi +30 -0
  112. data/rbi/modern_treasury/models/routing_detail.rbi +5 -0
  113. data/rbi/modern_treasury/models/routing_detail_create_params.rbi +5 -0
  114. data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +5 -0
  115. data/rbi/modern_treasury/models/third_party_verification.rbi +5 -0
  116. data/rbi/modern_treasury/models/transaction_list_params.rbi +0 -9
  117. data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +5 -5
  118. data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +5 -0
  119. data/rbi/modern_treasury/models/virtual_account.rbi +13 -0
  120. data/rbi/modern_treasury/models/virtual_account_create_params.rbi +18 -5
  121. data/rbi/modern_treasury/models/virtual_account_update_params.rbi +19 -0
  122. data/rbi/modern_treasury/models.rbi +13 -11
  123. data/rbi/modern_treasury/resources/counterparties.rbi +0 -8
  124. data/rbi/modern_treasury/resources/embeddable_flows.rbi +88 -0
  125. data/rbi/modern_treasury/resources/external_accounts.rbi +1 -1
  126. data/rbi/modern_treasury/resources/holds.rbi +0 -94
  127. data/rbi/modern_treasury/resources/incoming_payment_details.rbi +10 -7
  128. data/rbi/modern_treasury/resources/internal_accounts.rbi +30 -18
  129. data/rbi/modern_treasury/resources/payment_orders.rbi +18 -0
  130. data/rbi/modern_treasury/resources/transactions.rbi +0 -2
  131. data/rbi/modern_treasury/resources/virtual_accounts.rbi +9 -0
  132. data/sig/modern_treasury/client.rbs +2 -0
  133. data/sig/modern_treasury/models/account_collection_flow.rbs +3 -1
  134. data/sig/modern_treasury/models/account_detail.rbs +0 -2
  135. data/sig/modern_treasury/models/account_detail_create_params.rbs +0 -2
  136. data/sig/modern_treasury/models/bulk_request_create_params.rbs +14 -6
  137. data/sig/modern_treasury/models/case_.rbs +10 -6
  138. data/sig/modern_treasury/models/child_legal_entity.rbs +4 -0
  139. data/sig/modern_treasury/models/child_legal_entity_create.rbs +9 -1
  140. data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +9 -1
  141. data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -2
  142. data/sig/modern_treasury/models/counterparty_create_params.rbs +11 -64
  143. data/sig/modern_treasury/models/currency.rbs +2 -0
  144. data/sig/modern_treasury/models/embeddable_flow.rbs +270 -0
  145. data/sig/modern_treasury/models/embeddable_flow_create_params.rbs +219 -0
  146. data/sig/modern_treasury/models/embeddable_flow_list_params.rbs +61 -0
  147. data/sig/modern_treasury/models/{hold_retrieve_params.rbs → embeddable_flow_retrieve_params.rbs} +2 -2
  148. data/sig/modern_treasury/models/embeddable_flow_update_params.rbs +41 -0
  149. data/sig/modern_treasury/models/external_account_create_params.rbs +2 -2
  150. data/sig/modern_treasury/models/external_account_type.rbs +5 -11
  151. data/sig/modern_treasury/models/external_account_update_params.rbs +4 -8
  152. data/sig/modern_treasury/models/identification.rbs +38 -0
  153. data/sig/modern_treasury/models/identification_create_params.rbs +43 -1
  154. data/sig/modern_treasury/models/identification_create_request.rbs +43 -1
  155. data/sig/modern_treasury/models/identification_update_params.rbs +38 -0
  156. data/sig/modern_treasury/models/incoming_payment_detail.rbs +10 -3
  157. data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +5 -9
  158. data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +3 -1
  159. data/sig/modern_treasury/models/internal_account.rbs +143 -18
  160. data/sig/modern_treasury/models/internal_account_create_params.rbs +22 -11
  161. data/sig/modern_treasury/models/internal_account_update_params.rbs +24 -7
  162. data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +8 -0
  163. data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +8 -0
  164. data/sig/modern_treasury/models/legal_entity.rbs +4 -0
  165. data/sig/modern_treasury/models/legal_entity_create_params.rbs +9 -1
  166. data/sig/modern_treasury/models/legal_entity_update_params.rbs +4 -0
  167. data/sig/modern_treasury/models/payment_action_list_params.rbs +2 -1
  168. data/sig/modern_treasury/models/payment_order.rbs +12 -0
  169. data/sig/modern_treasury/models/payment_order_create_async_params.rbs +7 -2
  170. data/sig/modern_treasury/models/payment_order_create_params.rbs +12 -2
  171. data/sig/modern_treasury/models/payment_order_update_params.rbs +7 -2
  172. data/sig/modern_treasury/models/payment_reference.rbs +12 -0
  173. data/sig/modern_treasury/models/return_object.rbs +12 -0
  174. data/sig/modern_treasury/models/routing_detail.rbs +2 -0
  175. data/sig/modern_treasury/models/routing_detail_create_params.rbs +2 -0
  176. data/sig/modern_treasury/models/routing_number_lookup_request.rbs +2 -0
  177. data/sig/modern_treasury/models/third_party_verification.rbs +9 -1
  178. data/sig/modern_treasury/models/transaction_list_params.rbs +0 -7
  179. data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +4 -4
  180. data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +2 -0
  181. data/sig/modern_treasury/models/virtual_account.rbs +5 -0
  182. data/sig/modern_treasury/models/virtual_account_create_params.rbs +11 -2
  183. data/sig/modern_treasury/models/virtual_account_update_params.rbs +6 -1
  184. data/sig/modern_treasury/models.rbs +10 -10
  185. data/sig/modern_treasury/resources/counterparties.rbs +0 -2
  186. data/sig/modern_treasury/resources/embeddable_flows.rbs +32 -0
  187. data/sig/modern_treasury/resources/external_accounts.rbs +1 -1
  188. data/sig/modern_treasury/resources/holds.rbs +0 -31
  189. data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
  190. data/sig/modern_treasury/resources/internal_accounts.rbs +5 -6
  191. data/sig/modern_treasury/resources/payment_orders.rbs +3 -0
  192. data/sig/modern_treasury/resources/transactions.rbs +0 -1
  193. data/sig/modern_treasury/resources/virtual_accounts.rbs +2 -0
  194. metadata +20 -29
  195. data/lib/modern_treasury/models/hold_create_params.rb +0 -74
  196. data/lib/modern_treasury/models/hold_create_response.rb +0 -143
  197. data/lib/modern_treasury/models/hold_list_params.rb +0 -86
  198. data/lib/modern_treasury/models/hold_list_response.rb +0 -143
  199. data/lib/modern_treasury/models/hold_retrieve_response.rb +0 -143
  200. data/lib/modern_treasury/models/hold_update_params.rb +0 -47
  201. data/lib/modern_treasury/models/hold_update_response.rb +0 -143
  202. data/lib/modern_treasury/models/internal_account_request_closure_params.rb +0 -20
  203. data/rbi/modern_treasury/models/hold_create_params.rbi +0 -125
  204. data/rbi/modern_treasury/models/hold_create_response.rbi +0 -232
  205. data/rbi/modern_treasury/models/hold_list_params.rbi +0 -145
  206. data/rbi/modern_treasury/models/hold_list_response.rbi +0 -225
  207. data/rbi/modern_treasury/models/hold_retrieve_response.rbi +0 -234
  208. data/rbi/modern_treasury/models/hold_update_response.rbi +0 -232
  209. data/rbi/modern_treasury/models/internal_account_request_closure_params.rbi +0 -38
  210. data/sig/modern_treasury/models/hold_create_params.rbs +0 -66
  211. data/sig/modern_treasury/models/hold_create_response.rbs +0 -108
  212. data/sig/modern_treasury/models/hold_list_params.rbs +0 -76
  213. data/sig/modern_treasury/models/hold_list_response.rbs +0 -108
  214. data/sig/modern_treasury/models/hold_retrieve_response.rbs +0 -108
  215. data/sig/modern_treasury/models/hold_update_params.rbs +0 -46
  216. data/sig/modern_treasury/models/hold_update_response.rbs +0 -108
  217. data/sig/modern_treasury/models/internal_account_request_closure_params.rbs +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 718b202f35241e6b6597c6271f19a9b72ef2ce729bb7a988a5c4455bb46c5927
4
- data.tar.gz: cc147cf1a52ba271d9d2903d7ac5a827c060b274f8218872f6ad97134dd81994
3
+ metadata.gz: 47bc1f85172f65bc1951bd753d54fed6b5954e5e6ba62fa06268652798959534
4
+ data.tar.gz: 9bf2c05fb508ef12f0fe83d476dd32c1b6d31a700a72001c93db3d75c27fe293
5
5
  SHA512:
6
- metadata.gz: 788c59d67b7c3bd3a1f229ad391790c21422baddb64cb134555d3a075c7b8d771eeb3e79cc00254b0fece68b8ce0468cb35daa7fcb55155806914d26a5fc5ba2
7
- data.tar.gz: 771e6281c35b8993dbba4c30d2588ad6eaaa2d81cfdf04317bafc38fdb7ddff0f5d6fd5428284eae7fb982f0bbfb1c36221082a5cbed25cc8575019f910a71a4
6
+ metadata.gz: f92275ba016d20295c52384d521e962a52101996f42ed54052aa12a69f06ac9f0deeab25796bcea63f569b8617d3db2e83863e0a0ae3981bf11be58344539e1e
7
+ data.tar.gz: d361aecaa1b7484d3abf2ed69369a89a8c01aaa1f28ce7da5a9079350bdd3fa64d39c957ba70b3b52aaee5a2b8052130569f737809dbe135736da5f91128a402
data/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.33.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.32.0...v0.33.0) (2026-12-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * regenerate SDKs from 00ee43382af7d759adf81e7e949b9512f7ad53a0 ([4f78a2c](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/4f78a2c13350d7e7b23a7a13dc873933eed497e3))
9
+ * regenerate SDKs from 11f2562009a4940f5a37d51396048ef2951c5e0f ([59ca07e](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/59ca07e8fc71503e811d0b4d0527c399bb0a2e4e))
10
+ * regenerate SDKs from 176269eb5098cfc524613566c8e9ea10851696ed ([ad3643e](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/ad3643e5018d9555c84743159cf955403d1e709f))
11
+ * regenerate SDKs from 1b98627bc3fb6fba36199f351d17a128b60bc444 ([05e591b](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/05e591b8d126e90f94d97a5d1c5cc431ca8378bf))
12
+ * regenerate SDKs from 220853728a2987cdb8532eacd4eb46a269dc34ad ([133dca5](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/133dca5683fd6440e4a37b06234ade451e17203d))
13
+ * regenerate SDKs from 2452f7368bd3790a6909c655cd13f257d2810a2e ([cb4aafa](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/cb4aafa77f798a219368db763c01c22c007e143d))
14
+ * regenerate SDKs from 459a937930048f5badaf1a4533a89dd01bdd80b4 ([4109fde](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/4109fdee8e517b885faee06dbd785916cf4d4d8f))
15
+ * regenerate SDKs from 5beabb2d52a32c2adc15de73b048899afb5444da ([de5d5fd](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/de5d5fd4cbf6d6611f899a737f65eebc5ac5f50b))
16
+ * regenerate SDKs from 63071125f6951ec66ee60d220567de6b3f3edf2a ([fe4a0d7](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/fe4a0d7176f77d9425b2ebf0e8e5a8cf246bf94a))
17
+ * regenerate SDKs from 6726f5655ecc8dcd762e1643fc592361c07202a9 ([e5815d7](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/e5815d7e5010cd3c0c9926ad4665aeef8f55919e))
18
+ * regenerate SDKs from 83df0ba9df810223a51b2216cfee38189f69e0b5 ([0fef419](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/0fef419f1e0c9d235332d00ec34ce5048dc8e881))
19
+ * regenerate SDKs from 854e6ca8ee0d4fcbc920723911a39b1acb617730 ([b428d94](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/b428d94011da75af1d89eaf74b0ae6511026c209))
20
+ * regenerate SDKs from 8c8cc703e5aa5891b8c944546e12ed3943f1ad5c ([35373ed](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/35373ed353c078a1b1b23aa7f70ab4c3d8648943))
21
+ * regenerate SDKs from 8de7b91cff561c06fda4e07c3a917c93a30e1539 ([fd5a636](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/fd5a636103a42c721e978cf2828714efa5e361e2))
22
+ * regenerate SDKs from 8f63f2a3d03d7313666f5107d08bed47f5ecf25f ([f6278cd](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/f6278cd1f1f43cfd06526fb03b977023bcba5e4a))
23
+ * regenerate SDKs from 9cf51b3a94a3f9422d837156bc4f041cbbed073f ([eeb8099](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/eeb8099030b427cf73faaf22859b5cfd3c1e8a9a))
24
+ * regenerate SDKs from 9f3b6161d7918cabb9c9fb7ca5c1316a7d04c985 ([fd09d33](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/fd09d3369484e8ac095702be161cf1202db8cba0))
25
+ * regenerate SDKs from a3780cfef61e2467da889269d05e9d4215f3feea ([7acc763](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/7acc7636659f2daeaf7916b0c6fa7d11f01f36f7))
26
+ * regenerate SDKs from a8b553149cee66731fec169c27e01accee0545f1 ([3be209f](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/3be209f70ec1e142002f49a057da048053277a28))
27
+ * regenerate SDKs from b04135554e45405174f980a57063875afed28602 ([610c8a8](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/610c8a8e60dae44268edd2760fbf6137e97c0d2c))
28
+ * regenerate SDKs from b3f37ee51a6ce85eeac3fe8978e93f8225df9c97 ([d92be32](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/d92be32744fdd9d732e9ad91fabe8541fb8a2cb1))
29
+ * regenerate SDKs from b4d8b19bfea1d65e30b43aa318680afc43312ae8 ([ac9a5c5](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/ac9a5c59476f5cca7f2b171f2ab5f7e38e6e9ec1))
30
+ * regenerate SDKs from ce6d5678c5b1c924057f27c2e5c4727471be3278 ([07311f8](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/07311f8b6ffad3037ba4b0f7e7c36b319e564245))
31
+ * regenerate SDKs from d2935cd71face53670a01682bf856dbf3b5d6e7d ([08b0714](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/08b07141f3d2d818a02d480252e4d4d809e394ad))
32
+ * regenerate SDKs from e1f1308c2744a99b5337c20649d3b1d89efd1f11 ([76536f0](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/76536f00083bd6cc15212889ffabac9026af0e38))
33
+ * regenerate SDKs from f4ddde497e6ae20ffb517b9e9b6eb91ecb7e9897 ([0c37626](https://github.com/Modern-Treasury/modern-treasury-ruby/commit/0c37626a6ffae88b91e10e715dbb0dca4a4d0125))
34
+
3
35
  ## [0.32.0](https://github.com/Modern-Treasury/modern-treasury-ruby/compare/v0.31.0...v0.32.0) (2026-10-08)
4
36
 
5
37
 
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.32.0"
27
+ gem "modern_treasury", "~> 0.33.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -150,6 +150,9 @@ module ModernTreasury
150
150
  # @return [ModernTreasury::Resources::Identifications]
151
151
  attr_reader :identifications
152
152
 
153
+ # @return [ModernTreasury::Resources::EmbeddableFlows]
154
+ attr_reader :embeddable_flows
155
+
153
156
  # A test endpoint often used to confirm credentials and headers are being passed
154
157
  # in correctly.
155
158
  #
@@ -289,6 +292,7 @@ module ModernTreasury
289
292
  @cases = ModernTreasury::Resources::Cases.new(client: self)
290
293
  @virtual_account_settings = ModernTreasury::Resources::VirtualAccountSettings.new(client: self)
291
294
  @identifications = ModernTreasury::Resources::Identifications.new(client: self)
295
+ @embeddable_flows = ModernTreasury::Resources::EmbeddableFlows.new(client: self)
292
296
  end
293
297
  end
294
298
  end
@@ -102,6 +102,8 @@ module ModernTreasury
102
102
 
103
103
  ACH = :ach
104
104
  WIRE = :wire
105
+ CHECK = :check
106
+ CARD = :card
105
107
 
106
108
  # @!method self.values
107
109
  # @return [Array<Symbol>]
@@ -98,7 +98,6 @@ module ModernTreasury
98
98
  ID_NUMBER = :id_number
99
99
  NZ_NUMBER = :nz_number
100
100
  OTHER = :other
101
- PAN = :pan
102
101
  POLYGON_ADDRESS = :polygon_address
103
102
  SG_NUMBER = :sg_number
104
103
  SOLANA_ADDRESS = :solana_address
@@ -72,7 +72,6 @@ module ModernTreasury
72
72
  ID_NUMBER = :id_number
73
73
  NZ_NUMBER = :nz_number
74
74
  OTHER = :other
75
- PAN = :pan
76
75
  POLYGON_ADDRESS = :polygon_address
77
76
  SG_NUMBER = :sg_number
78
77
  SOLANA_ADDRESS = :solana_address
@@ -69,7 +69,6 @@ module ModernTreasury
69
69
  LEDGER_TRANSACTION = :ledger_transaction
70
70
  EXPECTED_PAYMENT = :expected_payment
71
71
  TRANSACTION = :transaction
72
- TRANSACTION_LINE_ITEM = :transaction_line_item
73
72
 
74
73
  # @!method self.values
75
74
  # @return [Array<Symbol>]
@@ -190,6 +189,15 @@ module ModernTreasury
190
189
  # @return [Date, nil]
191
190
  optional :effective_date, Date
192
191
 
192
+ # @!attribute end_to_end_id
193
+ # A unique identifier passed through to the receiving bank. Only supported for
194
+ # `ach` (maximum 15 characters) and `wire` (maximum 35 characters). If not
195
+ # provided, Modern Treasury generates one. Some banks may truncate this value or
196
+ # use their own identifier instead.
197
+ #
198
+ # @return [String, nil]
199
+ optional :end_to_end_id, String, nil?: true
200
+
193
201
  # @!attribute expires_at
194
202
  # RFP payments require an expires_at. This value must be past the effective_date.
195
203
  #
@@ -441,7 +449,7 @@ module ModernTreasury
441
449
  optional :vendor_attributes,
442
450
  ModernTreasury::Internal::Type::HashOf[ModernTreasury::Internal::Type::Unknown]
443
451
 
444
- # @!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_address: nil, originating_party_name: nil, originating_secondary_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_account_id: nil, ultimate_originating_party_address: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil, vendor_attributes: nil)
452
+ # @!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, end_to_end_id: 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_address: nil, originating_party_name: nil, originating_secondary_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_account_id: nil, ultimate_originating_party_address: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil, vendor_attributes: nil)
445
453
  # Some parameter documentations has been truncated, see
446
454
  # {ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest}
447
455
  # for more details.
@@ -468,6 +476,8 @@ module ModernTreasury
468
476
  #
469
477
  # @param effective_date [Date] Date transactions are to be posted to the participants' account. Defaults to the
470
478
  #
479
+ # @param end_to_end_id [String, nil] A unique identifier passed through to the receiving bank. Only supported for `ac
480
+ #
471
481
  # @param expires_at [Time, nil] RFP payments require an expires_at. This value must be past the effective_date.
472
482
  #
473
483
  # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
@@ -905,7 +915,6 @@ module ModernTreasury
905
915
  ID_NUMBER = :id_number
906
916
  NZ_NUMBER = :nz_number
907
917
  OTHER = :other
908
- PAN = :pan
909
918
  POLYGON_ADDRESS = :polygon_address
910
919
  SG_NUMBER = :sg_number
911
920
  SOLANA_ADDRESS = :solana_address
@@ -974,6 +983,7 @@ module ModernTreasury
974
983
  SE_BANKGIRO_CLEARING_CODE = :se_bankgiro_clearing_code
975
984
  SG_INTERBANK_CLEARING_CODE = :sg_interbank_clearing_code
976
985
  SWIFT = :swift
986
+ VASP = :vasp
977
987
  ZA_NATIONAL_CLEARING_CODE = :za_national_clearing_code
978
988
 
979
989
  # @!method self.values
@@ -1656,6 +1666,15 @@ module ModernTreasury
1656
1666
  # @return [Date, nil]
1657
1667
  optional :effective_date, Date
1658
1668
 
1669
+ # @!attribute end_to_end_id
1670
+ # A unique identifier passed through to the receiving bank. Only supported for
1671
+ # `ach` (maximum 15 characters) and `wire` (maximum 35 characters). If not
1672
+ # provided, Modern Treasury generates one. Some banks may truncate this value or
1673
+ # use their own identifier instead.
1674
+ #
1675
+ # @return [String, nil]
1676
+ optional :end_to_end_id, String, nil?: true
1677
+
1659
1678
  # @!attribute expires_at
1660
1679
  # RFP payments require an expires_at. This value must be past the effective_date.
1661
1680
  #
@@ -1885,7 +1904,7 @@ module ModernTreasury
1885
1904
  # @return [String, nil]
1886
1905
  optional :ultimate_receiving_party_name, String, nil?: true
1887
1906
 
1888
- # @!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_address: nil, originating_party_name: nil, originating_secondary_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)
1907
+ # @!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, end_to_end_id: 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_address: nil, originating_party_name: nil, originating_secondary_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)
1889
1908
  # Some parameter documentations has been truncated, see
1890
1909
  # {ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID}
1891
1910
  # for more details.
@@ -1912,6 +1931,8 @@ module ModernTreasury
1912
1931
  #
1913
1932
  # @param effective_date [Date] Date transactions are to be posted to the participants' account. Defaults to the
1914
1933
  #
1934
+ # @param end_to_end_id [String, nil] A unique identifier passed through to the receiving bank. Only supported for `ac
1935
+ #
1915
1936
  # @param expires_at [Time, nil] RFP payments require an expires_at. This value must be past the effective_date.
1916
1937
  #
1917
1938
  # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
@@ -2343,7 +2364,6 @@ module ModernTreasury
2343
2364
  ID_NUMBER = :id_number
2344
2365
  NZ_NUMBER = :nz_number
2345
2366
  OTHER = :other
2346
- PAN = :pan
2347
2367
  POLYGON_ADDRESS = :polygon_address
2348
2368
  SG_NUMBER = :sg_number
2349
2369
  SOLANA_ADDRESS = :solana_address
@@ -2412,6 +2432,7 @@ module ModernTreasury
2412
2432
  SE_BANKGIRO_CLEARING_CODE = :se_bankgiro_clearing_code
2413
2433
  SG_INTERBANK_CLEARING_CODE = :sg_interbank_clearing_code
2414
2434
  SWIFT = :swift
2435
+ VASP = :vasp
2415
2436
  ZA_NATIONAL_CLEARING_CODE = :za_national_clearing_code
2416
2437
 
2417
2438
  # @!method self.values
@@ -167,9 +167,9 @@ module ModernTreasury
167
167
  module Category
168
168
  extend ModernTreasury::Internal::Type::Enum
169
169
 
170
- ONBOARDING_ARTICLES_OF_INCORPORATION_FAILURE = :onboarding_articles_of_incorporation_failure
171
170
  ONBOARDING_BUSINESS_REGISTRY_VERIFICATION_FAILURE = :onboarding_business_registry_verification_failure
172
171
  ONBOARDING_DATABASE_FAILURE = :onboarding_database_failure
172
+ ONBOARDING_GOVERNMENT_ID_FAILURE = :onboarding_government_id_failure
173
173
  ONBOARDING_PROOF_OF_ADDRESS_FAILURE = :onboarding_proof_of_address_failure
174
174
  ONBOARDING_SSN_CHECK_FAILURE = :onboarding_ssn_check_failure
175
175
  ONBOARDING_TIN_CHECK_FAILURE = :onboarding_tin_check_failure
@@ -186,6 +186,7 @@ module ModernTreasury
186
186
 
187
187
  ARTICLES_OF_INCORPORATION = :articles_of_incorporation
188
188
  EIN_LETTER = :ein_letter
189
+ GOVERNMENT_ID = :government_id
189
190
  LEGAL_ENTITY_DETAILS = :legal_entity_details
190
191
  PROOF_OF_ADDRESS = :proof_of_address
191
192
 
@@ -274,9 +275,9 @@ module ModernTreasury
274
275
  module Category
275
276
  extend ModernTreasury::Internal::Type::Enum
276
277
 
277
- ONBOARDING_ARTICLES_OF_INCORPORATION_FAILURE = :onboarding_articles_of_incorporation_failure
278
278
  ONBOARDING_BUSINESS_REGISTRY_VERIFICATION_FAILURE = :onboarding_business_registry_verification_failure
279
279
  ONBOARDING_DATABASE_FAILURE = :onboarding_database_failure
280
+ ONBOARDING_GOVERNMENT_ID_FAILURE = :onboarding_government_id_failure
280
281
  ONBOARDING_PROOF_OF_ADDRESS_FAILURE = :onboarding_proof_of_address_failure
281
282
  ONBOARDING_SSN_CHECK_FAILURE = :onboarding_ssn_check_failure
282
283
  ONBOARDING_TIN_CHECK_FAILURE = :onboarding_tin_check_failure
@@ -293,6 +294,7 @@ module ModernTreasury
293
294
 
294
295
  ARTICLES_OF_INCORPORATION = :articles_of_incorporation
295
296
  EIN_LETTER = :ein_letter
297
+ GOVERNMENT_ID = :government_id
296
298
  LEGAL_ENTITY_DETAILS = :legal_entity_details
297
299
  PROOF_OF_ADDRESS = :proof_of_address
298
300
 
@@ -572,6 +572,8 @@ module ModernTreasury
572
572
  extend ModernTreasury::Internal::Type::Enum
573
573
 
574
574
  CORPORATION = :corporation
575
+ ESTATE = :estate
576
+ GOVERNMENT_ENTITY = :government_entity
575
577
  LLC = :llc
576
578
  NON_PROFIT = :non_profit
577
579
  PARTNERSHIP = :partnership
@@ -424,12 +424,14 @@ module ModernTreasury
424
424
  module DocumentType
425
425
  extend ModernTreasury::Internal::Type::Enum
426
426
 
427
+ AGENT_AUTHORIZATION_LETTER = :agent_authorization_letter
427
428
  ARTICLES_OF_INCORPORATION = :articles_of_incorporation
428
429
  CERTIFICATE_OF_GOOD_STANDING = :certificate_of_good_standing
429
430
  EIN_LETTER = :ein_letter
430
431
  GENERIC = :generic
431
432
  IDENTIFICATION_BACK = :identification_back
432
433
  IDENTIFICATION_FRONT = :identification_front
434
+ LETTER_OF_ADMINISTRATION = :letter_of_administration
433
435
  PROOF_OF_ADDRESS = :proof_of_address
434
436
 
435
437
  # @!method self.values
@@ -457,6 +459,8 @@ module ModernTreasury
457
459
  extend ModernTreasury::Internal::Type::Enum
458
460
 
459
461
  CORPORATION = :corporation
462
+ ESTATE = :estate
463
+ GOVERNMENT_ENTITY = :government_entity
460
464
  LLC = :llc
461
465
  NON_PROFIT = :non_profit
462
466
  PARTNERSHIP = :partnership
@@ -465,12 +465,14 @@ module ModernTreasury
465
465
  module DocumentType
466
466
  extend ModernTreasury::Internal::Type::Enum
467
467
 
468
+ AGENT_AUTHORIZATION_LETTER = :agent_authorization_letter
468
469
  ARTICLES_OF_INCORPORATION = :articles_of_incorporation
469
470
  CERTIFICATE_OF_GOOD_STANDING = :certificate_of_good_standing
470
471
  EIN_LETTER = :ein_letter
471
472
  GENERIC = :generic
472
473
  IDENTIFICATION_BACK = :identification_back
473
474
  IDENTIFICATION_FRONT = :identification_front
475
+ LETTER_OF_ADMINISTRATION = :letter_of_administration
474
476
  PROOF_OF_ADDRESS = :proof_of_address
475
477
 
476
478
  # @!method self.values
@@ -498,6 +500,8 @@ module ModernTreasury
498
500
  extend ModernTreasury::Internal::Type::Enum
499
501
 
500
502
  CORPORATION = :corporation
503
+ ESTATE = :estate
504
+ GOVERNMENT_ENTITY = :government_entity
501
505
  LLC = :llc
502
506
  NON_PROFIT = :non_profit
503
507
  PARTNERSHIP = :partnership
@@ -75,7 +75,6 @@ module ModernTreasury
75
75
  IBAN_NUMBER = :ibanNumber
76
76
  CLABE_NUMBER = :clabeNumber
77
77
  WALLET_ADDRESS = :walletAddress
78
- PAN_NUMBER = :panNumber
79
78
  ROUTING_NUMBER = :routingNumber
80
79
  ABA_WIRE_ROUTING_NUMBER = :abaWireRoutingNumber
81
80
  SWIFT_CODE = :swiftCode
@@ -13,12 +13,6 @@ module ModernTreasury
13
13
  # @return [String, nil]
14
14
  required :name, String, nil?: true
15
15
 
16
- # @!attribute accounting
17
- # @deprecated
18
- #
19
- # @return [ModernTreasury::Models::CounterpartyCreateParams::Accounting, nil]
20
- optional :accounting, -> { ModernTreasury::CounterpartyCreateParams::Accounting }
21
-
22
16
  # @!attribute accounts
23
17
  # The accounts for this counterparty.
24
18
  #
@@ -38,15 +32,6 @@ module ModernTreasury
38
32
  # @return [String, nil]
39
33
  optional :external_id, String, nil?: true
40
34
 
41
- # @!attribute ledger_type
42
- # @deprecated
43
- #
44
- # An optional type to auto-sync the counterparty to your ledger. Either `customer`
45
- # or `vendor`.
46
- #
47
- # @return [Symbol, ModernTreasury::Models::CounterpartyCreateParams::LedgerType, nil]
48
- optional :ledger_type, enum: -> { ModernTreasury::CounterpartyCreateParams::LedgerType }
49
-
50
35
  # @!attribute legal_entity
51
36
  #
52
37
  # @return [ModernTreasury::Models::CounterpartyCreateParams::LegalEntity, nil]
@@ -86,22 +71,18 @@ module ModernTreasury
86
71
  # @return [String, nil]
87
72
  optional :verification_status, String
88
73
 
89
- # @!method initialize(name:, accounting: nil, accounts: nil, email: nil, external_id: nil, ledger_type: nil, legal_entity: nil, legal_entity_id: nil, metadata: nil, send_remittance_advice: nil, taxpayer_identifier: nil, verification_status: nil, request_options: {})
74
+ # @!method initialize(name:, accounts: nil, email: nil, external_id: nil, legal_entity: nil, legal_entity_id: nil, metadata: nil, send_remittance_advice: nil, taxpayer_identifier: nil, verification_status: nil, request_options: {})
90
75
  # Some parameter documentations has been truncated, see
91
76
  # {ModernTreasury::Models::CounterpartyCreateParams} for more details.
92
77
  #
93
78
  # @param name [String, nil] A human friendly name for this counterparty.
94
79
  #
95
- # @param accounting [ModernTreasury::Models::CounterpartyCreateParams::Accounting]
96
- #
97
80
  # @param accounts [Array<ModernTreasury::Models::CounterpartyCreateParams::Account>] The accounts for this counterparty.
98
81
  #
99
82
  # @param email [String, nil] The counterparty's email.
100
83
  #
101
84
  # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
102
85
  #
103
- # @param ledger_type [Symbol, ModernTreasury::Models::CounterpartyCreateParams::LedgerType] An optional type to auto-sync the counterparty to your ledger. Either `customer`
104
- #
105
86
  # @param legal_entity [ModernTreasury::Models::CounterpartyCreateParams::LegalEntity]
106
87
  #
107
88
  # @param legal_entity_id [String, nil] The id of the legal entity.
@@ -116,36 +97,6 @@ module ModernTreasury
116
97
  #
117
98
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
118
99
 
119
- # @deprecated
120
- class Accounting < ModernTreasury::Internal::Type::BaseModel
121
- # @!attribute type
122
- # An optional type to auto-sync the counterparty to your ledger. Either `customer`
123
- # or `vendor`.
124
- #
125
- # @return [Symbol, ModernTreasury::Models::CounterpartyCreateParams::Accounting::Type, nil]
126
- optional :type, enum: -> { ModernTreasury::CounterpartyCreateParams::Accounting::Type }
127
-
128
- # @!method initialize(type: nil)
129
- # Some parameter documentations has been truncated, see
130
- # {ModernTreasury::Models::CounterpartyCreateParams::Accounting} for more details.
131
- #
132
- # @param type [Symbol, ModernTreasury::Models::CounterpartyCreateParams::Accounting::Type] An optional type to auto-sync the counterparty to your ledger. Either `customer`
133
-
134
- # An optional type to auto-sync the counterparty to your ledger. Either `customer`
135
- # or `vendor`.
136
- #
137
- # @see ModernTreasury::Models::CounterpartyCreateParams::Accounting#type
138
- module Type
139
- extend ModernTreasury::Internal::Type::Enum
140
-
141
- CUSTOMER = :customer
142
- VENDOR = :vendor
143
-
144
- # @!method self.values
145
- # @return [Array<Symbol>]
146
- end
147
- end
148
-
149
100
  class Account < ModernTreasury::Internal::Type::BaseModel
150
101
  # @!attribute account_details
151
102
  #
@@ -295,7 +246,6 @@ module ModernTreasury
295
246
  ID_NUMBER = :id_number
296
247
  NZ_NUMBER = :nz_number
297
248
  OTHER = :other
298
- PAN = :pan
299
249
  POLYGON_ADDRESS = :polygon_address
300
250
  SG_NUMBER = :sg_number
301
251
  SOLANA_ADDRESS = :solana_address
@@ -364,6 +314,7 @@ module ModernTreasury
364
314
  SE_BANKGIRO_CLEARING_CODE = :se_bankgiro_clearing_code
365
315
  SG_INTERBANK_CLEARING_CODE = :sg_interbank_clearing_code
366
316
  SWIFT = :swift
317
+ VASP = :vasp
367
318
  ZA_NATIONAL_CLEARING_CODE = :za_national_clearing_code
368
319
 
369
320
  # @!method self.values
@@ -406,20 +357,6 @@ module ModernTreasury
406
357
  end
407
358
  end
408
359
 
409
- # @deprecated
410
- #
411
- # An optional type to auto-sync the counterparty to your ledger. Either `customer`
412
- # or `vendor`.
413
- module LedgerType
414
- extend ModernTreasury::Internal::Type::Enum
415
-
416
- CUSTOMER = :customer
417
- VENDOR = :vendor
418
-
419
- # @!method self.values
420
- # @return [Array<Symbol>]
421
- end
422
-
423
360
  class LegalEntity < ModernTreasury::Internal::Type::BaseModel
424
361
  # @!attribute legal_entity_type
425
362
  # The type of legal entity.
@@ -869,12 +806,14 @@ module ModernTreasury
869
806
  module DocumentType
870
807
  extend ModernTreasury::Internal::Type::Enum
871
808
 
809
+ AGENT_AUTHORIZATION_LETTER = :agent_authorization_letter
872
810
  ARTICLES_OF_INCORPORATION = :articles_of_incorporation
873
811
  CERTIFICATE_OF_GOOD_STANDING = :certificate_of_good_standing
874
812
  EIN_LETTER = :ein_letter
875
813
  GENERIC = :generic
876
814
  IDENTIFICATION_BACK = :identification_back
877
815
  IDENTIFICATION_FRONT = :identification_front
816
+ LETTER_OF_ADMINISTRATION = :letter_of_administration
878
817
  PROOF_OF_ADDRESS = :proof_of_address
879
818
 
880
819
  # @!method self.values
@@ -889,6 +828,8 @@ module ModernTreasury
889
828
  extend ModernTreasury::Internal::Type::Enum
890
829
 
891
830
  CORPORATION = :corporation
831
+ ESTATE = :estate
832
+ GOVERNMENT_ENTITY = :government_entity
892
833
  LLC = :llc
893
834
  NON_PROFIT = :non_profit
894
835
  PARTNERSHIP = :partnership
@@ -127,6 +127,7 @@ module ModernTreasury
127
127
  NZD = :NZD
128
128
  OMR = :OMR
129
129
  OP = :OP
130
+ OUSD = :OUSD
130
131
  PAB = :PAB
131
132
  PEN = :PEN
132
133
  PGK = :PGK