increase 0.3.3 → 1.1.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 +832 -56
  4. data/README.md +209 -254
  5. data/SECURITY.md +3 -0
  6. data/lib/increase/client.rb +287 -43
  7. data/lib/increase/errors.rb +245 -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 +167 -0
  13. data/lib/increase/internal/type/base_model.rb +536 -0
  14. data/lib/increase/internal/type/base_page.rb +55 -0
  15. data/lib/increase/internal/type/boolean.rb +77 -0
  16. data/lib/increase/internal/type/converter.rb +300 -0
  17. data/lib/increase/internal/type/enum.rb +131 -0
  18. data/lib/increase/internal/type/file_input.rb +108 -0
  19. data/lib/increase/internal/type/hash_of.rb +187 -0
  20. data/lib/increase/internal/type/request_parameters.rb +42 -0
  21. data/lib/increase/internal/type/union.rb +235 -0
  22. data/lib/increase/internal/type/unknown.rb +81 -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 +1006 -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 +348 -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 +381 -0
  127. data/lib/increase/models/event_list_params.rb +413 -0
  128. data/lib/increase/models/event_retrieve_params.rb +14 -0
  129. data/lib/increase/models/event_subscription.rb +426 -0
  130. data/lib/increase/models/event_subscription_create_params.rb +352 -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 +1125 -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 +169 -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 +1740 -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 +5821 -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 +222 -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 +58 -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 +121 -0
  383. data/rbi/increase/internal/type/unknown.rbi +58 -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 +1706 -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 +634 -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 +740 -0
  488. data/rbi/increase/models/event_list_params.rbi +904 -0
  489. data/rbi/increase/models/event_retrieve_params.rbi +27 -0
  490. data/rbi/increase/models/event_subscription.rbi +875 -0
  491. data/rbi/increase/models/event_subscription_create_params.rbi +795 -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 +1954 -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 +258 -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 +3215 -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 +10451 -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 +154 -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 +62 -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 +744 -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 +281 -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 +447 -0
  847. data/sig/increase/models/event_list_params.rbs +506 -0
  848. data/sig/increase/models/event_retrieve_params.rbs +15 -0
  849. data/sig/increase/models/event_subscription.rbs +477 -0
  850. data/sig/increase/models/event_subscription_create_params.rbs +441 -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 +908 -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 +128 -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,1740 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::PendingTransactions#create
6
+ class PendingTransaction < Increase::Internal::Type::BaseModel
7
+ # @!attribute id
8
+ # The Pending Transaction identifier.
9
+ #
10
+ # @return [String]
11
+ required :id, String
12
+
13
+ # @!attribute account_id
14
+ # The identifier for the account this Pending Transaction belongs to.
15
+ #
16
+ # @return [String]
17
+ required :account_id, String
18
+
19
+ # @!attribute amount
20
+ # The Pending Transaction amount in the minor unit of its currency. For dollars,
21
+ # for example, this is cents.
22
+ #
23
+ # @return [Integer]
24
+ required :amount, Integer
25
+
26
+ # @!attribute balance_impact
27
+ # How the Pending Transaction affects the balance of its Account while its status
28
+ # is `pending`.
29
+ #
30
+ # @return [Symbol, Increase::Models::PendingTransaction::BalanceImpact]
31
+ required :balance_impact, enum: -> { Increase::PendingTransaction::BalanceImpact }
32
+
33
+ # @!attribute completed_at
34
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
35
+ # Transaction was completed.
36
+ #
37
+ # @return [Time, nil]
38
+ required :completed_at, Time, nil?: true
39
+
40
+ # @!attribute created_at
41
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
42
+ # Transaction occurred.
43
+ #
44
+ # @return [Time]
45
+ required :created_at, Time
46
+
47
+ # @!attribute currency
48
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
49
+ # Transaction's currency. This will match the currency on the Pending
50
+ # Transaction's Account.
51
+ #
52
+ # @return [Symbol, Increase::Models::PendingTransaction::Currency]
53
+ required :currency, enum: -> { Increase::PendingTransaction::Currency }
54
+
55
+ # @!attribute description
56
+ # For a Pending Transaction related to a transfer, this is the description you
57
+ # provide. For a Pending Transaction related to a payment, this is the description
58
+ # the vendor provides.
59
+ #
60
+ # @return [String]
61
+ required :description, String
62
+
63
+ # @!attribute route_id
64
+ # The identifier for the route this Pending Transaction came through. Routes are
65
+ # things like cards and ACH details.
66
+ #
67
+ # @return [String, nil]
68
+ required :route_id, String, nil?: true
69
+
70
+ # @!attribute route_type
71
+ # The type of the route this Pending Transaction came through.
72
+ #
73
+ # @return [Symbol, Increase::Models::PendingTransaction::RouteType, nil]
74
+ required :route_type, enum: -> { Increase::PendingTransaction::RouteType }, nil?: true
75
+
76
+ # @!attribute source
77
+ # This is an object giving more details on the network-level event that caused the
78
+ # Pending Transaction. For example, for a card transaction this lists the
79
+ # merchant's industry and location.
80
+ #
81
+ # @return [Increase::Models::PendingTransaction::Source]
82
+ required :source, -> { Increase::PendingTransaction::Source }
83
+
84
+ # @!attribute status
85
+ # Whether the Pending Transaction has been confirmed and has an associated
86
+ # Transaction.
87
+ #
88
+ # @return [Symbol, Increase::Models::PendingTransaction::Status]
89
+ required :status, enum: -> { Increase::PendingTransaction::Status }
90
+
91
+ # @!attribute type
92
+ # A constant representing the object's type. For this resource it will always be
93
+ # `pending_transaction`.
94
+ #
95
+ # @return [Symbol, Increase::Models::PendingTransaction::Type]
96
+ required :type, enum: -> { Increase::PendingTransaction::Type }
97
+
98
+ # @!method initialize(id:, account_id:, amount:, balance_impact:, completed_at:, created_at:, currency:, description:, route_id:, route_type:, source:, status:, type:)
99
+ # Some parameter documentations has been truncated, see
100
+ # {Increase::Models::PendingTransaction} for more details.
101
+ #
102
+ # Pending Transactions are potential future additions and removals of money from
103
+ # your bank account.
104
+ #
105
+ # @param id [String] The Pending Transaction identifier.
106
+ #
107
+ # @param account_id [String] The identifier for the account this Pending Transaction belongs to.
108
+ #
109
+ # @param amount [Integer] The Pending Transaction amount in the minor unit of its currency. For dollars, f
110
+ #
111
+ # @param balance_impact [Symbol, Increase::Models::PendingTransaction::BalanceImpact] How the Pending Transaction affects the balance of its Account while its status
112
+ #
113
+ # @param completed_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
114
+ #
115
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
116
+ #
117
+ # @param currency [Symbol, Increase::Models::PendingTransaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending Tran
118
+ #
119
+ # @param description [String] For a Pending Transaction related to a transfer, this is the description you pro
120
+ #
121
+ # @param route_id [String, nil] The identifier for the route this Pending Transaction came through. Routes are t
122
+ #
123
+ # @param route_type [Symbol, Increase::Models::PendingTransaction::RouteType, nil] The type of the route this Pending Transaction came through.
124
+ #
125
+ # @param source [Increase::Models::PendingTransaction::Source] This is an object giving more details on the network-level event that caused the
126
+ #
127
+ # @param status [Symbol, Increase::Models::PendingTransaction::Status] Whether the Pending Transaction has been confirmed and has an associated Transac
128
+ #
129
+ # @param type [Symbol, Increase::Models::PendingTransaction::Type] A constant representing the object's type. For this resource it will always be `
130
+
131
+ # How the Pending Transaction affects the balance of its Account while its status
132
+ # is `pending`.
133
+ #
134
+ # @see Increase::Models::PendingTransaction#balance_impact
135
+ module BalanceImpact
136
+ extend Increase::Internal::Type::Enum
137
+
138
+ # This Pending Transaction will decrement the available balance on the Account while its status is `pending`.
139
+ AFFECTS_AVAILABLE_BALANCE = :affects_available_balance
140
+
141
+ # This Pending Transaction does not affect the available balance on the Account.
142
+ NONE = :none
143
+
144
+ # @!method self.values
145
+ # @return [Array<Symbol>]
146
+ end
147
+
148
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
149
+ # Transaction's currency. This will match the currency on the Pending
150
+ # Transaction's Account.
151
+ #
152
+ # @see Increase::Models::PendingTransaction#currency
153
+ module Currency
154
+ extend Increase::Internal::Type::Enum
155
+
156
+ # Canadian Dollar (CAD)
157
+ CAD = :CAD
158
+
159
+ # Swiss Franc (CHF)
160
+ CHF = :CHF
161
+
162
+ # Euro (EUR)
163
+ EUR = :EUR
164
+
165
+ # British Pound (GBP)
166
+ GBP = :GBP
167
+
168
+ # Japanese Yen (JPY)
169
+ JPY = :JPY
170
+
171
+ # US Dollar (USD)
172
+ USD = :USD
173
+
174
+ # @!method self.values
175
+ # @return [Array<Symbol>]
176
+ end
177
+
178
+ # The type of the route this Pending Transaction came through.
179
+ #
180
+ # @see Increase::Models::PendingTransaction#route_type
181
+ module RouteType
182
+ extend Increase::Internal::Type::Enum
183
+
184
+ # An Account Number.
185
+ ACCOUNT_NUMBER = :account_number
186
+
187
+ # A Card.
188
+ CARD = :card
189
+
190
+ # A Lockbox.
191
+ LOCKBOX = :lockbox
192
+
193
+ # @!method self.values
194
+ # @return [Array<Symbol>]
195
+ end
196
+
197
+ # @see Increase::Models::PendingTransaction#source
198
+ class Source < Increase::Internal::Type::BaseModel
199
+ # @!attribute account_transfer_instruction
200
+ # An Account Transfer Instruction object. This field will be present in the JSON
201
+ # response if and only if `category` is equal to `account_transfer_instruction`.
202
+ #
203
+ # @return [Increase::Models::PendingTransaction::Source::AccountTransferInstruction, nil]
204
+ required :account_transfer_instruction,
205
+ -> { Increase::PendingTransaction::Source::AccountTransferInstruction },
206
+ nil?: true
207
+
208
+ # @!attribute ach_transfer_instruction
209
+ # An ACH Transfer Instruction object. This field will be present in the JSON
210
+ # response if and only if `category` is equal to `ach_transfer_instruction`.
211
+ #
212
+ # @return [Increase::Models::PendingTransaction::Source::ACHTransferInstruction, nil]
213
+ required :ach_transfer_instruction,
214
+ -> { Increase::PendingTransaction::Source::ACHTransferInstruction },
215
+ nil?: true
216
+
217
+ # @!attribute card_authorization
218
+ # A Card Authorization object. This field will be present in the JSON response if
219
+ # and only if `category` is equal to `card_authorization`. Card Authorizations are
220
+ # temporary holds placed on a customers funds with the intent to later clear a
221
+ # transaction.
222
+ #
223
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization, nil]
224
+ required :card_authorization,
225
+ -> {
226
+ Increase::PendingTransaction::Source::CardAuthorization
227
+ },
228
+ nil?: true
229
+
230
+ # @!attribute card_push_transfer_instruction
231
+ # A Card Push Transfer Instruction object. This field will be present in the JSON
232
+ # response if and only if `category` is equal to `card_push_transfer_instruction`.
233
+ #
234
+ # @return [Increase::Models::PendingTransaction::Source::CardPushTransferInstruction, nil]
235
+ required :card_push_transfer_instruction,
236
+ -> { Increase::PendingTransaction::Source::CardPushTransferInstruction },
237
+ nil?: true
238
+
239
+ # @!attribute category
240
+ # The type of the resource. We may add additional possible values for this enum
241
+ # over time; your application should be able to handle such additions gracefully.
242
+ #
243
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::Category]
244
+ required :category, enum: -> { Increase::PendingTransaction::Source::Category }
245
+
246
+ # @!attribute check_deposit_instruction
247
+ # A Check Deposit Instruction object. This field will be present in the JSON
248
+ # response if and only if `category` is equal to `check_deposit_instruction`.
249
+ #
250
+ # @return [Increase::Models::PendingTransaction::Source::CheckDepositInstruction, nil]
251
+ required :check_deposit_instruction,
252
+ -> { Increase::PendingTransaction::Source::CheckDepositInstruction },
253
+ nil?: true
254
+
255
+ # @!attribute check_transfer_instruction
256
+ # A Check Transfer Instruction object. This field will be present in the JSON
257
+ # response if and only if `category` is equal to `check_transfer_instruction`.
258
+ #
259
+ # @return [Increase::Models::PendingTransaction::Source::CheckTransferInstruction, nil]
260
+ required :check_transfer_instruction,
261
+ -> { Increase::PendingTransaction::Source::CheckTransferInstruction },
262
+ nil?: true
263
+
264
+ # @!attribute inbound_funds_hold
265
+ # An Inbound Funds Hold object. This field will be present in the JSON response if
266
+ # and only if `category` is equal to `inbound_funds_hold`. We hold funds for
267
+ # certain transaction types to account for return windows where funds might still
268
+ # be clawed back by the sending institution.
269
+ #
270
+ # @return [Increase::Models::PendingTransaction::Source::InboundFundsHold, nil]
271
+ required :inbound_funds_hold,
272
+ -> {
273
+ Increase::PendingTransaction::Source::InboundFundsHold
274
+ },
275
+ nil?: true
276
+
277
+ # @!attribute inbound_wire_transfer_reversal
278
+ # An Inbound Wire Transfer Reversal object. This field will be present in the JSON
279
+ # response if and only if `category` is equal to `inbound_wire_transfer_reversal`.
280
+ # An Inbound Wire Transfer Reversal is created when Increase has received a wire
281
+ # and the User requests that it be reversed.
282
+ #
283
+ # @return [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil]
284
+ required :inbound_wire_transfer_reversal,
285
+ -> { Increase::PendingTransaction::Source::InboundWireTransferReversal },
286
+ nil?: true
287
+
288
+ # @!attribute other
289
+ # If the category of this Transaction source is equal to `other`, this field will
290
+ # contain an empty object, otherwise it will contain null.
291
+ #
292
+ # @return [Object, nil]
293
+ required :other, Increase::Internal::Type::Unknown, nil?: true
294
+
295
+ # @!attribute real_time_payments_transfer_instruction
296
+ # A Real-Time Payments Transfer Instruction object. This field will be present in
297
+ # the JSON response if and only if `category` is equal to
298
+ # `real_time_payments_transfer_instruction`.
299
+ #
300
+ # @return [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil]
301
+ required :real_time_payments_transfer_instruction,
302
+ -> { Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction },
303
+ nil?: true
304
+
305
+ # @!attribute swift_transfer_instruction
306
+ # A Swift Transfer Instruction object. This field will be present in the JSON
307
+ # response if and only if `category` is equal to `swift_transfer_instruction`.
308
+ #
309
+ # @return [Increase::Models::PendingTransaction::Source::SwiftTransferInstruction, nil]
310
+ required :swift_transfer_instruction,
311
+ -> { Increase::PendingTransaction::Source::SwiftTransferInstruction },
312
+ nil?: true
313
+
314
+ # @!attribute user_initiated_hold
315
+ # An User Initiated Hold object. This field will be present in the JSON response
316
+ # if and only if `category` is equal to `user_initiated_hold`. Created when a user
317
+ # initiates a hold on funds in their account.
318
+ #
319
+ # @return [Object, nil]
320
+ required :user_initiated_hold, Increase::Internal::Type::Unknown, nil?: true
321
+
322
+ # @!attribute wire_transfer_instruction
323
+ # A Wire Transfer Instruction object. This field will be present in the JSON
324
+ # response if and only if `category` is equal to `wire_transfer_instruction`.
325
+ #
326
+ # @return [Increase::Models::PendingTransaction::Source::WireTransferInstruction, nil]
327
+ required :wire_transfer_instruction,
328
+ -> { Increase::PendingTransaction::Source::WireTransferInstruction },
329
+ nil?: true
330
+
331
+ # @!method initialize(account_transfer_instruction:, ach_transfer_instruction:, card_authorization:, card_push_transfer_instruction:, category:, check_deposit_instruction:, check_transfer_instruction:, inbound_funds_hold:, inbound_wire_transfer_reversal:, other:, real_time_payments_transfer_instruction:, swift_transfer_instruction:, user_initiated_hold:, wire_transfer_instruction:)
332
+ # Some parameter documentations has been truncated, see
333
+ # {Increase::Models::PendingTransaction::Source} for more details.
334
+ #
335
+ # This is an object giving more details on the network-level event that caused the
336
+ # Pending Transaction. For example, for a card transaction this lists the
337
+ # merchant's industry and location.
338
+ #
339
+ # @param account_transfer_instruction [Increase::Models::PendingTransaction::Source::AccountTransferInstruction, nil] An Account Transfer Instruction object. This field will be present in the JSON r
340
+ #
341
+ # @param ach_transfer_instruction [Increase::Models::PendingTransaction::Source::ACHTransferInstruction, nil] An ACH Transfer Instruction object. This field will be present in the JSON respo
342
+ #
343
+ # @param card_authorization [Increase::Models::PendingTransaction::Source::CardAuthorization, nil] A Card Authorization object. This field will be present in the JSON response if
344
+ #
345
+ # @param card_push_transfer_instruction [Increase::Models::PendingTransaction::Source::CardPushTransferInstruction, nil] A Card Push Transfer Instruction object. This field will be present in the JSON
346
+ #
347
+ # @param category [Symbol, Increase::Models::PendingTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov
348
+ #
349
+ # @param check_deposit_instruction [Increase::Models::PendingTransaction::Source::CheckDepositInstruction, nil] A Check Deposit Instruction object. This field will be present in the JSON respo
350
+ #
351
+ # @param check_transfer_instruction [Increase::Models::PendingTransaction::Source::CheckTransferInstruction, nil] A Check Transfer Instruction object. This field will be present in the JSON resp
352
+ #
353
+ # @param inbound_funds_hold [Increase::Models::PendingTransaction::Source::InboundFundsHold, nil] An Inbound Funds Hold object. This field will be present in the JSON response if
354
+ #
355
+ # @param inbound_wire_transfer_reversal [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal object. This field will be present in the JSON
356
+ #
357
+ # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
358
+ #
359
+ # @param real_time_payments_transfer_instruction [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] A Real-Time Payments Transfer Instruction object. This field will be present in
360
+ #
361
+ # @param swift_transfer_instruction [Increase::Models::PendingTransaction::Source::SwiftTransferInstruction, nil] A Swift Transfer Instruction object. This field will be present in the JSON resp
362
+ #
363
+ # @param user_initiated_hold [Object, nil] An User Initiated Hold object. This field will be present in the JSON response i
364
+ #
365
+ # @param wire_transfer_instruction [Increase::Models::PendingTransaction::Source::WireTransferInstruction, nil] A Wire Transfer Instruction object. This field will be present in the JSON respo
366
+
367
+ # @see Increase::Models::PendingTransaction::Source#account_transfer_instruction
368
+ class AccountTransferInstruction < Increase::Internal::Type::BaseModel
369
+ # @!attribute amount
370
+ # The pending amount in the minor unit of the transaction's currency. For dollars,
371
+ # for example, this is cents.
372
+ #
373
+ # @return [Integer]
374
+ required :amount, Integer
375
+
376
+ # @!attribute currency
377
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
378
+ # account currency.
379
+ #
380
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::AccountTransferInstruction::Currency]
381
+ required :currency,
382
+ enum: -> { Increase::PendingTransaction::Source::AccountTransferInstruction::Currency }
383
+
384
+ # @!attribute transfer_id
385
+ # The identifier of the Account Transfer that led to this Pending Transaction.
386
+ #
387
+ # @return [String]
388
+ required :transfer_id, String
389
+
390
+ # @!method initialize(amount:, currency:, transfer_id:)
391
+ # Some parameter documentations has been truncated, see
392
+ # {Increase::Models::PendingTransaction::Source::AccountTransferInstruction} for
393
+ # more details.
394
+ #
395
+ # An Account Transfer Instruction object. This field will be present in the JSON
396
+ # response if and only if `category` is equal to `account_transfer_instruction`.
397
+ #
398
+ # @param amount [Integer] The pending amount in the minor unit of the transaction's currency. For dollars,
399
+ #
400
+ # @param currency [Symbol, Increase::Models::PendingTransaction::Source::AccountTransferInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
401
+ #
402
+ # @param transfer_id [String] The identifier of the Account Transfer that led to this Pending Transaction.
403
+
404
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
405
+ # account currency.
406
+ #
407
+ # @see Increase::Models::PendingTransaction::Source::AccountTransferInstruction#currency
408
+ module Currency
409
+ extend Increase::Internal::Type::Enum
410
+
411
+ # Canadian Dollar (CAD)
412
+ CAD = :CAD
413
+
414
+ # Swiss Franc (CHF)
415
+ CHF = :CHF
416
+
417
+ # Euro (EUR)
418
+ EUR = :EUR
419
+
420
+ # British Pound (GBP)
421
+ GBP = :GBP
422
+
423
+ # Japanese Yen (JPY)
424
+ JPY = :JPY
425
+
426
+ # US Dollar (USD)
427
+ USD = :USD
428
+
429
+ # @!method self.values
430
+ # @return [Array<Symbol>]
431
+ end
432
+ end
433
+
434
+ # @see Increase::Models::PendingTransaction::Source#ach_transfer_instruction
435
+ class ACHTransferInstruction < Increase::Internal::Type::BaseModel
436
+ # @!attribute amount
437
+ # The pending amount in USD cents.
438
+ #
439
+ # @return [Integer]
440
+ required :amount, Integer
441
+
442
+ # @!attribute transfer_id
443
+ # The identifier of the ACH Transfer that led to this Pending Transaction.
444
+ #
445
+ # @return [String]
446
+ required :transfer_id, String
447
+
448
+ # @!method initialize(amount:, transfer_id:)
449
+ # An ACH Transfer Instruction object. This field will be present in the JSON
450
+ # response if and only if `category` is equal to `ach_transfer_instruction`.
451
+ #
452
+ # @param amount [Integer] The pending amount in USD cents.
453
+ #
454
+ # @param transfer_id [String] The identifier of the ACH Transfer that led to this Pending Transaction.
455
+ end
456
+
457
+ # @see Increase::Models::PendingTransaction::Source#card_authorization
458
+ class CardAuthorization < Increase::Internal::Type::BaseModel
459
+ # @!attribute id
460
+ # The Card Authorization identifier.
461
+ #
462
+ # @return [String]
463
+ required :id, String
464
+
465
+ # @!attribute actioner
466
+ # Whether this authorization was approved by Increase, the card network through
467
+ # stand-in processing, or the user through a real-time decision.
468
+ #
469
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Actioner]
470
+ required :actioner, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Actioner }
471
+
472
+ # @!attribute amount
473
+ # The pending amount in the minor unit of the transaction's currency. For dollars,
474
+ # for example, this is cents.
475
+ #
476
+ # @return [Integer]
477
+ required :amount, Integer
478
+
479
+ # @!attribute card_payment_id
480
+ # The ID of the Card Payment this transaction belongs to.
481
+ #
482
+ # @return [String]
483
+ required :card_payment_id, String
484
+
485
+ # @!attribute currency
486
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
487
+ # transaction's currency.
488
+ #
489
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Currency]
490
+ required :currency, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Currency }
491
+
492
+ # @!attribute digital_wallet_token_id
493
+ # If the authorization was made via a Digital Wallet Token (such as an Apple Pay
494
+ # purchase), the identifier of the token that was used.
495
+ #
496
+ # @return [String, nil]
497
+ required :digital_wallet_token_id, String, nil?: true
498
+
499
+ # @!attribute direction
500
+ # The direction describes the direction the funds will move, either from the
501
+ # cardholder to the merchant or from the merchant to the cardholder.
502
+ #
503
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Direction]
504
+ required :direction, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Direction }
505
+
506
+ # @!attribute expires_at
507
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
508
+ # will expire and the pending transaction will be released.
509
+ #
510
+ # @return [Time]
511
+ required :expires_at, Time
512
+
513
+ # @!attribute merchant_acceptor_id
514
+ # The merchant identifier (commonly abbreviated as MID) of the merchant the card
515
+ # is transacting with.
516
+ #
517
+ # @return [String]
518
+ required :merchant_acceptor_id, String
519
+
520
+ # @!attribute merchant_category_code
521
+ # The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
522
+ # card is transacting with.
523
+ #
524
+ # @return [String]
525
+ required :merchant_category_code, String
526
+
527
+ # @!attribute merchant_city
528
+ # The city the merchant resides in.
529
+ #
530
+ # @return [String, nil]
531
+ required :merchant_city, String, nil?: true
532
+
533
+ # @!attribute merchant_country
534
+ # The country the merchant resides in.
535
+ #
536
+ # @return [String]
537
+ required :merchant_country, String
538
+
539
+ # @!attribute merchant_descriptor
540
+ # The merchant descriptor of the merchant the card is transacting with.
541
+ #
542
+ # @return [String]
543
+ required :merchant_descriptor, String
544
+
545
+ # @!attribute merchant_postal_code
546
+ # The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
547
+ # ZIP code, where the first 5 and last 4 are separated by a dash.
548
+ #
549
+ # @return [String, nil]
550
+ required :merchant_postal_code, String, nil?: true
551
+
552
+ # @!attribute merchant_state
553
+ # The state the merchant resides in.
554
+ #
555
+ # @return [String, nil]
556
+ required :merchant_state, String, nil?: true
557
+
558
+ # @!attribute network_details
559
+ # Fields specific to the `network`.
560
+ #
561
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails]
562
+ required :network_details,
563
+ -> {
564
+ Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails
565
+ }
566
+
567
+ # @!attribute network_identifiers
568
+ # Network-specific identifiers for a specific request or transaction.
569
+ #
570
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers]
571
+ required :network_identifiers,
572
+ -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers }
573
+
574
+ # @!attribute network_risk_score
575
+ # The risk score generated by the card network. For Visa this is the Visa Advanced
576
+ # Authorization risk score, from 0 to 99, where 99 is the riskiest.
577
+ #
578
+ # @return [Integer, nil]
579
+ required :network_risk_score, Integer, nil?: true
580
+
581
+ # @!attribute pending_transaction_id
582
+ # The identifier of the Pending Transaction associated with this Transaction.
583
+ #
584
+ # @return [String, nil]
585
+ required :pending_transaction_id, String, nil?: true
586
+
587
+ # @!attribute physical_card_id
588
+ # If the authorization was made in-person with a physical card, the Physical Card
589
+ # that was used.
590
+ #
591
+ # @return [String, nil]
592
+ required :physical_card_id, String, nil?: true
593
+
594
+ # @!attribute presentment_amount
595
+ # The pending amount in the minor unit of the transaction's presentment currency.
596
+ #
597
+ # @return [Integer]
598
+ required :presentment_amount, Integer
599
+
600
+ # @!attribute presentment_currency
601
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
602
+ # transaction's presentment currency.
603
+ #
604
+ # @return [String]
605
+ required :presentment_currency, String
606
+
607
+ # @!attribute processing_category
608
+ # The processing category describes the intent behind the authorization, such as
609
+ # whether it was used for bill payments or an automatic fuel dispenser.
610
+ #
611
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::ProcessingCategory]
612
+ required :processing_category,
613
+ enum: -> { Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory }
614
+
615
+ # @!attribute real_time_decision_id
616
+ # The identifier of the Real-Time Decision sent to approve or decline this
617
+ # transaction.
618
+ #
619
+ # @return [String, nil]
620
+ required :real_time_decision_id, String, nil?: true
621
+
622
+ # @!attribute terminal_id
623
+ # The terminal identifier (commonly abbreviated as TID) of the terminal the card
624
+ # is transacting with.
625
+ #
626
+ # @return [String, nil]
627
+ required :terminal_id, String, nil?: true
628
+
629
+ # @!attribute type
630
+ # A constant representing the object's type. For this resource it will always be
631
+ # `card_authorization`.
632
+ #
633
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Type]
634
+ required :type, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Type }
635
+
636
+ # @!attribute verification
637
+ # Fields related to verification of cardholder-provided values.
638
+ #
639
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification]
640
+ required :verification, -> { Increase::PendingTransaction::Source::CardAuthorization::Verification }
641
+
642
+ # @!method initialize(id:, actioner:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, expires_at:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, pending_transaction_id:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, terminal_id:, type:, verification:)
643
+ # Some parameter documentations has been truncated, see
644
+ # {Increase::Models::PendingTransaction::Source::CardAuthorization} for more
645
+ # details.
646
+ #
647
+ # A Card Authorization object. This field will be present in the JSON response if
648
+ # and only if `category` is equal to `card_authorization`. Card Authorizations are
649
+ # temporary holds placed on a customers funds with the intent to later clear a
650
+ # transaction.
651
+ #
652
+ # @param id [String] The Card Authorization identifier.
653
+ #
654
+ # @param actioner [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Actioner] Whether this authorization was approved by Increase, the card network through st
655
+ #
656
+ # @param amount [Integer] The pending amount in the minor unit of the transaction's currency. For dollars,
657
+ #
658
+ # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to.
659
+ #
660
+ # @param currency [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
661
+ #
662
+ # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p
663
+ #
664
+ # @param direction [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh
665
+ #
666
+ # @param expires_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization w
667
+ #
668
+ # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
669
+ #
670
+ # @param merchant_category_code [String] The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car
671
+ #
672
+ # @param merchant_city [String, nil] The city the merchant resides in.
673
+ #
674
+ # @param merchant_country [String] The country the merchant resides in.
675
+ #
676
+ # @param merchant_descriptor [String] The merchant descriptor of the merchant the card is transacting with.
677
+ #
678
+ # @param merchant_postal_code [String, nil] The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
679
+ #
680
+ # @param merchant_state [String, nil] The state the merchant resides in.
681
+ #
682
+ # @param network_details [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails] Fields specific to the `network`.
683
+ #
684
+ # @param network_identifiers [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction.
685
+ #
686
+ # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced
687
+ #
688
+ # @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Transaction.
689
+ #
690
+ # @param physical_card_id [String, nil] If the authorization was made in-person with a physical card, the Physical Card
691
+ #
692
+ # @param presentment_amount [Integer] The pending amount in the minor unit of the transaction's presentment currency.
693
+ #
694
+ # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
695
+ #
696
+ # @param processing_category [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::ProcessingCategory] The processing category describes the intent behind the authorization, such as w
697
+ #
698
+ # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
699
+ #
700
+ # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
701
+ #
702
+ # @param type [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Type] A constant representing the object's type. For this resource it will always be `
703
+ #
704
+ # @param verification [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification] Fields related to verification of cardholder-provided values.
705
+
706
+ # Whether this authorization was approved by Increase, the card network through
707
+ # stand-in processing, or the user through a real-time decision.
708
+ #
709
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#actioner
710
+ module Actioner
711
+ extend Increase::Internal::Type::Enum
712
+
713
+ # This object was actioned by the user through a real-time decision.
714
+ USER = :user
715
+
716
+ # This object was actioned by Increase without user intervention.
717
+ INCREASE = :increase
718
+
719
+ # This object was actioned by the network, through stand-in processing.
720
+ NETWORK = :network
721
+
722
+ # @!method self.values
723
+ # @return [Array<Symbol>]
724
+ end
725
+
726
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
727
+ # transaction's currency.
728
+ #
729
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#currency
730
+ module Currency
731
+ extend Increase::Internal::Type::Enum
732
+
733
+ # Canadian Dollar (CAD)
734
+ CAD = :CAD
735
+
736
+ # Swiss Franc (CHF)
737
+ CHF = :CHF
738
+
739
+ # Euro (EUR)
740
+ EUR = :EUR
741
+
742
+ # British Pound (GBP)
743
+ GBP = :GBP
744
+
745
+ # Japanese Yen (JPY)
746
+ JPY = :JPY
747
+
748
+ # US Dollar (USD)
749
+ USD = :USD
750
+
751
+ # @!method self.values
752
+ # @return [Array<Symbol>]
753
+ end
754
+
755
+ # The direction describes the direction the funds will move, either from the
756
+ # cardholder to the merchant or from the merchant to the cardholder.
757
+ #
758
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#direction
759
+ module Direction
760
+ extend Increase::Internal::Type::Enum
761
+
762
+ # A regular card authorization where funds are debited from the cardholder.
763
+ SETTLEMENT = :settlement
764
+
765
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
766
+ REFUND = :refund
767
+
768
+ # @!method self.values
769
+ # @return [Array<Symbol>]
770
+ end
771
+
772
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#network_details
773
+ class NetworkDetails < Increase::Internal::Type::BaseModel
774
+ # @!attribute category
775
+ # The payment network used to process this card authorization.
776
+ #
777
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category]
778
+ required :category,
779
+ enum: -> {
780
+ Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category
781
+ }
782
+
783
+ # @!attribute visa
784
+ # Fields specific to the `visa` network.
785
+ #
786
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil]
787
+ required :visa,
788
+ -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa },
789
+ nil?: true
790
+
791
+ # @!method initialize(category:, visa:)
792
+ # Fields specific to the `network`.
793
+ #
794
+ # @param category [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
795
+ #
796
+ # @param visa [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
797
+
798
+ # The payment network used to process this card authorization.
799
+ #
800
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#category
801
+ module Category
802
+ extend Increase::Internal::Type::Enum
803
+
804
+ # Visa
805
+ VISA = :visa
806
+
807
+ # @!method self.values
808
+ # @return [Array<Symbol>]
809
+ end
810
+
811
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#visa
812
+ class Visa < Increase::Internal::Type::BaseModel
813
+ # @!attribute electronic_commerce_indicator
814
+ # For electronic commerce transactions, this identifies the level of security used
815
+ # in obtaining the customer's payment credential. For mail or telephone order
816
+ # transactions, identifies the type of mail or telephone order.
817
+ #
818
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil]
819
+ required :electronic_commerce_indicator,
820
+ enum: -> {
821
+ Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator
822
+ },
823
+ nil?: true
824
+
825
+ # @!attribute point_of_service_entry_mode
826
+ # The method used to enter the cardholder's primary account number and card
827
+ # expiration date.
828
+ #
829
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil]
830
+ required :point_of_service_entry_mode,
831
+ enum: -> {
832
+ Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode
833
+ },
834
+ nil?: true
835
+
836
+ # @!attribute stand_in_processing_reason
837
+ # Only present when `actioner: network`. Describes why a card authorization was
838
+ # approved or declined by Visa through stand-in processing.
839
+ #
840
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil]
841
+ required :stand_in_processing_reason,
842
+ enum: -> {
843
+ Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason
844
+ },
845
+ nil?: true
846
+
847
+ # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:)
848
+ # Some parameter documentations has been truncated, see
849
+ # {Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa}
850
+ # for more details.
851
+ #
852
+ # Fields specific to the `visa` network.
853
+ #
854
+ # @param electronic_commerce_indicator [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used
855
+ #
856
+ # @param point_of_service_entry_mode [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira
857
+ #
858
+ # @param stand_in_processing_reason [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap
859
+
860
+ # For electronic commerce transactions, this identifies the level of security used
861
+ # in obtaining the customer's payment credential. For mail or telephone order
862
+ # transactions, identifies the type of mail or telephone order.
863
+ #
864
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#electronic_commerce_indicator
865
+ module ElectronicCommerceIndicator
866
+ extend Increase::Internal::Type::Enum
867
+
868
+ # Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
869
+ MAIL_PHONE_ORDER = :mail_phone_order
870
+
871
+ # Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
872
+ RECURRING = :recurring
873
+
874
+ # Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
875
+ INSTALLMENT = :installment
876
+
877
+ # Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
878
+ UNKNOWN_MAIL_PHONE_ORDER = :unknown_mail_phone_order
879
+
880
+ # Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
881
+ SECURE_ELECTRONIC_COMMERCE = :secure_electronic_commerce
882
+
883
+ # Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
884
+ NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT =
885
+ :non_authenticated_security_transaction_at_3ds_capable_merchant
886
+
887
+ # Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however , cardholder authentication is not performed using 3-D Secure.
888
+ NON_AUTHENTICATED_SECURITY_TRANSACTION = :non_authenticated_security_transaction
889
+
890
+ # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
891
+ NON_SECURE_TRANSACTION = :non_secure_transaction
892
+
893
+ # @!method self.values
894
+ # @return [Array<Symbol>]
895
+ end
896
+
897
+ # The method used to enter the cardholder's primary account number and card
898
+ # expiration date.
899
+ #
900
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#point_of_service_entry_mode
901
+ module PointOfServiceEntryMode
902
+ extend Increase::Internal::Type::Enum
903
+
904
+ # Unknown
905
+ UNKNOWN = :unknown
906
+
907
+ # Manual key entry
908
+ MANUAL = :manual
909
+
910
+ # Magnetic stripe read, without card verification value
911
+ MAGNETIC_STRIPE_NO_CVV = :magnetic_stripe_no_cvv
912
+
913
+ # Optical code
914
+ OPTICAL_CODE = :optical_code
915
+
916
+ # Contact chip card
917
+ INTEGRATED_CIRCUIT_CARD = :integrated_circuit_card
918
+
919
+ # Contactless read of chip card
920
+ CONTACTLESS = :contactless
921
+
922
+ # Transaction initiated using a credential that has previously been stored on file
923
+ CREDENTIAL_ON_FILE = :credential_on_file
924
+
925
+ # Magnetic stripe read
926
+ MAGNETIC_STRIPE = :magnetic_stripe
927
+
928
+ # Contactless read of magnetic stripe data
929
+ CONTACTLESS_MAGNETIC_STRIPE = :contactless_magnetic_stripe
930
+
931
+ # Contact chip card, without card verification value
932
+ INTEGRATED_CIRCUIT_CARD_NO_CVV = :integrated_circuit_card_no_cvv
933
+
934
+ # @!method self.values
935
+ # @return [Array<Symbol>]
936
+ end
937
+
938
+ # Only present when `actioner: network`. Describes why a card authorization was
939
+ # approved or declined by Visa through stand-in processing.
940
+ #
941
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#stand_in_processing_reason
942
+ module StandInProcessingReason
943
+ extend Increase::Internal::Type::Enum
944
+
945
+ # Increase failed to process the authorization in a timely manner.
946
+ ISSUER_ERROR = :issuer_error
947
+
948
+ # The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
949
+ INVALID_PHYSICAL_CARD = :invalid_physical_card
950
+
951
+ # The 3DS cardholder authentication verification value was invalid.
952
+ INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE =
953
+ :invalid_cardholder_authentication_verification_value
954
+
955
+ # An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
956
+ INTERNAL_VISA_ERROR = :internal_visa_error
957
+
958
+ # The merchant has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier.
959
+ MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED =
960
+ :merchant_transaction_advisory_service_authentication_required
961
+
962
+ # The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
963
+ PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK = :payment_fraud_disruption_acquirer_block
964
+
965
+ # An unspecific reason for stand-in processing.
966
+ OTHER = :other
967
+
968
+ # @!method self.values
969
+ # @return [Array<Symbol>]
970
+ end
971
+ end
972
+ end
973
+
974
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#network_identifiers
975
+ class NetworkIdentifiers < Increase::Internal::Type::BaseModel
976
+ # @!attribute retrieval_reference_number
977
+ # A life-cycle identifier used across e.g., an authorization and a reversal.
978
+ # Expected to be unique per acquirer within a window of time. For some card
979
+ # networks the retrieval reference number includes the trace counter.
980
+ #
981
+ # @return [String, nil]
982
+ required :retrieval_reference_number, String, nil?: true
983
+
984
+ # @!attribute trace_number
985
+ # A counter used to verify an individual authorization. Expected to be unique per
986
+ # acquirer within a window of time.
987
+ #
988
+ # @return [String, nil]
989
+ required :trace_number, String, nil?: true
990
+
991
+ # @!attribute transaction_id
992
+ # A globally unique transaction identifier provided by the card network, used
993
+ # across multiple life-cycle requests.
994
+ #
995
+ # @return [String, nil]
996
+ required :transaction_id, String, nil?: true
997
+
998
+ # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:)
999
+ # Some parameter documentations has been truncated, see
1000
+ # {Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers}
1001
+ # for more details.
1002
+ #
1003
+ # Network-specific identifiers for a specific request or transaction.
1004
+ #
1005
+ # @param retrieval_reference_number [String, nil] A life-cycle identifier used across e.g., an authorization and a reversal. Expec
1006
+ #
1007
+ # @param trace_number [String, nil] A counter used to verify an individual authorization. Expected to be unique per
1008
+ #
1009
+ # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
1010
+ end
1011
+
1012
+ # The processing category describes the intent behind the authorization, such as
1013
+ # whether it was used for bill payments or an automatic fuel dispenser.
1014
+ #
1015
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#processing_category
1016
+ module ProcessingCategory
1017
+ extend Increase::Internal::Type::Enum
1018
+
1019
+ # Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
1020
+ ACCOUNT_FUNDING = :account_funding
1021
+
1022
+ # Automatic fuel dispenser authorizations occur when a card is used at a gas pump, prior to the actual transaction amount being known. They are followed by an advice message that updates the amount of the pending transaction.
1023
+ AUTOMATIC_FUEL_DISPENSER = :automatic_fuel_dispenser
1024
+
1025
+ # A transaction used to pay a bill.
1026
+ BILL_PAYMENT = :bill_payment
1027
+
1028
+ # Original credit transactions are used to send money to a cardholder.
1029
+ ORIGINAL_CREDIT = :original_credit
1030
+
1031
+ # A regular purchase.
1032
+ PURCHASE = :purchase
1033
+
1034
+ # Quasi-cash transactions represent purchases of items which may be convertible to cash.
1035
+ QUASI_CASH = :quasi_cash
1036
+
1037
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1038
+ REFUND = :refund
1039
+
1040
+ # @!method self.values
1041
+ # @return [Array<Symbol>]
1042
+ end
1043
+
1044
+ # A constant representing the object's type. For this resource it will always be
1045
+ # `card_authorization`.
1046
+ #
1047
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#type
1048
+ module Type
1049
+ extend Increase::Internal::Type::Enum
1050
+
1051
+ CARD_AUTHORIZATION = :card_authorization
1052
+
1053
+ # @!method self.values
1054
+ # @return [Array<Symbol>]
1055
+ end
1056
+
1057
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization#verification
1058
+ class Verification < Increase::Internal::Type::BaseModel
1059
+ # @!attribute card_verification_code
1060
+ # Fields related to verification of the Card Verification Code, a 3-digit code on
1061
+ # the back of the card.
1062
+ #
1063
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode]
1064
+ required :card_verification_code,
1065
+ -> {
1066
+ Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode
1067
+ }
1068
+
1069
+ # @!attribute cardholder_address
1070
+ # Cardholder address provided in the authorization request and the address on file
1071
+ # we verified it against.
1072
+ #
1073
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress]
1074
+ required :cardholder_address,
1075
+ -> {
1076
+ Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress
1077
+ }
1078
+
1079
+ # @!method initialize(card_verification_code:, cardholder_address:)
1080
+ # Some parameter documentations has been truncated, see
1081
+ # {Increase::Models::PendingTransaction::Source::CardAuthorization::Verification}
1082
+ # for more details.
1083
+ #
1084
+ # Fields related to verification of cardholder-provided values.
1085
+ #
1086
+ # @param card_verification_code [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on
1087
+ #
1088
+ # @param cardholder_address [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file
1089
+
1090
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification#card_verification_code
1091
+ class CardVerificationCode < Increase::Internal::Type::BaseModel
1092
+ # @!attribute result
1093
+ # The result of verifying the Card Verification Code.
1094
+ #
1095
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result]
1096
+ required :result,
1097
+ enum: -> {
1098
+ Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result
1099
+ }
1100
+
1101
+ # @!method initialize(result:)
1102
+ # Fields related to verification of the Card Verification Code, a 3-digit code on
1103
+ # the back of the card.
1104
+ #
1105
+ # @param result [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code.
1106
+
1107
+ # The result of verifying the Card Verification Code.
1108
+ #
1109
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode#result
1110
+ module Result
1111
+ extend Increase::Internal::Type::Enum
1112
+
1113
+ # No card verification code was provided in the authorization request.
1114
+ NOT_CHECKED = :not_checked
1115
+
1116
+ # The card verification code matched the one on file.
1117
+ MATCH = :match
1118
+
1119
+ # The card verification code did not match the one on file.
1120
+ NO_MATCH = :no_match
1121
+
1122
+ # @!method self.values
1123
+ # @return [Array<Symbol>]
1124
+ end
1125
+ end
1126
+
1127
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification#cardholder_address
1128
+ class CardholderAddress < Increase::Internal::Type::BaseModel
1129
+ # @!attribute actual_line1
1130
+ # Line 1 of the address on file for the cardholder.
1131
+ #
1132
+ # @return [String, nil]
1133
+ required :actual_line1, String, nil?: true
1134
+
1135
+ # @!attribute actual_postal_code
1136
+ # The postal code of the address on file for the cardholder.
1137
+ #
1138
+ # @return [String, nil]
1139
+ required :actual_postal_code, String, nil?: true
1140
+
1141
+ # @!attribute provided_line1
1142
+ # The cardholder address line 1 provided for verification in the authorization
1143
+ # request.
1144
+ #
1145
+ # @return [String, nil]
1146
+ required :provided_line1, String, nil?: true
1147
+
1148
+ # @!attribute provided_postal_code
1149
+ # The postal code provided for verification in the authorization request.
1150
+ #
1151
+ # @return [String, nil]
1152
+ required :provided_postal_code, String, nil?: true
1153
+
1154
+ # @!attribute result
1155
+ # The address verification result returned to the card network.
1156
+ #
1157
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result]
1158
+ required :result,
1159
+ enum: -> {
1160
+ Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result
1161
+ }
1162
+
1163
+ # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
1164
+ # Some parameter documentations has been truncated, see
1165
+ # {Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress}
1166
+ # for more details.
1167
+ #
1168
+ # Cardholder address provided in the authorization request and the address on file
1169
+ # we verified it against.
1170
+ #
1171
+ # @param actual_line1 [String, nil] Line 1 of the address on file for the cardholder.
1172
+ #
1173
+ # @param actual_postal_code [String, nil] The postal code of the address on file for the cardholder.
1174
+ #
1175
+ # @param provided_line1 [String, nil] The cardholder address line 1 provided for verification in the authorization req
1176
+ #
1177
+ # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request.
1178
+ #
1179
+ # @param result [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result] The address verification result returned to the card network.
1180
+
1181
+ # The address verification result returned to the card network.
1182
+ #
1183
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress#result
1184
+ module Result
1185
+ extend Increase::Internal::Type::Enum
1186
+
1187
+ # No address was provided in the authorization request.
1188
+ NOT_CHECKED = :not_checked
1189
+
1190
+ # Postal code matches, but the street address was not verified.
1191
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1192
+
1193
+ # Postal code matches, but the street address does not match.
1194
+ POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
1195
+
1196
+ # Postal code does not match, but the street address matches.
1197
+ POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
1198
+
1199
+ # Postal code and street address match.
1200
+ MATCH = :match
1201
+
1202
+ # Postal code and street address do not match.
1203
+ NO_MATCH = :no_match
1204
+
1205
+ # @!method self.values
1206
+ # @return [Array<Symbol>]
1207
+ end
1208
+ end
1209
+ end
1210
+ end
1211
+
1212
+ # @see Increase::Models::PendingTransaction::Source#card_push_transfer_instruction
1213
+ class CardPushTransferInstruction < Increase::Internal::Type::BaseModel
1214
+ # @!attribute amount
1215
+ # The transfer amount in USD cents.
1216
+ #
1217
+ # @return [Integer]
1218
+ required :amount, Integer
1219
+
1220
+ # @!attribute transfer_id
1221
+ # The identifier of the Card Push Transfer that led to this Pending Transaction.
1222
+ #
1223
+ # @return [String]
1224
+ required :transfer_id, String
1225
+
1226
+ # @!method initialize(amount:, transfer_id:)
1227
+ # A Card Push Transfer Instruction object. This field will be present in the JSON
1228
+ # response if and only if `category` is equal to `card_push_transfer_instruction`.
1229
+ #
1230
+ # @param amount [Integer] The transfer amount in USD cents.
1231
+ #
1232
+ # @param transfer_id [String] The identifier of the Card Push Transfer that led to this Pending Transaction.
1233
+ end
1234
+
1235
+ # The type of the resource. We may add additional possible values for this enum
1236
+ # over time; your application should be able to handle such additions gracefully.
1237
+ #
1238
+ # @see Increase::Models::PendingTransaction::Source#category
1239
+ module Category
1240
+ extend Increase::Internal::Type::Enum
1241
+
1242
+ # Account Transfer Instruction: details will be under the `account_transfer_instruction` object.
1243
+ ACCOUNT_TRANSFER_INSTRUCTION = :account_transfer_instruction
1244
+
1245
+ # ACH Transfer Instruction: details will be under the `ach_transfer_instruction` object.
1246
+ ACH_TRANSFER_INSTRUCTION = :ach_transfer_instruction
1247
+
1248
+ # Card Authorization: details will be under the `card_authorization` object.
1249
+ CARD_AUTHORIZATION = :card_authorization
1250
+
1251
+ # Check Deposit Instruction: details will be under the `check_deposit_instruction` object.
1252
+ CHECK_DEPOSIT_INSTRUCTION = :check_deposit_instruction
1253
+
1254
+ # Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
1255
+ CHECK_TRANSFER_INSTRUCTION = :check_transfer_instruction
1256
+
1257
+ # Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
1258
+ INBOUND_FUNDS_HOLD = :inbound_funds_hold
1259
+
1260
+ # User Initiated Hold: details will be under the `user_initiated_hold` object.
1261
+ USER_INITIATED_HOLD = :user_initiated_hold
1262
+
1263
+ # Real-Time Payments Transfer Instruction: details will be under the `real_time_payments_transfer_instruction` object.
1264
+ REAL_TIME_PAYMENTS_TRANSFER_INSTRUCTION = :real_time_payments_transfer_instruction
1265
+
1266
+ # Wire Transfer Instruction: details will be under the `wire_transfer_instruction` object.
1267
+ WIRE_TRANSFER_INSTRUCTION = :wire_transfer_instruction
1268
+
1269
+ # Inbound Wire Transfer Reversal: details will be under the `inbound_wire_transfer_reversal` object.
1270
+ INBOUND_WIRE_TRANSFER_REVERSAL = :inbound_wire_transfer_reversal
1271
+
1272
+ # Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
1273
+ SWIFT_TRANSFER_INSTRUCTION = :swift_transfer_instruction
1274
+
1275
+ # Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
1276
+ CARD_PUSH_TRANSFER_INSTRUCTION = :card_push_transfer_instruction
1277
+
1278
+ # The Pending Transaction was made for an undocumented or deprecated reason.
1279
+ OTHER = :other
1280
+
1281
+ # @!method self.values
1282
+ # @return [Array<Symbol>]
1283
+ end
1284
+
1285
+ # @see Increase::Models::PendingTransaction::Source#check_deposit_instruction
1286
+ class CheckDepositInstruction < Increase::Internal::Type::BaseModel
1287
+ # @!attribute amount
1288
+ # The pending amount in USD cents.
1289
+ #
1290
+ # @return [Integer]
1291
+ required :amount, Integer
1292
+
1293
+ # @!attribute back_image_file_id
1294
+ # The identifier of the File containing the image of the back of the check that
1295
+ # was deposited.
1296
+ #
1297
+ # @return [String, nil]
1298
+ required :back_image_file_id, String, nil?: true
1299
+
1300
+ # @!attribute check_deposit_id
1301
+ # The identifier of the Check Deposit.
1302
+ #
1303
+ # @return [String, nil]
1304
+ required :check_deposit_id, String, nil?: true
1305
+
1306
+ # @!attribute currency
1307
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1308
+ # transaction's currency.
1309
+ #
1310
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CheckDepositInstruction::Currency]
1311
+ required :currency,
1312
+ enum: -> {
1313
+ Increase::PendingTransaction::Source::CheckDepositInstruction::Currency
1314
+ }
1315
+
1316
+ # @!attribute front_image_file_id
1317
+ # The identifier of the File containing the image of the front of the check that
1318
+ # was deposited.
1319
+ #
1320
+ # @return [String]
1321
+ required :front_image_file_id, String
1322
+
1323
+ # @!method initialize(amount:, back_image_file_id:, check_deposit_id:, currency:, front_image_file_id:)
1324
+ # Some parameter documentations has been truncated, see
1325
+ # {Increase::Models::PendingTransaction::Source::CheckDepositInstruction} for more
1326
+ # details.
1327
+ #
1328
+ # A Check Deposit Instruction object. This field will be present in the JSON
1329
+ # response if and only if `category` is equal to `check_deposit_instruction`.
1330
+ #
1331
+ # @param amount [Integer] The pending amount in USD cents.
1332
+ #
1333
+ # @param back_image_file_id [String, nil] The identifier of the File containing the image of the back of the check that wa
1334
+ #
1335
+ # @param check_deposit_id [String, nil] The identifier of the Check Deposit.
1336
+ #
1337
+ # @param currency [Symbol, Increase::Models::PendingTransaction::Source::CheckDepositInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
1338
+ #
1339
+ # @param front_image_file_id [String] The identifier of the File containing the image of the front of the check that w
1340
+
1341
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1342
+ # transaction's currency.
1343
+ #
1344
+ # @see Increase::Models::PendingTransaction::Source::CheckDepositInstruction#currency
1345
+ module Currency
1346
+ extend Increase::Internal::Type::Enum
1347
+
1348
+ # Canadian Dollar (CAD)
1349
+ CAD = :CAD
1350
+
1351
+ # Swiss Franc (CHF)
1352
+ CHF = :CHF
1353
+
1354
+ # Euro (EUR)
1355
+ EUR = :EUR
1356
+
1357
+ # British Pound (GBP)
1358
+ GBP = :GBP
1359
+
1360
+ # Japanese Yen (JPY)
1361
+ JPY = :JPY
1362
+
1363
+ # US Dollar (USD)
1364
+ USD = :USD
1365
+
1366
+ # @!method self.values
1367
+ # @return [Array<Symbol>]
1368
+ end
1369
+ end
1370
+
1371
+ # @see Increase::Models::PendingTransaction::Source#check_transfer_instruction
1372
+ class CheckTransferInstruction < Increase::Internal::Type::BaseModel
1373
+ # @!attribute amount
1374
+ # The transfer amount in USD cents.
1375
+ #
1376
+ # @return [Integer]
1377
+ required :amount, Integer
1378
+
1379
+ # @!attribute currency
1380
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
1381
+ # currency.
1382
+ #
1383
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::CheckTransferInstruction::Currency]
1384
+ required :currency,
1385
+ enum: -> {
1386
+ Increase::PendingTransaction::Source::CheckTransferInstruction::Currency
1387
+ }
1388
+
1389
+ # @!attribute transfer_id
1390
+ # The identifier of the Check Transfer that led to this Pending Transaction.
1391
+ #
1392
+ # @return [String]
1393
+ required :transfer_id, String
1394
+
1395
+ # @!method initialize(amount:, currency:, transfer_id:)
1396
+ # Some parameter documentations has been truncated, see
1397
+ # {Increase::Models::PendingTransaction::Source::CheckTransferInstruction} for
1398
+ # more details.
1399
+ #
1400
+ # A Check Transfer Instruction object. This field will be present in the JSON
1401
+ # response if and only if `category` is equal to `check_transfer_instruction`.
1402
+ #
1403
+ # @param amount [Integer] The transfer amount in USD cents.
1404
+ #
1405
+ # @param currency [Symbol, Increase::Models::PendingTransaction::Source::CheckTransferInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr
1406
+ #
1407
+ # @param transfer_id [String] The identifier of the Check Transfer that led to this Pending Transaction.
1408
+
1409
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
1410
+ # currency.
1411
+ #
1412
+ # @see Increase::Models::PendingTransaction::Source::CheckTransferInstruction#currency
1413
+ module Currency
1414
+ extend Increase::Internal::Type::Enum
1415
+
1416
+ # Canadian Dollar (CAD)
1417
+ CAD = :CAD
1418
+
1419
+ # Swiss Franc (CHF)
1420
+ CHF = :CHF
1421
+
1422
+ # Euro (EUR)
1423
+ EUR = :EUR
1424
+
1425
+ # British Pound (GBP)
1426
+ GBP = :GBP
1427
+
1428
+ # Japanese Yen (JPY)
1429
+ JPY = :JPY
1430
+
1431
+ # US Dollar (USD)
1432
+ USD = :USD
1433
+
1434
+ # @!method self.values
1435
+ # @return [Array<Symbol>]
1436
+ end
1437
+ end
1438
+
1439
+ # @see Increase::Models::PendingTransaction::Source#inbound_funds_hold
1440
+ class InboundFundsHold < Increase::Internal::Type::BaseModel
1441
+ # @!attribute id
1442
+ # The Inbound Funds Hold identifier.
1443
+ #
1444
+ # @return [String]
1445
+ required :id, String
1446
+
1447
+ # @!attribute amount
1448
+ # The held amount in the minor unit of the account's currency. For dollars, for
1449
+ # example, this is cents.
1450
+ #
1451
+ # @return [Integer]
1452
+ required :amount, Integer
1453
+
1454
+ # @!attribute automatically_releases_at
1455
+ # When the hold will be released automatically. Certain conditions may cause it to
1456
+ # be released before this time.
1457
+ #
1458
+ # @return [Time]
1459
+ required :automatically_releases_at, Time
1460
+
1461
+ # @!attribute created_at
1462
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
1463
+ # was created.
1464
+ #
1465
+ # @return [Time]
1466
+ required :created_at, Time
1467
+
1468
+ # @!attribute currency
1469
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
1470
+ # currency.
1471
+ #
1472
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Currency]
1473
+ required :currency, enum: -> { Increase::PendingTransaction::Source::InboundFundsHold::Currency }
1474
+
1475
+ # @!attribute held_transaction_id
1476
+ # The ID of the Transaction for which funds were held.
1477
+ #
1478
+ # @return [String, nil]
1479
+ required :held_transaction_id, String, nil?: true
1480
+
1481
+ # @!attribute pending_transaction_id
1482
+ # The ID of the Pending Transaction representing the held funds.
1483
+ #
1484
+ # @return [String, nil]
1485
+ required :pending_transaction_id, String, nil?: true
1486
+
1487
+ # @!attribute released_at
1488
+ # When the hold was released (if it has been released).
1489
+ #
1490
+ # @return [Time, nil]
1491
+ required :released_at, Time, nil?: true
1492
+
1493
+ # @!attribute status
1494
+ # The status of the hold.
1495
+ #
1496
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Status]
1497
+ required :status, enum: -> { Increase::PendingTransaction::Source::InboundFundsHold::Status }
1498
+
1499
+ # @!attribute type
1500
+ # A constant representing the object's type. For this resource it will always be
1501
+ # `inbound_funds_hold`.
1502
+ #
1503
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Type]
1504
+ required :type, enum: -> { Increase::PendingTransaction::Source::InboundFundsHold::Type }
1505
+
1506
+ # @!method initialize(id:, amount:, automatically_releases_at:, created_at:, currency:, held_transaction_id:, pending_transaction_id:, released_at:, status:, type:)
1507
+ # Some parameter documentations has been truncated, see
1508
+ # {Increase::Models::PendingTransaction::Source::InboundFundsHold} for more
1509
+ # details.
1510
+ #
1511
+ # An Inbound Funds Hold object. This field will be present in the JSON response if
1512
+ # and only if `category` is equal to `inbound_funds_hold`. We hold funds for
1513
+ # certain transaction types to account for return windows where funds might still
1514
+ # be clawed back by the sending institution.
1515
+ #
1516
+ # @param id [String] The Inbound Funds Hold identifier.
1517
+ #
1518
+ # @param amount [Integer] The held amount in the minor unit of the account's currency. For dollars, for ex
1519
+ #
1520
+ # @param automatically_releases_at [Time] When the hold will be released automatically. Certain conditions may cause it to
1521
+ #
1522
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold wa
1523
+ #
1524
+ # @param currency [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's curre
1525
+ #
1526
+ # @param held_transaction_id [String, nil] The ID of the Transaction for which funds were held.
1527
+ #
1528
+ # @param pending_transaction_id [String, nil] The ID of the Pending Transaction representing the held funds.
1529
+ #
1530
+ # @param released_at [Time, nil] When the hold was released (if it has been released).
1531
+ #
1532
+ # @param status [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Status] The status of the hold.
1533
+ #
1534
+ # @param type [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Type] A constant representing the object's type. For this resource it will always be `
1535
+
1536
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
1537
+ # currency.
1538
+ #
1539
+ # @see Increase::Models::PendingTransaction::Source::InboundFundsHold#currency
1540
+ module Currency
1541
+ extend Increase::Internal::Type::Enum
1542
+
1543
+ # Canadian Dollar (CAD)
1544
+ CAD = :CAD
1545
+
1546
+ # Swiss Franc (CHF)
1547
+ CHF = :CHF
1548
+
1549
+ # Euro (EUR)
1550
+ EUR = :EUR
1551
+
1552
+ # British Pound (GBP)
1553
+ GBP = :GBP
1554
+
1555
+ # Japanese Yen (JPY)
1556
+ JPY = :JPY
1557
+
1558
+ # US Dollar (USD)
1559
+ USD = :USD
1560
+
1561
+ # @!method self.values
1562
+ # @return [Array<Symbol>]
1563
+ end
1564
+
1565
+ # The status of the hold.
1566
+ #
1567
+ # @see Increase::Models::PendingTransaction::Source::InboundFundsHold#status
1568
+ module Status
1569
+ extend Increase::Internal::Type::Enum
1570
+
1571
+ # Funds are still being held.
1572
+ HELD = :held
1573
+
1574
+ # Funds have been released.
1575
+ COMPLETE = :complete
1576
+
1577
+ # @!method self.values
1578
+ # @return [Array<Symbol>]
1579
+ end
1580
+
1581
+ # A constant representing the object's type. For this resource it will always be
1582
+ # `inbound_funds_hold`.
1583
+ #
1584
+ # @see Increase::Models::PendingTransaction::Source::InboundFundsHold#type
1585
+ module Type
1586
+ extend Increase::Internal::Type::Enum
1587
+
1588
+ INBOUND_FUNDS_HOLD = :inbound_funds_hold
1589
+
1590
+ # @!method self.values
1591
+ # @return [Array<Symbol>]
1592
+ end
1593
+ end
1594
+
1595
+ # @see Increase::Models::PendingTransaction::Source#inbound_wire_transfer_reversal
1596
+ class InboundWireTransferReversal < Increase::Internal::Type::BaseModel
1597
+ # @!attribute inbound_wire_transfer_id
1598
+ # The ID of the Inbound Wire Transfer that is being reversed.
1599
+ #
1600
+ # @return [String]
1601
+ required :inbound_wire_transfer_id, String
1602
+
1603
+ # @!method initialize(inbound_wire_transfer_id:)
1604
+ # An Inbound Wire Transfer Reversal object. This field will be present in the JSON
1605
+ # response if and only if `category` is equal to `inbound_wire_transfer_reversal`.
1606
+ # An Inbound Wire Transfer Reversal is created when Increase has received a wire
1607
+ # and the User requests that it be reversed.
1608
+ #
1609
+ # @param inbound_wire_transfer_id [String] The ID of the Inbound Wire Transfer that is being reversed.
1610
+ end
1611
+
1612
+ # @see Increase::Models::PendingTransaction::Source#real_time_payments_transfer_instruction
1613
+ class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel
1614
+ # @!attribute amount
1615
+ # The transfer amount in USD cents.
1616
+ #
1617
+ # @return [Integer]
1618
+ required :amount, Integer
1619
+
1620
+ # @!attribute transfer_id
1621
+ # The identifier of the Real-Time Payments Transfer that led to this Pending
1622
+ # Transaction.
1623
+ #
1624
+ # @return [String]
1625
+ required :transfer_id, String
1626
+
1627
+ # @!method initialize(amount:, transfer_id:)
1628
+ # Some parameter documentations has been truncated, see
1629
+ # {Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction}
1630
+ # for more details.
1631
+ #
1632
+ # A Real-Time Payments Transfer Instruction object. This field will be present in
1633
+ # the JSON response if and only if `category` is equal to
1634
+ # `real_time_payments_transfer_instruction`.
1635
+ #
1636
+ # @param amount [Integer] The transfer amount in USD cents.
1637
+ #
1638
+ # @param transfer_id [String] The identifier of the Real-Time Payments Transfer that led to this Pending Trans
1639
+ end
1640
+
1641
+ # @see Increase::Models::PendingTransaction::Source#swift_transfer_instruction
1642
+ class SwiftTransferInstruction < Increase::Internal::Type::BaseModel
1643
+ # @!attribute transfer_id
1644
+ # The identifier of the Swift Transfer that led to this Pending Transaction.
1645
+ #
1646
+ # @return [String]
1647
+ required :transfer_id, String
1648
+
1649
+ # @!method initialize(transfer_id:)
1650
+ # A Swift Transfer Instruction object. This field will be present in the JSON
1651
+ # response if and only if `category` is equal to `swift_transfer_instruction`.
1652
+ #
1653
+ # @param transfer_id [String] The identifier of the Swift Transfer that led to this Pending Transaction.
1654
+ end
1655
+
1656
+ # @see Increase::Models::PendingTransaction::Source#wire_transfer_instruction
1657
+ class WireTransferInstruction < Increase::Internal::Type::BaseModel
1658
+ # @!attribute account_number
1659
+ # The account number for the destination account.
1660
+ #
1661
+ # @return [String]
1662
+ required :account_number, String
1663
+
1664
+ # @!attribute amount
1665
+ # The transfer amount in USD cents.
1666
+ #
1667
+ # @return [Integer]
1668
+ required :amount, Integer
1669
+
1670
+ # @!attribute message_to_recipient
1671
+ # The message that will show on the recipient's bank statement.
1672
+ #
1673
+ # @return [String]
1674
+ required :message_to_recipient, String
1675
+
1676
+ # @!attribute routing_number
1677
+ # The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
1678
+ # destination account.
1679
+ #
1680
+ # @return [String]
1681
+ required :routing_number, String
1682
+
1683
+ # @!attribute transfer_id
1684
+ # The identifier of the Wire Transfer that led to this Pending Transaction.
1685
+ #
1686
+ # @return [String]
1687
+ required :transfer_id, String
1688
+
1689
+ # @!method initialize(account_number:, amount:, message_to_recipient:, routing_number:, transfer_id:)
1690
+ # Some parameter documentations has been truncated, see
1691
+ # {Increase::Models::PendingTransaction::Source::WireTransferInstruction} for more
1692
+ # details.
1693
+ #
1694
+ # A Wire Transfer Instruction object. This field will be present in the JSON
1695
+ # response if and only if `category` is equal to `wire_transfer_instruction`.
1696
+ #
1697
+ # @param account_number [String] The account number for the destination account.
1698
+ #
1699
+ # @param amount [Integer] The transfer amount in USD cents.
1700
+ #
1701
+ # @param message_to_recipient [String] The message that will show on the recipient's bank statement.
1702
+ #
1703
+ # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des
1704
+ #
1705
+ # @param transfer_id [String] The identifier of the Wire Transfer that led to this Pending Transaction.
1706
+ end
1707
+ end
1708
+
1709
+ # Whether the Pending Transaction has been confirmed and has an associated
1710
+ # Transaction.
1711
+ #
1712
+ # @see Increase::Models::PendingTransaction#status
1713
+ module Status
1714
+ extend Increase::Internal::Type::Enum
1715
+
1716
+ # The Pending Transaction is still awaiting confirmation.
1717
+ PENDING = :pending
1718
+
1719
+ # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc.
1720
+ COMPLETE = :complete
1721
+
1722
+ # @!method self.values
1723
+ # @return [Array<Symbol>]
1724
+ end
1725
+
1726
+ # A constant representing the object's type. For this resource it will always be
1727
+ # `pending_transaction`.
1728
+ #
1729
+ # @see Increase::Models::PendingTransaction#type
1730
+ module Type
1731
+ extend Increase::Internal::Type::Enum
1732
+
1733
+ PENDING_TRANSACTION = :pending_transaction
1734
+
1735
+ # @!method self.values
1736
+ # @return [Array<Symbol>]
1737
+ end
1738
+ end
1739
+ end
1740
+ end