increase 1.77.0 → 1.79.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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/declined_transaction.rb +68 -1
  5. data/lib/increase/models/declined_transaction_list_params.rb +3 -0
  6. data/lib/increase/models/event.rb +6 -0
  7. data/lib/increase/models/event_list_params.rb +6 -0
  8. data/lib/increase/models/event_subscription.rb +6 -0
  9. data/lib/increase/models/event_subscription_create_params.rb +6 -0
  10. data/lib/increase/models/transaction.rb +36 -1
  11. data/lib/increase/models/transaction_list_params.rb +3 -0
  12. data/lib/increase/models/wire_transfer.rb +114 -4
  13. data/lib/increase/models/wire_transfer_create_params.rb +110 -9
  14. data/lib/increase/resources/wire_transfers.rb +3 -3
  15. data/lib/increase/version.rb +1 -1
  16. data/rbi/increase/models/declined_transaction.rbi +159 -0
  17. data/rbi/increase/models/declined_transaction_list_params.rbi +7 -0
  18. data/rbi/increase/models/event.rbi +14 -0
  19. data/rbi/increase/models/event_list_params.rbi +14 -0
  20. data/rbi/increase/models/event_subscription.rbi +14 -0
  21. data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
  22. data/rbi/increase/models/transaction.rbi +75 -0
  23. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  24. data/rbi/increase/models/wire_transfer.rbi +215 -3
  25. data/rbi/increase/models/wire_transfer_create_params.rbi +222 -8
  26. data/rbi/increase/resources/wire_transfers.rbi +3 -3
  27. data/sig/increase/models/declined_transaction.rbs +63 -0
  28. data/sig/increase/models/declined_transaction_list_params.rbs +4 -0
  29. data/sig/increase/models/event.rbs +8 -0
  30. data/sig/increase/models/event_list_params.rbs +8 -0
  31. data/sig/increase/models/event_subscription.rbs +8 -0
  32. data/sig/increase/models/event_subscription_create_params.rbs +8 -0
  33. data/sig/increase/models/transaction.rbs +19 -0
  34. data/sig/increase/models/transaction_list_params.rbs +4 -0
  35. data/sig/increase/models/wire_transfer.rbs +83 -4
  36. data/sig/increase/models/wire_transfer_create_params.rbs +91 -5
  37. data/sig/increase/resources/wire_transfers.rbs +1 -1
  38. metadata +2 -2
@@ -88,6 +88,7 @@ module Increase
88
88
  | :card_decline
89
89
  | :check_decline
90
90
  | :inbound_real_time_payments_transfer_decline
91
+ | :inbound_fednow_transfer_decline
91
92
  | :wire_decline
92
93
  | :check_deposit_rejection
93
94
  | :other
@@ -107,6 +108,9 @@ module Increase
107
108
  # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
108
109
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE: :inbound_real_time_payments_transfer_decline
109
110
 
111
+ # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object.
112
+ INBOUND_FEDNOW_TRANSFER_DECLINE: :inbound_fednow_transfer_decline
113
+
110
114
  # Wire Decline: details will be under the `wire_decline` object.
111
115
  WIRE_DECLINE: :wire_decline
112
116
 
@@ -93,6 +93,8 @@ module Increase
93
93
  | :"inbound_ach_transfer_return.updated"
94
94
  | :"inbound_check_deposit.created"
95
95
  | :"inbound_check_deposit.updated"
96
+ | :"inbound_fednow_transfer.created"
97
+ | :"inbound_fednow_transfer.updated"
96
98
  | :"inbound_mail_item.created"
97
99
  | :"inbound_mail_item.updated"
98
100
  | :"inbound_real_time_payments_transfer.created"
@@ -301,6 +303,12 @@ module Increase
301
303
  # Occurs whenever an Inbound Check Deposit is updated.
302
304
  INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
303
305
 
306
+ # Occurs whenever an Inbound FedNow Transfer is created.
307
+ INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
308
+
309
+ # Occurs whenever an Inbound FedNow Transfer is updated.
310
+ INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
311
+
304
312
  # Occurs whenever an Inbound Mail Item is created.
305
313
  INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
306
314
 
@@ -126,6 +126,8 @@ module Increase
126
126
  | :"inbound_ach_transfer_return.updated"
127
127
  | :"inbound_check_deposit.created"
128
128
  | :"inbound_check_deposit.updated"
129
+ | :"inbound_fednow_transfer.created"
130
+ | :"inbound_fednow_transfer.updated"
129
131
  | :"inbound_mail_item.created"
130
132
  | :"inbound_mail_item.updated"
131
133
  | :"inbound_real_time_payments_transfer.created"
@@ -334,6 +336,12 @@ module Increase
334
336
  # Occurs whenever an Inbound Check Deposit is updated.
335
337
  INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
336
338
 
339
+ # Occurs whenever an Inbound FedNow Transfer is created.
340
+ INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
341
+
342
+ # Occurs whenever an Inbound FedNow Transfer is updated.
343
+ INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
344
+
337
345
  # Occurs whenever an Inbound Mail Item is created.
338
346
  INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
339
347
 
@@ -103,6 +103,8 @@ module Increase
103
103
  | :"inbound_ach_transfer_return.updated"
104
104
  | :"inbound_check_deposit.created"
105
105
  | :"inbound_check_deposit.updated"
106
+ | :"inbound_fednow_transfer.created"
107
+ | :"inbound_fednow_transfer.updated"
106
108
  | :"inbound_mail_item.created"
107
109
  | :"inbound_mail_item.updated"
108
110
  | :"inbound_real_time_payments_transfer.created"
@@ -311,6 +313,12 @@ module Increase
311
313
  # Occurs whenever an Inbound Check Deposit is updated.
312
314
  INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
313
315
 
316
+ # Occurs whenever an Inbound FedNow Transfer is created.
317
+ INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
318
+
319
+ # Occurs whenever an Inbound FedNow Transfer is updated.
320
+ INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
321
+
314
322
  # Occurs whenever an Inbound Mail Item is created.
315
323
  INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
316
324
 
@@ -97,6 +97,8 @@ module Increase
97
97
  | :"inbound_ach_transfer_return.updated"
98
98
  | :"inbound_check_deposit.created"
99
99
  | :"inbound_check_deposit.updated"
100
+ | :"inbound_fednow_transfer.created"
101
+ | :"inbound_fednow_transfer.updated"
100
102
  | :"inbound_mail_item.created"
101
103
  | :"inbound_mail_item.updated"
102
104
  | :"inbound_real_time_payments_transfer.created"
@@ -305,6 +307,12 @@ module Increase
305
307
  # Occurs whenever an Inbound Check Deposit is updated.
306
308
  INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
307
309
 
310
+ # Occurs whenever an Inbound FedNow Transfer is created.
311
+ INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
312
+
313
+ # Occurs whenever an Inbound FedNow Transfer is updated.
314
+ INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
315
+
308
316
  # Occurs whenever an Inbound Mail Item is created.
309
317
  INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
310
318
 
@@ -129,6 +129,7 @@ module Increase
129
129
  inbound_ach_transfer_return_intention: Increase::Transaction::Source::InboundACHTransferReturnIntention?,
130
130
  inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?,
131
131
  inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?,
132
+ inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?,
132
133
  inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?,
133
134
  inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?,
134
135
  inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?,
@@ -190,6 +191,8 @@ module Increase
190
191
 
191
192
  attr_accessor inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?
192
193
 
194
+ attr_accessor inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?
195
+
193
196
  attr_accessor inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?
194
197
 
195
198
  attr_accessor inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?
@@ -238,6 +241,7 @@ module Increase
238
241
  inbound_ach_transfer_return_intention: Increase::Transaction::Source::InboundACHTransferReturnIntention?,
239
242
  inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?,
240
243
  inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?,
244
+ inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?,
241
245
  inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?,
242
246
  inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?,
243
247
  inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?,
@@ -276,6 +280,7 @@ module Increase
276
280
  inbound_ach_transfer_return_intention: Increase::Transaction::Source::InboundACHTransferReturnIntention?,
277
281
  inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?,
278
282
  inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?,
283
+ inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?,
279
284
  inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?,
280
285
  inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?,
281
286
  inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?,
@@ -3156,6 +3161,7 @@ module Increase
3156
3161
  | :inbound_ach_transfer_return_intention
3157
3162
  | :inbound_check_deposit_return_intention
3158
3163
  | :inbound_check_adjustment
3164
+ | :inbound_fednow_transfer_confirmation
3159
3165
  | :inbound_real_time_payments_transfer_confirmation
3160
3166
  | :inbound_wire_reversal
3161
3167
  | :inbound_wire_transfer
@@ -3234,6 +3240,9 @@ module Increase
3234
3240
  # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object.
3235
3241
  INBOUND_CHECK_ADJUSTMENT: :inbound_check_adjustment
3236
3242
 
3243
+ # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
3244
+ INBOUND_FEDNOW_TRANSFER_CONFIRMATION: :inbound_fednow_transfer_confirmation
3245
+
3237
3246
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
3238
3247
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION: :inbound_real_time_payments_transfer_confirmation
3239
3248
 
@@ -3870,6 +3879,16 @@ module Increase
3870
3879
  }
3871
3880
  end
3872
3881
 
3882
+ type inbound_fednow_transfer_confirmation = { transfer_id: String }
3883
+
3884
+ class InboundFednowTransferConfirmation < Increase::Internal::Type::BaseModel
3885
+ attr_accessor transfer_id: String
3886
+
3887
+ def initialize: (transfer_id: String) -> void
3888
+
3889
+ def to_hash: -> { transfer_id: String }
3890
+ end
3891
+
3873
3892
  type inbound_real_time_payments_transfer_confirmation =
3874
3893
  {
3875
3894
  amount: Integer,
@@ -102,6 +102,7 @@ module Increase
102
102
  | :inbound_ach_transfer_return_intention
103
103
  | :inbound_check_deposit_return_intention
104
104
  | :inbound_check_adjustment
105
+ | :inbound_fednow_transfer_confirmation
105
106
  | :inbound_real_time_payments_transfer_confirmation
106
107
  | :inbound_wire_reversal
107
108
  | :inbound_wire_transfer
@@ -180,6 +181,9 @@ module Increase
180
181
  # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object.
181
182
  INBOUND_CHECK_ADJUSTMENT: :inbound_check_adjustment
182
183
 
184
+ # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
185
+ INBOUND_FEDNOW_TRANSFER_CONFIRMATION: :inbound_fednow_transfer_confirmation
186
+
183
187
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
184
188
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION: :inbound_real_time_payments_transfer_confirmation
185
189
 
@@ -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.77.0
4
+ version: 1.79.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-16 00:00:00.000000000 Z
11
+ date: 2025-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool