increase 1.131.0 → 1.132.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 +11 -1
- data/lib/increase/models/check_transfer_create_params.rb +11 -1
- data/lib/increase/resources/check_transfers.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/check_transfer.rbi +15 -3
- data/rbi/increase/models/check_transfer_create_params.rbi +15 -0
- data/rbi/increase/resources/check_transfers.rbi +5 -0
- data/sig/increase/models/check_transfer.rbs +8 -3
- data/sig/increase/models/check_transfer_create_params.rbs +8 -1
- data/sig/increase/resources/check_transfers.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd1e36726c3bf38c5343d2cc09d33c7edcfd8f3805c443b505d9062e24d02c91
|
|
4
|
+
data.tar.gz: 9bb00e7d1ae102ad2cca0e8bc0c5e3ea8281993360ac4f62a4ab477f29e10897
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86eed7a1542e6944b0baf4535ee7277b77940a9ad2640297c846f9b24b2a6293faba95ea798f5dd15b060dc6c649edd37f367c12e4ebf3df3e98d1538b0333d3
|
|
7
|
+
data.tar.gz: 5b694d81602223ac2008f40b11b768280d2ca3ea4dda211354efa9a9c06f8a8de40a677ec2422c677ded3af86f1e1c7b47ff9605084f59b65c551042ed4dfa43
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.132.0 (2025-11-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.131.0...v1.132.0](https://github.com/Increase/increase-ruby/compare/v1.131.0...v1.132.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([7953810](https://github.com/Increase/increase-ruby/commit/79538102e81f8ec4156a2c5af06b128741a71d9c))
|
|
10
|
+
|
|
3
11
|
## 1.131.0 (2025-11-05)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.130.0...v1.131.0](https://github.com/Increase/increase-ruby/compare/v1.130.0...v1.131.0)
|
data/README.md
CHANGED
|
@@ -164,7 +164,15 @@ module Increase
|
|
|
164
164
|
# @return [Symbol, Increase::Models::CheckTransfer::Type]
|
|
165
165
|
required :type, enum: -> { Increase::CheckTransfer::Type }
|
|
166
166
|
|
|
167
|
-
# @!
|
|
167
|
+
# @!attribute valid_until_date
|
|
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.
|
|
171
|
+
#
|
|
172
|
+
# @return [Date, nil]
|
|
173
|
+
required :valid_until_date, Date, nil?: true
|
|
174
|
+
|
|
175
|
+
# @!method initialize(id:, account_id:, account_number:, amount:, approval:, approved_inbound_check_deposit_id:, balance_check:, cancellation:, check_number:, created_at:, created_by:, currency:, fulfillment_method:, idempotency_key:, mailing:, pending_transaction_id:, physical_check:, routing_number:, source_account_number_id:, status:, stop_payment_request:, submission:, third_party:, type:, valid_until_date:)
|
|
168
176
|
# Some parameter documentations has been truncated, see
|
|
169
177
|
# {Increase::Models::CheckTransfer} for more details.
|
|
170
178
|
#
|
|
@@ -218,6 +226,8 @@ module Increase
|
|
|
218
226
|
# @param third_party [Increase::Models::CheckTransfer::ThirdParty, nil] Details relating to the custom fulfillment you will perform. Will be present if
|
|
219
227
|
#
|
|
220
228
|
# @param type [Symbol, Increase::Models::CheckTransfer::Type] A constant representing the object's type. For this resource it will always be `
|
|
229
|
+
#
|
|
230
|
+
# @param valid_until_date [Date, nil] If set, the check will be valid on or before this date. After this date, the che
|
|
221
231
|
|
|
222
232
|
# @see Increase::Models::CheckTransfer#approval
|
|
223
233
|
class Approval < Increase::Internal::Type::BaseModel
|
|
@@ -69,7 +69,15 @@ module Increase
|
|
|
69
69
|
# @return [Increase::Models::CheckTransferCreateParams::ThirdParty, nil]
|
|
70
70
|
optional :third_party, -> { Increase::CheckTransferCreateParams::ThirdParty }
|
|
71
71
|
|
|
72
|
-
# @!
|
|
72
|
+
# @!attribute valid_until_date
|
|
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.
|
|
76
|
+
#
|
|
77
|
+
# @return [Date, nil]
|
|
78
|
+
optional :valid_until_date, Date
|
|
79
|
+
|
|
80
|
+
# @!method initialize(account_id:, amount:, fulfillment_method:, source_account_number_id:, balance_check: nil, check_number: nil, physical_check: nil, require_approval: nil, third_party: nil, valid_until_date: nil, request_options: {})
|
|
73
81
|
# Some parameter documentations has been truncated, see
|
|
74
82
|
# {Increase::Models::CheckTransferCreateParams} for more details.
|
|
75
83
|
#
|
|
@@ -91,6 +99,8 @@ module Increase
|
|
|
91
99
|
#
|
|
92
100
|
# @param third_party [Increase::Models::CheckTransferCreateParams::ThirdParty] Details relating to the custom fulfillment you will perform. This is required if
|
|
93
101
|
#
|
|
102
|
+
# @param valid_until_date [Date] If provided, the check will be valid on or before this date. After this date, th
|
|
103
|
+
#
|
|
94
104
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
95
105
|
|
|
96
106
|
# Whether Increase will print and mail the check or if you will do it yourself.
|
|
@@ -8,7 +8,7 @@ module Increase
|
|
|
8
8
|
#
|
|
9
9
|
# Create a Check Transfer
|
|
10
10
|
#
|
|
11
|
-
# @overload create(account_id:, amount:, fulfillment_method:, source_account_number_id:, balance_check: nil, check_number: nil, physical_check: nil, require_approval: nil, third_party: nil, request_options: {})
|
|
11
|
+
# @overload create(account_id:, amount:, fulfillment_method:, source_account_number_id:, balance_check: nil, check_number: nil, physical_check: nil, require_approval: nil, third_party: nil, valid_until_date: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param account_id [String] The identifier for the account that will send the transfer.
|
|
14
14
|
#
|
|
@@ -28,6 +28,8 @@ module Increase
|
|
|
28
28
|
#
|
|
29
29
|
# @param third_party [Increase::Models::CheckTransferCreateParams::ThirdParty] Details relating to the custom fulfillment you will perform. This is required if
|
|
30
30
|
#
|
|
31
|
+
# @param valid_until_date [Date] If provided, the check will be valid on or before this date. After this date, th
|
|
32
|
+
#
|
|
31
33
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
32
34
|
#
|
|
33
35
|
# @return [Increase::Models::CheckTransfer]
|
data/lib/increase/version.rb
CHANGED
|
@@ -180,6 +180,12 @@ module Increase
|
|
|
180
180
|
sig { returns(Increase::CheckTransfer::Type::TaggedSymbol) }
|
|
181
181
|
attr_accessor :type
|
|
182
182
|
|
|
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.
|
|
186
|
+
sig { returns(T.nilable(Date)) }
|
|
187
|
+
attr_accessor :valid_until_date
|
|
188
|
+
|
|
183
189
|
# Check Transfers move funds from your Increase account by mailing a physical
|
|
184
190
|
# check.
|
|
185
191
|
sig do
|
|
@@ -212,7 +218,8 @@ module Increase
|
|
|
212
218
|
T.nilable(Increase::CheckTransfer::StopPaymentRequest::OrHash),
|
|
213
219
|
submission: T.nilable(Increase::CheckTransfer::Submission::OrHash),
|
|
214
220
|
third_party: T.nilable(Increase::CheckTransfer::ThirdParty::OrHash),
|
|
215
|
-
type: Increase::CheckTransfer::Type::OrSymbol
|
|
221
|
+
type: Increase::CheckTransfer::Type::OrSymbol,
|
|
222
|
+
valid_until_date: T.nilable(Date)
|
|
216
223
|
).returns(T.attached_class)
|
|
217
224
|
end
|
|
218
225
|
def self.new(
|
|
@@ -279,7 +286,11 @@ module Increase
|
|
|
279
286
|
third_party:,
|
|
280
287
|
# A constant representing the object's type. For this resource it will always be
|
|
281
288
|
# `check_transfer`.
|
|
282
|
-
type
|
|
289
|
+
type:,
|
|
290
|
+
# 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.
|
|
293
|
+
valid_until_date:
|
|
283
294
|
)
|
|
284
295
|
end
|
|
285
296
|
|
|
@@ -312,7 +323,8 @@ module Increase
|
|
|
312
323
|
T.nilable(Increase::CheckTransfer::StopPaymentRequest),
|
|
313
324
|
submission: T.nilable(Increase::CheckTransfer::Submission),
|
|
314
325
|
third_party: T.nilable(Increase::CheckTransfer::ThirdParty),
|
|
315
|
-
type: Increase::CheckTransfer::Type::TaggedSymbol
|
|
326
|
+
type: Increase::CheckTransfer::Type::TaggedSymbol,
|
|
327
|
+
valid_until_date: T.nilable(Date)
|
|
316
328
|
}
|
|
317
329
|
)
|
|
318
330
|
end
|
|
@@ -99,6 +99,15 @@ module Increase
|
|
|
99
99
|
end
|
|
100
100
|
attr_writer :third_party
|
|
101
101
|
|
|
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.
|
|
105
|
+
sig { returns(T.nilable(Date)) }
|
|
106
|
+
attr_reader :valid_until_date
|
|
107
|
+
|
|
108
|
+
sig { params(valid_until_date: Date).void }
|
|
109
|
+
attr_writer :valid_until_date
|
|
110
|
+
|
|
102
111
|
sig do
|
|
103
112
|
params(
|
|
104
113
|
account_id: String,
|
|
@@ -113,6 +122,7 @@ module Increase
|
|
|
113
122
|
Increase::CheckTransferCreateParams::PhysicalCheck::OrHash,
|
|
114
123
|
require_approval: T::Boolean,
|
|
115
124
|
third_party: Increase::CheckTransferCreateParams::ThirdParty::OrHash,
|
|
125
|
+
valid_until_date: Date,
|
|
116
126
|
request_options: Increase::RequestOptions::OrHash
|
|
117
127
|
).returns(T.attached_class)
|
|
118
128
|
end
|
|
@@ -143,6 +153,10 @@ module Increase
|
|
|
143
153
|
# `fulfillment_method` is equal to `third_party`. It must not be included if any
|
|
144
154
|
# other `fulfillment_method` is provided.
|
|
145
155
|
third_party: nil,
|
|
156
|
+
# 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.
|
|
159
|
+
valid_until_date: nil,
|
|
146
160
|
request_options: {}
|
|
147
161
|
)
|
|
148
162
|
end
|
|
@@ -161,6 +175,7 @@ module Increase
|
|
|
161
175
|
physical_check: Increase::CheckTransferCreateParams::PhysicalCheck,
|
|
162
176
|
require_approval: T::Boolean,
|
|
163
177
|
third_party: Increase::CheckTransferCreateParams::ThirdParty,
|
|
178
|
+
valid_until_date: Date,
|
|
164
179
|
request_options: Increase::RequestOptions
|
|
165
180
|
}
|
|
166
181
|
)
|
|
@@ -18,6 +18,7 @@ module Increase
|
|
|
18
18
|
Increase::CheckTransferCreateParams::PhysicalCheck::OrHash,
|
|
19
19
|
require_approval: T::Boolean,
|
|
20
20
|
third_party: Increase::CheckTransferCreateParams::ThirdParty::OrHash,
|
|
21
|
+
valid_until_date: Date,
|
|
21
22
|
request_options: Increase::RequestOptions::OrHash
|
|
22
23
|
).returns(Increase::CheckTransfer)
|
|
23
24
|
end
|
|
@@ -48,6 +49,10 @@ module Increase
|
|
|
48
49
|
# `fulfillment_method` is equal to `third_party`. It must not be included if any
|
|
49
50
|
# other `fulfillment_method` is provided.
|
|
50
51
|
third_party: nil,
|
|
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.
|
|
55
|
+
valid_until_date: nil,
|
|
51
56
|
request_options: {}
|
|
52
57
|
)
|
|
53
58
|
end
|
|
@@ -25,7 +25,8 @@ module Increase
|
|
|
25
25
|
stop_payment_request: Increase::CheckTransfer::StopPaymentRequest?,
|
|
26
26
|
submission: Increase::CheckTransfer::Submission?,
|
|
27
27
|
third_party: Increase::CheckTransfer::ThirdParty?,
|
|
28
|
-
type: Increase::Models::CheckTransfer::type_
|
|
28
|
+
type: Increase::Models::CheckTransfer::type_,
|
|
29
|
+
valid_until_date: Date?
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
class CheckTransfer < Increase::Internal::Type::BaseModel
|
|
@@ -77,6 +78,8 @@ module Increase
|
|
|
77
78
|
|
|
78
79
|
attr_accessor type: Increase::Models::CheckTransfer::type_
|
|
79
80
|
|
|
81
|
+
attr_accessor valid_until_date: Date?
|
|
82
|
+
|
|
80
83
|
def initialize: (
|
|
81
84
|
id: String,
|
|
82
85
|
account_id: String,
|
|
@@ -101,7 +104,8 @@ module Increase
|
|
|
101
104
|
stop_payment_request: Increase::CheckTransfer::StopPaymentRequest?,
|
|
102
105
|
submission: Increase::CheckTransfer::Submission?,
|
|
103
106
|
third_party: Increase::CheckTransfer::ThirdParty?,
|
|
104
|
-
type: Increase::Models::CheckTransfer::type_
|
|
107
|
+
type: Increase::Models::CheckTransfer::type_,
|
|
108
|
+
valid_until_date: Date?
|
|
105
109
|
) -> void
|
|
106
110
|
|
|
107
111
|
def to_hash: -> {
|
|
@@ -128,7 +132,8 @@ module Increase
|
|
|
128
132
|
stop_payment_request: Increase::CheckTransfer::StopPaymentRequest?,
|
|
129
133
|
submission: Increase::CheckTransfer::Submission?,
|
|
130
134
|
third_party: Increase::CheckTransfer::ThirdParty?,
|
|
131
|
-
type: Increase::Models::CheckTransfer::type_
|
|
135
|
+
type: Increase::Models::CheckTransfer::type_,
|
|
136
|
+
valid_until_date: Date?
|
|
132
137
|
}
|
|
133
138
|
|
|
134
139
|
type approval = { approved_at: Time, approved_by: String? }
|
|
@@ -10,7 +10,8 @@ module Increase
|
|
|
10
10
|
check_number: String,
|
|
11
11
|
physical_check: Increase::CheckTransferCreateParams::PhysicalCheck,
|
|
12
12
|
require_approval: bool,
|
|
13
|
-
third_party: Increase::CheckTransferCreateParams::ThirdParty
|
|
13
|
+
third_party: Increase::CheckTransferCreateParams::ThirdParty,
|
|
14
|
+
valid_until_date: Date
|
|
14
15
|
}
|
|
15
16
|
& Increase::Internal::Type::request_parameters
|
|
16
17
|
|
|
@@ -52,6 +53,10 @@ module Increase
|
|
|
52
53
|
Increase::CheckTransferCreateParams::ThirdParty
|
|
53
54
|
) -> Increase::CheckTransferCreateParams::ThirdParty
|
|
54
55
|
|
|
56
|
+
attr_reader valid_until_date: Date?
|
|
57
|
+
|
|
58
|
+
def valid_until_date=: (Date) -> Date
|
|
59
|
+
|
|
55
60
|
def initialize: (
|
|
56
61
|
account_id: String,
|
|
57
62
|
amount: Integer,
|
|
@@ -62,6 +67,7 @@ module Increase
|
|
|
62
67
|
?physical_check: Increase::CheckTransferCreateParams::PhysicalCheck,
|
|
63
68
|
?require_approval: bool,
|
|
64
69
|
?third_party: Increase::CheckTransferCreateParams::ThirdParty,
|
|
70
|
+
?valid_until_date: Date,
|
|
65
71
|
?request_options: Increase::request_opts
|
|
66
72
|
) -> void
|
|
67
73
|
|
|
@@ -75,6 +81,7 @@ module Increase
|
|
|
75
81
|
physical_check: Increase::CheckTransferCreateParams::PhysicalCheck,
|
|
76
82
|
require_approval: bool,
|
|
77
83
|
third_party: Increase::CheckTransferCreateParams::ThirdParty,
|
|
84
|
+
valid_until_date: Date,
|
|
78
85
|
request_options: Increase::RequestOptions
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -11,6 +11,7 @@ module Increase
|
|
|
11
11
|
?physical_check: Increase::CheckTransferCreateParams::PhysicalCheck,
|
|
12
12
|
?require_approval: bool,
|
|
13
13
|
?third_party: Increase::CheckTransferCreateParams::ThirdParty,
|
|
14
|
+
?valid_until_date: Date,
|
|
14
15
|
?request_options: Increase::request_opts
|
|
15
16
|
) -> Increase::CheckTransfer
|
|
16
17
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.132.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|