increase 1.340.0 → 1.341.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 (306) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/client.rb +8 -6
  4. data/lib/increase/internal/type/converter.rb +13 -12
  5. data/lib/increase/models/account.rb +40 -19
  6. data/lib/increase/models/account_create_params.rb +14 -11
  7. data/lib/increase/models/account_list_params.rb +25 -17
  8. data/lib/increase/models/account_number.rb +22 -14
  9. data/lib/increase/models/account_number_create_params.rb +12 -13
  10. data/lib/increase/models/account_number_list_params.rb +26 -20
  11. data/lib/increase/models/account_number_update_params.rb +12 -11
  12. data/lib/increase/models/account_statement.rb +15 -11
  13. data/lib/increase/models/account_statement_list_params.rb +15 -12
  14. data/lib/increase/models/account_transfer.rb +58 -29
  15. data/lib/increase/models/account_transfer_create_params.rb +12 -7
  16. data/lib/increase/models/account_transfer_list_params.rb +20 -12
  17. data/lib/increase/models/ach_prenotification.rb +48 -27
  18. data/lib/increase/models/ach_prenotification_create_params.rb +15 -8
  19. data/lib/increase/models/ach_prenotification_list_params.rb +20 -12
  20. data/lib/increase/models/ach_transfer.rb +199 -103
  21. data/lib/increase/models/ach_transfer_create_params.rb +110 -61
  22. data/lib/increase/models/ach_transfer_list_params.rb +23 -16
  23. data/lib/increase/models/balance_lookup.rb +14 -11
  24. data/lib/increase/models/beneficial_owner_create_params.rb +48 -37
  25. data/lib/increase/models/beneficial_owner_list_params.rb +11 -6
  26. data/lib/increase/models/beneficial_owner_update_params.rb +44 -31
  27. data/lib/increase/models/card.rb +69 -47
  28. data/lib/increase/models/card_create_details_iframe_params.rb +3 -4
  29. data/lib/increase/models/card_create_params.rb +65 -56
  30. data/lib/increase/models/card_details.rb +7 -5
  31. data/lib/increase/models/card_dispute.rb +530 -306
  32. data/lib/increase/models/card_dispute_create_params.rb +271 -175
  33. data/lib/increase/models/card_dispute_list_params.rb +24 -16
  34. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +288 -191
  35. data/lib/increase/models/card_iframe_url.rb +3 -4
  36. data/lib/increase/models/card_list_params.rb +23 -16
  37. data/lib/increase/models/card_payment.rb +1941 -1200
  38. data/lib/increase/models/card_payment_list_params.rb +15 -11
  39. data/lib/increase/models/card_purchase_supplement.rb +37 -25
  40. data/lib/increase/models/card_purchase_supplement_list_params.rb +18 -13
  41. data/lib/increase/models/card_push_transfer.rb +121 -65
  42. data/lib/increase/models/card_push_transfer_create_params.rb +55 -25
  43. data/lib/increase/models/card_push_transfer_list_params.rb +23 -16
  44. data/lib/increase/models/card_token.rb +9 -6
  45. data/lib/increase/models/card_token_capabilities.rb +11 -8
  46. data/lib/increase/models/card_token_list_params.rb +15 -11
  47. data/lib/increase/models/card_update_params.rb +65 -57
  48. data/lib/increase/models/card_validation.rb +76 -43
  49. data/lib/increase/models/card_validation_create_params.rb +11 -7
  50. data/lib/increase/models/card_validation_list_params.rb +23 -16
  51. data/lib/increase/models/check_deposit.rb +103 -52
  52. data/lib/increase/models/check_deposit_create_params.rb +2 -4
  53. data/lib/increase/models/check_deposit_list_params.rb +20 -12
  54. data/lib/increase/models/check_transfer.rb +124 -75
  55. data/lib/increase/models/check_transfer_create_params.rb +91 -51
  56. data/lib/increase/models/check_transfer_list_params.rb +24 -16
  57. data/lib/increase/models/check_transfer_stop_payment_params.rb +2 -1
  58. data/lib/increase/models/declined_transaction.rb +339 -206
  59. data/lib/increase/models/declined_transaction_list_params.rb +18 -15
  60. data/lib/increase/models/digital_card_profile.rb +16 -9
  61. data/lib/increase/models/digital_card_profile_clone_params.rb +2 -1
  62. data/lib/increase/models/digital_card_profile_create_params.rb +2 -1
  63. data/lib/increase/models/digital_card_profile_list_params.rb +12 -9
  64. data/lib/increase/models/digital_wallet_token.rb +26 -17
  65. data/lib/increase/models/digital_wallet_token_list_params.rb +15 -11
  66. data/lib/increase/models/entity.rb +175 -135
  67. data/lib/increase/models/entity_archive_params.rb +3 -4
  68. data/lib/increase/models/entity_beneficial_owner.rb +24 -19
  69. data/lib/increase/models/entity_create_params.rb +323 -236
  70. data/lib/increase/models/entity_list_params.rb +67 -16
  71. data/lib/increase/models/entity_onboarding_session.rb +25 -11
  72. data/lib/increase/models/entity_onboarding_session_create_params.rb +8 -5
  73. data/lib/increase/models/entity_onboarding_session_list_params.rb +12 -9
  74. data/lib/increase/models/entity_supplemental_document.rb +10 -6
  75. data/lib/increase/models/entity_update_params.rb +112 -86
  76. data/lib/increase/models/event.rb +6 -5
  77. data/lib/increase/models/event_list_params.rb +23 -17
  78. data/lib/increase/models/event_subscription.rb +17 -9
  79. data/lib/increase/models/event_subscription_create_params.rb +14 -8
  80. data/lib/increase/models/event_subscription_list_params.rb +8 -5
  81. data/lib/increase/models/event_subscription_update_params.rb +2 -1
  82. data/lib/increase/models/export.rb +69 -30
  83. data/lib/increase/models/export_create_params.rb +76 -46
  84. data/lib/increase/models/export_list_params.rb +26 -17
  85. data/lib/increase/models/external_account.rb +14 -8
  86. data/lib/increase/models/external_account_create_params.rb +7 -6
  87. data/lib/increase/models/external_account_list_params.rb +12 -9
  88. data/lib/increase/models/external_account_update_params.rb +6 -3
  89. data/lib/increase/models/fednow_transfer.rb +62 -32
  90. data/lib/increase/models/fednow_transfer_create_params.rb +11 -8
  91. data/lib/increase/models/fednow_transfer_list_params.rb +25 -17
  92. data/lib/increase/models/file.rb +13 -7
  93. data/lib/increase/models/file_create_params.rb +6 -5
  94. data/lib/increase/models/file_link.rb +17 -8
  95. data/lib/increase/models/file_link_create_params.rb +3 -4
  96. data/lib/increase/models/file_list_params.rb +23 -16
  97. data/lib/increase/models/group.rb +6 -5
  98. data/lib/increase/models/inbound_ach_transfer.rb +115 -51
  99. data/lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb +3 -5
  100. data/lib/increase/models/inbound_ach_transfer_decline_params.rb +4 -4
  101. data/lib/increase/models/inbound_ach_transfer_list_params.rb +21 -16
  102. data/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb +6 -5
  103. data/lib/increase/models/inbound_check_deposit.rb +46 -19
  104. data/lib/increase/models/inbound_check_deposit_list_params.rb +18 -12
  105. data/lib/increase/models/inbound_check_deposit_return_params.rb +2 -1
  106. data/lib/increase/models/inbound_fednow_transfer.rb +28 -14
  107. data/lib/increase/models/inbound_fednow_transfer_list_params.rb +18 -12
  108. data/lib/increase/models/inbound_fednow_transfer_retrieve_params.rb +2 -1
  109. data/lib/increase/models/inbound_mail_item.rb +13 -8
  110. data/lib/increase/models/inbound_mail_item_action_params.rb +4 -2
  111. data/lib/increase/models/inbound_mail_item_list_params.rb +17 -12
  112. data/lib/increase/models/inbound_real_time_payments_transfer.rb +21 -12
  113. data/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb +21 -14
  114. data/lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb +2 -1
  115. data/lib/increase/models/inbound_wire_drawdown_request.rb +23 -10
  116. data/lib/increase/models/inbound_wire_drawdown_request_list_params.rb +3 -4
  117. data/lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb +2 -1
  118. data/lib/increase/models/inbound_wire_transfer.rb +33 -21
  119. data/lib/increase/models/inbound_wire_transfer_list_params.rb +24 -17
  120. data/lib/increase/models/inbound_wire_transfer_reverse_params.rb +2 -1
  121. data/lib/increase/models/intrafi_account_enrollment.rb +16 -8
  122. data/lib/increase/models/intrafi_account_enrollment_list_params.rb +12 -9
  123. data/lib/increase/models/intrafi_account_enrollment_retrieve_params.rb +2 -1
  124. data/lib/increase/models/intrafi_account_enrollment_unenroll_params.rb +2 -1
  125. data/lib/increase/models/intrafi_balance.rb +18 -12
  126. data/lib/increase/models/intrafi_exclusion.rb +13 -7
  127. data/lib/increase/models/intrafi_exclusion_archive_params.rb +4 -4
  128. data/lib/increase/models/intrafi_exclusion_create_params.rb +5 -4
  129. data/lib/increase/models/intrafi_exclusion_list_params.rb +8 -5
  130. data/lib/increase/models/lockbox_address.rb +16 -11
  131. data/lib/increase/models/lockbox_address_list_params.rb +20 -12
  132. data/lib/increase/models/lockbox_address_update_params.rb +2 -1
  133. data/lib/increase/models/lockbox_recipient.rb +22 -10
  134. data/lib/increase/models/lockbox_recipient_create_params.rb +5 -5
  135. data/lib/increase/models/lockbox_recipient_list_params.rb +22 -13
  136. data/lib/increase/models/lockbox_recipient_update_params.rb +2 -1
  137. data/lib/increase/models/oauth_application.rb +12 -7
  138. data/lib/increase/models/oauth_application_list_params.rb +18 -15
  139. data/lib/increase/models/oauth_connection.rb +9 -6
  140. data/lib/increase/models/oauth_connection_list_params.rb +10 -9
  141. data/lib/increase/models/oauth_token.rb +6 -5
  142. data/lib/increase/models/oauth_token_create_params.rb +14 -7
  143. data/lib/increase/models/pending_transaction.rb +392 -239
  144. data/lib/increase/models/pending_transaction_create_params.rb +6 -6
  145. data/lib/increase/models/pending_transaction_list_params.rb +23 -19
  146. data/lib/increase/models/physical_card.rb +36 -24
  147. data/lib/increase/models/physical_card_create_params.rb +22 -17
  148. data/lib/increase/models/physical_card_list_params.rb +20 -12
  149. data/lib/increase/models/physical_card_profile.rb +33 -17
  150. data/lib/increase/models/physical_card_profile_clone_params.rb +9 -9
  151. data/lib/increase/models/physical_card_profile_create_params.rb +9 -9
  152. data/lib/increase/models/physical_card_profile_list_params.rb +12 -9
  153. data/lib/increase/models/physical_card_update_params.rb +2 -1
  154. data/lib/increase/models/program.rb +15 -8
  155. data/lib/increase/models/program_list_params.rb +3 -4
  156. data/lib/increase/models/real_time_decision.rb +561 -370
  157. data/lib/increase/models/real_time_decision_action_params.rb +86 -75
  158. data/lib/increase/models/real_time_payments_transfer.rb +90 -47
  159. data/lib/increase/models/real_time_payments_transfer_approve_params.rb +2 -1
  160. data/lib/increase/models/real_time_payments_transfer_cancel_params.rb +2 -1
  161. data/lib/increase/models/real_time_payments_transfer_create_params.rb +24 -12
  162. data/lib/increase/models/real_time_payments_transfer_list_params.rb +28 -19
  163. data/lib/increase/models/routing_number_list_params.rb +3 -4
  164. data/lib/increase/models/routing_number_list_response.rb +11 -8
  165. data/lib/increase/models/simulations/account_revenue_payment_create_params.rb +9 -7
  166. data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +5 -6
  167. data/lib/increase/models/simulations/ach_transfer_return_params.rb +3 -4
  168. data/lib/increase/models/simulations/ach_transfer_settle_params.rb +4 -4
  169. data/lib/increase/models/simulations/card_authentication_create_params.rb +10 -8
  170. data/lib/increase/models/simulations/card_authorization_create_params.rb +50 -27
  171. data/lib/increase/models/simulations/card_authorization_create_response.rb +11 -7
  172. data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +26 -13
  173. data/lib/increase/models/simulations/card_dispute_action_params.rb +39 -19
  174. data/lib/increase/models/simulations/card_fuel_confirmation_create_params.rb +3 -5
  175. data/lib/increase/models/simulations/card_increment_create_params.rb +5 -4
  176. data/lib/increase/models/simulations/card_purchase_supplement_create_params.rb +7 -7
  177. data/lib/increase/models/simulations/card_refund_create_params.rb +10 -6
  178. data/lib/increase/models/simulations/card_reversal_create_params.rb +3 -4
  179. data/lib/increase/models/simulations/card_settlement_create_params.rb +6 -5
  180. data/lib/increase/models/simulations/card_token_create_params.rb +18 -9
  181. data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +8 -5
  182. data/lib/increase/models/simulations/check_deposit_submit_params.rb +9 -10
  183. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -7
  184. data/lib/increase/models/simulations/entity_onboarding_session_submit_params.rb +2 -1
  185. data/lib/increase/models/simulations/entity_update_validation_params.rb +5 -5
  186. data/lib/increase/models/simulations/export_create_params.rb +5 -5
  187. data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +20 -12
  188. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +5 -6
  189. data/lib/increase/models/simulations/inbound_check_deposit_create_params.rb +6 -6
  190. data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +9 -6
  191. data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +5 -6
  192. data/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +27 -13
  193. data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +45 -19
  194. data/lib/increase/models/simulations/interest_payment_create_params.rb +4 -5
  195. data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +3 -5
  196. data/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +2 -1
  197. data/lib/increase/models/simulations/physical_card_create_params.rb +5 -5
  198. data/lib/increase/models/simulations/program_create_params.rb +4 -2
  199. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +6 -3
  200. data/lib/increase/models/supplemental_document_list_params.rb +8 -5
  201. data/lib/increase/models/swift_transfer.rb +48 -26
  202. data/lib/increase/models/swift_transfer_create_params.rb +28 -19
  203. data/lib/increase/models/swift_transfer_list_params.rb +23 -16
  204. data/lib/increase/models/transaction.rb +995 -534
  205. data/lib/increase/models/transaction_list_params.rb +21 -16
  206. data/lib/increase/models/unwrap_webhook_event.rb +6 -5
  207. data/lib/increase/models/wire_drawdown_request.rb +44 -26
  208. data/lib/increase/models/wire_drawdown_request_create_params.rb +23 -19
  209. data/lib/increase/models/wire_drawdown_request_list_params.rb +12 -9
  210. data/lib/increase/models/wire_transfer.rb +100 -55
  211. data/lib/increase/models/wire_transfer_create_params.rb +43 -26
  212. data/lib/increase/models/wire_transfer_list_params.rb +23 -16
  213. data/lib/increase/resources/account_numbers.rb +20 -16
  214. data/lib/increase/resources/account_statements.rb +3 -4
  215. data/lib/increase/resources/account_transfers.rb +20 -12
  216. data/lib/increase/resources/accounts.rb +19 -12
  217. data/lib/increase/resources/ach_prenotifications.rb +23 -13
  218. data/lib/increase/resources/ach_transfers.rb +93 -43
  219. data/lib/increase/resources/beneficial_owners.rb +35 -19
  220. data/lib/increase/resources/card_disputes.rb +43 -22
  221. data/lib/increase/resources/card_payments.rb +3 -4
  222. data/lib/increase/resources/card_purchase_supplements.rb +6 -5
  223. data/lib/increase/resources/card_push_transfers.rb +55 -24
  224. data/lib/increase/resources/card_tokens.rb +3 -4
  225. data/lib/increase/resources/card_validations.rb +19 -12
  226. data/lib/increase/resources/cards.rb +33 -22
  227. data/lib/increase/resources/check_deposits.rb +10 -9
  228. data/lib/increase/resources/check_transfers.rb +37 -17
  229. data/lib/increase/resources/declined_transactions.rb +3 -4
  230. data/lib/increase/resources/digital_card_profiles.rb +12 -7
  231. data/lib/increase/resources/digital_wallet_tokens.rb +3 -4
  232. data/lib/increase/resources/entities.rb +69 -33
  233. data/lib/increase/resources/entity_onboarding_sessions.rb +16 -10
  234. data/lib/increase/resources/event_subscriptions.rb +22 -13
  235. data/lib/increase/resources/events.rb +10 -9
  236. data/lib/increase/resources/exports.rb +40 -22
  237. data/lib/increase/resources/external_accounts.rb +21 -14
  238. data/lib/increase/resources/fednow_transfers.rb +21 -14
  239. data/lib/increase/resources/file_links.rb +3 -4
  240. data/lib/increase/resources/files.rb +14 -10
  241. data/lib/increase/resources/inbound_ach_transfers.rb +18 -19
  242. data/lib/increase/resources/inbound_check_deposits.rb +8 -6
  243. data/lib/increase/resources/inbound_fednow_transfers.rb +8 -6
  244. data/lib/increase/resources/inbound_mail_items.rb +7 -6
  245. data/lib/increase/resources/inbound_real_time_payments_transfers.rb +11 -7
  246. data/lib/increase/resources/inbound_wire_drawdown_requests.rb +5 -5
  247. data/lib/increase/resources/inbound_wire_transfers.rb +10 -7
  248. data/lib/increase/resources/intrafi_account_enrollments.rb +12 -7
  249. data/lib/increase/resources/intrafi_exclusions.rb +17 -13
  250. data/lib/increase/resources/lockbox_addresses.rb +10 -6
  251. data/lib/increase/resources/lockbox_recipients.rb +17 -12
  252. data/lib/increase/resources/oauth_applications.rb +3 -4
  253. data/lib/increase/resources/oauth_connections.rb +6 -5
  254. data/lib/increase/resources/oauth_tokens.rb +14 -7
  255. data/lib/increase/resources/pending_transactions.rb +7 -8
  256. data/lib/increase/resources/physical_card_profiles.rb +18 -15
  257. data/lib/increase/resources/physical_cards.rb +17 -12
  258. data/lib/increase/resources/programs.rb +3 -4
  259. data/lib/increase/resources/real_time_decisions.rb +18 -9
  260. data/lib/increase/resources/real_time_payments_transfers.rb +41 -21
  261. data/lib/increase/resources/routing_numbers.rb +3 -4
  262. data/lib/increase/resources/simulations/account_revenue_payments.rb +9 -7
  263. data/lib/increase/resources/simulations/ach_transfers.rb +12 -14
  264. data/lib/increase/resources/simulations/card_authentications.rb +10 -8
  265. data/lib/increase/resources/simulations/card_authorizations.rb +28 -12
  266. data/lib/increase/resources/simulations/card_balance_inquiries.rb +22 -11
  267. data/lib/increase/resources/simulations/card_disputes.rb +6 -5
  268. data/lib/increase/resources/simulations/card_fuel_confirmations.rb +3 -5
  269. data/lib/increase/resources/simulations/card_increments.rb +5 -4
  270. data/lib/increase/resources/simulations/card_purchase_supplements.rb +7 -7
  271. data/lib/increase/resources/simulations/card_refunds.rb +10 -6
  272. data/lib/increase/resources/simulations/card_reversals.rb +3 -4
  273. data/lib/increase/resources/simulations/card_settlements.rb +6 -5
  274. data/lib/increase/resources/simulations/card_tokens.rb +6 -3
  275. data/lib/increase/resources/simulations/check_deposits.rb +11 -9
  276. data/lib/increase/resources/simulations/entities.rb +3 -4
  277. data/lib/increase/resources/simulations/entity_onboarding_sessions.rb +2 -1
  278. data/lib/increase/resources/simulations/exports.rb +5 -5
  279. data/lib/increase/resources/simulations/inbound_ach_transfers.rb +14 -9
  280. data/lib/increase/resources/simulations/inbound_check_deposits.rb +11 -12
  281. data/lib/increase/resources/simulations/inbound_mail_items.rb +9 -6
  282. data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +5 -6
  283. data/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +27 -13
  284. data/lib/increase/resources/simulations/inbound_wire_transfers.rb +45 -19
  285. data/lib/increase/resources/simulations/interest_payments.rb +4 -5
  286. data/lib/increase/resources/simulations/pending_transactions.rb +3 -5
  287. data/lib/increase/resources/simulations/physical_cards.rb +7 -6
  288. data/lib/increase/resources/simulations/programs.rb +4 -2
  289. data/lib/increase/resources/simulations/real_time_payments_transfers.rb +4 -2
  290. data/lib/increase/resources/supplemental_documents.rb +8 -5
  291. data/lib/increase/resources/swift_transfers.rb +28 -16
  292. data/lib/increase/resources/transactions.rb +6 -5
  293. data/lib/increase/resources/wire_drawdown_requests.rb +23 -14
  294. data/lib/increase/resources/wire_transfers.rb +29 -16
  295. data/lib/increase/version.rb +1 -1
  296. data/rbi/increase/models/check_transfer.rbi +8 -0
  297. data/rbi/increase/models/check_transfer_create_params.rbi +35 -36
  298. data/rbi/increase/models/entity_list_params.rbi +119 -0
  299. data/rbi/increase/models/pending_transaction_create_params.rbi +4 -4
  300. data/rbi/increase/resources/entities.rbi +3 -0
  301. data/rbi/increase/resources/pending_transactions.rbi +2 -2
  302. data/sig/increase/models/check_transfer.rbs +5 -0
  303. data/sig/increase/models/check_transfer_create_params.rbs +12 -9
  304. data/sig/increase/models/entity_list_params.rbs +48 -1
  305. data/sig/increase/resources/entities.rbs +1 -0
  306. metadata +2 -2
@@ -3,9 +3,6 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class SwiftTransfers
6
- # Some parameter documentations has been truncated, see
7
- # {Increase::Models::SwiftTransferCreateParams} for more details.
8
- #
9
6
  # Create a Swift Transfer
10
7
  #
11
8
  # @overload create(account_id:, account_number:, bank_identification_code:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, instructed_amount:, instructed_currency:, source_account_number_id:, unstructured_remittance_information:, require_approval: nil, routing_number: nil, request_options: {})
@@ -14,9 +11,13 @@ module Increase
14
11
  #
15
12
  # @param account_number [String] The creditor's account number.
16
13
  #
17
- # @param bank_identification_code [String] The bank identification code (BIC) of the creditor. If it ends with the three-ch
14
+ # @param bank_identification_code [String]
15
+ # The bank identification code (BIC) of the creditor. If it ends with the
16
+ # three-character branch code, this must be 11 characters long. Otherwise this
17
+ # must be 8 characters and the branch code will be assumed to be `XXX`.
18
18
  #
19
- # @param creditor_address [Increase::Models::SwiftTransferCreateParams::CreditorAddress] The creditor's address.
19
+ # @param creditor_address [Increase::Models::SwiftTransferCreateParams::CreditorAddress]
20
+ # The creditor's address.
20
21
  #
21
22
  # @param creditor_name [String] The creditor's name.
22
23
  #
@@ -24,17 +25,25 @@ module Increase
24
25
  #
25
26
  # @param debtor_name [String] The debtor's name.
26
27
  #
27
- # @param instructed_amount [Integer] The amount, in minor units of `instructed_currency`, to send to the creditor.
28
+ # @param instructed_amount [Integer]
29
+ # The amount, in minor units of `instructed_currency`, to send to the creditor.
28
30
  #
29
- # @param instructed_currency [Symbol, Increase::Models::SwiftTransferCreateParams::InstructedCurrency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the inst
31
+ # @param instructed_currency [Symbol, Increase::Models::SwiftTransferCreateParams::InstructedCurrency]
32
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the
33
+ # instructed amount.
30
34
  #
31
- # @param source_account_number_id [String] The Account Number to include in the transfer as the debtor's account number.
35
+ # @param source_account_number_id [String]
36
+ # The Account Number to include in the transfer as the debtor's account number.
32
37
  #
33
- # @param unstructured_remittance_information [String] Unstructured remittance information to include in the transfer.
38
+ # @param unstructured_remittance_information [String]
39
+ # Unstructured remittance information to include in the transfer.
34
40
  #
35
- # @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API.
41
+ # @param require_approval [Boolean]
42
+ # Whether the transfer requires explicit approval via the dashboard or API.
36
43
  #
37
- # @param routing_number [String] The creditor's bank account routing or transit number. Required in certain count
44
+ # @param routing_number [String]
45
+ # The creditor's bank account routing or transit number. Required in certain
46
+ # countries.
38
47
  #
39
48
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
40
49
  #
@@ -72,9 +81,6 @@ module Increase
72
81
  )
73
82
  end
74
83
 
75
- # Some parameter documentations has been truncated, see
76
- # {Increase::Models::SwiftTransferListParams} for more details.
77
- #
78
84
  # List Swift Transfers
79
85
  #
80
86
  # @overload list(account_id: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
@@ -85,9 +91,15 @@ module Increase
85
91
  #
86
92
  # @param cursor [String] Return the page of entries after this one.
87
93
  #
88
- # @param idempotency_key [String] Filter records to the one with the specified `idempotency_key` you chose for tha
94
+ # @param idempotency_key [String]
95
+ # Filter records to the one with the specified `idempotency_key` you chose for
96
+ # that object. This value is unique across Increase and is used to ensure that a
97
+ # request is only processed once. Learn more about
98
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
89
99
  #
90
- # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
100
+ # @param limit [Integer]
101
+ # Limit the size of the list that is returned. The default (and maximum) is 100
102
+ # objects.
91
103
  #
92
104
  # @param status [Increase::Models::SwiftTransferListParams::Status]
93
105
  #
@@ -23,9 +23,6 @@ module Increase
23
23
  )
24
24
  end
25
25
 
26
- # Some parameter documentations has been truncated, see
27
- # {Increase::Models::TransactionListParams} for more details.
28
- #
29
26
  # List Transactions
30
27
  #
31
28
  # @overload list(account_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, route_id: nil, request_options: {})
@@ -38,9 +35,13 @@ module Increase
38
35
  #
39
36
  # @param cursor [String] Return the page of entries after this one.
40
37
  #
41
- # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
38
+ # @param limit [Integer]
39
+ # Limit the size of the list that is returned. The default (and maximum) is 100
40
+ # objects.
42
41
  #
43
- # @param route_id [String] Filter Transactions for those belonging to the specified route. This could be a
42
+ # @param route_id [String]
43
+ # Filter Transactions for those belonging to the specified route. This could be a
44
+ # Card ID or an Account Number ID.
44
45
  #
45
46
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
46
47
  #
@@ -3,9 +3,6 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class WireDrawdownRequests
6
- # Some parameter documentations has been truncated, see
7
- # {Increase::Models::WireDrawdownRequestCreateParams} for more details.
8
- #
9
6
  # Create a Wire Drawdown Request
10
7
  #
11
8
  # @overload create(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, unstructured_remittance_information:, charge_bearer: nil, debtor_account_number: nil, debtor_external_account_id: nil, debtor_routing_number: nil, end_to_end_identification: nil, request_options: {})
@@ -14,25 +11,34 @@ module Increase
14
11
  #
15
12
  # @param amount [Integer] The amount requested from the debtor, in USD cents.
16
13
  #
17
- # @param creditor_address [Increase::Models::WireDrawdownRequestCreateParams::CreditorAddress] The creditor's address.
14
+ # @param creditor_address [Increase::Models::WireDrawdownRequestCreateParams::CreditorAddress]
15
+ # The creditor's address.
18
16
  #
19
17
  # @param creditor_name [String] The creditor's name.
20
18
  #
21
- # @param debtor_address [Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress] The debtor's address.
19
+ # @param debtor_address [Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress]
20
+ # The debtor's address.
22
21
  #
23
22
  # @param debtor_name [String] The debtor's name.
24
23
  #
25
- # @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the request.
24
+ # @param unstructured_remittance_information [String]
25
+ # Remittance information the debtor will see as part of the request.
26
26
  #
27
- # @param charge_bearer [Symbol, Increase::Models::WireDrawdownRequestCreateParams::ChargeBearer] Determines who bears the cost of the drawdown request. Defaults to `shared` if n
27
+ # @param charge_bearer [Symbol, Increase::Models::WireDrawdownRequestCreateParams::ChargeBearer]
28
+ # Determines who bears the cost of the drawdown request. Defaults to `shared` if
29
+ # not specified.
28
30
  #
29
31
  # @param debtor_account_number [String] The debtor's account number.
30
32
  #
31
- # @param debtor_external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
33
+ # @param debtor_external_account_id [String]
34
+ # The ID of an External Account to initiate a transfer to. If this parameter is
35
+ # provided, `debtor_account_number` and `debtor_routing_number` must be absent.
32
36
  #
33
37
  # @param debtor_routing_number [String] The debtor's routing number.
34
38
  #
35
- # @param end_to_end_identification [String] A free-form reference string set by the sender mirrored back in the subsequent w
39
+ # @param end_to_end_identification [String]
40
+ # A free-form reference string set by the sender mirrored back in the subsequent
41
+ # wire transfer.
36
42
  #
37
43
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
38
44
  #
@@ -70,18 +76,21 @@ module Increase
70
76
  )
71
77
  end
72
78
 
73
- # Some parameter documentations has been truncated, see
74
- # {Increase::Models::WireDrawdownRequestListParams} for more details.
75
- #
76
79
  # List Wire Drawdown Requests
77
80
  #
78
81
  # @overload list(cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
79
82
  #
80
83
  # @param cursor [String] Return the page of entries after this one.
81
84
  #
82
- # @param idempotency_key [String] Filter records to the one with the specified `idempotency_key` you chose for tha
85
+ # @param idempotency_key [String]
86
+ # Filter records to the one with the specified `idempotency_key` you chose for
87
+ # that object. This value is unique across Increase and is used to ensure that a
88
+ # request is only processed once. Learn more about
89
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
83
90
  #
84
- # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
91
+ # @param limit [Integer]
92
+ # Limit the size of the list that is returned. The default (and maximum) is 100
93
+ # objects.
85
94
  #
86
95
  # @param status [Increase::Models::WireDrawdownRequestListParams::Status]
87
96
  #
@@ -3,9 +3,6 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class WireTransfers
6
- # Some parameter documentations has been truncated, see
7
- # {Increase::Models::WireTransferCreateParams} for more details.
8
- #
9
6
  # Create a Wire Transfer
10
7
  #
11
8
  # @overload create(account_id:, amount:, creditor:, remittance:, account_number: nil, debtor: nil, external_account_id: nil, inbound_wire_drawdown_request_id: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
@@ -14,23 +11,36 @@ module Increase
14
11
  #
15
12
  # @param amount [Integer] The transfer amount in USD cents.
16
13
  #
17
- # @param creditor [Increase::Models::WireTransferCreateParams::Creditor] The person or business that is receiving the funds from the transfer.
14
+ # @param creditor [Increase::Models::WireTransferCreateParams::Creditor]
15
+ # The person or business that is receiving the funds from the transfer.
18
16
  #
19
- # @param remittance [Increase::Models::WireTransferCreateParams::Remittance] Additional remittance information related to the wire transfer.
17
+ # @param remittance [Increase::Models::WireTransferCreateParams::Remittance]
18
+ # Additional remittance information related to the wire transfer.
20
19
  #
21
20
  # @param account_number [String] The account number for the destination account.
22
21
  #
23
- # @param debtor [Increase::Models::WireTransferCreateParams::Debtor] The person or business whose funds are being transferred. This is only necessary
22
+ # @param debtor [Increase::Models::WireTransferCreateParams::Debtor]
23
+ # The person or business whose funds are being transferred. This is only necessary
24
+ # if you're transferring from a commingled account. Otherwise, we'll use the
25
+ # associated entity's details.
24
26
  #
25
- # @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
27
+ # @param external_account_id [String]
28
+ # The ID of an External Account to initiate a transfer to. If this parameter is
29
+ # provided, `account_number` and `routing_number` must be absent.
26
30
  #
27
- # @param inbound_wire_drawdown_request_id [String] The ID of an Inbound Wire Drawdown Request in response to which this transfer is
31
+ # @param inbound_wire_drawdown_request_id [String]
32
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer is
33
+ # being sent.
28
34
  #
29
- # @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API.
35
+ # @param require_approval [Boolean]
36
+ # Whether the transfer requires explicit approval via the dashboard or API.
30
37
  #
31
- # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des
38
+ # @param routing_number [String]
39
+ # The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
40
+ # destination account.
32
41
  #
33
- # @param source_account_number_id [String] The ID of an Account Number that will be passed to the wire's recipient
42
+ # @param source_account_number_id [String]
43
+ # The ID of an Account Number that will be passed to the wire's recipient
34
44
  #
35
45
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
36
46
  #
@@ -68,9 +78,6 @@ module Increase
68
78
  )
69
79
  end
70
80
 
71
- # Some parameter documentations has been truncated, see
72
- # {Increase::Models::WireTransferListParams} for more details.
73
- #
74
81
  # List Wire Transfers
75
82
  #
76
83
  # @overload list(account_id: nil, created_at: nil, cursor: nil, external_account_id: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
@@ -83,9 +90,15 @@ module Increase
83
90
  #
84
91
  # @param external_account_id [String] Filter Wire Transfers to those made to the specified External Account.
85
92
  #
86
- # @param idempotency_key [String] Filter records to the one with the specified `idempotency_key` you chose for tha
93
+ # @param idempotency_key [String]
94
+ # Filter records to the one with the specified `idempotency_key` you chose for
95
+ # that object. This value is unique across Increase and is used to ensure that a
96
+ # request is only processed once. Learn more about
97
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
87
98
  #
88
- # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
99
+ # @param limit [Integer]
100
+ # Limit the size of the list that is returned. The default (and maximum) is 100
101
+ # objects.
89
102
  #
90
103
  # @param status [Increase::Models::WireTransferListParams::Status]
91
104
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.340.0"
4
+ VERSION = "1.341.0"
5
5
  end
@@ -813,6 +813,10 @@ module Increase
813
813
  end
814
814
  attr_writer :return_address
815
815
 
816
+ # A custom name printed above the Increase-managed return address.
817
+ sig { returns(T.nilable(String)) }
818
+ attr_accessor :return_address_name
819
+
816
820
  # The shipping method for the check.
817
821
  sig do
818
822
  returns(
@@ -857,6 +861,7 @@ module Increase
857
861
  T.nilable(
858
862
  Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash
859
863
  ),
864
+ return_address_name: T.nilable(String),
860
865
  shipping_method:
861
866
  Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol,
862
867
  signature:
@@ -885,6 +890,8 @@ module Increase
885
890
  recipient_name:,
886
891
  # The return address to be printed on the check.
887
892
  return_address:,
893
+ # A custom name printed above the Increase-managed return address.
894
+ return_address_name:,
888
895
  # The shipping method for the check.
889
896
  shipping_method:,
890
897
  # The signature that will appear on the check.
@@ -909,6 +916,7 @@ module Increase
909
916
  T.nilable(
910
917
  Increase::CheckTransfer::PhysicalCheck::ReturnAddress
911
918
  ),
919
+ return_address_name: T.nilable(String),
912
920
  shipping_method:
913
921
  Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol,
914
922
  signature: Increase::CheckTransfer::PhysicalCheck::Signature,
@@ -288,6 +288,16 @@ module Increase
288
288
  sig { returns(String) }
289
289
  attr_accessor :memo
290
290
 
291
+ # The payer of the check. This will be printed on the top-left portion of the
292
+ # check. This should be an array of up to 4 elements, each of which represents a
293
+ # line of the payer.
294
+ sig do
295
+ returns(
296
+ T::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer]
297
+ )
298
+ end
299
+ attr_accessor :payer
300
+
291
301
  # The name that will be printed on the check in the 'To:' field.
292
302
  sig { returns(String) }
293
303
  attr_accessor :recipient_name
@@ -317,30 +327,6 @@ module Increase
317
327
  sig { params(note: String).void }
318
328
  attr_writer :note
319
329
 
320
- # The payer of the check. This will be printed on the top-left portion of the
321
- # check and defaults to the return address if unspecified. This should be an array
322
- # of up to 4 elements, each of which represents a line of the payer.
323
- sig do
324
- returns(
325
- T.nilable(
326
- T::Array[
327
- Increase::CheckTransferCreateParams::PhysicalCheck::Payer
328
- ]
329
- )
330
- )
331
- end
332
- attr_reader :payer
333
-
334
- sig do
335
- params(
336
- payer:
337
- T::Array[
338
- Increase::CheckTransferCreateParams::PhysicalCheck::Payer::OrHash
339
- ]
340
- ).void
341
- end
342
- attr_writer :payer
343
-
344
330
  # The return address to be printed on the check. If omitted this will default to
345
331
  # an Increase-owned address that will mark checks as delivery failed and shred
346
332
  # them.
@@ -361,6 +347,14 @@ module Increase
361
347
  end
362
348
  attr_writer :return_address
363
349
 
350
+ # A custom name to print above the default return address. Cannot be provided
351
+ # together with `return_address`.
352
+ sig { returns(T.nilable(String)) }
353
+ attr_reader :return_address_name
354
+
355
+ sig { params(return_address_name: String).void }
356
+ attr_writer :return_address_name
357
+
364
358
  # How to ship the check. For details on pricing, timing, and restrictions, see
365
359
  # https://increase.com/documentation/originating-checks#printing-checks .
366
360
  sig do
@@ -408,16 +402,17 @@ module Increase
408
402
  mailing_address:
409
403
  Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress::OrHash,
410
404
  memo: String,
411
- recipient_name: String,
412
- attachment_file_id: String,
413
- check_voucher_image_file_id: String,
414
- note: String,
415
405
  payer:
416
406
  T::Array[
417
407
  Increase::CheckTransferCreateParams::PhysicalCheck::Payer::OrHash
418
408
  ],
409
+ recipient_name: String,
410
+ attachment_file_id: String,
411
+ check_voucher_image_file_id: String,
412
+ note: String,
419
413
  return_address:
420
414
  Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress::OrHash,
415
+ return_address_name: String,
421
416
  shipping_method:
422
417
  Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod::OrSymbol,
423
418
  signature:
@@ -429,6 +424,10 @@ module Increase
429
424
  mailing_address:,
430
425
  # The descriptor that will be printed on the memo field on the check.
431
426
  memo:,
427
+ # The payer of the check. This will be printed on the top-left portion of the
428
+ # check. This should be an array of up to 4 elements, each of which represents a
429
+ # line of the payer.
430
+ payer:,
432
431
  # The name that will be printed on the check in the 'To:' field.
433
432
  recipient_name:,
434
433
  # The ID of a File to be attached to the check. This must have
@@ -441,14 +440,13 @@ module Increase
441
440
  check_voucher_image_file_id: nil,
442
441
  # The descriptor that will be printed on the letter included with the check.
443
442
  note: nil,
444
- # The payer of the check. This will be printed on the top-left portion of the
445
- # check and defaults to the return address if unspecified. This should be an array
446
- # of up to 4 elements, each of which represents a line of the payer.
447
- payer: nil,
448
443
  # The return address to be printed on the check. If omitted this will default to
449
444
  # an Increase-owned address that will mark checks as delivery failed and shred
450
445
  # them.
451
446
  return_address: nil,
447
+ # A custom name to print above the default return address. Cannot be provided
448
+ # together with `return_address`.
449
+ return_address_name: nil,
452
450
  # How to ship the check. For details on pricing, timing, and restrictions, see
453
451
  # https://increase.com/documentation/originating-checks#printing-checks .
454
452
  shipping_method: nil,
@@ -465,16 +463,17 @@ module Increase
465
463
  mailing_address:
466
464
  Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress,
467
465
  memo: String,
468
- recipient_name: String,
469
- attachment_file_id: String,
470
- check_voucher_image_file_id: String,
471
- note: String,
472
466
  payer:
473
467
  T::Array[
474
468
  Increase::CheckTransferCreateParams::PhysicalCheck::Payer
475
469
  ],
470
+ recipient_name: String,
471
+ attachment_file_id: String,
472
+ check_voucher_image_file_id: String,
473
+ note: String,
476
474
  return_address:
477
475
  Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
476
+ return_address_name: String,
478
477
  shipping_method:
479
478
  Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod::OrSymbol,
480
479
  signature:
@@ -50,6 +50,17 @@ module Increase
50
50
  sig { params(status: Increase::EntityListParams::Status::OrHash).void }
51
51
  attr_writer :status
52
52
 
53
+ sig { returns(T.nilable(Increase::EntityListParams::ValidationStatus)) }
54
+ attr_reader :validation_status
55
+
56
+ sig do
57
+ params(
58
+ validation_status:
59
+ Increase::EntityListParams::ValidationStatus::OrHash
60
+ ).void
61
+ end
62
+ attr_writer :validation_status
63
+
53
64
  sig do
54
65
  params(
55
66
  created_at: Increase::EntityListParams::CreatedAt::OrHash,
@@ -57,6 +68,8 @@ module Increase
57
68
  idempotency_key: String,
58
69
  limit: Integer,
59
70
  status: Increase::EntityListParams::Status::OrHash,
71
+ validation_status:
72
+ Increase::EntityListParams::ValidationStatus::OrHash,
60
73
  request_options: Increase::RequestOptions::OrHash
61
74
  ).returns(T.attached_class)
62
75
  end
@@ -73,6 +86,7 @@ module Increase
73
86
  # objects.
74
87
  limit: nil,
75
88
  status: nil,
89
+ validation_status: nil,
76
90
  request_options: {}
77
91
  )
78
92
  end
@@ -85,6 +99,7 @@ module Increase
85
99
  idempotency_key: String,
86
100
  limit: Integer,
87
101
  status: Increase::EntityListParams::Status,
102
+ validation_status: Increase::EntityListParams::ValidationStatus,
88
103
  request_options: Increase::RequestOptions
89
104
  }
90
105
  )
@@ -251,6 +266,110 @@ module Increase
251
266
  end
252
267
  end
253
268
  end
269
+
270
+ class ValidationStatus < Increase::Internal::Type::BaseModel
271
+ OrHash =
272
+ T.type_alias do
273
+ T.any(
274
+ Increase::EntityListParams::ValidationStatus,
275
+ Increase::Internal::AnyHash
276
+ )
277
+ end
278
+
279
+ # Filter Entities for those with the specified validation status. For GET
280
+ # requests, this should be encoded as a comma-delimited string, such as
281
+ # `?in=one,two,three`.
282
+ sig do
283
+ returns(
284
+ T.nilable(
285
+ T::Array[
286
+ Increase::EntityListParams::ValidationStatus::In::OrSymbol
287
+ ]
288
+ )
289
+ )
290
+ end
291
+ attr_reader :in_
292
+
293
+ sig do
294
+ params(
295
+ in_:
296
+ T::Array[
297
+ Increase::EntityListParams::ValidationStatus::In::OrSymbol
298
+ ]
299
+ ).void
300
+ end
301
+ attr_writer :in_
302
+
303
+ sig do
304
+ params(
305
+ in_:
306
+ T::Array[
307
+ Increase::EntityListParams::ValidationStatus::In::OrSymbol
308
+ ]
309
+ ).returns(T.attached_class)
310
+ end
311
+ def self.new(
312
+ # Filter Entities for those with the specified validation status. For GET
313
+ # requests, this should be encoded as a comma-delimited string, such as
314
+ # `?in=one,two,three`.
315
+ in_: nil
316
+ )
317
+ end
318
+
319
+ sig do
320
+ override.returns(
321
+ {
322
+ in_:
323
+ T::Array[
324
+ Increase::EntityListParams::ValidationStatus::In::OrSymbol
325
+ ]
326
+ }
327
+ )
328
+ end
329
+ def to_hash
330
+ end
331
+
332
+ module In
333
+ extend Increase::Internal::Type::Enum
334
+
335
+ TaggedSymbol =
336
+ T.type_alias do
337
+ T.all(Symbol, Increase::EntityListParams::ValidationStatus::In)
338
+ end
339
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
340
+
341
+ # The submitted data is being validated.
342
+ PENDING =
343
+ T.let(
344
+ :pending,
345
+ Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
346
+ )
347
+
348
+ # The submitted data is valid.
349
+ VALID =
350
+ T.let(
351
+ :valid,
352
+ Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
353
+ )
354
+
355
+ # Additional information is required to validate the data.
356
+ INVALID =
357
+ T.let(
358
+ :invalid,
359
+ Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
360
+ )
361
+
362
+ sig do
363
+ override.returns(
364
+ T::Array[
365
+ Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
366
+ ]
367
+ )
368
+ end
369
+ def self.values
370
+ end
371
+ end
372
+ end
254
373
  end
255
374
  end
256
375
  end
@@ -19,8 +19,8 @@ module Increase
19
19
  attr_accessor :account_id
20
20
 
21
21
  # The amount to hold in the minor unit of the account's currency. For dollars, for
22
- # example, this is cents. This should be a negative amount - to hold $1.00 from
23
- # the account, you would pass -100.
22
+ # example, this is cents. This should be a negative amount: To hold $1.00 from the
23
+ # account, pass -100 as `amount`.
24
24
  sig { returns(Integer) }
25
25
  attr_accessor :amount
26
26
 
@@ -43,8 +43,8 @@ module Increase
43
43
  # The Account to place the hold on.
44
44
  account_id:,
45
45
  # The amount to hold in the minor unit of the account's currency. For dollars, for
46
- # example, this is cents. This should be a negative amount - to hold $1.00 from
47
- # the account, you would pass -100.
46
+ # example, this is cents. This should be a negative amount: To hold $1.00 from the
47
+ # account, pass -100 as `amount`.
48
48
  amount:,
49
49
  # The description you choose to give the hold.
50
50
  description: nil,
@@ -137,6 +137,8 @@ module Increase
137
137
  idempotency_key: String,
138
138
  limit: Integer,
139
139
  status: Increase::EntityListParams::Status::OrHash,
140
+ validation_status:
141
+ Increase::EntityListParams::ValidationStatus::OrHash,
140
142
  request_options: Increase::RequestOptions::OrHash
141
143
  ).returns(Increase::Internal::Page[Increase::Entity])
142
144
  end
@@ -153,6 +155,7 @@ module Increase
153
155
  # objects.
154
156
  limit: nil,
155
157
  status: nil,
158
+ validation_status: nil,
156
159
  request_options: {}
157
160
  )
158
161
  end
@@ -20,8 +20,8 @@ module Increase
20
20
  # The Account to place the hold on.
21
21
  account_id:,
22
22
  # The amount to hold in the minor unit of the account's currency. For dollars, for
23
- # example, this is cents. This should be a negative amount - to hold $1.00 from
24
- # the account, you would pass -100.
23
+ # example, this is cents. This should be a negative amount: To hold $1.00 from the
24
+ # account, pass -100 as `amount`.
25
25
  amount:,
26
26
  # The description you choose to give the hold.
27
27
  description: nil,