increase 0.3.3 → 1.0.0

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