increase 1.347.0 → 1.348.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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  4. data/lib/increase/models/ach_transfer.rb +2 -2
  5. data/lib/increase/models/ach_transfer_create_params.rb +1 -24
  6. data/lib/increase/models/balance_lookup.rb +49 -1
  7. data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
  8. data/lib/increase/models/card.rb +43 -1
  9. data/lib/increase/models/card_create_params.rb +42 -1
  10. data/lib/increase/models/card_dispute.rb +1 -1
  11. data/lib/increase/models/card_dispute_list_params.rb +1 -1
  12. data/lib/increase/models/card_payment.rb +18 -1
  13. data/lib/increase/models/check_transfer.rb +13 -1
  14. data/lib/increase/models/check_transfer_create_params.rb +25 -13
  15. data/lib/increase/models/entity.rb +22 -4
  16. data/lib/increase/models/entity_update_params.rb +754 -1
  17. data/lib/increase/models/event.rb +9 -0
  18. data/lib/increase/models/event_list_params.rb +9 -0
  19. data/lib/increase/models/event_subscription.rb +9 -0
  20. data/lib/increase/models/event_subscription_create_params.rb +9 -0
  21. data/lib/increase/models/file.rb +7 -6
  22. data/lib/increase/models/inbound_ach_transfer.rb +6 -6
  23. data/lib/increase/models/pending_transaction.rb +18 -1
  24. data/lib/increase/models/real_time_decision.rb +18 -1
  25. data/lib/increase/models/real_time_payments_transfer.rb +30 -19
  26. data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
  27. data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
  28. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  29. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
  30. data/lib/increase/models/unwrap_webhook_event.rb +9 -0
  31. data/lib/increase/models/wire_transfer_create_params.rb +100 -42
  32. data/lib/increase/resources/ach_prenotifications.rb +1 -1
  33. data/lib/increase/resources/ach_transfers.rb +1 -4
  34. data/lib/increase/resources/beneficial_owners.rb +3 -1
  35. data/lib/increase/resources/cards.rb +5 -1
  36. data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
  37. data/lib/increase/version.rb +1 -1
  38. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  39. data/rbi/increase/models/ach_transfer.rbi +2 -2
  40. data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
  41. data/rbi/increase/models/balance_lookup.rbi +48 -0
  42. data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
  43. data/rbi/increase/models/card.rbi +63 -0
  44. data/rbi/increase/models/card_create_params.rbi +65 -0
  45. data/rbi/increase/models/card_dispute.rbi +1 -1
  46. data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
  47. data/rbi/increase/models/card_payment.rbi +16 -0
  48. data/rbi/increase/models/check_transfer.rbi +15 -0
  49. data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
  50. data/rbi/increase/models/entity.rbi +61 -3
  51. data/rbi/increase/models/entity_update_params.rbi +1326 -3
  52. data/rbi/increase/models/event.rbi +21 -0
  53. data/rbi/increase/models/event_list_params.rbi +21 -0
  54. data/rbi/increase/models/event_subscription.rbi +21 -0
  55. data/rbi/increase/models/event_subscription_create_params.rbi +21 -0
  56. data/rbi/increase/models/file.rbi +7 -6
  57. data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
  58. data/rbi/increase/models/pending_transaction.rbi +16 -0
  59. data/rbi/increase/models/real_time_decision.rbi +16 -0
  60. data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
  61. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
  62. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
  63. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  64. data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
  65. data/rbi/increase/models/unwrap_webhook_event.rbi +21 -0
  66. data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
  67. data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
  68. data/rbi/increase/resources/ach_transfers.rbi +0 -4
  69. data/rbi/increase/resources/beneficial_owners.rbi +3 -0
  70. data/rbi/increase/resources/cards.rbi +4 -0
  71. data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
  72. data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
  73. data/sig/increase/models/balance_lookup.rbs +30 -0
  74. data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
  75. data/sig/increase/models/card.rbs +19 -0
  76. data/sig/increase/models/card_create_params.rbs +25 -0
  77. data/sig/increase/models/card_dispute.rbs +1 -1
  78. data/sig/increase/models/card_dispute_list_params.rbs +1 -1
  79. data/sig/increase/models/card_payment.rbs +5 -0
  80. data/sig/increase/models/check_transfer.rbs +9 -0
  81. data/sig/increase/models/check_transfer_create_params.rbs +7 -0
  82. data/sig/increase/models/entity.rbs +21 -4
  83. data/sig/increase/models/entity_update_params.rbs +585 -3
  84. data/sig/increase/models/event.rbs +12 -0
  85. data/sig/increase/models/event_list_params.rbs +12 -0
  86. data/sig/increase/models/event_subscription.rbs +12 -0
  87. data/sig/increase/models/event_subscription_create_params.rbs +12 -0
  88. data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
  89. data/sig/increase/models/pending_transaction.rbs +5 -0
  90. data/sig/increase/models/real_time_decision.rbs +5 -0
  91. data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
  92. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
  93. data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
  94. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  95. data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
  96. data/sig/increase/models/unwrap_webhook_event.rbs +12 -0
  97. data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
  98. data/sig/increase/resources/ach_transfers.rbs +0 -1
  99. data/sig/increase/resources/beneficial_owners.rbs +1 -0
  100. data/sig/increase/resources/cards.rbs +1 -0
  101. data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
  102. metadata +2 -2
@@ -139,46 +139,75 @@ module Increase
139
139
 
140
140
  # @see Increase::Models::WireTransferCreateParams::Creditor#address
141
141
  class Address < Increase::Internal::Type::BaseModel
142
- # @!attribute unstructured
143
- # Unstructured address lines.
142
+ # @!attribute structured
143
+ # Structured address components. City and country are required.
144
144
  #
145
- # @return [Increase::Models::WireTransferCreateParams::Creditor::Address::Unstructured, nil]
146
- optional :unstructured, -> { Increase::WireTransferCreateParams::Creditor::Address::Unstructured }
145
+ # @return [Increase::Models::WireTransferCreateParams::Creditor::Address::Structured, nil]
146
+ optional :structured, -> { Increase::WireTransferCreateParams::Creditor::Address::Structured }
147
147
 
148
- # @!method initialize(unstructured: nil)
148
+ # @!method initialize(structured: nil)
149
149
  # The person or business's address.
150
150
  #
151
- # @param unstructured [Increase::Models::WireTransferCreateParams::Creditor::Address::Unstructured]
152
- # Unstructured address lines.
151
+ # @param structured [Increase::Models::WireTransferCreateParams::Creditor::Address::Structured]
152
+ # Structured address components. City and country are required.
153
153
 
154
- # @see Increase::Models::WireTransferCreateParams::Creditor::Address#unstructured
155
- class Unstructured < Increase::Internal::Type::BaseModel
156
- # @!attribute line1
157
- # The address line 1.
154
+ # @see Increase::Models::WireTransferCreateParams::Creditor::Address#structured
155
+ class Structured < Increase::Internal::Type::BaseModel
156
+ # @!attribute city
157
+ # The city, district, town, or village of the address.
158
+ #
159
+ # @return [String]
160
+ required :city, String
161
+
162
+ # @!attribute country
163
+ # The two-letter
164
+ # [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
165
+ # the country of the address.
158
166
  #
159
167
  # @return [String]
160
- required :line1, String
168
+ required :country, String
169
+
170
+ # @!attribute line1
171
+ # The first line of the address.
172
+ #
173
+ # @return [String, nil]
174
+ optional :line1, String
161
175
 
162
176
  # @!attribute line2
163
- # The address line 2.
177
+ # The second line of the address.
164
178
  #
165
179
  # @return [String, nil]
166
180
  optional :line2, String
167
181
 
168
- # @!attribute line3
169
- # The address line 3.
182
+ # @!attribute postal_code
183
+ # The postal code of the address.
184
+ #
185
+ # @return [String, nil]
186
+ optional :postal_code, String
187
+
188
+ # @!attribute state
189
+ # The address state.
170
190
  #
171
191
  # @return [String, nil]
172
- optional :line3, String
192
+ optional :state, String
173
193
 
174
- # @!method initialize(line1:, line2: nil, line3: nil)
175
- # Unstructured address lines.
194
+ # @!method initialize(city:, country:, line1: nil, line2: nil, postal_code: nil, state: nil)
195
+ # Structured address components. City and country are required.
196
+ #
197
+ # @param city [String] The city, district, town, or village of the address.
198
+ #
199
+ # @param country [String]
200
+ # The two-letter
201
+ # [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
202
+ # the country of the address.
203
+ #
204
+ # @param line1 [String] The first line of the address.
176
205
  #
177
- # @param line1 [String] The address line 1.
206
+ # @param line2 [String] The second line of the address.
178
207
  #
179
- # @param line2 [String] The address line 2.
208
+ # @param postal_code [String] The postal code of the address.
180
209
  #
181
- # @param line3 [String] The address line 3.
210
+ # @param state [String] The address state.
182
211
  end
183
212
  end
184
213
  end
@@ -312,46 +341,75 @@ module Increase
312
341
 
313
342
  # @see Increase::Models::WireTransferCreateParams::Debtor#address
314
343
  class Address < Increase::Internal::Type::BaseModel
315
- # @!attribute unstructured
316
- # Unstructured address lines.
344
+ # @!attribute structured
345
+ # Structured address components. City and country are required.
317
346
  #
318
- # @return [Increase::Models::WireTransferCreateParams::Debtor::Address::Unstructured, nil]
319
- optional :unstructured, -> { Increase::WireTransferCreateParams::Debtor::Address::Unstructured }
347
+ # @return [Increase::Models::WireTransferCreateParams::Debtor::Address::Structured, nil]
348
+ optional :structured, -> { Increase::WireTransferCreateParams::Debtor::Address::Structured }
320
349
 
321
- # @!method initialize(unstructured: nil)
350
+ # @!method initialize(structured: nil)
322
351
  # The person or business's address.
323
352
  #
324
- # @param unstructured [Increase::Models::WireTransferCreateParams::Debtor::Address::Unstructured]
325
- # Unstructured address lines.
353
+ # @param structured [Increase::Models::WireTransferCreateParams::Debtor::Address::Structured]
354
+ # Structured address components. City and country are required.
326
355
 
327
- # @see Increase::Models::WireTransferCreateParams::Debtor::Address#unstructured
328
- class Unstructured < Increase::Internal::Type::BaseModel
329
- # @!attribute line1
330
- # The address line 1.
356
+ # @see Increase::Models::WireTransferCreateParams::Debtor::Address#structured
357
+ class Structured < Increase::Internal::Type::BaseModel
358
+ # @!attribute city
359
+ # The city, district, town, or village of the address.
360
+ #
361
+ # @return [String]
362
+ required :city, String
363
+
364
+ # @!attribute country
365
+ # The two-letter
366
+ # [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
367
+ # the country of the address.
331
368
  #
332
369
  # @return [String]
333
- required :line1, String
370
+ required :country, String
371
+
372
+ # @!attribute line1
373
+ # The first line of the address.
374
+ #
375
+ # @return [String, nil]
376
+ optional :line1, String
334
377
 
335
378
  # @!attribute line2
336
- # The address line 2.
379
+ # The second line of the address.
337
380
  #
338
381
  # @return [String, nil]
339
382
  optional :line2, String
340
383
 
341
- # @!attribute line3
342
- # The address line 3.
384
+ # @!attribute postal_code
385
+ # The postal code of the address.
386
+ #
387
+ # @return [String, nil]
388
+ optional :postal_code, String
389
+
390
+ # @!attribute state
391
+ # The address state.
343
392
  #
344
393
  # @return [String, nil]
345
- optional :line3, String
394
+ optional :state, String
346
395
 
347
- # @!method initialize(line1:, line2: nil, line3: nil)
348
- # Unstructured address lines.
396
+ # @!method initialize(city:, country:, line1: nil, line2: nil, postal_code: nil, state: nil)
397
+ # Structured address components. City and country are required.
398
+ #
399
+ # @param city [String] The city, district, town, or village of the address.
400
+ #
401
+ # @param country [String]
402
+ # The two-letter
403
+ # [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
404
+ # the country of the address.
405
+ #
406
+ # @param line1 [String] The first line of the address.
349
407
  #
350
- # @param line1 [String] The address line 1.
408
+ # @param line2 [String] The second line of the address.
351
409
  #
352
- # @param line2 [String] The address line 2.
410
+ # @param postal_code [String] The postal code of the address.
353
411
  #
354
- # @param line3 [String] The address line 3.
412
+ # @param state [String] The address state.
355
413
  end
356
414
  end
357
415
  end
@@ -37,7 +37,7 @@ module Increase
37
37
  # @param individual_id [String] Your identifier for the recipient.
38
38
  #
39
39
  # @param individual_name [String]
40
- # The name of therecipient. This value is informational and not verified by the
40
+ # The name of the recipient. This value is informational and not verified by the
41
41
  # recipient's bank.
42
42
  #
43
43
  # @param standard_entry_class_code [Symbol, Increase::Models::ACHPrenotificationCreateParams::StandardEntryClassCode]
@@ -5,7 +5,7 @@ module Increase
5
5
  class ACHTransfers
6
6
  # Create an ACH Transfer
7
7
  #
8
- # @overload create(account_id:, amount:, statement_descriptor:, account_number: nil, addenda: nil, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, company_name: nil, destination_account_holder: nil, external_account_id: nil, funding: nil, individual_id: nil, individual_name: nil, preferred_effective_date: nil, require_approval: nil, routing_number: nil, standard_entry_class_code: nil, transaction_timing: nil, request_options: {})
8
+ # @overload create(account_id:, amount:, statement_descriptor:, account_number: nil, addenda: nil, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, company_name: nil, destination_account_holder: nil, external_account_id: nil, funding: nil, individual_id: nil, individual_name: nil, preferred_effective_date: nil, require_approval: nil, routing_number: nil, standard_entry_class_code: nil, request_options: {})
9
9
  #
10
10
  # @param account_id [String] The Increase identifier for the account that will send the transfer.
11
11
  #
@@ -94,9 +94,6 @@ module Increase
94
94
  # to use for the transfer. If not provided, the default is
95
95
  # `corporate_credit_or_debit`.
96
96
  #
97
- # @param transaction_timing [Symbol, Increase::Models::ACHTransferCreateParams::TransactionTiming]
98
- # The timing of the transaction.
99
- #
100
97
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
101
98
  #
102
99
  # @return [Increase::Models::ACHTransfer]
@@ -59,7 +59,7 @@ module Increase
59
59
 
60
60
  # Update a Beneficial Owner
61
61
  #
62
- # @overload update(entity_beneficial_owner_id, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, prongs: nil, request_options: {})
62
+ # @overload update(entity_beneficial_owner_id, address: nil, confirmed_no_us_tax_id: nil, date_of_birth: nil, identification: nil, name: nil, prongs: nil, request_options: {})
63
63
  #
64
64
  # @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to update.
65
65
  #
@@ -73,6 +73,8 @@ module Increase
73
73
  # tax id (either a Social Security Number or Individual Taxpayer Identification
74
74
  # Number).
75
75
  #
76
+ # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
77
+ #
76
78
  # @param identification [Increase::Models::BeneficialOwnerUpdateParams::Identification]
77
79
  # A means of verifying the person's identity.
78
80
  #
@@ -5,7 +5,7 @@ module Increase
5
5
  class Cards
6
6
  # Create a Card
7
7
  #
8
- # @overload create(account_id:, authorization_controls: nil, billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, request_options: {})
8
+ # @overload create(account_id:, authorization_controls: nil, billing_address: nil, cardholder_name: nil, description: nil, digital_wallet: nil, entity_id: nil, request_options: {})
9
9
  #
10
10
  # @param account_id [String] The Account the card should belong to.
11
11
  #
@@ -14,6 +14,10 @@ module Increase
14
14
  #
15
15
  # @param billing_address [Increase::Models::CardCreateParams::BillingAddress] The card's billing address.
16
16
  #
17
+ # @param cardholder_name [Increase::Models::CardCreateParams::CardholderName]
18
+ # The name of the cardholder. Used to respond to Account Name Inquiry requests
19
+ # from acquirers in Card Validations.
20
+ #
17
21
  # @param description [String] The description you choose to give the card.
18
22
  #
19
23
  # @param digital_wallet [Increase::Models::CardCreateParams::DigitalWallet]
@@ -5,7 +5,7 @@ module Increase
5
5
  class RealTimePaymentsTransfers
6
6
  # Create a Real-Time Payments Transfer
7
7
  #
8
- # @overload create(amount:, creditor_name:, source_account_number_id:, unstructured_remittance_information:, account_number: nil, debtor_name: nil, external_account_id: nil, require_approval: nil, routing_number: nil, ultimate_creditor_name: nil, ultimate_debtor_name: nil, request_options: {})
8
+ # @overload create(amount:, creditor_name:, source_account_number_id:, unstructured_remittance_information:, account_number: nil, debtor_name: nil, external_account_id: nil, inbound_real_time_payments_request_for_payment_id: nil, require_approval: nil, routing_number: nil, ultimate_creditor_name: nil, ultimate_debtor_name: nil, request_options: {})
9
9
  #
10
10
  # @param amount [Integer]
11
11
  # The transfer amount in USD cents. For Real-Time Payments transfers, must be
@@ -29,6 +29,10 @@ module Increase
29
29
  # The ID of an External Account to initiate a transfer to. If this parameter is
30
30
  # provided, `account_number` and `routing_number` must be absent.
31
31
  #
32
+ # @param inbound_real_time_payments_request_for_payment_id [String]
33
+ # The ID of an Inbound Real-Time Payments Request for Payment in response to which
34
+ # this transfer is being sent.
35
+ #
32
36
  # @param require_approval [Boolean]
33
37
  # Whether the transfer requires explicit approval via the dashboard or API.
34
38
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.347.0"
4
+ VERSION = "1.348.0"
5
5
  end
@@ -97,7 +97,7 @@ module Increase
97
97
  sig { params(individual_id: String).void }
98
98
  attr_writer :individual_id
99
99
 
100
- # The name of therecipient. This value is informational and not verified by the
100
+ # The name of the recipient. This value is informational and not verified by the
101
101
  # recipient's bank.
102
102
  sig { returns(T.nilable(String)) }
103
103
  attr_reader :individual_name
@@ -174,7 +174,7 @@ module Increase
174
174
  effective_date: nil,
175
175
  # Your identifier for the recipient.
176
176
  individual_id: nil,
177
- # The name of therecipient. This value is informational and not verified by the
177
+ # The name of the recipient. This value is informational and not verified by the
178
178
  # recipient's bank.
179
179
  individual_name: nil,
180
180
  # The
@@ -2576,7 +2576,7 @@ module Increase
2576
2576
  end
2577
2577
 
2578
2578
  # The timestamp by which any administrative returns are expected to be received
2579
- # by. This follows the NACHA guidelines for return windows, which are: "In
2579
+ # by. This follows the Nacha guidelines for return windows, which are: "In
2580
2580
  # general, return entries must be received by the RDFI’s ACH Operator by its
2581
2581
  # deposit deadline for the return entry to be made available to the ODFI no later
2582
2582
  # than the opening of business on the second banking day following the Settlement
@@ -2638,7 +2638,7 @@ module Increase
2638
2638
  end
2639
2639
  def self.new(
2640
2640
  # The timestamp by which any administrative returns are expected to be received
2641
- # by. This follows the NACHA guidelines for return windows, which are: "In
2641
+ # by. This follows the Nacha guidelines for return windows, which are: "In
2642
2642
  # general, return entries must be received by the RDFI’s ACH Operator by its
2643
2643
  # deposit deadline for the return entry to be made available to the ODFI no later
2644
2644
  # than the opening of business on the second banking day following the Settlement
@@ -201,24 +201,6 @@ module Increase
201
201
  end
202
202
  attr_writer :standard_entry_class_code
203
203
 
204
- # The timing of the transaction.
205
- sig do
206
- returns(
207
- T.nilable(
208
- Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol
209
- )
210
- )
211
- end
212
- attr_reader :transaction_timing
213
-
214
- sig do
215
- params(
216
- transaction_timing:
217
- Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol
218
- ).void
219
- end
220
- attr_writer :transaction_timing
221
-
222
204
  sig do
223
205
  params(
224
206
  account_id: String,
@@ -242,8 +224,6 @@ module Increase
242
224
  routing_number: String,
243
225
  standard_entry_class_code:
244
226
  Increase::ACHTransferCreateParams::StandardEntryClassCode::OrSymbol,
245
- transaction_timing:
246
- Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol,
247
227
  request_options: Increase::RequestOptions::OrHash
248
228
  ).returns(T.attached_class)
249
229
  end
@@ -318,8 +298,6 @@ module Increase
318
298
  # to use for the transfer. If not provided, the default is
319
299
  # `corporate_credit_or_debit`.
320
300
  standard_entry_class_code: nil,
321
- # The timing of the transaction.
322
- transaction_timing: nil,
323
301
  request_options: {}
324
302
  )
325
303
  end
@@ -348,8 +326,6 @@ module Increase
348
326
  routing_number: String,
349
327
  standard_entry_class_code:
350
328
  Increase::ACHTransferCreateParams::StandardEntryClassCode::OrSymbol,
351
- transaction_timing:
352
- Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol,
353
329
  request_options: Increase::RequestOptions
354
330
  }
355
331
  )
@@ -913,41 +889,6 @@ module Increase
913
889
  def self.values
914
890
  end
915
891
  end
916
-
917
- # The timing of the transaction.
918
- module TransactionTiming
919
- extend Increase::Internal::Type::Enum
920
-
921
- TaggedSymbol =
922
- T.type_alias do
923
- T.all(Symbol, Increase::ACHTransferCreateParams::TransactionTiming)
924
- end
925
- OrSymbol = T.type_alias { T.any(Symbol, String) }
926
-
927
- # A Transaction will be created immediately.
928
- SYNCHRONOUS =
929
- T.let(
930
- :synchronous,
931
- Increase::ACHTransferCreateParams::TransactionTiming::TaggedSymbol
932
- )
933
-
934
- # A Transaction will be created when the funds settle at the Federal Reserve.
935
- ASYNCHRONOUS =
936
- T.let(
937
- :asynchronous,
938
- Increase::ACHTransferCreateParams::TransactionTiming::TaggedSymbol
939
- )
940
-
941
- sig do
942
- override.returns(
943
- T::Array[
944
- Increase::ACHTransferCreateParams::TransactionTiming::TaggedSymbol
945
- ]
946
- )
947
- end
948
- def self.values
949
- end
950
- end
951
892
  end
952
893
  end
953
894
  end
@@ -93,6 +93,30 @@ module Increase
93
93
  sig { returns(Integer) }
94
94
  attr_accessor :due_balance
95
95
 
96
+ # The fees on the loan that are due and unpaid.
97
+ sig { returns(T.nilable(Integer)) }
98
+ attr_accessor :due_fees
99
+
100
+ # The interest on the loan that is due and unpaid.
101
+ sig { returns(T.nilable(Integer)) }
102
+ attr_accessor :due_interest
103
+
104
+ # The principal on the loan that is due and unpaid.
105
+ sig { returns(T.nilable(Integer)) }
106
+ attr_accessor :due_principal
107
+
108
+ # The fees on the loan that are not yet due.
109
+ sig { returns(T.nilable(Integer)) }
110
+ attr_accessor :not_due_fees
111
+
112
+ # The interest on the loan that is not yet due.
113
+ sig { returns(T.nilable(Integer)) }
114
+ attr_accessor :not_due_interest
115
+
116
+ # The principal on the loan that is not yet due.
117
+ sig { returns(T.nilable(Integer)) }
118
+ attr_accessor :not_due_principal
119
+
96
120
  # The amount past due on the loan.
97
121
  sig { returns(Integer) }
98
122
  attr_accessor :past_due_balance
@@ -114,6 +138,12 @@ module Increase
114
138
  params(
115
139
  due_at: T.nilable(Time),
116
140
  due_balance: Integer,
141
+ due_fees: T.nilable(Integer),
142
+ due_interest: T.nilable(Integer),
143
+ due_principal: T.nilable(Integer),
144
+ not_due_fees: T.nilable(Integer),
145
+ not_due_interest: T.nilable(Integer),
146
+ not_due_principal: T.nilable(Integer),
117
147
  past_due_balance: Integer,
118
148
  receivables:
119
149
  T.nilable(Increase::BalanceLookup::Loan::Receivables::OrHash)
@@ -125,6 +155,18 @@ module Increase
125
155
  due_at:,
126
156
  # The total amount due on the loan.
127
157
  due_balance:,
158
+ # The fees on the loan that are due and unpaid.
159
+ due_fees:,
160
+ # The interest on the loan that is due and unpaid.
161
+ due_interest:,
162
+ # The principal on the loan that is due and unpaid.
163
+ due_principal:,
164
+ # The fees on the loan that are not yet due.
165
+ not_due_fees:,
166
+ # The interest on the loan that is not yet due.
167
+ not_due_interest:,
168
+ # The principal on the loan that is not yet due.
169
+ not_due_principal:,
128
170
  # The amount past due on the loan.
129
171
  past_due_balance:,
130
172
  # The receivables balances for the loan.
@@ -137,6 +179,12 @@ module Increase
137
179
  {
138
180
  due_at: T.nilable(Time),
139
181
  due_balance: Integer,
182
+ due_fees: T.nilable(Integer),
183
+ due_interest: T.nilable(Integer),
184
+ due_principal: T.nilable(Integer),
185
+ not_due_fees: T.nilable(Integer),
186
+ not_due_interest: T.nilable(Integer),
187
+ not_due_principal: T.nilable(Integer),
140
188
  past_due_balance: Integer,
141
189
  receivables: T.nilable(Increase::BalanceLookup::Loan::Receivables)
142
190
  }
@@ -40,6 +40,13 @@ module Increase
40
40
  sig { params(confirmed_no_us_tax_id: T::Boolean).void }
41
41
  attr_writer :confirmed_no_us_tax_id
42
42
 
43
+ # The person's date of birth in YYYY-MM-DD format.
44
+ sig { returns(T.nilable(Date)) }
45
+ attr_reader :date_of_birth
46
+
47
+ sig { params(date_of_birth: Date).void }
48
+ attr_writer :date_of_birth
49
+
43
50
  # A means of verifying the person's identity.
44
51
  sig do
45
52
  returns(
@@ -89,6 +96,7 @@ module Increase
89
96
  entity_beneficial_owner_id: String,
90
97
  address: Increase::BeneficialOwnerUpdateParams::Address::OrHash,
91
98
  confirmed_no_us_tax_id: T::Boolean,
99
+ date_of_birth: Date,
92
100
  identification:
93
101
  Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
94
102
  name: String,
@@ -108,6 +116,8 @@ module Increase
108
116
  # tax id (either a Social Security Number or Individual Taxpayer Identification
109
117
  # Number).
110
118
  confirmed_no_us_tax_id: nil,
119
+ # The person's date of birth in YYYY-MM-DD format.
120
+ date_of_birth: nil,
111
121
  # A means of verifying the person's identity.
112
122
  identification: nil,
113
123
  # The individual's legal name.
@@ -127,6 +137,7 @@ module Increase
127
137
  entity_beneficial_owner_id: String,
128
138
  address: Increase::BeneficialOwnerUpdateParams::Address,
129
139
  confirmed_no_us_tax_id: T::Boolean,
140
+ date_of_birth: Date,
130
141
  identification:
131
142
  Increase::BeneficialOwnerUpdateParams::Identification,
132
143
  name: String,
@@ -39,6 +39,18 @@ module Increase
39
39
  sig { returns(String) }
40
40
  attr_accessor :bin
41
41
 
42
+ # The name of the cardholder. Used to respond to Account Name Inquiry requests
43
+ # from acquirers in Card Validations.
44
+ sig { returns(T.nilable(Increase::Card::CardholderName)) }
45
+ attr_reader :cardholder_name
46
+
47
+ sig do
48
+ params(
49
+ cardholder_name: T.nilable(Increase::Card::CardholderName::OrHash)
50
+ ).void
51
+ end
52
+ attr_writer :cardholder_name
53
+
42
54
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
43
55
  # the Card was created.
44
56
  sig { returns(Time) }
@@ -105,6 +117,7 @@ module Increase
105
117
  T.nilable(Increase::Card::AuthorizationControls::OrHash),
106
118
  billing_address: Increase::Card::BillingAddress::OrHash,
107
119
  bin: String,
120
+ cardholder_name: T.nilable(Increase::Card::CardholderName::OrHash),
108
121
  created_at: Time,
109
122
  description: T.nilable(String),
110
123
  digital_wallet: T.nilable(Increase::Card::DigitalWallet::OrHash),
@@ -128,6 +141,9 @@ module Increase
128
141
  billing_address:,
129
142
  # The Bank Identification Number (BIN) of the Card.
130
143
  bin:,
144
+ # The name of the cardholder. Used to respond to Account Name Inquiry requests
145
+ # from acquirers in Card Validations.
146
+ cardholder_name:,
131
147
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
132
148
  # the Card was created.
133
149
  created_at:,
@@ -166,6 +182,7 @@ module Increase
166
182
  T.nilable(Increase::Card::AuthorizationControls),
167
183
  billing_address: Increase::Card::BillingAddress,
168
184
  bin: String,
185
+ cardholder_name: T.nilable(Increase::Card::CardholderName),
169
186
  created_at: Time,
170
187
  description: T.nilable(String),
171
188
  digital_wallet: T.nilable(Increase::Card::DigitalWallet),
@@ -1273,6 +1290,52 @@ module Increase
1273
1290
  end
1274
1291
  end
1275
1292
 
1293
+ class CardholderName < Increase::Internal::Type::BaseModel
1294
+ OrHash =
1295
+ T.type_alias do
1296
+ T.any(Increase::Card::CardholderName, Increase::Internal::AnyHash)
1297
+ end
1298
+
1299
+ # The cardholder's first name.
1300
+ sig { returns(String) }
1301
+ attr_accessor :first
1302
+
1303
+ # The cardholder's last name.
1304
+ sig { returns(String) }
1305
+ attr_accessor :last
1306
+
1307
+ # The cardholder's middle name.
1308
+ sig { returns(T.nilable(String)) }
1309
+ attr_accessor :middle
1310
+
1311
+ # The name of the cardholder. Used to respond to Account Name Inquiry requests
1312
+ # from acquirers in Card Validations.
1313
+ sig do
1314
+ params(
1315
+ first: String,
1316
+ last: String,
1317
+ middle: T.nilable(String)
1318
+ ).returns(T.attached_class)
1319
+ end
1320
+ def self.new(
1321
+ # The cardholder's first name.
1322
+ first:,
1323
+ # The cardholder's last name.
1324
+ last:,
1325
+ # The cardholder's middle name.
1326
+ middle:
1327
+ )
1328
+ end
1329
+
1330
+ sig do
1331
+ override.returns(
1332
+ { first: String, last: String, middle: T.nilable(String) }
1333
+ )
1334
+ end
1335
+ def to_hash
1336
+ end
1337
+ end
1338
+
1276
1339
  class DigitalWallet < Increase::Internal::Type::BaseModel
1277
1340
  OrHash =
1278
1341
  T.type_alias do