increase 1.137.0 → 1.138.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: 13d5442b3ee325632fd376c6c280f339c2e3e33e3c9eb7aa377d3b5d5a55b5ec
4
- data.tar.gz: 925d795b19c13cd58f21fc0ddb3cfd44d866ee27a52c299152c06f72d6000722
3
+ metadata.gz: d81e222cf27a849b4803323e0d177201f18996f1090892467f2913bdc7ca6bc5
4
+ data.tar.gz: d77e6419d94d8c17448c4b4bae76cff0dbbb9f0c8c77d8574390fa4d9081d87f
5
5
  SHA512:
6
- metadata.gz: 90d24e0daffac4fdf426c41efd0aef0fdc369e90524971da0d1627e1548472bce765274386283861bd4a3c9d9fb5733136b2218958a8feeae08a7bce97da57bd
7
- data.tar.gz: b6ecaafc1bc8d6e60201949a360f7c40584b3f1f5474380745ef2cb5570bc7b5de9ff4d0f2a0a5d4bd99bf8315a8e85c74072b9a7b05f45a4ca6df33b557b565
6
+ metadata.gz: f83947d86e61d55cad216dd07a1e17f59a3bcf1f903f800335ce01c8719b61d5b19f406ae84c8324304a67c85c690892fcb98e1b1951fe59eb2664dd276b89ed
7
+ data.tar.gz: 359fb04f178520ae41393336b6104a5288db9b13cb22c08a9a77a7630c3beda7b3d200341aa6b47ca7741ff602526e3d17729ef8e959f12606313bedff5c93d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.138.0 (2025-11-07)
4
+
5
+ Full Changelog: [v1.137.0...v1.138.0](https://github.com/Increase/increase-ruby/compare/v1.137.0...v1.138.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([66a5d25](https://github.com/Increase/increase-ruby/commit/66a5d25821ad616a45401f2cddd0fac13b89b091))
10
+
3
11
  ## 1.137.0 (2025-11-07)
4
12
 
5
13
  Full Changelog: [v1.136.0...v1.137.0](https://github.com/Increase/increase-ruby/compare/v1.136.0...v1.137.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.137.0"
18
+ gem "increase", "~> 1.138.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -166,8 +166,9 @@ module Increase
166
166
 
167
167
  # @!attribute valid_until_date
168
168
  # If set, the check will be valid on or before this date. After this date, the
169
- # check transfer will be stopped and deposits will not be accepted. For checks
170
- # printed by Increase, this date is included on the check as its expiry.
169
+ # check transfer will be automatically stopped and deposits will not be accepted.
170
+ # For checks printed by Increase, this date is included on the check as its
171
+ # expiry.
171
172
  #
172
173
  # @return [Date, nil]
173
174
  required :valid_until_date, Date, nil?: true
@@ -852,6 +853,9 @@ module Increase
852
853
  # The check was not authorized.
853
854
  NOT_AUTHORIZED = :not_authorized
854
855
 
856
+ # The check was stopped for `valid_until_date` being in the past.
857
+ VALID_UNTIL_DATE_PASSED = :valid_until_date_passed
858
+
855
859
  # The check was stopped for another reason.
856
860
  UNKNOWN = :unknown
857
861
 
@@ -71,8 +71,9 @@ module Increase
71
71
 
72
72
  # @!attribute valid_until_date
73
73
  # If provided, the check will be valid on or before this date. After this date,
74
- # the check transfer will be stopped and deposits will not be accepted. For checks
75
- # printed by Increase, this date is included on the check as its expiry.
74
+ # the check transfer will be automatically stopped and deposits will not be
75
+ # accepted. For checks printed by Increase, this date is included on the check as
76
+ # its expiry.
76
77
  #
77
78
  # @return [Date, nil]
78
79
  optional :valid_until_date, Date
@@ -28,6 +28,9 @@ module Increase
28
28
  # The check was not authorized.
29
29
  NOT_AUTHORIZED = :not_authorized
30
30
 
31
+ # The check was stopped for `valid_until_date` being in the past.
32
+ VALID_UNTIL_DATE_PASSED = :valid_until_date_passed
33
+
31
34
  # The check was stopped for another reason.
32
35
  UNKNOWN = :unknown
33
36
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.137.0"
4
+ VERSION = "1.138.0"
5
5
  end
@@ -181,8 +181,9 @@ module Increase
181
181
  attr_accessor :type
182
182
 
183
183
  # If set, the check will be valid on or before this date. After this date, the
184
- # check transfer will be stopped and deposits will not be accepted. For checks
185
- # printed by Increase, this date is included on the check as its expiry.
184
+ # check transfer will be automatically stopped and deposits will not be accepted.
185
+ # For checks printed by Increase, this date is included on the check as its
186
+ # expiry.
186
187
  sig { returns(T.nilable(Date)) }
187
188
  attr_accessor :valid_until_date
188
189
 
@@ -288,8 +289,9 @@ module Increase
288
289
  # `check_transfer`.
289
290
  type:,
290
291
  # If set, the check will be valid on or before this date. After this date, the
291
- # check transfer will be stopped and deposits will not be accepted. For checks
292
- # printed by Increase, this date is included on the check as its expiry.
292
+ # check transfer will be automatically stopped and deposits will not be accepted.
293
+ # For checks printed by Increase, this date is included on the check as its
294
+ # expiry.
293
295
  valid_until_date:
294
296
  )
295
297
  end
@@ -1436,6 +1438,13 @@ module Increase
1436
1438
  Increase::CheckTransfer::StopPaymentRequest::Reason::TaggedSymbol
1437
1439
  )
1438
1440
 
1441
+ # The check was stopped for `valid_until_date` being in the past.
1442
+ VALID_UNTIL_DATE_PASSED =
1443
+ T.let(
1444
+ :valid_until_date_passed,
1445
+ Increase::CheckTransfer::StopPaymentRequest::Reason::TaggedSymbol
1446
+ )
1447
+
1439
1448
  # The check was stopped for another reason.
1440
1449
  UNKNOWN =
1441
1450
  T.let(
@@ -100,8 +100,9 @@ module Increase
100
100
  attr_writer :third_party
101
101
 
102
102
  # If provided, the check will be valid on or before this date. After this date,
103
- # the check transfer will be stopped and deposits will not be accepted. For checks
104
- # printed by Increase, this date is included on the check as its expiry.
103
+ # the check transfer will be automatically stopped and deposits will not be
104
+ # accepted. For checks printed by Increase, this date is included on the check as
105
+ # its expiry.
105
106
  sig { returns(T.nilable(Date)) }
106
107
  attr_reader :valid_until_date
107
108
 
@@ -154,8 +155,9 @@ module Increase
154
155
  # other `fulfillment_method` is provided.
155
156
  third_party: nil,
156
157
  # If provided, the check will be valid on or before this date. After this date,
157
- # the check transfer will be stopped and deposits will not be accepted. For checks
158
- # printed by Increase, this date is included on the check as its expiry.
158
+ # the check transfer will be automatically stopped and deposits will not be
159
+ # accepted. For checks printed by Increase, this date is included on the check as
160
+ # its expiry.
159
161
  valid_until_date: nil,
160
162
  request_options: {}
161
163
  )
@@ -77,6 +77,13 @@ module Increase
77
77
  Increase::CheckTransferStopPaymentParams::Reason::TaggedSymbol
78
78
  )
79
79
 
80
+ # The check was stopped for `valid_until_date` being in the past.
81
+ VALID_UNTIL_DATE_PASSED =
82
+ T.let(
83
+ :valid_until_date_passed,
84
+ Increase::CheckTransferStopPaymentParams::Reason::TaggedSymbol
85
+ )
86
+
80
87
  # The check was stopped for another reason.
81
88
  UNKNOWN =
82
89
  T.let(
@@ -50,8 +50,9 @@ module Increase
50
50
  # other `fulfillment_method` is provided.
51
51
  third_party: nil,
52
52
  # If provided, the check will be valid on or before this date. After this date,
53
- # the check transfer will be stopped and deposits will not be accepted. For checks
54
- # printed by Increase, this date is included on the check as its expiry.
53
+ # the check transfer will be automatically stopped and deposits will not be
54
+ # accepted. For checks printed by Increase, this date is included on the check as
55
+ # its expiry.
55
56
  valid_until_date: nil,
56
57
  request_options: {}
57
58
  )
@@ -609,6 +609,7 @@ module Increase
609
609
  :mail_delivery_failed
610
610
  | :rejected_by_increase
611
611
  | :not_authorized
612
+ | :valid_until_date_passed
612
613
  | :unknown
613
614
 
614
615
  module Reason
@@ -623,6 +624,9 @@ module Increase
623
624
  # The check was not authorized.
624
625
  NOT_AUTHORIZED: :not_authorized
625
626
 
627
+ # The check was stopped for `valid_until_date` being in the past.
628
+ VALID_UNTIL_DATE_PASSED: :valid_until_date_passed
629
+
626
630
  # The check was stopped for another reason.
627
631
  UNKNOWN: :unknown
628
632
 
@@ -24,7 +24,11 @@ module Increase
24
24
  request_options: Increase::RequestOptions
25
25
  }
26
26
 
27
- type reason = :mail_delivery_failed | :not_authorized | :unknown
27
+ type reason =
28
+ :mail_delivery_failed
29
+ | :not_authorized
30
+ | :valid_until_date_passed
31
+ | :unknown
28
32
 
29
33
  module Reason
30
34
  extend Increase::Internal::Type::Enum
@@ -35,6 +39,9 @@ module Increase
35
39
  # The check was not authorized.
36
40
  NOT_AUTHORIZED: :not_authorized
37
41
 
42
+ # The check was stopped for `valid_until_date` being in the past.
43
+ VALID_UNTIL_DATE_PASSED: :valid_until_date_passed
44
+
38
45
  # The check was stopped for another reason.
39
46
  UNKNOWN: :unknown
40
47
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.137.0
4
+ version: 1.138.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase