increase 1.205.0 → 1.206.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_wire_transfer.rb +38 -6
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/inbound_wire_transfer.rbi +58 -6
- data/sig/increase/models/inbound_wire_transfer.rbs +17 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9036cb8f71c29f3232a17451bff12b0e1ab05144e2ceea6b06025163f53b3fc3
|
|
4
|
+
data.tar.gz: ab2bb0f838ee95fd84188e1b6339836a3f0c8a3e6000654b7faff674bea16a8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e45282a28bef6281c984ff5c8b20a47607468636101c78b7b89b3f774c8267a8b4b8c8bcaed5b192c3243497ebd4492f0313db040d1a5a0ac9b550bdf5e6ba25
|
|
7
|
+
data.tar.gz: ffdf9797cda9dc4b9c95ccdf0b356323b55a1daa84d37d7fdd08c20c6f48a5829c1984054a99296b6df99877582c8c1e08455ba5642ae4c531f14679743bcf9f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.206.0 (2026-02-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.205.0...v1.206.0](https://github.com/Increase/increase-ruby/compare/v1.205.0...v1.206.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([e4c353a](https://github.com/Increase/increase-ruby/commit/e4c353a99606a2fdfda9238efa8a4209bd6e93ad))
|
|
10
|
+
|
|
3
11
|
## 1.205.0 (2026-02-07)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.204.0...v1.205.0](https://github.com/Increase/increase-ruby/compare/v1.204.0...v1.205.0)
|
data/README.md
CHANGED
|
@@ -10,6 +10,12 @@ module Increase
|
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
12
12
|
|
|
13
|
+
# @!attribute acceptance
|
|
14
|
+
# If the transfer is accepted, this will contain details of the acceptance.
|
|
15
|
+
#
|
|
16
|
+
# @return [Increase::Models::InboundWireTransfer::Acceptance, nil]
|
|
17
|
+
required :acceptance, -> { Increase::InboundWireTransfer::Acceptance }, nil?: true
|
|
18
|
+
|
|
13
19
|
# @!attribute account_id
|
|
14
20
|
# The Account to which the transfer belongs.
|
|
15
21
|
#
|
|
@@ -117,8 +123,7 @@ module Increase
|
|
|
117
123
|
required :instruction_identification, String, nil?: true
|
|
118
124
|
|
|
119
125
|
# @!attribute reversal
|
|
120
|
-
#
|
|
121
|
-
# reversed.
|
|
126
|
+
# If the transfer is reversed, this will contain details of the reversal.
|
|
122
127
|
#
|
|
123
128
|
# @return [Increase::Models::InboundWireTransfer::Reversal, nil]
|
|
124
129
|
required :reversal, -> { Increase::InboundWireTransfer::Reversal }, nil?: true
|
|
@@ -156,7 +161,7 @@ module Increase
|
|
|
156
161
|
# @return [String, nil]
|
|
157
162
|
required :wire_drawdown_request_id, String, nil?: true
|
|
158
163
|
|
|
159
|
-
# @!method initialize(id:, account_id:, account_number_id:, amount:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, reversal:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
|
|
164
|
+
# @!method initialize(id:, acceptance:, account_id:, account_number_id:, amount:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, reversal:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
|
|
160
165
|
# Some parameter documentations has been truncated, see
|
|
161
166
|
# {Increase::Models::InboundWireTransfer} for more details.
|
|
162
167
|
#
|
|
@@ -165,6 +170,8 @@ module Increase
|
|
|
165
170
|
#
|
|
166
171
|
# @param id [String] The inbound wire transfer's identifier.
|
|
167
172
|
#
|
|
173
|
+
# @param acceptance [Increase::Models::InboundWireTransfer::Acceptance, nil] If the transfer is accepted, this will contain details of the acceptance.
|
|
174
|
+
#
|
|
168
175
|
# @param account_id [String] The Account to which the transfer belongs.
|
|
169
176
|
#
|
|
170
177
|
# @param account_number_id [String] The identifier of the Account Number to which this transfer was sent.
|
|
@@ -199,7 +206,7 @@ module Increase
|
|
|
199
206
|
#
|
|
200
207
|
# @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
|
|
201
208
|
#
|
|
202
|
-
# @param reversal [Increase::Models::InboundWireTransfer::Reversal, nil]
|
|
209
|
+
# @param reversal [Increase::Models::InboundWireTransfer::Reversal, nil] If the transfer is reversed, this will contain details of the reversal.
|
|
203
210
|
#
|
|
204
211
|
# @param status [Symbol, Increase::Models::InboundWireTransfer::Status] The status of the transfer.
|
|
205
212
|
#
|
|
@@ -211,6 +218,32 @@ module Increase
|
|
|
211
218
|
#
|
|
212
219
|
# @param wire_drawdown_request_id [String, nil] The wire drawdown request the inbound wire transfer is fulfilling.
|
|
213
220
|
|
|
221
|
+
# @see Increase::Models::InboundWireTransfer#acceptance
|
|
222
|
+
class Acceptance < Increase::Internal::Type::BaseModel
|
|
223
|
+
# @!attribute accepted_at
|
|
224
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
225
|
+
# the transfer was accepted.
|
|
226
|
+
#
|
|
227
|
+
# @return [Time]
|
|
228
|
+
required :accepted_at, Time
|
|
229
|
+
|
|
230
|
+
# @!attribute transaction_id
|
|
231
|
+
# The identifier of the transaction for the accepted transfer.
|
|
232
|
+
#
|
|
233
|
+
# @return [String]
|
|
234
|
+
required :transaction_id, String
|
|
235
|
+
|
|
236
|
+
# @!method initialize(accepted_at:, transaction_id:)
|
|
237
|
+
# Some parameter documentations has been truncated, see
|
|
238
|
+
# {Increase::Models::InboundWireTransfer::Acceptance} for more details.
|
|
239
|
+
#
|
|
240
|
+
# If the transfer is accepted, this will contain details of the acceptance.
|
|
241
|
+
#
|
|
242
|
+
# @param accepted_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
|
|
243
|
+
#
|
|
244
|
+
# @param transaction_id [String] The identifier of the transaction for the accepted transfer.
|
|
245
|
+
end
|
|
246
|
+
|
|
214
247
|
# @see Increase::Models::InboundWireTransfer#reversal
|
|
215
248
|
class Reversal < Increase::Internal::Type::BaseModel
|
|
216
249
|
# @!attribute reason
|
|
@@ -230,8 +263,7 @@ module Increase
|
|
|
230
263
|
# Some parameter documentations has been truncated, see
|
|
231
264
|
# {Increase::Models::InboundWireTransfer::Reversal} for more details.
|
|
232
265
|
#
|
|
233
|
-
#
|
|
234
|
-
# reversed.
|
|
266
|
+
# If the transfer is reversed, this will contain details of the reversal.
|
|
235
267
|
#
|
|
236
268
|
# @param reason [Symbol, Increase::Models::InboundWireTransfer::Reversal::Reason] The reason for the reversal.
|
|
237
269
|
#
|
data/lib/increase/version.rb
CHANGED
|
@@ -12,6 +12,18 @@ module Increase
|
|
|
12
12
|
sig { returns(String) }
|
|
13
13
|
attr_accessor :id
|
|
14
14
|
|
|
15
|
+
# If the transfer is accepted, this will contain details of the acceptance.
|
|
16
|
+
sig { returns(T.nilable(Increase::InboundWireTransfer::Acceptance)) }
|
|
17
|
+
attr_reader :acceptance
|
|
18
|
+
|
|
19
|
+
sig do
|
|
20
|
+
params(
|
|
21
|
+
acceptance:
|
|
22
|
+
T.nilable(Increase::InboundWireTransfer::Acceptance::OrHash)
|
|
23
|
+
).void
|
|
24
|
+
end
|
|
25
|
+
attr_writer :acceptance
|
|
26
|
+
|
|
15
27
|
# The Account to which the transfer belongs.
|
|
16
28
|
sig { returns(String) }
|
|
17
29
|
attr_accessor :account_id
|
|
@@ -84,8 +96,7 @@ module Increase
|
|
|
84
96
|
sig { returns(T.nilable(String)) }
|
|
85
97
|
attr_accessor :instruction_identification
|
|
86
98
|
|
|
87
|
-
#
|
|
88
|
-
# reversed.
|
|
99
|
+
# If the transfer is reversed, this will contain details of the reversal.
|
|
89
100
|
sig { returns(T.nilable(Increase::InboundWireTransfer::Reversal)) }
|
|
90
101
|
attr_reader :reversal
|
|
91
102
|
|
|
@@ -124,6 +135,8 @@ module Increase
|
|
|
124
135
|
sig do
|
|
125
136
|
params(
|
|
126
137
|
id: String,
|
|
138
|
+
acceptance:
|
|
139
|
+
T.nilable(Increase::InboundWireTransfer::Acceptance::OrHash),
|
|
127
140
|
account_id: String,
|
|
128
141
|
account_number_id: String,
|
|
129
142
|
amount: Integer,
|
|
@@ -152,6 +165,8 @@ module Increase
|
|
|
152
165
|
def self.new(
|
|
153
166
|
# The inbound wire transfer's identifier.
|
|
154
167
|
id:,
|
|
168
|
+
# If the transfer is accepted, this will contain details of the acceptance.
|
|
169
|
+
acceptance:,
|
|
155
170
|
# The Account to which the transfer belongs.
|
|
156
171
|
account_id:,
|
|
157
172
|
# The identifier of the Account Number to which this transfer was sent.
|
|
@@ -190,8 +205,7 @@ module Increase
|
|
|
190
205
|
instructing_agent_routing_number:,
|
|
191
206
|
# The sending bank's identifier for the wire transfer.
|
|
192
207
|
instruction_identification:,
|
|
193
|
-
#
|
|
194
|
-
# reversed.
|
|
208
|
+
# If the transfer is reversed, this will contain details of the reversal.
|
|
195
209
|
reversal:,
|
|
196
210
|
# The status of the transfer.
|
|
197
211
|
status:,
|
|
@@ -213,6 +227,7 @@ module Increase
|
|
|
213
227
|
override.returns(
|
|
214
228
|
{
|
|
215
229
|
id: String,
|
|
230
|
+
acceptance: T.nilable(Increase::InboundWireTransfer::Acceptance),
|
|
216
231
|
account_id: String,
|
|
217
232
|
account_number_id: String,
|
|
218
233
|
amount: Integer,
|
|
@@ -242,6 +257,44 @@ module Increase
|
|
|
242
257
|
def to_hash
|
|
243
258
|
end
|
|
244
259
|
|
|
260
|
+
class Acceptance < Increase::Internal::Type::BaseModel
|
|
261
|
+
OrHash =
|
|
262
|
+
T.type_alias do
|
|
263
|
+
T.any(
|
|
264
|
+
Increase::InboundWireTransfer::Acceptance,
|
|
265
|
+
Increase::Internal::AnyHash
|
|
266
|
+
)
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
270
|
+
# the transfer was accepted.
|
|
271
|
+
sig { returns(Time) }
|
|
272
|
+
attr_accessor :accepted_at
|
|
273
|
+
|
|
274
|
+
# The identifier of the transaction for the accepted transfer.
|
|
275
|
+
sig { returns(String) }
|
|
276
|
+
attr_accessor :transaction_id
|
|
277
|
+
|
|
278
|
+
# If the transfer is accepted, this will contain details of the acceptance.
|
|
279
|
+
sig do
|
|
280
|
+
params(accepted_at: Time, transaction_id: String).returns(
|
|
281
|
+
T.attached_class
|
|
282
|
+
)
|
|
283
|
+
end
|
|
284
|
+
def self.new(
|
|
285
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
286
|
+
# the transfer was accepted.
|
|
287
|
+
accepted_at:,
|
|
288
|
+
# The identifier of the transaction for the accepted transfer.
|
|
289
|
+
transaction_id:
|
|
290
|
+
)
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
sig { override.returns({ accepted_at: Time, transaction_id: String }) }
|
|
294
|
+
def to_hash
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
|
|
245
298
|
class Reversal < Increase::Internal::Type::BaseModel
|
|
246
299
|
OrHash =
|
|
247
300
|
T.type_alias do
|
|
@@ -262,8 +315,7 @@ module Increase
|
|
|
262
315
|
sig { returns(Time) }
|
|
263
316
|
attr_accessor :reversed_at
|
|
264
317
|
|
|
265
|
-
#
|
|
266
|
-
# reversed.
|
|
318
|
+
# If the transfer is reversed, this will contain details of the reversal.
|
|
267
319
|
sig do
|
|
268
320
|
params(
|
|
269
321
|
reason: Increase::InboundWireTransfer::Reversal::Reason::OrSymbol,
|
|
@@ -3,6 +3,7 @@ module Increase
|
|
|
3
3
|
type inbound_wire_transfer =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
acceptance: Increase::InboundWireTransfer::Acceptance?,
|
|
6
7
|
account_id: String,
|
|
7
8
|
account_number_id: String,
|
|
8
9
|
amount: Integer,
|
|
@@ -31,6 +32,8 @@ module Increase
|
|
|
31
32
|
class InboundWireTransfer < Increase::Internal::Type::BaseModel
|
|
32
33
|
attr_accessor id: String
|
|
33
34
|
|
|
35
|
+
attr_accessor acceptance: Increase::InboundWireTransfer::Acceptance?
|
|
36
|
+
|
|
34
37
|
attr_accessor account_id: String
|
|
35
38
|
|
|
36
39
|
attr_accessor account_number_id: String
|
|
@@ -79,6 +82,7 @@ module Increase
|
|
|
79
82
|
|
|
80
83
|
def initialize: (
|
|
81
84
|
id: String,
|
|
85
|
+
acceptance: Increase::InboundWireTransfer::Acceptance?,
|
|
82
86
|
account_id: String,
|
|
83
87
|
account_number_id: String,
|
|
84
88
|
amount: Integer,
|
|
@@ -106,6 +110,7 @@ module Increase
|
|
|
106
110
|
|
|
107
111
|
def to_hash: -> {
|
|
108
112
|
id: String,
|
|
113
|
+
acceptance: Increase::InboundWireTransfer::Acceptance?,
|
|
109
114
|
account_id: String,
|
|
110
115
|
account_number_id: String,
|
|
111
116
|
amount: Integer,
|
|
@@ -131,6 +136,18 @@ module Increase
|
|
|
131
136
|
wire_drawdown_request_id: String?
|
|
132
137
|
}
|
|
133
138
|
|
|
139
|
+
type acceptance = { accepted_at: Time, transaction_id: String }
|
|
140
|
+
|
|
141
|
+
class Acceptance < Increase::Internal::Type::BaseModel
|
|
142
|
+
attr_accessor accepted_at: Time
|
|
143
|
+
|
|
144
|
+
attr_accessor transaction_id: String
|
|
145
|
+
|
|
146
|
+
def initialize: (accepted_at: Time, transaction_id: String) -> void
|
|
147
|
+
|
|
148
|
+
def to_hash: -> { accepted_at: Time, transaction_id: String }
|
|
149
|
+
end
|
|
150
|
+
|
|
134
151
|
type reversal =
|
|
135
152
|
{
|
|
136
153
|
reason: Increase::Models::InboundWireTransfer::Reversal::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.
|
|
4
|
+
version: 1.206.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|