increase 1.76.0 → 1.78.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 +16 -0
- data/README.md +1 -1
- 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/wire_transfer.rb +114 -4
- data/lib/increase/models/wire_transfer_create_params.rb +110 -9
- data/lib/increase/resources/wire_transfers.rb +3 -3
- data/lib/increase/version.rb +1 -1
- 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/wire_transfer.rbi +215 -3
- data/rbi/increase/models/wire_transfer_create_params.rbi +222 -8
- data/rbi/increase/resources/wire_transfers.rbi +3 -3
- 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/wire_transfer.rbs +83 -4
- data/sig/increase/models/wire_transfer_create_params.rbs +91 -5
- data/sig/increase/resources/wire_transfers.rbs +1 -1
- metadata +2 -2
@@ -18,13 +18,14 @@ module Increase
|
|
18
18
|
external_account_id: String?,
|
19
19
|
idempotency_key: String?,
|
20
20
|
inbound_wire_drawdown_request_id: String?,
|
21
|
-
message_to_recipient: String
|
21
|
+
message_to_recipient: String,
|
22
22
|
network: Increase::Models::WireTransfer::network,
|
23
23
|
:originator_address_line1 => String?,
|
24
24
|
:originator_address_line2 => String?,
|
25
25
|
:originator_address_line3 => String?,
|
26
26
|
originator_name: String?,
|
27
27
|
pending_transaction_id: String?,
|
28
|
+
remittance: Increase::WireTransfer::Remittance?,
|
28
29
|
reversal: Increase::WireTransfer::Reversal?,
|
29
30
|
routing_number: String,
|
30
31
|
source_account_number_id: String?,
|
@@ -67,7 +68,7 @@ module Increase
|
|
67
68
|
|
68
69
|
attr_accessor inbound_wire_drawdown_request_id: String?
|
69
70
|
|
70
|
-
attr_accessor message_to_recipient: String
|
71
|
+
attr_accessor message_to_recipient: String
|
71
72
|
|
72
73
|
attr_accessor network: Increase::Models::WireTransfer::network
|
73
74
|
|
@@ -81,6 +82,8 @@ module Increase
|
|
81
82
|
|
82
83
|
attr_accessor pending_transaction_id: String?
|
83
84
|
|
85
|
+
attr_accessor remittance: Increase::WireTransfer::Remittance?
|
86
|
+
|
84
87
|
attr_accessor reversal: Increase::WireTransfer::Reversal?
|
85
88
|
|
86
89
|
attr_accessor routing_number: String
|
@@ -112,13 +115,14 @@ module Increase
|
|
112
115
|
external_account_id: String?,
|
113
116
|
idempotency_key: String?,
|
114
117
|
inbound_wire_drawdown_request_id: String?,
|
115
|
-
message_to_recipient: String
|
118
|
+
message_to_recipient: String,
|
116
119
|
network: Increase::Models::WireTransfer::network,
|
117
120
|
originator_address_line1: String?,
|
118
121
|
originator_address_line2: String?,
|
119
122
|
originator_address_line3: String?,
|
120
123
|
originator_name: String?,
|
121
124
|
pending_transaction_id: String?,
|
125
|
+
remittance: Increase::WireTransfer::Remittance?,
|
122
126
|
reversal: Increase::WireTransfer::Reversal?,
|
123
127
|
routing_number: String,
|
124
128
|
source_account_number_id: String?,
|
@@ -145,13 +149,14 @@ module Increase
|
|
145
149
|
external_account_id: String?,
|
146
150
|
idempotency_key: String?,
|
147
151
|
inbound_wire_drawdown_request_id: String?,
|
148
|
-
message_to_recipient: String
|
152
|
+
message_to_recipient: String,
|
149
153
|
network: Increase::Models::WireTransfer::network,
|
150
154
|
:originator_address_line1 => String?,
|
151
155
|
:originator_address_line2 => String?,
|
152
156
|
:originator_address_line3 => String?,
|
153
157
|
originator_name: String?,
|
154
158
|
pending_transaction_id: String?,
|
159
|
+
remittance: Increase::WireTransfer::Remittance?,
|
155
160
|
reversal: Increase::WireTransfer::Reversal?,
|
156
161
|
routing_number: String,
|
157
162
|
source_account_number_id: String?,
|
@@ -300,6 +305,80 @@ module Increase
|
|
300
305
|
def self?.values: -> ::Array[Increase::Models::WireTransfer::network]
|
301
306
|
end
|
302
307
|
|
308
|
+
type remittance =
|
309
|
+
{
|
310
|
+
category: Increase::Models::WireTransfer::Remittance::category,
|
311
|
+
tax: Increase::WireTransfer::Remittance::Tax?,
|
312
|
+
unstructured: Increase::WireTransfer::Remittance::Unstructured?
|
313
|
+
}
|
314
|
+
|
315
|
+
class Remittance < Increase::Internal::Type::BaseModel
|
316
|
+
attr_accessor category: Increase::Models::WireTransfer::Remittance::category
|
317
|
+
|
318
|
+
attr_accessor tax: Increase::WireTransfer::Remittance::Tax?
|
319
|
+
|
320
|
+
attr_accessor unstructured: Increase::WireTransfer::Remittance::Unstructured?
|
321
|
+
|
322
|
+
def initialize: (
|
323
|
+
category: Increase::Models::WireTransfer::Remittance::category,
|
324
|
+
tax: Increase::WireTransfer::Remittance::Tax?,
|
325
|
+
unstructured: Increase::WireTransfer::Remittance::Unstructured?
|
326
|
+
) -> void
|
327
|
+
|
328
|
+
def to_hash: -> {
|
329
|
+
category: Increase::Models::WireTransfer::Remittance::category,
|
330
|
+
tax: Increase::WireTransfer::Remittance::Tax?,
|
331
|
+
unstructured: Increase::WireTransfer::Remittance::Unstructured?
|
332
|
+
}
|
333
|
+
|
334
|
+
type category = :unstructured | :tax
|
335
|
+
|
336
|
+
module Category
|
337
|
+
extend Increase::Internal::Type::Enum
|
338
|
+
|
339
|
+
# The wire transfer contains unstructured remittance information.
|
340
|
+
UNSTRUCTURED: :unstructured
|
341
|
+
|
342
|
+
# The wire transfer is for tax payment purposes to the Internal Revenue Service (IRS).
|
343
|
+
TAX: :tax
|
344
|
+
|
345
|
+
def self?.values: -> ::Array[Increase::Models::WireTransfer::Remittance::category]
|
346
|
+
end
|
347
|
+
|
348
|
+
type tax =
|
349
|
+
{ date: Date, identification_number: String, type_code: String }
|
350
|
+
|
351
|
+
class Tax < Increase::Internal::Type::BaseModel
|
352
|
+
attr_accessor date: Date
|
353
|
+
|
354
|
+
attr_accessor identification_number: String
|
355
|
+
|
356
|
+
attr_accessor type_code: String
|
357
|
+
|
358
|
+
def initialize: (
|
359
|
+
date: Date,
|
360
|
+
identification_number: String,
|
361
|
+
type_code: String
|
362
|
+
) -> void
|
363
|
+
|
364
|
+
def to_hash: -> {
|
365
|
+
date: Date,
|
366
|
+
identification_number: String,
|
367
|
+
type_code: String
|
368
|
+
}
|
369
|
+
end
|
370
|
+
|
371
|
+
type unstructured = { message: String }
|
372
|
+
|
373
|
+
class Unstructured < Increase::Internal::Type::BaseModel
|
374
|
+
attr_accessor message: String
|
375
|
+
|
376
|
+
def initialize: (message: String) -> void
|
377
|
+
|
378
|
+
def to_hash: -> { message: String }
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
303
382
|
type reversal =
|
304
383
|
{
|
305
384
|
amount: Integer,
|
@@ -5,7 +5,6 @@ module Increase
|
|
5
5
|
account_id: String,
|
6
6
|
amount: Integer,
|
7
7
|
beneficiary_name: String,
|
8
|
-
message_to_recipient: String,
|
9
8
|
account_number: String,
|
10
9
|
:beneficiary_address_line1 => String,
|
11
10
|
:beneficiary_address_line2 => String,
|
@@ -16,6 +15,7 @@ module Increase
|
|
16
15
|
:originator_address_line2 => String,
|
17
16
|
:originator_address_line3 => String,
|
18
17
|
originator_name: String,
|
18
|
+
remittance: Increase::WireTransferCreateParams::Remittance,
|
19
19
|
require_approval: bool,
|
20
20
|
routing_number: String,
|
21
21
|
source_account_number_id: String
|
@@ -32,8 +32,6 @@ module Increase
|
|
32
32
|
|
33
33
|
attr_accessor beneficiary_name: String
|
34
34
|
|
35
|
-
attr_accessor message_to_recipient: String
|
36
|
-
|
37
35
|
attr_reader account_number: String?
|
38
36
|
|
39
37
|
def account_number=: (String) -> String
|
@@ -74,6 +72,12 @@ module Increase
|
|
74
72
|
|
75
73
|
def originator_name=: (String) -> String
|
76
74
|
|
75
|
+
attr_reader remittance: Increase::WireTransferCreateParams::Remittance?
|
76
|
+
|
77
|
+
def remittance=: (
|
78
|
+
Increase::WireTransferCreateParams::Remittance
|
79
|
+
) -> Increase::WireTransferCreateParams::Remittance
|
80
|
+
|
77
81
|
attr_reader require_approval: bool?
|
78
82
|
|
79
83
|
def require_approval=: (bool) -> bool
|
@@ -90,7 +94,6 @@ module Increase
|
|
90
94
|
account_id: String,
|
91
95
|
amount: Integer,
|
92
96
|
beneficiary_name: String,
|
93
|
-
message_to_recipient: String,
|
94
97
|
?account_number: String,
|
95
98
|
?beneficiary_address_line1: String,
|
96
99
|
?beneficiary_address_line2: String,
|
@@ -101,6 +104,7 @@ module Increase
|
|
101
104
|
?originator_address_line2: String,
|
102
105
|
?originator_address_line3: String,
|
103
106
|
?originator_name: String,
|
107
|
+
?remittance: Increase::WireTransferCreateParams::Remittance,
|
104
108
|
?require_approval: bool,
|
105
109
|
?routing_number: String,
|
106
110
|
?source_account_number_id: String,
|
@@ -111,7 +115,6 @@ module Increase
|
|
111
115
|
account_id: String,
|
112
116
|
amount: Integer,
|
113
117
|
beneficiary_name: String,
|
114
|
-
message_to_recipient: String,
|
115
118
|
account_number: String,
|
116
119
|
:beneficiary_address_line1 => String,
|
117
120
|
:beneficiary_address_line2 => String,
|
@@ -122,11 +125,94 @@ module Increase
|
|
122
125
|
:originator_address_line2 => String,
|
123
126
|
:originator_address_line3 => String,
|
124
127
|
originator_name: String,
|
128
|
+
remittance: Increase::WireTransferCreateParams::Remittance,
|
125
129
|
require_approval: bool,
|
126
130
|
routing_number: String,
|
127
131
|
source_account_number_id: String,
|
128
132
|
request_options: Increase::RequestOptions
|
129
133
|
}
|
134
|
+
|
135
|
+
type remittance =
|
136
|
+
{
|
137
|
+
category: Increase::Models::WireTransferCreateParams::Remittance::category,
|
138
|
+
tax: Increase::WireTransferCreateParams::Remittance::Tax,
|
139
|
+
unstructured: Increase::WireTransferCreateParams::Remittance::Unstructured
|
140
|
+
}
|
141
|
+
|
142
|
+
class Remittance < Increase::Internal::Type::BaseModel
|
143
|
+
attr_accessor category: Increase::Models::WireTransferCreateParams::Remittance::category
|
144
|
+
|
145
|
+
attr_reader tax: Increase::WireTransferCreateParams::Remittance::Tax?
|
146
|
+
|
147
|
+
def tax=: (
|
148
|
+
Increase::WireTransferCreateParams::Remittance::Tax
|
149
|
+
) -> Increase::WireTransferCreateParams::Remittance::Tax
|
150
|
+
|
151
|
+
attr_reader unstructured: Increase::WireTransferCreateParams::Remittance::Unstructured?
|
152
|
+
|
153
|
+
def unstructured=: (
|
154
|
+
Increase::WireTransferCreateParams::Remittance::Unstructured
|
155
|
+
) -> Increase::WireTransferCreateParams::Remittance::Unstructured
|
156
|
+
|
157
|
+
def initialize: (
|
158
|
+
category: Increase::Models::WireTransferCreateParams::Remittance::category,
|
159
|
+
?tax: Increase::WireTransferCreateParams::Remittance::Tax,
|
160
|
+
?unstructured: Increase::WireTransferCreateParams::Remittance::Unstructured
|
161
|
+
) -> void
|
162
|
+
|
163
|
+
def to_hash: -> {
|
164
|
+
category: Increase::Models::WireTransferCreateParams::Remittance::category,
|
165
|
+
tax: Increase::WireTransferCreateParams::Remittance::Tax,
|
166
|
+
unstructured: Increase::WireTransferCreateParams::Remittance::Unstructured
|
167
|
+
}
|
168
|
+
|
169
|
+
type category = :unstructured | :tax
|
170
|
+
|
171
|
+
module Category
|
172
|
+
extend Increase::Internal::Type::Enum
|
173
|
+
|
174
|
+
# The wire transfer contains unstructured remittance information.
|
175
|
+
UNSTRUCTURED: :unstructured
|
176
|
+
|
177
|
+
# The wire transfer is for tax payment purposes to the Internal Revenue Service (IRS).
|
178
|
+
TAX: :tax
|
179
|
+
|
180
|
+
def self?.values: -> ::Array[Increase::Models::WireTransferCreateParams::Remittance::category]
|
181
|
+
end
|
182
|
+
|
183
|
+
type tax =
|
184
|
+
{ date: Date, identification_number: String, type_code: String }
|
185
|
+
|
186
|
+
class Tax < Increase::Internal::Type::BaseModel
|
187
|
+
attr_accessor date: Date
|
188
|
+
|
189
|
+
attr_accessor identification_number: String
|
190
|
+
|
191
|
+
attr_accessor type_code: String
|
192
|
+
|
193
|
+
def initialize: (
|
194
|
+
date: Date,
|
195
|
+
identification_number: String,
|
196
|
+
type_code: String
|
197
|
+
) -> void
|
198
|
+
|
199
|
+
def to_hash: -> {
|
200
|
+
date: Date,
|
201
|
+
identification_number: String,
|
202
|
+
type_code: String
|
203
|
+
}
|
204
|
+
end
|
205
|
+
|
206
|
+
type unstructured = { message: String }
|
207
|
+
|
208
|
+
class Unstructured < Increase::Internal::Type::BaseModel
|
209
|
+
attr_accessor message: String
|
210
|
+
|
211
|
+
def initialize: (message: String) -> void
|
212
|
+
|
213
|
+
def to_hash: -> { message: String }
|
214
|
+
end
|
215
|
+
end
|
130
216
|
end
|
131
217
|
end
|
132
218
|
end
|
@@ -5,7 +5,6 @@ module Increase
|
|
5
5
|
account_id: String,
|
6
6
|
amount: Integer,
|
7
7
|
beneficiary_name: String,
|
8
|
-
message_to_recipient: String,
|
9
8
|
?account_number: String,
|
10
9
|
?beneficiary_address_line1: String,
|
11
10
|
?beneficiary_address_line2: String,
|
@@ -16,6 +15,7 @@ module Increase
|
|
16
15
|
?originator_address_line2: String,
|
17
16
|
?originator_address_line3: String,
|
18
17
|
?originator_name: String,
|
18
|
+
?remittance: Increase::WireTransferCreateParams::Remittance,
|
19
19
|
?require_approval: bool,
|
20
20
|
?routing_number: String,
|
21
21
|
?source_account_number_id: String,
|
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.78.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-09-
|
11
|
+
date: 2025-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|