increase 1.28.0 → 1.30.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/event.rb +6 -0
- data/lib/increase/models/event_list_params.rb +6 -0
- data/lib/increase/models/event_subscription.rb +6 -0
- data/lib/increase/models/event_subscription_create_params.rb +6 -0
- data/lib/increase/models/inbound_wire_transfer.rb +9 -1
- 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/event.rbi +14 -0
- data/rbi/increase/models/event_list_params.rbi +14 -0
- data/rbi/increase/models/event_subscription.rbi +14 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +11 -3
- data/sig/increase/internal/type/converter.rbs +17 -0
- data/sig/increase/internal/type/union.rbs +2 -2
- data/sig/increase/models/event.rbs +8 -0
- data/sig/increase/models/event_list_params.rbs +8 -0
- data/sig/increase/models/event_subscription.rbs +8 -0
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +8 -3
- 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: c9ca7d8d540cec7f55fe53bdc4a1c1327c29d09ad41007c80aa54c9762cc993e
|
|
4
|
+
data.tar.gz: 1234ceea21c92c6c44f3b192ede811e9b17e947f8f5aadba5b7321454fc1cfd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22e29f3a264ba36e0d06028a84e84565d1a62a4b4b502397ae9b11a54c6bb9493e8af387c3f4dccc2a1d1f85fc5ef8aa648881f8eb31c63497aa45a764cf6cb4
|
|
7
|
+
data.tar.gz: abccb4589c83bd3bf02e453dc6514b57e979363766c061831f93d38d0c7469f53a675948e44815ea28988f6ce9e88f3ada099613c5c2fa5c75f1a4be2b393569
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.30.0 (2025-08-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.29.0...v1.30.0](https://github.com/Increase/increase-ruby/compare/v1.29.0...v1.30.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([815c58c](https://github.com/Increase/increase-ruby/commit/815c58c15e47ab866a7b7506cad299796ca8761d))
|
|
10
|
+
|
|
11
|
+
## 1.29.0 (2025-08-11)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.28.0...v1.29.0](https://github.com/Increase/increase-ruby/compare/v1.28.0...v1.29.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([8067d85](https://github.com/Increase/increase-ruby/commit/8067d8591d4f0a2f5a33b796a3f50fe6b5fb6c48))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* collect metadata from type DSL ([175f631](https://github.com/Increase/increase-ruby/commit/175f6319788a5ddb8576871ce2e7db5f87474c57))
|
|
23
|
+
* **internal:** update comment in script ([a4ab2aa](https://github.com/Increase/increase-ruby/commit/a4ab2aa028a24748cde9280d83e4457e966b6aac))
|
|
24
|
+
* update @stainless-api/prism-cli to v5.15.0 ([663a03e](https://github.com/Increase/increase-ruby/commit/663a03e20f29203afbb2b8ff06aa63a0391b3afc))
|
|
25
|
+
|
|
3
26
|
## 1.28.0 (2025-08-07)
|
|
4
27
|
|
|
5
28
|
Full Changelog: [v1.27.0...v1.28.0](https://github.com/Increase/increase-ruby/compare/v1.27.0...v1.28.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
|
|
@@ -250,6 +250,12 @@ module Increase
|
|
|
250
250
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
251
251
|
INTRAFI_EXCLUSION_UPDATED = :"intrafi_exclusion.updated"
|
|
252
252
|
|
|
253
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
254
|
+
LEGACY_CARD_DISPUTE_CREATED = :"legacy_card_dispute.created"
|
|
255
|
+
|
|
256
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
257
|
+
LEGACY_CARD_DISPUTE_UPDATED = :"legacy_card_dispute.updated"
|
|
258
|
+
|
|
253
259
|
# Occurs whenever a Lockbox is created.
|
|
254
260
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
255
261
|
|
|
@@ -252,6 +252,12 @@ module Increase
|
|
|
252
252
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
253
253
|
INTRAFI_EXCLUSION_UPDATED = :"intrafi_exclusion.updated"
|
|
254
254
|
|
|
255
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
256
|
+
LEGACY_CARD_DISPUTE_CREATED = :"legacy_card_dispute.created"
|
|
257
|
+
|
|
258
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
259
|
+
LEGACY_CARD_DISPUTE_UPDATED = :"legacy_card_dispute.updated"
|
|
260
|
+
|
|
255
261
|
# Occurs whenever a Lockbox is created.
|
|
256
262
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
257
263
|
|
|
@@ -273,6 +273,12 @@ module Increase
|
|
|
273
273
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
274
274
|
INTRAFI_EXCLUSION_UPDATED = :"intrafi_exclusion.updated"
|
|
275
275
|
|
|
276
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
277
|
+
LEGACY_CARD_DISPUTE_CREATED = :"legacy_card_dispute.created"
|
|
278
|
+
|
|
279
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
280
|
+
LEGACY_CARD_DISPUTE_UPDATED = :"legacy_card_dispute.updated"
|
|
281
|
+
|
|
276
282
|
# Occurs whenever a Lockbox is created.
|
|
277
283
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
278
284
|
|
|
@@ -234,6 +234,12 @@ module Increase
|
|
|
234
234
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
235
235
|
INTRAFI_EXCLUSION_UPDATED = :"intrafi_exclusion.updated"
|
|
236
236
|
|
|
237
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
238
|
+
LEGACY_CARD_DISPUTE_CREATED = :"legacy_card_dispute.created"
|
|
239
|
+
|
|
240
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
241
|
+
LEGACY_CARD_DISPUTE_UPDATED = :"legacy_card_dispute.updated"
|
|
242
|
+
|
|
237
243
|
# Occurs whenever a Lockbox is created.
|
|
238
244
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
239
245
|
|
|
@@ -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
|
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
|
|
|
@@ -471,6 +471,20 @@ module Increase
|
|
|
471
471
|
Increase::Event::Category::TaggedSymbol
|
|
472
472
|
)
|
|
473
473
|
|
|
474
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
475
|
+
LEGACY_CARD_DISPUTE_CREATED =
|
|
476
|
+
T.let(
|
|
477
|
+
:"legacy_card_dispute.created",
|
|
478
|
+
Increase::Event::Category::TaggedSymbol
|
|
479
|
+
)
|
|
480
|
+
|
|
481
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
482
|
+
LEGACY_CARD_DISPUTE_UPDATED =
|
|
483
|
+
T.let(
|
|
484
|
+
:"legacy_card_dispute.updated",
|
|
485
|
+
Increase::Event::Category::TaggedSymbol
|
|
486
|
+
)
|
|
487
|
+
|
|
474
488
|
# Occurs whenever a Lockbox is created.
|
|
475
489
|
LOCKBOX_CREATED =
|
|
476
490
|
T.let(:"lockbox.created", Increase::Event::Category::TaggedSymbol)
|
|
@@ -564,6 +564,20 @@ module Increase
|
|
|
564
564
|
Increase::EventListParams::Category::In::TaggedSymbol
|
|
565
565
|
)
|
|
566
566
|
|
|
567
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
568
|
+
LEGACY_CARD_DISPUTE_CREATED =
|
|
569
|
+
T.let(
|
|
570
|
+
:"legacy_card_dispute.created",
|
|
571
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
572
|
+
)
|
|
573
|
+
|
|
574
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
575
|
+
LEGACY_CARD_DISPUTE_UPDATED =
|
|
576
|
+
T.let(
|
|
577
|
+
:"legacy_card_dispute.updated",
|
|
578
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
579
|
+
)
|
|
580
|
+
|
|
567
581
|
# Occurs whenever a Lockbox is created.
|
|
568
582
|
LOCKBOX_CREATED =
|
|
569
583
|
T.let(
|
|
@@ -548,6 +548,20 @@ module Increase
|
|
|
548
548
|
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
|
|
549
549
|
)
|
|
550
550
|
|
|
551
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
552
|
+
LEGACY_CARD_DISPUTE_CREATED =
|
|
553
|
+
T.let(
|
|
554
|
+
:"legacy_card_dispute.created",
|
|
555
|
+
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
|
|
556
|
+
)
|
|
557
|
+
|
|
558
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
559
|
+
LEGACY_CARD_DISPUTE_UPDATED =
|
|
560
|
+
T.let(
|
|
561
|
+
:"legacy_card_dispute.updated",
|
|
562
|
+
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
|
|
563
|
+
)
|
|
564
|
+
|
|
551
565
|
# Occurs whenever a Lockbox is created.
|
|
552
566
|
LOCKBOX_CREATED =
|
|
553
567
|
T.let(
|
|
@@ -528,6 +528,20 @@ module Increase
|
|
|
528
528
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
|
|
529
529
|
)
|
|
530
530
|
|
|
531
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
532
|
+
LEGACY_CARD_DISPUTE_CREATED =
|
|
533
|
+
T.let(
|
|
534
|
+
:"legacy_card_dispute.created",
|
|
535
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
|
|
536
|
+
)
|
|
537
|
+
|
|
538
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
539
|
+
LEGACY_CARD_DISPUTE_UPDATED =
|
|
540
|
+
T.let(
|
|
541
|
+
:"legacy_card_dispute.updated",
|
|
542
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
|
|
543
|
+
)
|
|
544
|
+
|
|
531
545
|
# Occurs whenever a Lockbox is created.
|
|
532
546
|
LOCKBOX_CREATED =
|
|
533
547
|
T.let(
|
|
@@ -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
|
|
@@ -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
|
|
|
@@ -102,6 +102,8 @@ module Increase
|
|
|
102
102
|
| :"intrafi_account_enrollment.updated"
|
|
103
103
|
| :"intrafi_exclusion.created"
|
|
104
104
|
| :"intrafi_exclusion.updated"
|
|
105
|
+
| :"legacy_card_dispute.created"
|
|
106
|
+
| :"legacy_card_dispute.updated"
|
|
105
107
|
| :"lockbox.created"
|
|
106
108
|
| :"lockbox.updated"
|
|
107
109
|
| :"oauth_connection.created"
|
|
@@ -324,6 +326,12 @@ module Increase
|
|
|
324
326
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
325
327
|
INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
|
|
326
328
|
|
|
329
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
330
|
+
LEGACY_CARD_DISPUTE_CREATED: :"legacy_card_dispute.created"
|
|
331
|
+
|
|
332
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
333
|
+
LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
|
|
334
|
+
|
|
327
335
|
# Occurs whenever a Lockbox is created.
|
|
328
336
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
329
337
|
|
|
@@ -135,6 +135,8 @@ module Increase
|
|
|
135
135
|
| :"intrafi_account_enrollment.updated"
|
|
136
136
|
| :"intrafi_exclusion.created"
|
|
137
137
|
| :"intrafi_exclusion.updated"
|
|
138
|
+
| :"legacy_card_dispute.created"
|
|
139
|
+
| :"legacy_card_dispute.updated"
|
|
138
140
|
| :"lockbox.created"
|
|
139
141
|
| :"lockbox.updated"
|
|
140
142
|
| :"oauth_connection.created"
|
|
@@ -357,6 +359,12 @@ module Increase
|
|
|
357
359
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
358
360
|
INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
|
|
359
361
|
|
|
362
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
363
|
+
LEGACY_CARD_DISPUTE_CREATED: :"legacy_card_dispute.created"
|
|
364
|
+
|
|
365
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
366
|
+
LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
|
|
367
|
+
|
|
360
368
|
# Occurs whenever a Lockbox is created.
|
|
361
369
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
362
370
|
|
|
@@ -112,6 +112,8 @@ module Increase
|
|
|
112
112
|
| :"intrafi_account_enrollment.updated"
|
|
113
113
|
| :"intrafi_exclusion.created"
|
|
114
114
|
| :"intrafi_exclusion.updated"
|
|
115
|
+
| :"legacy_card_dispute.created"
|
|
116
|
+
| :"legacy_card_dispute.updated"
|
|
115
117
|
| :"lockbox.created"
|
|
116
118
|
| :"lockbox.updated"
|
|
117
119
|
| :"oauth_connection.created"
|
|
@@ -334,6 +336,12 @@ module Increase
|
|
|
334
336
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
335
337
|
INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
|
|
336
338
|
|
|
339
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
340
|
+
LEGACY_CARD_DISPUTE_CREATED: :"legacy_card_dispute.created"
|
|
341
|
+
|
|
342
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
343
|
+
LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
|
|
344
|
+
|
|
337
345
|
# Occurs whenever a Lockbox is created.
|
|
338
346
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
339
347
|
|
|
@@ -106,6 +106,8 @@ module Increase
|
|
|
106
106
|
| :"intrafi_account_enrollment.updated"
|
|
107
107
|
| :"intrafi_exclusion.created"
|
|
108
108
|
| :"intrafi_exclusion.updated"
|
|
109
|
+
| :"legacy_card_dispute.created"
|
|
110
|
+
| :"legacy_card_dispute.updated"
|
|
109
111
|
| :"lockbox.created"
|
|
110
112
|
| :"lockbox.updated"
|
|
111
113
|
| :"oauth_connection.created"
|
|
@@ -328,6 +330,12 @@ module Increase
|
|
|
328
330
|
# Occurs whenever an IntraFi Exclusion is updated.
|
|
329
331
|
INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
|
|
330
332
|
|
|
333
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
334
|
+
LEGACY_CARD_DISPUTE_CREATED: :"legacy_card_dispute.created"
|
|
335
|
+
|
|
336
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
337
|
+
LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
|
|
338
|
+
|
|
331
339
|
# Occurs whenever a Lockbox is created.
|
|
332
340
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
333
341
|
|
|
@@ -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 =
|
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.30.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
|