increase 1.134.0 → 1.135.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/inbound_mail_item.rb +28 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/inbound_mail_item.rbi +59 -3
- data/sig/increase/models/inbound_mail_item.rbs +25 -3
- 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: 343e0ef659d401f13c1e064eae08b46dba7a568c3fb70db36ee062a48a409484
|
|
4
|
+
data.tar.gz: 2ff213653543ff445cad3b007b8878b0cfa0a9862ee26ead78d591f2b58b24eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0a589163071e412372ab790c4e887733cc49d901af5aaf0b1a4b145336f0fe4dc22b3d3f423bfbbc3523f6d0ef52038daa5f6e0991ef4fe379a6116174b9b3f
|
|
7
|
+
data.tar.gz: fa2a88828df7c99dde45d50c29586abff4566d6629388b60ba3716d2aa10e2bda5e50f8bf5b9c9c429f31135bfdd03a08b21d410e01b9fec022263e79bf2ee1c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.135.0 (2025-11-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.134.0...v1.135.0](https://github.com/Increase/increase-ruby/compare/v1.134.0...v1.135.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([be63516](https://github.com/Increase/increase-ruby/commit/be63516bf8582ce0bb6e44202324e4d7b504fc43))
|
|
10
|
+
|
|
3
11
|
## 1.134.0 (2025-11-07)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.133.0...v1.134.0](https://github.com/Increase/increase-ruby/compare/v1.133.0...v1.134.0)
|
data/README.md
CHANGED
|
@@ -110,7 +110,13 @@ module Increase
|
|
|
110
110
|
# @return [String, nil]
|
|
111
111
|
required :front_file_id, String, nil?: true
|
|
112
112
|
|
|
113
|
-
# @!
|
|
113
|
+
# @!attribute status
|
|
114
|
+
# The status of the Inbound Mail Item Check.
|
|
115
|
+
#
|
|
116
|
+
# @return [Symbol, Increase::Models::InboundMailItem::Check::Status, nil]
|
|
117
|
+
required :status, enum: -> { Increase::InboundMailItem::Check::Status }, nil?: true
|
|
118
|
+
|
|
119
|
+
# @!method initialize(amount:, back_file_id:, check_deposit_id:, front_file_id:, status:)
|
|
114
120
|
# Inbound Mail Item Checks represent the checks in an Inbound Mail Item.
|
|
115
121
|
#
|
|
116
122
|
# @param amount [Integer] The amount of the check.
|
|
@@ -120,6 +126,27 @@ module Increase
|
|
|
120
126
|
# @param check_deposit_id [String, nil] The identifier of the Check Deposit if this check was deposited.
|
|
121
127
|
#
|
|
122
128
|
# @param front_file_id [String, nil] The identifier for the File containing the front of the check.
|
|
129
|
+
#
|
|
130
|
+
# @param status [Symbol, Increase::Models::InboundMailItem::Check::Status, nil] The status of the Inbound Mail Item Check.
|
|
131
|
+
|
|
132
|
+
# The status of the Inbound Mail Item Check.
|
|
133
|
+
#
|
|
134
|
+
# @see Increase::Models::InboundMailItem::Check#status
|
|
135
|
+
module Status
|
|
136
|
+
extend Increase::Internal::Type::Enum
|
|
137
|
+
|
|
138
|
+
# The check is pending processing.
|
|
139
|
+
PENDING = :pending
|
|
140
|
+
|
|
141
|
+
# The check has been deposited.
|
|
142
|
+
DEPOSITED = :deposited
|
|
143
|
+
|
|
144
|
+
# The check has been ignored.
|
|
145
|
+
IGNORED = :ignored
|
|
146
|
+
|
|
147
|
+
# @!method self.values
|
|
148
|
+
# @return [Array<Symbol>]
|
|
149
|
+
end
|
|
123
150
|
end
|
|
124
151
|
|
|
125
152
|
# If the mail item has been rejected, why it was rejected.
|
data/lib/increase/version.rb
CHANGED
|
@@ -134,13 +134,23 @@ module Increase
|
|
|
134
134
|
sig { returns(T.nilable(String)) }
|
|
135
135
|
attr_accessor :front_file_id
|
|
136
136
|
|
|
137
|
+
# The status of the Inbound Mail Item Check.
|
|
138
|
+
sig do
|
|
139
|
+
returns(
|
|
140
|
+
T.nilable(Increase::InboundMailItem::Check::Status::TaggedSymbol)
|
|
141
|
+
)
|
|
142
|
+
end
|
|
143
|
+
attr_accessor :status
|
|
144
|
+
|
|
137
145
|
# Inbound Mail Item Checks represent the checks in an Inbound Mail Item.
|
|
138
146
|
sig do
|
|
139
147
|
params(
|
|
140
148
|
amount: Integer,
|
|
141
149
|
back_file_id: T.nilable(String),
|
|
142
150
|
check_deposit_id: T.nilable(String),
|
|
143
|
-
front_file_id: T.nilable(String)
|
|
151
|
+
front_file_id: T.nilable(String),
|
|
152
|
+
status:
|
|
153
|
+
T.nilable(Increase::InboundMailItem::Check::Status::OrSymbol)
|
|
144
154
|
).returns(T.attached_class)
|
|
145
155
|
end
|
|
146
156
|
def self.new(
|
|
@@ -151,7 +161,9 @@ module Increase
|
|
|
151
161
|
# The identifier of the Check Deposit if this check was deposited.
|
|
152
162
|
check_deposit_id:,
|
|
153
163
|
# The identifier for the File containing the front of the check.
|
|
154
|
-
front_file_id
|
|
164
|
+
front_file_id:,
|
|
165
|
+
# The status of the Inbound Mail Item Check.
|
|
166
|
+
status:
|
|
155
167
|
)
|
|
156
168
|
end
|
|
157
169
|
|
|
@@ -161,12 +173,56 @@ module Increase
|
|
|
161
173
|
amount: Integer,
|
|
162
174
|
back_file_id: T.nilable(String),
|
|
163
175
|
check_deposit_id: T.nilable(String),
|
|
164
|
-
front_file_id: T.nilable(String)
|
|
176
|
+
front_file_id: T.nilable(String),
|
|
177
|
+
status:
|
|
178
|
+
T.nilable(
|
|
179
|
+
Increase::InboundMailItem::Check::Status::TaggedSymbol
|
|
180
|
+
)
|
|
165
181
|
}
|
|
166
182
|
)
|
|
167
183
|
end
|
|
168
184
|
def to_hash
|
|
169
185
|
end
|
|
186
|
+
|
|
187
|
+
# The status of the Inbound Mail Item Check.
|
|
188
|
+
module Status
|
|
189
|
+
extend Increase::Internal::Type::Enum
|
|
190
|
+
|
|
191
|
+
TaggedSymbol =
|
|
192
|
+
T.type_alias do
|
|
193
|
+
T.all(Symbol, Increase::InboundMailItem::Check::Status)
|
|
194
|
+
end
|
|
195
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
196
|
+
|
|
197
|
+
# The check is pending processing.
|
|
198
|
+
PENDING =
|
|
199
|
+
T.let(
|
|
200
|
+
:pending,
|
|
201
|
+
Increase::InboundMailItem::Check::Status::TaggedSymbol
|
|
202
|
+
)
|
|
203
|
+
|
|
204
|
+
# The check has been deposited.
|
|
205
|
+
DEPOSITED =
|
|
206
|
+
T.let(
|
|
207
|
+
:deposited,
|
|
208
|
+
Increase::InboundMailItem::Check::Status::TaggedSymbol
|
|
209
|
+
)
|
|
210
|
+
|
|
211
|
+
# The check has been ignored.
|
|
212
|
+
IGNORED =
|
|
213
|
+
T.let(
|
|
214
|
+
:ignored,
|
|
215
|
+
Increase::InboundMailItem::Check::Status::TaggedSymbol
|
|
216
|
+
)
|
|
217
|
+
|
|
218
|
+
sig do
|
|
219
|
+
override.returns(
|
|
220
|
+
T::Array[Increase::InboundMailItem::Check::Status::TaggedSymbol]
|
|
221
|
+
)
|
|
222
|
+
end
|
|
223
|
+
def self.values
|
|
224
|
+
end
|
|
225
|
+
end
|
|
170
226
|
end
|
|
171
227
|
|
|
172
228
|
# If the mail item has been rejected, why it was rejected.
|
|
@@ -61,7 +61,8 @@ module Increase
|
|
|
61
61
|
amount: Integer,
|
|
62
62
|
back_file_id: String?,
|
|
63
63
|
check_deposit_id: String?,
|
|
64
|
-
front_file_id: String
|
|
64
|
+
front_file_id: String?,
|
|
65
|
+
status: Increase::Models::InboundMailItem::Check::status?
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
class Check < Increase::Internal::Type::BaseModel
|
|
@@ -73,19 +74,40 @@ module Increase
|
|
|
73
74
|
|
|
74
75
|
attr_accessor front_file_id: String?
|
|
75
76
|
|
|
77
|
+
attr_accessor status: Increase::Models::InboundMailItem::Check::status?
|
|
78
|
+
|
|
76
79
|
def initialize: (
|
|
77
80
|
amount: Integer,
|
|
78
81
|
back_file_id: String?,
|
|
79
82
|
check_deposit_id: String?,
|
|
80
|
-
front_file_id: String
|
|
83
|
+
front_file_id: String?,
|
|
84
|
+
status: Increase::Models::InboundMailItem::Check::status?
|
|
81
85
|
) -> void
|
|
82
86
|
|
|
83
87
|
def to_hash: -> {
|
|
84
88
|
amount: Integer,
|
|
85
89
|
back_file_id: String?,
|
|
86
90
|
check_deposit_id: String?,
|
|
87
|
-
front_file_id: String
|
|
91
|
+
front_file_id: String?,
|
|
92
|
+
status: Increase::Models::InboundMailItem::Check::status?
|
|
88
93
|
}
|
|
94
|
+
|
|
95
|
+
type status = :pending | :deposited | :ignored
|
|
96
|
+
|
|
97
|
+
module Status
|
|
98
|
+
extend Increase::Internal::Type::Enum
|
|
99
|
+
|
|
100
|
+
# The check is pending processing.
|
|
101
|
+
PENDING: :pending
|
|
102
|
+
|
|
103
|
+
# The check has been deposited.
|
|
104
|
+
DEPOSITED: :deposited
|
|
105
|
+
|
|
106
|
+
# The check has been ignored.
|
|
107
|
+
IGNORED: :ignored
|
|
108
|
+
|
|
109
|
+
def self?.values: -> ::Array[Increase::Models::InboundMailItem::Check::status]
|
|
110
|
+
end
|
|
89
111
|
end
|
|
90
112
|
|
|
91
113
|
type rejection_reason =
|