increase 1.133.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abcbb2ef54a395375c629a063bf03297afc3f254c72240b08ef675c50ef22f42
4
- data.tar.gz: 9f7e375b7b2422993288fb6e1da978f7ca370e6f67228477ea49a14af15ee02b
3
+ metadata.gz: 343e0ef659d401f13c1e064eae08b46dba7a568c3fb70db36ee062a48a409484
4
+ data.tar.gz: 2ff213653543ff445cad3b007b8878b0cfa0a9862ee26ead78d591f2b58b24eb
5
5
  SHA512:
6
- metadata.gz: 4a9c197ed9538df78226464ccf705de6a3c6280605c4263655e8b938cc98cc67f86742b415d799120e1e08380c640c257639449d3c33347006c0063fa0f2695f
7
- data.tar.gz: 45af721ca5456e5e4f219d89e30e958a5ad76e29ede06ff69117142d078c2fa2df33cbb2a16dc5c5c412276a3fb989dfc5a0def824162023d29390633e3cc353
6
+ metadata.gz: d0a589163071e412372ab790c4e887733cc49d901af5aaf0b1a4b145336f0fe4dc22b3d3f423bfbbc3523f6d0ef52038daa5f6e0991ef4fe379a6116174b9b3f
7
+ data.tar.gz: fa2a88828df7c99dde45d50c29586abff4566d6629388b60ba3716d2aa10e2bda5e50f8bf5b9c9c429f31135bfdd03a08b21d410e01b9fec022263e79bf2ee1c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
11
+ ## 1.134.0 (2025-11-07)
12
+
13
+ Full Changelog: [v1.133.0...v1.134.0](https://github.com/Increase/increase-ruby/compare/v1.133.0...v1.134.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([eda8aff](https://github.com/Increase/increase-ruby/commit/eda8afff6343175b8b8aa1558a8f225439622ebf))
18
+
3
19
  ## 1.133.0 (2025-11-06)
4
20
 
5
21
  Full Changelog: [v1.132.0...v1.133.0](https://github.com/Increase/increase-ruby/compare/v1.132.0...v1.133.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.133.0"
18
+ gem "increase", "~> 1.135.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -153,6 +153,9 @@ module Increase
153
153
  # A statement generated by Increase.
154
154
  INCREASE_STATEMENT = :increase_statement
155
155
 
156
+ # A supplemental document for a Loan Application.
157
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT = :loan_application_supplemental_document
158
+
156
159
  # A file purpose not covered by any of the other cases.
157
160
  OTHER = :other
158
161
 
@@ -64,6 +64,9 @@ module Increase
64
64
  # An image of a government-issued ID.
65
65
  IDENTITY_DOCUMENT = :identity_document
66
66
 
67
+ # A supplemental document for a Loan Application.
68
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT = :loan_application_supplemental_document
69
+
67
70
  # A file purpose not covered by any of the other cases.
68
71
  OTHER = :other
69
72
 
@@ -155,6 +155,9 @@ module Increase
155
155
  # A statement generated by Increase.
156
156
  INCREASE_STATEMENT = :increase_statement
157
157
 
158
+ # A supplemental document for a Loan Application.
159
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT = :loan_application_supplemental_document
160
+
158
161
  # A file purpose not covered by any of the other cases.
159
162
  OTHER = :other
160
163
 
@@ -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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.133.0"
4
+ VERSION = "1.135.0"
5
5
  end
@@ -197,6 +197,13 @@ module Increase
197
197
  INCREASE_STATEMENT =
198
198
  T.let(:increase_statement, Increase::File::Purpose::TaggedSymbol)
199
199
 
200
+ # A supplemental document for a Loan Application.
201
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT =
202
+ T.let(
203
+ :loan_application_supplemental_document,
204
+ Increase::File::Purpose::TaggedSymbol
205
+ )
206
+
200
207
  # A file purpose not covered by any of the other cases.
201
208
  OTHER = T.let(:other, Increase::File::Purpose::TaggedSymbol)
202
209
 
@@ -116,6 +116,13 @@ module Increase
116
116
  Increase::FileCreateParams::Purpose::TaggedSymbol
117
117
  )
118
118
 
119
+ # A supplemental document for a Loan Application.
120
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT =
121
+ T.let(
122
+ :loan_application_supplemental_document,
123
+ Increase::FileCreateParams::Purpose::TaggedSymbol
124
+ )
125
+
119
126
  # A file purpose not covered by any of the other cases.
120
127
  OTHER = T.let(:other, Increase::FileCreateParams::Purpose::TaggedSymbol)
121
128
 
@@ -311,6 +311,13 @@ module Increase
311
311
  Increase::FileListParams::Purpose::In::TaggedSymbol
312
312
  )
313
313
 
314
+ # A supplemental document for a Loan Application.
315
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT =
316
+ T.let(
317
+ :loan_application_supplemental_document,
318
+ Increase::FileListParams::Purpose::In::TaggedSymbol
319
+ )
320
+
314
321
  # A file purpose not covered by any of the other cases.
315
322
  OTHER =
316
323
  T.let(:other, Increase::FileListParams::Purpose::In::TaggedSymbol)
@@ -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.
@@ -84,6 +84,7 @@ module Increase
84
84
  | :form_ss_4
85
85
  | :identity_document
86
86
  | :increase_statement
87
+ | :loan_application_supplemental_document
87
88
  | :other
88
89
  | :trust_formation_document
89
90
  | :digital_wallet_artwork
@@ -143,6 +144,9 @@ module Increase
143
144
  # A statement generated by Increase.
144
145
  INCREASE_STATEMENT: :increase_statement
145
146
 
147
+ # A supplemental document for a Loan Application.
148
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT: :loan_application_supplemental_document
149
+
146
150
  # A file purpose not covered by any of the other cases.
147
151
  OTHER: :other
148
152
 
@@ -42,6 +42,7 @@ module Increase
42
42
  | :check_attachment
43
43
  | :form_ss_4
44
44
  | :identity_document
45
+ | :loan_application_supplemental_document
45
46
  | :other
46
47
  | :trust_formation_document
47
48
  | :digital_wallet_artwork
@@ -77,6 +78,9 @@ module Increase
77
78
  # An image of a government-issued ID.
78
79
  IDENTITY_DOCUMENT: :identity_document
79
80
 
81
+ # A supplemental document for a Loan Application.
82
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT: :loan_application_supplemental_document
83
+
80
84
  # A file purpose not covered by any of the other cases.
81
85
  OTHER: :other
82
86
 
@@ -123,6 +123,7 @@ module Increase
123
123
  | :form_ss_4
124
124
  | :identity_document
125
125
  | :increase_statement
126
+ | :loan_application_supplemental_document
126
127
  | :other
127
128
  | :trust_formation_document
128
129
  | :digital_wallet_artwork
@@ -182,6 +183,9 @@ module Increase
182
183
  # A statement generated by Increase.
183
184
  INCREASE_STATEMENT: :increase_statement
184
185
 
186
+ # A supplemental document for a Loan Application.
187
+ LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT: :loan_application_supplemental_document
188
+
185
189
  # A file purpose not covered by any of the other cases.
186
190
  OTHER: :other
187
191
 
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.133.0
4
+ version: 1.135.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-06 00:00:00.000000000 Z
11
+ date: 2025-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool