increase 1.27.0 → 1.29.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 +23 -0
- data/README.md +1 -1
- data/lib/increase/internal/type/array_of.rb +1 -0
- data/lib/increase/internal/type/base_model.rb +3 -1
- data/lib/increase/internal/type/converter.rb +27 -0
- data/lib/increase/internal/type/hash_of.rb +1 -0
- data/lib/increase/internal/type/union.rb +9 -7
- data/lib/increase/models/inbound_wire_transfer.rb +9 -1
- data/lib/increase/models/transaction.rb +9 -9
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/internal/type/converter.rbi +54 -0
- data/rbi/increase/internal/type/union.rbi +9 -2
- data/rbi/increase/models/inbound_wire_transfer.rbi +11 -3
- data/rbi/increase/models/transaction.rbi +13 -13
- data/sig/increase/internal/type/converter.rbs +17 -0
- data/sig/increase/internal/type/union.rbs +2 -2
- data/sig/increase/models/inbound_wire_transfer.rbs +8 -3
- data/sig/increase/models/transaction.rbs +13 -13
- 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: 72eef8a42bcf42de257bc514af9b0b69149064c17e6a7fe04b0a547d1243bd65
|
4
|
+
data.tar.gz: 453e4e366655928b7cac0631f1bd38781de21ba1a094b00a07e3c65a71173e40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc7c40d4fa13c233b630026a58b7da093dc8924a92be91aff201a35924fb67b5b35fe856d09f7745d543dd543a25349e597134b413f089f5902ab28845a3152a
|
7
|
+
data.tar.gz: 7907d088a22a577166f8bb34083d75d57efab0c73c4aafe8466d8dda23957c21ea34702b22c68a181d49e399a504f67848390125a587bdabf9bd5f59eda29c82
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.29.0 (2025-08-11)
|
4
|
+
|
5
|
+
Full Changelog: [v1.28.0...v1.29.0](https://github.com/Increase/increase-ruby/compare/v1.28.0...v1.29.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([8067d85](https://github.com/Increase/increase-ruby/commit/8067d8591d4f0a2f5a33b796a3f50fe6b5fb6c48))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* collect metadata from type DSL ([175f631](https://github.com/Increase/increase-ruby/commit/175f6319788a5ddb8576871ce2e7db5f87474c57))
|
15
|
+
* **internal:** update comment in script ([a4ab2aa](https://github.com/Increase/increase-ruby/commit/a4ab2aa028a24748cde9280d83e4457e966b6aac))
|
16
|
+
* update @stainless-api/prism-cli to v5.15.0 ([663a03e](https://github.com/Increase/increase-ruby/commit/663a03e20f29203afbb2b8ff06aa63a0391b3afc))
|
17
|
+
|
18
|
+
## 1.28.0 (2025-08-07)
|
19
|
+
|
20
|
+
Full Changelog: [v1.27.0...v1.28.0](https://github.com/Increase/increase-ruby/compare/v1.27.0...v1.28.0)
|
21
|
+
|
22
|
+
### Features
|
23
|
+
|
24
|
+
* **api:** api update ([e3cfc2d](https://github.com/Increase/increase-ruby/commit/e3cfc2d3f8b3d0927f21d78ebde304ae99a4c8bd))
|
25
|
+
|
3
26
|
## 1.27.0 (2025-08-07)
|
4
27
|
|
5
28
|
Full Changelog: [v1.26.0...v1.27.0](https://github.com/Increase/increase-ruby/compare/v1.26.0...v1.27.0)
|
data/README.md
CHANGED
@@ -148,6 +148,7 @@ module Increase
|
|
148
148
|
# @option spec [Boolean] :"nil?"
|
149
149
|
def initialize(type_info, spec = {})
|
150
150
|
@item_type_fn = Increase::Internal::Type::Converter.type_info(type_info || spec)
|
151
|
+
@meta = Increase::Internal::Type::Converter.meta_info(type_info, spec)
|
151
152
|
@nilable = spec.fetch(:nil?, false)
|
152
153
|
end
|
153
154
|
|
@@ -52,6 +52,7 @@ module Increase
|
|
52
52
|
#
|
53
53
|
# @option spec [Boolean] :"nil?"
|
54
54
|
private def add_field(name_sym, required:, type_info:, spec:)
|
55
|
+
meta = Increase::Internal::Type::Converter.meta_info(type_info, spec)
|
55
56
|
type_fn, info =
|
56
57
|
case type_info
|
57
58
|
in Proc | Increase::Internal::Type::Converter | Class
|
@@ -81,7 +82,8 @@ module Increase
|
|
81
82
|
required: required,
|
82
83
|
nilable: nilable,
|
83
84
|
const: const,
|
84
|
-
type_fn: type_fn
|
85
|
+
type_fn: type_fn,
|
86
|
+
meta: meta
|
85
87
|
}
|
86
88
|
|
87
89
|
define_method(setter) do |value|
|
@@ -98,6 +98,33 @@ module Increase
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
# @api private
|
102
|
+
#
|
103
|
+
# @param type_info [Hash{Symbol=>Object}, Proc, Increase::Internal::Type::Converter, Class] .
|
104
|
+
#
|
105
|
+
# @option type_info [NilClass, TrueClass, FalseClass, Integer, Float, Symbol] :const
|
106
|
+
#
|
107
|
+
# @option type_info [Proc] :enum
|
108
|
+
#
|
109
|
+
# @option type_info [Proc] :union
|
110
|
+
#
|
111
|
+
# @option type_info [Boolean] :"nil?"
|
112
|
+
#
|
113
|
+
# @param spec [Hash{Symbol=>Object}, Proc, Increase::Internal::Type::Converter, Class] .
|
114
|
+
#
|
115
|
+
# @option spec [NilClass, TrueClass, FalseClass, Integer, Float, Symbol] :const
|
116
|
+
#
|
117
|
+
# @option spec [Proc] :enum
|
118
|
+
#
|
119
|
+
# @option spec [Proc] :union
|
120
|
+
#
|
121
|
+
# @option spec [Boolean] :"nil?"
|
122
|
+
#
|
123
|
+
# @return [Hash{Symbol=>Object}]
|
124
|
+
def meta_info(type_info, spec)
|
125
|
+
[spec, type_info].grep(Hash).first.to_h.except(:const, :enum, :union, :nil?)
|
126
|
+
end
|
127
|
+
|
101
128
|
# @api private
|
102
129
|
#
|
103
130
|
# @param translate_names [Boolean]
|
@@ -168,6 +168,7 @@ module Increase
|
|
168
168
|
# @option spec [Boolean] :"nil?"
|
169
169
|
def initialize(type_info, spec = {})
|
170
170
|
@item_type_fn = Increase::Internal::Type::Converter.type_info(type_info || spec)
|
171
|
+
@meta = Increase::Internal::Type::Converter.meta_info(type_info, spec)
|
171
172
|
@nilable = spec.fetch(:nil?, false)
|
172
173
|
end
|
173
174
|
|
@@ -12,20 +12,20 @@ module Increase
|
|
12
12
|
#
|
13
13
|
# All of the specified variant info for this union.
|
14
14
|
#
|
15
|
-
# @return [Array<Array(Symbol, Proc)>]
|
15
|
+
# @return [Array<Array(Symbol, Proc, Hash{Symbol=>Object})>]
|
16
16
|
private def known_variants = (@known_variants ||= [])
|
17
17
|
|
18
18
|
# @api private
|
19
19
|
#
|
20
|
-
# @return [Array<Array(Symbol, Object)>]
|
20
|
+
# @return [Array<Array(Symbol, Object, Hash{Symbol=>Object})>]
|
21
21
|
protected def derefed_variants
|
22
|
-
known_variants.map { |key, variant_fn| [key, variant_fn.call] }
|
22
|
+
known_variants.map { |key, variant_fn, meta| [key, variant_fn.call, meta] }
|
23
23
|
end
|
24
24
|
|
25
25
|
# All of the specified variants for this union.
|
26
26
|
#
|
27
27
|
# @return [Array<Object>]
|
28
|
-
def variants = derefed_variants.map
|
28
|
+
def variants = derefed_variants.map { _2 }
|
29
29
|
|
30
30
|
# @api private
|
31
31
|
#
|
@@ -51,12 +51,13 @@ module Increase
|
|
51
51
|
#
|
52
52
|
# @option spec [Boolean] :"nil?"
|
53
53
|
private def variant(key, spec = nil)
|
54
|
+
meta = Increase::Internal::Type::Converter.meta_info(nil, spec)
|
54
55
|
variant_info =
|
55
56
|
case key
|
56
57
|
in Symbol
|
57
|
-
[key, Increase::Internal::Type::Converter.type_info(spec)]
|
58
|
+
[key, Increase::Internal::Type::Converter.type_info(spec), meta]
|
58
59
|
in Proc | Increase::Internal::Type::Converter | Class | Hash
|
59
|
-
[nil, Increase::Internal::Type::Converter.type_info(key)]
|
60
|
+
[nil, Increase::Internal::Type::Converter.type_info(key), meta]
|
60
61
|
end
|
61
62
|
|
62
63
|
known_variants << variant_info
|
@@ -79,7 +80,8 @@ module Increase
|
|
79
80
|
return nil if key == Increase::Internal::OMIT
|
80
81
|
|
81
82
|
key = key.to_sym if key.is_a?(String)
|
82
|
-
known_variants.find { |k,| k == key }
|
83
|
+
_, found = known_variants.find { |k,| k == key }
|
84
|
+
found&.call
|
83
85
|
else
|
84
86
|
nil
|
85
87
|
end
|
@@ -166,7 +166,13 @@ module Increase
|
|
166
166
|
# @return [Symbol, Increase::Models::InboundWireTransfer::Type]
|
167
167
|
required :type, enum: -> { Increase::InboundWireTransfer::Type }
|
168
168
|
|
169
|
-
# @!
|
169
|
+
# @!attribute wire_drawdown_request_id
|
170
|
+
# The wire drawdown request the inbound wire transfer is fulfilling.
|
171
|
+
#
|
172
|
+
# @return [String, nil]
|
173
|
+
required :wire_drawdown_request_id, String, nil?: true
|
174
|
+
|
175
|
+
# @!method initialize(id:, account_id:, account_number_id:, amount:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_reference:, created_at:, description:, input_message_accountability_data:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, reversal:, sender_reference:, status:, type:, wire_drawdown_request_id:)
|
170
176
|
# Some parameter documentations has been truncated, see
|
171
177
|
# {Increase::Models::InboundWireTransfer} for more details.
|
172
178
|
#
|
@@ -224,6 +230,8 @@ module Increase
|
|
224
230
|
# @param status [Symbol, Increase::Models::InboundWireTransfer::Status] The status of the transfer.
|
225
231
|
#
|
226
232
|
# @param type [Symbol, Increase::Models::InboundWireTransfer::Type] A constant representing the object's type. For this resource it will always be `
|
233
|
+
#
|
234
|
+
# @param wire_drawdown_request_id [String, nil] The wire drawdown request the inbound wire transfer is fulfilling.
|
227
235
|
|
228
236
|
# @see Increase::Models::InboundWireTransfer#reversal
|
229
237
|
class Reversal < Increase::Internal::Type::BaseModel
|
@@ -1156,20 +1156,20 @@ module Increase
|
|
1156
1156
|
# The user's chargeback was submitted.
|
1157
1157
|
CHARGEBACK_SUBMITTED = :chargeback_submitted
|
1158
1158
|
|
1159
|
-
# The user declined the merchant's
|
1160
|
-
|
1159
|
+
# The user declined the merchant's pre-arbitration submission.
|
1160
|
+
MERCHANT_PREARBITRATION_DECLINE_SUBMITTED = :merchant_prearbitration_decline_submitted
|
1161
1161
|
|
1162
|
-
# The merchant's
|
1163
|
-
|
1162
|
+
# The merchant's pre-arbitration submission was received.
|
1163
|
+
MERCHANT_PREARBITRATION_RECEIVED = :merchant_prearbitration_received
|
1164
1164
|
|
1165
|
-
# The transaction was
|
1165
|
+
# The transaction was re-presented by the merchant.
|
1166
1166
|
REPRESENTED = :represented
|
1167
1167
|
|
1168
|
-
# The user's
|
1169
|
-
|
1168
|
+
# The user's pre-arbitration was declined by the merchant.
|
1169
|
+
USER_PREARBITRATION_DECLINE_RECEIVED = :user_prearbitration_decline_received
|
1170
1170
|
|
1171
|
-
# The user's
|
1172
|
-
|
1171
|
+
# The user's pre-arbitration was submitted.
|
1172
|
+
USER_PREARBITRATION_SUBMITTED = :user_prearbitration_submitted
|
1173
1173
|
|
1174
1174
|
# The user withdrew from the dispute.
|
1175
1175
|
USER_WITHDRAWAL_SUBMITTED = :user_withdrawal_submitted
|
data/lib/increase/version.rb
CHANGED
@@ -90,6 +90,60 @@ module Increase
|
|
90
90
|
def self.type_info(spec)
|
91
91
|
end
|
92
92
|
|
93
|
+
# @api private
|
94
|
+
sig do
|
95
|
+
params(
|
96
|
+
type_info:
|
97
|
+
T.any(
|
98
|
+
{
|
99
|
+
const:
|
100
|
+
T.nilable(
|
101
|
+
T.any(NilClass, T::Boolean, Integer, Float, Symbol)
|
102
|
+
),
|
103
|
+
enum:
|
104
|
+
T.nilable(
|
105
|
+
T.proc.returns(
|
106
|
+
Increase::Internal::Type::Converter::Input
|
107
|
+
)
|
108
|
+
),
|
109
|
+
union:
|
110
|
+
T.nilable(
|
111
|
+
T.proc.returns(
|
112
|
+
Increase::Internal::Type::Converter::Input
|
113
|
+
)
|
114
|
+
)
|
115
|
+
},
|
116
|
+
T.proc.returns(Increase::Internal::Type::Converter::Input),
|
117
|
+
Increase::Internal::Type::Converter::Input
|
118
|
+
),
|
119
|
+
spec:
|
120
|
+
T.any(
|
121
|
+
{
|
122
|
+
const:
|
123
|
+
T.nilable(
|
124
|
+
T.any(NilClass, T::Boolean, Integer, Float, Symbol)
|
125
|
+
),
|
126
|
+
enum:
|
127
|
+
T.nilable(
|
128
|
+
T.proc.returns(
|
129
|
+
Increase::Internal::Type::Converter::Input
|
130
|
+
)
|
131
|
+
),
|
132
|
+
union:
|
133
|
+
T.nilable(
|
134
|
+
T.proc.returns(
|
135
|
+
Increase::Internal::Type::Converter::Input
|
136
|
+
)
|
137
|
+
)
|
138
|
+
},
|
139
|
+
T.proc.returns(Increase::Internal::Type::Converter::Input),
|
140
|
+
Increase::Internal::Type::Converter::Input
|
141
|
+
)
|
142
|
+
).returns(Increase::Internal::AnyHash)
|
143
|
+
end
|
144
|
+
def self.meta_info(type_info, spec)
|
145
|
+
end
|
146
|
+
|
93
147
|
# @api private
|
94
148
|
sig do
|
95
149
|
params(translate_names: T::Boolean).returns(
|
@@ -16,7 +16,8 @@ module Increase
|
|
16
16
|
T::Array[
|
17
17
|
[
|
18
18
|
T.nilable(Symbol),
|
19
|
-
T.proc.returns(Increase::Internal::Type::Converter::Input)
|
19
|
+
T.proc.returns(Increase::Internal::Type::Converter::Input),
|
20
|
+
Increase::Internal::AnyHash
|
20
21
|
]
|
21
22
|
]
|
22
23
|
)
|
@@ -25,7 +26,13 @@ module Increase
|
|
25
26
|
end
|
26
27
|
|
27
28
|
# @api private
|
28
|
-
sig
|
29
|
+
sig do
|
30
|
+
returns(
|
31
|
+
T::Array[
|
32
|
+
[T.nilable(Symbol), T.anything, Increase::Internal::AnyHash]
|
33
|
+
]
|
34
|
+
)
|
35
|
+
end
|
29
36
|
protected def derefed_variants
|
30
37
|
end
|
31
38
|
|
@@ -125,6 +125,10 @@ module Increase
|
|
125
125
|
sig { returns(Increase::InboundWireTransfer::Type::TaggedSymbol) }
|
126
126
|
attr_accessor :type
|
127
127
|
|
128
|
+
# The wire drawdown request the inbound wire transfer is fulfilling.
|
129
|
+
sig { returns(T.nilable(String)) }
|
130
|
+
attr_accessor :wire_drawdown_request_id
|
131
|
+
|
128
132
|
# An Inbound Wire Transfer is a wire transfer initiated outside of Increase to
|
129
133
|
# your account.
|
130
134
|
sig do
|
@@ -154,7 +158,8 @@ module Increase
|
|
154
158
|
reversal: T.nilable(Increase::InboundWireTransfer::Reversal::OrHash),
|
155
159
|
sender_reference: T.nilable(String),
|
156
160
|
status: Increase::InboundWireTransfer::Status::OrSymbol,
|
157
|
-
type: Increase::InboundWireTransfer::Type::OrSymbol
|
161
|
+
type: Increase::InboundWireTransfer::Type::OrSymbol,
|
162
|
+
wire_drawdown_request_id: T.nilable(String)
|
158
163
|
).returns(T.attached_class)
|
159
164
|
end
|
160
165
|
def self.new(
|
@@ -215,7 +220,9 @@ module Increase
|
|
215
220
|
status:,
|
216
221
|
# A constant representing the object's type. For this resource it will always be
|
217
222
|
# `inbound_wire_transfer`.
|
218
|
-
type
|
223
|
+
type:,
|
224
|
+
# The wire drawdown request the inbound wire transfer is fulfilling.
|
225
|
+
wire_drawdown_request_id:
|
219
226
|
)
|
220
227
|
end
|
221
228
|
|
@@ -247,7 +254,8 @@ module Increase
|
|
247
254
|
reversal: T.nilable(Increase::InboundWireTransfer::Reversal),
|
248
255
|
sender_reference: T.nilable(String),
|
249
256
|
status: Increase::InboundWireTransfer::Status::TaggedSymbol,
|
250
|
-
type: Increase::InboundWireTransfer::Type::TaggedSymbol
|
257
|
+
type: Increase::InboundWireTransfer::Type::TaggedSymbol,
|
258
|
+
wire_drawdown_request_id: T.nilable(String)
|
251
259
|
}
|
252
260
|
)
|
253
261
|
end
|
@@ -2337,38 +2337,38 @@ module Increase
|
|
2337
2337
|
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2338
2338
|
)
|
2339
2339
|
|
2340
|
-
# The user declined the merchant's
|
2341
|
-
|
2340
|
+
# The user declined the merchant's pre-arbitration submission.
|
2341
|
+
MERCHANT_PREARBITRATION_DECLINE_SUBMITTED =
|
2342
2342
|
T.let(
|
2343
|
-
:
|
2343
|
+
:merchant_prearbitration_decline_submitted,
|
2344
2344
|
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2345
2345
|
)
|
2346
2346
|
|
2347
|
-
# The merchant's
|
2348
|
-
|
2347
|
+
# The merchant's pre-arbitration submission was received.
|
2348
|
+
MERCHANT_PREARBITRATION_RECEIVED =
|
2349
2349
|
T.let(
|
2350
|
-
:
|
2350
|
+
:merchant_prearbitration_received,
|
2351
2351
|
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2352
2352
|
)
|
2353
2353
|
|
2354
|
-
# The transaction was
|
2354
|
+
# The transaction was re-presented by the merchant.
|
2355
2355
|
REPRESENTED =
|
2356
2356
|
T.let(
|
2357
2357
|
:represented,
|
2358
2358
|
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2359
2359
|
)
|
2360
2360
|
|
2361
|
-
# The user's
|
2362
|
-
|
2361
|
+
# The user's pre-arbitration was declined by the merchant.
|
2362
|
+
USER_PREARBITRATION_DECLINE_RECEIVED =
|
2363
2363
|
T.let(
|
2364
|
-
:
|
2364
|
+
:user_prearbitration_decline_received,
|
2365
2365
|
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2366
2366
|
)
|
2367
2367
|
|
2368
|
-
# The user's
|
2369
|
-
|
2368
|
+
# The user's pre-arbitration was submitted.
|
2369
|
+
USER_PREARBITRATION_SUBMITTED =
|
2370
2370
|
T.let(
|
2371
|
-
:
|
2371
|
+
:user_prearbitration_submitted,
|
2372
2372
|
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2373
2373
|
)
|
2374
2374
|
|
@@ -39,6 +39,23 @@ module Increase
|
|
39
39
|
| Increase::Internal::Type::Converter::input spec
|
40
40
|
) -> (^-> top)
|
41
41
|
|
42
|
+
def self.meta_info: (
|
43
|
+
{
|
44
|
+
const: (nil | bool | Integer | Float | Symbol)?,
|
45
|
+
enum: ^-> Increase::Internal::Type::Converter::input?,
|
46
|
+
union: ^-> Increase::Internal::Type::Converter::input?
|
47
|
+
}
|
48
|
+
| ^-> Increase::Internal::Type::Converter::input
|
49
|
+
| Increase::Internal::Type::Converter::input type_info,
|
50
|
+
{
|
51
|
+
const: (nil | bool | Integer | Float | Symbol)?,
|
52
|
+
enum: ^-> Increase::Internal::Type::Converter::input?,
|
53
|
+
union: ^-> Increase::Internal::Type::Converter::input?
|
54
|
+
}
|
55
|
+
| ^-> Increase::Internal::Type::Converter::input
|
56
|
+
| Increase::Internal::Type::Converter::input spec
|
57
|
+
) -> ::Hash[Symbol, top]
|
58
|
+
|
42
59
|
def self.new_coerce_state: (
|
43
60
|
?translate_names: bool
|
44
61
|
) -> Increase::Internal::Type::Converter::coerce_state
|
@@ -5,9 +5,9 @@ module Increase
|
|
5
5
|
include Increase::Internal::Type::Converter
|
6
6
|
include Increase::Internal::Util::SorbetRuntimeSupport
|
7
7
|
|
8
|
-
private def self.known_variants: -> ::Array[[Symbol?, (^-> Increase::Internal::Type::Converter::input)]]
|
8
|
+
private def self.known_variants: -> ::Array[[Symbol?, (^-> Increase::Internal::Type::Converter::input), ::Hash[Symbol, top]]]
|
9
9
|
|
10
|
-
def self.derefed_variants: -> ::Array[[Symbol?, top]]
|
10
|
+
def self.derefed_variants: -> ::Array[[Symbol?, top, ::Hash[Symbol, top]]]
|
11
11
|
|
12
12
|
def self.variants: -> ::Array[top]
|
13
13
|
|
@@ -27,7 +27,8 @@ module Increase
|
|
27
27
|
reversal: Increase::InboundWireTransfer::Reversal?,
|
28
28
|
sender_reference: String?,
|
29
29
|
status: Increase::Models::InboundWireTransfer::status,
|
30
|
-
type: Increase::Models::InboundWireTransfer::type_
|
30
|
+
type: Increase::Models::InboundWireTransfer::type_,
|
31
|
+
wire_drawdown_request_id: String?
|
31
32
|
}
|
32
33
|
|
33
34
|
class InboundWireTransfer < Increase::Internal::Type::BaseModel
|
@@ -83,6 +84,8 @@ module Increase
|
|
83
84
|
|
84
85
|
attr_accessor type: Increase::Models::InboundWireTransfer::type_
|
85
86
|
|
87
|
+
attr_accessor wire_drawdown_request_id: String?
|
88
|
+
|
86
89
|
def initialize: (
|
87
90
|
id: String,
|
88
91
|
account_id: String,
|
@@ -109,7 +112,8 @@ module Increase
|
|
109
112
|
reversal: Increase::InboundWireTransfer::Reversal?,
|
110
113
|
sender_reference: String?,
|
111
114
|
status: Increase::Models::InboundWireTransfer::status,
|
112
|
-
type: Increase::Models::InboundWireTransfer::type_
|
115
|
+
type: Increase::Models::InboundWireTransfer::type_,
|
116
|
+
wire_drawdown_request_id: String?
|
113
117
|
) -> void
|
114
118
|
|
115
119
|
def to_hash: -> {
|
@@ -138,7 +142,8 @@ module Increase
|
|
138
142
|
reversal: Increase::InboundWireTransfer::Reversal?,
|
139
143
|
sender_reference: String?,
|
140
144
|
status: Increase::Models::InboundWireTransfer::status,
|
141
|
-
type: Increase::Models::InboundWireTransfer::type_
|
145
|
+
type: Increase::Models::InboundWireTransfer::type_,
|
146
|
+
wire_drawdown_request_id: String?
|
142
147
|
}
|
143
148
|
|
144
149
|
type reversal =
|
@@ -813,11 +813,11 @@ module Increase
|
|
813
813
|
|
814
814
|
type event_type =
|
815
815
|
:chargeback_submitted
|
816
|
-
| :
|
817
|
-
| :
|
816
|
+
| :merchant_prearbitration_decline_submitted
|
817
|
+
| :merchant_prearbitration_received
|
818
818
|
| :represented
|
819
|
-
| :
|
820
|
-
| :
|
819
|
+
| :user_prearbitration_decline_received
|
820
|
+
| :user_prearbitration_submitted
|
821
821
|
| :user_withdrawal_submitted
|
822
822
|
|
823
823
|
module EventType
|
@@ -826,20 +826,20 @@ module Increase
|
|
826
826
|
# The user's chargeback was submitted.
|
827
827
|
CHARGEBACK_SUBMITTED: :chargeback_submitted
|
828
828
|
|
829
|
-
# The user declined the merchant's
|
830
|
-
|
829
|
+
# The user declined the merchant's pre-arbitration submission.
|
830
|
+
MERCHANT_PREARBITRATION_DECLINE_SUBMITTED: :merchant_prearbitration_decline_submitted
|
831
831
|
|
832
|
-
# The merchant's
|
833
|
-
|
832
|
+
# The merchant's pre-arbitration submission was received.
|
833
|
+
MERCHANT_PREARBITRATION_RECEIVED: :merchant_prearbitration_received
|
834
834
|
|
835
|
-
# The transaction was
|
835
|
+
# The transaction was re-presented by the merchant.
|
836
836
|
REPRESENTED: :represented
|
837
837
|
|
838
|
-
# The user's
|
839
|
-
|
838
|
+
# The user's pre-arbitration was declined by the merchant.
|
839
|
+
USER_PREARBITRATION_DECLINE_RECEIVED: :user_prearbitration_decline_received
|
840
840
|
|
841
|
-
# The user's
|
842
|
-
|
841
|
+
# The user's pre-arbitration was submitted.
|
842
|
+
USER_PREARBITRATION_SUBMITTED: :user_prearbitration_submitted
|
843
843
|
|
844
844
|
# The user withdrew from the dispute.
|
845
845
|
USER_WITHDRAWAL_SUBMITTED: :user_withdrawal_submitted
|
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.29.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-08-
|
11
|
+
date: 2025-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|