increase 1.138.0 → 1.140.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/check_transfer.rb +2 -5
- data/lib/increase/models/check_transfer_list_params.rb +2 -5
- data/lib/increase/models/inbound_mail_item_action_params.rb +61 -0
- data/lib/increase/models/lockbox.rb +3 -0
- data/lib/increase/models/lockbox_update_params.rb +3 -0
- data/lib/increase/models.rb +2 -0
- data/lib/increase/resources/inbound_mail_items.rb +24 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/rbi/increase/models/check_transfer.rbi +3 -10
- data/rbi/increase/models/check_transfer_list_params.rbi +3 -10
- data/rbi/increase/models/inbound_mail_item_action_params.rbi +139 -0
- data/rbi/increase/models/lockbox.rbi +7 -0
- data/rbi/increase/models/lockbox_update_params.rbi +7 -0
- data/rbi/increase/models.rbi +2 -0
- data/rbi/increase/resources/inbound_mail_items.rbi +18 -0
- data/sig/increase/models/check_transfer.rbs +3 -7
- data/sig/increase/models/check_transfer_list_params.rbs +3 -7
- data/sig/increase/models/inbound_mail_item_action_params.rbs +62 -0
- data/sig/increase/models/lockbox.rbs +4 -1
- data/sig/increase/models/lockbox_update_params.rbs +4 -1
- data/sig/increase/models.rbs +2 -0
- data/sig/increase/resources/inbound_mail_items.rbs +6 -0
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e755a0881b738341982dc434e6ac9efb9f059b216d5548ddd9e27469a203eb3
|
|
4
|
+
data.tar.gz: d10900bb08ebffaf19e964673d00a200e09673b59844a6172dc7572659fec125
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d54faf7b49c19cc898c637e8f094b6b00c2c5f208dcbd70fe2a5a1d77276887ff2f9bd3aaa772bddc2b543a178b68eb810a501489ae4e36414813cc5e42e2621
|
|
7
|
+
data.tar.gz: a18eb11df8254b186e2b33d93d1e477a34c05c67e6566492e15122f95c1e4bfc8696f26d29d09fa113e1bbf8468975275b44b2d97d636d240b01fc6bde3492aa
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.140.0 (2025-11-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.139.0...v1.140.0](https://github.com/Increase/increase-ruby/compare/v1.139.0...v1.140.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([ec8f079](https://github.com/Increase/increase-ruby/commit/ec8f0799545f42cf6c1ab2281669744f469514a8))
|
|
10
|
+
|
|
11
|
+
## 1.139.0 (2025-11-10)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.138.0...v1.139.0](https://github.com/Increase/increase-ruby/compare/v1.138.0...v1.139.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([4787a07](https://github.com/Increase/increase-ruby/commit/4787a07c3d59be5640c26ec61b7617ed2b13f2d4))
|
|
18
|
+
|
|
3
19
|
## 1.138.0 (2025-11-07)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.137.0...v1.138.0](https://github.com/Increase/increase-ruby/compare/v1.137.0...v1.138.0)
|
data/README.md
CHANGED
|
@@ -765,8 +765,8 @@ module Increase
|
|
|
765
765
|
# The transfer has been canceled.
|
|
766
766
|
CANCELED = :canceled
|
|
767
767
|
|
|
768
|
-
# The transfer is pending
|
|
769
|
-
|
|
768
|
+
# The transfer is pending submission.
|
|
769
|
+
PENDING_SUBMISSION = :pending_submission
|
|
770
770
|
|
|
771
771
|
# The transfer requires attention from an Increase operator.
|
|
772
772
|
REQUIRES_ATTENTION = :requires_attention
|
|
@@ -774,9 +774,6 @@ module Increase
|
|
|
774
774
|
# The transfer has been rejected.
|
|
775
775
|
REJECTED = :rejected
|
|
776
776
|
|
|
777
|
-
# The transfer is pending submission.
|
|
778
|
-
PENDING_SUBMISSION = :pending_submission
|
|
779
|
-
|
|
780
777
|
# The check is queued for mailing.
|
|
781
778
|
PENDING_MAILING = :pending_mailing
|
|
782
779
|
|
|
@@ -133,8 +133,8 @@ module Increase
|
|
|
133
133
|
# The transfer has been canceled.
|
|
134
134
|
CANCELED = :canceled
|
|
135
135
|
|
|
136
|
-
# The transfer is pending
|
|
137
|
-
|
|
136
|
+
# The transfer is pending submission.
|
|
137
|
+
PENDING_SUBMISSION = :pending_submission
|
|
138
138
|
|
|
139
139
|
# The transfer requires attention from an Increase operator.
|
|
140
140
|
REQUIRES_ATTENTION = :requires_attention
|
|
@@ -142,9 +142,6 @@ module Increase
|
|
|
142
142
|
# The transfer has been rejected.
|
|
143
143
|
REJECTED = :rejected
|
|
144
144
|
|
|
145
|
-
# The transfer is pending submission.
|
|
146
|
-
PENDING_SUBMISSION = :pending_submission
|
|
147
|
-
|
|
148
145
|
# The check is queued for mailing.
|
|
149
146
|
PENDING_MAILING = :pending_mailing
|
|
150
147
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::InboundMailItems#action
|
|
6
|
+
class InboundMailItemActionParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute checks
|
|
11
|
+
# The actions to perform on the Inbound Mail Item.
|
|
12
|
+
#
|
|
13
|
+
# @return [Array<Increase::Models::InboundMailItemActionParams::Check>]
|
|
14
|
+
required :checks, -> { Increase::Internal::Type::ArrayOf[Increase::InboundMailItemActionParams::Check] }
|
|
15
|
+
|
|
16
|
+
# @!method initialize(checks:, request_options: {})
|
|
17
|
+
# @param checks [Array<Increase::Models::InboundMailItemActionParams::Check>] The actions to perform on the Inbound Mail Item.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
|
|
21
|
+
class Check < Increase::Internal::Type::BaseModel
|
|
22
|
+
# @!attribute action
|
|
23
|
+
# The action to perform on the Inbound Mail Item.
|
|
24
|
+
#
|
|
25
|
+
# @return [Symbol, Increase::Models::InboundMailItemActionParams::Check::Action]
|
|
26
|
+
required :action, enum: -> { Increase::InboundMailItemActionParams::Check::Action }
|
|
27
|
+
|
|
28
|
+
# @!attribute account
|
|
29
|
+
# The identifier of the Account to deposit the check into. If not provided, the
|
|
30
|
+
# check will be deposited into the Account associated with the Lockbox.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :account, String
|
|
34
|
+
|
|
35
|
+
# @!method initialize(action:, account: nil)
|
|
36
|
+
# Some parameter documentations has been truncated, see
|
|
37
|
+
# {Increase::Models::InboundMailItemActionParams::Check} for more details.
|
|
38
|
+
#
|
|
39
|
+
# @param action [Symbol, Increase::Models::InboundMailItemActionParams::Check::Action] The action to perform on the Inbound Mail Item.
|
|
40
|
+
#
|
|
41
|
+
# @param account [String] The identifier of the Account to deposit the check into. If not provided, the ch
|
|
42
|
+
|
|
43
|
+
# The action to perform on the Inbound Mail Item.
|
|
44
|
+
#
|
|
45
|
+
# @see Increase::Models::InboundMailItemActionParams::Check#action
|
|
46
|
+
module Action
|
|
47
|
+
extend Increase::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
# The check will be deposited.
|
|
50
|
+
DEPOSIT = :deposit
|
|
51
|
+
|
|
52
|
+
# The check will be ignored.
|
|
53
|
+
IGNORE = :ignore
|
|
54
|
+
|
|
55
|
+
# @!method self.values
|
|
56
|
+
# @return [Array<Symbol>]
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -161,6 +161,9 @@ module Increase
|
|
|
161
161
|
# Checks mailed to this Lockbox will not be deposited.
|
|
162
162
|
DISABLED = :disabled
|
|
163
163
|
|
|
164
|
+
# Checks mailed to this Lockbox will be pending until actioned.
|
|
165
|
+
PEND_FOR_PROCESSING = :pend_for_processing
|
|
166
|
+
|
|
164
167
|
# @!method self.values
|
|
165
168
|
# @return [Array<Symbol>]
|
|
166
169
|
end
|
|
@@ -44,6 +44,9 @@ module Increase
|
|
|
44
44
|
# Checks mailed to this Lockbox will not be deposited.
|
|
45
45
|
DISABLED = :disabled
|
|
46
46
|
|
|
47
|
+
# Checks mailed to this Lockbox will be pending until actioned.
|
|
48
|
+
PEND_FOR_PROCESSING = :pend_for_processing
|
|
49
|
+
|
|
47
50
|
# @!method self.values
|
|
48
51
|
# @return [Array<Symbol>]
|
|
49
52
|
end
|
data/lib/increase/models.rb
CHANGED
|
@@ -376,6 +376,8 @@ module Increase
|
|
|
376
376
|
|
|
377
377
|
InboundMailItem = Increase::Models::InboundMailItem
|
|
378
378
|
|
|
379
|
+
InboundMailItemActionParams = Increase::Models::InboundMailItemActionParams
|
|
380
|
+
|
|
379
381
|
InboundMailItemListParams = Increase::Models::InboundMailItemListParams
|
|
380
382
|
|
|
381
383
|
InboundMailItemRetrieveParams = Increase::Models::InboundMailItemRetrieveParams
|
|
@@ -55,6 +55,30 @@ module Increase
|
|
|
55
55
|
)
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
+
# Action a Inbound Mail Item
|
|
59
|
+
#
|
|
60
|
+
# @overload action(inbound_mail_item_id, checks:, request_options: {})
|
|
61
|
+
#
|
|
62
|
+
# @param inbound_mail_item_id [String] The identifier of the Inbound Mail Item to action.
|
|
63
|
+
#
|
|
64
|
+
# @param checks [Array<Increase::Models::InboundMailItemActionParams::Check>] The actions to perform on the Inbound Mail Item.
|
|
65
|
+
#
|
|
66
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
67
|
+
#
|
|
68
|
+
# @return [Increase::Models::InboundMailItem]
|
|
69
|
+
#
|
|
70
|
+
# @see Increase::Models::InboundMailItemActionParams
|
|
71
|
+
def action(inbound_mail_item_id, params)
|
|
72
|
+
parsed, options = Increase::InboundMailItemActionParams.dump_request(params)
|
|
73
|
+
@client.request(
|
|
74
|
+
method: :post,
|
|
75
|
+
path: ["inbound_mail_items/%1$s/action", inbound_mail_item_id],
|
|
76
|
+
body: parsed,
|
|
77
|
+
model: Increase::InboundMailItem,
|
|
78
|
+
options: options
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
58
82
|
# @api private
|
|
59
83
|
#
|
|
60
84
|
# @param client [Increase::Client]
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -220,6 +220,7 @@ require_relative "increase/models/inbound_fednow_transfer"
|
|
|
220
220
|
require_relative "increase/models/inbound_fednow_transfer_list_params"
|
|
221
221
|
require_relative "increase/models/inbound_fednow_transfer_retrieve_params"
|
|
222
222
|
require_relative "increase/models/inbound_mail_item"
|
|
223
|
+
require_relative "increase/models/inbound_mail_item_action_params"
|
|
223
224
|
require_relative "increase/models/inbound_mail_item_list_params"
|
|
224
225
|
require_relative "increase/models/inbound_mail_item_retrieve_params"
|
|
225
226
|
require_relative "increase/models/inbound_real_time_payments_transfer"
|
|
@@ -1282,10 +1282,10 @@ module Increase
|
|
|
1282
1282
|
CANCELED =
|
|
1283
1283
|
T.let(:canceled, Increase::CheckTransfer::Status::TaggedSymbol)
|
|
1284
1284
|
|
|
1285
|
-
# The transfer is pending
|
|
1286
|
-
|
|
1285
|
+
# The transfer is pending submission.
|
|
1286
|
+
PENDING_SUBMISSION =
|
|
1287
1287
|
T.let(
|
|
1288
|
-
:
|
|
1288
|
+
:pending_submission,
|
|
1289
1289
|
Increase::CheckTransfer::Status::TaggedSymbol
|
|
1290
1290
|
)
|
|
1291
1291
|
|
|
@@ -1300,13 +1300,6 @@ module Increase
|
|
|
1300
1300
|
REJECTED =
|
|
1301
1301
|
T.let(:rejected, Increase::CheckTransfer::Status::TaggedSymbol)
|
|
1302
1302
|
|
|
1303
|
-
# The transfer is pending submission.
|
|
1304
|
-
PENDING_SUBMISSION =
|
|
1305
|
-
T.let(
|
|
1306
|
-
:pending_submission,
|
|
1307
|
-
Increase::CheckTransfer::Status::TaggedSymbol
|
|
1308
|
-
)
|
|
1309
|
-
|
|
1310
1303
|
# The check is queued for mailing.
|
|
1311
1304
|
PENDING_MAILING =
|
|
1312
1305
|
T.let(:pending_mailing, Increase::CheckTransfer::Status::TaggedSymbol)
|
|
@@ -260,10 +260,10 @@ module Increase
|
|
|
260
260
|
Increase::CheckTransferListParams::Status::In::TaggedSymbol
|
|
261
261
|
)
|
|
262
262
|
|
|
263
|
-
# The transfer is pending
|
|
264
|
-
|
|
263
|
+
# The transfer is pending submission.
|
|
264
|
+
PENDING_SUBMISSION =
|
|
265
265
|
T.let(
|
|
266
|
-
:
|
|
266
|
+
:pending_submission,
|
|
267
267
|
Increase::CheckTransferListParams::Status::In::TaggedSymbol
|
|
268
268
|
)
|
|
269
269
|
|
|
@@ -281,13 +281,6 @@ module Increase
|
|
|
281
281
|
Increase::CheckTransferListParams::Status::In::TaggedSymbol
|
|
282
282
|
)
|
|
283
283
|
|
|
284
|
-
# The transfer is pending submission.
|
|
285
|
-
PENDING_SUBMISSION =
|
|
286
|
-
T.let(
|
|
287
|
-
:pending_submission,
|
|
288
|
-
Increase::CheckTransferListParams::Status::In::TaggedSymbol
|
|
289
|
-
)
|
|
290
|
-
|
|
291
284
|
# The check is queued for mailing.
|
|
292
285
|
PENDING_MAILING =
|
|
293
286
|
T.let(
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class InboundMailItemActionParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::InboundMailItemActionParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The actions to perform on the Inbound Mail Item.
|
|
18
|
+
sig { returns(T::Array[Increase::InboundMailItemActionParams::Check]) }
|
|
19
|
+
attr_accessor :checks
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
checks:
|
|
24
|
+
T::Array[Increase::InboundMailItemActionParams::Check::OrHash],
|
|
25
|
+
request_options: Increase::RequestOptions::OrHash
|
|
26
|
+
).returns(T.attached_class)
|
|
27
|
+
end
|
|
28
|
+
def self.new(
|
|
29
|
+
# The actions to perform on the Inbound Mail Item.
|
|
30
|
+
checks:,
|
|
31
|
+
request_options: {}
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig do
|
|
36
|
+
override.returns(
|
|
37
|
+
{
|
|
38
|
+
checks: T::Array[Increase::InboundMailItemActionParams::Check],
|
|
39
|
+
request_options: Increase::RequestOptions
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
def to_hash
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
class Check < Increase::Internal::Type::BaseModel
|
|
47
|
+
OrHash =
|
|
48
|
+
T.type_alias do
|
|
49
|
+
T.any(
|
|
50
|
+
Increase::InboundMailItemActionParams::Check,
|
|
51
|
+
Increase::Internal::AnyHash
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# The action to perform on the Inbound Mail Item.
|
|
56
|
+
sig do
|
|
57
|
+
returns(
|
|
58
|
+
Increase::InboundMailItemActionParams::Check::Action::OrSymbol
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
attr_accessor :action
|
|
62
|
+
|
|
63
|
+
# The identifier of the Account to deposit the check into. If not provided, the
|
|
64
|
+
# check will be deposited into the Account associated with the Lockbox.
|
|
65
|
+
sig { returns(T.nilable(String)) }
|
|
66
|
+
attr_reader :account
|
|
67
|
+
|
|
68
|
+
sig { params(account: String).void }
|
|
69
|
+
attr_writer :account
|
|
70
|
+
|
|
71
|
+
sig do
|
|
72
|
+
params(
|
|
73
|
+
action:
|
|
74
|
+
Increase::InboundMailItemActionParams::Check::Action::OrSymbol,
|
|
75
|
+
account: String
|
|
76
|
+
).returns(T.attached_class)
|
|
77
|
+
end
|
|
78
|
+
def self.new(
|
|
79
|
+
# The action to perform on the Inbound Mail Item.
|
|
80
|
+
action:,
|
|
81
|
+
# The identifier of the Account to deposit the check into. If not provided, the
|
|
82
|
+
# check will be deposited into the Account associated with the Lockbox.
|
|
83
|
+
account: nil
|
|
84
|
+
)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
sig do
|
|
88
|
+
override.returns(
|
|
89
|
+
{
|
|
90
|
+
action:
|
|
91
|
+
Increase::InboundMailItemActionParams::Check::Action::OrSymbol,
|
|
92
|
+
account: String
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
end
|
|
96
|
+
def to_hash
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# The action to perform on the Inbound Mail Item.
|
|
100
|
+
module Action
|
|
101
|
+
extend Increase::Internal::Type::Enum
|
|
102
|
+
|
|
103
|
+
TaggedSymbol =
|
|
104
|
+
T.type_alias do
|
|
105
|
+
T.all(
|
|
106
|
+
Symbol,
|
|
107
|
+
Increase::InboundMailItemActionParams::Check::Action
|
|
108
|
+
)
|
|
109
|
+
end
|
|
110
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
111
|
+
|
|
112
|
+
# The check will be deposited.
|
|
113
|
+
DEPOSIT =
|
|
114
|
+
T.let(
|
|
115
|
+
:deposit,
|
|
116
|
+
Increase::InboundMailItemActionParams::Check::Action::TaggedSymbol
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
# The check will be ignored.
|
|
120
|
+
IGNORE =
|
|
121
|
+
T.let(
|
|
122
|
+
:ignore,
|
|
123
|
+
Increase::InboundMailItemActionParams::Check::Action::TaggedSymbol
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
sig do
|
|
127
|
+
override.returns(
|
|
128
|
+
T::Array[
|
|
129
|
+
Increase::InboundMailItemActionParams::Check::Action::TaggedSymbol
|
|
130
|
+
]
|
|
131
|
+
)
|
|
132
|
+
end
|
|
133
|
+
def self.values
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
@@ -214,6 +214,13 @@ module Increase
|
|
|
214
214
|
Increase::Lockbox::CheckDepositBehavior::TaggedSymbol
|
|
215
215
|
)
|
|
216
216
|
|
|
217
|
+
# Checks mailed to this Lockbox will be pending until actioned.
|
|
218
|
+
PEND_FOR_PROCESSING =
|
|
219
|
+
T.let(
|
|
220
|
+
:pend_for_processing,
|
|
221
|
+
Increase::Lockbox::CheckDepositBehavior::TaggedSymbol
|
|
222
|
+
)
|
|
223
|
+
|
|
217
224
|
sig do
|
|
218
225
|
override.returns(
|
|
219
226
|
T::Array[Increase::Lockbox::CheckDepositBehavior::TaggedSymbol]
|
|
@@ -101,6 +101,13 @@ module Increase
|
|
|
101
101
|
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
102
102
|
)
|
|
103
103
|
|
|
104
|
+
# Checks mailed to this Lockbox will be pending until actioned.
|
|
105
|
+
PEND_FOR_PROCESSING =
|
|
106
|
+
T.let(
|
|
107
|
+
:pend_for_processing,
|
|
108
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
109
|
+
)
|
|
110
|
+
|
|
104
111
|
sig do
|
|
105
112
|
override.returns(
|
|
106
113
|
T::Array[
|
data/rbi/increase/models.rbi
CHANGED
|
@@ -380,6 +380,8 @@ module Increase
|
|
|
380
380
|
|
|
381
381
|
InboundMailItem = Increase::Models::InboundMailItem
|
|
382
382
|
|
|
383
|
+
InboundMailItemActionParams = Increase::Models::InboundMailItemActionParams
|
|
384
|
+
|
|
383
385
|
InboundMailItemListParams = Increase::Models::InboundMailItemListParams
|
|
384
386
|
|
|
385
387
|
InboundMailItemRetrieveParams =
|
|
@@ -40,6 +40,24 @@ module Increase
|
|
|
40
40
|
)
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
# Action a Inbound Mail Item
|
|
44
|
+
sig do
|
|
45
|
+
params(
|
|
46
|
+
inbound_mail_item_id: String,
|
|
47
|
+
checks:
|
|
48
|
+
T::Array[Increase::InboundMailItemActionParams::Check::OrHash],
|
|
49
|
+
request_options: Increase::RequestOptions::OrHash
|
|
50
|
+
).returns(Increase::InboundMailItem)
|
|
51
|
+
end
|
|
52
|
+
def action(
|
|
53
|
+
# The identifier of the Inbound Mail Item to action.
|
|
54
|
+
inbound_mail_item_id,
|
|
55
|
+
# The actions to perform on the Inbound Mail Item.
|
|
56
|
+
checks:,
|
|
57
|
+
request_options: {}
|
|
58
|
+
)
|
|
59
|
+
end
|
|
60
|
+
|
|
43
61
|
# @api private
|
|
44
62
|
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
45
63
|
def self.new(client:)
|
|
@@ -525,10 +525,9 @@ module Increase
|
|
|
525
525
|
type status =
|
|
526
526
|
:pending_approval
|
|
527
527
|
| :canceled
|
|
528
|
-
| :
|
|
528
|
+
| :pending_submission
|
|
529
529
|
| :requires_attention
|
|
530
530
|
| :rejected
|
|
531
|
-
| :pending_submission
|
|
532
531
|
| :pending_mailing
|
|
533
532
|
| :mailed
|
|
534
533
|
| :deposited
|
|
@@ -544,8 +543,8 @@ module Increase
|
|
|
544
543
|
# The transfer has been canceled.
|
|
545
544
|
CANCELED: :canceled
|
|
546
545
|
|
|
547
|
-
# The transfer is pending
|
|
548
|
-
|
|
546
|
+
# The transfer is pending submission.
|
|
547
|
+
PENDING_SUBMISSION: :pending_submission
|
|
549
548
|
|
|
550
549
|
# The transfer requires attention from an Increase operator.
|
|
551
550
|
REQUIRES_ATTENTION: :requires_attention
|
|
@@ -553,9 +552,6 @@ module Increase
|
|
|
553
552
|
# The transfer has been rejected.
|
|
554
553
|
REJECTED: :rejected
|
|
555
554
|
|
|
556
|
-
# The transfer is pending submission.
|
|
557
|
-
PENDING_SUBMISSION: :pending_submission
|
|
558
|
-
|
|
559
555
|
# The check is queued for mailing.
|
|
560
556
|
PENDING_MAILING: :pending_mailing
|
|
561
557
|
|
|
@@ -119,10 +119,9 @@ module Increase
|
|
|
119
119
|
type in_ =
|
|
120
120
|
:pending_approval
|
|
121
121
|
| :canceled
|
|
122
|
-
| :
|
|
122
|
+
| :pending_submission
|
|
123
123
|
| :requires_attention
|
|
124
124
|
| :rejected
|
|
125
|
-
| :pending_submission
|
|
126
125
|
| :pending_mailing
|
|
127
126
|
| :mailed
|
|
128
127
|
| :deposited
|
|
@@ -138,8 +137,8 @@ module Increase
|
|
|
138
137
|
# The transfer has been canceled.
|
|
139
138
|
CANCELED: :canceled
|
|
140
139
|
|
|
141
|
-
# The transfer is pending
|
|
142
|
-
|
|
140
|
+
# The transfer is pending submission.
|
|
141
|
+
PENDING_SUBMISSION: :pending_submission
|
|
143
142
|
|
|
144
143
|
# The transfer requires attention from an Increase operator.
|
|
145
144
|
REQUIRES_ATTENTION: :requires_attention
|
|
@@ -147,9 +146,6 @@ module Increase
|
|
|
147
146
|
# The transfer has been rejected.
|
|
148
147
|
REJECTED: :rejected
|
|
149
148
|
|
|
150
|
-
# The transfer is pending submission.
|
|
151
|
-
PENDING_SUBMISSION: :pending_submission
|
|
152
|
-
|
|
153
149
|
# The check is queued for mailing.
|
|
154
150
|
PENDING_MAILING: :pending_mailing
|
|
155
151
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type inbound_mail_item_action_params =
|
|
4
|
+
{ checks: ::Array[Increase::InboundMailItemActionParams::Check] }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class InboundMailItemActionParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor checks: ::Array[Increase::InboundMailItemActionParams::Check]
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
checks: ::Array[Increase::InboundMailItemActionParams::Check],
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
checks: ::Array[Increase::InboundMailItemActionParams::Check],
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type check =
|
|
24
|
+
{
|
|
25
|
+
action: Increase::Models::InboundMailItemActionParams::Check::action,
|
|
26
|
+
account: String
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
class Check < Increase::Internal::Type::BaseModel
|
|
30
|
+
attr_accessor action: Increase::Models::InboundMailItemActionParams::Check::action
|
|
31
|
+
|
|
32
|
+
attr_reader account: String?
|
|
33
|
+
|
|
34
|
+
def account=: (String) -> String
|
|
35
|
+
|
|
36
|
+
def initialize: (
|
|
37
|
+
action: Increase::Models::InboundMailItemActionParams::Check::action,
|
|
38
|
+
?account: String
|
|
39
|
+
) -> void
|
|
40
|
+
|
|
41
|
+
def to_hash: -> {
|
|
42
|
+
action: Increase::Models::InboundMailItemActionParams::Check::action,
|
|
43
|
+
account: String
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type action = :deposit | :ignore
|
|
47
|
+
|
|
48
|
+
module Action
|
|
49
|
+
extend Increase::Internal::Type::Enum
|
|
50
|
+
|
|
51
|
+
# The check will be deposited.
|
|
52
|
+
DEPOSIT: :deposit
|
|
53
|
+
|
|
54
|
+
# The check will be ignored.
|
|
55
|
+
IGNORE: :ignore
|
|
56
|
+
|
|
57
|
+
def self?.values: -> ::Array[Increase::Models::InboundMailItemActionParams::Check::action]
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -98,7 +98,7 @@ module Increase
|
|
|
98
98
|
}
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
type check_deposit_behavior = :enabled | :disabled
|
|
101
|
+
type check_deposit_behavior = :enabled | :disabled | :pend_for_processing
|
|
102
102
|
|
|
103
103
|
module CheckDepositBehavior
|
|
104
104
|
extend Increase::Internal::Type::Enum
|
|
@@ -109,6 +109,9 @@ module Increase
|
|
|
109
109
|
# Checks mailed to this Lockbox will not be deposited.
|
|
110
110
|
DISABLED: :disabled
|
|
111
111
|
|
|
112
|
+
# Checks mailed to this Lockbox will be pending until actioned.
|
|
113
|
+
PEND_FOR_PROCESSING: :pend_for_processing
|
|
114
|
+
|
|
112
115
|
def self?.values: -> ::Array[Increase::Models::Lockbox::check_deposit_behavior]
|
|
113
116
|
end
|
|
114
117
|
|
|
@@ -40,7 +40,7 @@ module Increase
|
|
|
40
40
|
request_options: Increase::RequestOptions
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
type check_deposit_behavior = :enabled | :disabled
|
|
43
|
+
type check_deposit_behavior = :enabled | :disabled | :pend_for_processing
|
|
44
44
|
|
|
45
45
|
module CheckDepositBehavior
|
|
46
46
|
extend Increase::Internal::Type::Enum
|
|
@@ -51,6 +51,9 @@ module Increase
|
|
|
51
51
|
# Checks mailed to this Lockbox will not be deposited.
|
|
52
52
|
DISABLED: :disabled
|
|
53
53
|
|
|
54
|
+
# Checks mailed to this Lockbox will be pending until actioned.
|
|
55
|
+
PEND_FOR_PROCESSING: :pend_for_processing
|
|
56
|
+
|
|
54
57
|
def self?.values: -> ::Array[Increase::Models::LockboxUpdateParams::check_deposit_behavior]
|
|
55
58
|
end
|
|
56
59
|
end
|
data/sig/increase/models.rbs
CHANGED
|
@@ -335,6 +335,8 @@ module Increase
|
|
|
335
335
|
|
|
336
336
|
class InboundMailItem = Increase::Models::InboundMailItem
|
|
337
337
|
|
|
338
|
+
class InboundMailItemActionParams = Increase::Models::InboundMailItemActionParams
|
|
339
|
+
|
|
338
340
|
class InboundMailItemListParams = Increase::Models::InboundMailItemListParams
|
|
339
341
|
|
|
340
342
|
class InboundMailItemRetrieveParams = Increase::Models::InboundMailItemRetrieveParams
|
|
@@ -14,6 +14,12 @@ module Increase
|
|
|
14
14
|
?request_options: Increase::request_opts
|
|
15
15
|
) -> Increase::Internal::Page[Increase::InboundMailItem]
|
|
16
16
|
|
|
17
|
+
def action: (
|
|
18
|
+
String inbound_mail_item_id,
|
|
19
|
+
checks: ::Array[Increase::InboundMailItemActionParams::Check],
|
|
20
|
+
?request_options: Increase::request_opts
|
|
21
|
+
) -> Increase::InboundMailItem
|
|
22
|
+
|
|
17
23
|
def initialize: (client: Increase::Client) -> void
|
|
18
24
|
end
|
|
19
25
|
end
|
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.140.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-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|
|
@@ -224,6 +224,7 @@ files:
|
|
|
224
224
|
- lib/increase/models/inbound_fednow_transfer_list_params.rb
|
|
225
225
|
- lib/increase/models/inbound_fednow_transfer_retrieve_params.rb
|
|
226
226
|
- lib/increase/models/inbound_mail_item.rb
|
|
227
|
+
- lib/increase/models/inbound_mail_item_action_params.rb
|
|
227
228
|
- lib/increase/models/inbound_mail_item_list_params.rb
|
|
228
229
|
- lib/increase/models/inbound_mail_item_retrieve_params.rb
|
|
229
230
|
- lib/increase/models/inbound_real_time_payments_transfer.rb
|
|
@@ -625,6 +626,7 @@ files:
|
|
|
625
626
|
- rbi/increase/models/inbound_fednow_transfer_list_params.rbi
|
|
626
627
|
- rbi/increase/models/inbound_fednow_transfer_retrieve_params.rbi
|
|
627
628
|
- rbi/increase/models/inbound_mail_item.rbi
|
|
629
|
+
- rbi/increase/models/inbound_mail_item_action_params.rbi
|
|
628
630
|
- rbi/increase/models/inbound_mail_item_list_params.rbi
|
|
629
631
|
- rbi/increase/models/inbound_mail_item_retrieve_params.rbi
|
|
630
632
|
- rbi/increase/models/inbound_real_time_payments_transfer.rbi
|
|
@@ -1025,6 +1027,7 @@ files:
|
|
|
1025
1027
|
- sig/increase/models/inbound_fednow_transfer_list_params.rbs
|
|
1026
1028
|
- sig/increase/models/inbound_fednow_transfer_retrieve_params.rbs
|
|
1027
1029
|
- sig/increase/models/inbound_mail_item.rbs
|
|
1030
|
+
- sig/increase/models/inbound_mail_item_action_params.rbs
|
|
1028
1031
|
- sig/increase/models/inbound_mail_item_list_params.rbs
|
|
1029
1032
|
- sig/increase/models/inbound_mail_item_retrieve_params.rbs
|
|
1030
1033
|
- sig/increase/models/inbound_real_time_payments_transfer.rbs
|