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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/increase/models/check_transfer.rb +6 -2
- data/lib/increase/models/check_transfer_create_params.rb +3 -2
- data/lib/increase/models/check_transfer_stop_payment_params.rb +3 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/check_transfer.rbi +13 -4
- data/rbi/increase/models/check_transfer_create_params.rbi +6 -4
- data/rbi/increase/models/check_transfer_stop_payment_params.rbi +7 -0
- data/rbi/increase/resources/check_transfers.rbi +3 -2
- data/sig/increase/models/check_transfer.rbs +4 -0
- data/sig/increase/models/check_transfer_stop_payment_params.rbs +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d81e222cf27a849b4803323e0d177201f18996f1090892467f2913bdc7ca6bc5
|
|
4
|
+
data.tar.gz: d77e6419d94d8c17448c4b4bae76cff0dbbb9f0c8c77d8574390fa4d9081d87f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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.
|
|
170
|
-
# printed by Increase, this date is included on the check as its
|
|
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
|
|
75
|
-
# printed by Increase, this date is included on the check as
|
|
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
|
|
data/lib/increase/version.rb
CHANGED
|
@@ -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.
|
|
185
|
-
# printed by Increase, this date is included on the check as its
|
|
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.
|
|
292
|
-
# printed by Increase, this date is included on the check as its
|
|
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
|
|
104
|
-
# printed by Increase, this date is included on the check as
|
|
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
|
|
158
|
-
# printed by Increase, this date is included on the check as
|
|
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
|
|
54
|
-
# printed by Increase, this date is included on the check as
|
|
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 =
|
|
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
|
|