modern_treasury 0.0.0 → 0.1.0.pre.alpha.16

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 (827) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +168 -0
  3. data/lib/modern_treasury/base_client.rb +457 -0
  4. data/lib/modern_treasury/base_model.rb +1211 -0
  5. data/lib/modern_treasury/base_page.rb +59 -0
  6. data/lib/modern_treasury/client.rb +250 -0
  7. data/lib/modern_treasury/errors.rb +183 -0
  8. data/lib/modern_treasury/extern.rb +7 -0
  9. data/lib/modern_treasury/models/account_collection_flow.rb +199 -0
  10. data/lib/modern_treasury/models/account_collection_flow_create_params.rb +72 -0
  11. data/lib/modern_treasury/models/account_collection_flow_list_params.rb +85 -0
  12. data/lib/modern_treasury/models/account_collection_flow_retrieve_params.rb +18 -0
  13. data/lib/modern_treasury/models/account_collection_flow_update_params.rb +40 -0
  14. data/lib/modern_treasury/models/account_detail.rb +113 -0
  15. data/lib/modern_treasury/models/account_detail_create_params.rb +79 -0
  16. data/lib/modern_treasury/models/account_detail_delete_params.rb +42 -0
  17. data/lib/modern_treasury/models/account_detail_list_params.rb +40 -0
  18. data/lib/modern_treasury/models/account_detail_retrieve_params.rb +30 -0
  19. data/lib/modern_treasury/models/accounts_type.rb +18 -0
  20. data/lib/modern_treasury/models/async_response.rb +25 -0
  21. data/lib/modern_treasury/models/bank_settings.rb +97 -0
  22. data/lib/modern_treasury/models/bulk_request.rb +159 -0
  23. data/lib/modern_treasury/models/bulk_request_create_params.rb +4128 -0
  24. data/lib/modern_treasury/models/bulk_request_list_params.rb +137 -0
  25. data/lib/modern_treasury/models/bulk_request_retrieve_params.rb +18 -0
  26. data/lib/modern_treasury/models/bulk_result.rb +272 -0
  27. data/lib/modern_treasury/models/bulk_result_list_params.rb +151 -0
  28. data/lib/modern_treasury/models/bulk_result_retrieve_params.rb +18 -0
  29. data/lib/modern_treasury/models/client_ping_params.rb +18 -0
  30. data/lib/modern_treasury/models/connection.rb +85 -0
  31. data/lib/modern_treasury/models/connection_legal_entity.rb +109 -0
  32. data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +1024 -0
  33. data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +89 -0
  34. data/lib/modern_treasury/models/connection_legal_entity_retrieve_params.rb +18 -0
  35. data/lib/modern_treasury/models/connection_legal_entity_update_params.rb +42 -0
  36. data/lib/modern_treasury/models/connection_list_params.rb +56 -0
  37. data/lib/modern_treasury/models/counterparty.rb +561 -0
  38. data/lib/modern_treasury/models/counterparty_collect_account_params.rb +110 -0
  39. data/lib/modern_treasury/models/counterparty_collect_account_response.rb +38 -0
  40. data/lib/modern_treasury/models/counterparty_create_params.rb +1737 -0
  41. data/lib/modern_treasury/models/counterparty_delete_params.rb +18 -0
  42. data/lib/modern_treasury/models/counterparty_list_params.rb +117 -0
  43. data/lib/modern_treasury/models/counterparty_retrieve_params.rb +18 -0
  44. data/lib/modern_treasury/models/counterparty_update_params.rb +93 -0
  45. data/lib/modern_treasury/models/currency.rb +206 -0
  46. data/lib/modern_treasury/models/document.rb +247 -0
  47. data/lib/modern_treasury/models/document_create_params.rb +71 -0
  48. data/lib/modern_treasury/models/document_list_params.rb +84 -0
  49. data/lib/modern_treasury/models/document_retrieve_params.rb +18 -0
  50. data/lib/modern_treasury/models/event.rb +94 -0
  51. data/lib/modern_treasury/models/event_list_params.rb +98 -0
  52. data/lib/modern_treasury/models/event_retrieve_params.rb +18 -0
  53. data/lib/modern_treasury/models/expected_payment.rb +285 -0
  54. data/lib/modern_treasury/models/expected_payment_create_params.rb +537 -0
  55. data/lib/modern_treasury/models/expected_payment_delete_params.rb +18 -0
  56. data/lib/modern_treasury/models/expected_payment_list_params.rb +199 -0
  57. data/lib/modern_treasury/models/expected_payment_retrieve_params.rb +18 -0
  58. data/lib/modern_treasury/models/expected_payment_type.rb +48 -0
  59. data/lib/modern_treasury/models/expected_payment_update_params.rb +207 -0
  60. data/lib/modern_treasury/models/external_account.rb +389 -0
  61. data/lib/modern_treasury/models/external_account_complete_verification_params.rb +28 -0
  62. data/lib/modern_treasury/models/external_account_create_params.rb +570 -0
  63. data/lib/modern_treasury/models/external_account_delete_params.rb +18 -0
  64. data/lib/modern_treasury/models/external_account_list_params.rb +78 -0
  65. data/lib/modern_treasury/models/external_account_retrieve_params.rb +18 -0
  66. data/lib/modern_treasury/models/external_account_type.rb +25 -0
  67. data/lib/modern_treasury/models/external_account_update_params.rb +159 -0
  68. data/lib/modern_treasury/models/external_account_verify_params.rb +151 -0
  69. data/lib/modern_treasury/models/external_account_verify_response.rb +186 -0
  70. data/lib/modern_treasury/models/foreign_exchange_quote.rb +180 -0
  71. data/lib/modern_treasury/models/foreign_exchange_quote_create_params.rb +89 -0
  72. data/lib/modern_treasury/models/foreign_exchange_quote_list_params.rb +127 -0
  73. data/lib/modern_treasury/models/foreign_exchange_quote_retrieve_params.rb +18 -0
  74. data/lib/modern_treasury/models/incoming_payment_detail.rb +320 -0
  75. data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +141 -0
  76. data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +170 -0
  77. data/lib/modern_treasury/models/incoming_payment_detail_retrieve_params.rb +18 -0
  78. data/lib/modern_treasury/models/incoming_payment_detail_update_params.rb +30 -0
  79. data/lib/modern_treasury/models/internal_account.rb +299 -0
  80. data/lib/modern_treasury/models/internal_account_create_params.rb +186 -0
  81. data/lib/modern_treasury/models/internal_account_list_params.rb +157 -0
  82. data/lib/modern_treasury/models/internal_account_retrieve_params.rb +18 -0
  83. data/lib/modern_treasury/models/internal_account_update_params.rb +84 -0
  84. data/lib/modern_treasury/models/internal_accounts/balance_report.rb +260 -0
  85. data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +135 -0
  86. data/lib/modern_treasury/models/internal_accounts/balance_report_delete_params.rb +26 -0
  87. data/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rb +77 -0
  88. data/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rb +26 -0
  89. data/lib/modern_treasury/models/invoice.rb +624 -0
  90. data/lib/modern_treasury/models/invoice_add_payment_order_params.rb +24 -0
  91. data/lib/modern_treasury/models/invoice_create_params.rb +649 -0
  92. data/lib/modern_treasury/models/invoice_list_params.rb +163 -0
  93. data/lib/modern_treasury/models/invoice_retrieve_params.rb +18 -0
  94. data/lib/modern_treasury/models/invoice_update_params.rb +665 -0
  95. data/lib/modern_treasury/models/invoices/invoice_line_item.rb +130 -0
  96. data/lib/modern_treasury/models/invoices/line_item_create_params.rb +108 -0
  97. data/lib/modern_treasury/models/invoices/line_item_delete_params.rb +26 -0
  98. data/lib/modern_treasury/models/invoices/line_item_list_params.rb +36 -0
  99. data/lib/modern_treasury/models/invoices/line_item_retrieve_params.rb +26 -0
  100. data/lib/modern_treasury/models/invoices/line_item_update_params.rb +123 -0
  101. data/lib/modern_treasury/models/ledger.rb +73 -0
  102. data/lib/modern_treasury/models/ledger_account.rb +351 -0
  103. data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +337 -0
  104. data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +92 -0
  105. data/lib/modern_treasury/models/ledger_account_balance_monitor_delete_params.rb +18 -0
  106. data/lib/modern_treasury/models/ledger_account_balance_monitor_list_params.rb +70 -0
  107. data/lib/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rb +18 -0
  108. data/lib/modern_treasury/models/ledger_account_balance_monitor_update_params.rb +41 -0
  109. data/lib/modern_treasury/models/ledger_account_category.rb +282 -0
  110. data/lib/modern_treasury/models/ledger_account_category_add_ledger_account_params.rb +24 -0
  111. data/lib/modern_treasury/models/ledger_account_category_add_nested_category_params.rb +24 -0
  112. data/lib/modern_treasury/models/ledger_account_category_create_params.rb +97 -0
  113. data/lib/modern_treasury/models/ledger_account_category_delete_params.rb +18 -0
  114. data/lib/modern_treasury/models/ledger_account_category_list_params.rb +162 -0
  115. data/lib/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rb +24 -0
  116. data/lib/modern_treasury/models/ledger_account_category_remove_nested_category_params.rb +24 -0
  117. data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +63 -0
  118. data/lib/modern_treasury/models/ledger_account_category_update_params.rb +48 -0
  119. data/lib/modern_treasury/models/ledger_account_create_params.rb +142 -0
  120. data/lib/modern_treasury/models/ledger_account_delete_params.rb +18 -0
  121. data/lib/modern_treasury/models/ledger_account_list_params.rb +467 -0
  122. data/lib/modern_treasury/models/ledger_account_retrieve_params.rb +108 -0
  123. data/lib/modern_treasury/models/ledger_account_settlement.rb +175 -0
  124. data/lib/modern_treasury/models/ledger_account_settlement_create_params.rb +117 -0
  125. data/lib/modern_treasury/models/ledger_account_settlement_list_params.rb +140 -0
  126. data/lib/modern_treasury/models/ledger_account_settlement_retrieve_params.rb +18 -0
  127. data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +64 -0
  128. data/lib/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rb +28 -0
  129. data/lib/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rb +28 -0
  130. data/lib/modern_treasury/models/ledger_account_statement_create_params.rb +71 -0
  131. data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +488 -0
  132. data/lib/modern_treasury/models/ledger_account_statement_retrieve_params.rb +18 -0
  133. data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +488 -0
  134. data/lib/modern_treasury/models/ledger_account_update_params.rb +48 -0
  135. data/lib/modern_treasury/models/ledger_create_params.rb +44 -0
  136. data/lib/modern_treasury/models/ledger_delete_params.rb +18 -0
  137. data/lib/modern_treasury/models/ledger_entry.rb +346 -0
  138. data/lib/modern_treasury/models/ledger_entry_list_params.rb +347 -0
  139. data/lib/modern_treasury/models/ledger_entry_retrieve_params.rb +30 -0
  140. data/lib/modern_treasury/models/ledger_entry_update_params.rb +30 -0
  141. data/lib/modern_treasury/models/ledger_event_handler.rb +218 -0
  142. data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +185 -0
  143. data/lib/modern_treasury/models/ledger_event_handler_delete_params.rb +18 -0
  144. data/lib/modern_treasury/models/ledger_event_handler_list_params.rb +70 -0
  145. data/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rb +18 -0
  146. data/lib/modern_treasury/models/ledger_event_handler_variable.rb +58 -0
  147. data/lib/modern_treasury/models/ledger_list_params.rb +72 -0
  148. data/lib/modern_treasury/models/ledger_retrieve_params.rb +18 -0
  149. data/lib/modern_treasury/models/ledger_transaction.rb +213 -0
  150. data/lib/modern_treasury/models/ledger_transaction_create_params.rb +272 -0
  151. data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +127 -0
  152. data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +146 -0
  153. data/lib/modern_treasury/models/ledger_transaction_list_params.rb +339 -0
  154. data/lib/modern_treasury/models/ledger_transaction_retrieve_params.rb +18 -0
  155. data/lib/modern_treasury/models/ledger_transaction_update_params.rb +250 -0
  156. data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +555 -0
  157. data/lib/modern_treasury/models/ledger_transactions/version_list_params.rb +96 -0
  158. data/lib/modern_treasury/models/ledger_update_params.rb +48 -0
  159. data/lib/modern_treasury/models/ledgerable_event.rb +96 -0
  160. data/lib/modern_treasury/models/ledgerable_event_create_params.rb +51 -0
  161. data/lib/modern_treasury/models/ledgerable_event_retrieve_params.rb +18 -0
  162. data/lib/modern_treasury/models/legal_entity.rb +544 -0
  163. data/lib/modern_treasury/models/legal_entity_association.rb +655 -0
  164. data/lib/modern_treasury/models/legal_entity_association_create_params.rb +531 -0
  165. data/lib/modern_treasury/models/legal_entity_create_params.rb +964 -0
  166. data/lib/modern_treasury/models/legal_entity_list_params.rb +90 -0
  167. data/lib/modern_treasury/models/legal_entity_retrieve_params.rb +18 -0
  168. data/lib/modern_treasury/models/legal_entity_update_params.rb +417 -0
  169. data/lib/modern_treasury/models/line_item.rb +161 -0
  170. data/lib/modern_treasury/models/line_item_list_params.rb +53 -0
  171. data/lib/modern_treasury/models/line_item_retrieve_params.rb +43 -0
  172. data/lib/modern_treasury/models/line_item_update_params.rb +55 -0
  173. data/lib/modern_treasury/models/paper_item.rb +175 -0
  174. data/lib/modern_treasury/models/paper_item_list_params.rb +78 -0
  175. data/lib/modern_treasury/models/paper_item_retrieve_params.rb +18 -0
  176. data/lib/modern_treasury/models/payment_flow.rb +293 -0
  177. data/lib/modern_treasury/models/payment_flow_create_params.rb +95 -0
  178. data/lib/modern_treasury/models/payment_flow_list_params.rb +107 -0
  179. data/lib/modern_treasury/models/payment_flow_retrieve_params.rb +18 -0
  180. data/lib/modern_treasury/models/payment_flow_update_params.rb +40 -0
  181. data/lib/modern_treasury/models/payment_order.rb +824 -0
  182. data/lib/modern_treasury/models/payment_order_create_async_params.rb +1387 -0
  183. data/lib/modern_treasury/models/payment_order_create_params.rb +1460 -0
  184. data/lib/modern_treasury/models/payment_order_list_params.rb +299 -0
  185. data/lib/modern_treasury/models/payment_order_retrieve_params.rb +18 -0
  186. data/lib/modern_treasury/models/payment_order_subtype.rb +49 -0
  187. data/lib/modern_treasury/models/payment_order_type.rb +49 -0
  188. data/lib/modern_treasury/models/payment_order_update_params.rb +1146 -0
  189. data/lib/modern_treasury/models/payment_orders/reversal.rb +139 -0
  190. data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +340 -0
  191. data/lib/modern_treasury/models/payment_orders/reversal_list_params.rb +36 -0
  192. data/lib/modern_treasury/models/payment_orders/reversal_retrieve_params.rb +26 -0
  193. data/lib/modern_treasury/models/payment_reference.rb +189 -0
  194. data/lib/modern_treasury/models/payment_reference_list_params.rb +96 -0
  195. data/lib/modern_treasury/models/payment_reference_retireve_params.rb +18 -0
  196. data/lib/modern_treasury/models/payment_reference_retrieve_params.rb +18 -0
  197. data/lib/modern_treasury/models/ping_response.rb +19 -0
  198. data/lib/modern_treasury/models/reconciliation_rule.rb +163 -0
  199. data/lib/modern_treasury/models/return_create_params.rb +154 -0
  200. data/lib/modern_treasury/models/return_list_params.rb +110 -0
  201. data/lib/modern_treasury/models/return_object.rb +485 -0
  202. data/lib/modern_treasury/models/return_retrieve_params.rb +18 -0
  203. data/lib/modern_treasury/models/routing_detail.rb +276 -0
  204. data/lib/modern_treasury/models/routing_detail_create_params.rb +141 -0
  205. data/lib/modern_treasury/models/routing_detail_delete_params.rb +42 -0
  206. data/lib/modern_treasury/models/routing_detail_list_params.rb +40 -0
  207. data/lib/modern_treasury/models/routing_detail_retrieve_params.rb +30 -0
  208. data/lib/modern_treasury/models/routing_number_lookup_request.rb +211 -0
  209. data/lib/modern_treasury/models/transaction.rb +383 -0
  210. data/lib/modern_treasury/models/transaction_create_params.rb +163 -0
  211. data/lib/modern_treasury/models/transaction_delete_params.rb +18 -0
  212. data/lib/modern_treasury/models/transaction_direction.rb +18 -0
  213. data/lib/modern_treasury/models/transaction_list_params.rb +186 -0
  214. data/lib/modern_treasury/models/transaction_retrieve_params.rb +18 -0
  215. data/lib/modern_treasury/models/transaction_update_params.rb +30 -0
  216. data/lib/modern_treasury/models/transactions/line_item_create_params.rb +42 -0
  217. data/lib/modern_treasury/models/transactions/line_item_delete_params.rb +20 -0
  218. data/lib/modern_treasury/models/transactions/line_item_list_params.rb +75 -0
  219. data/lib/modern_treasury/models/transactions/line_item_retrieve_params.rb +20 -0
  220. data/lib/modern_treasury/models/transactions/transaction_line_item.rb +182 -0
  221. data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +72 -0
  222. data/lib/modern_treasury/models/virtual_account.rb +148 -0
  223. data/lib/modern_treasury/models/virtual_account_create_params.rb +444 -0
  224. data/lib/modern_treasury/models/virtual_account_delete_params.rb +18 -0
  225. data/lib/modern_treasury/models/virtual_account_list_params.rb +77 -0
  226. data/lib/modern_treasury/models/virtual_account_retrieve_params.rb +18 -0
  227. data/lib/modern_treasury/models/virtual_account_update_params.rb +55 -0
  228. data/lib/modern_treasury/models/wealth_and_employment_details.rb +324 -0
  229. data/lib/modern_treasury/page.rb +92 -0
  230. data/lib/modern_treasury/pooled_net_requester.rb +180 -0
  231. data/lib/modern_treasury/request_options.rb +108 -0
  232. data/lib/modern_treasury/resources/account_collection_flows.rb +108 -0
  233. data/lib/modern_treasury/resources/account_details.rb +136 -0
  234. data/lib/modern_treasury/resources/bulk_requests.rb +91 -0
  235. data/lib/modern_treasury/resources/bulk_results.rb +66 -0
  236. data/lib/modern_treasury/resources/connection_legal_entities.rb +105 -0
  237. data/lib/modern_treasury/resources/connections.rb +39 -0
  238. data/lib/modern_treasury/resources/counterparties.rb +203 -0
  239. data/lib/modern_treasury/resources/documents.rb +86 -0
  240. data/lib/modern_treasury/resources/events.rb +63 -0
  241. data/lib/modern_treasury/resources/expected_payments.rb +227 -0
  242. data/lib/modern_treasury/resources/external_accounts.rb +222 -0
  243. data/lib/modern_treasury/resources/foreign_exchange_quotes.rb +101 -0
  244. data/lib/modern_treasury/resources/incoming_payment_details.rb +133 -0
  245. data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +128 -0
  246. data/lib/modern_treasury/resources/internal_accounts.rb +140 -0
  247. data/lib/modern_treasury/resources/invoices/line_items.rb +177 -0
  248. data/lib/modern_treasury/resources/invoices.rb +286 -0
  249. data/lib/modern_treasury/resources/ledger_account_balance_monitors.rb +132 -0
  250. data/lib/modern_treasury/resources/ledger_account_categories.rb +266 -0
  251. data/lib/modern_treasury/resources/ledger_account_settlements/account_entries.rb +62 -0
  252. data/lib/modern_treasury/resources/ledger_account_settlements.rb +152 -0
  253. data/lib/modern_treasury/resources/ledger_account_statements.rb +62 -0
  254. data/lib/modern_treasury/resources/ledger_accounts.rb +189 -0
  255. data/lib/modern_treasury/resources/ledger_entries.rb +137 -0
  256. data/lib/modern_treasury/resources/ledger_event_handlers.rb +114 -0
  257. data/lib/modern_treasury/resources/ledger_transactions/versions.rb +50 -0
  258. data/lib/modern_treasury/resources/ledger_transactions.rb +262 -0
  259. data/lib/modern_treasury/resources/ledgerable_events.rb +57 -0
  260. data/lib/modern_treasury/resources/ledgers.rb +134 -0
  261. data/lib/modern_treasury/resources/legal_entities.rb +193 -0
  262. data/lib/modern_treasury/resources/legal_entity_associations.rb +43 -0
  263. data/lib/modern_treasury/resources/line_items.rb +109 -0
  264. data/lib/modern_treasury/resources/paper_items.rb +60 -0
  265. data/lib/modern_treasury/resources/payment_flows.rb +123 -0
  266. data/lib/modern_treasury/resources/payment_orders/reversals.rb +95 -0
  267. data/lib/modern_treasury/resources/payment_orders.rb +517 -0
  268. data/lib/modern_treasury/resources/payment_references.rb +66 -0
  269. data/lib/modern_treasury/resources/returns.rb +98 -0
  270. data/lib/modern_treasury/resources/routing_details.rb +140 -0
  271. data/lib/modern_treasury/resources/transactions/line_items.rb +104 -0
  272. data/lib/modern_treasury/resources/transactions.rb +174 -0
  273. data/lib/modern_treasury/resources/validations.rb +38 -0
  274. data/lib/modern_treasury/resources/virtual_accounts.rb +152 -0
  275. data/lib/modern_treasury/util.rb +728 -0
  276. data/lib/modern_treasury/version.rb +5 -0
  277. data/lib/modern_treasury.rb +310 -0
  278. data/manifest.yaml +14 -0
  279. data/rbi/lib/modern_treasury/base_client.rbi +197 -0
  280. data/rbi/lib/modern_treasury/base_model.rbi +645 -0
  281. data/rbi/lib/modern_treasury/base_page.rbi +36 -0
  282. data/rbi/lib/modern_treasury/client.rbi +174 -0
  283. data/rbi/lib/modern_treasury/errors.rbi +144 -0
  284. data/rbi/lib/modern_treasury/extern.rbi +7 -0
  285. data/rbi/lib/modern_treasury/models/account_collection_flow.rbi +203 -0
  286. data/rbi/lib/modern_treasury/models/account_collection_flow_create_params.rbi +114 -0
  287. data/rbi/lib/modern_treasury/models/account_collection_flow_list_params.rbi +83 -0
  288. data/rbi/lib/modern_treasury/models/account_collection_flow_retrieve_params.rbi +21 -0
  289. data/rbi/lib/modern_treasury/models/account_collection_flow_update_params.rbi +57 -0
  290. data/rbi/lib/modern_treasury/models/account_detail.rbi +115 -0
  291. data/rbi/lib/modern_treasury/models/account_detail_create_params.rbi +107 -0
  292. data/rbi/lib/modern_treasury/models/account_detail_delete_params.rbi +56 -0
  293. data/rbi/lib/modern_treasury/models/account_detail_list_params.rbi +48 -0
  294. data/rbi/lib/modern_treasury/models/account_detail_retrieve_params.rbi +40 -0
  295. data/rbi/lib/modern_treasury/models/accounts_type.rbi +19 -0
  296. data/rbi/lib/modern_treasury/models/async_response.rbi +21 -0
  297. data/rbi/lib/modern_treasury/models/bank_settings.rbi +96 -0
  298. data/rbi/lib/modern_treasury/models/bulk_request.rbi +162 -0
  299. data/rbi/lib/modern_treasury/models/bulk_request_create_params.rbi +6311 -0
  300. data/rbi/lib/modern_treasury/models/bulk_request_list_params.rbi +146 -0
  301. data/rbi/lib/modern_treasury/models/bulk_request_retrieve_params.rbi +21 -0
  302. data/rbi/lib/modern_treasury/models/bulk_result.rbi +286 -0
  303. data/rbi/lib/modern_treasury/models/bulk_result_list_params.rbi +157 -0
  304. data/rbi/lib/modern_treasury/models/bulk_result_retrieve_params.rbi +21 -0
  305. data/rbi/lib/modern_treasury/models/client_ping_params.rbi +21 -0
  306. data/rbi/lib/modern_treasury/models/connection.rbi +85 -0
  307. data/rbi/lib/modern_treasury/models/connection_legal_entity.rbi +110 -0
  308. data/rbi/lib/modern_treasury/models/connection_legal_entity_create_params.rbi +1752 -0
  309. data/rbi/lib/modern_treasury/models/connection_legal_entity_list_params.rbi +94 -0
  310. data/rbi/lib/modern_treasury/models/connection_legal_entity_retrieve_params.rbi +21 -0
  311. data/rbi/lib/modern_treasury/models/connection_legal_entity_update_params.rbi +58 -0
  312. data/rbi/lib/modern_treasury/models/connection_list_params.rbi +61 -0
  313. data/rbi/lib/modern_treasury/models/counterparty.rbi +607 -0
  314. data/rbi/lib/modern_treasury/models/counterparty_collect_account_params.rbi +161 -0
  315. data/rbi/lib/modern_treasury/models/counterparty_collect_account_response.rbi +31 -0
  316. data/rbi/lib/modern_treasury/models/counterparty_create_params.rbi +2867 -0
  317. data/rbi/lib/modern_treasury/models/counterparty_delete_params.rbi +21 -0
  318. data/rbi/lib/modern_treasury/models/counterparty_list_params.rbi +111 -0
  319. data/rbi/lib/modern_treasury/models/counterparty_retrieve_params.rbi +21 -0
  320. data/rbi/lib/modern_treasury/models/counterparty_update_params.rbi +91 -0
  321. data/rbi/lib/modern_treasury/models/currency.rbi +207 -0
  322. data/rbi/lib/modern_treasury/models/document.rbi +243 -0
  323. data/rbi/lib/modern_treasury/models/document_create_params.rbi +95 -0
  324. data/rbi/lib/modern_treasury/models/document_list_params.rbi +105 -0
  325. data/rbi/lib/modern_treasury/models/document_retrieve_params.rbi +21 -0
  326. data/rbi/lib/modern_treasury/models/event.rbi +82 -0
  327. data/rbi/lib/modern_treasury/models/event_list_params.rbi +94 -0
  328. data/rbi/lib/modern_treasury/models/event_retrieve_params.rbi +21 -0
  329. data/rbi/lib/modern_treasury/models/expected_payment.rbi +272 -0
  330. data/rbi/lib/modern_treasury/models/expected_payment_create_params.rbi +616 -0
  331. data/rbi/lib/modern_treasury/models/expected_payment_delete_params.rbi +21 -0
  332. data/rbi/lib/modern_treasury/models/expected_payment_list_params.rbi +197 -0
  333. data/rbi/lib/modern_treasury/models/expected_payment_retrieve_params.rbi +21 -0
  334. data/rbi/lib/modern_treasury/models/expected_payment_type.rbi +49 -0
  335. data/rbi/lib/modern_treasury/models/expected_payment_update_params.rbi +201 -0
  336. data/rbi/lib/modern_treasury/models/external_account.rbi +410 -0
  337. data/rbi/lib/modern_treasury/models/external_account_complete_verification_params.rbi +30 -0
  338. data/rbi/lib/modern_treasury/models/external_account_create_params.rbi +959 -0
  339. data/rbi/lib/modern_treasury/models/external_account_delete_params.rbi +21 -0
  340. data/rbi/lib/modern_treasury/models/external_account_list_params.rbi +78 -0
  341. data/rbi/lib/modern_treasury/models/external_account_retrieve_params.rbi +21 -0
  342. data/rbi/lib/modern_treasury/models/external_account_type.rbi +26 -0
  343. data/rbi/lib/modern_treasury/models/external_account_update_params.rbi +170 -0
  344. data/rbi/lib/modern_treasury/models/external_account_verify_params.rbi +167 -0
  345. data/rbi/lib/modern_treasury/models/external_account_verify_response.rbi +395 -0
  346. data/rbi/lib/modern_treasury/models/foreign_exchange_quote.rbi +188 -0
  347. data/rbi/lib/modern_treasury/models/foreign_exchange_quote_create_params.rbi +88 -0
  348. data/rbi/lib/modern_treasury/models/foreign_exchange_quote_list_params.rbi +119 -0
  349. data/rbi/lib/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbi +21 -0
  350. data/rbi/lib/modern_treasury/models/incoming_payment_detail.rbi +427 -0
  351. data/rbi/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +153 -0
  352. data/rbi/lib/modern_treasury/models/incoming_payment_detail_list_params.rbi +170 -0
  353. data/rbi/lib/modern_treasury/models/incoming_payment_detail_retrieve_params.rbi +21 -0
  354. data/rbi/lib/modern_treasury/models/incoming_payment_detail_update_params.rbi +34 -0
  355. data/rbi/lib/modern_treasury/models/internal_account.rbi +302 -0
  356. data/rbi/lib/modern_treasury/models/internal_account_create_params.rbi +193 -0
  357. data/rbi/lib/modern_treasury/models/internal_account_list_params.rbi +158 -0
  358. data/rbi/lib/modern_treasury/models/internal_account_retrieve_params.rbi +21 -0
  359. data/rbi/lib/modern_treasury/models/internal_account_update_params.rbi +83 -0
  360. data/rbi/lib/modern_treasury/models/internal_accounts/balance_report.rbi +311 -0
  361. data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +235 -0
  362. data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_delete_params.rbi +31 -0
  363. data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rbi +119 -0
  364. data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbi +31 -0
  365. data/rbi/lib/modern_treasury/models/invoice.rbi +648 -0
  366. data/rbi/lib/modern_treasury/models/invoice_add_payment_order_params.rbi +30 -0
  367. data/rbi/lib/modern_treasury/models/invoice_create_params.rbi +707 -0
  368. data/rbi/lib/modern_treasury/models/invoice_list_params.rbi +154 -0
  369. data/rbi/lib/modern_treasury/models/invoice_retrieve_params.rbi +21 -0
  370. data/rbi/lib/modern_treasury/models/invoice_update_params.rbi +719 -0
  371. data/rbi/lib/modern_treasury/models/invoices/invoice_line_item.rbi +126 -0
  372. data/rbi/lib/modern_treasury/models/invoices/line_item_create_params.rbi +105 -0
  373. data/rbi/lib/modern_treasury/models/invoices/line_item_delete_params.rbi +29 -0
  374. data/rbi/lib/modern_treasury/models/invoices/line_item_list_params.rbi +45 -0
  375. data/rbi/lib/modern_treasury/models/invoices/line_item_retrieve_params.rbi +29 -0
  376. data/rbi/lib/modern_treasury/models/invoices/line_item_update_params.rbi +117 -0
  377. data/rbi/lib/modern_treasury/models/ledger.rbi +76 -0
  378. data/rbi/lib/modern_treasury/models/ledger_account.rbi +401 -0
  379. data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor.rbi +447 -0
  380. data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rbi +103 -0
  381. data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbi +21 -0
  382. data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_list_params.rbi +73 -0
  383. data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbi +21 -0
  384. data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_update_params.rbi +49 -0
  385. data/rbi/lib/modern_treasury/models/ledger_account_category.rbi +354 -0
  386. data/rbi/lib/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbi +30 -0
  387. data/rbi/lib/modern_treasury/models/ledger_account_category_add_nested_category_params.rbi +30 -0
  388. data/rbi/lib/modern_treasury/models/ledger_account_category_create_params.rbi +96 -0
  389. data/rbi/lib/modern_treasury/models/ledger_account_category_delete_params.rbi +21 -0
  390. data/rbi/lib/modern_treasury/models/ledger_account_category_list_params.rbi +154 -0
  391. data/rbi/lib/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbi +30 -0
  392. data/rbi/lib/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbi +30 -0
  393. data/rbi/lib/modern_treasury/models/ledger_account_category_retrieve_params.rbi +77 -0
  394. data/rbi/lib/modern_treasury/models/ledger_account_category_update_params.rbi +55 -0
  395. data/rbi/lib/modern_treasury/models/ledger_account_create_params.rbi +146 -0
  396. data/rbi/lib/modern_treasury/models/ledger_account_delete_params.rbi +21 -0
  397. data/rbi/lib/modern_treasury/models/ledger_account_list_params.rbi +454 -0
  398. data/rbi/lib/modern_treasury/models/ledger_account_retrieve_params.rbi +121 -0
  399. data/rbi/lib/modern_treasury/models/ledger_account_settlement.rbi +169 -0
  400. data/rbi/lib/modern_treasury/models/ledger_account_settlement_create_params.rbi +123 -0
  401. data/rbi/lib/modern_treasury/models/ledger_account_settlement_list_params.rbi +130 -0
  402. data/rbi/lib/modern_treasury/models/ledger_account_settlement_retrieve_params.rbi +21 -0
  403. data/rbi/lib/modern_treasury/models/ledger_account_settlement_update_params.rbi +79 -0
  404. data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbi +39 -0
  405. data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbi +37 -0
  406. data/rbi/lib/modern_treasury/models/ledger_account_statement_create_params.rbi +74 -0
  407. data/rbi/lib/modern_treasury/models/ledger_account_statement_create_response.rbi +638 -0
  408. data/rbi/lib/modern_treasury/models/ledger_account_statement_retrieve_params.rbi +21 -0
  409. data/rbi/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rbi +638 -0
  410. data/rbi/lib/modern_treasury/models/ledger_account_update_params.rbi +55 -0
  411. data/rbi/lib/modern_treasury/models/ledger_create_params.rbi +52 -0
  412. data/rbi/lib/modern_treasury/models/ledger_delete_params.rbi +21 -0
  413. data/rbi/lib/modern_treasury/models/ledger_entry.rbi +415 -0
  414. data/rbi/lib/modern_treasury/models/ledger_entry_list_params.rbi +342 -0
  415. data/rbi/lib/modern_treasury/models/ledger_entry_retrieve_params.rbi +32 -0
  416. data/rbi/lib/modern_treasury/models/ledger_entry_update_params.rbi +34 -0
  417. data/rbi/lib/modern_treasury/models/ledger_event_handler.rbi +231 -0
  418. data/rbi/lib/modern_treasury/models/ledger_event_handler_create_params.rbi +210 -0
  419. data/rbi/lib/modern_treasury/models/ledger_event_handler_delete_params.rbi +21 -0
  420. data/rbi/lib/modern_treasury/models/ledger_event_handler_list_params.rbi +73 -0
  421. data/rbi/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rbi +21 -0
  422. data/rbi/lib/modern_treasury/models/ledger_event_handler_variable.rbi +59 -0
  423. data/rbi/lib/modern_treasury/models/ledger_list_params.rbi +75 -0
  424. data/rbi/lib/modern_treasury/models/ledger_retrieve_params.rbi +21 -0
  425. data/rbi/lib/modern_treasury/models/ledger_transaction.rbi +208 -0
  426. data/rbi/lib/modern_treasury/models/ledger_transaction_create_params.rbi +286 -0
  427. data/rbi/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rbi +171 -0
  428. data/rbi/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rbi +191 -0
  429. data/rbi/lib/modern_treasury/models/ledger_transaction_list_params.rbi +360 -0
  430. data/rbi/lib/modern_treasury/models/ledger_transaction_retrieve_params.rbi +21 -0
  431. data/rbi/lib/modern_treasury/models/ledger_transaction_update_params.rbi +272 -0
  432. data/rbi/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +731 -0
  433. data/rbi/lib/modern_treasury/models/ledger_transactions/version_list_params.rbi +94 -0
  434. data/rbi/lib/modern_treasury/models/ledger_update_params.rbi +55 -0
  435. data/rbi/lib/modern_treasury/models/ledgerable_event.rbi +94 -0
  436. data/rbi/lib/modern_treasury/models/ledgerable_event_create_params.rbi +58 -0
  437. data/rbi/lib/modern_treasury/models/ledgerable_event_retrieve_params.rbi +21 -0
  438. data/rbi/lib/modern_treasury/models/legal_entity.rbi +543 -0
  439. data/rbi/lib/modern_treasury/models/legal_entity_association.rbi +879 -0
  440. data/rbi/lib/modern_treasury/models/legal_entity_association_create_params.rbi +892 -0
  441. data/rbi/lib/modern_treasury/models/legal_entity_create_params.rbi +1421 -0
  442. data/rbi/lib/modern_treasury/models/legal_entity_list_params.rbi +94 -0
  443. data/rbi/lib/modern_treasury/models/legal_entity_retrieve_params.rbi +21 -0
  444. data/rbi/lib/modern_treasury/models/legal_entity_update_params.rbi +487 -0
  445. data/rbi/lib/modern_treasury/models/line_item.rbi +158 -0
  446. data/rbi/lib/modern_treasury/models/line_item_list_params.rbi +65 -0
  447. data/rbi/lib/modern_treasury/models/line_item_retrieve_params.rbi +58 -0
  448. data/rbi/lib/modern_treasury/models/line_item_update_params.rbi +68 -0
  449. data/rbi/lib/modern_treasury/models/paper_item.rbi +167 -0
  450. data/rbi/lib/modern_treasury/models/paper_item_list_params.rbi +78 -0
  451. data/rbi/lib/modern_treasury/models/paper_item_retrieve_params.rbi +21 -0
  452. data/rbi/lib/modern_treasury/models/payment_flow.rbi +285 -0
  453. data/rbi/lib/modern_treasury/models/payment_flow_create_params.rbi +99 -0
  454. data/rbi/lib/modern_treasury/models/payment_flow_list_params.rbi +101 -0
  455. data/rbi/lib/modern_treasury/models/payment_flow_retrieve_params.rbi +21 -0
  456. data/rbi/lib/modern_treasury/models/payment_flow_update_params.rbi +53 -0
  457. data/rbi/lib/modern_treasury/models/payment_order.rbi +1115 -0
  458. data/rbi/lib/modern_treasury/models/payment_order_create_async_params.rbi +2008 -0
  459. data/rbi/lib/modern_treasury/models/payment_order_create_params.rbi +2083 -0
  460. data/rbi/lib/modern_treasury/models/payment_order_list_params.rbi +282 -0
  461. data/rbi/lib/modern_treasury/models/payment_order_retrieve_params.rbi +21 -0
  462. data/rbi/lib/modern_treasury/models/payment_order_subtype.rbi +50 -0
  463. data/rbi/lib/modern_treasury/models/payment_order_type.rbi +50 -0
  464. data/rbi/lib/modern_treasury/models/payment_order_update_params.rbi +1651 -0
  465. data/rbi/lib/modern_treasury/models/payment_orders/reversal.rbi +145 -0
  466. data/rbi/lib/modern_treasury/models/payment_orders/reversal_create_params.rbi +465 -0
  467. data/rbi/lib/modern_treasury/models/payment_orders/reversal_list_params.rbi +45 -0
  468. data/rbi/lib/modern_treasury/models/payment_orders/reversal_retrieve_params.rbi +29 -0
  469. data/rbi/lib/modern_treasury/models/payment_reference.rbi +371 -0
  470. data/rbi/lib/modern_treasury/models/payment_reference_list_params.rbi +109 -0
  471. data/rbi/lib/modern_treasury/models/payment_reference_retireve_params.rbi +21 -0
  472. data/rbi/lib/modern_treasury/models/payment_reference_retrieve_params.rbi +21 -0
  473. data/rbi/lib/modern_treasury/models/ping_response.rbi +18 -0
  474. data/rbi/lib/modern_treasury/models/reconciliation_rule.rbi +164 -0
  475. data/rbi/lib/modern_treasury/models/return_create_params.rbi +161 -0
  476. data/rbi/lib/modern_treasury/models/return_list_params.rbi +112 -0
  477. data/rbi/lib/modern_treasury/models/return_object.rbi +769 -0
  478. data/rbi/lib/modern_treasury/models/return_retrieve_params.rbi +21 -0
  479. data/rbi/lib/modern_treasury/models/routing_detail.rbi +297 -0
  480. data/rbi/lib/modern_treasury/models/routing_detail_create_params.rbi +207 -0
  481. data/rbi/lib/modern_treasury/models/routing_detail_delete_params.rbi +56 -0
  482. data/rbi/lib/modern_treasury/models/routing_detail_list_params.rbi +48 -0
  483. data/rbi/lib/modern_treasury/models/routing_detail_retrieve_params.rbi +40 -0
  484. data/rbi/lib/modern_treasury/models/routing_number_lookup_request.rbi +291 -0
  485. data/rbi/lib/modern_treasury/models/transaction.rbi +380 -0
  486. data/rbi/lib/modern_treasury/models/transaction_create_params.rbi +162 -0
  487. data/rbi/lib/modern_treasury/models/transaction_delete_params.rbi +21 -0
  488. data/rbi/lib/modern_treasury/models/transaction_direction.rbi +19 -0
  489. data/rbi/lib/modern_treasury/models/transaction_list_params.rbi +168 -0
  490. data/rbi/lib/modern_treasury/models/transaction_retrieve_params.rbi +21 -0
  491. data/rbi/lib/modern_treasury/models/transaction_update_params.rbi +34 -0
  492. data/rbi/lib/modern_treasury/models/transactions/line_item_create_params.rbi +51 -0
  493. data/rbi/lib/modern_treasury/models/transactions/line_item_delete_params.rbi +23 -0
  494. data/rbi/lib/modern_treasury/models/transactions/line_item_list_params.rbi +84 -0
  495. data/rbi/lib/modern_treasury/models/transactions/line_item_retrieve_params.rbi +23 -0
  496. data/rbi/lib/modern_treasury/models/transactions/transaction_line_item.rbi +212 -0
  497. data/rbi/lib/modern_treasury/models/validation_validate_routing_number_params.rbi +178 -0
  498. data/rbi/lib/modern_treasury/models/virtual_account.rbi +141 -0
  499. data/rbi/lib/modern_treasury/models/virtual_account_create_params.rbi +753 -0
  500. data/rbi/lib/modern_treasury/models/virtual_account_delete_params.rbi +21 -0
  501. data/rbi/lib/modern_treasury/models/virtual_account_list_params.rbi +77 -0
  502. data/rbi/lib/modern_treasury/models/virtual_account_retrieve_params.rbi +21 -0
  503. data/rbi/lib/modern_treasury/models/virtual_account_update_params.rbi +60 -0
  504. data/rbi/lib/modern_treasury/models/wealth_and_employment_details.rbi +410 -0
  505. data/rbi/lib/modern_treasury/page.rbi +31 -0
  506. data/rbi/lib/modern_treasury/pooled_net_requester.rbi +62 -0
  507. data/rbi/lib/modern_treasury/request_options.rbi +63 -0
  508. data/rbi/lib/modern_treasury/resources/account_collection_flows.rbi +88 -0
  509. data/rbi/lib/modern_treasury/resources/account_details.rbi +100 -0
  510. data/rbi/lib/modern_treasury/resources/bulk_requests.rbi +95 -0
  511. data/rbi/lib/modern_treasury/resources/bulk_results.rbi +60 -0
  512. data/rbi/lib/modern_treasury/resources/connection_legal_entities.rbi +90 -0
  513. data/rbi/lib/modern_treasury/resources/connections.rbi +33 -0
  514. data/rbi/lib/modern_treasury/resources/counterparties.rbi +198 -0
  515. data/rbi/lib/modern_treasury/resources/documents.rbi +72 -0
  516. data/rbi/lib/modern_treasury/resources/events.rbi +54 -0
  517. data/rbi/lib/modern_treasury/resources/expected_payments.rbi +248 -0
  518. data/rbi/lib/modern_treasury/resources/external_accounts.rbi +212 -0
  519. data/rbi/lib/modern_treasury/resources/foreign_exchange_quotes.rbi +97 -0
  520. data/rbi/lib/modern_treasury/resources/incoming_payment_details.rbi +127 -0
  521. data/rbi/lib/modern_treasury/resources/internal_accounts/balance_reports.rbi +106 -0
  522. data/rbi/lib/modern_treasury/resources/internal_accounts.rbi +137 -0
  523. data/rbi/lib/modern_treasury/resources/invoices/line_items.rbi +157 -0
  524. data/rbi/lib/modern_treasury/resources/invoices.rbi +338 -0
  525. data/rbi/lib/modern_treasury/resources/ledger_account_balance_monitors.rbi +119 -0
  526. data/rbi/lib/modern_treasury/resources/ledger_account_categories.rbi +227 -0
  527. data/rbi/lib/modern_treasury/resources/ledger_account_settlements/account_entries.rbi +51 -0
  528. data/rbi/lib/modern_treasury/resources/ledger_account_settlements.rbi +143 -0
  529. data/rbi/lib/modern_treasury/resources/ledger_account_statements.rbi +57 -0
  530. data/rbi/lib/modern_treasury/resources/ledger_accounts.rbi +191 -0
  531. data/rbi/lib/modern_treasury/resources/ledger_entries.rbi +135 -0
  532. data/rbi/lib/modern_treasury/resources/ledger_event_handlers.rbi +107 -0
  533. data/rbi/lib/modern_treasury/resources/ledger_transactions/versions.rbi +46 -0
  534. data/rbi/lib/modern_treasury/resources/ledger_transactions.rbi +268 -0
  535. data/rbi/lib/modern_treasury/resources/ledgerable_events.rbi +51 -0
  536. data/rbi/lib/modern_treasury/resources/ledgers.rbi +118 -0
  537. data/rbi/lib/modern_treasury/resources/legal_entities.rbi +217 -0
  538. data/rbi/lib/modern_treasury/resources/legal_entity_associations.rbi +44 -0
  539. data/rbi/lib/modern_treasury/resources/line_items.rbi +81 -0
  540. data/rbi/lib/modern_treasury/resources/paper_items.rbi +52 -0
  541. data/rbi/lib/modern_treasury/resources/payment_flows.rbi +108 -0
  542. data/rbi/lib/modern_treasury/resources/payment_orders/reversals.rbi +82 -0
  543. data/rbi/lib/modern_treasury/resources/payment_orders.rbi +601 -0
  544. data/rbi/lib/modern_treasury/resources/payment_references.rbi +53 -0
  545. data/rbi/lib/modern_treasury/resources/returns.rbi +91 -0
  546. data/rbi/lib/modern_treasury/resources/routing_details.rbi +105 -0
  547. data/rbi/lib/modern_treasury/resources/transactions/line_items.rbi +87 -0
  548. data/rbi/lib/modern_treasury/resources/transactions.rbi +166 -0
  549. data/rbi/lib/modern_treasury/resources/validations.rbi +33 -0
  550. data/rbi/lib/modern_treasury/resources/virtual_accounts.rbi +139 -0
  551. data/rbi/lib/modern_treasury/util.rbi +281 -0
  552. data/rbi/lib/modern_treasury/version.rbi +5 -0
  553. data/sig/modern_treasury/base_client.rbs +108 -0
  554. data/sig/modern_treasury/base_model.rbs +262 -0
  555. data/sig/modern_treasury/base_page.rbs +20 -0
  556. data/sig/modern_treasury/client.rbs +106 -0
  557. data/sig/modern_treasury/errors.rbs +99 -0
  558. data/sig/modern_treasury/extern.rbs +4 -0
  559. data/sig/modern_treasury/models/account_collection_flow.rbs +147 -0
  560. data/sig/modern_treasury/models/account_collection_flow_create_params.rbs +80 -0
  561. data/sig/modern_treasury/models/account_collection_flow_list_params.rbs +53 -0
  562. data/sig/modern_treasury/models/account_collection_flow_retrieve_params.rbs +15 -0
  563. data/sig/modern_treasury/models/account_collection_flow_update_params.rbs +33 -0
  564. data/sig/modern_treasury/models/account_detail.rbs +81 -0
  565. data/sig/modern_treasury/models/account_detail_create_params.rbs +74 -0
  566. data/sig/modern_treasury/models/account_detail_delete_params.rbs +37 -0
  567. data/sig/modern_treasury/models/account_detail_list_params.rbs +33 -0
  568. data/sig/modern_treasury/models/account_detail_retrieve_params.rbs +27 -0
  569. data/sig/modern_treasury/models/accounts_type.rbs +14 -0
  570. data/sig/modern_treasury/models/async_response.rbs +15 -0
  571. data/sig/modern_treasury/models/bank_settings.rbs +54 -0
  572. data/sig/modern_treasury/models/bulk_request.rbs +100 -0
  573. data/sig/modern_treasury/models/bulk_request_create_params.rbs +2594 -0
  574. data/sig/modern_treasury/models/bulk_request_list_params.rbs +97 -0
  575. data/sig/modern_treasury/models/bulk_request_retrieve_params.rbs +15 -0
  576. data/sig/modern_treasury/models/bulk_result.rbs +176 -0
  577. data/sig/modern_treasury/models/bulk_result_list_params.rbs +106 -0
  578. data/sig/modern_treasury/models/bulk_result_retrieve_params.rbs +14 -0
  579. data/sig/modern_treasury/models/client_ping_params.rbs +14 -0
  580. data/sig/modern_treasury/models/connection.rbs +50 -0
  581. data/sig/modern_treasury/models/connection_legal_entity.rbs +67 -0
  582. data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +711 -0
  583. data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +62 -0
  584. data/sig/modern_treasury/models/connection_legal_entity_retrieve_params.rbs +15 -0
  585. data/sig/modern_treasury/models/connection_legal_entity_update_params.rbs +37 -0
  586. data/sig/modern_treasury/models/connection_list_params.rbs +41 -0
  587. data/sig/modern_treasury/models/counterparty.rbs +343 -0
  588. data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +110 -0
  589. data/sig/modern_treasury/models/counterparty_collect_account_response.rbs +18 -0
  590. data/sig/modern_treasury/models/counterparty_create_params.rbs +1265 -0
  591. data/sig/modern_treasury/models/counterparty_delete_params.rbs +14 -0
  592. data/sig/modern_treasury/models/counterparty_list_params.rbs +65 -0
  593. data/sig/modern_treasury/models/counterparty_retrieve_params.rbs +15 -0
  594. data/sig/modern_treasury/models/counterparty_update_params.rbs +53 -0
  595. data/sig/modern_treasury/models/currency.rbs +390 -0
  596. data/sig/modern_treasury/models/document.rbs +162 -0
  597. data/sig/modern_treasury/models/document_create_params.rbs +70 -0
  598. data/sig/modern_treasury/models/document_list_params.rbs +76 -0
  599. data/sig/modern_treasury/models/document_retrieve_params.rbs +14 -0
  600. data/sig/modern_treasury/models/event.rbs +54 -0
  601. data/sig/modern_treasury/models/event_list_params.rbs +59 -0
  602. data/sig/modern_treasury/models/event_retrieve_params.rbs +14 -0
  603. data/sig/modern_treasury/models/expected_payment.rbs +154 -0
  604. data/sig/modern_treasury/models/expected_payment_create_params.rbs +294 -0
  605. data/sig/modern_treasury/models/expected_payment_delete_params.rbs +15 -0
  606. data/sig/modern_treasury/models/expected_payment_list_params.rbs +166 -0
  607. data/sig/modern_treasury/models/expected_payment_retrieve_params.rbs +15 -0
  608. data/sig/modern_treasury/models/expected_payment_type.rbs +72 -0
  609. data/sig/modern_treasury/models/expected_payment_update_params.rbs +110 -0
  610. data/sig/modern_treasury/models/external_account.rbs +235 -0
  611. data/sig/modern_treasury/models/external_account_complete_verification_params.rbs +22 -0
  612. data/sig/modern_treasury/models/external_account_create_params.rbs +463 -0
  613. data/sig/modern_treasury/models/external_account_delete_params.rbs +15 -0
  614. data/sig/modern_treasury/models/external_account_list_params.rbs +47 -0
  615. data/sig/modern_treasury/models/external_account_retrieve_params.rbs +15 -0
  616. data/sig/modern_treasury/models/external_account_type.rbs +28 -0
  617. data/sig/modern_treasury/models/external_account_update_params.rbs +105 -0
  618. data/sig/modern_treasury/models/external_account_verify_params.rbs +141 -0
  619. data/sig/modern_treasury/models/external_account_verify_response.rbs +157 -0
  620. data/sig/modern_treasury/models/foreign_exchange_quote.rbs +103 -0
  621. data/sig/modern_treasury/models/foreign_exchange_quote_create_params.rbs +53 -0
  622. data/sig/modern_treasury/models/foreign_exchange_quote_list_params.rbs +71 -0
  623. data/sig/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbs +15 -0
  624. data/sig/modern_treasury/models/incoming_payment_detail.rbs +225 -0
  625. data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +93 -0
  626. data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +108 -0
  627. data/sig/modern_treasury/models/incoming_payment_detail_retrieve_params.rbs +15 -0
  628. data/sig/modern_treasury/models/incoming_payment_detail_update_params.rbs +22 -0
  629. data/sig/modern_treasury/models/internal_account.rbs +181 -0
  630. data/sig/modern_treasury/models/internal_account_create_params.rbs +115 -0
  631. data/sig/modern_treasury/models/internal_account_list_params.rbs +140 -0
  632. data/sig/modern_treasury/models/internal_account_retrieve_params.rbs +15 -0
  633. data/sig/modern_treasury/models/internal_account_update_params.rbs +49 -0
  634. data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +160 -0
  635. data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +105 -0
  636. data/sig/modern_treasury/models/internal_accounts/balance_report_delete_params.rbs +22 -0
  637. data/sig/modern_treasury/models/internal_accounts/balance_report_list_params.rbs +59 -0
  638. data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +22 -0
  639. data/sig/modern_treasury/models/invoice.rbs +367 -0
  640. data/sig/modern_treasury/models/invoice_add_payment_order_params.rbs +20 -0
  641. data/sig/modern_treasury/models/invoice_create_params.rbs +370 -0
  642. data/sig/modern_treasury/models/invoice_list_params.rbs +101 -0
  643. data/sig/modern_treasury/models/invoice_retrieve_params.rbs +14 -0
  644. data/sig/modern_treasury/models/invoice_update_params.rbs +378 -0
  645. data/sig/modern_treasury/models/invoices/invoice_line_item.rbs +70 -0
  646. data/sig/modern_treasury/models/invoices/line_item_create_params.rbs +59 -0
  647. data/sig/modern_treasury/models/invoices/line_item_delete_params.rbs +22 -0
  648. data/sig/modern_treasury/models/invoices/line_item_list_params.rbs +28 -0
  649. data/sig/modern_treasury/models/invoices/line_item_retrieve_params.rbs +22 -0
  650. data/sig/modern_treasury/models/invoices/line_item_update_params.rbs +67 -0
  651. data/sig/modern_treasury/models/ledger.rbs +50 -0
  652. data/sig/modern_treasury/models/ledger_account.rbs +212 -0
  653. data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +215 -0
  654. data/sig/modern_treasury/models/ledger_account_balance_monitor_create_params.rbs +57 -0
  655. data/sig/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbs +15 -0
  656. data/sig/modern_treasury/models/ledger_account_balance_monitor_list_params.rbs +47 -0
  657. data/sig/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbs +15 -0
  658. data/sig/modern_treasury/models/ledger_account_balance_monitor_update_params.rbs +28 -0
  659. data/sig/modern_treasury/models/ledger_account_category.rbs +178 -0
  660. data/sig/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbs +20 -0
  661. data/sig/modern_treasury/models/ledger_account_category_add_nested_category_params.rbs +20 -0
  662. data/sig/modern_treasury/models/ledger_account_category_create_params.rbs +55 -0
  663. data/sig/modern_treasury/models/ledger_account_category_delete_params.rbs +15 -0
  664. data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +91 -0
  665. data/sig/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbs +20 -0
  666. data/sig/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbs +20 -0
  667. data/sig/modern_treasury/models/ledger_account_category_retrieve_params.rbs +43 -0
  668. data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +31 -0
  669. data/sig/modern_treasury/models/ledger_account_create_params.rbs +83 -0
  670. data/sig/modern_treasury/models/ledger_account_delete_params.rbs +15 -0
  671. data/sig/modern_treasury/models/ledger_account_list_params.rbs +285 -0
  672. data/sig/modern_treasury/models/ledger_account_retrieve_params.rbs +68 -0
  673. data/sig/modern_treasury/models/ledger_account_settlement.rbs +98 -0
  674. data/sig/modern_treasury/models/ledger_account_settlement_create_params.rbs +64 -0
  675. data/sig/modern_treasury/models/ledger_account_settlement_list_params.rbs +77 -0
  676. data/sig/modern_treasury/models/ledger_account_settlement_retrieve_params.rbs +15 -0
  677. data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +48 -0
  678. data/sig/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbs +22 -0
  679. data/sig/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbs +23 -0
  680. data/sig/modern_treasury/models/ledger_account_statement_create_params.rbs +41 -0
  681. data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +306 -0
  682. data/sig/modern_treasury/models/ledger_account_statement_retrieve_params.rbs +15 -0
  683. data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +306 -0
  684. data/sig/modern_treasury/models/ledger_account_update_params.rbs +31 -0
  685. data/sig/modern_treasury/models/ledger_create_params.rbs +29 -0
  686. data/sig/modern_treasury/models/ledger_delete_params.rbs +14 -0
  687. data/sig/modern_treasury/models/ledger_entry.rbs +206 -0
  688. data/sig/modern_treasury/models/ledger_entry_list_params.rbs +206 -0
  689. data/sig/modern_treasury/models/ledger_entry_retrieve_params.rbs +22 -0
  690. data/sig/modern_treasury/models/ledger_entry_update_params.rbs +22 -0
  691. data/sig/modern_treasury/models/ledger_event_handler.rbs +126 -0
  692. data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +109 -0
  693. data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +15 -0
  694. data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +47 -0
  695. data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +15 -0
  696. data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +36 -0
  697. data/sig/modern_treasury/models/ledger_list_params.rbs +47 -0
  698. data/sig/modern_treasury/models/ledger_retrieve_params.rbs +14 -0
  699. data/sig/modern_treasury/models/ledger_transaction.rbs +123 -0
  700. data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +155 -0
  701. data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +81 -0
  702. data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +96 -0
  703. data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +219 -0
  704. data/sig/modern_treasury/models/ledger_transaction_retrieve_params.rbs +15 -0
  705. data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +147 -0
  706. data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +326 -0
  707. data/sig/modern_treasury/models/ledger_transactions/version_list_params.rbs +55 -0
  708. data/sig/modern_treasury/models/ledger_update_params.rbs +31 -0
  709. data/sig/modern_treasury/models/ledgerable_event.rbs +54 -0
  710. data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +37 -0
  711. data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +15 -0
  712. data/sig/modern_treasury/models/legal_entity.rbs +363 -0
  713. data/sig/modern_treasury/models/legal_entity_association.rbs +425 -0
  714. data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +371 -0
  715. data/sig/modern_treasury/models/legal_entity_create_params.rbs +678 -0
  716. data/sig/modern_treasury/models/legal_entity_list_params.rbs +60 -0
  717. data/sig/modern_treasury/models/legal_entity_retrieve_params.rbs +15 -0
  718. data/sig/modern_treasury/models/legal_entity_update_params.rbs +300 -0
  719. data/sig/modern_treasury/models/line_item.rbs +89 -0
  720. data/sig/modern_treasury/models/line_item_list_params.rbs +44 -0
  721. data/sig/modern_treasury/models/line_item_retrieve_params.rbs +38 -0
  722. data/sig/modern_treasury/models/line_item_update_params.rbs +44 -0
  723. data/sig/modern_treasury/models/paper_item.rbs +98 -0
  724. data/sig/modern_treasury/models/paper_item_list_params.rbs +47 -0
  725. data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +14 -0
  726. data/sig/modern_treasury/models/payment_flow.rbs +165 -0
  727. data/sig/modern_treasury/models/payment_flow_create_params.rbs +56 -0
  728. data/sig/modern_treasury/models/payment_flow_list_params.rbs +65 -0
  729. data/sig/modern_treasury/models/payment_flow_retrieve_params.rbs +15 -0
  730. data/sig/modern_treasury/models/payment_flow_update_params.rbs +31 -0
  731. data/sig/modern_treasury/models/payment_order.rbs +564 -0
  732. data/sig/modern_treasury/models/payment_order_create_async_params.rbs +893 -0
  733. data/sig/modern_treasury/models/payment_order_create_params.rbs +963 -0
  734. data/sig/modern_treasury/models/payment_order_list_params.rbs +238 -0
  735. data/sig/modern_treasury/models/payment_order_retrieve_params.rbs +15 -0
  736. data/sig/modern_treasury/models/payment_order_subtype.rbs +70 -0
  737. data/sig/modern_treasury/models/payment_order_type.rbs +72 -0
  738. data/sig/modern_treasury/models/payment_order_update_params.rbs +781 -0
  739. data/sig/modern_treasury/models/payment_orders/reversal.rbs +95 -0
  740. data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +205 -0
  741. data/sig/modern_treasury/models/payment_orders/reversal_list_params.rbs +28 -0
  742. data/sig/modern_treasury/models/payment_orders/reversal_retrieve_params.rbs +22 -0
  743. data/sig/modern_treasury/models/payment_reference.rbs +213 -0
  744. data/sig/modern_treasury/models/payment_reference_list_params.rbs +61 -0
  745. data/sig/modern_treasury/models/payment_reference_retireve_params.rbs +15 -0
  746. data/sig/modern_treasury/models/payment_reference_retrieve_params.rbs +15 -0
  747. data/sig/modern_treasury/models/ping_response.rbs +13 -0
  748. data/sig/modern_treasury/models/reconciliation_rule.rbs +138 -0
  749. data/sig/modern_treasury/models/return_create_params.rbs +168 -0
  750. data/sig/modern_treasury/models/return_list_params.rbs +74 -0
  751. data/sig/modern_treasury/models/return_object.rbs +492 -0
  752. data/sig/modern_treasury/models/return_retrieve_params.rbs +14 -0
  753. data/sig/modern_treasury/models/routing_detail.rbs +233 -0
  754. data/sig/modern_treasury/models/routing_detail_create_params.rbs +165 -0
  755. data/sig/modern_treasury/models/routing_detail_delete_params.rbs +37 -0
  756. data/sig/modern_treasury/models/routing_detail_list_params.rbs +33 -0
  757. data/sig/modern_treasury/models/routing_detail_retrieve_params.rbs +27 -0
  758. data/sig/modern_treasury/models/routing_number_lookup_request.rbs +185 -0
  759. data/sig/modern_treasury/models/transaction.rbs +281 -0
  760. data/sig/modern_treasury/models/transaction_create_params.rbs +134 -0
  761. data/sig/modern_treasury/models/transaction_delete_params.rbs +14 -0
  762. data/sig/modern_treasury/models/transaction_direction.rbs +14 -0
  763. data/sig/modern_treasury/models/transaction_list_params.rbs +101 -0
  764. data/sig/modern_treasury/models/transaction_retrieve_params.rbs +14 -0
  765. data/sig/modern_treasury/models/transaction_update_params.rbs +22 -0
  766. data/sig/modern_treasury/models/transactions/line_item_create_params.rbs +29 -0
  767. data/sig/modern_treasury/models/transactions/line_item_delete_params.rbs +16 -0
  768. data/sig/modern_treasury/models/transactions/line_item_list_params.rbs +58 -0
  769. data/sig/modern_treasury/models/transactions/line_item_retrieve_params.rbs +16 -0
  770. data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +110 -0
  771. data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +78 -0
  772. data/sig/modern_treasury/models/virtual_account.rbs +78 -0
  773. data/sig/modern_treasury/models/virtual_account_create_params.rbs +354 -0
  774. data/sig/modern_treasury/models/virtual_account_delete_params.rbs +15 -0
  775. data/sig/modern_treasury/models/virtual_account_list_params.rbs +47 -0
  776. data/sig/modern_treasury/models/virtual_account_retrieve_params.rbs +15 -0
  777. data/sig/modern_treasury/models/virtual_account_update_params.rbs +41 -0
  778. data/sig/modern_treasury/models/wealth_and_employment_details.rbs +306 -0
  779. data/sig/modern_treasury/page.rbs +17 -0
  780. data/sig/modern_treasury/pooled_net_requester.rbs +37 -0
  781. data/sig/modern_treasury/request_options.rbs +46 -0
  782. data/sig/modern_treasury/resources/account_collection_flows.rbs +35 -0
  783. data/sig/modern_treasury/resources/account_details.rbs +37 -0
  784. data/sig/modern_treasury/resources/bulk_requests.rbs +30 -0
  785. data/sig/modern_treasury/resources/bulk_results.rbs +23 -0
  786. data/sig/modern_treasury/resources/connection_legal_entities.rbs +34 -0
  787. data/sig/modern_treasury/resources/connections.rbs +15 -0
  788. data/sig/modern_treasury/resources/counterparties.rbs +64 -0
  789. data/sig/modern_treasury/resources/documents.rbs +28 -0
  790. data/sig/modern_treasury/resources/events.rbs +23 -0
  791. data/sig/modern_treasury/resources/expected_payments.rbs +76 -0
  792. data/sig/modern_treasury/resources/external_accounts.rbs +71 -0
  793. data/sig/modern_treasury/resources/foreign_exchange_quotes.rbs +35 -0
  794. data/sig/modern_treasury/resources/incoming_payment_details.rbs +43 -0
  795. data/sig/modern_treasury/resources/internal_accounts/balance_reports.rbs +39 -0
  796. data/sig/modern_treasury/resources/internal_accounts.rbs +49 -0
  797. data/sig/modern_treasury/resources/invoices/line_items.rbs +53 -0
  798. data/sig/modern_treasury/resources/invoices.rbs +94 -0
  799. data/sig/modern_treasury/resources/ledger_account_balance_monitors.rbs +41 -0
  800. data/sig/modern_treasury/resources/ledger_account_categories.rbs +76 -0
  801. data/sig/modern_treasury/resources/ledger_account_settlements/account_entries.rbs +21 -0
  802. data/sig/modern_treasury/resources/ledger_account_settlements.rbs +48 -0
  803. data/sig/modern_treasury/resources/ledger_account_statements.rbs +21 -0
  804. data/sig/modern_treasury/resources/ledger_accounts.rbs +58 -0
  805. data/sig/modern_treasury/resources/ledger_entries.rbs +43 -0
  806. data/sig/modern_treasury/resources/ledger_event_handlers.rbs +37 -0
  807. data/sig/modern_treasury/resources/ledger_transactions/versions.rbs +19 -0
  808. data/sig/modern_treasury/resources/ledger_transactions.rbs +83 -0
  809. data/sig/modern_treasury/resources/ledgerable_events.rbs +20 -0
  810. data/sig/modern_treasury/resources/ledgers.rbs +41 -0
  811. data/sig/modern_treasury/resources/legal_entities.rbs +76 -0
  812. data/sig/modern_treasury/resources/legal_entity_associations.rbs +17 -0
  813. data/sig/modern_treasury/resources/line_items.rbs +30 -0
  814. data/sig/modern_treasury/resources/paper_items.rbs +21 -0
  815. data/sig/modern_treasury/resources/payment_flows.rbs +40 -0
  816. data/sig/modern_treasury/resources/payment_orders/reversals.rbs +30 -0
  817. data/sig/modern_treasury/resources/payment_orders.rbs +153 -0
  818. data/sig/modern_treasury/resources/payment_references.rbs +23 -0
  819. data/sig/modern_treasury/resources/returns.rbs +32 -0
  820. data/sig/modern_treasury/resources/routing_details.rbs +38 -0
  821. data/sig/modern_treasury/resources/transactions/line_items.rbs +35 -0
  822. data/sig/modern_treasury/resources/transactions.rbs +57 -0
  823. data/sig/modern_treasury/resources/validations.rbs +13 -0
  824. data/sig/modern_treasury/resources/virtual_accounts.rbs +49 -0
  825. data/sig/modern_treasury/util.rbs +136 -0
  826. data/sig/modern_treasury/version.rbs +3 -0
  827. metadata +861 -20
@@ -0,0 +1,531 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ModernTreasury
4
+ module Models
5
+ class LegalEntityAssociationCreateParams < ModernTreasury::BaseModel
6
+ # @!parse
7
+ # extend ModernTreasury::RequestParameters::Converter
8
+ include ModernTreasury::RequestParameters
9
+
10
+ # @!attribute parent_legal_entity_id
11
+ # The ID of the parent legal entity. This must be a business or joint legal
12
+ # entity.
13
+ #
14
+ # @return [String]
15
+ required :parent_legal_entity_id, String
16
+
17
+ # @!attribute relationship_types
18
+ #
19
+ # @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::RelationshipType>]
20
+ required :relationship_types,
21
+ -> { ModernTreasury::ArrayOf[enum: ModernTreasury::Models::LegalEntityAssociationCreateParams::RelationshipType] }
22
+
23
+ # @!attribute [r] child_legal_entity
24
+ # The child legal entity.
25
+ #
26
+ # @return [ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity, nil]
27
+ optional :child_legal_entity,
28
+ -> { ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity }
29
+
30
+ # @!parse
31
+ # # @return [ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity]
32
+ # attr_writer :child_legal_entity
33
+
34
+ # @!attribute [r] child_legal_entity_id
35
+ # The ID of the child legal entity.
36
+ #
37
+ # @return [String, nil]
38
+ optional :child_legal_entity_id, String
39
+
40
+ # @!parse
41
+ # # @return [String]
42
+ # attr_writer :child_legal_entity_id
43
+
44
+ # @!attribute ownership_percentage
45
+ # The child entity's ownership percentage iff they are a beneficial owner.
46
+ #
47
+ # @return [Integer, nil]
48
+ optional :ownership_percentage, Integer, nil?: true
49
+
50
+ # @!attribute title
51
+ # The job title of the child entity at the parent entity.
52
+ #
53
+ # @return [String, nil]
54
+ optional :title, String, nil?: true
55
+
56
+ # @!parse
57
+ # # @param parent_legal_entity_id [String]
58
+ # # @param relationship_types [Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::RelationshipType>]
59
+ # # @param child_legal_entity [ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity]
60
+ # # @param child_legal_entity_id [String]
61
+ # # @param ownership_percentage [Integer, nil]
62
+ # # @param title [String, nil]
63
+ # # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
64
+ # #
65
+ # def initialize(
66
+ # parent_legal_entity_id:,
67
+ # relationship_types:,
68
+ # child_legal_entity: nil,
69
+ # child_legal_entity_id: nil,
70
+ # ownership_percentage: nil,
71
+ # title: nil,
72
+ # request_options: {},
73
+ # **
74
+ # )
75
+ # super
76
+ # end
77
+
78
+ # def initialize: (Hash | ModernTreasury::BaseModel) -> void
79
+
80
+ # A list of relationship types for how the child entity relates to parent entity.
81
+ module RelationshipType
82
+ extend ModernTreasury::Enum
83
+
84
+ BENEFICIAL_OWNER = :beneficial_owner
85
+ CONTROL_PERSON = :control_person
86
+
87
+ finalize!
88
+
89
+ # @!parse
90
+ # # @return [Array<Symbol>]
91
+ # def self.values; end
92
+ end
93
+
94
+ class ChildLegalEntity < ModernTreasury::BaseModel
95
+ # @!attribute [r] addresses
96
+ # A list of addresses for the entity.
97
+ #
98
+ # @return [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address>, nil]
99
+ optional :addresses,
100
+ -> { ModernTreasury::ArrayOf[ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address] }
101
+
102
+ # @!parse
103
+ # # @return [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address>]
104
+ # attr_writer :addresses
105
+
106
+ # @!attribute bank_settings
107
+ #
108
+ # @return [ModernTreasury::Models::BankSettings, nil]
109
+ optional :bank_settings, -> { ModernTreasury::Models::BankSettings }, nil?: true
110
+
111
+ # @!attribute business_name
112
+ # The business's legal business name.
113
+ #
114
+ # @return [String, nil]
115
+ optional :business_name, String, nil?: true
116
+
117
+ # @!attribute citizenship_country
118
+ # The country of citizenship for an individual.
119
+ #
120
+ # @return [String, nil]
121
+ optional :citizenship_country, String, nil?: true
122
+
123
+ # @!attribute date_formed
124
+ # A business's formation date (YYYY-MM-DD).
125
+ #
126
+ # @return [Date, nil]
127
+ optional :date_formed, Date, nil?: true
128
+
129
+ # @!attribute date_of_birth
130
+ # An individual's date of birth (YYYY-MM-DD).
131
+ #
132
+ # @return [Date, nil]
133
+ optional :date_of_birth, Date, nil?: true
134
+
135
+ # @!attribute [r] doing_business_as_names
136
+ #
137
+ # @return [Array<String>, nil]
138
+ optional :doing_business_as_names, ModernTreasury::ArrayOf[String]
139
+
140
+ # @!parse
141
+ # # @return [Array<String>]
142
+ # attr_writer :doing_business_as_names
143
+
144
+ # @!attribute email
145
+ # The entity's primary email.
146
+ #
147
+ # @return [String, nil]
148
+ optional :email, String, nil?: true
149
+
150
+ # @!attribute first_name
151
+ # An individual's first name.
152
+ #
153
+ # @return [String, nil]
154
+ optional :first_name, String, nil?: true
155
+
156
+ # @!attribute [r] identifications
157
+ # A list of identifications for the legal entity.
158
+ #
159
+ # @return [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Identification>, nil]
160
+ optional :identifications,
161
+ -> { ModernTreasury::ArrayOf[ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Identification] }
162
+
163
+ # @!parse
164
+ # # @return [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Identification>]
165
+ # attr_writer :identifications
166
+
167
+ # @!attribute last_name
168
+ # An individual's last name.
169
+ #
170
+ # @return [String, nil]
171
+ optional :last_name, String, nil?: true
172
+
173
+ # @!attribute [r] legal_entity_type
174
+ # The type of legal entity.
175
+ #
176
+ # @return [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::LegalEntityType, nil]
177
+ optional :legal_entity_type,
178
+ enum: -> { ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::LegalEntityType }
179
+
180
+ # @!parse
181
+ # # @return [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::LegalEntityType]
182
+ # attr_writer :legal_entity_type
183
+
184
+ # @!attribute legal_structure
185
+ # The business's legal structure.
186
+ #
187
+ # @return [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::LegalStructure, nil]
188
+ optional :legal_structure,
189
+ enum: -> { ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::LegalStructure },
190
+ nil?: true
191
+
192
+ # @!attribute [r] metadata
193
+ # Additional data represented as key-value pairs. Both the key and value must be
194
+ # strings.
195
+ #
196
+ # @return [Hash{Symbol=>String}, nil]
197
+ optional :metadata, ModernTreasury::HashOf[String]
198
+
199
+ # @!parse
200
+ # # @return [Hash{Symbol=>String}]
201
+ # attr_writer :metadata
202
+
203
+ # @!attribute middle_name
204
+ # An individual's middle name.
205
+ #
206
+ # @return [String, nil]
207
+ optional :middle_name, String, nil?: true
208
+
209
+ # @!attribute [r] phone_numbers
210
+ #
211
+ # @return [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::PhoneNumber>, nil]
212
+ optional :phone_numbers,
213
+ -> { ModernTreasury::ArrayOf[ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::PhoneNumber] }
214
+
215
+ # @!parse
216
+ # # @return [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::PhoneNumber>]
217
+ # attr_writer :phone_numbers
218
+
219
+ # @!attribute politically_exposed_person
220
+ # Whether the individual is a politically exposed person.
221
+ #
222
+ # @return [Boolean, nil]
223
+ optional :politically_exposed_person, ModernTreasury::BooleanModel, nil?: true
224
+
225
+ # @!attribute preferred_name
226
+ # An individual's preferred name.
227
+ #
228
+ # @return [String, nil]
229
+ optional :preferred_name, String, nil?: true
230
+
231
+ # @!attribute prefix
232
+ # An individual's prefix.
233
+ #
234
+ # @return [String, nil]
235
+ optional :prefix, String, nil?: true
236
+
237
+ # @!attribute risk_rating
238
+ # The risk rating of the legal entity. One of low, medium, high.
239
+ #
240
+ # @return [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::RiskRating, nil]
241
+ optional :risk_rating,
242
+ enum: -> { ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::RiskRating },
243
+ nil?: true
244
+
245
+ # @!attribute suffix
246
+ # An individual's suffix.
247
+ #
248
+ # @return [String, nil]
249
+ optional :suffix, String, nil?: true
250
+
251
+ # @!attribute wealth_and_employment_details
252
+ #
253
+ # @return [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
254
+ optional :wealth_and_employment_details,
255
+ -> { ModernTreasury::Models::WealthAndEmploymentDetails },
256
+ nil?: true
257
+
258
+ # @!attribute website
259
+ # The entity's primary website URL.
260
+ #
261
+ # @return [String, nil]
262
+ optional :website, String, nil?: true
263
+
264
+ # @!parse
265
+ # # The child legal entity.
266
+ # #
267
+ # # @param addresses [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address>]
268
+ # # @param bank_settings [ModernTreasury::Models::BankSettings, nil]
269
+ # # @param business_name [String, nil]
270
+ # # @param citizenship_country [String, nil]
271
+ # # @param date_formed [Date, nil]
272
+ # # @param date_of_birth [Date, nil]
273
+ # # @param doing_business_as_names [Array<String>]
274
+ # # @param email [String, nil]
275
+ # # @param first_name [String, nil]
276
+ # # @param identifications [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Identification>]
277
+ # # @param last_name [String, nil]
278
+ # # @param legal_entity_type [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::LegalEntityType]
279
+ # # @param legal_structure [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::LegalStructure, nil]
280
+ # # @param metadata [Hash{Symbol=>String}]
281
+ # # @param middle_name [String, nil]
282
+ # # @param phone_numbers [Array<ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::PhoneNumber>]
283
+ # # @param politically_exposed_person [Boolean, nil]
284
+ # # @param preferred_name [String, nil]
285
+ # # @param prefix [String, nil]
286
+ # # @param risk_rating [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::RiskRating, nil]
287
+ # # @param suffix [String, nil]
288
+ # # @param wealth_and_employment_details [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
289
+ # # @param website [String, nil]
290
+ # #
291
+ # def initialize(
292
+ # addresses: nil,
293
+ # bank_settings: nil,
294
+ # business_name: nil,
295
+ # citizenship_country: nil,
296
+ # date_formed: nil,
297
+ # date_of_birth: nil,
298
+ # doing_business_as_names: nil,
299
+ # email: nil,
300
+ # first_name: nil,
301
+ # identifications: nil,
302
+ # last_name: nil,
303
+ # legal_entity_type: nil,
304
+ # legal_structure: nil,
305
+ # metadata: nil,
306
+ # middle_name: nil,
307
+ # phone_numbers: nil,
308
+ # politically_exposed_person: nil,
309
+ # preferred_name: nil,
310
+ # prefix: nil,
311
+ # risk_rating: nil,
312
+ # suffix: nil,
313
+ # wealth_and_employment_details: nil,
314
+ # website: nil,
315
+ # **
316
+ # )
317
+ # super
318
+ # end
319
+
320
+ # def initialize: (Hash | ModernTreasury::BaseModel) -> void
321
+
322
+ class Address < ModernTreasury::BaseModel
323
+ # @!attribute country
324
+ # Country code conforms to [ISO 3166-1 alpha-2]
325
+ #
326
+ # @return [String, nil]
327
+ required :country, String, nil?: true
328
+
329
+ # @!attribute line1
330
+ #
331
+ # @return [String, nil]
332
+ required :line1, String, nil?: true
333
+
334
+ # @!attribute locality
335
+ # Locality or City.
336
+ #
337
+ # @return [String, nil]
338
+ required :locality, String, nil?: true
339
+
340
+ # @!attribute postal_code
341
+ # The postal code of the address.
342
+ #
343
+ # @return [String, nil]
344
+ required :postal_code, String, nil?: true
345
+
346
+ # @!attribute region
347
+ # Region or State.
348
+ #
349
+ # @return [String, nil]
350
+ required :region, String, nil?: true
351
+
352
+ # @!attribute [r] address_types
353
+ # The types of this address.
354
+ #
355
+ # @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address::AddressType>, nil]
356
+ optional :address_types,
357
+ -> { ModernTreasury::ArrayOf[enum: ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address::AddressType] }
358
+
359
+ # @!parse
360
+ # # @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address::AddressType>]
361
+ # attr_writer :address_types
362
+
363
+ # @!attribute line2
364
+ #
365
+ # @return [String, nil]
366
+ optional :line2, String, nil?: true
367
+
368
+ # @!parse
369
+ # # @param country [String, nil]
370
+ # # @param line1 [String, nil]
371
+ # # @param locality [String, nil]
372
+ # # @param postal_code [String, nil]
373
+ # # @param region [String, nil]
374
+ # # @param address_types [Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Address::AddressType>]
375
+ # # @param line2 [String, nil]
376
+ # #
377
+ # def initialize(country:, line1:, locality:, postal_code:, region:, address_types: nil, line2: nil, **) = super
378
+
379
+ # def initialize: (Hash | ModernTreasury::BaseModel) -> void
380
+
381
+ module AddressType
382
+ extend ModernTreasury::Enum
383
+
384
+ BUSINESS = :business
385
+ MAILING = :mailing
386
+ OTHER = :other
387
+ PO_BOX = :po_box
388
+ RESIDENTIAL = :residential
389
+
390
+ finalize!
391
+
392
+ # @!parse
393
+ # # @return [Array<Symbol>]
394
+ # def self.values; end
395
+ end
396
+ end
397
+
398
+ class Identification < ModernTreasury::BaseModel
399
+ # @!attribute id_number
400
+ # The ID number of identification document.
401
+ #
402
+ # @return [String]
403
+ required :id_number, String
404
+
405
+ # @!attribute id_type
406
+ # The type of ID number.
407
+ #
408
+ # @return [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Identification::IDType]
409
+ required :id_type,
410
+ enum: -> { ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Identification::IDType }
411
+
412
+ # @!attribute issuing_country
413
+ # The ISO 3166-1 alpha-2 country code of the country that issued the
414
+ # identification
415
+ #
416
+ # @return [String, nil]
417
+ optional :issuing_country, String, nil?: true
418
+
419
+ # @!parse
420
+ # # @param id_number [String]
421
+ # # @param id_type [Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity::Identification::IDType]
422
+ # # @param issuing_country [String, nil]
423
+ # #
424
+ # def initialize(id_number:, id_type:, issuing_country: nil, **) = super
425
+
426
+ # def initialize: (Hash | ModernTreasury::BaseModel) -> void
427
+
428
+ # The type of ID number.
429
+ module IDType
430
+ extend ModernTreasury::Enum
431
+
432
+ AR_CUIL = :ar_cuil
433
+ AR_CUIT = :ar_cuit
434
+ BR_CNPJ = :br_cnpj
435
+ BR_CPF = :br_cpf
436
+ CL_RUN = :cl_run
437
+ CL_RUT = :cl_rut
438
+ CO_CEDULAS = :co_cedulas
439
+ CO_NIT = :co_nit
440
+ HN_ID = :hn_id
441
+ HN_RTN = :hn_rtn
442
+ IN_LEI = :in_lei
443
+ KR_BRN = :kr_brn
444
+ KR_CRN = :kr_crn
445
+ KR_RRN = :kr_rrn
446
+ PASSPORT = :passport
447
+ SA_TIN = :sa_tin
448
+ SA_VAT = :sa_vat
449
+ US_EIN = :us_ein
450
+ US_ITIN = :us_itin
451
+ US_SSN = :us_ssn
452
+ VN_TIN = :vn_tin
453
+
454
+ finalize!
455
+
456
+ # @!parse
457
+ # # @return [Array<Symbol>]
458
+ # def self.values; end
459
+ end
460
+ end
461
+
462
+ # The type of legal entity.
463
+ module LegalEntityType
464
+ extend ModernTreasury::Enum
465
+
466
+ BUSINESS = :business
467
+ INDIVIDUAL = :individual
468
+
469
+ finalize!
470
+
471
+ # @!parse
472
+ # # @return [Array<Symbol>]
473
+ # def self.values; end
474
+ end
475
+
476
+ # The business's legal structure.
477
+ module LegalStructure
478
+ extend ModernTreasury::Enum
479
+
480
+ CORPORATION = :corporation
481
+ LLC = :llc
482
+ NON_PROFIT = :non_profit
483
+ PARTNERSHIP = :partnership
484
+ SOLE_PROPRIETORSHIP = :sole_proprietorship
485
+ TRUST = :trust
486
+
487
+ finalize!
488
+
489
+ # @!parse
490
+ # # @return [Array<Symbol>]
491
+ # def self.values; end
492
+ end
493
+
494
+ class PhoneNumber < ModernTreasury::BaseModel
495
+ # @!attribute [r] phone_number
496
+ #
497
+ # @return [String, nil]
498
+ optional :phone_number, String
499
+
500
+ # @!parse
501
+ # # @return [String]
502
+ # attr_writer :phone_number
503
+
504
+ # @!parse
505
+ # # A list of phone numbers in E.164 format.
506
+ # #
507
+ # # @param phone_number [String]
508
+ # #
509
+ # def initialize(phone_number: nil, **) = super
510
+
511
+ # def initialize: (Hash | ModernTreasury::BaseModel) -> void
512
+ end
513
+
514
+ # The risk rating of the legal entity. One of low, medium, high.
515
+ module RiskRating
516
+ extend ModernTreasury::Enum
517
+
518
+ LOW = :low
519
+ MEDIUM = :medium
520
+ HIGH = :high
521
+
522
+ finalize!
523
+
524
+ # @!parse
525
+ # # @return [Array<Symbol>]
526
+ # def self.values; end
527
+ end
528
+ end
529
+ end
530
+ end
531
+ end