increase 1.139.0 → 1.141.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/inbound_check_deposit.rb +3 -0
- 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/transaction.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/inbound_check_deposit.rbi +7 -0
- 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/transaction.rbi +7 -0
- data/rbi/increase/models.rbi +2 -0
- data/rbi/increase/resources/inbound_mail_items.rbi +18 -0
- data/sig/increase/models/inbound_check_deposit.rbs +4 -0
- 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/transaction.rbs +4 -0
- 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: f855d294104a394b8461eee4ac1df309f6d2447f4c8a13136c048bbbd83fcf02
|
|
4
|
+
data.tar.gz: 153aecbe64850bebfe080d48d8c74d0d770cfc3ed2994625b9e6b59a2e051a2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35e2910f6944de7c0e018a32bb6b66f606dfba203671897707255cb32103e098077d4b0c2fee18f469a62380f2537842ccc9a8050fa6144d2c7c3cd65dfbea7f
|
|
7
|
+
data.tar.gz: c49db7b3ef9c180bf43a59f9baf951edd28df032dc32bc044711278f5723c8227000d1257a23c0b572d16c5b07c843dc91bfd51a04e438e6b9b85c5e27535f98
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.141.0 (2025-11-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.140.0...v1.141.0](https://github.com/Increase/increase-ruby/compare/v1.140.0...v1.141.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([b4956dd](https://github.com/Increase/increase-ruby/commit/b4956dddd9c330f39d53c4fe48b9249916b1db7a))
|
|
10
|
+
|
|
11
|
+
## 1.140.0 (2025-11-12)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.139.0...v1.140.0](https://github.com/Increase/increase-ruby/compare/v1.139.0...v1.140.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([ec8f079](https://github.com/Increase/increase-ruby/commit/ec8f0799545f42cf6c1ab2281669744f469514a8))
|
|
18
|
+
|
|
3
19
|
## 1.139.0 (2025-11-10)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.138.0...v1.139.0](https://github.com/Increase/increase-ruby/compare/v1.138.0...v1.139.0)
|
data/README.md
CHANGED
|
@@ -237,6 +237,9 @@ module Increase
|
|
|
237
237
|
# The recipient was not able to process the check. This usually happens for e.g., low quality images.
|
|
238
238
|
NON_CONFORMING_ITEM = :non_conforming_item
|
|
239
239
|
|
|
240
|
+
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
241
|
+
PAID = :paid
|
|
242
|
+
|
|
240
243
|
# @!method self.values
|
|
241
244
|
# @return [Array<Symbol>]
|
|
242
245
|
end
|
|
@@ -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
|
|
@@ -6078,6 +6078,9 @@ module Increase
|
|
|
6078
6078
|
# The recipient was not able to process the check. This usually happens for e.g., low quality images.
|
|
6079
6079
|
NON_CONFORMING_ITEM = :non_conforming_item
|
|
6080
6080
|
|
|
6081
|
+
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
6082
|
+
PAID = :paid
|
|
6083
|
+
|
|
6081
6084
|
# @!method self.values
|
|
6082
6085
|
# @return [Array<Symbol>]
|
|
6083
6086
|
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"
|
|
@@ -331,6 +331,13 @@ module Increase
|
|
|
331
331
|
Increase::InboundCheckDeposit::Adjustment::Reason::TaggedSymbol
|
|
332
332
|
)
|
|
333
333
|
|
|
334
|
+
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
335
|
+
PAID =
|
|
336
|
+
T.let(
|
|
337
|
+
:paid,
|
|
338
|
+
Increase::InboundCheckDeposit::Adjustment::Reason::TaggedSymbol
|
|
339
|
+
)
|
|
340
|
+
|
|
334
341
|
sig do
|
|
335
342
|
override.returns(
|
|
336
343
|
T::Array[
|
|
@@ -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[
|
|
@@ -11364,6 +11364,13 @@ module Increase
|
|
|
11364
11364
|
Increase::Transaction::Source::InboundCheckAdjustment::Reason::TaggedSymbol
|
|
11365
11365
|
)
|
|
11366
11366
|
|
|
11367
|
+
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
11368
|
+
PAID =
|
|
11369
|
+
T.let(
|
|
11370
|
+
:paid,
|
|
11371
|
+
Increase::Transaction::Source::InboundCheckAdjustment::Reason::TaggedSymbol
|
|
11372
|
+
)
|
|
11373
|
+
|
|
11367
11374
|
sig do
|
|
11368
11375
|
override.returns(
|
|
11369
11376
|
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:)
|
|
@@ -147,6 +147,7 @@ module Increase
|
|
|
147
147
|
| :wrong_payee_credit
|
|
148
148
|
| :adjusted_amount
|
|
149
149
|
| :non_conforming_item
|
|
150
|
+
| :paid
|
|
150
151
|
|
|
151
152
|
module Reason
|
|
152
153
|
extend Increase::Internal::Type::Enum
|
|
@@ -163,6 +164,9 @@ module Increase
|
|
|
163
164
|
# The recipient was not able to process the check. This usually happens for e.g., low quality images.
|
|
164
165
|
NON_CONFORMING_ITEM: :non_conforming_item
|
|
165
166
|
|
|
167
|
+
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
168
|
+
PAID: :paid
|
|
169
|
+
|
|
166
170
|
def self?.values: -> ::Array[Increase::Models::InboundCheckDeposit::Adjustment::reason]
|
|
167
171
|
end
|
|
168
172
|
end
|
|
@@ -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
|
|
@@ -4448,6 +4448,7 @@ module Increase
|
|
|
4448
4448
|
| :wrong_payee_credit
|
|
4449
4449
|
| :adjusted_amount
|
|
4450
4450
|
| :non_conforming_item
|
|
4451
|
+
| :paid
|
|
4451
4452
|
|
|
4452
4453
|
module Reason
|
|
4453
4454
|
extend Increase::Internal::Type::Enum
|
|
@@ -4464,6 +4465,9 @@ module Increase
|
|
|
4464
4465
|
# The recipient was not able to process the check. This usually happens for e.g., low quality images.
|
|
4465
4466
|
NON_CONFORMING_ITEM: :non_conforming_item
|
|
4466
4467
|
|
|
4468
|
+
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
4469
|
+
PAID: :paid
|
|
4470
|
+
|
|
4467
4471
|
def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundCheckAdjustment::reason]
|
|
4468
4472
|
end
|
|
4469
4473
|
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.141.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-13 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
|