increase 1.348.0 → 1.350.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 (163) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_create_params.rb +15 -15
  4. data/lib/increase/models/account_number.rb +3 -3
  5. data/lib/increase/models/ach_transfer.rb +12 -12
  6. data/lib/increase/models/balance_lookup.rb +1 -1
  7. data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
  8. data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
  9. data/lib/increase/models/card_dispute.rb +9 -1
  10. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
  11. data/lib/increase/models/card_payment.rb +58 -58
  12. data/lib/increase/models/card_purchase_supplement.rb +9 -1
  13. data/lib/increase/models/card_token_capabilities.rb +2 -2
  14. data/lib/increase/models/check_deposit.rb +9 -9
  15. data/lib/increase/models/check_transfer.rb +2 -2
  16. data/lib/increase/models/check_transfer_create_params.rb +9 -4
  17. data/lib/increase/models/declined_transaction.rb +12 -9
  18. data/lib/increase/models/digital_wallet_token.rb +9 -1
  19. data/lib/increase/models/entity.rb +298 -6
  20. data/lib/increase/models/entity_create_params.rb +332 -29
  21. data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
  22. data/lib/increase/models/entity_update_params.rb +472 -15
  23. data/lib/increase/models/event.rb +3 -0
  24. data/lib/increase/models/event_list_params.rb +3 -0
  25. data/lib/increase/models/event_subscription.rb +3 -0
  26. data/lib/increase/models/event_subscription_create_params.rb +3 -0
  27. data/lib/increase/models/fednow_transfer.rb +115 -4
  28. data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
  29. data/lib/increase/models/inbound_ach_transfer.rb +2 -2
  30. data/lib/increase/models/inbound_check_deposit.rb +7 -4
  31. data/lib/increase/models/inbound_fednow_transfer.rb +21 -1
  32. data/lib/increase/models/inbound_mail_item.rb +14 -1
  33. data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
  34. data/lib/increase/models/inbound_wire_transfer.rb +4 -4
  35. data/lib/increase/models/intrafi_exclusion.rb +4 -4
  36. data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
  37. data/lib/increase/models/pending_transaction.rb +20 -20
  38. data/lib/increase/models/pending_transaction_list_params.rb +5 -7
  39. data/lib/increase/models/physical_card.rb +9 -1
  40. data/lib/increase/models/physical_card_create_params.rb +6 -3
  41. data/lib/increase/models/real_time_decision.rb +18 -18
  42. data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
  43. data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
  44. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
  45. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
  46. data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
  47. data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
  48. data/lib/increase/models/simulations/program_create_params.rb +14 -3
  49. data/lib/increase/models/transaction.rb +146 -19
  50. data/lib/increase/models/transaction_list_params.rb +3 -0
  51. data/lib/increase/models/unwrap_webhook_event.rb +3 -0
  52. data/lib/increase/models/wire_drawdown_request.rb +12 -1
  53. data/lib/increase/models/wire_transfer_create_params.rb +2 -2
  54. data/lib/increase/resources/cards.rb +2 -2
  55. data/lib/increase/resources/check_transfers.rb +1 -1
  56. data/lib/increase/resources/entities.rb +10 -2
  57. data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
  58. data/lib/increase/resources/lockbox_recipients.rb +1 -1
  59. data/lib/increase/resources/physical_cards.rb +2 -1
  60. data/lib/increase/resources/simulations/card_authentications.rb +1 -1
  61. data/lib/increase/resources/simulations/card_disputes.rb +2 -2
  62. data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
  63. data/lib/increase/resources/simulations/interest_payments.rb +1 -1
  64. data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
  65. data/lib/increase/resources/simulations/physical_cards.rb +2 -2
  66. data/lib/increase/resources/simulations/programs.rb +6 -2
  67. data/lib/increase/resources/wire_transfers.rb +1 -1
  68. data/lib/increase/version.rb +1 -1
  69. data/rbi/increase/models/account_create_params.rbi +37 -21
  70. data/rbi/increase/models/account_number.rbi +3 -3
  71. data/rbi/increase/models/ach_transfer.rbi +12 -12
  72. data/rbi/increase/models/balance_lookup.rbi +1 -1
  73. data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
  74. data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
  75. data/rbi/increase/models/card_dispute.rbi +8 -0
  76. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
  77. data/rbi/increase/models/card_payment.rbi +58 -58
  78. data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
  79. data/rbi/increase/models/card_token_capabilities.rbi +2 -2
  80. data/rbi/increase/models/check_deposit.rbi +9 -9
  81. data/rbi/increase/models/check_transfer.rbi +2 -2
  82. data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
  83. data/rbi/increase/models/declined_transaction.rbi +16 -9
  84. data/rbi/increase/models/digital_wallet_token.rbi +8 -0
  85. data/rbi/increase/models/entity.rbi +496 -5
  86. data/rbi/increase/models/entity_create_params.rbi +547 -28
  87. data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
  88. data/rbi/increase/models/entity_update_params.rbi +814 -14
  89. data/rbi/increase/models/event.rbi +7 -0
  90. data/rbi/increase/models/event_list_params.rbi +7 -0
  91. data/rbi/increase/models/event_subscription.rbi +7 -0
  92. data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
  93. data/rbi/increase/models/fednow_transfer.rbi +213 -7
  94. data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
  95. data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
  96. data/rbi/increase/models/inbound_check_deposit.rbi +6 -4
  97. data/rbi/increase/models/inbound_fednow_transfer.rbi +23 -0
  98. data/rbi/increase/models/inbound_mail_item.rbi +12 -0
  99. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
  100. data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
  101. data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
  102. data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
  103. data/rbi/increase/models/pending_transaction.rbi +20 -20
  104. data/rbi/increase/models/pending_transaction_list_params.rbi +5 -7
  105. data/rbi/increase/models/physical_card.rbi +8 -0
  106. data/rbi/increase/models/physical_card_create_params.rbi +6 -3
  107. data/rbi/increase/models/real_time_decision.rbi +18 -18
  108. data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
  109. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
  110. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
  111. data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
  112. data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
  113. data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
  114. data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
  115. data/rbi/increase/models/transaction.rbi +264 -18
  116. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  117. data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
  118. data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
  119. data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
  120. data/rbi/increase/resources/cards.rbi +2 -2
  121. data/rbi/increase/resources/check_transfers.rbi +1 -1
  122. data/rbi/increase/resources/entities.rbi +10 -0
  123. data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
  124. data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
  125. data/rbi/increase/resources/physical_cards.rbi +2 -1
  126. data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
  127. data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
  128. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
  129. data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
  130. data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
  131. data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
  132. data/rbi/increase/resources/simulations/programs.rbi +5 -1
  133. data/rbi/increase/resources/wire_transfers.rbi +1 -1
  134. data/sig/increase/models/account_create_params.rbs +20 -12
  135. data/sig/increase/models/card_dispute.rbs +5 -0
  136. data/sig/increase/models/card_purchase_supplement.rbs +5 -0
  137. data/sig/increase/models/declined_transaction.rbs +4 -0
  138. data/sig/increase/models/digital_wallet_token.rbs +5 -0
  139. data/sig/increase/models/entity.rbs +230 -4
  140. data/sig/increase/models/entity_create_params.rbs +232 -1
  141. data/sig/increase/models/entity_update_params.rbs +366 -0
  142. data/sig/increase/models/event.rbs +4 -0
  143. data/sig/increase/models/event_list_params.rbs +4 -0
  144. data/sig/increase/models/event_subscription.rbs +4 -0
  145. data/sig/increase/models/event_subscription_create_params.rbs +4 -0
  146. data/sig/increase/models/fednow_transfer.rbs +113 -4
  147. data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
  148. data/sig/increase/models/inbound_fednow_transfer.rbs +14 -0
  149. data/sig/increase/models/inbound_mail_item.rbs +5 -0
  150. data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
  151. data/sig/increase/models/pending_transaction.rbs +1 -1
  152. data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
  153. data/sig/increase/models/physical_card.rbs +5 -0
  154. data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
  155. data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
  156. data/sig/increase/models/simulations/program_create_params.rbs +7 -0
  157. data/sig/increase/models/transaction.rbs +113 -0
  158. data/sig/increase/models/transaction_list_params.rbs +4 -0
  159. data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
  160. data/sig/increase/models/wire_drawdown_request.rbs +5 -0
  161. data/sig/increase/resources/entities.rbs +2 -0
  162. data/sig/increase/resources/simulations/programs.rbs +1 -0
  163. metadata +2 -2
@@ -5,7 +5,7 @@ module Increase
5
5
  class Entities
6
6
  # Create an Entity
7
7
  #
8
- # @overload create(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
8
+ # @overload create(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, sole_proprietorship: nil, supplemental_documents: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
9
9
  #
10
10
  # @param structure [Symbol, Increase::Models::EntityCreateParams::Structure] The type of Entity to create.
11
11
  #
@@ -33,6 +33,10 @@ module Increase
33
33
  # An assessment of the entity's potential risk of involvement in financial crimes,
34
34
  # such as money laundering.
35
35
  #
36
+ # @param sole_proprietorship [Increase::Models::EntityCreateParams::SoleProprietorship]
37
+ # Details of the sole proprietorship entity to create. Required if `structure` is
38
+ # equal to `sole_proprietorship`.
39
+ #
36
40
  # @param supplemental_documents [Array<Increase::Models::EntityCreateParams::SupplementalDocument>]
37
41
  # Additional documentation associated with the entity.
38
42
  #
@@ -87,7 +91,7 @@ module Increase
87
91
 
88
92
  # Update an Entity
89
93
  #
90
- # @overload update(entity_id, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
94
+ # @overload update(entity_id, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, sole_proprietorship: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
91
95
  #
92
96
  # @param entity_id [String] The entity identifier.
93
97
  #
@@ -112,6 +116,10 @@ module Increase
112
116
  # An assessment of the entity’s potential risk of involvement in financial crimes,
113
117
  # such as money laundering.
114
118
  #
119
+ # @param sole_proprietorship [Increase::Models::EntityUpdateParams::SoleProprietorship]
120
+ # Details of the sole proprietorship entity to update. If you specify this
121
+ # parameter and the entity is not a sole proprietorship, the request will fail.
122
+ #
115
123
  # @param terms_agreements [Array<Increase::Models::EntityUpdateParams::TermsAgreement>]
116
124
  # New terms that the Entity agreed to. Not all programs are required to submit
117
125
  # this data. This will not archive previously submitted terms.
@@ -55,7 +55,7 @@ module Increase
55
55
  )
56
56
  end
57
57
 
58
- # List Entity Onboarding Session
58
+ # List Entity Onboarding Sessions
59
59
  #
60
60
  # @overload list(cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
61
61
  #
@@ -16,7 +16,7 @@ module Increase
16
16
  #
17
17
  # @param description [String] The description you choose for the Lockbox Recipient.
18
18
  #
19
- # @param recipient_name [String] The name of the Lockbox Recipient
19
+ # @param recipient_name [String] The name of the Lockbox Recipient.
20
20
  #
21
21
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
22
22
  #
@@ -10,7 +10,8 @@ module Increase
10
10
  # @param card_id [String] The underlying card representing this physical card.
11
11
  #
12
12
  # @param cardholder [Increase::Models::PhysicalCardCreateParams::Cardholder]
13
- # Details about the cardholder, as it will appear on the physical card.
13
+ # Details about the cardholder, as it will appear on the physical card. The
14
+ # combined first name and last name cannot exceed 25 characters.
14
15
  #
15
16
  # @param shipment [Increase::Models::PhysicalCardCreateParams::Shipment]
16
17
  # The details used to ship this physical card.
@@ -28,7 +28,7 @@ module Increase
28
28
  #
29
29
  # @param merchant_country [String] The country the merchant resides in.
30
30
  #
31
- # @param merchant_name [String] The name of the merchant
31
+ # @param merchant_name [String] The name of the merchant.
32
32
  #
33
33
  # @param purchase_amount [Integer] The purchase amount in cents.
34
34
  #
@@ -18,8 +18,8 @@ module Increase
18
18
  # under the sub-object with the same identifier as the network.
19
19
  #
20
20
  # @param visa [Increase::Models::Simulations::CardDisputeActionParams::Visa]
21
- # The Visa-specific parameters for the taking action on the dispute. Required if
22
- # and only if `network` is `visa`.
21
+ # The Visa-specific parameters for taking action on the dispute. Required if and
22
+ # only if `network` is `visa`.
23
23
  #
24
24
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
25
25
  #
@@ -50,7 +50,10 @@ module Increase
50
50
  # @param inbound_check_deposit_id [String] The identifier of the Inbound Check Deposit to adjust.
51
51
  #
52
52
  # @param amount [Integer]
53
- # The adjustment amount in cents. Defaults to the amount of the Inbound Check
53
+ # The adjustment amount in cents. A positive amount means that the funds are being
54
+ # returned to you by the other bank and is a credit to your account, as happens
55
+ # for a `wrong_payee_credit`. A negative amount is a debit to your account, as
56
+ # happens for a `late_return`. Defaults to the amount of the Inbound Check
54
57
  # Deposit.
55
58
  #
56
59
  # @param reason [Symbol, Increase::Models::Simulations::InboundCheckDepositAdjustmentParams::Reason]
@@ -9,7 +9,7 @@ module Increase
9
9
  #
10
10
  # @overload create(account_id:, amount:, accrued_on_account_id: nil, period_end: nil, period_start: nil, request_options: {})
11
11
  #
12
- # @param account_id [String] The identifier of the Account the Interest Payment should be paid to is for.
12
+ # @param account_id [String] The identifier of the Account the Interest Payment should be paid to.
13
13
  #
14
14
  # @param amount [Integer] The interest amount in cents. Must be positive.
15
15
  #
@@ -10,7 +10,7 @@ module Increase
10
10
  # @overload release_inbound_funds_hold(pending_transaction_id, request_options: {})
11
11
  #
12
12
  # @param pending_transaction_id [String]
13
- # The pending transaction to release. The pending transaction must have a
13
+ # The pending transaction to release. The pending transaction must have an
14
14
  # `inbound_funds_hold` source.
15
15
  #
16
16
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -41,8 +41,8 @@ module Increase
41
41
  end
42
42
 
43
43
  # This endpoint allows you to simulate advancing the shipment status of a Physical
44
- # Card, to simulate e.g., that a physical card was attempted shipped but then
45
- # failed delivery.
44
+ # Card, to simulate e.g., that a physical card was attempted to be shipped but
45
+ # then failed delivery.
46
46
  #
47
47
  # @overload advance_shipment(physical_card_id, shipment_status:, request_options: {})
48
48
  #
@@ -9,7 +9,7 @@ module Increase
9
9
  # operates more than one program, `program_id` is a required field when creating
10
10
  # accounts.
11
11
  #
12
- # @overload create(name:, bank: nil, lending_maximum_extendable_credit: nil, reserve_account_id: nil, request_options: {})
12
+ # @overload create(name:, bank: nil, lending_maximum_extendable_credit: nil, loan_accounts_require_loan_offers: nil, reserve_account_id: nil, request_options: {})
13
13
  #
14
14
  # @param name [String] The name of the program being added.
15
15
  #
@@ -19,7 +19,11 @@ module Increase
19
19
  # @param lending_maximum_extendable_credit [Integer]
20
20
  # The maximum extendable credit of the program being added.
21
21
  #
22
- # @param reserve_account_id [String] The identifier of the Account the Program should be added to is for.
22
+ # @param loan_accounts_require_loan_offers [Boolean]
23
+ # Whether opening a loan Account under this Program requires an accepted Loan
24
+ # Offer. Requires `lending_maximum_extendable_credit`. Defaults to `false`.
25
+ #
26
+ # @param reserve_account_id [String] The identifier of the Account the Program should be added to.
23
27
  #
24
28
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
25
29
  #
@@ -40,7 +40,7 @@ module Increase
40
40
  # destination account.
41
41
  #
42
42
  # @param source_account_number_id [String]
43
- # The ID of an Account Number that will be passed to the wire's recipient
43
+ # The ID of an Account Number that will be passed to the wire's recipient.
44
44
  #
45
45
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
46
46
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.348.0"
4
+ VERSION = "1.350.0"
5
5
  end
@@ -144,37 +144,53 @@ module Increase
144
144
 
145
145
  # The number of days after the statement date that the Account can be past due
146
146
  # before being considered delinquent.
147
- sig { returns(Integer) }
148
- attr_accessor :grace_period_days
147
+ sig { returns(T.nilable(Integer)) }
148
+ attr_reader :grace_period_days
149
+
150
+ sig { params(grace_period_days: Integer).void }
151
+ attr_writer :grace_period_days
152
+
153
+ # The date on which the loan matures.
154
+ sig { returns(T.nilable(Date)) }
155
+ attr_reader :maturity_date
156
+
157
+ sig { params(maturity_date: Date).void }
158
+ attr_writer :maturity_date
149
159
 
150
160
  # The day of the month on which the loan statement is generated.
151
- sig { returns(Integer) }
152
- attr_accessor :statement_day_of_month
161
+ sig { returns(T.nilable(Integer)) }
162
+ attr_reader :statement_day_of_month
163
+
164
+ sig { params(statement_day_of_month: Integer).void }
165
+ attr_writer :statement_day_of_month
153
166
 
154
167
  # The type of statement payment for the account.
155
168
  sig do
156
169
  returns(
157
- Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
170
+ T.nilable(
171
+ Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
172
+ )
158
173
  )
159
174
  end
160
- attr_accessor :statement_payment_type
175
+ attr_reader :statement_payment_type
161
176
 
162
- # The date on which the loan matures.
163
- sig { returns(T.nilable(Date)) }
164
- attr_reader :maturity_date
165
-
166
- sig { params(maturity_date: Date).void }
167
- attr_writer :maturity_date
177
+ sig do
178
+ params(
179
+ statement_payment_type:
180
+ Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
181
+ ).void
182
+ end
183
+ attr_writer :statement_payment_type
168
184
 
169
185
  # The loan details for the account.
170
186
  sig do
171
187
  params(
172
188
  credit_limit: Integer,
173
189
  grace_period_days: Integer,
190
+ maturity_date: Date,
174
191
  statement_day_of_month: Integer,
175
192
  statement_payment_type:
176
- Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol,
177
- maturity_date: Date
193
+ Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
178
194
  ).returns(T.attached_class)
179
195
  end
180
196
  def self.new(
@@ -182,13 +198,13 @@ module Increase
182
198
  credit_limit:,
183
199
  # The number of days after the statement date that the Account can be past due
184
200
  # before being considered delinquent.
185
- grace_period_days:,
201
+ grace_period_days: nil,
202
+ # The date on which the loan matures.
203
+ maturity_date: nil,
186
204
  # The day of the month on which the loan statement is generated.
187
- statement_day_of_month:,
205
+ statement_day_of_month: nil,
188
206
  # The type of statement payment for the account.
189
- statement_payment_type:,
190
- # The date on which the loan matures.
191
- maturity_date: nil
207
+ statement_payment_type: nil
192
208
  )
193
209
  end
194
210
 
@@ -197,10 +213,10 @@ module Increase
197
213
  {
198
214
  credit_limit: Integer,
199
215
  grace_period_days: Integer,
216
+ maturity_date: Date,
200
217
  statement_day_of_month: Integer,
201
218
  statement_payment_type:
202
- Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol,
203
- maturity_date: Date
219
+ Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
204
220
  }
205
221
  )
206
222
  end
@@ -150,7 +150,7 @@ module Increase
150
150
  end
151
151
 
152
152
  # Whether ACH debits are allowed against this Account Number. Note that they will
153
- # still be declined if this is `allowed` if the Account Number is not active.
153
+ # still be declined if this is `allowed` but the Account Number is not active.
154
154
  sig do
155
155
  returns(
156
156
  Increase::AccountNumber::InboundACH::DebitStatus::TaggedSymbol
@@ -167,7 +167,7 @@ module Increase
167
167
  end
168
168
  def self.new(
169
169
  # Whether ACH debits are allowed against this Account Number. Note that they will
170
- # still be declined if this is `allowed` if the Account Number is not active.
170
+ # still be declined if this is `allowed` but the Account Number is not active.
171
171
  debit_status:
172
172
  )
173
173
  end
@@ -184,7 +184,7 @@ module Increase
184
184
  end
185
185
 
186
186
  # Whether ACH debits are allowed against this Account Number. Note that they will
187
- # still be declined if this is `allowed` if the Account Number is not active.
187
+ # still be declined if this is `allowed` but the Account Number is not active.
188
188
  module DebitStatus
189
189
  extend Increase::Internal::Type::Enum
190
190
 
@@ -2575,12 +2575,12 @@ module Increase
2575
2575
  )
2576
2576
  end
2577
2577
 
2578
- # The timestamp by which any administrative returns are expected to be received
2579
- # by. This follows the Nacha guidelines for return windows, which are: "In
2580
- # general, return entries must be received by the RDFI’s ACH Operator by its
2581
- # deposit deadline for the return entry to be made available to the ODFI no later
2582
- # than the opening of business on the second banking day following the Settlement
2583
- # Date of the original entry.".
2578
+ # The timestamp by which any administrative returns are expected to be received.
2579
+ # This follows the Nacha guidelines for return windows, which are: "In general,
2580
+ # return entries must be received by the RDFI’s ACH Operator by its deposit
2581
+ # deadline for the return entry to be made available to the ODFI no later than the
2582
+ # opening of business on the second banking day following the Settlement Date of
2583
+ # the original entry.".
2584
2584
  sig { returns(Time) }
2585
2585
  attr_accessor :administrative_returns_expected_by
2586
2586
 
@@ -2637,12 +2637,12 @@ module Increase
2637
2637
  ).returns(T.attached_class)
2638
2638
  end
2639
2639
  def self.new(
2640
- # The timestamp by which any administrative returns are expected to be received
2641
- # by. This follows the Nacha guidelines for return windows, which are: "In
2642
- # general, return entries must be received by the RDFI’s ACH Operator by its
2643
- # deposit deadline for the return entry to be made available to the ODFI no later
2644
- # than the opening of business on the second banking day following the Settlement
2645
- # Date of the original entry.".
2640
+ # The timestamp by which any administrative returns are expected to be received.
2641
+ # This follows the Nacha guidelines for return windows, which are: "In general,
2642
+ # return entries must be received by the RDFI’s ACH Operator by its deposit
2643
+ # deadline for the return entry to be made available to the ODFI no later than the
2644
+ # opening of business on the second banking day following the Settlement Date of
2645
+ # the original entry.".
2646
2646
  administrative_returns_expected_by:,
2647
2647
  # The ACH transfer's effective date as sent to the Federal Reserve. If a specific
2648
2648
  # date was configured using `preferred_effective_date`, this will match that
@@ -36,7 +36,7 @@ module Increase
36
36
  sig { returns(Increase::BalanceLookup::Type::TaggedSymbol) }
37
37
  attr_accessor :type
38
38
 
39
- # Represents a request to lookup the balance of an Account at a given point in
39
+ # Represents a request to look up the balance of an Account at a given point in
40
40
  # time.
41
41
  sig do
42
42
  params(
@@ -306,8 +306,7 @@ module Increase
306
306
  # An identification number that can be used to verify the individual's identity,
307
307
  # such as a social security number. For Social Security Numbers and Individual
308
308
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
309
- # separators. When testing in sandbox, use one of our
310
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
309
+ # separators.
311
310
  sig { returns(String) }
312
311
  attr_accessor :number
313
312
 
@@ -390,8 +389,7 @@ module Increase
390
389
  # An identification number that can be used to verify the individual's identity,
391
390
  # such as a social security number. For Social Security Numbers and Individual
392
391
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
393
- # separators. When testing in sandbox, use one of our
394
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
392
+ # separators.
395
393
  number:,
396
394
  # Information about the United States driver's license used for identification.
397
395
  # Required if `method` is equal to `drivers_license`.
@@ -264,8 +264,7 @@ module Increase
264
264
  # An identification number that can be used to verify the individual's identity,
265
265
  # such as a social security number. For Social Security Numbers and Individual
266
266
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
267
- # separators. When testing in sandbox, use one of our
268
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
267
+ # separators.
269
268
  sig { returns(String) }
270
269
  attr_accessor :number
271
270
 
@@ -348,8 +347,7 @@ module Increase
348
347
  # An identification number that can be used to verify the individual's identity,
349
348
  # such as a social security number. For Social Security Numbers and Individual
350
349
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
351
- # separators. When testing in sandbox, use one of our
352
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
350
+ # separators.
353
351
  number:,
354
352
  # Information about the United States driver's license used for identification.
355
353
  # Required if `method` is equal to `drivers_license`.
@@ -12,6 +12,10 @@ module Increase
12
12
  sig { returns(String) }
13
13
  attr_accessor :id
14
14
 
15
+ # The Account that the Card Dispute is associated with.
16
+ sig { returns(String) }
17
+ attr_accessor :account_id
18
+
15
19
  # The amount of the dispute.
16
20
  sig { returns(Integer) }
17
21
  attr_accessor :amount
@@ -109,6 +113,7 @@ module Increase
109
113
  sig do
110
114
  params(
111
115
  id: String,
116
+ account_id: String,
112
117
  amount: Integer,
113
118
  card_id: String,
114
119
  created_at: Time,
@@ -128,6 +133,8 @@ module Increase
128
133
  def self.new(
129
134
  # The Card Dispute identifier.
130
135
  id:,
136
+ # The Account that the Card Dispute is associated with.
137
+ account_id:,
131
138
  # The amount of the dispute.
132
139
  amount:,
133
140
  # The Card that the Card Dispute is associated with.
@@ -176,6 +183,7 @@ module Increase
176
183
  override.returns(
177
184
  {
178
185
  id: String,
186
+ account_id: String,
179
187
  amount: Integer,
180
188
  card_id: String,
181
189
  created_at: Time,
@@ -7403,6 +7403,7 @@ module Increase
7403
7403
  )
7404
7404
  end
7405
7405
 
7406
+ # The category the dispute is being changed to.
7406
7407
  sig do
7407
7408
  returns(
7408
7409
  Increase::CardDisputeSubmitUserSubmissionParams::Visa::UserPrearbitration::CategoryChange::Category::OrSymbol
@@ -7425,6 +7426,7 @@ module Increase
7425
7426
  ).returns(T.attached_class)
7426
7427
  end
7427
7428
  def self.new(
7429
+ # The category the dispute is being changed to.
7428
7430
  category:,
7429
7431
  # The reason for the category change.
7430
7432
  reason:
@@ -7443,6 +7445,7 @@ module Increase
7443
7445
  def to_hash
7444
7446
  end
7445
7447
 
7448
+ # The category the dispute is being changed to.
7446
7449
  module Category
7447
7450
  extend Increase::Internal::Type::Enum
7448
7451