increase 0.3.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1110) hide show
  1. checksums.yaml +4 -4
  2. data/.ignore +2 -0
  3. data/CHANGELOG.md +807 -56
  4. data/README.md +213 -254
  5. data/SECURITY.md +3 -0
  6. data/lib/increase/client.rb +287 -43
  7. data/lib/increase/errors.rb +223 -63
  8. data/lib/increase/file_part.rb +55 -0
  9. data/lib/increase/internal/page.rb +86 -0
  10. data/lib/increase/internal/transport/base_client.rb +555 -0
  11. data/lib/increase/internal/transport/pooled_net_requester.rb +209 -0
  12. data/lib/increase/internal/type/array_of.rb +162 -0
  13. data/lib/increase/internal/type/base_model.rb +484 -0
  14. data/lib/increase/internal/type/base_page.rb +55 -0
  15. data/lib/increase/internal/type/boolean.rb +71 -0
  16. data/lib/increase/internal/type/converter.rb +292 -0
  17. data/lib/increase/internal/type/enum.rb +123 -0
  18. data/lib/increase/internal/type/file_input.rb +103 -0
  19. data/lib/increase/internal/type/hash_of.rb +182 -0
  20. data/lib/increase/internal/type/request_parameters.rb +42 -0
  21. data/lib/increase/internal/type/union.rb +230 -0
  22. data/lib/increase/internal/type/unknown.rb +75 -0
  23. data/lib/increase/internal/util.rb +914 -0
  24. data/lib/increase/internal.rb +20 -0
  25. data/lib/increase/models/account.rb +224 -0
  26. data/lib/increase/models/account_balance_params.rb +22 -0
  27. data/lib/increase/models/account_close_params.rb +14 -0
  28. data/lib/increase/models/account_create_params.rb +51 -0
  29. data/lib/increase/models/account_list_params.rb +155 -0
  30. data/lib/increase/models/account_number.rb +209 -0
  31. data/lib/increase/models/account_number_create_params.rb +121 -0
  32. data/lib/increase/models/account_number_list_params.rb +183 -0
  33. data/lib/increase/models/account_number_retrieve_params.rb +14 -0
  34. data/lib/increase/models/account_number_update_params.rb +131 -0
  35. data/lib/increase/models/account_retrieve_params.rb +14 -0
  36. data/lib/increase/models/account_statement.rb +105 -0
  37. data/lib/increase/models/account_statement_list_params.rb +92 -0
  38. data/lib/increase/models/account_statement_retrieve_params.rb +14 -0
  39. data/lib/increase/models/account_transfer.rb +389 -0
  40. data/lib/increase/models/account_transfer_approve_params.rb +14 -0
  41. data/lib/increase/models/account_transfer_cancel_params.rb +14 -0
  42. data/lib/increase/models/account_transfer_create_params.rb +58 -0
  43. data/lib/increase/models/account_transfer_list_params.rb +102 -0
  44. data/lib/increase/models/account_transfer_retrieve_params.rb +14 -0
  45. data/lib/increase/models/account_update_params.rb +22 -0
  46. data/lib/increase/models/ach_prenotification.rb +562 -0
  47. data/lib/increase/models/ach_prenotification_create_params.rb +160 -0
  48. data/lib/increase/models/ach_prenotification_list_params.rb +94 -0
  49. data/lib/increase/models/ach_prenotification_retrieve_params.rb +14 -0
  50. data/lib/increase/models/ach_transfer.rb +1481 -0
  51. data/lib/increase/models/ach_transfer_approve_params.rb +14 -0
  52. data/lib/increase/models/ach_transfer_cancel_params.rb +14 -0
  53. data/lib/increase/models/ach_transfer_create_params.rb +430 -0
  54. data/lib/increase/models/ach_transfer_list_params.rb +168 -0
  55. data/lib/increase/models/ach_transfer_retrieve_params.rb +14 -0
  56. data/lib/increase/models/balance_lookup.rb +63 -0
  57. data/lib/increase/models/bookkeeping_account.rb +104 -0
  58. data/lib/increase/models/bookkeeping_account_balance_params.rb +22 -0
  59. data/lib/increase/models/bookkeeping_account_create_params.rb +60 -0
  60. data/lib/increase/models/bookkeeping_account_list_params.rb +45 -0
  61. data/lib/increase/models/bookkeeping_account_update_params.rb +22 -0
  62. data/lib/increase/models/bookkeeping_balance_lookup.rb +54 -0
  63. data/lib/increase/models/bookkeeping_entry.rb +79 -0
  64. data/lib/increase/models/bookkeeping_entry_list_params.rb +42 -0
  65. data/lib/increase/models/bookkeeping_entry_retrieve_params.rb +14 -0
  66. data/lib/increase/models/bookkeeping_entry_set.rb +116 -0
  67. data/lib/increase/models/bookkeeping_entry_set_create_params.rb +67 -0
  68. data/lib/increase/models/bookkeeping_entry_set_list_params.rb +53 -0
  69. data/lib/increase/models/bookkeeping_entry_set_retrieve_params.rb +14 -0
  70. data/lib/increase/models/card.rb +243 -0
  71. data/lib/increase/models/card_create_params.rb +145 -0
  72. data/lib/increase/models/card_details.rb +78 -0
  73. data/lib/increase/models/card_details_params.rb +14 -0
  74. data/lib/increase/models/card_dispute.rb +302 -0
  75. data/lib/increase/models/card_dispute_create_params.rb +45 -0
  76. data/lib/increase/models/card_dispute_list_params.rb +144 -0
  77. data/lib/increase/models/card_dispute_retrieve_params.rb +14 -0
  78. data/lib/increase/models/card_list_params.rb +142 -0
  79. data/lib/increase/models/card_payment.rb +6511 -0
  80. data/lib/increase/models/card_payment_list_params.rb +99 -0
  81. data/lib/increase/models/card_payment_retrieve_params.rb +14 -0
  82. data/lib/increase/models/card_purchase_supplement.rb +452 -0
  83. data/lib/increase/models/card_purchase_supplement_list_params.rb +93 -0
  84. data/lib/increase/models/card_purchase_supplement_retrieve_params.rb +14 -0
  85. data/lib/increase/models/card_retrieve_params.rb +14 -0
  86. data/lib/increase/models/card_update_params.rb +158 -0
  87. data/lib/increase/models/check_deposit.rb +807 -0
  88. data/lib/increase/models/check_deposit_create_params.rb +57 -0
  89. data/lib/increase/models/check_deposit_list_params.rb +102 -0
  90. data/lib/increase/models/check_deposit_retrieve_params.rb +14 -0
  91. data/lib/increase/models/check_transfer.rb +983 -0
  92. data/lib/increase/models/check_transfer_approve_params.rb +14 -0
  93. data/lib/increase/models/check_transfer_cancel_params.rb +14 -0
  94. data/lib/increase/models/check_transfer_create_params.rb +324 -0
  95. data/lib/increase/models/check_transfer_list_params.rb +166 -0
  96. data/lib/increase/models/check_transfer_retrieve_params.rb +14 -0
  97. data/lib/increase/models/check_transfer_stop_payment_params.rb +39 -0
  98. data/lib/increase/models/declined_transaction.rb +1779 -0
  99. data/lib/increase/models/declined_transaction_list_params.rb +153 -0
  100. data/lib/increase/models/declined_transaction_retrieve_params.rb +14 -0
  101. data/lib/increase/models/digital_card_profile.rb +197 -0
  102. data/lib/increase/models/digital_card_profile_archive_params.rb +14 -0
  103. data/lib/increase/models/digital_card_profile_clone_params.rb +115 -0
  104. data/lib/increase/models/digital_card_profile_create_params.rb +115 -0
  105. data/lib/increase/models/digital_card_profile_list_params.rb +91 -0
  106. data/lib/increase/models/digital_card_profile_retrieve_params.rb +14 -0
  107. data/lib/increase/models/digital_wallet_token.rb +281 -0
  108. data/lib/increase/models/digital_wallet_token_list_params.rb +91 -0
  109. data/lib/increase/models/digital_wallet_token_retrieve_params.rb +14 -0
  110. data/lib/increase/models/document.rb +135 -0
  111. data/lib/increase/models/document_create_params.rb +62 -0
  112. data/lib/increase/models/document_list_params.rb +149 -0
  113. data/lib/increase/models/document_retrieve_params.rb +14 -0
  114. data/lib/increase/models/entity.rb +1476 -0
  115. data/lib/increase/models/entity_archive_beneficial_owner_params.rb +26 -0
  116. data/lib/increase/models/entity_archive_params.rb +14 -0
  117. data/lib/increase/models/entity_confirm_params.rb +26 -0
  118. data/lib/increase/models/entity_create_beneficial_owner_params.rb +412 -0
  119. data/lib/increase/models/entity_create_params.rb +2318 -0
  120. data/lib/increase/models/entity_list_params.rb +135 -0
  121. data/lib/increase/models/entity_retrieve_params.rb +14 -0
  122. data/lib/increase/models/entity_supplemental_document.rb +72 -0
  123. data/lib/increase/models/entity_update_address_params.rb +76 -0
  124. data/lib/increase/models/entity_update_beneficial_owner_address_params.rb +95 -0
  125. data/lib/increase/models/entity_update_industry_code_params.rb +28 -0
  126. data/lib/increase/models/event.rb +363 -0
  127. data/lib/increase/models/event_list_params.rb +395 -0
  128. data/lib/increase/models/event_retrieve_params.rb +14 -0
  129. data/lib/increase/models/event_subscription.rb +408 -0
  130. data/lib/increase/models/event_subscription_create_params.rb +334 -0
  131. data/lib/increase/models/event_subscription_list_params.rb +45 -0
  132. data/lib/increase/models/event_subscription_retrieve_params.rb +14 -0
  133. data/lib/increase/models/event_subscription_update_params.rb +39 -0
  134. data/lib/increase/models/export.rb +152 -0
  135. data/lib/increase/models/export_create_params.rb +444 -0
  136. data/lib/increase/models/export_list_params.rb +188 -0
  137. data/lib/increase/models/export_retrieve_params.rb +14 -0
  138. data/lib/increase/models/external_account.rb +166 -0
  139. data/lib/increase/models/external_account_create_params.rb +92 -0
  140. data/lib/increase/models/external_account_list_params.rb +93 -0
  141. data/lib/increase/models/external_account_retrieve_params.rb +14 -0
  142. data/lib/increase/models/external_account_update_params.rb +91 -0
  143. data/lib/increase/models/file.rb +213 -0
  144. data/lib/increase/models/file_create_params.rb +99 -0
  145. data/lib/increase/models/file_link.rb +90 -0
  146. data/lib/increase/models/file_link_create_params.rb +34 -0
  147. data/lib/increase/models/file_list_params.rb +203 -0
  148. data/lib/increase/models/file_retrieve_params.rb +14 -0
  149. data/lib/increase/models/group.rb +104 -0
  150. data/lib/increase/models/group_retrieve_params.rb +14 -0
  151. data/lib/increase/models/inbound_ach_transfer.rb +1095 -0
  152. data/lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb +30 -0
  153. data/lib/increase/models/inbound_ach_transfer_decline_params.rb +69 -0
  154. data/lib/increase/models/inbound_ach_transfer_list_params.rb +145 -0
  155. data/lib/increase/models/inbound_ach_transfer_retrieve_params.rb +14 -0
  156. data/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb +67 -0
  157. data/lib/increase/models/inbound_check_deposit.rb +391 -0
  158. data/lib/increase/models/inbound_check_deposit_decline_params.rb +14 -0
  159. data/lib/increase/models/inbound_check_deposit_list_params.rb +100 -0
  160. data/lib/increase/models/inbound_check_deposit_retrieve_params.rb +14 -0
  161. data/lib/increase/models/inbound_check_deposit_return_params.rb +45 -0
  162. data/lib/increase/models/inbound_mail_item.rb +132 -0
  163. data/lib/increase/models/inbound_mail_item_list_params.rb +91 -0
  164. data/lib/increase/models/inbound_mail_item_retrieve_params.rb +14 -0
  165. data/lib/increase/models/inbound_real_time_payments_transfer.rb +290 -0
  166. data/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb +102 -0
  167. data/lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb +14 -0
  168. data/lib/increase/models/inbound_wire_drawdown_request.rb +221 -0
  169. data/lib/increase/models/inbound_wire_drawdown_request_list_params.rb +34 -0
  170. data/lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb +14 -0
  171. data/lib/increase/models/inbound_wire_transfer.rb +307 -0
  172. data/lib/increase/models/inbound_wire_transfer_list_params.rb +145 -0
  173. data/lib/increase/models/inbound_wire_transfer_retrieve_params.rb +14 -0
  174. data/lib/increase/models/inbound_wire_transfer_reverse_params.rb +36 -0
  175. data/lib/increase/models/intrafi_account_enrollment.rb +121 -0
  176. data/lib/increase/models/intrafi_account_enrollment_create_params.rb +30 -0
  177. data/lib/increase/models/intrafi_account_enrollment_list_params.rb +102 -0
  178. data/lib/increase/models/intrafi_account_enrollment_retrieve_params.rb +14 -0
  179. data/lib/increase/models/intrafi_account_enrollment_unenroll_params.rb +14 -0
  180. data/lib/increase/models/intrafi_balance.rb +180 -0
  181. data/lib/increase/models/intrafi_balance_intrafi_balance_params.rb +14 -0
  182. data/lib/increase/models/intrafi_exclusion.rb +134 -0
  183. data/lib/increase/models/intrafi_exclusion_archive_params.rb +14 -0
  184. data/lib/increase/models/intrafi_exclusion_create_params.rb +30 -0
  185. data/lib/increase/models/intrafi_exclusion_list_params.rb +53 -0
  186. data/lib/increase/models/intrafi_exclusion_retrieve_params.rb +14 -0
  187. data/lib/increase/models/lockbox.rb +182 -0
  188. data/lib/increase/models/lockbox_create_params.rb +38 -0
  189. data/lib/increase/models/lockbox_list_params.rb +102 -0
  190. data/lib/increase/models/lockbox_retrieve_params.rb +14 -0
  191. data/lib/increase/models/lockbox_update_params.rb +52 -0
  192. data/lib/increase/models/oauth_application.rb +106 -0
  193. data/lib/increase/models/oauth_application_list_params.rb +122 -0
  194. data/lib/increase/models/oauth_application_retrieve_params.rb +14 -0
  195. data/lib/increase/models/oauth_connection.rb +104 -0
  196. data/lib/increase/models/oauth_connection_list_params.rb +83 -0
  197. data/lib/increase/models/oauth_connection_retrieve_params.rb +14 -0
  198. data/lib/increase/models/oauth_token.rb +67 -0
  199. data/lib/increase/models/oauth_token_create_params.rb +78 -0
  200. data/lib/increase/models/pending_transaction.rb +1747 -0
  201. data/lib/increase/models/pending_transaction_create_params.rb +43 -0
  202. data/lib/increase/models/pending_transaction_list_params.rb +212 -0
  203. data/lib/increase/models/pending_transaction_release_params.rb +14 -0
  204. data/lib/increase/models/pending_transaction_retrieve_params.rb +14 -0
  205. data/lib/increase/models/physical_card.rb +433 -0
  206. data/lib/increase/models/physical_card_create_params.rb +185 -0
  207. data/lib/increase/models/physical_card_list_params.rb +102 -0
  208. data/lib/increase/models/physical_card_profile.rb +182 -0
  209. data/lib/increase/models/physical_card_profile_archive_params.rb +14 -0
  210. data/lib/increase/models/physical_card_profile_clone_params.rb +85 -0
  211. data/lib/increase/models/physical_card_profile_create_params.rb +93 -0
  212. data/lib/increase/models/physical_card_profile_list_params.rb +97 -0
  213. data/lib/increase/models/physical_card_profile_retrieve_params.rb +14 -0
  214. data/lib/increase/models/physical_card_retrieve_params.rb +14 -0
  215. data/lib/increase/models/physical_card_update_params.rb +39 -0
  216. data/lib/increase/models/program.rb +126 -0
  217. data/lib/increase/models/program_list_params.rb +34 -0
  218. data/lib/increase/models/program_retrieve_params.rb +14 -0
  219. data/lib/increase/models/real_time_decision.rb +1303 -0
  220. data/lib/increase/models/real_time_decision_action_params.rb +351 -0
  221. data/lib/increase/models/real_time_decision_retrieve_params.rb +14 -0
  222. data/lib/increase/models/real_time_payments_transfer.rb +622 -0
  223. data/lib/increase/models/real_time_payments_transfer_approve_params.rb +14 -0
  224. data/lib/increase/models/real_time_payments_transfer_cancel_params.rb +14 -0
  225. data/lib/increase/models/real_time_payments_transfer_create_params.rb +112 -0
  226. data/lib/increase/models/real_time_payments_transfer_list_params.rb +169 -0
  227. data/lib/increase/models/real_time_payments_transfer_retrieve_params.rb +14 -0
  228. data/lib/increase/models/routing_number_list_params.rb +42 -0
  229. data/lib/increase/models/routing_number_list_response.rb +125 -0
  230. data/lib/increase/models/simulations/account_statement_create_params.rb +24 -0
  231. data/lib/increase/models/simulations/account_transfer_complete_params.rb +16 -0
  232. data/lib/increase/models/simulations/ach_transfer_acknowledge_params.rb +16 -0
  233. data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +104 -0
  234. data/lib/increase/models/simulations/ach_transfer_return_params.rb +250 -0
  235. data/lib/increase/models/simulations/ach_transfer_settle_params.rb +16 -0
  236. data/lib/increase/models/simulations/ach_transfer_submit_params.rb +16 -0
  237. data/lib/increase/models/simulations/card_authorization_create_params.rb +309 -0
  238. data/lib/increase/models/simulations/card_authorization_create_response.rb +59 -0
  239. data/lib/increase/models/simulations/card_authorization_expiration_create_params.rb +24 -0
  240. data/lib/increase/models/simulations/card_dispute_action_params.rb +55 -0
  241. data/lib/increase/models/simulations/card_fuel_confirmation_create_params.rb +37 -0
  242. data/lib/increase/models/simulations/card_increment_create_params.rb +46 -0
  243. data/lib/increase/models/simulations/card_refund_create_params.rb +28 -0
  244. data/lib/increase/models/simulations/card_reversal_create_params.rb +36 -0
  245. data/lib/increase/models/simulations/card_settlement_create_params.rb +45 -0
  246. data/lib/increase/models/simulations/check_deposit_reject_params.rb +16 -0
  247. data/lib/increase/models/simulations/check_deposit_return_params.rb +16 -0
  248. data/lib/increase/models/simulations/check_deposit_submit_params.rb +16 -0
  249. data/lib/increase/models/simulations/check_transfer_mail_params.rb +16 -0
  250. data/lib/increase/models/simulations/digital_wallet_token_request_create_params.rb +24 -0
  251. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +83 -0
  252. data/lib/increase/models/simulations/document_create_params.rb +24 -0
  253. data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +241 -0
  254. data/lib/increase/models/simulations/inbound_check_deposit_create_params.rb +40 -0
  255. data/lib/increase/models/simulations/inbound_funds_hold_release_params.rb +16 -0
  256. data/lib/increase/models/simulations/inbound_funds_hold_release_response.rb +161 -0
  257. data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +44 -0
  258. data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +77 -0
  259. data/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +186 -0
  260. data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +171 -0
  261. data/lib/increase/models/simulations/interest_payment_create_params.rb +59 -0
  262. data/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +57 -0
  263. data/lib/increase/models/simulations/physical_card_tracking_updates_params.rb +81 -0
  264. data/lib/increase/models/simulations/program_create_params.rb +32 -0
  265. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +113 -0
  266. data/lib/increase/models/simulations/wire_transfer_reverse_params.rb +16 -0
  267. data/lib/increase/models/simulations/wire_transfer_submit_params.rb +16 -0
  268. data/lib/increase/models/supplemental_document_create_params.rb +30 -0
  269. data/lib/increase/models/supplemental_document_list_params.rb +53 -0
  270. data/lib/increase/models/transaction.rb +5823 -0
  271. data/lib/increase/models/transaction_list_params.rb +226 -0
  272. data/lib/increase/models/transaction_retrieve_params.rb +14 -0
  273. data/lib/increase/models/wire_drawdown_request.rb +249 -0
  274. data/lib/increase/models/wire_drawdown_request_create_params.rb +129 -0
  275. data/lib/increase/models/wire_drawdown_request_list_params.rb +91 -0
  276. data/lib/increase/models/wire_drawdown_request_retrieve_params.rb +14 -0
  277. data/lib/increase/models/wire_transfer.rb +677 -0
  278. data/lib/increase/models/wire_transfer_approve_params.rb +14 -0
  279. data/lib/increase/models/wire_transfer_cancel_params.rb +14 -0
  280. data/lib/increase/models/wire_transfer_create_params.rb +151 -0
  281. data/lib/increase/models/wire_transfer_list_params.rb +110 -0
  282. data/lib/increase/models/wire_transfer_retrieve_params.rb +14 -0
  283. data/lib/increase/models.rb +483 -0
  284. data/lib/increase/request_options.rb +77 -0
  285. data/lib/increase/resources/account_numbers.rb +130 -13
  286. data/lib/increase/resources/account_statements.rb +60 -9
  287. data/lib/increase/resources/account_transfers.rb +135 -15
  288. data/lib/increase/resources/accounts.rb +168 -15
  289. data/lib/increase/resources/ach_prenotifications.rb +109 -11
  290. data/lib/increase/resources/ach_transfers.rb +167 -15
  291. data/lib/increase/resources/bookkeeping_accounts.rb +120 -0
  292. data/lib/increase/resources/bookkeeping_entries.rb +64 -0
  293. data/lib/increase/resources/bookkeeping_entry_sets.rb +95 -0
  294. data/lib/increase/resources/card_disputes.rb +91 -11
  295. data/lib/increase/resources/card_payments.rb +68 -0
  296. data/lib/increase/resources/card_purchase_supplements.rb +66 -0
  297. data/lib/increase/resources/cards.rb +146 -15
  298. data/lib/increase/resources/check_deposits.rb +95 -11
  299. data/lib/increase/resources/check_transfers.rb +167 -17
  300. data/lib/increase/resources/declined_transactions.rb +64 -9
  301. data/lib/increase/resources/digital_card_profiles.rb +164 -0
  302. data/lib/increase/resources/digital_wallet_tokens.rb +60 -9
  303. data/lib/increase/resources/documents.rb +89 -10
  304. data/lib/increase/resources/entities.rb +293 -14
  305. data/lib/increase/resources/event_subscriptions.rb +113 -13
  306. data/lib/increase/resources/events.rb +62 -9
  307. data/lib/increase/resources/exports.rb +109 -0
  308. data/lib/increase/resources/external_accounts.rb +125 -13
  309. data/lib/increase/resources/file_links.rb +41 -0
  310. data/lib/increase/resources/files.rb +94 -11
  311. data/lib/increase/resources/groups.rb +26 -7
  312. data/lib/increase/resources/inbound_ach_transfers.rb +154 -0
  313. data/lib/increase/resources/inbound_check_deposits.rb +112 -0
  314. data/lib/increase/resources/inbound_mail_items.rb +66 -0
  315. data/lib/increase/resources/inbound_real_time_payments_transfers.rb +68 -0
  316. data/lib/increase/resources/inbound_wire_drawdown_requests.rb +56 -9
  317. data/lib/increase/resources/inbound_wire_transfers.rb +94 -0
  318. data/lib/increase/resources/intrafi_account_enrollments.rb +112 -0
  319. data/lib/increase/resources/intrafi_balances.rb +36 -0
  320. data/lib/increase/resources/intrafi_exclusions.rb +113 -0
  321. data/lib/increase/resources/lockboxes.rb +122 -0
  322. data/lib/increase/resources/oauth_applications.rb +66 -0
  323. data/lib/increase/resources/oauth_connections.rb +60 -9
  324. data/lib/increase/resources/oauth_tokens.rb +47 -0
  325. data/lib/increase/resources/pending_transactions.rb +122 -10
  326. data/lib/increase/resources/physical_card_profiles.rb +156 -0
  327. data/lib/increase/resources/physical_cards.rb +123 -0
  328. data/lib/increase/resources/programs.rb +62 -0
  329. data/lib/increase/resources/real_time_decisions.rb +63 -9
  330. data/lib/increase/resources/real_time_payments_transfers.rb +157 -0
  331. data/lib/increase/resources/routing_numbers.rb +41 -7
  332. data/lib/increase/resources/simulations/account_statements.rb +39 -0
  333. data/lib/increase/resources/simulations/account_transfers.rb +39 -0
  334. data/lib/increase/resources/simulations/ach_transfers.rb +151 -0
  335. data/lib/increase/resources/simulations/card_authorization_expirations.rb +38 -0
  336. data/lib/increase/resources/simulations/card_authorizations.rb +79 -0
  337. data/lib/increase/resources/simulations/card_disputes.rb +45 -0
  338. data/lib/increase/resources/simulations/card_fuel_confirmations.rb +46 -0
  339. data/lib/increase/resources/simulations/card_increments.rb +46 -0
  340. data/lib/increase/resources/simulations/card_refunds.rb +42 -0
  341. data/lib/increase/resources/simulations/card_reversals.rb +46 -0
  342. data/lib/increase/resources/simulations/card_settlements.rb +49 -0
  343. data/lib/increase/resources/simulations/check_deposits.rb +80 -0
  344. data/lib/increase/resources/simulations/check_transfers.rb +39 -0
  345. data/lib/increase/resources/simulations/digital_wallet_token_requests.rb +39 -0
  346. data/lib/increase/resources/simulations/documents.rb +38 -0
  347. data/lib/increase/resources/simulations/inbound_ach_transfers.rb +73 -0
  348. data/lib/increase/resources/simulations/inbound_check_deposits.rb +47 -0
  349. data/lib/increase/resources/simulations/inbound_funds_holds.rb +37 -0
  350. data/lib/increase/resources/simulations/inbound_mail_items.rb +46 -0
  351. data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +56 -0
  352. data/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +81 -0
  353. data/lib/increase/resources/simulations/inbound_wire_transfers.rb +74 -0
  354. data/lib/increase/resources/simulations/interest_payments.rb +50 -0
  355. data/lib/increase/resources/simulations/physical_cards.rb +79 -0
  356. data/lib/increase/resources/simulations/programs.rb +43 -0
  357. data/lib/increase/resources/simulations/real_time_payments_transfers.rb +43 -0
  358. data/lib/increase/resources/simulations/wire_transfers.rb +61 -0
  359. data/lib/increase/resources/simulations.rb +127 -0
  360. data/lib/increase/resources/supplemental_documents.rb +70 -0
  361. data/lib/increase/resources/transactions.rb +64 -9
  362. data/lib/increase/resources/wire_drawdown_requests.rb +109 -11
  363. data/lib/increase/resources/wire_transfers.rb +159 -15
  364. data/lib/increase/version.rb +1 -1
  365. data/lib/increase.rb +386 -22
  366. data/manifest.yaml +15 -0
  367. data/rbi/increase/client.rbi +221 -0
  368. data/rbi/increase/errors.rbi +206 -0
  369. data/rbi/increase/file_part.rbi +37 -0
  370. data/rbi/increase/internal/page.rbi +22 -0
  371. data/rbi/increase/internal/transport/base_client.rbi +293 -0
  372. data/rbi/increase/internal/transport/pooled_net_requester.rbi +79 -0
  373. data/rbi/increase/internal/type/array_of.rbi +104 -0
  374. data/rbi/increase/internal/type/base_model.rbi +302 -0
  375. data/rbi/increase/internal/type/base_page.rbi +42 -0
  376. data/rbi/increase/internal/type/boolean.rbi +56 -0
  377. data/rbi/increase/internal/type/converter.rbi +162 -0
  378. data/rbi/increase/internal/type/enum.rbi +82 -0
  379. data/rbi/increase/internal/type/file_input.rbi +59 -0
  380. data/rbi/increase/internal/type/hash_of.rbi +104 -0
  381. data/rbi/increase/internal/type/request_parameters.rbi +29 -0
  382. data/rbi/increase/internal/type/union.rbi +116 -0
  383. data/rbi/increase/internal/type/unknown.rbi +56 -0
  384. data/rbi/increase/internal/util.rbi +487 -0
  385. data/rbi/increase/internal.rbi +16 -0
  386. data/rbi/increase/models/account.rbi +269 -0
  387. data/rbi/increase/models/account_balance_params.rbi +43 -0
  388. data/rbi/increase/models/account_close_params.rbi +27 -0
  389. data/rbi/increase/models/account_create_params.rbi +80 -0
  390. data/rbi/increase/models/account_list_params.rbi +280 -0
  391. data/rbi/increase/models/account_number.rbi +348 -0
  392. data/rbi/increase/models/account_number_create_params.rbi +262 -0
  393. data/rbi/increase/models/account_number_list_params.rbi +396 -0
  394. data/rbi/increase/models/account_number_retrieve_params.rbi +30 -0
  395. data/rbi/increase/models/account_number_update_params.rbi +320 -0
  396. data/rbi/increase/models/account_retrieve_params.rbi +27 -0
  397. data/rbi/increase/models/account_statement.rbi +136 -0
  398. data/rbi/increase/models/account_statement_list_params.rbi +167 -0
  399. data/rbi/increase/models/account_statement_retrieve_params.rbi +30 -0
  400. data/rbi/increase/models/account_transfer.rbi +634 -0
  401. data/rbi/increase/models/account_transfer_approve_params.rbi +30 -0
  402. data/rbi/increase/models/account_transfer_cancel_params.rbi +30 -0
  403. data/rbi/increase/models/account_transfer_create_params.rbi +83 -0
  404. data/rbi/increase/models/account_transfer_list_params.rbi +177 -0
  405. data/rbi/increase/models/account_transfer_retrieve_params.rbi +30 -0
  406. data/rbi/increase/models/account_update_params.rbi +43 -0
  407. data/rbi/increase/models/ach_prenotification.rbi +1094 -0
  408. data/rbi/increase/models/ach_prenotification_create_params.rbi +294 -0
  409. data/rbi/increase/models/ach_prenotification_list_params.rbi +168 -0
  410. data/rbi/increase/models/ach_prenotification_retrieve_params.rbi +30 -0
  411. data/rbi/increase/models/ach_transfer.rbi +2672 -0
  412. data/rbi/increase/models/ach_transfer_approve_params.rbi +27 -0
  413. data/rbi/increase/models/ach_transfer_cancel_params.rbi +27 -0
  414. data/rbi/increase/models/ach_transfer_create_params.rbi +904 -0
  415. data/rbi/increase/models/ach_transfer_list_params.rbi +330 -0
  416. data/rbi/increase/models/ach_transfer_retrieve_params.rbi +30 -0
  417. data/rbi/increase/models/balance_lookup.rbi +90 -0
  418. data/rbi/increase/models/bookkeeping_account.rbi +165 -0
  419. data/rbi/increase/models/bookkeeping_account_balance_params.rbi +46 -0
  420. data/rbi/increase/models/bookkeeping_account_create_params.rbi +130 -0
  421. data/rbi/increase/models/bookkeeping_account_list_params.rbi +79 -0
  422. data/rbi/increase/models/bookkeeping_account_update_params.rbi +43 -0
  423. data/rbi/increase/models/bookkeeping_balance_lookup.rbi +85 -0
  424. data/rbi/increase/models/bookkeeping_entry.rbi +108 -0
  425. data/rbi/increase/models/bookkeeping_entry_list_params.rbi +73 -0
  426. data/rbi/increase/models/bookkeeping_entry_retrieve_params.rbi +30 -0
  427. data/rbi/increase/models/bookkeeping_entry_set.rbi +162 -0
  428. data/rbi/increase/models/bookkeeping_entry_set_create_params.rbi +110 -0
  429. data/rbi/increase/models/bookkeeping_entry_set_list_params.rbi +90 -0
  430. data/rbi/increase/models/bookkeeping_entry_set_retrieve_params.rbi +30 -0
  431. data/rbi/increase/models/card.rbi +317 -0
  432. data/rbi/increase/models/card_create_params.rbi +241 -0
  433. data/rbi/increase/models/card_details.rbi +103 -0
  434. data/rbi/increase/models/card_details_params.rbi +27 -0
  435. data/rbi/increase/models/card_dispute.rbi +425 -0
  436. data/rbi/increase/models/card_dispute_create_params.rbi +70 -0
  437. data/rbi/increase/models/card_dispute_list_params.rbi +289 -0
  438. data/rbi/increase/models/card_dispute_retrieve_params.rbi +30 -0
  439. data/rbi/increase/models/card_list_params.rbi +252 -0
  440. data/rbi/increase/models/card_payment.rbi +11956 -0
  441. data/rbi/increase/models/card_payment_list_params.rbi +168 -0
  442. data/rbi/increase/models/card_payment_retrieve_params.rbi +30 -0
  443. data/rbi/increase/models/card_purchase_supplement.rbi +687 -0
  444. data/rbi/increase/models/card_purchase_supplement_list_params.rbi +168 -0
  445. data/rbi/increase/models/card_purchase_supplement_retrieve_params.rbi +30 -0
  446. data/rbi/increase/models/card_retrieve_params.rbi +27 -0
  447. data/rbi/increase/models/card_update_params.rbi +267 -0
  448. data/rbi/increase/models/check_deposit.rbi +1393 -0
  449. data/rbi/increase/models/check_deposit_create_params.rbi +78 -0
  450. data/rbi/increase/models/check_deposit_list_params.rbi +174 -0
  451. data/rbi/increase/models/check_deposit_retrieve_params.rbi +30 -0
  452. data/rbi/increase/models/check_transfer.rbi +1670 -0
  453. data/rbi/increase/models/check_transfer_approve_params.rbi +30 -0
  454. data/rbi/increase/models/check_transfer_cancel_params.rbi +30 -0
  455. data/rbi/increase/models/check_transfer_create_params.rbi +573 -0
  456. data/rbi/increase/models/check_transfer_list_params.rbi +332 -0
  457. data/rbi/increase/models/check_transfer_retrieve_params.rbi +30 -0
  458. data/rbi/increase/models/check_transfer_stop_payment_params.rbi +99 -0
  459. data/rbi/increase/models/declined_transaction.rbi +3355 -0
  460. data/rbi/increase/models/declined_transaction_list_params.rbi +322 -0
  461. data/rbi/increase/models/declined_transaction_retrieve_params.rbi +30 -0
  462. data/rbi/increase/models/digital_card_profile.rbi +258 -0
  463. data/rbi/increase/models/digital_card_profile_archive_params.rbi +30 -0
  464. data/rbi/increase/models/digital_card_profile_clone_params.rbi +188 -0
  465. data/rbi/increase/models/digital_card_profile_create_params.rbi +174 -0
  466. data/rbi/increase/models/digital_card_profile_list_params.rbi +203 -0
  467. data/rbi/increase/models/digital_card_profile_retrieve_params.rbi +30 -0
  468. data/rbi/increase/models/digital_wallet_token.rbi +508 -0
  469. data/rbi/increase/models/digital_wallet_token_list_params.rbi +162 -0
  470. data/rbi/increase/models/digital_wallet_token_retrieve_params.rbi +30 -0
  471. data/rbi/increase/models/document.rbi +198 -0
  472. data/rbi/increase/models/document_create_params.rbi +132 -0
  473. data/rbi/increase/models/document_list_params.rbi +289 -0
  474. data/rbi/increase/models/document_retrieve_params.rbi +27 -0
  475. data/rbi/increase/models/entity.rbi +2531 -0
  476. data/rbi/increase/models/entity_archive_beneficial_owner_params.rbi +48 -0
  477. data/rbi/increase/models/entity_archive_params.rbi +27 -0
  478. data/rbi/increase/models/entity_confirm_params.rbi +45 -0
  479. data/rbi/increase/models/entity_create_beneficial_owner_params.rbi +764 -0
  480. data/rbi/increase/models/entity_create_params.rbi +4200 -0
  481. data/rbi/increase/models/entity_list_params.rbi +256 -0
  482. data/rbi/increase/models/entity_retrieve_params.rbi +27 -0
  483. data/rbi/increase/models/entity_supplemental_document.rbi +108 -0
  484. data/rbi/increase/models/entity_update_address_params.rbi +129 -0
  485. data/rbi/increase/models/entity_update_beneficial_owner_address_params.rbi +163 -0
  486. data/rbi/increase/models/entity_update_industry_code_params.rbi +49 -0
  487. data/rbi/increase/models/event.rbi +698 -0
  488. data/rbi/increase/models/event_list_params.rbi +862 -0
  489. data/rbi/increase/models/event_retrieve_params.rbi +27 -0
  490. data/rbi/increase/models/event_subscription.rbi +833 -0
  491. data/rbi/increase/models/event_subscription_create_params.rbi +753 -0
  492. data/rbi/increase/models/event_subscription_list_params.rbi +79 -0
  493. data/rbi/increase/models/event_subscription_retrieve_params.rbi +30 -0
  494. data/rbi/increase/models/event_subscription_update_params.rbi +99 -0
  495. data/rbi/increase/models/export.rbi +196 -0
  496. data/rbi/increase/models/export_create_params.rbi +933 -0
  497. data/rbi/increase/models/export_list_params.rbi +386 -0
  498. data/rbi/increase/models/export_retrieve_params.rbi +27 -0
  499. data/rbi/increase/models/external_account.rbi +236 -0
  500. data/rbi/increase/models/external_account_create_params.rbi +191 -0
  501. data/rbi/increase/models/external_account_list_params.rbi +198 -0
  502. data/rbi/increase/models/external_account_retrieve_params.rbi +30 -0
  503. data/rbi/increase/models/external_account_update_params.rbi +223 -0
  504. data/rbi/increase/models/file.rbi +291 -0
  505. data/rbi/increase/models/file_create_params.rbi +188 -0
  506. data/rbi/increase/models/file_link.rbi +115 -0
  507. data/rbi/increase/models/file_link_create_params.rbi +56 -0
  508. data/rbi/increase/models/file_list_params.rbi +410 -0
  509. data/rbi/increase/models/file_retrieve_params.rbi +27 -0
  510. data/rbi/increase/models/group.rbi +139 -0
  511. data/rbi/increase/models/group_retrieve_params.rbi +27 -0
  512. data/rbi/increase/models/inbound_ach_transfer.rbi +1898 -0
  513. data/rbi/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbi +60 -0
  514. data/rbi/increase/models/inbound_ach_transfer_decline_params.rbi +154 -0
  515. data/rbi/increase/models/inbound_ach_transfer_list_params.rbi +297 -0
  516. data/rbi/increase/models/inbound_ach_transfer_retrieve_params.rbi +30 -0
  517. data/rbi/increase/models/inbound_ach_transfer_transfer_return_params.rbi +149 -0
  518. data/rbi/increase/models/inbound_check_deposit.rbi +609 -0
  519. data/rbi/increase/models/inbound_check_deposit_decline_params.rbi +30 -0
  520. data/rbi/increase/models/inbound_check_deposit_list_params.rbi +176 -0
  521. data/rbi/increase/models/inbound_check_deposit_retrieve_params.rbi +30 -0
  522. data/rbi/increase/models/inbound_check_deposit_return_params.rbi +104 -0
  523. data/rbi/increase/models/inbound_mail_item.rbi +201 -0
  524. data/rbi/increase/models/inbound_mail_item_list_params.rbi +160 -0
  525. data/rbi/increase/models/inbound_mail_item_retrieve_params.rbi +30 -0
  526. data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +516 -0
  527. data/rbi/increase/models/inbound_real_time_payments_transfer_list_params.rbi +184 -0
  528. data/rbi/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbi +30 -0
  529. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +261 -0
  530. data/rbi/increase/models/inbound_wire_drawdown_request_list_params.rbi +62 -0
  531. data/rbi/increase/models/inbound_wire_drawdown_request_retrieve_params.rbi +30 -0
  532. data/rbi/increase/models/inbound_wire_transfer.rbi +400 -0
  533. data/rbi/increase/models/inbound_wire_transfer_list_params.rbi +300 -0
  534. data/rbi/increase/models/inbound_wire_transfer_retrieve_params.rbi +30 -0
  535. data/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi +84 -0
  536. data/rbi/increase/models/intrafi_account_enrollment.rbi +185 -0
  537. data/rbi/increase/models/intrafi_account_enrollment_create_params.rbi +54 -0
  538. data/rbi/increase/models/intrafi_account_enrollment_list_params.rbi +226 -0
  539. data/rbi/increase/models/intrafi_account_enrollment_retrieve_params.rbi +30 -0
  540. data/rbi/increase/models/intrafi_account_enrollment_unenroll_params.rbi +30 -0
  541. data/rbi/increase/models/intrafi_balance.rbi +262 -0
  542. data/rbi/increase/models/intrafi_balance_intrafi_balance_params.rbi +30 -0
  543. data/rbi/increase/models/intrafi_exclusion.rbi +176 -0
  544. data/rbi/increase/models/intrafi_exclusion_archive_params.rbi +30 -0
  545. data/rbi/increase/models/intrafi_exclusion_create_params.rbi +54 -0
  546. data/rbi/increase/models/intrafi_exclusion_list_params.rbi +90 -0
  547. data/rbi/increase/models/intrafi_exclusion_retrieve_params.rbi +30 -0
  548. data/rbi/increase/models/lockbox.rbi +232 -0
  549. data/rbi/increase/models/lockbox_create_params.rbi +65 -0
  550. data/rbi/increase/models/lockbox_list_params.rbi +172 -0
  551. data/rbi/increase/models/lockbox_retrieve_params.rbi +27 -0
  552. data/rbi/increase/models/lockbox_update_params.rbi +97 -0
  553. data/rbi/increase/models/oauth_application.rbi +146 -0
  554. data/rbi/increase/models/oauth_application_list_params.rbi +259 -0
  555. data/rbi/increase/models/oauth_application_retrieve_params.rbi +30 -0
  556. data/rbi/increase/models/oauth_connection.rbi +142 -0
  557. data/rbi/increase/models/oauth_connection_list_params.rbi +183 -0
  558. data/rbi/increase/models/oauth_connection_retrieve_params.rbi +30 -0
  559. data/rbi/increase/models/oauth_token.rbi +98 -0
  560. data/rbi/increase/models/oauth_token_create_params.rbi +133 -0
  561. data/rbi/increase/models/pending_transaction.rbi +3220 -0
  562. data/rbi/increase/models/pending_transaction_create_params.rbi +69 -0
  563. data/rbi/increase/models/pending_transaction_list_params.rbi +475 -0
  564. data/rbi/increase/models/pending_transaction_release_params.rbi +30 -0
  565. data/rbi/increase/models/pending_transaction_retrieve_params.rbi +30 -0
  566. data/rbi/increase/models/physical_card.rbi +691 -0
  567. data/rbi/increase/models/physical_card_create_params.rbi +327 -0
  568. data/rbi/increase/models/physical_card_list_params.rbi +174 -0
  569. data/rbi/increase/models/physical_card_profile.rbi +245 -0
  570. data/rbi/increase/models/physical_card_profile_archive_params.rbi +30 -0
  571. data/rbi/increase/models/physical_card_profile_clone_params.rbi +143 -0
  572. data/rbi/increase/models/physical_card_profile_create_params.rbi +139 -0
  573. data/rbi/increase/models/physical_card_profile_list_params.rbi +219 -0
  574. data/rbi/increase/models/physical_card_profile_retrieve_params.rbi +30 -0
  575. data/rbi/increase/models/physical_card_retrieve_params.rbi +30 -0
  576. data/rbi/increase/models/physical_card_update_params.rbi +83 -0
  577. data/rbi/increase/models/program.rbi +155 -0
  578. data/rbi/increase/models/program_list_params.rbi +59 -0
  579. data/rbi/increase/models/program_retrieve_params.rbi +27 -0
  580. data/rbi/increase/models/real_time_decision.rbi +2466 -0
  581. data/rbi/increase/models/real_time_decision_action_params.rbi +806 -0
  582. data/rbi/increase/models/real_time_decision_retrieve_params.rbi +30 -0
  583. data/rbi/increase/models/real_time_payments_transfer.rbi +1151 -0
  584. data/rbi/increase/models/real_time_payments_transfer_approve_params.rbi +30 -0
  585. data/rbi/increase/models/real_time_payments_transfer_cancel_params.rbi +30 -0
  586. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +161 -0
  587. data/rbi/increase/models/real_time_payments_transfer_list_params.rbi +351 -0
  588. data/rbi/increase/models/real_time_payments_transfer_retrieve_params.rbi +30 -0
  589. data/rbi/increase/models/routing_number_list_params.rbi +67 -0
  590. data/rbi/increase/models/routing_number_list_response.rbi +246 -0
  591. data/rbi/increase/models/simulations/account_statement_create_params.rbi +45 -0
  592. data/rbi/increase/models/simulations/account_transfer_complete_params.rbi +32 -0
  593. data/rbi/increase/models/simulations/ach_transfer_acknowledge_params.rbi +32 -0
  594. data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +219 -0
  595. data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +581 -0
  596. data/rbi/increase/models/simulations/ach_transfer_settle_params.rbi +32 -0
  597. data/rbi/increase/models/simulations/ach_transfer_submit_params.rbi +32 -0
  598. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +648 -0
  599. data/rbi/increase/models/simulations/card_authorization_create_response.rbi +123 -0
  600. data/rbi/increase/models/simulations/card_authorization_expiration_create_params.rbi +48 -0
  601. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +124 -0
  602. data/rbi/increase/models/simulations/card_fuel_confirmation_create_params.rbi +58 -0
  603. data/rbi/increase/models/simulations/card_increment_create_params.rbi +73 -0
  604. data/rbi/increase/models/simulations/card_refund_create_params.rbi +50 -0
  605. data/rbi/increase/models/simulations/card_reversal_create_params.rbi +61 -0
  606. data/rbi/increase/models/simulations/card_settlement_create_params.rbi +71 -0
  607. data/rbi/increase/models/simulations/check_deposit_reject_params.rbi +32 -0
  608. data/rbi/increase/models/simulations/check_deposit_return_params.rbi +32 -0
  609. data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +32 -0
  610. data/rbi/increase/models/simulations/check_transfer_mail_params.rbi +32 -0
  611. data/rbi/increase/models/simulations/digital_wallet_token_request_create_params.rbi +45 -0
  612. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +167 -0
  613. data/rbi/increase/models/simulations/document_create_params.rbi +45 -0
  614. data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +508 -0
  615. data/rbi/increase/models/simulations/inbound_check_deposit_create_params.rbi +64 -0
  616. data/rbi/increase/models/simulations/inbound_funds_hold_release_params.rbi +32 -0
  617. data/rbi/increase/models/simulations/inbound_funds_hold_release_response.rbi +280 -0
  618. data/rbi/increase/models/simulations/inbound_mail_item_create_params.rbi +69 -0
  619. data/rbi/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbi +113 -0
  620. data/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi +248 -0
  621. data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +251 -0
  622. data/rbi/increase/models/simulations/interest_payment_create_params.rbi +89 -0
  623. data/rbi/increase/models/simulations/physical_card_advance_shipment_params.rbi +134 -0
  624. data/rbi/increase/models/simulations/physical_card_tracking_updates_params.rbi +152 -0
  625. data/rbi/increase/models/simulations/program_create_params.rbi +59 -0
  626. data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +277 -0
  627. data/rbi/increase/models/simulations/wire_transfer_reverse_params.rbi +32 -0
  628. data/rbi/increase/models/simulations/wire_transfer_submit_params.rbi +32 -0
  629. data/rbi/increase/models/supplemental_document_create_params.rbi +54 -0
  630. data/rbi/increase/models/supplemental_document_list_params.rbi +87 -0
  631. data/rbi/increase/models/transaction.rbi +10456 -0
  632. data/rbi/increase/models/transaction_list_params.rbi +473 -0
  633. data/rbi/increase/models/transaction_retrieve_params.rbi +30 -0
  634. data/rbi/increase/models/wire_drawdown_request.rbi +324 -0
  635. data/rbi/increase/models/wire_drawdown_request_create_params.rbi +179 -0
  636. data/rbi/increase/models/wire_drawdown_request_list_params.rbi +205 -0
  637. data/rbi/increase/models/wire_drawdown_request_retrieve_params.rbi +30 -0
  638. data/rbi/increase/models/wire_transfer.rbi +974 -0
  639. data/rbi/increase/models/wire_transfer_approve_params.rbi +30 -0
  640. data/rbi/increase/models/wire_transfer_cancel_params.rbi +27 -0
  641. data/rbi/increase/models/wire_transfer_create_params.rbi +211 -0
  642. data/rbi/increase/models/wire_transfer_list_params.rbi +185 -0
  643. data/rbi/increase/models/wire_transfer_retrieve_params.rbi +30 -0
  644. data/rbi/increase/models.rbi +517 -0
  645. data/rbi/increase/request_options.rbi +59 -0
  646. data/rbi/increase/resources/account_numbers.rbi +113 -0
  647. data/rbi/increase/resources/account_statements.rbi +50 -0
  648. data/rbi/increase/resources/account_transfers.rbi +110 -0
  649. data/rbi/increase/resources/accounts.rbi +137 -0
  650. data/rbi/increase/resources/ach_prenotifications.rbi +107 -0
  651. data/rbi/increase/resources/ach_transfers.rbi +179 -0
  652. data/rbi/increase/resources/bookkeeping_accounts.rbi +94 -0
  653. data/rbi/increase/resources/bookkeeping_entries.rbi +47 -0
  654. data/rbi/increase/resources/bookkeeping_entry_sets.rbi +75 -0
  655. data/rbi/increase/resources/card_disputes.rbi +78 -0
  656. data/rbi/increase/resources/card_payments.rbi +52 -0
  657. data/rbi/increase/resources/card_purchase_supplements.rbi +51 -0
  658. data/rbi/increase/resources/cards.rbi +134 -0
  659. data/rbi/increase/resources/check_deposits.rbi +81 -0
  660. data/rbi/increase/resources/check_transfers.rbi +146 -0
  661. data/rbi/increase/resources/declined_transactions.rbi +55 -0
  662. data/rbi/increase/resources/digital_card_profiles.rbi +147 -0
  663. data/rbi/increase/resources/digital_wallet_tokens.rbi +49 -0
  664. data/rbi/increase/resources/documents.rbi +75 -0
  665. data/rbi/increase/resources/entities.rbi +241 -0
  666. data/rbi/increase/resources/event_subscriptions.rbi +94 -0
  667. data/rbi/increase/resources/events.rbi +51 -0
  668. data/rbi/increase/resources/exports.rbi +94 -0
  669. data/rbi/increase/resources/external_accounts.rbi +110 -0
  670. data/rbi/increase/resources/file_links.rbi +30 -0
  671. data/rbi/increase/resources/files.rbi +78 -0
  672. data/rbi/increase/resources/groups.rbi +21 -0
  673. data/rbi/increase/resources/inbound_ach_transfers.rbi +114 -0
  674. data/rbi/increase/resources/inbound_check_deposits.rbi +85 -0
  675. data/rbi/increase/resources/inbound_mail_items.rbi +49 -0
  676. data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +57 -0
  677. data/rbi/increase/resources/inbound_wire_drawdown_requests.rbi +46 -0
  678. data/rbi/increase/resources/inbound_wire_transfers.rbi +72 -0
  679. data/rbi/increase/resources/intrafi_account_enrollments.rbi +86 -0
  680. data/rbi/increase/resources/intrafi_balances.rbi +28 -0
  681. data/rbi/increase/resources/intrafi_exclusions.rbi +86 -0
  682. data/rbi/increase/resources/lockboxes.rbi +98 -0
  683. data/rbi/increase/resources/oauth_applications.rbi +48 -0
  684. data/rbi/increase/resources/oauth_connections.rbi +50 -0
  685. data/rbi/increase/resources/oauth_tokens.rbi +44 -0
  686. data/rbi/increase/resources/pending_transactions.rbi +98 -0
  687. data/rbi/increase/resources/physical_card_profiles.rbi +128 -0
  688. data/rbi/increase/resources/physical_cards.rbi +96 -0
  689. data/rbi/increase/resources/programs.rbi +44 -0
  690. data/rbi/increase/resources/real_time_decisions.rbi +65 -0
  691. data/rbi/increase/resources/real_time_payments_transfers.rbi +141 -0
  692. data/rbi/increase/resources/routing_numbers.rbi +38 -0
  693. data/rbi/increase/resources/simulations/account_statements.rbi +29 -0
  694. data/rbi/increase/resources/simulations/account_transfers.rbi +31 -0
  695. data/rbi/increase/resources/simulations/ach_transfers.rbi +115 -0
  696. data/rbi/increase/resources/simulations/card_authorization_expirations.rbi +28 -0
  697. data/rbi/increase/resources/simulations/card_authorizations.rbi +97 -0
  698. data/rbi/increase/resources/simulations/card_disputes.rbi +38 -0
  699. data/rbi/increase/resources/simulations/card_fuel_confirmations.rbi +34 -0
  700. data/rbi/increase/resources/simulations/card_increments.rbi +38 -0
  701. data/rbi/increase/resources/simulations/card_refunds.rbi +30 -0
  702. data/rbi/increase/resources/simulations/card_reversals.rbi +35 -0
  703. data/rbi/increase/resources/simulations/card_settlements.rbi +40 -0
  704. data/rbi/increase/resources/simulations/check_deposits.rbi +60 -0
  705. data/rbi/increase/resources/simulations/check_transfers.rbi +31 -0
  706. data/rbi/increase/resources/simulations/digital_wallet_token_requests.rbi +31 -0
  707. data/rbi/increase/resources/simulations/documents.rbi +28 -0
  708. data/rbi/increase/resources/simulations/inbound_ach_transfers.rbi +75 -0
  709. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +39 -0
  710. data/rbi/increase/resources/simulations/inbound_funds_holds.rbi +31 -0
  711. data/rbi/increase/resources/simulations/inbound_mail_items.rbi +36 -0
  712. data/rbi/increase/resources/simulations/inbound_real_time_payments_transfers.rbi +49 -0
  713. data/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi +92 -0
  714. data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +91 -0
  715. data/rbi/increase/resources/simulations/interest_payments.rbi +41 -0
  716. data/rbi/increase/resources/simulations/physical_cards.rbi +66 -0
  717. data/rbi/increase/resources/simulations/programs.rbi +34 -0
  718. data/rbi/increase/resources/simulations/real_time_payments_transfers.rbi +35 -0
  719. data/rbi/increase/resources/simulations/wire_transfers.rbi +47 -0
  720. data/rbi/increase/resources/simulations.rbi +105 -0
  721. data/rbi/increase/resources/supplemental_documents.rbi +58 -0
  722. data/rbi/increase/resources/transactions.rbi +55 -0
  723. data/rbi/increase/resources/wire_drawdown_requests.rbi +110 -0
  724. data/rbi/increase/resources/wire_transfers.rbi +151 -0
  725. data/rbi/increase/version.rbi +5 -0
  726. data/sig/increase/client.rbs +135 -0
  727. data/sig/increase/errors.rbs +145 -0
  728. data/sig/increase/file_part.rbs +21 -0
  729. data/sig/increase/internal/page.rbs +13 -0
  730. data/sig/increase/internal/transport/base_client.rbs +131 -0
  731. data/sig/increase/internal/transport/pooled_net_requester.rbs +45 -0
  732. data/sig/increase/internal/type/array_of.rbs +48 -0
  733. data/sig/increase/internal/type/base_model.rbs +102 -0
  734. data/sig/increase/internal/type/base_page.rbs +24 -0
  735. data/sig/increase/internal/type/boolean.rbs +26 -0
  736. data/sig/increase/internal/type/converter.rbs +56 -0
  737. data/sig/increase/internal/type/enum.rbs +32 -0
  738. data/sig/increase/internal/type/file_input.rbs +25 -0
  739. data/sig/increase/internal/type/hash_of.rbs +48 -0
  740. data/sig/increase/internal/type/request_parameters.rbs +17 -0
  741. data/sig/increase/internal/type/union.rbs +52 -0
  742. data/sig/increase/internal/type/unknown.rbs +26 -0
  743. data/sig/increase/internal/util.rbs +185 -0
  744. data/sig/increase/internal.rbs +9 -0
  745. data/sig/increase/models/account.rbs +157 -0
  746. data/sig/increase/models/account_balance_params.rbs +25 -0
  747. data/sig/increase/models/account_close_params.rbs +15 -0
  748. data/sig/increase/models/account_create_params.rbs +47 -0
  749. data/sig/increase/models/account_list_params.rbs +149 -0
  750. data/sig/increase/models/account_number.rbs +157 -0
  751. data/sig/increase/models/account_number_create_params.rbs +111 -0
  752. data/sig/increase/models/account_number_list_params.rbs +182 -0
  753. data/sig/increase/models/account_number_retrieve_params.rbs +15 -0
  754. data/sig/increase/models/account_number_update_params.rbs +138 -0
  755. data/sig/increase/models/account_retrieve_params.rbs +15 -0
  756. data/sig/increase/models/account_statement.rbs +70 -0
  757. data/sig/increase/models/account_statement_list_params.rbs +86 -0
  758. data/sig/increase/models/account_statement_retrieve_params.rbs +15 -0
  759. data/sig/increase/models/account_transfer.rbs +266 -0
  760. data/sig/increase/models/account_transfer_approve_params.rbs +15 -0
  761. data/sig/increase/models/account_transfer_cancel_params.rbs +15 -0
  762. data/sig/increase/models/account_transfer_create_params.rbs +48 -0
  763. data/sig/increase/models/account_transfer_list_params.rbs +93 -0
  764. data/sig/increase/models/account_transfer_retrieve_params.rbs +15 -0
  765. data/sig/increase/models/account_update_params.rbs +25 -0
  766. data/sig/increase/models/ach_prenotification.rbs +561 -0
  767. data/sig/increase/models/ach_prenotification_create_params.rbs +148 -0
  768. data/sig/increase/models/ach_prenotification_list_params.rbs +86 -0
  769. data/sig/increase/models/ach_prenotification_retrieve_params.rbs +15 -0
  770. data/sig/increase/models/ach_transfer.rbs +1207 -0
  771. data/sig/increase/models/ach_transfer_approve_params.rbs +15 -0
  772. data/sig/increase/models/ach_transfer_cancel_params.rbs +15 -0
  773. data/sig/increase/models/ach_transfer_create_params.rbs +379 -0
  774. data/sig/increase/models/ach_transfer_list_params.rbs +172 -0
  775. data/sig/increase/models/ach_transfer_retrieve_params.rbs +15 -0
  776. data/sig/increase/models/balance_lookup.rbs +45 -0
  777. data/sig/increase/models/bookkeeping_account.rbs +74 -0
  778. data/sig/increase/models/bookkeeping_account_balance_params.rbs +25 -0
  779. data/sig/increase/models/bookkeeping_account_create_params.rbs +63 -0
  780. data/sig/increase/models/bookkeeping_account_list_params.rbs +38 -0
  781. data/sig/increase/models/bookkeeping_account_update_params.rbs +23 -0
  782. data/sig/increase/models/bookkeeping_balance_lookup.rbs +40 -0
  783. data/sig/increase/models/bookkeeping_entry.rbs +55 -0
  784. data/sig/increase/models/bookkeeping_entry_list_params.rbs +38 -0
  785. data/sig/increase/models/bookkeeping_entry_retrieve_params.rbs +15 -0
  786. data/sig/increase/models/bookkeeping_entry_set.rbs +78 -0
  787. data/sig/increase/models/bookkeeping_entry_set_create_params.rbs +52 -0
  788. data/sig/increase/models/bookkeeping_entry_set_list_params.rbs +49 -0
  789. data/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs +15 -0
  790. data/sig/increase/models/card.rbs +167 -0
  791. data/sig/increase/models/card_create_params.rbs +126 -0
  792. data/sig/increase/models/card_details.rbs +55 -0
  793. data/sig/increase/models/card_details_params.rbs +15 -0
  794. data/sig/increase/models/card_dispute.rbs +207 -0
  795. data/sig/increase/models/card_dispute_create_params.rbs +34 -0
  796. data/sig/increase/models/card_dispute_list_params.rbs +146 -0
  797. data/sig/increase/models/card_dispute_retrieve_params.rbs +15 -0
  798. data/sig/increase/models/card_list_params.rbs +138 -0
  799. data/sig/increase/models/card_payment.rbs +4955 -0
  800. data/sig/increase/models/card_payment_list_params.rbs +93 -0
  801. data/sig/increase/models/card_payment_retrieve_params.rbs +15 -0
  802. data/sig/increase/models/card_purchase_supplement.rbs +329 -0
  803. data/sig/increase/models/card_purchase_supplement_list_params.rbs +86 -0
  804. data/sig/increase/models/card_purchase_supplement_retrieve_params.rbs +15 -0
  805. data/sig/increase/models/card_retrieve_params.rbs +15 -0
  806. data/sig/increase/models/card_update_params.rbs +147 -0
  807. data/sig/increase/models/check_deposit.rbs +643 -0
  808. data/sig/increase/models/check_deposit_create_params.rbs +48 -0
  809. data/sig/increase/models/check_deposit_list_params.rbs +93 -0
  810. data/sig/increase/models/check_deposit_retrieve_params.rbs +15 -0
  811. data/sig/increase/models/check_transfer.rbs +729 -0
  812. data/sig/increase/models/check_transfer_approve_params.rbs +15 -0
  813. data/sig/increase/models/check_transfer_cancel_params.rbs +15 -0
  814. data/sig/increase/models/check_transfer_create_params.rbs +262 -0
  815. data/sig/increase/models/check_transfer_list_params.rbs +169 -0
  816. data/sig/increase/models/check_transfer_retrieve_params.rbs +15 -0
  817. data/sig/increase/models/check_transfer_stop_payment_params.rbs +45 -0
  818. data/sig/increase/models/declined_transaction.rbs +1469 -0
  819. data/sig/increase/models/declined_transaction_list_params.rbs +159 -0
  820. data/sig/increase/models/declined_transaction_retrieve_params.rbs +15 -0
  821. data/sig/increase/models/digital_card_profile.rbs +129 -0
  822. data/sig/increase/models/digital_card_profile_archive_params.rbs +15 -0
  823. data/sig/increase/models/digital_card_profile_clone_params.rbs +100 -0
  824. data/sig/increase/models/digital_card_profile_create_params.rbs +90 -0
  825. data/sig/increase/models/digital_card_profile_list_params.rbs +92 -0
  826. data/sig/increase/models/digital_card_profile_retrieve_params.rbs +15 -0
  827. data/sig/increase/models/digital_wallet_token.rbs +238 -0
  828. data/sig/increase/models/digital_wallet_token_list_params.rbs +86 -0
  829. data/sig/increase/models/digital_wallet_token_retrieve_params.rbs +15 -0
  830. data/sig/increase/models/document.rbs +103 -0
  831. data/sig/increase/models/document_create_params.rbs +61 -0
  832. data/sig/increase/models/document_list_params.rbs +149 -0
  833. data/sig/increase/models/document_retrieve_params.rbs +15 -0
  834. data/sig/increase/models/entity.rbs +1170 -0
  835. data/sig/increase/models/entity_archive_beneficial_owner_params.rbs +24 -0
  836. data/sig/increase/models/entity_archive_params.rbs +15 -0
  837. data/sig/increase/models/entity_confirm_params.rbs +25 -0
  838. data/sig/increase/models/entity_create_beneficial_owner_params.rbs +333 -0
  839. data/sig/increase/models/entity_create_params.rbs +1889 -0
  840. data/sig/increase/models/entity_list_params.rbs +131 -0
  841. data/sig/increase/models/entity_retrieve_params.rbs +15 -0
  842. data/sig/increase/models/entity_supplemental_document.rbs +50 -0
  843. data/sig/increase/models/entity_update_address_params.rbs +63 -0
  844. data/sig/increase/models/entity_update_beneficial_owner_address_params.rbs +81 -0
  845. data/sig/increase/models/entity_update_industry_code_params.rbs +23 -0
  846. data/sig/increase/models/event.rbs +423 -0
  847. data/sig/increase/models/event_list_params.rbs +482 -0
  848. data/sig/increase/models/event_retrieve_params.rbs +15 -0
  849. data/sig/increase/models/event_subscription.rbs +453 -0
  850. data/sig/increase/models/event_subscription_create_params.rbs +417 -0
  851. data/sig/increase/models/event_subscription_list_params.rbs +38 -0
  852. data/sig/increase/models/event_subscription_retrieve_params.rbs +15 -0
  853. data/sig/increase/models/event_subscription_update_params.rbs +45 -0
  854. data/sig/increase/models/export.rbs +118 -0
  855. data/sig/increase/models/export_create_params.rbs +427 -0
  856. data/sig/increase/models/export_list_params.rbs +195 -0
  857. data/sig/increase/models/export_retrieve_params.rbs +15 -0
  858. data/sig/increase/models/external_account.rbs +123 -0
  859. data/sig/increase/models/external_account_create_params.rbs +88 -0
  860. data/sig/increase/models/external_account_list_params.rbs +93 -0
  861. data/sig/increase/models/external_account_retrieve_params.rbs +15 -0
  862. data/sig/increase/models/external_account_update_params.rbs +100 -0
  863. data/sig/increase/models/file.rbs +196 -0
  864. data/sig/increase/models/file_create_params.rbs +110 -0
  865. data/sig/increase/models/file_link.rbs +60 -0
  866. data/sig/increase/models/file_link_create_params.rbs +30 -0
  867. data/sig/increase/models/file_list_params.rbs +226 -0
  868. data/sig/increase/models/file_retrieve_params.rbs +15 -0
  869. data/sig/increase/models/group.rbs +78 -0
  870. data/sig/increase/models/group_retrieve_params.rbs +15 -0
  871. data/sig/increase/models/inbound_ach_transfer.rbs +886 -0
  872. data/sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs +32 -0
  873. data/sig/increase/models/inbound_ach_transfer_decline_params.rbs +76 -0
  874. data/sig/increase/models/inbound_ach_transfer_list_params.rbs +143 -0
  875. data/sig/increase/models/inbound_ach_transfer_retrieve_params.rbs +15 -0
  876. data/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs +74 -0
  877. data/sig/increase/models/inbound_check_deposit.rbs +304 -0
  878. data/sig/increase/models/inbound_check_deposit_decline_params.rbs +15 -0
  879. data/sig/increase/models/inbound_check_deposit_list_params.rbs +93 -0
  880. data/sig/increase/models/inbound_check_deposit_retrieve_params.rbs +15 -0
  881. data/sig/increase/models/inbound_check_deposit_return_params.rbs +52 -0
  882. data/sig/increase/models/inbound_mail_item.rbs +100 -0
  883. data/sig/increase/models/inbound_mail_item_list_params.rbs +86 -0
  884. data/sig/increase/models/inbound_mail_item_retrieve_params.rbs +15 -0
  885. data/sig/increase/models/inbound_real_time_payments_transfer.rbs +222 -0
  886. data/sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs +93 -0
  887. data/sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs +15 -0
  888. data/sig/increase/models/inbound_wire_drawdown_request.rbs +140 -0
  889. data/sig/increase/models/inbound_wire_drawdown_request_list_params.rbs +32 -0
  890. data/sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs +15 -0
  891. data/sig/increase/models/inbound_wire_transfer.rbs +211 -0
  892. data/sig/increase/models/inbound_wire_transfer_list_params.rbs +143 -0
  893. data/sig/increase/models/inbound_wire_transfer_retrieve_params.rbs +15 -0
  894. data/sig/increase/models/inbound_wire_transfer_reverse_params.rbs +38 -0
  895. data/sig/increase/models/intrafi_account_enrollment.rbs +88 -0
  896. data/sig/increase/models/intrafi_account_enrollment_create_params.rbs +28 -0
  897. data/sig/increase/models/intrafi_account_enrollment_list_params.rbs +107 -0
  898. data/sig/increase/models/intrafi_account_enrollment_retrieve_params.rbs +15 -0
  899. data/sig/increase/models/intrafi_account_enrollment_unenroll_params.rbs +15 -0
  900. data/sig/increase/models/intrafi_balance.rbs +130 -0
  901. data/sig/increase/models/intrafi_balance_intrafi_balance_params.rbs +15 -0
  902. data/sig/increase/models/intrafi_exclusion.rbs +92 -0
  903. data/sig/increase/models/intrafi_exclusion_archive_params.rbs +15 -0
  904. data/sig/increase/models/intrafi_exclusion_create_params.rbs +28 -0
  905. data/sig/increase/models/intrafi_exclusion_list_params.rbs +49 -0
  906. data/sig/increase/models/intrafi_exclusion_retrieve_params.rbs +15 -0
  907. data/sig/increase/models/lockbox.rbs +126 -0
  908. data/sig/increase/models/lockbox_create_params.rbs +36 -0
  909. data/sig/increase/models/lockbox_list_params.rbs +93 -0
  910. data/sig/increase/models/lockbox_retrieve_params.rbs +15 -0
  911. data/sig/increase/models/lockbox_update_params.rbs +58 -0
  912. data/sig/increase/models/oauth_application.rbs +74 -0
  913. data/sig/increase/models/oauth_application_list_params.rbs +123 -0
  914. data/sig/increase/models/oauth_application_retrieve_params.rbs +15 -0
  915. data/sig/increase/models/oauth_connection.rbs +74 -0
  916. data/sig/increase/models/oauth_connection_list_params.rbs +86 -0
  917. data/sig/increase/models/oauth_connection_retrieve_params.rbs +15 -0
  918. data/sig/increase/models/oauth_token.rbs +50 -0
  919. data/sig/increase/models/oauth_token_create_params.rbs +68 -0
  920. data/sig/increase/models/pending_transaction.rbs +1266 -0
  921. data/sig/increase/models/pending_transaction_create_params.rbs +34 -0
  922. data/sig/increase/models/pending_transaction_list_params.rbs +227 -0
  923. data/sig/increase/models/pending_transaction_release_params.rbs +15 -0
  924. data/sig/increase/models/pending_transaction_retrieve_params.rbs +15 -0
  925. data/sig/increase/models/physical_card.rbs +338 -0
  926. data/sig/increase/models/physical_card_create_params.rbs +152 -0
  927. data/sig/increase/models/physical_card_list_params.rbs +93 -0
  928. data/sig/increase/models/physical_card_profile.rbs +136 -0
  929. data/sig/increase/models/physical_card_profile_archive_params.rbs +15 -0
  930. data/sig/increase/models/physical_card_profile_clone_params.rbs +72 -0
  931. data/sig/increase/models/physical_card_profile_create_params.rbs +69 -0
  932. data/sig/increase/models/physical_card_profile_list_params.rbs +104 -0
  933. data/sig/increase/models/physical_card_profile_retrieve_params.rbs +15 -0
  934. data/sig/increase/models/physical_card_retrieve_params.rbs +15 -0
  935. data/sig/increase/models/physical_card_update_params.rbs +41 -0
  936. data/sig/increase/models/program.rbs +87 -0
  937. data/sig/increase/models/program_list_params.rbs +32 -0
  938. data/sig/increase/models/program_retrieve_params.rbs +15 -0
  939. data/sig/increase/models/real_time_decision.rbs +998 -0
  940. data/sig/increase/models/real_time_decision_action_params.rbs +317 -0
  941. data/sig/increase/models/real_time_decision_retrieve_params.rbs +15 -0
  942. data/sig/increase/models/real_time_payments_transfer.rbs +467 -0
  943. data/sig/increase/models/real_time_payments_transfer_approve_params.rbs +15 -0
  944. data/sig/increase/models/real_time_payments_transfer_cancel_params.rbs +15 -0
  945. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +90 -0
  946. data/sig/increase/models/real_time_payments_transfer_list_params.rbs +170 -0
  947. data/sig/increase/models/real_time_payments_transfer_retrieve_params.rbs +15 -0
  948. data/sig/increase/models/routing_number_list_params.rbs +36 -0
  949. data/sig/increase/models/routing_number_list_response.rbs +97 -0
  950. data/sig/increase/models/simulations/account_statement_create_params.rbs +25 -0
  951. data/sig/increase/models/simulations/account_transfer_complete_params.rbs +17 -0
  952. data/sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs +17 -0
  953. data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +117 -0
  954. data/sig/increase/models/simulations/ach_transfer_return_params.rbs +320 -0
  955. data/sig/increase/models/simulations/ach_transfer_settle_params.rbs +17 -0
  956. data/sig/increase/models/simulations/ach_transfer_submit_params.rbs +17 -0
  957. data/sig/increase/models/simulations/card_authorization_create_params.rbs +314 -0
  958. data/sig/increase/models/simulations/card_authorization_create_response.rbs +42 -0
  959. data/sig/increase/models/simulations/card_authorization_expiration_create_params.rbs +26 -0
  960. data/sig/increase/models/simulations/card_dispute_action_params.rbs +59 -0
  961. data/sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs +30 -0
  962. data/sig/increase/models/simulations/card_increment_create_params.rbs +40 -0
  963. data/sig/increase/models/simulations/card_refund_create_params.rbs +26 -0
  964. data/sig/increase/models/simulations/card_reversal_create_params.rbs +32 -0
  965. data/sig/increase/models/simulations/card_settlement_create_params.rbs +36 -0
  966. data/sig/increase/models/simulations/check_deposit_reject_params.rbs +17 -0
  967. data/sig/increase/models/simulations/check_deposit_return_params.rbs +17 -0
  968. data/sig/increase/models/simulations/check_deposit_submit_params.rbs +17 -0
  969. data/sig/increase/models/simulations/check_transfer_mail_params.rbs +17 -0
  970. data/sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs +25 -0
  971. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +66 -0
  972. data/sig/increase/models/simulations/document_create_params.rbs +25 -0
  973. data/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs +243 -0
  974. data/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs +34 -0
  975. data/sig/increase/models/simulations/inbound_funds_hold_release_params.rbs +17 -0
  976. data/sig/increase/models/simulations/inbound_funds_hold_release_response.rbs +117 -0
  977. data/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +36 -0
  978. data/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs +68 -0
  979. data/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs +147 -0
  980. data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +138 -0
  981. data/sig/increase/models/simulations/interest_payment_create_params.rbs +54 -0
  982. data/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs +68 -0
  983. data/sig/increase/models/simulations/physical_card_tracking_updates_params.rbs +80 -0
  984. data/sig/increase/models/simulations/program_create_params.rbs +32 -0
  985. data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +141 -0
  986. data/sig/increase/models/simulations/wire_transfer_reverse_params.rbs +17 -0
  987. data/sig/increase/models/simulations/wire_transfer_submit_params.rbs +17 -0
  988. data/sig/increase/models/supplemental_document_create_params.rbs +28 -0
  989. data/sig/increase/models/supplemental_document_list_params.rbs +47 -0
  990. data/sig/increase/models/transaction.rbs +4400 -0
  991. data/sig/increase/models/transaction_list_params.rbs +253 -0
  992. data/sig/increase/models/transaction_retrieve_params.rbs +15 -0
  993. data/sig/increase/models/wire_drawdown_request.rbs +161 -0
  994. data/sig/increase/models/wire_drawdown_request_create_params.rbs +100 -0
  995. data/sig/increase/models/wire_drawdown_request_list_params.rbs +93 -0
  996. data/sig/increase/models/wire_drawdown_request_retrieve_params.rbs +15 -0
  997. data/sig/increase/models/wire_transfer.rbs +469 -0
  998. data/sig/increase/models/wire_transfer_approve_params.rbs +15 -0
  999. data/sig/increase/models/wire_transfer_cancel_params.rbs +15 -0
  1000. data/sig/increase/models/wire_transfer_create_params.rbs +125 -0
  1001. data/sig/increase/models/wire_transfer_list_params.rbs +100 -0
  1002. data/sig/increase/models/wire_transfer_retrieve_params.rbs +15 -0
  1003. data/sig/increase/models.rbs +441 -0
  1004. data/sig/increase/request_options.rbs +34 -0
  1005. data/sig/increase/resources/account_numbers.rbs +40 -0
  1006. data/sig/increase/resources/account_statements.rbs +20 -0
  1007. data/sig/increase/resources/account_transfers.rbs +40 -0
  1008. data/sig/increase/resources/accounts.rbs +49 -0
  1009. data/sig/increase/resources/ach_prenotifications.rbs +37 -0
  1010. data/sig/increase/resources/ach_transfers.rbs +56 -0
  1011. data/sig/increase/resources/bookkeeping_accounts.rbs +34 -0
  1012. data/sig/increase/resources/bookkeeping_entries.rbs +19 -0
  1013. data/sig/increase/resources/bookkeeping_entry_sets.rbs +27 -0
  1014. data/sig/increase/resources/card_disputes.rbs +28 -0
  1015. data/sig/increase/resources/card_payments.rbs +21 -0
  1016. data/sig/increase/resources/card_purchase_supplements.rbs +20 -0
  1017. data/sig/increase/resources/cards.rbs +46 -0
  1018. data/sig/increase/resources/check_deposits.rbs +30 -0
  1019. data/sig/increase/resources/check_transfers.rbs +50 -0
  1020. data/sig/increase/resources/declined_transactions.rbs +22 -0
  1021. data/sig/increase/resources/digital_card_profiles.rbs +52 -0
  1022. data/sig/increase/resources/digital_wallet_tokens.rbs +20 -0
  1023. data/sig/increase/resources/documents.rbs +28 -0
  1024. data/sig/increase/resources/entities.rbs +76 -0
  1025. data/sig/increase/resources/event_subscriptions.rbs +33 -0
  1026. data/sig/increase/resources/events.rbs +21 -0
  1027. data/sig/increase/resources/exports.rbs +33 -0
  1028. data/sig/increase/resources/external_accounts.rbs +39 -0
  1029. data/sig/increase/resources/file_links.rbs +13 -0
  1030. data/sig/increase/resources/files.rbs +28 -0
  1031. data/sig/increase/resources/groups.rbs +11 -0
  1032. data/sig/increase/resources/inbound_ach_transfers.rbs +41 -0
  1033. data/sig/increase/resources/inbound_check_deposits.rbs +32 -0
  1034. data/sig/increase/resources/inbound_mail_items.rbs +20 -0
  1035. data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +21 -0
  1036. data/sig/increase/resources/inbound_wire_drawdown_requests.rbs +18 -0
  1037. data/sig/increase/resources/inbound_wire_transfers.rbs +28 -0
  1038. data/sig/increase/resources/intrafi_account_enrollments.rbs +32 -0
  1039. data/sig/increase/resources/intrafi_balances.rbs +12 -0
  1040. data/sig/increase/resources/intrafi_exclusions.rbs +31 -0
  1041. data/sig/increase/resources/lockboxes.rbs +36 -0
  1042. data/sig/increase/resources/oauth_applications.rbs +20 -0
  1043. data/sig/increase/resources/oauth_connections.rbs +20 -0
  1044. data/sig/increase/resources/oauth_tokens.rbs +16 -0
  1045. data/sig/increase/resources/pending_transactions.rbs +35 -0
  1046. data/sig/increase/resources/physical_card_profiles.rbs +45 -0
  1047. data/sig/increase/resources/physical_cards.rbs +35 -0
  1048. data/sig/increase/resources/programs.rbs +18 -0
  1049. data/sig/increase/resources/real_time_decisions.rbs +22 -0
  1050. data/sig/increase/resources/real_time_payments_transfers.rbs +48 -0
  1051. data/sig/increase/resources/routing_numbers.rbs +14 -0
  1052. data/sig/increase/resources/simulations/account_statements.rbs +14 -0
  1053. data/sig/increase/resources/simulations/account_transfers.rbs +14 -0
  1054. data/sig/increase/resources/simulations/ach_transfers.rbs +37 -0
  1055. data/sig/increase/resources/simulations/card_authorization_expirations.rbs +14 -0
  1056. data/sig/increase/resources/simulations/card_authorizations.rbs +30 -0
  1057. data/sig/increase/resources/simulations/card_disputes.rbs +16 -0
  1058. data/sig/increase/resources/simulations/card_fuel_confirmations.rbs +15 -0
  1059. data/sig/increase/resources/simulations/card_increments.rbs +16 -0
  1060. data/sig/increase/resources/simulations/card_refunds.rbs +14 -0
  1061. data/sig/increase/resources/simulations/card_reversals.rbs +15 -0
  1062. data/sig/increase/resources/simulations/card_settlements.rbs +16 -0
  1063. data/sig/increase/resources/simulations/check_deposits.rbs +24 -0
  1064. data/sig/increase/resources/simulations/check_transfers.rbs +14 -0
  1065. data/sig/increase/resources/simulations/digital_wallet_token_requests.rbs +14 -0
  1066. data/sig/increase/resources/simulations/documents.rbs +14 -0
  1067. data/sig/increase/resources/simulations/inbound_ach_transfers.rbs +25 -0
  1068. data/sig/increase/resources/simulations/inbound_check_deposits.rbs +16 -0
  1069. data/sig/increase/resources/simulations/inbound_funds_holds.rbs +14 -0
  1070. data/sig/increase/resources/simulations/inbound_mail_items.rbs +16 -0
  1071. data/sig/increase/resources/simulations/inbound_real_time_payments_transfers.rbs +20 -0
  1072. data/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs +33 -0
  1073. data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +30 -0
  1074. data/sig/increase/resources/simulations/interest_payments.rbs +18 -0
  1075. data/sig/increase/resources/simulations/physical_cards.rbs +25 -0
  1076. data/sig/increase/resources/simulations/programs.rbs +15 -0
  1077. data/sig/increase/resources/simulations/real_time_payments_transfers.rbs +15 -0
  1078. data/sig/increase/resources/simulations/wire_transfers.rbs +19 -0
  1079. data/sig/increase/resources/simulations.rbs +61 -0
  1080. data/sig/increase/resources/supplemental_documents.rbs +21 -0
  1081. data/sig/increase/resources/transactions.rbs +22 -0
  1082. data/sig/increase/resources/wire_drawdown_requests.rbs +37 -0
  1083. data/sig/increase/resources/wire_transfers.rbs +52 -0
  1084. data/sig/increase/version.rbs +3 -0
  1085. metadata +1068 -176
  1086. data/.rspec +0 -3
  1087. data/.standard.yml +0 -3
  1088. data/Gemfile +0 -6
  1089. data/LICENSE.txt +0 -21
  1090. data/OPENAPI_VERSION +0 -1
  1091. data/Rakefile +0 -10
  1092. data/bin/generate +0 -152
  1093. data/bin/setup +0 -8
  1094. data/generate/resource.rb.erb +0 -18
  1095. data/lib/increase/configuration.rb +0 -50
  1096. data/lib/increase/file_upload.rb +0 -57
  1097. data/lib/increase/middleware/encode_json.rb +0 -57
  1098. data/lib/increase/middleware/parse_json.rb +0 -42
  1099. data/lib/increase/middleware/raise_api_error.rb +0 -13
  1100. data/lib/increase/resource.rb +0 -205
  1101. data/lib/increase/resources/card_profiles.rb +0 -17
  1102. data/lib/increase/resources/inbound_ach_transfer_returns.rb +0 -17
  1103. data/lib/increase/resources/limits.rb +0 -19
  1104. data/lib/increase/resources.rb +0 -4
  1105. data/lib/increase/response_array.rb +0 -19
  1106. data/lib/increase/response_hash.rb +0 -15
  1107. data/lib/increase/util.rb +0 -15
  1108. data/lib/increase/webhook/signature.rb +0 -70
  1109. data/openapi.json +0 -32098
  1110. data/sig/increase.rbs +0 -4
@@ -0,0 +1,2672 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class ACHTransfer < Increase::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Increase::ACHTransfer, Increase::Internal::AnyHash)
9
+ end
10
+
11
+ # The ACH transfer's identifier.
12
+ sig { returns(String) }
13
+ attr_accessor :id
14
+
15
+ # The Account to which the transfer belongs.
16
+ sig { returns(String) }
17
+ attr_accessor :account_id
18
+
19
+ # The destination account number.
20
+ sig { returns(String) }
21
+ attr_accessor :account_number
22
+
23
+ # After the transfer is acknowledged by FedACH, this will contain supplemental
24
+ # details. The Federal Reserve sends an acknowledgement message for each file that
25
+ # Increase submits.
26
+ sig { returns(T.nilable(Increase::ACHTransfer::Acknowledgement)) }
27
+ attr_reader :acknowledgement
28
+
29
+ sig do
30
+ params(
31
+ acknowledgement:
32
+ T.nilable(Increase::ACHTransfer::Acknowledgement::OrHash)
33
+ ).void
34
+ end
35
+ attr_writer :acknowledgement
36
+
37
+ # Additional information that will be sent to the recipient.
38
+ sig { returns(T.nilable(Increase::ACHTransfer::Addenda)) }
39
+ attr_reader :addenda
40
+
41
+ sig do
42
+ params(addenda: T.nilable(Increase::ACHTransfer::Addenda::OrHash)).void
43
+ end
44
+ attr_writer :addenda
45
+
46
+ # The transfer amount in USD cents. A positive amount indicates a credit transfer
47
+ # pushing funds to the receiving account. A negative amount indicates a debit
48
+ # transfer pulling funds from the receiving account.
49
+ sig { returns(Integer) }
50
+ attr_accessor :amount
51
+
52
+ # If your account requires approvals for transfers and the transfer was approved,
53
+ # this will contain details of the approval.
54
+ sig { returns(T.nilable(Increase::ACHTransfer::Approval)) }
55
+ attr_reader :approval
56
+
57
+ sig do
58
+ params(
59
+ approval: T.nilable(Increase::ACHTransfer::Approval::OrHash)
60
+ ).void
61
+ end
62
+ attr_writer :approval
63
+
64
+ # If your account requires approvals for transfers and the transfer was not
65
+ # approved, this will contain details of the cancellation.
66
+ sig { returns(T.nilable(Increase::ACHTransfer::Cancellation)) }
67
+ attr_reader :cancellation
68
+
69
+ sig do
70
+ params(
71
+ cancellation: T.nilable(Increase::ACHTransfer::Cancellation::OrHash)
72
+ ).void
73
+ end
74
+ attr_writer :cancellation
75
+
76
+ # The description of the date of the transfer.
77
+ sig { returns(T.nilable(String)) }
78
+ attr_accessor :company_descriptive_date
79
+
80
+ # The data you chose to associate with the transfer.
81
+ sig { returns(T.nilable(String)) }
82
+ attr_accessor :company_discretionary_data
83
+
84
+ # The description of the transfer you set to be shown to the recipient.
85
+ sig { returns(T.nilable(String)) }
86
+ attr_accessor :company_entry_description
87
+
88
+ # The company ID associated with the transfer.
89
+ sig { returns(String) }
90
+ attr_accessor :company_id
91
+
92
+ # The name by which the recipient knows you.
93
+ sig { returns(T.nilable(String)) }
94
+ attr_accessor :company_name
95
+
96
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
97
+ # the transfer was created.
98
+ sig { returns(Time) }
99
+ attr_accessor :created_at
100
+
101
+ # What object created the transfer, either via the API or the dashboard.
102
+ sig { returns(T.nilable(Increase::ACHTransfer::CreatedBy)) }
103
+ attr_reader :created_by
104
+
105
+ sig do
106
+ params(
107
+ created_by: T.nilable(Increase::ACHTransfer::CreatedBy::OrHash)
108
+ ).void
109
+ end
110
+ attr_writer :created_by
111
+
112
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
113
+ # currency. For ACH transfers this is always equal to `usd`.
114
+ sig { returns(Increase::ACHTransfer::Currency::TaggedSymbol) }
115
+ attr_accessor :currency
116
+
117
+ # The type of entity that owns the account to which the ACH Transfer is being
118
+ # sent.
119
+ sig do
120
+ returns(Increase::ACHTransfer::DestinationAccountHolder::TaggedSymbol)
121
+ end
122
+ attr_accessor :destination_account_holder
123
+
124
+ # The identifier of the External Account the transfer was made to, if any.
125
+ sig { returns(T.nilable(String)) }
126
+ attr_accessor :external_account_id
127
+
128
+ # The type of the account to which the transfer will be sent.
129
+ sig { returns(Increase::ACHTransfer::Funding::TaggedSymbol) }
130
+ attr_accessor :funding
131
+
132
+ # The idempotency key you chose for this object. This value is unique across
133
+ # Increase and is used to ensure that a request is only processed once. Learn more
134
+ # about [idempotency](https://increase.com/documentation/idempotency-keys).
135
+ sig { returns(T.nilable(String)) }
136
+ attr_accessor :idempotency_key
137
+
138
+ # Increase will sometimes hold the funds for ACH debit transfers. If funds are
139
+ # held, this sub-object will contain details of the hold.
140
+ sig { returns(T.nilable(Increase::ACHTransfer::InboundFundsHold)) }
141
+ attr_reader :inbound_funds_hold
142
+
143
+ sig do
144
+ params(
145
+ inbound_funds_hold:
146
+ T.nilable(Increase::ACHTransfer::InboundFundsHold::OrHash)
147
+ ).void
148
+ end
149
+ attr_writer :inbound_funds_hold
150
+
151
+ # Your identifier for the transfer recipient.
152
+ sig { returns(T.nilable(String)) }
153
+ attr_accessor :individual_id
154
+
155
+ # The name of the transfer recipient. This value is information and not verified
156
+ # by the recipient's bank.
157
+ sig { returns(T.nilable(String)) }
158
+ attr_accessor :individual_name
159
+
160
+ # The transfer's network.
161
+ sig { returns(Increase::ACHTransfer::Network::TaggedSymbol) }
162
+ attr_accessor :network
163
+
164
+ # If the receiving bank accepts the transfer but notifies that future transfers
165
+ # should use different details, this will contain those details.
166
+ sig { returns(T::Array[Increase::ACHTransfer::NotificationsOfChange]) }
167
+ attr_accessor :notifications_of_change
168
+
169
+ # The ID for the pending transaction representing the transfer. A pending
170
+ # transaction is created when the transfer
171
+ # [requires approval](https://increase.com/documentation/transfer-approvals#transfer-approvals)
172
+ # by someone else in your organization.
173
+ sig { returns(T.nilable(String)) }
174
+ attr_accessor :pending_transaction_id
175
+
176
+ # Configuration for how the effective date of the transfer will be set. This
177
+ # determines same-day vs future-dated settlement timing. If not set, defaults to a
178
+ # `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
179
+ # must be set.
180
+ sig { returns(Increase::ACHTransfer::PreferredEffectiveDate) }
181
+ attr_reader :preferred_effective_date
182
+
183
+ sig do
184
+ params(
185
+ preferred_effective_date:
186
+ Increase::ACHTransfer::PreferredEffectiveDate::OrHash
187
+ ).void
188
+ end
189
+ attr_writer :preferred_effective_date
190
+
191
+ # If your transfer is returned, this will contain details of the return.
192
+ sig { returns(T.nilable(Increase::ACHTransfer::Return)) }
193
+ attr_reader :return_
194
+
195
+ sig do
196
+ params(return_: T.nilable(Increase::ACHTransfer::Return::OrHash)).void
197
+ end
198
+ attr_writer :return_
199
+
200
+ # The American Bankers' Association (ABA) Routing Transit Number (RTN).
201
+ sig { returns(String) }
202
+ attr_accessor :routing_number
203
+
204
+ # A subhash containing information about when and how the transfer settled at the
205
+ # Federal Reserve.
206
+ sig { returns(T.nilable(Increase::ACHTransfer::Settlement)) }
207
+ attr_reader :settlement
208
+
209
+ sig do
210
+ params(
211
+ settlement: T.nilable(Increase::ACHTransfer::Settlement::OrHash)
212
+ ).void
213
+ end
214
+ attr_writer :settlement
215
+
216
+ # The Standard Entry Class (SEC) code to use for the transfer.
217
+ sig do
218
+ returns(Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol)
219
+ end
220
+ attr_accessor :standard_entry_class_code
221
+
222
+ # The descriptor that will show on the recipient's bank statement.
223
+ sig { returns(String) }
224
+ attr_accessor :statement_descriptor
225
+
226
+ # The lifecycle status of the transfer.
227
+ sig { returns(Increase::ACHTransfer::Status::TaggedSymbol) }
228
+ attr_accessor :status
229
+
230
+ # After the transfer is submitted to FedACH, this will contain supplemental
231
+ # details. Increase batches transfers and submits a file to the Federal Reserve
232
+ # roughly every 30 minutes. The Federal Reserve processes ACH transfers during
233
+ # weekdays according to their
234
+ # [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
235
+ sig { returns(T.nilable(Increase::ACHTransfer::Submission)) }
236
+ attr_reader :submission
237
+
238
+ sig do
239
+ params(
240
+ submission: T.nilable(Increase::ACHTransfer::Submission::OrHash)
241
+ ).void
242
+ end
243
+ attr_writer :submission
244
+
245
+ # The ID for the transaction funding the transfer.
246
+ sig { returns(T.nilable(String)) }
247
+ attr_accessor :transaction_id
248
+
249
+ # A constant representing the object's type. For this resource it will always be
250
+ # `ach_transfer`.
251
+ sig { returns(Increase::ACHTransfer::Type::TaggedSymbol) }
252
+ attr_accessor :type
253
+
254
+ # ACH transfers move funds between your Increase account and any other account
255
+ # accessible by the Automated Clearing House (ACH).
256
+ sig do
257
+ params(
258
+ id: String,
259
+ account_id: String,
260
+ account_number: String,
261
+ acknowledgement:
262
+ T.nilable(Increase::ACHTransfer::Acknowledgement::OrHash),
263
+ addenda: T.nilable(Increase::ACHTransfer::Addenda::OrHash),
264
+ amount: Integer,
265
+ approval: T.nilable(Increase::ACHTransfer::Approval::OrHash),
266
+ cancellation: T.nilable(Increase::ACHTransfer::Cancellation::OrHash),
267
+ company_descriptive_date: T.nilable(String),
268
+ company_discretionary_data: T.nilable(String),
269
+ company_entry_description: T.nilable(String),
270
+ company_id: String,
271
+ company_name: T.nilable(String),
272
+ created_at: Time,
273
+ created_by: T.nilable(Increase::ACHTransfer::CreatedBy::OrHash),
274
+ currency: Increase::ACHTransfer::Currency::OrSymbol,
275
+ destination_account_holder:
276
+ Increase::ACHTransfer::DestinationAccountHolder::OrSymbol,
277
+ external_account_id: T.nilable(String),
278
+ funding: Increase::ACHTransfer::Funding::OrSymbol,
279
+ idempotency_key: T.nilable(String),
280
+ inbound_funds_hold:
281
+ T.nilable(Increase::ACHTransfer::InboundFundsHold::OrHash),
282
+ individual_id: T.nilable(String),
283
+ individual_name: T.nilable(String),
284
+ network: Increase::ACHTransfer::Network::OrSymbol,
285
+ notifications_of_change:
286
+ T::Array[Increase::ACHTransfer::NotificationsOfChange::OrHash],
287
+ pending_transaction_id: T.nilable(String),
288
+ preferred_effective_date:
289
+ Increase::ACHTransfer::PreferredEffectiveDate::OrHash,
290
+ return_: T.nilable(Increase::ACHTransfer::Return::OrHash),
291
+ routing_number: String,
292
+ settlement: T.nilable(Increase::ACHTransfer::Settlement::OrHash),
293
+ standard_entry_class_code:
294
+ Increase::ACHTransfer::StandardEntryClassCode::OrSymbol,
295
+ statement_descriptor: String,
296
+ status: Increase::ACHTransfer::Status::OrSymbol,
297
+ submission: T.nilable(Increase::ACHTransfer::Submission::OrHash),
298
+ transaction_id: T.nilable(String),
299
+ type: Increase::ACHTransfer::Type::OrSymbol
300
+ ).returns(T.attached_class)
301
+ end
302
+ def self.new(
303
+ # The ACH transfer's identifier.
304
+ id:,
305
+ # The Account to which the transfer belongs.
306
+ account_id:,
307
+ # The destination account number.
308
+ account_number:,
309
+ # After the transfer is acknowledged by FedACH, this will contain supplemental
310
+ # details. The Federal Reserve sends an acknowledgement message for each file that
311
+ # Increase submits.
312
+ acknowledgement:,
313
+ # Additional information that will be sent to the recipient.
314
+ addenda:,
315
+ # The transfer amount in USD cents. A positive amount indicates a credit transfer
316
+ # pushing funds to the receiving account. A negative amount indicates a debit
317
+ # transfer pulling funds from the receiving account.
318
+ amount:,
319
+ # If your account requires approvals for transfers and the transfer was approved,
320
+ # this will contain details of the approval.
321
+ approval:,
322
+ # If your account requires approvals for transfers and the transfer was not
323
+ # approved, this will contain details of the cancellation.
324
+ cancellation:,
325
+ # The description of the date of the transfer.
326
+ company_descriptive_date:,
327
+ # The data you chose to associate with the transfer.
328
+ company_discretionary_data:,
329
+ # The description of the transfer you set to be shown to the recipient.
330
+ company_entry_description:,
331
+ # The company ID associated with the transfer.
332
+ company_id:,
333
+ # The name by which the recipient knows you.
334
+ company_name:,
335
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
336
+ # the transfer was created.
337
+ created_at:,
338
+ # What object created the transfer, either via the API or the dashboard.
339
+ created_by:,
340
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
341
+ # currency. For ACH transfers this is always equal to `usd`.
342
+ currency:,
343
+ # The type of entity that owns the account to which the ACH Transfer is being
344
+ # sent.
345
+ destination_account_holder:,
346
+ # The identifier of the External Account the transfer was made to, if any.
347
+ external_account_id:,
348
+ # The type of the account to which the transfer will be sent.
349
+ funding:,
350
+ # The idempotency key you chose for this object. This value is unique across
351
+ # Increase and is used to ensure that a request is only processed once. Learn more
352
+ # about [idempotency](https://increase.com/documentation/idempotency-keys).
353
+ idempotency_key:,
354
+ # Increase will sometimes hold the funds for ACH debit transfers. If funds are
355
+ # held, this sub-object will contain details of the hold.
356
+ inbound_funds_hold:,
357
+ # Your identifier for the transfer recipient.
358
+ individual_id:,
359
+ # The name of the transfer recipient. This value is information and not verified
360
+ # by the recipient's bank.
361
+ individual_name:,
362
+ # The transfer's network.
363
+ network:,
364
+ # If the receiving bank accepts the transfer but notifies that future transfers
365
+ # should use different details, this will contain those details.
366
+ notifications_of_change:,
367
+ # The ID for the pending transaction representing the transfer. A pending
368
+ # transaction is created when the transfer
369
+ # [requires approval](https://increase.com/documentation/transfer-approvals#transfer-approvals)
370
+ # by someone else in your organization.
371
+ pending_transaction_id:,
372
+ # Configuration for how the effective date of the transfer will be set. This
373
+ # determines same-day vs future-dated settlement timing. If not set, defaults to a
374
+ # `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
375
+ # must be set.
376
+ preferred_effective_date:,
377
+ # If your transfer is returned, this will contain details of the return.
378
+ return_:,
379
+ # The American Bankers' Association (ABA) Routing Transit Number (RTN).
380
+ routing_number:,
381
+ # A subhash containing information about when and how the transfer settled at the
382
+ # Federal Reserve.
383
+ settlement:,
384
+ # The Standard Entry Class (SEC) code to use for the transfer.
385
+ standard_entry_class_code:,
386
+ # The descriptor that will show on the recipient's bank statement.
387
+ statement_descriptor:,
388
+ # The lifecycle status of the transfer.
389
+ status:,
390
+ # After the transfer is submitted to FedACH, this will contain supplemental
391
+ # details. Increase batches transfers and submits a file to the Federal Reserve
392
+ # roughly every 30 minutes. The Federal Reserve processes ACH transfers during
393
+ # weekdays according to their
394
+ # [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
395
+ submission:,
396
+ # The ID for the transaction funding the transfer.
397
+ transaction_id:,
398
+ # A constant representing the object's type. For this resource it will always be
399
+ # `ach_transfer`.
400
+ type:
401
+ )
402
+ end
403
+
404
+ sig do
405
+ override.returns(
406
+ {
407
+ id: String,
408
+ account_id: String,
409
+ account_number: String,
410
+ acknowledgement: T.nilable(Increase::ACHTransfer::Acknowledgement),
411
+ addenda: T.nilable(Increase::ACHTransfer::Addenda),
412
+ amount: Integer,
413
+ approval: T.nilable(Increase::ACHTransfer::Approval),
414
+ cancellation: T.nilable(Increase::ACHTransfer::Cancellation),
415
+ company_descriptive_date: T.nilable(String),
416
+ company_discretionary_data: T.nilable(String),
417
+ company_entry_description: T.nilable(String),
418
+ company_id: String,
419
+ company_name: T.nilable(String),
420
+ created_at: Time,
421
+ created_by: T.nilable(Increase::ACHTransfer::CreatedBy),
422
+ currency: Increase::ACHTransfer::Currency::TaggedSymbol,
423
+ destination_account_holder:
424
+ Increase::ACHTransfer::DestinationAccountHolder::TaggedSymbol,
425
+ external_account_id: T.nilable(String),
426
+ funding: Increase::ACHTransfer::Funding::TaggedSymbol,
427
+ idempotency_key: T.nilable(String),
428
+ inbound_funds_hold:
429
+ T.nilable(Increase::ACHTransfer::InboundFundsHold),
430
+ individual_id: T.nilable(String),
431
+ individual_name: T.nilable(String),
432
+ network: Increase::ACHTransfer::Network::TaggedSymbol,
433
+ notifications_of_change:
434
+ T::Array[Increase::ACHTransfer::NotificationsOfChange],
435
+ pending_transaction_id: T.nilable(String),
436
+ preferred_effective_date:
437
+ Increase::ACHTransfer::PreferredEffectiveDate,
438
+ return_: T.nilable(Increase::ACHTransfer::Return),
439
+ routing_number: String,
440
+ settlement: T.nilable(Increase::ACHTransfer::Settlement),
441
+ standard_entry_class_code:
442
+ Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol,
443
+ statement_descriptor: String,
444
+ status: Increase::ACHTransfer::Status::TaggedSymbol,
445
+ submission: T.nilable(Increase::ACHTransfer::Submission),
446
+ transaction_id: T.nilable(String),
447
+ type: Increase::ACHTransfer::Type::TaggedSymbol
448
+ }
449
+ )
450
+ end
451
+ def to_hash
452
+ end
453
+
454
+ class Acknowledgement < Increase::Internal::Type::BaseModel
455
+ OrHash =
456
+ T.type_alias do
457
+ T.any(
458
+ Increase::ACHTransfer::Acknowledgement,
459
+ Increase::Internal::AnyHash
460
+ )
461
+ end
462
+
463
+ # When the Federal Reserve acknowledged the submitted file containing this
464
+ # transfer.
465
+ sig { returns(String) }
466
+ attr_accessor :acknowledged_at
467
+
468
+ # After the transfer is acknowledged by FedACH, this will contain supplemental
469
+ # details. The Federal Reserve sends an acknowledgement message for each file that
470
+ # Increase submits.
471
+ sig { params(acknowledged_at: String).returns(T.attached_class) }
472
+ def self.new(
473
+ # When the Federal Reserve acknowledged the submitted file containing this
474
+ # transfer.
475
+ acknowledged_at:
476
+ )
477
+ end
478
+
479
+ sig { override.returns({ acknowledged_at: String }) }
480
+ def to_hash
481
+ end
482
+ end
483
+
484
+ class Addenda < Increase::Internal::Type::BaseModel
485
+ OrHash =
486
+ T.type_alias do
487
+ T.any(Increase::ACHTransfer::Addenda, Increase::Internal::AnyHash)
488
+ end
489
+
490
+ # The type of the resource. We may add additional possible values for this enum
491
+ # over time; your application should be able to handle such additions gracefully.
492
+ sig { returns(Increase::ACHTransfer::Addenda::Category::TaggedSymbol) }
493
+ attr_accessor :category
494
+
495
+ # Unstructured `payment_related_information` passed through with the transfer.
496
+ sig { returns(T.nilable(Increase::ACHTransfer::Addenda::Freeform)) }
497
+ attr_reader :freeform
498
+
499
+ sig do
500
+ params(
501
+ freeform:
502
+ T.nilable(Increase::ACHTransfer::Addenda::Freeform::OrHash)
503
+ ).void
504
+ end
505
+ attr_writer :freeform
506
+
507
+ # Structured ASC X12 820 remittance advice records. Please reach out to
508
+ # [support@increase.com](mailto:support@increase.com) for more information.
509
+ sig do
510
+ returns(
511
+ T.nilable(
512
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice
513
+ )
514
+ )
515
+ end
516
+ attr_reader :payment_order_remittance_advice
517
+
518
+ sig do
519
+ params(
520
+ payment_order_remittance_advice:
521
+ T.nilable(
522
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::OrHash
523
+ )
524
+ ).void
525
+ end
526
+ attr_writer :payment_order_remittance_advice
527
+
528
+ # Additional information that will be sent to the recipient.
529
+ sig do
530
+ params(
531
+ category: Increase::ACHTransfer::Addenda::Category::OrSymbol,
532
+ freeform:
533
+ T.nilable(Increase::ACHTransfer::Addenda::Freeform::OrHash),
534
+ payment_order_remittance_advice:
535
+ T.nilable(
536
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::OrHash
537
+ )
538
+ ).returns(T.attached_class)
539
+ end
540
+ def self.new(
541
+ # The type of the resource. We may add additional possible values for this enum
542
+ # over time; your application should be able to handle such additions gracefully.
543
+ category:,
544
+ # Unstructured `payment_related_information` passed through with the transfer.
545
+ freeform:,
546
+ # Structured ASC X12 820 remittance advice records. Please reach out to
547
+ # [support@increase.com](mailto:support@increase.com) for more information.
548
+ payment_order_remittance_advice:
549
+ )
550
+ end
551
+
552
+ sig do
553
+ override.returns(
554
+ {
555
+ category: Increase::ACHTransfer::Addenda::Category::TaggedSymbol,
556
+ freeform: T.nilable(Increase::ACHTransfer::Addenda::Freeform),
557
+ payment_order_remittance_advice:
558
+ T.nilable(
559
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice
560
+ )
561
+ }
562
+ )
563
+ end
564
+ def to_hash
565
+ end
566
+
567
+ # The type of the resource. We may add additional possible values for this enum
568
+ # over time; your application should be able to handle such additions gracefully.
569
+ module Category
570
+ extend Increase::Internal::Type::Enum
571
+
572
+ TaggedSymbol =
573
+ T.type_alias do
574
+ T.all(Symbol, Increase::ACHTransfer::Addenda::Category)
575
+ end
576
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
577
+
578
+ # Unstructured `payment_related_information` passed through with the transfer.
579
+ FREEFORM =
580
+ T.let(
581
+ :freeform,
582
+ Increase::ACHTransfer::Addenda::Category::TaggedSymbol
583
+ )
584
+
585
+ # Structured ASC X12 820 remittance advice records. Please reach out to [support@increase.com](mailto:support@increase.com) for more information.
586
+ PAYMENT_ORDER_REMITTANCE_ADVICE =
587
+ T.let(
588
+ :payment_order_remittance_advice,
589
+ Increase::ACHTransfer::Addenda::Category::TaggedSymbol
590
+ )
591
+
592
+ # Unknown addenda type.
593
+ OTHER =
594
+ T.let(
595
+ :other,
596
+ Increase::ACHTransfer::Addenda::Category::TaggedSymbol
597
+ )
598
+
599
+ sig do
600
+ override.returns(
601
+ T::Array[Increase::ACHTransfer::Addenda::Category::TaggedSymbol]
602
+ )
603
+ end
604
+ def self.values
605
+ end
606
+ end
607
+
608
+ class Freeform < Increase::Internal::Type::BaseModel
609
+ OrHash =
610
+ T.type_alias do
611
+ T.any(
612
+ Increase::ACHTransfer::Addenda::Freeform,
613
+ Increase::Internal::AnyHash
614
+ )
615
+ end
616
+
617
+ # Each entry represents an addendum sent with the transfer.
618
+ sig do
619
+ returns(T::Array[Increase::ACHTransfer::Addenda::Freeform::Entry])
620
+ end
621
+ attr_accessor :entries
622
+
623
+ # Unstructured `payment_related_information` passed through with the transfer.
624
+ sig do
625
+ params(
626
+ entries:
627
+ T::Array[
628
+ Increase::ACHTransfer::Addenda::Freeform::Entry::OrHash
629
+ ]
630
+ ).returns(T.attached_class)
631
+ end
632
+ def self.new(
633
+ # Each entry represents an addendum sent with the transfer.
634
+ entries:
635
+ )
636
+ end
637
+
638
+ sig do
639
+ override.returns(
640
+ {
641
+ entries:
642
+ T::Array[Increase::ACHTransfer::Addenda::Freeform::Entry]
643
+ }
644
+ )
645
+ end
646
+ def to_hash
647
+ end
648
+
649
+ class Entry < Increase::Internal::Type::BaseModel
650
+ OrHash =
651
+ T.type_alias do
652
+ T.any(
653
+ Increase::ACHTransfer::Addenda::Freeform::Entry,
654
+ Increase::Internal::AnyHash
655
+ )
656
+ end
657
+
658
+ # The payment related information passed in the addendum.
659
+ sig { returns(String) }
660
+ attr_accessor :payment_related_information
661
+
662
+ sig do
663
+ params(payment_related_information: String).returns(
664
+ T.attached_class
665
+ )
666
+ end
667
+ def self.new(
668
+ # The payment related information passed in the addendum.
669
+ payment_related_information:
670
+ )
671
+ end
672
+
673
+ sig { override.returns({ payment_related_information: String }) }
674
+ def to_hash
675
+ end
676
+ end
677
+ end
678
+
679
+ class PaymentOrderRemittanceAdvice < Increase::Internal::Type::BaseModel
680
+ OrHash =
681
+ T.type_alias do
682
+ T.any(
683
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice,
684
+ Increase::Internal::AnyHash
685
+ )
686
+ end
687
+
688
+ # ASC X12 RMR records for this specific transfer.
689
+ sig do
690
+ returns(
691
+ T::Array[
692
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice
693
+ ]
694
+ )
695
+ end
696
+ attr_accessor :invoices
697
+
698
+ # Structured ASC X12 820 remittance advice records. Please reach out to
699
+ # [support@increase.com](mailto:support@increase.com) for more information.
700
+ sig do
701
+ params(
702
+ invoices:
703
+ T::Array[
704
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice::OrHash
705
+ ]
706
+ ).returns(T.attached_class)
707
+ end
708
+ def self.new(
709
+ # ASC X12 RMR records for this specific transfer.
710
+ invoices:
711
+ )
712
+ end
713
+
714
+ sig do
715
+ override.returns(
716
+ {
717
+ invoices:
718
+ T::Array[
719
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice
720
+ ]
721
+ }
722
+ )
723
+ end
724
+ def to_hash
725
+ end
726
+
727
+ class Invoice < Increase::Internal::Type::BaseModel
728
+ OrHash =
729
+ T.type_alias do
730
+ T.any(
731
+ Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice,
732
+ Increase::Internal::AnyHash
733
+ )
734
+ end
735
+
736
+ # The invoice number for this reference, determined in advance with the receiver.
737
+ sig { returns(String) }
738
+ attr_accessor :invoice_number
739
+
740
+ # The amount that was paid for this invoice in the minor unit of its currency. For
741
+ # dollars, for example, this is cents.
742
+ sig { returns(Integer) }
743
+ attr_accessor :paid_amount
744
+
745
+ sig do
746
+ params(invoice_number: String, paid_amount: Integer).returns(
747
+ T.attached_class
748
+ )
749
+ end
750
+ def self.new(
751
+ # The invoice number for this reference, determined in advance with the receiver.
752
+ invoice_number:,
753
+ # The amount that was paid for this invoice in the minor unit of its currency. For
754
+ # dollars, for example, this is cents.
755
+ paid_amount:
756
+ )
757
+ end
758
+
759
+ sig do
760
+ override.returns({ invoice_number: String, paid_amount: Integer })
761
+ end
762
+ def to_hash
763
+ end
764
+ end
765
+ end
766
+ end
767
+
768
+ class Approval < Increase::Internal::Type::BaseModel
769
+ OrHash =
770
+ T.type_alias do
771
+ T.any(Increase::ACHTransfer::Approval, Increase::Internal::AnyHash)
772
+ end
773
+
774
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
775
+ # the transfer was approved.
776
+ sig { returns(Time) }
777
+ attr_accessor :approved_at
778
+
779
+ # If the Transfer was approved by a user in the dashboard, the email address of
780
+ # that user.
781
+ sig { returns(T.nilable(String)) }
782
+ attr_accessor :approved_by
783
+
784
+ # If your account requires approvals for transfers and the transfer was approved,
785
+ # this will contain details of the approval.
786
+ sig do
787
+ params(approved_at: Time, approved_by: T.nilable(String)).returns(
788
+ T.attached_class
789
+ )
790
+ end
791
+ def self.new(
792
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
793
+ # the transfer was approved.
794
+ approved_at:,
795
+ # If the Transfer was approved by a user in the dashboard, the email address of
796
+ # that user.
797
+ approved_by:
798
+ )
799
+ end
800
+
801
+ sig do
802
+ override.returns(
803
+ { approved_at: Time, approved_by: T.nilable(String) }
804
+ )
805
+ end
806
+ def to_hash
807
+ end
808
+ end
809
+
810
+ class Cancellation < Increase::Internal::Type::BaseModel
811
+ OrHash =
812
+ T.type_alias do
813
+ T.any(
814
+ Increase::ACHTransfer::Cancellation,
815
+ Increase::Internal::AnyHash
816
+ )
817
+ end
818
+
819
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
820
+ # the Transfer was canceled.
821
+ sig { returns(Time) }
822
+ attr_accessor :canceled_at
823
+
824
+ # If the Transfer was canceled by a user in the dashboard, the email address of
825
+ # that user.
826
+ sig { returns(T.nilable(String)) }
827
+ attr_accessor :canceled_by
828
+
829
+ # If your account requires approvals for transfers and the transfer was not
830
+ # approved, this will contain details of the cancellation.
831
+ sig do
832
+ params(canceled_at: Time, canceled_by: T.nilable(String)).returns(
833
+ T.attached_class
834
+ )
835
+ end
836
+ def self.new(
837
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
838
+ # the Transfer was canceled.
839
+ canceled_at:,
840
+ # If the Transfer was canceled by a user in the dashboard, the email address of
841
+ # that user.
842
+ canceled_by:
843
+ )
844
+ end
845
+
846
+ sig do
847
+ override.returns(
848
+ { canceled_at: Time, canceled_by: T.nilable(String) }
849
+ )
850
+ end
851
+ def to_hash
852
+ end
853
+ end
854
+
855
+ class CreatedBy < Increase::Internal::Type::BaseModel
856
+ OrHash =
857
+ T.type_alias do
858
+ T.any(Increase::ACHTransfer::CreatedBy, Increase::Internal::AnyHash)
859
+ end
860
+
861
+ # If present, details about the API key that created the transfer.
862
+ sig { returns(T.nilable(Increase::ACHTransfer::CreatedBy::APIKey)) }
863
+ attr_reader :api_key
864
+
865
+ sig do
866
+ params(
867
+ api_key: T.nilable(Increase::ACHTransfer::CreatedBy::APIKey::OrHash)
868
+ ).void
869
+ end
870
+ attr_writer :api_key
871
+
872
+ # The type of object that created this transfer.
873
+ sig do
874
+ returns(Increase::ACHTransfer::CreatedBy::Category::TaggedSymbol)
875
+ end
876
+ attr_accessor :category
877
+
878
+ # If present, details about the OAuth Application that created the transfer.
879
+ sig do
880
+ returns(T.nilable(Increase::ACHTransfer::CreatedBy::OAuthApplication))
881
+ end
882
+ attr_reader :oauth_application
883
+
884
+ sig do
885
+ params(
886
+ oauth_application:
887
+ T.nilable(
888
+ Increase::ACHTransfer::CreatedBy::OAuthApplication::OrHash
889
+ )
890
+ ).void
891
+ end
892
+ attr_writer :oauth_application
893
+
894
+ # If present, details about the User that created the transfer.
895
+ sig { returns(T.nilable(Increase::ACHTransfer::CreatedBy::User)) }
896
+ attr_reader :user
897
+
898
+ sig do
899
+ params(
900
+ user: T.nilable(Increase::ACHTransfer::CreatedBy::User::OrHash)
901
+ ).void
902
+ end
903
+ attr_writer :user
904
+
905
+ # What object created the transfer, either via the API or the dashboard.
906
+ sig do
907
+ params(
908
+ api_key:
909
+ T.nilable(Increase::ACHTransfer::CreatedBy::APIKey::OrHash),
910
+ category: Increase::ACHTransfer::CreatedBy::Category::OrSymbol,
911
+ oauth_application:
912
+ T.nilable(
913
+ Increase::ACHTransfer::CreatedBy::OAuthApplication::OrHash
914
+ ),
915
+ user: T.nilable(Increase::ACHTransfer::CreatedBy::User::OrHash)
916
+ ).returns(T.attached_class)
917
+ end
918
+ def self.new(
919
+ # If present, details about the API key that created the transfer.
920
+ api_key:,
921
+ # The type of object that created this transfer.
922
+ category:,
923
+ # If present, details about the OAuth Application that created the transfer.
924
+ oauth_application:,
925
+ # If present, details about the User that created the transfer.
926
+ user:
927
+ )
928
+ end
929
+
930
+ sig do
931
+ override.returns(
932
+ {
933
+ api_key: T.nilable(Increase::ACHTransfer::CreatedBy::APIKey),
934
+ category:
935
+ Increase::ACHTransfer::CreatedBy::Category::TaggedSymbol,
936
+ oauth_application:
937
+ T.nilable(Increase::ACHTransfer::CreatedBy::OAuthApplication),
938
+ user: T.nilable(Increase::ACHTransfer::CreatedBy::User)
939
+ }
940
+ )
941
+ end
942
+ def to_hash
943
+ end
944
+
945
+ class APIKey < Increase::Internal::Type::BaseModel
946
+ OrHash =
947
+ T.type_alias do
948
+ T.any(
949
+ Increase::ACHTransfer::CreatedBy::APIKey,
950
+ Increase::Internal::AnyHash
951
+ )
952
+ end
953
+
954
+ # The description set for the API key when it was created.
955
+ sig { returns(T.nilable(String)) }
956
+ attr_accessor :description
957
+
958
+ # If present, details about the API key that created the transfer.
959
+ sig do
960
+ params(description: T.nilable(String)).returns(T.attached_class)
961
+ end
962
+ def self.new(
963
+ # The description set for the API key when it was created.
964
+ description:
965
+ )
966
+ end
967
+
968
+ sig { override.returns({ description: T.nilable(String) }) }
969
+ def to_hash
970
+ end
971
+ end
972
+
973
+ # The type of object that created this transfer.
974
+ module Category
975
+ extend Increase::Internal::Type::Enum
976
+
977
+ TaggedSymbol =
978
+ T.type_alias do
979
+ T.all(Symbol, Increase::ACHTransfer::CreatedBy::Category)
980
+ end
981
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
982
+
983
+ # An API key. Details will be under the `api_key` object.
984
+ API_KEY =
985
+ T.let(
986
+ :api_key,
987
+ Increase::ACHTransfer::CreatedBy::Category::TaggedSymbol
988
+ )
989
+
990
+ # An OAuth application you connected to Increase. Details will be under the `oauth_application` object.
991
+ OAUTH_APPLICATION =
992
+ T.let(
993
+ :oauth_application,
994
+ Increase::ACHTransfer::CreatedBy::Category::TaggedSymbol
995
+ )
996
+
997
+ # A User in the Increase dashboard. Details will be under the `user` object.
998
+ USER =
999
+ T.let(
1000
+ :user,
1001
+ Increase::ACHTransfer::CreatedBy::Category::TaggedSymbol
1002
+ )
1003
+
1004
+ sig do
1005
+ override.returns(
1006
+ T::Array[Increase::ACHTransfer::CreatedBy::Category::TaggedSymbol]
1007
+ )
1008
+ end
1009
+ def self.values
1010
+ end
1011
+ end
1012
+
1013
+ class OAuthApplication < Increase::Internal::Type::BaseModel
1014
+ OrHash =
1015
+ T.type_alias do
1016
+ T.any(
1017
+ Increase::ACHTransfer::CreatedBy::OAuthApplication,
1018
+ Increase::Internal::AnyHash
1019
+ )
1020
+ end
1021
+
1022
+ # The name of the OAuth Application.
1023
+ sig { returns(String) }
1024
+ attr_accessor :name
1025
+
1026
+ # If present, details about the OAuth Application that created the transfer.
1027
+ sig { params(name: String).returns(T.attached_class) }
1028
+ def self.new(
1029
+ # The name of the OAuth Application.
1030
+ name:
1031
+ )
1032
+ end
1033
+
1034
+ sig { override.returns({ name: String }) }
1035
+ def to_hash
1036
+ end
1037
+ end
1038
+
1039
+ class User < Increase::Internal::Type::BaseModel
1040
+ OrHash =
1041
+ T.type_alias do
1042
+ T.any(
1043
+ Increase::ACHTransfer::CreatedBy::User,
1044
+ Increase::Internal::AnyHash
1045
+ )
1046
+ end
1047
+
1048
+ # The email address of the User.
1049
+ sig { returns(String) }
1050
+ attr_accessor :email
1051
+
1052
+ # If present, details about the User that created the transfer.
1053
+ sig { params(email: String).returns(T.attached_class) }
1054
+ def self.new(
1055
+ # The email address of the User.
1056
+ email:
1057
+ )
1058
+ end
1059
+
1060
+ sig { override.returns({ email: String }) }
1061
+ def to_hash
1062
+ end
1063
+ end
1064
+ end
1065
+
1066
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
1067
+ # currency. For ACH transfers this is always equal to `usd`.
1068
+ module Currency
1069
+ extend Increase::Internal::Type::Enum
1070
+
1071
+ TaggedSymbol =
1072
+ T.type_alias { T.all(Symbol, Increase::ACHTransfer::Currency) }
1073
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1074
+
1075
+ # Canadian Dollar (CAD)
1076
+ CAD = T.let(:CAD, Increase::ACHTransfer::Currency::TaggedSymbol)
1077
+
1078
+ # Swiss Franc (CHF)
1079
+ CHF = T.let(:CHF, Increase::ACHTransfer::Currency::TaggedSymbol)
1080
+
1081
+ # Euro (EUR)
1082
+ EUR = T.let(:EUR, Increase::ACHTransfer::Currency::TaggedSymbol)
1083
+
1084
+ # British Pound (GBP)
1085
+ GBP = T.let(:GBP, Increase::ACHTransfer::Currency::TaggedSymbol)
1086
+
1087
+ # Japanese Yen (JPY)
1088
+ JPY = T.let(:JPY, Increase::ACHTransfer::Currency::TaggedSymbol)
1089
+
1090
+ # US Dollar (USD)
1091
+ USD = T.let(:USD, Increase::ACHTransfer::Currency::TaggedSymbol)
1092
+
1093
+ sig do
1094
+ override.returns(
1095
+ T::Array[Increase::ACHTransfer::Currency::TaggedSymbol]
1096
+ )
1097
+ end
1098
+ def self.values
1099
+ end
1100
+ end
1101
+
1102
+ # The type of entity that owns the account to which the ACH Transfer is being
1103
+ # sent.
1104
+ module DestinationAccountHolder
1105
+ extend Increase::Internal::Type::Enum
1106
+
1107
+ TaggedSymbol =
1108
+ T.type_alias do
1109
+ T.all(Symbol, Increase::ACHTransfer::DestinationAccountHolder)
1110
+ end
1111
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1112
+
1113
+ # The External Account is owned by a business.
1114
+ BUSINESS =
1115
+ T.let(
1116
+ :business,
1117
+ Increase::ACHTransfer::DestinationAccountHolder::TaggedSymbol
1118
+ )
1119
+
1120
+ # The External Account is owned by an individual.
1121
+ INDIVIDUAL =
1122
+ T.let(
1123
+ :individual,
1124
+ Increase::ACHTransfer::DestinationAccountHolder::TaggedSymbol
1125
+ )
1126
+
1127
+ # It's unknown what kind of entity owns the External Account.
1128
+ UNKNOWN =
1129
+ T.let(
1130
+ :unknown,
1131
+ Increase::ACHTransfer::DestinationAccountHolder::TaggedSymbol
1132
+ )
1133
+
1134
+ sig do
1135
+ override.returns(
1136
+ T::Array[
1137
+ Increase::ACHTransfer::DestinationAccountHolder::TaggedSymbol
1138
+ ]
1139
+ )
1140
+ end
1141
+ def self.values
1142
+ end
1143
+ end
1144
+
1145
+ # The type of the account to which the transfer will be sent.
1146
+ module Funding
1147
+ extend Increase::Internal::Type::Enum
1148
+
1149
+ TaggedSymbol =
1150
+ T.type_alias { T.all(Symbol, Increase::ACHTransfer::Funding) }
1151
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1152
+
1153
+ # A checking account.
1154
+ CHECKING =
1155
+ T.let(:checking, Increase::ACHTransfer::Funding::TaggedSymbol)
1156
+
1157
+ # A savings account.
1158
+ SAVINGS = T.let(:savings, Increase::ACHTransfer::Funding::TaggedSymbol)
1159
+
1160
+ sig do
1161
+ override.returns(
1162
+ T::Array[Increase::ACHTransfer::Funding::TaggedSymbol]
1163
+ )
1164
+ end
1165
+ def self.values
1166
+ end
1167
+ end
1168
+
1169
+ class InboundFundsHold < Increase::Internal::Type::BaseModel
1170
+ OrHash =
1171
+ T.type_alias do
1172
+ T.any(
1173
+ Increase::ACHTransfer::InboundFundsHold,
1174
+ Increase::Internal::AnyHash
1175
+ )
1176
+ end
1177
+
1178
+ # The Inbound Funds Hold identifier.
1179
+ sig { returns(String) }
1180
+ attr_accessor :id
1181
+
1182
+ # The held amount in the minor unit of the account's currency. For dollars, for
1183
+ # example, this is cents.
1184
+ sig { returns(Integer) }
1185
+ attr_accessor :amount
1186
+
1187
+ # When the hold will be released automatically. Certain conditions may cause it to
1188
+ # be released before this time.
1189
+ sig { returns(Time) }
1190
+ attr_accessor :automatically_releases_at
1191
+
1192
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
1193
+ # was created.
1194
+ sig { returns(Time) }
1195
+ attr_accessor :created_at
1196
+
1197
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
1198
+ # currency.
1199
+ sig do
1200
+ returns(
1201
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1202
+ )
1203
+ end
1204
+ attr_accessor :currency
1205
+
1206
+ # The ID of the Transaction for which funds were held.
1207
+ sig { returns(T.nilable(String)) }
1208
+ attr_accessor :held_transaction_id
1209
+
1210
+ # The ID of the Pending Transaction representing the held funds.
1211
+ sig { returns(T.nilable(String)) }
1212
+ attr_accessor :pending_transaction_id
1213
+
1214
+ # When the hold was released (if it has been released).
1215
+ sig { returns(T.nilable(Time)) }
1216
+ attr_accessor :released_at
1217
+
1218
+ # The status of the hold.
1219
+ sig do
1220
+ returns(Increase::ACHTransfer::InboundFundsHold::Status::TaggedSymbol)
1221
+ end
1222
+ attr_accessor :status
1223
+
1224
+ # A constant representing the object's type. For this resource it will always be
1225
+ # `inbound_funds_hold`.
1226
+ sig do
1227
+ returns(Increase::ACHTransfer::InboundFundsHold::Type::TaggedSymbol)
1228
+ end
1229
+ attr_accessor :type
1230
+
1231
+ # Increase will sometimes hold the funds for ACH debit transfers. If funds are
1232
+ # held, this sub-object will contain details of the hold.
1233
+ sig do
1234
+ params(
1235
+ id: String,
1236
+ amount: Integer,
1237
+ automatically_releases_at: Time,
1238
+ created_at: Time,
1239
+ currency:
1240
+ Increase::ACHTransfer::InboundFundsHold::Currency::OrSymbol,
1241
+ held_transaction_id: T.nilable(String),
1242
+ pending_transaction_id: T.nilable(String),
1243
+ released_at: T.nilable(Time),
1244
+ status: Increase::ACHTransfer::InboundFundsHold::Status::OrSymbol,
1245
+ type: Increase::ACHTransfer::InboundFundsHold::Type::OrSymbol
1246
+ ).returns(T.attached_class)
1247
+ end
1248
+ def self.new(
1249
+ # The Inbound Funds Hold identifier.
1250
+ id:,
1251
+ # The held amount in the minor unit of the account's currency. For dollars, for
1252
+ # example, this is cents.
1253
+ amount:,
1254
+ # When the hold will be released automatically. Certain conditions may cause it to
1255
+ # be released before this time.
1256
+ automatically_releases_at:,
1257
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
1258
+ # was created.
1259
+ created_at:,
1260
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
1261
+ # currency.
1262
+ currency:,
1263
+ # The ID of the Transaction for which funds were held.
1264
+ held_transaction_id:,
1265
+ # The ID of the Pending Transaction representing the held funds.
1266
+ pending_transaction_id:,
1267
+ # When the hold was released (if it has been released).
1268
+ released_at:,
1269
+ # The status of the hold.
1270
+ status:,
1271
+ # A constant representing the object's type. For this resource it will always be
1272
+ # `inbound_funds_hold`.
1273
+ type:
1274
+ )
1275
+ end
1276
+
1277
+ sig do
1278
+ override.returns(
1279
+ {
1280
+ id: String,
1281
+ amount: Integer,
1282
+ automatically_releases_at: Time,
1283
+ created_at: Time,
1284
+ currency:
1285
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol,
1286
+ held_transaction_id: T.nilable(String),
1287
+ pending_transaction_id: T.nilable(String),
1288
+ released_at: T.nilable(Time),
1289
+ status:
1290
+ Increase::ACHTransfer::InboundFundsHold::Status::TaggedSymbol,
1291
+ type: Increase::ACHTransfer::InboundFundsHold::Type::TaggedSymbol
1292
+ }
1293
+ )
1294
+ end
1295
+ def to_hash
1296
+ end
1297
+
1298
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
1299
+ # currency.
1300
+ module Currency
1301
+ extend Increase::Internal::Type::Enum
1302
+
1303
+ TaggedSymbol =
1304
+ T.type_alias do
1305
+ T.all(Symbol, Increase::ACHTransfer::InboundFundsHold::Currency)
1306
+ end
1307
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1308
+
1309
+ # Canadian Dollar (CAD)
1310
+ CAD =
1311
+ T.let(
1312
+ :CAD,
1313
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1314
+ )
1315
+
1316
+ # Swiss Franc (CHF)
1317
+ CHF =
1318
+ T.let(
1319
+ :CHF,
1320
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1321
+ )
1322
+
1323
+ # Euro (EUR)
1324
+ EUR =
1325
+ T.let(
1326
+ :EUR,
1327
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1328
+ )
1329
+
1330
+ # British Pound (GBP)
1331
+ GBP =
1332
+ T.let(
1333
+ :GBP,
1334
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1335
+ )
1336
+
1337
+ # Japanese Yen (JPY)
1338
+ JPY =
1339
+ T.let(
1340
+ :JPY,
1341
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1342
+ )
1343
+
1344
+ # US Dollar (USD)
1345
+ USD =
1346
+ T.let(
1347
+ :USD,
1348
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1349
+ )
1350
+
1351
+ sig do
1352
+ override.returns(
1353
+ T::Array[
1354
+ Increase::ACHTransfer::InboundFundsHold::Currency::TaggedSymbol
1355
+ ]
1356
+ )
1357
+ end
1358
+ def self.values
1359
+ end
1360
+ end
1361
+
1362
+ # The status of the hold.
1363
+ module Status
1364
+ extend Increase::Internal::Type::Enum
1365
+
1366
+ TaggedSymbol =
1367
+ T.type_alias do
1368
+ T.all(Symbol, Increase::ACHTransfer::InboundFundsHold::Status)
1369
+ end
1370
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1371
+
1372
+ # Funds are still being held.
1373
+ HELD =
1374
+ T.let(
1375
+ :held,
1376
+ Increase::ACHTransfer::InboundFundsHold::Status::TaggedSymbol
1377
+ )
1378
+
1379
+ # Funds have been released.
1380
+ COMPLETE =
1381
+ T.let(
1382
+ :complete,
1383
+ Increase::ACHTransfer::InboundFundsHold::Status::TaggedSymbol
1384
+ )
1385
+
1386
+ sig do
1387
+ override.returns(
1388
+ T::Array[
1389
+ Increase::ACHTransfer::InboundFundsHold::Status::TaggedSymbol
1390
+ ]
1391
+ )
1392
+ end
1393
+ def self.values
1394
+ end
1395
+ end
1396
+
1397
+ # A constant representing the object's type. For this resource it will always be
1398
+ # `inbound_funds_hold`.
1399
+ module Type
1400
+ extend Increase::Internal::Type::Enum
1401
+
1402
+ TaggedSymbol =
1403
+ T.type_alias do
1404
+ T.all(Symbol, Increase::ACHTransfer::InboundFundsHold::Type)
1405
+ end
1406
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1407
+
1408
+ INBOUND_FUNDS_HOLD =
1409
+ T.let(
1410
+ :inbound_funds_hold,
1411
+ Increase::ACHTransfer::InboundFundsHold::Type::TaggedSymbol
1412
+ )
1413
+
1414
+ sig do
1415
+ override.returns(
1416
+ T::Array[
1417
+ Increase::ACHTransfer::InboundFundsHold::Type::TaggedSymbol
1418
+ ]
1419
+ )
1420
+ end
1421
+ def self.values
1422
+ end
1423
+ end
1424
+ end
1425
+
1426
+ # The transfer's network.
1427
+ module Network
1428
+ extend Increase::Internal::Type::Enum
1429
+
1430
+ TaggedSymbol =
1431
+ T.type_alias { T.all(Symbol, Increase::ACHTransfer::Network) }
1432
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1433
+
1434
+ ACH = T.let(:ach, Increase::ACHTransfer::Network::TaggedSymbol)
1435
+
1436
+ sig do
1437
+ override.returns(
1438
+ T::Array[Increase::ACHTransfer::Network::TaggedSymbol]
1439
+ )
1440
+ end
1441
+ def self.values
1442
+ end
1443
+ end
1444
+
1445
+ class NotificationsOfChange < Increase::Internal::Type::BaseModel
1446
+ OrHash =
1447
+ T.type_alias do
1448
+ T.any(
1449
+ Increase::ACHTransfer::NotificationsOfChange,
1450
+ Increase::Internal::AnyHash
1451
+ )
1452
+ end
1453
+
1454
+ # The required type of change that is being signaled by the receiving financial
1455
+ # institution.
1456
+ sig do
1457
+ returns(
1458
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1459
+ )
1460
+ end
1461
+ attr_accessor :change_code
1462
+
1463
+ # The corrected data that should be used in future ACHs to this account. This may
1464
+ # contain the suggested new account number or routing number. When the
1465
+ # `change_code` is `incorrect_transaction_code`, this field contains an integer.
1466
+ # Numbers starting with a 2 encourage changing the `funding` parameter to
1467
+ # checking; numbers starting with a 3 encourage changing to savings.
1468
+ sig { returns(String) }
1469
+ attr_accessor :corrected_data
1470
+
1471
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1472
+ # the notification occurred.
1473
+ sig { returns(Time) }
1474
+ attr_accessor :created_at
1475
+
1476
+ sig do
1477
+ params(
1478
+ change_code:
1479
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::OrSymbol,
1480
+ corrected_data: String,
1481
+ created_at: Time
1482
+ ).returns(T.attached_class)
1483
+ end
1484
+ def self.new(
1485
+ # The required type of change that is being signaled by the receiving financial
1486
+ # institution.
1487
+ change_code:,
1488
+ # The corrected data that should be used in future ACHs to this account. This may
1489
+ # contain the suggested new account number or routing number. When the
1490
+ # `change_code` is `incorrect_transaction_code`, this field contains an integer.
1491
+ # Numbers starting with a 2 encourage changing the `funding` parameter to
1492
+ # checking; numbers starting with a 3 encourage changing to savings.
1493
+ corrected_data:,
1494
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1495
+ # the notification occurred.
1496
+ created_at:
1497
+ )
1498
+ end
1499
+
1500
+ sig do
1501
+ override.returns(
1502
+ {
1503
+ change_code:
1504
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol,
1505
+ corrected_data: String,
1506
+ created_at: Time
1507
+ }
1508
+ )
1509
+ end
1510
+ def to_hash
1511
+ end
1512
+
1513
+ # The required type of change that is being signaled by the receiving financial
1514
+ # institution.
1515
+ module ChangeCode
1516
+ extend Increase::Internal::Type::Enum
1517
+
1518
+ TaggedSymbol =
1519
+ T.type_alias do
1520
+ T.all(
1521
+ Symbol,
1522
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode
1523
+ )
1524
+ end
1525
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1526
+
1527
+ # The account number was incorrect.
1528
+ INCORRECT_ACCOUNT_NUMBER =
1529
+ T.let(
1530
+ :incorrect_account_number,
1531
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1532
+ )
1533
+
1534
+ # The routing number was incorrect.
1535
+ INCORRECT_ROUTING_NUMBER =
1536
+ T.let(
1537
+ :incorrect_routing_number,
1538
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1539
+ )
1540
+
1541
+ # Both the routing number and the account number were incorrect.
1542
+ INCORRECT_ROUTING_NUMBER_AND_ACCOUNT_NUMBER =
1543
+ T.let(
1544
+ :incorrect_routing_number_and_account_number,
1545
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1546
+ )
1547
+
1548
+ # The transaction code was incorrect. Try changing the `funding` parameter from checking to savings or vice-versa.
1549
+ INCORRECT_TRANSACTION_CODE =
1550
+ T.let(
1551
+ :incorrect_transaction_code,
1552
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1553
+ )
1554
+
1555
+ # The account number and the transaction code were incorrect.
1556
+ INCORRECT_ACCOUNT_NUMBER_AND_TRANSACTION_CODE =
1557
+ T.let(
1558
+ :incorrect_account_number_and_transaction_code,
1559
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1560
+ )
1561
+
1562
+ # The routing number, account number, and transaction code were incorrect.
1563
+ INCORRECT_ROUTING_NUMBER_ACCOUNT_NUMBER_AND_TRANSACTION_CODE =
1564
+ T.let(
1565
+ :incorrect_routing_number_account_number_and_transaction_code,
1566
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1567
+ )
1568
+
1569
+ # The receiving depository financial institution identification was incorrect.
1570
+ INCORRECT_RECEIVING_DEPOSITORY_FINANCIAL_INSTITUTION_IDENTIFICATION =
1571
+ T.let(
1572
+ :incorrect_receiving_depository_financial_institution_identification,
1573
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1574
+ )
1575
+
1576
+ # The individual identification number was incorrect.
1577
+ INCORRECT_INDIVIDUAL_IDENTIFICATION_NUMBER =
1578
+ T.let(
1579
+ :incorrect_individual_identification_number,
1580
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1581
+ )
1582
+
1583
+ # The addenda had an incorrect format.
1584
+ ADDENDA_FORMAT_ERROR =
1585
+ T.let(
1586
+ :addenda_format_error,
1587
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1588
+ )
1589
+
1590
+ # The standard entry class code was incorrect for an outbound international payment.
1591
+ INCORRECT_STANDARD_ENTRY_CLASS_CODE_FOR_OUTBOUND_INTERNATIONAL_PAYMENT =
1592
+ T.let(
1593
+ :incorrect_standard_entry_class_code_for_outbound_international_payment,
1594
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1595
+ )
1596
+
1597
+ # The notification of change was misrouted.
1598
+ MISROUTED_NOTIFICATION_OF_CHANGE =
1599
+ T.let(
1600
+ :misrouted_notification_of_change,
1601
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1602
+ )
1603
+
1604
+ # The trace number was incorrect.
1605
+ INCORRECT_TRACE_NUMBER =
1606
+ T.let(
1607
+ :incorrect_trace_number,
1608
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1609
+ )
1610
+
1611
+ # The company identification number was incorrect.
1612
+ INCORRECT_COMPANY_IDENTIFICATION_NUMBER =
1613
+ T.let(
1614
+ :incorrect_company_identification_number,
1615
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1616
+ )
1617
+
1618
+ # The individual identification number or identification number was incorrect.
1619
+ INCORRECT_IDENTIFICATION_NUMBER =
1620
+ T.let(
1621
+ :incorrect_identification_number,
1622
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1623
+ )
1624
+
1625
+ # The corrected data was incorrectly formatted.
1626
+ INCORRECTLY_FORMATTED_CORRECTED_DATA =
1627
+ T.let(
1628
+ :incorrectly_formatted_corrected_data,
1629
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1630
+ )
1631
+
1632
+ # The discretionary data was incorrect.
1633
+ INCORRECT_DISCRETIONARY_DATA =
1634
+ T.let(
1635
+ :incorrect_discretionary_data,
1636
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1637
+ )
1638
+
1639
+ # The routing number was not from the original entry detail record.
1640
+ ROUTING_NUMBER_NOT_FROM_ORIGINAL_ENTRY_DETAIL_RECORD =
1641
+ T.let(
1642
+ :routing_number_not_from_original_entry_detail_record,
1643
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1644
+ )
1645
+
1646
+ # The depository financial institution account number was not from the original entry detail record.
1647
+ DEPOSITORY_FINANCIAL_INSTITUTION_ACCOUNT_NUMBER_NOT_FROM_ORIGINAL_ENTRY_DETAIL_RECORD =
1648
+ T.let(
1649
+ :depository_financial_institution_account_number_not_from_original_entry_detail_record,
1650
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1651
+ )
1652
+
1653
+ # The transaction code was incorrect, initiated by the originating depository financial institution.
1654
+ INCORRECT_TRANSACTION_CODE_BY_ORIGINATING_DEPOSITORY_FINANCIAL_INSTITUTION =
1655
+ T.let(
1656
+ :incorrect_transaction_code_by_originating_depository_financial_institution,
1657
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1658
+ )
1659
+
1660
+ sig do
1661
+ override.returns(
1662
+ T::Array[
1663
+ Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol
1664
+ ]
1665
+ )
1666
+ end
1667
+ def self.values
1668
+ end
1669
+ end
1670
+ end
1671
+
1672
+ class PreferredEffectiveDate < Increase::Internal::Type::BaseModel
1673
+ OrHash =
1674
+ T.type_alias do
1675
+ T.any(
1676
+ Increase::ACHTransfer::PreferredEffectiveDate,
1677
+ Increase::Internal::AnyHash
1678
+ )
1679
+ end
1680
+
1681
+ # A specific date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format to
1682
+ # use as the effective date when submitting this transfer.
1683
+ sig { returns(T.nilable(Date)) }
1684
+ attr_accessor :date
1685
+
1686
+ # A schedule by which Increase will choose an effective date for the transfer.
1687
+ sig do
1688
+ returns(
1689
+ T.nilable(
1690
+ Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule::TaggedSymbol
1691
+ )
1692
+ )
1693
+ end
1694
+ attr_accessor :settlement_schedule
1695
+
1696
+ # Configuration for how the effective date of the transfer will be set. This
1697
+ # determines same-day vs future-dated settlement timing. If not set, defaults to a
1698
+ # `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
1699
+ # must be set.
1700
+ sig do
1701
+ params(
1702
+ date: T.nilable(Date),
1703
+ settlement_schedule:
1704
+ T.nilable(
1705
+ Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule::OrSymbol
1706
+ )
1707
+ ).returns(T.attached_class)
1708
+ end
1709
+ def self.new(
1710
+ # A specific date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format to
1711
+ # use as the effective date when submitting this transfer.
1712
+ date:,
1713
+ # A schedule by which Increase will choose an effective date for the transfer.
1714
+ settlement_schedule:
1715
+ )
1716
+ end
1717
+
1718
+ sig do
1719
+ override.returns(
1720
+ {
1721
+ date: T.nilable(Date),
1722
+ settlement_schedule:
1723
+ T.nilable(
1724
+ Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule::TaggedSymbol
1725
+ )
1726
+ }
1727
+ )
1728
+ end
1729
+ def to_hash
1730
+ end
1731
+
1732
+ # A schedule by which Increase will choose an effective date for the transfer.
1733
+ module SettlementSchedule
1734
+ extend Increase::Internal::Type::Enum
1735
+
1736
+ TaggedSymbol =
1737
+ T.type_alias do
1738
+ T.all(
1739
+ Symbol,
1740
+ Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule
1741
+ )
1742
+ end
1743
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1744
+
1745
+ # The chosen effective date will be the same as the ACH processing date on which the transfer is submitted.
1746
+ # This is necessary, but not sufficient for the transfer to be settled same-day:
1747
+ # it must also be submitted before the last same-day cutoff
1748
+ # and be less than or equal to $1,000.000.00.
1749
+ SAME_DAY =
1750
+ T.let(
1751
+ :same_day,
1752
+ Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule::TaggedSymbol
1753
+ )
1754
+
1755
+ # The chosen effective date will be the business day following the ACH processing date on which the transfer is submitted. The transfer will be settled on that future day.
1756
+ FUTURE_DATED =
1757
+ T.let(
1758
+ :future_dated,
1759
+ Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule::TaggedSymbol
1760
+ )
1761
+
1762
+ sig do
1763
+ override.returns(
1764
+ T::Array[
1765
+ Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule::TaggedSymbol
1766
+ ]
1767
+ )
1768
+ end
1769
+ def self.values
1770
+ end
1771
+ end
1772
+ end
1773
+
1774
+ class Return < Increase::Internal::Type::BaseModel
1775
+ OrHash =
1776
+ T.type_alias do
1777
+ T.any(Increase::ACHTransfer::Return, Increase::Internal::AnyHash)
1778
+ end
1779
+
1780
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1781
+ # the transfer was created.
1782
+ sig { returns(Time) }
1783
+ attr_accessor :created_at
1784
+
1785
+ # The three character ACH return code, in the range R01 to R85.
1786
+ sig { returns(String) }
1787
+ attr_accessor :raw_return_reason_code
1788
+
1789
+ # Why the ACH Transfer was returned. This reason code is sent by the receiving
1790
+ # bank back to Increase.
1791
+ sig do
1792
+ returns(Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol)
1793
+ end
1794
+ attr_accessor :return_reason_code
1795
+
1796
+ # A 15 digit number that was generated by the bank that initiated the return. The
1797
+ # trace number of the return is different than that of the original transfer. ACH
1798
+ # trace numbers are not unique, but along with the amount and date this number can
1799
+ # be used to identify the ACH return at the bank that initiated it.
1800
+ sig { returns(String) }
1801
+ attr_accessor :trace_number
1802
+
1803
+ # The identifier of the Transaction associated with this return.
1804
+ sig { returns(String) }
1805
+ attr_accessor :transaction_id
1806
+
1807
+ # The identifier of the ACH Transfer associated with this return.
1808
+ sig { returns(String) }
1809
+ attr_accessor :transfer_id
1810
+
1811
+ # If your transfer is returned, this will contain details of the return.
1812
+ sig do
1813
+ params(
1814
+ created_at: Time,
1815
+ raw_return_reason_code: String,
1816
+ return_reason_code:
1817
+ Increase::ACHTransfer::Return::ReturnReasonCode::OrSymbol,
1818
+ trace_number: String,
1819
+ transaction_id: String,
1820
+ transfer_id: String
1821
+ ).returns(T.attached_class)
1822
+ end
1823
+ def self.new(
1824
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1825
+ # the transfer was created.
1826
+ created_at:,
1827
+ # The three character ACH return code, in the range R01 to R85.
1828
+ raw_return_reason_code:,
1829
+ # Why the ACH Transfer was returned. This reason code is sent by the receiving
1830
+ # bank back to Increase.
1831
+ return_reason_code:,
1832
+ # A 15 digit number that was generated by the bank that initiated the return. The
1833
+ # trace number of the return is different than that of the original transfer. ACH
1834
+ # trace numbers are not unique, but along with the amount and date this number can
1835
+ # be used to identify the ACH return at the bank that initiated it.
1836
+ trace_number:,
1837
+ # The identifier of the Transaction associated with this return.
1838
+ transaction_id:,
1839
+ # The identifier of the ACH Transfer associated with this return.
1840
+ transfer_id:
1841
+ )
1842
+ end
1843
+
1844
+ sig do
1845
+ override.returns(
1846
+ {
1847
+ created_at: Time,
1848
+ raw_return_reason_code: String,
1849
+ return_reason_code:
1850
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol,
1851
+ trace_number: String,
1852
+ transaction_id: String,
1853
+ transfer_id: String
1854
+ }
1855
+ )
1856
+ end
1857
+ def to_hash
1858
+ end
1859
+
1860
+ # Why the ACH Transfer was returned. This reason code is sent by the receiving
1861
+ # bank back to Increase.
1862
+ module ReturnReasonCode
1863
+ extend Increase::Internal::Type::Enum
1864
+
1865
+ TaggedSymbol =
1866
+ T.type_alias do
1867
+ T.all(Symbol, Increase::ACHTransfer::Return::ReturnReasonCode)
1868
+ end
1869
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1870
+
1871
+ # Code R01. Insufficient funds in the receiving account. Sometimes abbreviated to NSF.
1872
+ INSUFFICIENT_FUND =
1873
+ T.let(
1874
+ :insufficient_fund,
1875
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1876
+ )
1877
+
1878
+ # Code R03. The account does not exist or the receiving bank was unable to locate it.
1879
+ NO_ACCOUNT =
1880
+ T.let(
1881
+ :no_account,
1882
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1883
+ )
1884
+
1885
+ # Code R02. The account is closed at the receiving bank.
1886
+ ACCOUNT_CLOSED =
1887
+ T.let(
1888
+ :account_closed,
1889
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1890
+ )
1891
+
1892
+ # Code R04. The account number is invalid at the receiving bank.
1893
+ INVALID_ACCOUNT_NUMBER_STRUCTURE =
1894
+ T.let(
1895
+ :invalid_account_number_structure,
1896
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1897
+ )
1898
+
1899
+ # Code R16. The account at the receiving bank was frozen per the Office of Foreign Assets Control.
1900
+ ACCOUNT_FROZEN_ENTRY_RETURNED_PER_OFAC_INSTRUCTION =
1901
+ T.let(
1902
+ :account_frozen_entry_returned_per_ofac_instruction,
1903
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1904
+ )
1905
+
1906
+ # Code R23. The receiving bank account refused a credit transfer.
1907
+ CREDIT_ENTRY_REFUSED_BY_RECEIVER =
1908
+ T.let(
1909
+ :credit_entry_refused_by_receiver,
1910
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1911
+ )
1912
+
1913
+ # Code R05. The receiving bank rejected because of an incorrect Standard Entry Class code.
1914
+ UNAUTHORIZED_DEBIT_TO_CONSUMER_ACCOUNT_USING_CORPORATE_SEC_CODE =
1915
+ T.let(
1916
+ :unauthorized_debit_to_consumer_account_using_corporate_sec_code,
1917
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1918
+ )
1919
+
1920
+ # Code R29. The corporate customer at the receiving bank reversed the transfer.
1921
+ CORPORATE_CUSTOMER_ADVISED_NOT_AUTHORIZED =
1922
+ T.let(
1923
+ :corporate_customer_advised_not_authorized,
1924
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1925
+ )
1926
+
1927
+ # Code R08. The receiving bank stopped payment on this transfer.
1928
+ PAYMENT_STOPPED =
1929
+ T.let(
1930
+ :payment_stopped,
1931
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1932
+ )
1933
+
1934
+ # Code R20. The receiving bank account does not perform transfers.
1935
+ NON_TRANSACTION_ACCOUNT =
1936
+ T.let(
1937
+ :non_transaction_account,
1938
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1939
+ )
1940
+
1941
+ # Code R09. The receiving bank account does not have enough available balance for the transfer.
1942
+ UNCOLLECTED_FUNDS =
1943
+ T.let(
1944
+ :uncollected_funds,
1945
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1946
+ )
1947
+
1948
+ # Code R28. The routing number is incorrect.
1949
+ ROUTING_NUMBER_CHECK_DIGIT_ERROR =
1950
+ T.let(
1951
+ :routing_number_check_digit_error,
1952
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1953
+ )
1954
+
1955
+ # Code R10. The customer at the receiving bank reversed the transfer.
1956
+ CUSTOMER_ADVISED_UNAUTHORIZED_IMPROPER_INELIGIBLE_OR_INCOMPLETE =
1957
+ T.let(
1958
+ :customer_advised_unauthorized_improper_ineligible_or_incomplete,
1959
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1960
+ )
1961
+
1962
+ # Code R19. The amount field is incorrect or too large.
1963
+ AMOUNT_FIELD_ERROR =
1964
+ T.let(
1965
+ :amount_field_error,
1966
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1967
+ )
1968
+
1969
+ # Code R07. The customer at the receiving institution informed their bank that they have revoked authorization for a previously authorized transfer.
1970
+ AUTHORIZATION_REVOKED_BY_CUSTOMER =
1971
+ T.let(
1972
+ :authorization_revoked_by_customer,
1973
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1974
+ )
1975
+
1976
+ # Code R13. The routing number is invalid.
1977
+ INVALID_ACH_ROUTING_NUMBER =
1978
+ T.let(
1979
+ :invalid_ach_routing_number,
1980
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1981
+ )
1982
+
1983
+ # Code R17. The receiving bank is unable to process a field in the transfer.
1984
+ FILE_RECORD_EDIT_CRITERIA =
1985
+ T.let(
1986
+ :file_record_edit_criteria,
1987
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1988
+ )
1989
+
1990
+ # Code R45. The individual name field was invalid.
1991
+ ENR_INVALID_INDIVIDUAL_NAME =
1992
+ T.let(
1993
+ :enr_invalid_individual_name,
1994
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
1995
+ )
1996
+
1997
+ # Code R06. The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request.
1998
+ RETURNED_PER_ODFI_REQUEST =
1999
+ T.let(
2000
+ :returned_per_odfi_request,
2001
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2002
+ )
2003
+
2004
+ # Code R34. The receiving bank's regulatory supervisor has limited their participation in the ACH network.
2005
+ LIMITED_PARTICIPATION_DFI =
2006
+ T.let(
2007
+ :limited_participation_dfi,
2008
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2009
+ )
2010
+
2011
+ # Code R85. The outbound international ACH transfer was incorrect.
2012
+ INCORRECTLY_CODED_OUTBOUND_INTERNATIONAL_PAYMENT =
2013
+ T.let(
2014
+ :incorrectly_coded_outbound_international_payment,
2015
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2016
+ )
2017
+
2018
+ # Code R12. A rare return reason. The account was sold to another bank.
2019
+ ACCOUNT_SOLD_TO_ANOTHER_DFI =
2020
+ T.let(
2021
+ :account_sold_to_another_dfi,
2022
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2023
+ )
2024
+
2025
+ # Code R25. The addenda record is incorrect or missing.
2026
+ ADDENDA_ERROR =
2027
+ T.let(
2028
+ :addenda_error,
2029
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2030
+ )
2031
+
2032
+ # Code R15. A rare return reason. The account holder is deceased.
2033
+ BENEFICIARY_OR_ACCOUNT_HOLDER_DECEASED =
2034
+ T.let(
2035
+ :beneficiary_or_account_holder_deceased,
2036
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2037
+ )
2038
+
2039
+ # Code R11. A rare return reason. The customer authorized some payment to the sender, but this payment was not in error.
2040
+ CUSTOMER_ADVISED_NOT_WITHIN_AUTHORIZATION_TERMS =
2041
+ T.let(
2042
+ :customer_advised_not_within_authorization_terms,
2043
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2044
+ )
2045
+
2046
+ # Code R74. A rare return reason. Sent in response to a return that was returned with code `field_error`. The latest return should include the corrected field(s).
2047
+ CORRECTED_RETURN =
2048
+ T.let(
2049
+ :corrected_return,
2050
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2051
+ )
2052
+
2053
+ # Code R24. A rare return reason. The receiving bank received an exact duplicate entry with the same trace number and amount.
2054
+ DUPLICATE_ENTRY =
2055
+ T.let(
2056
+ :duplicate_entry,
2057
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2058
+ )
2059
+
2060
+ # Code R67. A rare return reason. The return this message refers to was a duplicate.
2061
+ DUPLICATE_RETURN =
2062
+ T.let(
2063
+ :duplicate_return,
2064
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2065
+ )
2066
+
2067
+ # Code R47. A rare return reason. Only used for US Government agency non-monetary automatic enrollment messages.
2068
+ ENR_DUPLICATE_ENROLLMENT =
2069
+ T.let(
2070
+ :enr_duplicate_enrollment,
2071
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2072
+ )
2073
+
2074
+ # Code R43. A rare return reason. Only used for US Government agency non-monetary automatic enrollment messages.
2075
+ ENR_INVALID_DFI_ACCOUNT_NUMBER =
2076
+ T.let(
2077
+ :enr_invalid_dfi_account_number,
2078
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2079
+ )
2080
+
2081
+ # Code R44. A rare return reason. Only used for US Government agency non-monetary automatic enrollment messages.
2082
+ ENR_INVALID_INDIVIDUAL_ID_NUMBER =
2083
+ T.let(
2084
+ :enr_invalid_individual_id_number,
2085
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2086
+ )
2087
+
2088
+ # Code R46. A rare return reason. Only used for US Government agency non-monetary automatic enrollment messages.
2089
+ ENR_INVALID_REPRESENTATIVE_PAYEE_INDICATOR =
2090
+ T.let(
2091
+ :enr_invalid_representative_payee_indicator,
2092
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2093
+ )
2094
+
2095
+ # Code R41. A rare return reason. Only used for US Government agency non-monetary automatic enrollment messages.
2096
+ ENR_INVALID_TRANSACTION_CODE =
2097
+ T.let(
2098
+ :enr_invalid_transaction_code,
2099
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2100
+ )
2101
+
2102
+ # Code R40. A rare return reason. Only used for US Government agency non-monetary automatic enrollment messages.
2103
+ ENR_RETURN_OF_ENR_ENTRY =
2104
+ T.let(
2105
+ :enr_return_of_enr_entry,
2106
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2107
+ )
2108
+
2109
+ # Code R42. A rare return reason. Only used for US Government agency non-monetary automatic enrollment messages.
2110
+ ENR_ROUTING_NUMBER_CHECK_DIGIT_ERROR =
2111
+ T.let(
2112
+ :enr_routing_number_check_digit_error,
2113
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2114
+ )
2115
+
2116
+ # Code R84. A rare return reason. The International ACH Transfer cannot be processed by the gateway.
2117
+ ENTRY_NOT_PROCESSED_BY_GATEWAY =
2118
+ T.let(
2119
+ :entry_not_processed_by_gateway,
2120
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2121
+ )
2122
+
2123
+ # Code R69. A rare return reason. One or more of the fields in the ACH were malformed.
2124
+ FIELD_ERROR =
2125
+ T.let(
2126
+ :field_error,
2127
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2128
+ )
2129
+
2130
+ # Code R83. A rare return reason. The Foreign receiving bank was unable to settle this ACH transfer.
2131
+ FOREIGN_RECEIVING_DFI_UNABLE_TO_SETTLE =
2132
+ T.let(
2133
+ :foreign_receiving_dfi_unable_to_settle,
2134
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2135
+ )
2136
+
2137
+ # Code R80. A rare return reason. The International ACH Transfer is malformed.
2138
+ IAT_ENTRY_CODING_ERROR =
2139
+ T.let(
2140
+ :iat_entry_coding_error,
2141
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2142
+ )
2143
+
2144
+ # Code R18. A rare return reason. The ACH has an improper effective entry date field.
2145
+ IMPROPER_EFFECTIVE_ENTRY_DATE =
2146
+ T.let(
2147
+ :improper_effective_entry_date,
2148
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2149
+ )
2150
+
2151
+ # Code R39. A rare return reason. The source document related to this ACH, usually an ACH check conversion, was presented to the bank.
2152
+ IMPROPER_SOURCE_DOCUMENT_SOURCE_DOCUMENT_PRESENTED =
2153
+ T.let(
2154
+ :improper_source_document_source_document_presented,
2155
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2156
+ )
2157
+
2158
+ # Code R21. A rare return reason. The Company ID field of the ACH was invalid.
2159
+ INVALID_COMPANY_ID =
2160
+ T.let(
2161
+ :invalid_company_id,
2162
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2163
+ )
2164
+
2165
+ # Code R82. A rare return reason. The foreign receiving bank identifier for an International ACH Transfer was invalid.
2166
+ INVALID_FOREIGN_RECEIVING_DFI_IDENTIFICATION =
2167
+ T.let(
2168
+ :invalid_foreign_receiving_dfi_identification,
2169
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2170
+ )
2171
+
2172
+ # Code R22. A rare return reason. The Individual ID number field of the ACH was invalid.
2173
+ INVALID_INDIVIDUAL_ID_NUMBER =
2174
+ T.let(
2175
+ :invalid_individual_id_number,
2176
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2177
+ )
2178
+
2179
+ # Code R53. A rare return reason. Both the Represented Check ("RCK") entry and the original check were presented to the bank.
2180
+ ITEM_AND_RCK_ENTRY_PRESENTED_FOR_PAYMENT =
2181
+ T.let(
2182
+ :item_and_rck_entry_presented_for_payment,
2183
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2184
+ )
2185
+
2186
+ # Code R51. A rare return reason. The Represented Check ("RCK") entry is ineligible.
2187
+ ITEM_RELATED_TO_RCK_ENTRY_IS_INELIGIBLE =
2188
+ T.let(
2189
+ :item_related_to_rck_entry_is_ineligible,
2190
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2191
+ )
2192
+
2193
+ # Code R26. A rare return reason. The ACH is missing a required field.
2194
+ MANDATORY_FIELD_ERROR =
2195
+ T.let(
2196
+ :mandatory_field_error,
2197
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2198
+ )
2199
+
2200
+ # Code R71. A rare return reason. The receiving bank does not recognize the routing number in a dishonored return entry.
2201
+ MISROUTED_DISHONORED_RETURN =
2202
+ T.let(
2203
+ :misrouted_dishonored_return,
2204
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2205
+ )
2206
+
2207
+ # Code R61. A rare return reason. The receiving bank does not recognize the routing number in a return entry.
2208
+ MISROUTED_RETURN =
2209
+ T.let(
2210
+ :misrouted_return,
2211
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2212
+ )
2213
+
2214
+ # Code R76. A rare return reason. Sent in response to a return, the bank does not find the errors alleged by the returning bank.
2215
+ NO_ERRORS_FOUND =
2216
+ T.let(
2217
+ :no_errors_found,
2218
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2219
+ )
2220
+
2221
+ # Code R77. A rare return reason. The receiving bank does not accept the return of the erroneous debit. The funds are not available at the receiving bank.
2222
+ NON_ACCEPTANCE_OF_R62_DISHONORED_RETURN =
2223
+ T.let(
2224
+ :non_acceptance_of_r62_dishonored_return,
2225
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2226
+ )
2227
+
2228
+ # Code R81. A rare return reason. The receiving bank does not accept International ACH Transfers.
2229
+ NON_PARTICIPANT_IN_IAT_PROGRAM =
2230
+ T.let(
2231
+ :non_participant_in_iat_program,
2232
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2233
+ )
2234
+
2235
+ # Code R31. A rare return reason. A return that has been agreed to be accepted by the receiving bank, despite falling outside of the usual return timeframe.
2236
+ PERMISSIBLE_RETURN_ENTRY =
2237
+ T.let(
2238
+ :permissible_return_entry,
2239
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2240
+ )
2241
+
2242
+ # Code R70. A rare return reason. The receiving bank had not approved this return.
2243
+ PERMISSIBLE_RETURN_ENTRY_NOT_ACCEPTED =
2244
+ T.let(
2245
+ :permissible_return_entry_not_accepted,
2246
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2247
+ )
2248
+
2249
+ # Code R32. A rare return reason. The receiving bank could not settle this transaction.
2250
+ RDFI_NON_SETTLEMENT =
2251
+ T.let(
2252
+ :rdfi_non_settlement,
2253
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2254
+ )
2255
+
2256
+ # Code R30. A rare return reason. The receiving bank does not accept Check Truncation ACH transfers.
2257
+ RDFI_PARTICIPANT_IN_CHECK_TRUNCATION_PROGRAM =
2258
+ T.let(
2259
+ :rdfi_participant_in_check_truncation_program,
2260
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2261
+ )
2262
+
2263
+ # Code R14. A rare return reason. The payee is deceased.
2264
+ REPRESENTATIVE_PAYEE_DECEASED_OR_UNABLE_TO_CONTINUE_IN_THAT_CAPACITY =
2265
+ T.let(
2266
+ :representative_payee_deceased_or_unable_to_continue_in_that_capacity,
2267
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2268
+ )
2269
+
2270
+ # Code R75. A rare return reason. The originating bank disputes that an earlier `duplicate_entry` return was actually a duplicate.
2271
+ RETURN_NOT_A_DUPLICATE =
2272
+ T.let(
2273
+ :return_not_a_duplicate,
2274
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2275
+ )
2276
+
2277
+ # Code R62. A rare return reason. The originating financial institution made a mistake and this return corrects it.
2278
+ RETURN_OF_ERRONEOUS_OR_REVERSING_DEBIT =
2279
+ T.let(
2280
+ :return_of_erroneous_or_reversing_debit,
2281
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2282
+ )
2283
+
2284
+ # Code R36. A rare return reason. Return of a malformed credit entry.
2285
+ RETURN_OF_IMPROPER_CREDIT_ENTRY =
2286
+ T.let(
2287
+ :return_of_improper_credit_entry,
2288
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2289
+ )
2290
+
2291
+ # Code R35. A rare return reason. Return of a malformed debit entry.
2292
+ RETURN_OF_IMPROPER_DEBIT_ENTRY =
2293
+ T.let(
2294
+ :return_of_improper_debit_entry,
2295
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2296
+ )
2297
+
2298
+ # Code R33. A rare return reason. Return of a Destroyed Check ("XKC") entry.
2299
+ RETURN_OF_XCK_ENTRY =
2300
+ T.let(
2301
+ :return_of_xck_entry,
2302
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2303
+ )
2304
+
2305
+ # Code R37. A rare return reason. The source document related to this ACH, usually an ACH check conversion, was presented to the bank.
2306
+ SOURCE_DOCUMENT_PRESENTED_FOR_PAYMENT =
2307
+ T.let(
2308
+ :source_document_presented_for_payment,
2309
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2310
+ )
2311
+
2312
+ # Code R50. A rare return reason. State law prevents the bank from accepting the Represented Check ("RCK") entry.
2313
+ STATE_LAW_AFFECTING_RCK_ACCEPTANCE =
2314
+ T.let(
2315
+ :state_law_affecting_rck_acceptance,
2316
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2317
+ )
2318
+
2319
+ # Code R52. A rare return reason. A stop payment was issued on a Represented Check ("RCK") entry.
2320
+ STOP_PAYMENT_ON_ITEM_RELATED_TO_RCK_ENTRY =
2321
+ T.let(
2322
+ :stop_payment_on_item_related_to_rck_entry,
2323
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2324
+ )
2325
+
2326
+ # Code R38. A rare return reason. The source attached to the ACH, usually an ACH check conversion, includes a stop payment.
2327
+ STOP_PAYMENT_ON_SOURCE_DOCUMENT =
2328
+ T.let(
2329
+ :stop_payment_on_source_document,
2330
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2331
+ )
2332
+
2333
+ # Code R73. A rare return reason. The bank receiving an `untimely_return` believes it was on time.
2334
+ TIMELY_ORIGINAL_RETURN =
2335
+ T.let(
2336
+ :timely_original_return,
2337
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2338
+ )
2339
+
2340
+ # Code R27. A rare return reason. An ACH return's trace number does not match an originated ACH.
2341
+ TRACE_NUMBER_ERROR =
2342
+ T.let(
2343
+ :trace_number_error,
2344
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2345
+ )
2346
+
2347
+ # Code R72. A rare return reason. The dishonored return was sent too late.
2348
+ UNTIMELY_DISHONORED_RETURN =
2349
+ T.let(
2350
+ :untimely_dishonored_return,
2351
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2352
+ )
2353
+
2354
+ # Code R68. A rare return reason. The return was sent too late.
2355
+ UNTIMELY_RETURN =
2356
+ T.let(
2357
+ :untimely_return,
2358
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2359
+ )
2360
+
2361
+ sig do
2362
+ override.returns(
2363
+ T::Array[
2364
+ Increase::ACHTransfer::Return::ReturnReasonCode::TaggedSymbol
2365
+ ]
2366
+ )
2367
+ end
2368
+ def self.values
2369
+ end
2370
+ end
2371
+ end
2372
+
2373
+ class Settlement < Increase::Internal::Type::BaseModel
2374
+ OrHash =
2375
+ T.type_alias do
2376
+ T.any(
2377
+ Increase::ACHTransfer::Settlement,
2378
+ Increase::Internal::AnyHash
2379
+ )
2380
+ end
2381
+
2382
+ # When the funds for this transfer have settled at the destination bank at the
2383
+ # Federal Reserve.
2384
+ sig { returns(Time) }
2385
+ attr_accessor :settled_at
2386
+
2387
+ # A subhash containing information about when and how the transfer settled at the
2388
+ # Federal Reserve.
2389
+ sig { params(settled_at: Time).returns(T.attached_class) }
2390
+ def self.new(
2391
+ # When the funds for this transfer have settled at the destination bank at the
2392
+ # Federal Reserve.
2393
+ settled_at:
2394
+ )
2395
+ end
2396
+
2397
+ sig { override.returns({ settled_at: Time }) }
2398
+ def to_hash
2399
+ end
2400
+ end
2401
+
2402
+ # The Standard Entry Class (SEC) code to use for the transfer.
2403
+ module StandardEntryClassCode
2404
+ extend Increase::Internal::Type::Enum
2405
+
2406
+ TaggedSymbol =
2407
+ T.type_alias do
2408
+ T.all(Symbol, Increase::ACHTransfer::StandardEntryClassCode)
2409
+ end
2410
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2411
+
2412
+ # Corporate Credit and Debit (CCD).
2413
+ CORPORATE_CREDIT_OR_DEBIT =
2414
+ T.let(
2415
+ :corporate_credit_or_debit,
2416
+ Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol
2417
+ )
2418
+
2419
+ # Corporate Trade Exchange (CTX).
2420
+ CORPORATE_TRADE_EXCHANGE =
2421
+ T.let(
2422
+ :corporate_trade_exchange,
2423
+ Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol
2424
+ )
2425
+
2426
+ # Prearranged Payments and Deposits (PPD).
2427
+ PREARRANGED_PAYMENTS_AND_DEPOSIT =
2428
+ T.let(
2429
+ :prearranged_payments_and_deposit,
2430
+ Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol
2431
+ )
2432
+
2433
+ # Internet Initiated (WEB).
2434
+ INTERNET_INITIATED =
2435
+ T.let(
2436
+ :internet_initiated,
2437
+ Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol
2438
+ )
2439
+
2440
+ sig do
2441
+ override.returns(
2442
+ T::Array[
2443
+ Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol
2444
+ ]
2445
+ )
2446
+ end
2447
+ def self.values
2448
+ end
2449
+ end
2450
+
2451
+ # The lifecycle status of the transfer.
2452
+ module Status
2453
+ extend Increase::Internal::Type::Enum
2454
+
2455
+ TaggedSymbol =
2456
+ T.type_alias { T.all(Symbol, Increase::ACHTransfer::Status) }
2457
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2458
+
2459
+ # The transfer is pending approval.
2460
+ PENDING_APPROVAL =
2461
+ T.let(:pending_approval, Increase::ACHTransfer::Status::TaggedSymbol)
2462
+
2463
+ # The transfer belongs to a Transfer Session that is pending confirmation.
2464
+ PENDING_TRANSFER_SESSION_CONFIRMATION =
2465
+ T.let(
2466
+ :pending_transfer_session_confirmation,
2467
+ Increase::ACHTransfer::Status::TaggedSymbol
2468
+ )
2469
+
2470
+ # The transfer has been canceled.
2471
+ CANCELED = T.let(:canceled, Increase::ACHTransfer::Status::TaggedSymbol)
2472
+
2473
+ # The transfer is pending submission to the Federal Reserve.
2474
+ PENDING_SUBMISSION =
2475
+ T.let(
2476
+ :pending_submission,
2477
+ Increase::ACHTransfer::Status::TaggedSymbol
2478
+ )
2479
+
2480
+ # The transfer is pending review by Increase.
2481
+ PENDING_REVIEWING =
2482
+ T.let(:pending_reviewing, Increase::ACHTransfer::Status::TaggedSymbol)
2483
+
2484
+ # The transfer requires attention from an Increase operator.
2485
+ REQUIRES_ATTENTION =
2486
+ T.let(
2487
+ :requires_attention,
2488
+ Increase::ACHTransfer::Status::TaggedSymbol
2489
+ )
2490
+
2491
+ # The transfer has been rejected.
2492
+ REJECTED = T.let(:rejected, Increase::ACHTransfer::Status::TaggedSymbol)
2493
+
2494
+ # The transfer is complete.
2495
+ SUBMITTED =
2496
+ T.let(:submitted, Increase::ACHTransfer::Status::TaggedSymbol)
2497
+
2498
+ # The transfer has been returned.
2499
+ RETURNED = T.let(:returned, Increase::ACHTransfer::Status::TaggedSymbol)
2500
+
2501
+ sig do
2502
+ override.returns(
2503
+ T::Array[Increase::ACHTransfer::Status::TaggedSymbol]
2504
+ )
2505
+ end
2506
+ def self.values
2507
+ end
2508
+ end
2509
+
2510
+ class Submission < Increase::Internal::Type::BaseModel
2511
+ OrHash =
2512
+ T.type_alias do
2513
+ T.any(
2514
+ Increase::ACHTransfer::Submission,
2515
+ Increase::Internal::AnyHash
2516
+ )
2517
+ end
2518
+
2519
+ # The ACH transfer's effective date as sent to the Federal Reserve. If a specific
2520
+ # date was configured using `preferred_effective_date`, this will match that
2521
+ # value. Otherwise, it will be the date selected (following the specified
2522
+ # settlement schedule) at the time the transfer was submitted.
2523
+ sig { returns(Date) }
2524
+ attr_accessor :effective_date
2525
+
2526
+ # When the transfer is expected to settle in the recipient's account. Credits may
2527
+ # be available sooner, at the receiving banks discretion. The FedACH schedule is
2528
+ # published
2529
+ # [here](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
2530
+ sig { returns(Time) }
2531
+ attr_accessor :expected_funds_settlement_at
2532
+
2533
+ # The settlement schedule the transfer is expected to follow. This expectation
2534
+ # takes into account the `effective_date`, `submitted_at`, and the amount of the
2535
+ # transfer.
2536
+ sig do
2537
+ returns(
2538
+ Increase::ACHTransfer::Submission::ExpectedSettlementSchedule::TaggedSymbol
2539
+ )
2540
+ end
2541
+ attr_accessor :expected_settlement_schedule
2542
+
2543
+ # When the ACH transfer was sent to FedACH.
2544
+ sig { returns(Time) }
2545
+ attr_accessor :submitted_at
2546
+
2547
+ # A 15 digit number recorded in the Nacha file and transmitted to the receiving
2548
+ # bank. Along with the amount, date, and originating routing number, this can be
2549
+ # used to identify the ACH transfer at the receiving bank. ACH trace numbers are
2550
+ # not unique, but are
2551
+ # [used to correlate returns](https://increase.com/documentation/ach-returns#ach-returns).
2552
+ sig { returns(String) }
2553
+ attr_accessor :trace_number
2554
+
2555
+ # After the transfer is submitted to FedACH, this will contain supplemental
2556
+ # details. Increase batches transfers and submits a file to the Federal Reserve
2557
+ # roughly every 30 minutes. The Federal Reserve processes ACH transfers during
2558
+ # weekdays according to their
2559
+ # [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
2560
+ sig do
2561
+ params(
2562
+ effective_date: Date,
2563
+ expected_funds_settlement_at: Time,
2564
+ expected_settlement_schedule:
2565
+ Increase::ACHTransfer::Submission::ExpectedSettlementSchedule::OrSymbol,
2566
+ submitted_at: Time,
2567
+ trace_number: String
2568
+ ).returns(T.attached_class)
2569
+ end
2570
+ def self.new(
2571
+ # The ACH transfer's effective date as sent to the Federal Reserve. If a specific
2572
+ # date was configured using `preferred_effective_date`, this will match that
2573
+ # value. Otherwise, it will be the date selected (following the specified
2574
+ # settlement schedule) at the time the transfer was submitted.
2575
+ effective_date:,
2576
+ # When the transfer is expected to settle in the recipient's account. Credits may
2577
+ # be available sooner, at the receiving banks discretion. The FedACH schedule is
2578
+ # published
2579
+ # [here](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
2580
+ expected_funds_settlement_at:,
2581
+ # The settlement schedule the transfer is expected to follow. This expectation
2582
+ # takes into account the `effective_date`, `submitted_at`, and the amount of the
2583
+ # transfer.
2584
+ expected_settlement_schedule:,
2585
+ # When the ACH transfer was sent to FedACH.
2586
+ submitted_at:,
2587
+ # A 15 digit number recorded in the Nacha file and transmitted to the receiving
2588
+ # bank. Along with the amount, date, and originating routing number, this can be
2589
+ # used to identify the ACH transfer at the receiving bank. ACH trace numbers are
2590
+ # not unique, but are
2591
+ # [used to correlate returns](https://increase.com/documentation/ach-returns#ach-returns).
2592
+ trace_number:
2593
+ )
2594
+ end
2595
+
2596
+ sig do
2597
+ override.returns(
2598
+ {
2599
+ effective_date: Date,
2600
+ expected_funds_settlement_at: Time,
2601
+ expected_settlement_schedule:
2602
+ Increase::ACHTransfer::Submission::ExpectedSettlementSchedule::TaggedSymbol,
2603
+ submitted_at: Time,
2604
+ trace_number: String
2605
+ }
2606
+ )
2607
+ end
2608
+ def to_hash
2609
+ end
2610
+
2611
+ # The settlement schedule the transfer is expected to follow. This expectation
2612
+ # takes into account the `effective_date`, `submitted_at`, and the amount of the
2613
+ # transfer.
2614
+ module ExpectedSettlementSchedule
2615
+ extend Increase::Internal::Type::Enum
2616
+
2617
+ TaggedSymbol =
2618
+ T.type_alias do
2619
+ T.all(
2620
+ Symbol,
2621
+ Increase::ACHTransfer::Submission::ExpectedSettlementSchedule
2622
+ )
2623
+ end
2624
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2625
+
2626
+ # The transfer is expected to settle same-day.
2627
+ SAME_DAY =
2628
+ T.let(
2629
+ :same_day,
2630
+ Increase::ACHTransfer::Submission::ExpectedSettlementSchedule::TaggedSymbol
2631
+ )
2632
+
2633
+ # The transfer is expected to settle on a future date.
2634
+ FUTURE_DATED =
2635
+ T.let(
2636
+ :future_dated,
2637
+ Increase::ACHTransfer::Submission::ExpectedSettlementSchedule::TaggedSymbol
2638
+ )
2639
+
2640
+ sig do
2641
+ override.returns(
2642
+ T::Array[
2643
+ Increase::ACHTransfer::Submission::ExpectedSettlementSchedule::TaggedSymbol
2644
+ ]
2645
+ )
2646
+ end
2647
+ def self.values
2648
+ end
2649
+ end
2650
+ end
2651
+
2652
+ # A constant representing the object's type. For this resource it will always be
2653
+ # `ach_transfer`.
2654
+ module Type
2655
+ extend Increase::Internal::Type::Enum
2656
+
2657
+ TaggedSymbol =
2658
+ T.type_alias { T.all(Symbol, Increase::ACHTransfer::Type) }
2659
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2660
+
2661
+ ACH_TRANSFER =
2662
+ T.let(:ach_transfer, Increase::ACHTransfer::Type::TaggedSymbol)
2663
+
2664
+ sig do
2665
+ override.returns(T::Array[Increase::ACHTransfer::Type::TaggedSymbol])
2666
+ end
2667
+ def self.values
2668
+ end
2669
+ end
2670
+ end
2671
+ end
2672
+ end