increase 1.215.0 → 1.217.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 247846caa3e6a4f1d184649f92accddc5a629f0349885a0f354fdf93c6631591
4
- data.tar.gz: cde93c7bf44c3cae880ffa690894bb8f124ee73c10a9ae84cb1d42e21e7fde73
3
+ metadata.gz: 26a77a23dc8c764bfa79aaa005456d2cffbcdc060e06c2a173633f60c786dfcc
4
+ data.tar.gz: 44b3637ec3aa79d2c92425d060e29b504447e13c37ce53856fde6519d910c582
5
5
  SHA512:
6
- metadata.gz: 01a33b428e929cf555f2516810bdc00bd317f58c97cc9c4b9e58ba01dff5145f4b529d26f9ac2db501de31061291cc5e44132a37edcce5b8e414aa0de2db99b0
7
- data.tar.gz: 54b5c3409378eda5b0d88ec1158a76fce0d071b5cb8519e1362c651aabdd81e2efe1063584ce909ec7d07170b9facf242d7f46c5a6df41c75a8af76e8a9593fe
6
+ metadata.gz: 367227a99e017c597f780711ff82345674734e5bbe07654c976bfc59fd0198148339c004ba9937b34c60f1194f6166c2a589f30db1062366a65a4c9f35888a11
7
+ data.tar.gz: 57988c078c09701afeb9a42f75872afc0ece49731cd38a9cae16ddfcd6cda8b19ee98e332015a9ddc7d5b1c1b3b8a162a40abf6419d68ae5c5a8f63bb92aefc3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.217.0 (2026-03-02)
4
+
5
+ Full Changelog: [v1.216.0...v1.217.0](https://github.com/Increase/increase-ruby/compare/v1.216.0...v1.217.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([e890f47](https://github.com/Increase/increase-ruby/commit/e890f473afbe526a119d61b8a356177ca5bf4d95))
10
+
11
+ ## 1.216.0 (2026-03-02)
12
+
13
+ Full Changelog: [v1.215.0...v1.216.0](https://github.com/Increase/increase-ruby/compare/v1.215.0...v1.216.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([6e07329](https://github.com/Increase/increase-ruby/commit/6e073299615730545a7cf68c349c07bcd2b5d14c))
18
+ * **api:** api update ([af7d90d](https://github.com/Increase/increase-ruby/commit/af7d90d0ece4450d98ac47c5201b50f138e5f185))
19
+ * **api:** api update ([e399c4f](https://github.com/Increase/increase-ruby/commit/e399c4fa6c32afa40a5270da4105f63b7f45f9de))
20
+
3
21
  ## 1.215.0 (2026-03-02)
4
22
 
5
23
  Full Changelog: [v1.214.1...v1.215.0](https://github.com/Increase/increase-ruby/compare/v1.214.1...v1.215.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.215.0"
18
+ gem "increase", "~> 1.217.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -42,6 +42,14 @@ module Increase
42
42
  # @return [Increase::Models::CheckDeposit::DepositAcceptance, nil]
43
43
  required :deposit_acceptance, -> { Increase::CheckDeposit::DepositAcceptance }, nil?: true
44
44
 
45
+ # @!attribute deposit_adjustments
46
+ # If the deposit or the return was adjusted by the receiving institution, this
47
+ # will contain details of the adjustments.
48
+ #
49
+ # @return [Array<Increase::Models::CheckDeposit::DepositAdjustment>]
50
+ required :deposit_adjustments,
51
+ -> { Increase::Internal::Type::ArrayOf[Increase::CheckDeposit::DepositAdjustment] }
52
+
45
53
  # @!attribute deposit_rejection
46
54
  # If your deposit is rejected by Increase, this will contain details as to why it
47
55
  # was rejected.
@@ -123,7 +131,7 @@ module Increase
123
131
  # @return [Symbol, Increase::Models::CheckDeposit::Type]
124
132
  required :type, enum: -> { Increase::CheckDeposit::Type }
125
133
 
126
- # @!method initialize(id:, account_id:, amount:, back_image_file_id:, created_at:, deposit_acceptance:, deposit_rejection:, deposit_return:, deposit_submission:, description:, front_image_file_id:, idempotency_key:, inbound_funds_hold:, inbound_mail_item_id:, lockbox_id:, status:, transaction_id:, type:)
134
+ # @!method initialize(id:, account_id:, amount:, back_image_file_id:, created_at:, deposit_acceptance:, deposit_adjustments:, deposit_rejection:, deposit_return:, deposit_submission:, description:, front_image_file_id:, idempotency_key:, inbound_funds_hold:, inbound_mail_item_id:, lockbox_id:, status:, transaction_id:, type:)
127
135
  # Some parameter documentations has been truncated, see
128
136
  # {Increase::Models::CheckDeposit} for more details.
129
137
  #
@@ -141,6 +149,8 @@ module Increase
141
149
  #
142
150
  # @param deposit_acceptance [Increase::Models::CheckDeposit::DepositAcceptance, nil] Once your deposit is successfully parsed and accepted by Increase, this will con
143
151
  #
152
+ # @param deposit_adjustments [Array<Increase::Models::CheckDeposit::DepositAdjustment>] If the deposit or the return was adjusted by the receiving institution, this wil
153
+ #
144
154
  # @param deposit_rejection [Increase::Models::CheckDeposit::DepositRejection, nil] If your deposit is rejected by Increase, this will contain details as to why it
145
155
  #
146
156
  # @param deposit_return [Increase::Models::CheckDeposit::DepositReturn, nil] If your deposit is returned, this will contain details as to why it was returned
@@ -251,6 +261,66 @@ module Increase
251
261
  end
252
262
  end
253
263
 
264
+ class DepositAdjustment < Increase::Internal::Type::BaseModel
265
+ # @!attribute adjusted_at
266
+ # The time at which the adjustment was received.
267
+ #
268
+ # @return [Time]
269
+ required :adjusted_at, Time
270
+
271
+ # @!attribute amount
272
+ # The amount of the adjustment.
273
+ #
274
+ # @return [Integer]
275
+ required :amount, Integer
276
+
277
+ # @!attribute reason
278
+ # The reason for the adjustment.
279
+ #
280
+ # @return [Symbol, Increase::Models::CheckDeposit::DepositAdjustment::Reason]
281
+ required :reason, enum: -> { Increase::CheckDeposit::DepositAdjustment::Reason }
282
+
283
+ # @!attribute transaction_id
284
+ # The id of the transaction for the adjustment.
285
+ #
286
+ # @return [String]
287
+ required :transaction_id, String
288
+
289
+ # @!method initialize(adjusted_at:, amount:, reason:, transaction_id:)
290
+ # @param adjusted_at [Time] The time at which the adjustment was received.
291
+ #
292
+ # @param amount [Integer] The amount of the adjustment.
293
+ #
294
+ # @param reason [Symbol, Increase::Models::CheckDeposit::DepositAdjustment::Reason] The reason for the adjustment.
295
+ #
296
+ # @param transaction_id [String] The id of the transaction for the adjustment.
297
+
298
+ # The reason for the adjustment.
299
+ #
300
+ # @see Increase::Models::CheckDeposit::DepositAdjustment#reason
301
+ module Reason
302
+ extend Increase::Internal::Type::Enum
303
+
304
+ # The return was initiated too late and the receiving institution has responded with a Late Return Claim.
305
+ LATE_RETURN = :late_return
306
+
307
+ # The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
308
+ WRONG_PAYEE_CREDIT = :wrong_payee_credit
309
+
310
+ # The check was deposited with a different amount than what was written on the check.
311
+ ADJUSTED_AMOUNT = :adjusted_amount
312
+
313
+ # The recipient was not able to process the check. This usually happens for e.g., low quality images.
314
+ NON_CONFORMING_ITEM = :non_conforming_item
315
+
316
+ # The check has already been deposited elsewhere and so this is a duplicate.
317
+ PAID = :paid
318
+
319
+ # @!method self.values
320
+ # @return [Array<Symbol>]
321
+ end
322
+ end
323
+
254
324
  # @see Increase::Models::CheckDeposit#deposit_rejection
255
325
  class DepositRejection < Increase::Internal::Type::BaseModel
256
326
  # @!attribute amount