increase 1.134.0 → 1.136.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 951c9998b6dcb58c6eeb657d1d38e7d80ae8396c61b81932ddba3d42bc734316
4
- data.tar.gz: 2c38f8e9d2d76a5cb334a33b766f3a8f3f334315fef98640c50cd01aa1ef130a
3
+ metadata.gz: b6e690014b2971822f9b2b19b0076507f9a8f55f5d3d46d320974aa725012c43
4
+ data.tar.gz: e658634872406bc24614e249f9649e7d6bd1d7e138a5713eb40cdf6331e369db
5
5
  SHA512:
6
- metadata.gz: 55e276ac70035d69a0782ca8b760668b11086adfb520094a8449a521138a97ecb90b1f4ea4a9d433131b05268b7c9ba601c37c5386775dc3b91175fe5cba3807
7
- data.tar.gz: 91553ec8bc1a622e7cc0e2f00c0d6a937afdfa487be4700005e56033f10ac8d4ce94f7440674aa137a71abccbf96b948f468ff9b75ac090396037f748d529f3c
6
+ metadata.gz: d9b91f161bc823d1e624681979f21797f19587d26093b7b1c4dbe0ec69f45e2ff81e5d5ced3dec8357e65eddd2d3bac29227bec95c213188332ddb4455731408
7
+ data.tar.gz: 9c401b93ca734b001ac131974607a7f59c0bbaa9c137b070dad410251175c4f63e438ee8b4ef0ff8b8461cdcfbd58dd1ce5cebbf6193efb7e11bd130475b8e23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.136.0 (2025-11-07)
4
+
5
+ Full Changelog: [v1.135.0...v1.136.0](https://github.com/Increase/increase-ruby/compare/v1.135.0...v1.136.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([188ad55](https://github.com/Increase/increase-ruby/commit/188ad55dd47fb860041fea9bc87e7ba74efade09))
10
+
11
+ ## 1.135.0 (2025-11-07)
12
+
13
+ Full Changelog: [v1.134.0...v1.135.0](https://github.com/Increase/increase-ruby/compare/v1.134.0...v1.135.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([be63516](https://github.com/Increase/increase-ruby/commit/be63516bf8582ce0bb6e44202324e4d7b504fc43))
18
+
3
19
  ## 1.134.0 (2025-11-07)
4
20
 
5
21
  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
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.134.0"
18
+ gem "increase", "~> 1.136.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -110,7 +110,13 @@ module Increase
110
110
  # @return [String, nil]
111
111
  required :front_file_id, String, nil?: true
112
112
 
113
- # @!method initialize(amount:, back_file_id:, check_deposit_id:, front_file_id:)
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.
@@ -122,7 +122,8 @@ module Increase
122
122
  )
123
123
  end
124
124
 
125
- # Cancel a pending Check Transfer
125
+ # Cancel a Check Transfer with the `pending_approval` status. See
126
+ # [Transfer Approvals](/documentation/transfer-approvals) for more information.
126
127
  #
127
128
  # @overload cancel(check_transfer_id, request_options: {})
128
129
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.134.0"
4
+ VERSION = "1.136.0"
5
5
  end
@@ -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.
@@ -116,7 +116,8 @@ module Increase
116
116
  )
117
117
  end
118
118
 
119
- # Cancel a pending Check Transfer
119
+ # Cancel a Check Transfer with the `pending_approval` status. See
120
+ # [Transfer Approvals](/documentation/transfer-approvals) for more information.
120
121
  sig do
121
122
  params(
122
123
  check_transfer_id: String,
@@ -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 =
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.134.0
4
+ version: 1.136.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase