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,48 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerAccountSettlements
4
+ attr_reader account_entries: ModernTreasury::Resources::LedgerAccountSettlements::AccountEntries
5
+
6
+ def create: (
7
+ contra_ledger_account_id: String,
8
+ settled_ledger_account_id: String,
9
+ ?allow_either_direction: bool?,
10
+ ?description: String?,
11
+ ?effective_at_upper_bound: Time?,
12
+ ?metadata: ::Hash[Symbol, String],
13
+ ?skip_settlement_ledger_transaction: bool?,
14
+ ?status: ModernTreasury::Models::LedgerAccountSettlementCreateParams::status?,
15
+ ?request_options: ModernTreasury::request_opts
16
+ ) -> ModernTreasury::Models::LedgerAccountSettlement
17
+
18
+ def retrieve: (
19
+ String id,
20
+ ?request_options: ModernTreasury::request_opts
21
+ ) -> ModernTreasury::Models::LedgerAccountSettlement
22
+
23
+ def update: (
24
+ String id,
25
+ ?description: String?,
26
+ ?metadata: ::Hash[Symbol, String],
27
+ ?status: ModernTreasury::Models::LedgerAccountSettlementUpdateParams::status,
28
+ ?request_options: ModernTreasury::request_opts
29
+ ) -> ModernTreasury::Models::LedgerAccountSettlement
30
+
31
+ def list: (
32
+ ?id: ::Array[String],
33
+ ?after_cursor: String?,
34
+ ?created_at: ::Hash[Symbol, Time],
35
+ ?ledger_id: String,
36
+ ?ledger_transaction_id: String,
37
+ ?metadata: ::Hash[Symbol, String],
38
+ ?per_page: Integer,
39
+ ?settled_ledger_account_id: String,
40
+ ?settlement_entry_direction: String,
41
+ ?updated_at: ::Hash[Symbol, Time],
42
+ ?request_options: ModernTreasury::request_opts
43
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LedgerAccountSettlement]
44
+
45
+ def initialize: (client: ModernTreasury::Client) -> void
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,21 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerAccountStatements
4
+ def create: (
5
+ effective_at_lower_bound: Time,
6
+ effective_at_upper_bound: Time,
7
+ ledger_account_id: String,
8
+ ?description: String?,
9
+ ?metadata: ::Hash[Symbol, String],
10
+ ?request_options: ModernTreasury::request_opts
11
+ ) -> ModernTreasury::Models::LedgerAccountStatementCreateResponse
12
+
13
+ def retrieve: (
14
+ String id,
15
+ ?request_options: ModernTreasury::request_opts
16
+ ) -> ModernTreasury::Models::LedgerAccountStatementRetrieveResponse
17
+
18
+ def initialize: (client: ModernTreasury::Client) -> void
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,58 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerAccounts
4
+ def create: (
5
+ currency: String,
6
+ ledger_id: String,
7
+ name: String,
8
+ normal_balance: ModernTreasury::Models::transaction_direction,
9
+ ?currency_exponent: Integer?,
10
+ ?description: String?,
11
+ ?ledger_account_category_ids: ::Array[String],
12
+ ?ledgerable_id: String,
13
+ ?ledgerable_type: ModernTreasury::Models::LedgerAccountCreateParams::ledgerable_type,
14
+ ?metadata: ::Hash[Symbol, String],
15
+ ?request_options: ModernTreasury::request_opts
16
+ ) -> ModernTreasury::Models::LedgerAccount
17
+
18
+ def retrieve: (
19
+ String id,
20
+ ?balances: ModernTreasury::Models::LedgerAccountRetrieveParams::Balances,
21
+ ?request_options: ModernTreasury::request_opts
22
+ ) -> ModernTreasury::Models::LedgerAccount
23
+
24
+ def update: (
25
+ String id,
26
+ ?description: String?,
27
+ ?metadata: ::Hash[Symbol, String],
28
+ ?name: String,
29
+ ?request_options: ModernTreasury::request_opts
30
+ ) -> ModernTreasury::Models::LedgerAccount
31
+
32
+ def list: (
33
+ ?id: ::Array[String],
34
+ ?after_cursor: String?,
35
+ ?available_balance_amount: ModernTreasury::Models::LedgerAccountListParams::AvailableBalanceAmount,
36
+ ?balances: ModernTreasury::Models::LedgerAccountListParams::Balances,
37
+ ?created_at: ::Hash[Symbol, Time],
38
+ ?currency: String,
39
+ ?ledger_account_category_id: String,
40
+ ?ledger_id: String,
41
+ ?metadata: ::Hash[Symbol, String],
42
+ ?name: ::Array[String],
43
+ ?pending_balance_amount: ModernTreasury::Models::LedgerAccountListParams::PendingBalanceAmount,
44
+ ?per_page: Integer,
45
+ ?posted_balance_amount: ModernTreasury::Models::LedgerAccountListParams::PostedBalanceAmount,
46
+ ?updated_at: ::Hash[Symbol, Time],
47
+ ?request_options: ModernTreasury::request_opts
48
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LedgerAccount]
49
+
50
+ def delete: (
51
+ String id,
52
+ ?request_options: ModernTreasury::request_opts
53
+ ) -> ModernTreasury::Models::LedgerAccount
54
+
55
+ def initialize: (client: ModernTreasury::Client) -> void
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,43 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerEntries
4
+ def retrieve: (
5
+ String id,
6
+ ?show_balances: bool,
7
+ ?request_options: ModernTreasury::request_opts
8
+ ) -> ModernTreasury::Models::LedgerEntry
9
+
10
+ def update: (
11
+ String id,
12
+ ?metadata: ::Hash[Symbol, String],
13
+ ?request_options: ModernTreasury::request_opts
14
+ ) -> ModernTreasury::Models::LedgerEntry
15
+
16
+ def list: (
17
+ ?id: ::Array[String],
18
+ ?after_cursor: String?,
19
+ ?as_of_lock_version: Integer,
20
+ ?direction: ModernTreasury::Models::transaction_direction,
21
+ ?effective_at: ::Hash[Symbol, Time],
22
+ ?effective_date: ::Hash[Symbol, Date],
23
+ ?ledger_account_category_id: String,
24
+ ?ledger_account_id: String,
25
+ ?ledger_account_lock_version: ::Hash[Symbol, Integer],
26
+ ?ledger_account_payout_id: String,
27
+ ?ledger_account_settlement_id: String,
28
+ ?ledger_account_statement_id: String,
29
+ ?ledger_transaction_id: String,
30
+ ?metadata: ::Hash[Symbol, String],
31
+ ?order_by: ModernTreasury::Models::LedgerEntryListParams::OrderBy,
32
+ ?per_page: Integer,
33
+ ?show_balances: bool,
34
+ ?show_deleted: bool,
35
+ ?status: ModernTreasury::Models::LedgerEntryListParams::status,
36
+ ?updated_at: ::Hash[Symbol, Time],
37
+ ?request_options: ModernTreasury::request_opts
38
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LedgerEntry]
39
+
40
+ def initialize: (client: ModernTreasury::Client) -> void
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,37 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerEventHandlers
4
+ def create: (
5
+ ledger_transaction_template: ModernTreasury::Models::LedgerEventHandlerCreateParams::LedgerTransactionTemplate,
6
+ name: String,
7
+ ?conditions: ModernTreasury::Models::LedgerEventHandlerCreateParams::Conditions?,
8
+ ?description: String?,
9
+ ?ledger_id: String,
10
+ ?metadata: ::Hash[Symbol, String]?,
11
+ ?variables: ::Hash[Symbol, ModernTreasury::Models::LedgerEventHandlerVariable]?,
12
+ ?request_options: ModernTreasury::request_opts
13
+ ) -> ModernTreasury::Models::LedgerEventHandler
14
+
15
+ def retrieve: (
16
+ String id,
17
+ ?request_options: ModernTreasury::request_opts
18
+ ) -> ModernTreasury::Models::LedgerEventHandler
19
+
20
+ def list: (
21
+ ?after_cursor: String?,
22
+ ?created_at: ::Hash[Symbol, Time],
23
+ ?metadata: ::Hash[Symbol, String],
24
+ ?name: String,
25
+ ?per_page: Integer,
26
+ ?request_options: ModernTreasury::request_opts
27
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LedgerEventHandler]
28
+
29
+ def delete: (
30
+ String id,
31
+ ?request_options: ModernTreasury::request_opts
32
+ ) -> ModernTreasury::Models::LedgerEventHandler
33
+
34
+ def initialize: (client: ModernTreasury::Client) -> void
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,19 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerTransactions
4
+ class Versions
5
+ def list: (
6
+ ?after_cursor: String?,
7
+ ?created_at: ::Hash[Symbol, Time],
8
+ ?ledger_account_statement_id: String,
9
+ ?ledger_transaction_id: String,
10
+ ?per_page: Integer,
11
+ ?version: ::Hash[Symbol, Integer],
12
+ ?request_options: ModernTreasury::request_opts
13
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion]
14
+
15
+ def initialize: (client: ModernTreasury::Client) -> void
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,83 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerTransactions
4
+ attr_reader versions: ModernTreasury::Resources::LedgerTransactions::Versions
5
+
6
+ def create: (
7
+ ledger_entries: ::Array[ModernTreasury::Models::LedgerTransactionCreateParams::LedgerEntry],
8
+ ?description: String?,
9
+ ?effective_at: Time,
10
+ ?effective_date: Date,
11
+ ?external_id: String,
12
+ ?ledgerable_id: String,
13
+ ?ledgerable_type: ModernTreasury::Models::LedgerTransactionCreateParams::ledgerable_type,
14
+ ?metadata: ::Hash[Symbol, String],
15
+ ?status: ModernTreasury::Models::LedgerTransactionCreateParams::status,
16
+ ?request_options: ModernTreasury::request_opts
17
+ ) -> ModernTreasury::Models::LedgerTransaction
18
+
19
+ def retrieve: (
20
+ String id,
21
+ ?request_options: ModernTreasury::request_opts
22
+ ) -> ModernTreasury::Models::LedgerTransaction
23
+
24
+ def update: (
25
+ String id,
26
+ ?description: String?,
27
+ ?effective_at: Time,
28
+ ?ledger_entries: ::Array[ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerEntry],
29
+ ?ledgerable_id: String,
30
+ ?ledgerable_type: ModernTreasury::Models::LedgerTransactionUpdateParams::ledgerable_type,
31
+ ?metadata: ::Hash[Symbol, String],
32
+ ?status: ModernTreasury::Models::LedgerTransactionUpdateParams::status,
33
+ ?request_options: ModernTreasury::request_opts
34
+ ) -> ModernTreasury::Models::LedgerTransaction
35
+
36
+ def list: (
37
+ ?id: ::Array[String],
38
+ ?after_cursor: String?,
39
+ ?effective_at: ::Hash[Symbol, Time],
40
+ ?effective_date: ::Hash[Symbol, Time],
41
+ ?external_id: String,
42
+ ?ledger_account_category_id: String,
43
+ ?ledger_account_id: String,
44
+ ?ledger_account_settlement_id: String,
45
+ ?ledger_id: String,
46
+ ?ledgerable_id: String,
47
+ ?ledgerable_type: ModernTreasury::Models::LedgerTransactionListParams::ledgerable_type,
48
+ ?metadata: ::Hash[Symbol, String],
49
+ ?order_by: ModernTreasury::Models::LedgerTransactionListParams::OrderBy,
50
+ ?partially_posts_ledger_transaction_id: String,
51
+ ?per_page: Integer,
52
+ ?posted_at: ::Hash[Symbol, Time],
53
+ ?reverses_ledger_transaction_id: String,
54
+ ?status: ModernTreasury::Models::LedgerTransactionListParams::status,
55
+ ?updated_at: ::Hash[Symbol, Time],
56
+ ?request_options: ModernTreasury::request_opts
57
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LedgerTransaction]
58
+
59
+ def create_partial_post: (
60
+ String id,
61
+ posted_ledger_entries: ::Array[ModernTreasury::Models::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry],
62
+ ?description: String,
63
+ ?effective_at: Time,
64
+ ?metadata: ::Hash[Symbol, String],
65
+ ?request_options: ModernTreasury::request_opts
66
+ ) -> ModernTreasury::Models::LedgerTransaction
67
+
68
+ def create_reversal: (
69
+ String id,
70
+ ?description: String,
71
+ ?effective_at: Time?,
72
+ ?external_id: String,
73
+ ?ledgerable_id: String,
74
+ ?ledgerable_type: ModernTreasury::Models::LedgerTransactionCreateReversalParams::ledgerable_type,
75
+ ?metadata: ::Hash[Symbol, String],
76
+ ?status: ModernTreasury::Models::LedgerTransactionCreateReversalParams::status,
77
+ ?request_options: ModernTreasury::request_opts
78
+ ) -> ModernTreasury::Models::LedgerTransaction
79
+
80
+ def initialize: (client: ModernTreasury::Client) -> void
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,20 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LedgerableEvents
4
+ def create: (
5
+ name: String,
6
+ ?custom_data: top?,
7
+ ?description: String?,
8
+ ?metadata: ::Hash[Symbol, String],
9
+ ?request_options: ModernTreasury::request_opts
10
+ ) -> ModernTreasury::Models::LedgerableEvent
11
+
12
+ def retrieve: (
13
+ String id,
14
+ ?request_options: ModernTreasury::request_opts
15
+ ) -> ModernTreasury::Models::LedgerableEvent
16
+
17
+ def initialize: (client: ModernTreasury::Client) -> void
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,41 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class Ledgers
4
+ def create: (
5
+ name: String,
6
+ ?description: String?,
7
+ ?metadata: ::Hash[Symbol, String],
8
+ ?request_options: ModernTreasury::request_opts
9
+ ) -> ModernTreasury::Models::Ledger
10
+
11
+ def retrieve: (
12
+ String id,
13
+ ?request_options: ModernTreasury::request_opts
14
+ ) -> ModernTreasury::Models::Ledger
15
+
16
+ def update: (
17
+ String id,
18
+ ?description: String?,
19
+ ?metadata: ::Hash[Symbol, String],
20
+ ?name: String,
21
+ ?request_options: ModernTreasury::request_opts
22
+ ) -> ModernTreasury::Models::Ledger
23
+
24
+ def list: (
25
+ ?id: ::Array[String],
26
+ ?after_cursor: String?,
27
+ ?metadata: ::Hash[Symbol, String],
28
+ ?per_page: Integer,
29
+ ?updated_at: ::Hash[Symbol, Time],
30
+ ?request_options: ModernTreasury::request_opts
31
+ ) -> ModernTreasury::Page[ModernTreasury::Models::Ledger]
32
+
33
+ def delete: (
34
+ String id,
35
+ ?request_options: ModernTreasury::request_opts
36
+ ) -> ModernTreasury::Models::Ledger
37
+
38
+ def initialize: (client: ModernTreasury::Client) -> void
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,76 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LegalEntities
4
+ def create: (
5
+ legal_entity_type: ModernTreasury::Models::LegalEntityCreateParams::legal_entity_type,
6
+ ?addresses: ::Array[ModernTreasury::Models::LegalEntityCreateParams::Address],
7
+ ?bank_settings: ModernTreasury::Models::BankSettings?,
8
+ ?business_name: String?,
9
+ ?citizenship_country: String?,
10
+ ?date_formed: Date?,
11
+ ?date_of_birth: Date?,
12
+ ?doing_business_as_names: ::Array[String],
13
+ ?email: String?,
14
+ ?first_name: String?,
15
+ ?identifications: ::Array[ModernTreasury::Models::LegalEntityCreateParams::Identification],
16
+ ?last_name: String?,
17
+ ?legal_entity_associations: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation]?,
18
+ ?legal_structure: ModernTreasury::Models::LegalEntityCreateParams::legal_structure?,
19
+ ?metadata: ::Hash[Symbol, String],
20
+ ?middle_name: String?,
21
+ ?phone_numbers: ::Array[ModernTreasury::Models::LegalEntityCreateParams::PhoneNumber],
22
+ ?politically_exposed_person: bool?,
23
+ ?preferred_name: String?,
24
+ ?prefix: String?,
25
+ ?risk_rating: ModernTreasury::Models::LegalEntityCreateParams::risk_rating?,
26
+ ?suffix: String?,
27
+ ?wealth_and_employment_details: ModernTreasury::Models::WealthAndEmploymentDetails?,
28
+ ?website: String?,
29
+ ?request_options: ModernTreasury::request_opts
30
+ ) -> ModernTreasury::Models::LegalEntity
31
+
32
+ def retrieve: (
33
+ String id,
34
+ ?request_options: ModernTreasury::request_opts
35
+ ) -> ModernTreasury::Models::LegalEntity
36
+
37
+ def update: (
38
+ String id,
39
+ ?addresses: ::Array[ModernTreasury::Models::LegalEntityUpdateParams::Address],
40
+ ?bank_settings: ModernTreasury::Models::BankSettings?,
41
+ ?business_name: String?,
42
+ ?citizenship_country: String?,
43
+ ?date_formed: Date?,
44
+ ?date_of_birth: Date?,
45
+ ?doing_business_as_names: ::Array[String],
46
+ ?email: String?,
47
+ ?first_name: String?,
48
+ ?identifications: ::Array[ModernTreasury::Models::LegalEntityUpdateParams::Identification],
49
+ ?last_name: String?,
50
+ ?legal_structure: ModernTreasury::Models::LegalEntityUpdateParams::legal_structure?,
51
+ ?metadata: ::Hash[Symbol, String],
52
+ ?middle_name: String?,
53
+ ?phone_numbers: ::Array[ModernTreasury::Models::LegalEntityUpdateParams::PhoneNumber],
54
+ ?politically_exposed_person: bool?,
55
+ ?preferred_name: String?,
56
+ ?prefix: String?,
57
+ ?risk_rating: ModernTreasury::Models::LegalEntityUpdateParams::risk_rating?,
58
+ ?suffix: String?,
59
+ ?wealth_and_employment_details: ModernTreasury::Models::WealthAndEmploymentDetails?,
60
+ ?website: String?,
61
+ ?request_options: ModernTreasury::request_opts
62
+ ) -> ModernTreasury::Models::LegalEntity
63
+
64
+ def list: (
65
+ ?after_cursor: String?,
66
+ ?legal_entity_type: ModernTreasury::Models::LegalEntityListParams::legal_entity_type,
67
+ ?metadata: ::Hash[Symbol, String],
68
+ ?per_page: Integer,
69
+ ?show_deleted: String,
70
+ ?request_options: ModernTreasury::request_opts
71
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LegalEntity]
72
+
73
+ def initialize: (client: ModernTreasury::Client) -> void
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,17 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LegalEntityAssociations
4
+ def create: (
5
+ parent_legal_entity_id: String,
6
+ relationship_types: ::Array[ModernTreasury::Models::LegalEntityAssociationCreateParams::relationship_type],
7
+ ?child_legal_entity: ModernTreasury::Models::LegalEntityAssociationCreateParams::ChildLegalEntity,
8
+ ?child_legal_entity_id: String,
9
+ ?ownership_percentage: Integer?,
10
+ ?title: String?,
11
+ ?request_options: ModernTreasury::request_opts
12
+ ) -> ModernTreasury::Models::LegalEntityAssociation
13
+
14
+ def initialize: (client: ModernTreasury::Client) -> void
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,30 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class LineItems
4
+ def retrieve: (
5
+ String id,
6
+ itemizable_type: ModernTreasury::Models::LineItemRetrieveParams::itemizable_type,
7
+ itemizable_id: String,
8
+ ?request_options: ModernTreasury::request_opts
9
+ ) -> ModernTreasury::Models::LineItem
10
+
11
+ def update: (
12
+ String id,
13
+ itemizable_type: ModernTreasury::Models::LineItemUpdateParams::itemizable_type,
14
+ itemizable_id: String,
15
+ ?metadata: ::Hash[Symbol, String],
16
+ ?request_options: ModernTreasury::request_opts
17
+ ) -> ModernTreasury::Models::LineItem
18
+
19
+ def list: (
20
+ String itemizable_id,
21
+ itemizable_type: ModernTreasury::Models::LineItemListParams::itemizable_type,
22
+ ?after_cursor: String?,
23
+ ?per_page: Integer,
24
+ ?request_options: ModernTreasury::request_opts
25
+ ) -> ModernTreasury::Page[ModernTreasury::Models::LineItem]
26
+
27
+ def initialize: (client: ModernTreasury::Client) -> void
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,21 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class PaperItems
4
+ def retrieve: (
5
+ String id,
6
+ ?request_options: ModernTreasury::request_opts
7
+ ) -> ModernTreasury::Models::PaperItem
8
+
9
+ def list: (
10
+ ?after_cursor: String?,
11
+ ?deposit_date_end: Date,
12
+ ?deposit_date_start: Date,
13
+ ?lockbox_number: String,
14
+ ?per_page: Integer,
15
+ ?request_options: ModernTreasury::request_opts
16
+ ) -> ModernTreasury::Page[ModernTreasury::Models::PaperItem]
17
+
18
+ def initialize: (client: ModernTreasury::Client) -> void
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,40 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class PaymentFlows
4
+ def create: (
5
+ amount: Integer,
6
+ counterparty_id: String,
7
+ currency: String,
8
+ direction: ModernTreasury::Models::PaymentFlowCreateParams::direction,
9
+ originating_account_id: String,
10
+ ?due_date: Date,
11
+ ?request_options: ModernTreasury::request_opts
12
+ ) -> ModernTreasury::Models::PaymentFlow
13
+
14
+ def retrieve: (
15
+ String id,
16
+ ?request_options: ModernTreasury::request_opts
17
+ ) -> ModernTreasury::Models::PaymentFlow
18
+
19
+ def update: (
20
+ String id,
21
+ status: ModernTreasury::Models::PaymentFlowUpdateParams::status,
22
+ ?request_options: ModernTreasury::request_opts
23
+ ) -> ModernTreasury::Models::PaymentFlow
24
+
25
+ def list: (
26
+ ?after_cursor: String?,
27
+ ?client_token: String,
28
+ ?counterparty_id: String,
29
+ ?originating_account_id: String,
30
+ ?payment_order_id: String,
31
+ ?per_page: Integer,
32
+ ?receiving_account_id: String,
33
+ ?status: String,
34
+ ?request_options: ModernTreasury::request_opts
35
+ ) -> ModernTreasury::Page[ModernTreasury::Models::PaymentFlow]
36
+
37
+ def initialize: (client: ModernTreasury::Client) -> void
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,30 @@
1
+ module ModernTreasury
2
+ module Resources
3
+ class PaymentOrders
4
+ class Reversals
5
+ def create: (
6
+ String payment_order_id,
7
+ reason: ModernTreasury::Models::PaymentOrders::ReversalCreateParams::reason,
8
+ ?ledger_transaction: ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction,
9
+ ?metadata: ::Hash[Symbol, String],
10
+ ?request_options: ModernTreasury::request_opts
11
+ ) -> ModernTreasury::Models::PaymentOrders::Reversal
12
+
13
+ def retrieve: (
14
+ String reversal_id,
15
+ payment_order_id: String,
16
+ ?request_options: ModernTreasury::request_opts
17
+ ) -> ModernTreasury::Models::PaymentOrders::Reversal
18
+
19
+ def list: (
20
+ String payment_order_id,
21
+ ?after_cursor: String?,
22
+ ?per_page: Integer,
23
+ ?request_options: ModernTreasury::request_opts
24
+ ) -> ModernTreasury::Page[ModernTreasury::Models::PaymentOrders::Reversal]
25
+
26
+ def initialize: (client: ModernTreasury::Client) -> void
27
+ end
28
+ end
29
+ end
30
+ end