increase 1.353.0 → 1.354.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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer.rb +3 -3
  4. data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
  5. data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
  6. data/lib/increase/models/card_payment.rb +3 -0
  7. data/lib/increase/models/declined_transaction.rb +3 -0
  8. data/lib/increase/models/digital_wallet_token.rb +15 -0
  9. data/lib/increase/models/entity.rb +35 -7
  10. data/lib/increase/models/entity_beneficial_owner.rb +1 -1
  11. data/lib/increase/models/entity_create_params.rb +1 -1
  12. data/lib/increase/models/export.rb +19 -19
  13. data/lib/increase/models/export_create_params.rb +15 -15
  14. data/lib/increase/models/export_list_params.rb +19 -19
  15. data/lib/increase/models/inbound_wire_transfer.rb +10 -1
  16. data/lib/increase/models/real_time_decision.rb +3 -0
  17. data/lib/increase/models/real_time_decision_action_params.rb +3 -0
  18. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
  19. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  20. data/lib/increase/models/transaction.rb +10 -1
  21. data/lib/increase/version.rb +1 -1
  22. data/rbi/increase/models/ach_transfer.rbi +3 -3
  23. data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
  24. data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
  25. data/rbi/increase/models/card_payment.rbi +7 -0
  26. data/rbi/increase/models/declined_transaction.rbi +7 -0
  27. data/rbi/increase/models/digital_wallet_token.rbi +35 -0
  28. data/rbi/increase/models/entity.rbi +71 -6
  29. data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
  30. data/rbi/increase/models/entity_create_params.rbi +1 -1
  31. data/rbi/increase/models/export.rbi +32 -32
  32. data/rbi/increase/models/export_create_params.rbi +29 -29
  33. data/rbi/increase/models/export_list_params.rbi +37 -37
  34. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  35. data/rbi/increase/models/real_time_decision.rbi +7 -0
  36. data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
  37. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
  38. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  39. data/rbi/increase/models/transaction.rbi +8 -0
  40. data/sig/increase/models/ach_transfer.rbs +4 -4
  41. data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
  42. data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
  43. data/sig/increase/models/card_payment.rbs +4 -0
  44. data/sig/increase/models/declined_transaction.rbs +4 -0
  45. data/sig/increase/models/digital_wallet_token.rbs +31 -2
  46. data/sig/increase/models/entity.rbs +25 -6
  47. data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
  48. data/sig/increase/models/entity_create_params.rbs +1 -1
  49. data/sig/increase/models/export.rbs +28 -28
  50. data/sig/increase/models/export_create_params.rbs +22 -22
  51. data/sig/increase/models/export_list_params.rbs +28 -28
  52. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  53. data/sig/increase/models/real_time_decision.rbs +4 -0
  54. data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
  55. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
  56. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  57. data/sig/increase/models/transaction.rbs +5 -0
  58. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fff32c0810855540ecec2bbf731aa17c10dbfba28e99d55a532ee7d918536dc6
4
- data.tar.gz: 96a88553b9dfb0bb7df9a6e6f66a4322320384b26ff3e9a723d1ed7e8a8cb081
3
+ metadata.gz: 7732800cda221f29bc8f143be720bd6491505aeb9ac83b3efc0c5eb74b91dd17
4
+ data.tar.gz: cf22b4774fe1ead290a099e6f85e27a1bc260e09469b9f048ee1eb44388f06e3
5
5
  SHA512:
6
- metadata.gz: fc58d7606a136ebf727659ff13b63cc7f679158cb0e9a37f83047f7834db6c60485d29977f49dad1235b2747a0ad39a7a76de4db8e336e19019808e65e367174
7
- data.tar.gz: 2ae3049931377b31e164a8355fc0913f0c3f9ae2824e11f94418f77ff8c18d499a31de0babe2f9245637b269c7688d07b81f17ffdc05464868d30191afad56e7
6
+ metadata.gz: d08386684a0bbb22746a6d9cc4c390ce2f64fe86825cae6f4646edcf29e8ac43953b97966d7a19978374a71ab8575c0e2a5330846aa4b7e60e1df4d40135befc
7
+ data.tar.gz: 7b50dc6bb2ef4cff0c50a1dd9243f080a884a38b10ac50e5e14b197eee0bb340f34f402f536f453a9259e4695aadf2bcad84baeb96baf2b5acfcc387ef497fdb
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.353.0"
18
+ gem "increase", "~> 1.354.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -385,15 +385,15 @@ module Increase
385
385
  # When the Federal Reserve acknowledged the submitted file containing this
386
386
  # transfer.
387
387
  #
388
- # @return [String]
389
- required :acknowledged_at, String
388
+ # @return [Time]
389
+ required :acknowledged_at, Time
390
390
 
391
391
  # @!method initialize(acknowledged_at:)
392
392
  # After the transfer is acknowledged by FedACH, this will contain supplemental
393
393
  # details. The Federal Reserve sends an acknowledgement message for each file that
394
394
  # Increase submits.
395
395
  #
396
- # @param acknowledged_at [String]
396
+ # @param acknowledged_at [Time]
397
397
  # When the Federal Reserve acknowledged the submitted file containing this
398
398
  # transfer.
399
399
  end
@@ -250,7 +250,7 @@ module Increase
250
250
  # A social security number.
251
251
  SOCIAL_SECURITY_NUMBER = :social_security_number
252
252
 
253
- # The last four digits of a social security number.
253
+ # The last four digits of a social security number. Not all programs can use this method.
254
254
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
255
255
 
256
256
  # An individual taxpayer identification number (ITIN).
@@ -225,7 +225,7 @@ module Increase
225
225
  # A social security number.
226
226
  SOCIAL_SECURITY_NUMBER = :social_security_number
227
227
 
228
- # The last four digits of a social security number.
228
+ # The last four digits of a social security number. Not all programs can use this method.
229
229
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
230
230
 
231
231
  # An individual taxpayer identification number (ITIN).
@@ -5682,6 +5682,9 @@ module Increase
5682
5682
  # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
5683
5683
  SUSPECTED_FRAUD = :suspected_fraud
5684
5684
 
5685
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
5686
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED = :additional_customer_authentication_required
5687
+
5685
5688
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
5686
5689
  OTHER = :other
5687
5690
 
@@ -1681,6 +1681,9 @@ module Increase
1681
1681
  # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
1682
1682
  SUSPECTED_FRAUD = :suspected_fraud
1683
1683
 
1684
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
1685
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED = :additional_customer_authentication_required
1686
+
1684
1687
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
1685
1688
  OTHER = :other
1686
1689
 
@@ -192,6 +192,15 @@ module Increase
192
192
  # The tokenization attempt was declined by the token requestor.
193
193
  DECLINED_BY_TOKEN_REQUESTOR = :declined_by_token_requestor
194
194
 
195
+ # The group was locked.
196
+ GROUP_LOCKED = :group_locked
197
+
198
+ # The account has been closed.
199
+ ACCOUNT_CLOSED = :account_closed
200
+
201
+ # The account's entity was not active.
202
+ ENTITY_NOT_ACTIVE = :entity_not_active
203
+
195
204
  # @!method self.values
196
205
  # @return [Array<Symbol>]
197
206
  end
@@ -315,6 +324,9 @@ module Increase
315
324
  # The digital wallet token was declined during provisioning.
316
325
  DECLINED = :declined
317
326
 
327
+ # The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
328
+ PENDING_TRANSITIONING = :pending_transitioning
329
+
318
330
  # @!method self.values
319
331
  # @return [Array<Symbol>]
320
332
  end
@@ -397,6 +409,9 @@ module Increase
397
409
  # The digital wallet token was declined during provisioning.
398
410
  DECLINED = :declined
399
411
 
412
+ # The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
413
+ PENDING_TRANSITIONING = :pending_transitioning
414
+
400
415
  # @!method self.values
401
416
  # @return [Array<Symbol>]
402
417
  end
@@ -546,7 +546,7 @@ module Increase
546
546
  # A social security number.
547
547
  SOCIAL_SECURITY_NUMBER = :social_security_number
548
548
 
549
- # The last four digits of a social security number.
549
+ # The last four digits of a social security number. Not all programs can use this method.
550
550
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
551
551
 
552
552
  # An individual taxpayer identification number (ITIN).
@@ -952,7 +952,7 @@ module Increase
952
952
  # A social security number.
953
953
  SOCIAL_SECURITY_NUMBER = :social_security_number
954
954
 
955
- # The last four digits of a social security number.
955
+ # The last four digits of a social security number. Not all programs can use this method.
956
956
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
957
957
 
958
958
  # An individual taxpayer identification number (ITIN).
@@ -1108,7 +1108,7 @@ module Increase
1108
1108
  # A social security number.
1109
1109
  SOCIAL_SECURITY_NUMBER = :social_security_number
1110
1110
 
1111
- # The last four digits of a social security number.
1111
+ # The last four digits of a social security number. Not all programs can use this method.
1112
1112
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1113
1113
 
1114
1114
  # An individual taxpayer identification number (ITIN).
@@ -1433,7 +1433,7 @@ module Increase
1433
1433
  # A social security number.
1434
1434
  SOCIAL_SECURITY_NUMBER = :social_security_number
1435
1435
 
1436
- # The last four digits of a social security number.
1436
+ # The last four digits of a social security number. Not all programs can use this method.
1437
1437
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1438
1438
 
1439
1439
  # An individual taxpayer identification number (ITIN).
@@ -1858,7 +1858,7 @@ module Increase
1858
1858
  # A social security number.
1859
1859
  SOCIAL_SECURITY_NUMBER = :social_security_number
1860
1860
 
1861
- # The last four digits of a social security number.
1861
+ # The last four digits of a social security number. Not all programs can use this method.
1862
1862
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1863
1863
 
1864
1864
  # An individual taxpayer identification number (ITIN).
@@ -2037,7 +2037,7 @@ module Increase
2037
2037
  # A social security number.
2038
2038
  SOCIAL_SECURITY_NUMBER = :social_security_number
2039
2039
 
2040
- # The last four digits of a social security number.
2040
+ # The last four digits of a social security number. Not all programs can use this method.
2041
2041
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
2042
2042
 
2043
2043
  # An individual taxpayer identification number (ITIN).
@@ -2129,6 +2129,14 @@ module Increase
2129
2129
  -> { Increase::Entity::Validation::Issue::BeneficialOwnerIdentity },
2130
2130
  nil?: true
2131
2131
 
2132
+ # @!attribute beneficial_owner_tax_identifier
2133
+ # Details when the issue is with a beneficial owner's tax identifier.
2134
+ #
2135
+ # @return [Increase::Models::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier, nil]
2136
+ required :beneficial_owner_tax_identifier,
2137
+ -> { Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier },
2138
+ nil?: true
2139
+
2132
2140
  # @!attribute category
2133
2141
  # The type of issue. We may add additional possible values for this enum over
2134
2142
  # time; your application should be able to handle such additions gracefully.
@@ -2156,13 +2164,16 @@ module Increase
2156
2164
  -> { Increase::Entity::Validation::Issue::EntityTaxIdentifier },
2157
2165
  nil?: true
2158
2166
 
2159
- # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, category:, entity_address:, entity_identity:, entity_tax_identifier:)
2167
+ # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, beneficial_owner_tax_identifier:, category:, entity_address:, entity_identity:, entity_tax_identifier:)
2160
2168
  # @param beneficial_owner_address [Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress, nil]
2161
2169
  # Details when the issue is with a beneficial owner's address.
2162
2170
  #
2163
2171
  # @param beneficial_owner_identity [Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity, nil]
2164
2172
  # Details when the issue is with a beneficial owner's identity verification.
2165
2173
  #
2174
+ # @param beneficial_owner_tax_identifier [Increase::Models::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier, nil]
2175
+ # Details when the issue is with a beneficial owner's tax identifier.
2176
+ #
2166
2177
  # @param category [Symbol, Increase::Models::Entity::Validation::Issue::Category]
2167
2178
  # The type of issue. We may add additional possible values for this enum over
2168
2179
  # time; your application should be able to handle such additions gracefully.
@@ -2226,6 +2237,20 @@ module Increase
2226
2237
  # @param beneficial_owner_id [String] The ID of the beneficial owner.
2227
2238
  end
2228
2239
 
2240
+ # @see Increase::Models::Entity::Validation::Issue#beneficial_owner_tax_identifier
2241
+ class BeneficialOwnerTaxIdentifier < Increase::Internal::Type::BaseModel
2242
+ # @!attribute beneficial_owner_id
2243
+ # The ID of the beneficial owner.
2244
+ #
2245
+ # @return [String]
2246
+ required :beneficial_owner_id, String
2247
+
2248
+ # @!method initialize(beneficial_owner_id:)
2249
+ # Details when the issue is with a beneficial owner's tax identifier.
2250
+ #
2251
+ # @param beneficial_owner_id [String] The ID of the beneficial owner.
2252
+ end
2253
+
2229
2254
  # The type of issue. We may add additional possible values for this enum over
2230
2255
  # time; your application should be able to handle such additions gracefully.
2231
2256
  #
@@ -2248,6 +2273,9 @@ module Increase
2248
2273
  # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
2249
2274
  BENEFICIAL_OWNER_ADDRESS = :beneficial_owner_address
2250
2275
 
2276
+ # A beneficial owner's full tax identifier is required. A non-US person can submit a passport or driver's license. Make changes via the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
2277
+ BENEFICIAL_OWNER_TAX_IDENTIFIER = :beneficial_owner_tax_identifier
2278
+
2251
2279
  # @!method self.values
2252
2280
  # @return [Array<Symbol>]
2253
2281
  end
@@ -223,7 +223,7 @@ module Increase
223
223
  # A social security number.
224
224
  SOCIAL_SECURITY_NUMBER = :social_security_number
225
225
 
226
- # The last four digits of a social security number.
226
+ # The last four digits of a social security number. Not all programs can use this method.
227
227
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
228
228
 
229
229
  # An individual taxpayer identification number (ITIN).
@@ -587,7 +587,7 @@ module Increase
587
587
  # A social security number.
588
588
  SOCIAL_SECURITY_NUMBER = :social_security_number
589
589
 
590
- # The last four digits of a social security number.
590
+ # The last four digits of a social security number. Not all programs can use this method.
591
591
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
592
592
 
593
593
  # An individual taxpayer identification number (ITIN).
@@ -432,14 +432,14 @@ module Increase
432
432
  module Category
433
433
  extend Increase::Internal::Type::Enum
434
434
 
435
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
436
- ACCOUNT_STATEMENT_OFX = :account_statement_ofx
437
-
438
435
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
439
436
  ACCOUNT_STATEMENT_BAI2 = :account_statement_bai2
440
437
 
441
- # Export a CSV of all transactions for a given time range.
442
- TRANSACTION_CSV = :transaction_csv
438
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
439
+ ACCOUNT_STATEMENT_OFX = :account_statement_ofx
440
+
441
+ # A PDF of an account verification letter.
442
+ ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
443
443
 
444
444
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
445
445
  BALANCE_CSV = :balance_csv
@@ -447,20 +447,17 @@ module Increase
447
447
  # Export a CSV of bookkeeping account balances for the dates in a given range.
448
448
  BOOKKEEPING_ACCOUNT_BALANCE_CSV = :bookkeeping_account_balance_csv
449
449
 
450
- # Export a CSV of entities with a given status.
451
- ENTITY_CSV = :entity_csv
452
-
453
- # Export a CSV of vendors added to the third-party risk management dashboard.
454
- VENDOR_CSV = :vendor_csv
450
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
451
+ DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
455
452
 
456
453
  # Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
457
454
  DASHBOARD_TABLE_CSV = :dashboard_table_csv
458
455
 
459
- # A PDF of an account verification letter.
460
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
456
+ # Export a CSV of entities with a given status.
457
+ ENTITY_CSV = :entity_csv
461
458
 
462
- # A PDF of funding instructions.
463
- FUNDING_INSTRUCTIONS = :funding_instructions
459
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
460
+ FEE_CSV = :fee_csv
464
461
 
465
462
  # A PDF of an Internal Revenue Service Form 1099-INT.
466
463
  FORM_1099_INT = :form_1099_int
@@ -468,15 +465,18 @@ module Increase
468
465
  # A PDF of an Internal Revenue Service Form 1099-MISC.
469
466
  FORM_1099_MISC = :form_1099_misc
470
467
 
471
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
472
- FEE_CSV = :fee_csv
468
+ # A PDF of funding instructions.
469
+ FUNDING_INSTRUCTIONS = :funding_instructions
470
+
471
+ # Export a CSV of all transactions for a given time range.
472
+ TRANSACTION_CSV = :transaction_csv
473
+
474
+ # Export a CSV of vendors added to the third-party risk management dashboard.
475
+ VENDOR_CSV = :vendor_csv
473
476
 
474
477
  # A PDF of a voided check.
475
478
  VOIDED_CHECK = :voided_check
476
479
 
477
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
478
- DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
479
-
480
480
  # @!method self.values
481
481
  # @return [Array<Symbol>]
482
482
  end
@@ -138,14 +138,14 @@ module Increase
138
138
  module Category
139
139
  extend Increase::Internal::Type::Enum
140
140
 
141
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
142
- ACCOUNT_STATEMENT_OFX = :account_statement_ofx
143
-
144
141
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
145
142
  ACCOUNT_STATEMENT_BAI2 = :account_statement_bai2
146
143
 
147
- # Export a CSV of all transactions for a given time range.
148
- TRANSACTION_CSV = :transaction_csv
144
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
145
+ ACCOUNT_STATEMENT_OFX = :account_statement_ofx
146
+
147
+ # A PDF of an account verification letter.
148
+ ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
149
149
 
150
150
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
151
151
  BALANCE_CSV = :balance_csv
@@ -153,27 +153,27 @@ module Increase
153
153
  # Export a CSV of bookkeeping account balances for the dates in a given range.
154
154
  BOOKKEEPING_ACCOUNT_BALANCE_CSV = :bookkeeping_account_balance_csv
155
155
 
156
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
157
+ DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
158
+
156
159
  # Export a CSV of entities with a given status.
157
160
  ENTITY_CSV = :entity_csv
158
161
 
159
- # Export a CSV of vendors added to the third-party risk management dashboard.
160
- VENDOR_CSV = :vendor_csv
161
-
162
- # A PDF of an account verification letter.
163
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
162
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
163
+ FEE_CSV = :fee_csv
164
164
 
165
165
  # A PDF of funding instructions.
166
166
  FUNDING_INSTRUCTIONS = :funding_instructions
167
167
 
168
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
169
- FEE_CSV = :fee_csv
168
+ # Export a CSV of all transactions for a given time range.
169
+ TRANSACTION_CSV = :transaction_csv
170
+
171
+ # Export a CSV of vendors added to the third-party risk management dashboard.
172
+ VENDOR_CSV = :vendor_csv
170
173
 
171
174
  # A PDF of a voided check.
172
175
  VOIDED_CHECK = :voided_check
173
176
 
174
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
175
- DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
176
-
177
177
  # @!method self.values
178
178
  # @return [Array<Symbol>]
179
179
  end
@@ -89,14 +89,14 @@ module Increase
89
89
  module Category
90
90
  extend Increase::Internal::Type::Enum
91
91
 
92
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
93
- ACCOUNT_STATEMENT_OFX = :account_statement_ofx
94
-
95
92
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
96
93
  ACCOUNT_STATEMENT_BAI2 = :account_statement_bai2
97
94
 
98
- # Export a CSV of all transactions for a given time range.
99
- TRANSACTION_CSV = :transaction_csv
95
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
96
+ ACCOUNT_STATEMENT_OFX = :account_statement_ofx
97
+
98
+ # A PDF of an account verification letter.
99
+ ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
100
100
 
101
101
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
102
102
  BALANCE_CSV = :balance_csv
@@ -104,20 +104,17 @@ module Increase
104
104
  # Export a CSV of bookkeeping account balances for the dates in a given range.
105
105
  BOOKKEEPING_ACCOUNT_BALANCE_CSV = :bookkeeping_account_balance_csv
106
106
 
107
- # Export a CSV of entities with a given status.
108
- ENTITY_CSV = :entity_csv
109
-
110
- # Export a CSV of vendors added to the third-party risk management dashboard.
111
- VENDOR_CSV = :vendor_csv
107
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
108
+ DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
112
109
 
113
110
  # Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
114
111
  DASHBOARD_TABLE_CSV = :dashboard_table_csv
115
112
 
116
- # A PDF of an account verification letter.
117
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
113
+ # Export a CSV of entities with a given status.
114
+ ENTITY_CSV = :entity_csv
118
115
 
119
- # A PDF of funding instructions.
120
- FUNDING_INSTRUCTIONS = :funding_instructions
116
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
117
+ FEE_CSV = :fee_csv
121
118
 
122
119
  # A PDF of an Internal Revenue Service Form 1099-INT.
123
120
  FORM_1099_INT = :form_1099_int
@@ -125,15 +122,18 @@ module Increase
125
122
  # A PDF of an Internal Revenue Service Form 1099-MISC.
126
123
  FORM_1099_MISC = :form_1099_misc
127
124
 
128
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
129
- FEE_CSV = :fee_csv
125
+ # A PDF of funding instructions.
126
+ FUNDING_INSTRUCTIONS = :funding_instructions
127
+
128
+ # Export a CSV of all transactions for a given time range.
129
+ TRANSACTION_CSV = :transaction_csv
130
+
131
+ # Export a CSV of vendors added to the third-party risk management dashboard.
132
+ VENDOR_CSV = :vendor_csv
130
133
 
131
134
  # A PDF of a voided check.
132
135
  VOIDED_CHECK = :voided_check
133
136
 
134
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
135
- DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
136
-
137
137
  # @!method self.values
138
138
  # @return [Array<Symbol>]
139
139
  end
@@ -128,6 +128,12 @@ module Increase
128
128
  # @return [String, nil]
129
129
  required :instructing_agent_routing_number, String, nil?: true
130
130
 
131
+ # @!attribute instruction_for_creditor_agent
132
+ # A free-form instruction for the receiving bank set by the sender.
133
+ #
134
+ # @return [String, nil]
135
+ required :instruction_for_creditor_agent, String, nil?: true
136
+
131
137
  # @!attribute instruction_identification
132
138
  # The sending bank's identifier for the wire transfer.
133
139
  #
@@ -179,7 +185,7 @@ module Increase
179
185
  # @return [String, nil]
180
186
  required :wire_drawdown_request_id, String, nil?: true
181
187
 
182
- # @!method initialize(id:, acceptance:, account_id:, account_number_id:, amount:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_account_number:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, debtor_routing_number:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, purpose:, reversal:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
188
+ # @!method initialize(id:, acceptance:, account_id:, account_number_id:, amount:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_account_number:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, debtor_routing_number:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_for_creditor_agent:, instruction_identification:, purpose:, reversal:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
183
189
  # An Inbound Wire Transfer is a wire transfer initiated outside of Increase to
184
190
  # your account.
185
191
  #
@@ -233,6 +239,9 @@ module Increase
233
239
  # The American Bankers' Association (ABA) routing number of the bank that sent the
234
240
  # wire.
235
241
  #
242
+ # @param instruction_for_creditor_agent [String, nil]
243
+ # A free-form instruction for the receiving bank set by the sender.
244
+ #
236
245
  # @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
237
246
  #
238
247
  # @param purpose [String, nil] The reason for the wire transfer, as set by the sender.
@@ -1784,6 +1784,9 @@ module Increase
1784
1784
  # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
1785
1785
  SUSPECTED_FRAUD = :suspected_fraud
1786
1786
 
1787
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
1788
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED = :additional_customer_authentication_required
1789
+
1787
1790
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
1788
1791
  OTHER = :other
1789
1792
 
@@ -393,6 +393,9 @@ module Increase
393
393
  # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
394
394
  SUSPECTED_FRAUD = :suspected_fraud
395
395
 
396
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
397
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED = :additional_customer_authentication_required
398
+
396
399
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
397
400
  OTHER = :other
398
401
 
@@ -68,6 +68,15 @@ module Increase
68
68
  # The tokenization attempt was declined by the token requestor.
69
69
  DECLINED_BY_TOKEN_REQUESTOR = :declined_by_token_requestor
70
70
 
71
+ # The group was locked.
72
+ GROUP_LOCKED = :group_locked
73
+
74
+ # The account has been closed.
75
+ ACCOUNT_CLOSED = :account_closed
76
+
77
+ # The account's entity was not active.
78
+ ENTITY_NOT_ACTIVE = :entity_not_active
79
+
71
80
  # @!method self.values
72
81
  # @return [Array<Symbol>]
73
82
  end
@@ -63,6 +63,9 @@ module Increase
63
63
  # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
64
64
  BENEFICIAL_OWNER_ADDRESS = :beneficial_owner_address
65
65
 
66
+ # A beneficial owner's full tax identifier is required. A non-US person can submit a passport or driver's license. Make changes via the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
67
+ BENEFICIAL_OWNER_TAX_IDENTIFIER = :beneficial_owner_tax_identifier
68
+
66
69
  # @!method self.values
67
70
  # @return [Array<Symbol>]
68
71
  end
@@ -8993,6 +8993,12 @@ module Increase
8993
8993
  # @return [String, nil]
8994
8994
  required :instructing_agent_routing_number, String, nil?: true
8995
8995
 
8996
+ # @!attribute instruction_for_creditor_agent
8997
+ # A free-form instruction for the receiving bank set by the sender.
8998
+ #
8999
+ # @return [String, nil]
9000
+ required :instruction_for_creditor_agent, String, nil?: true
9001
+
8996
9002
  # @!attribute instruction_identification
8997
9003
  # The sending bank's identifier for the wire transfer.
8998
9004
  #
@@ -9025,7 +9031,7 @@ module Increase
9025
9031
  # @return [String, nil]
9026
9032
  required :unstructured_remittance_information, String, nil?: true
9027
9033
 
9028
- # @!method initialize(amount:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, purpose:, transfer_id:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
9034
+ # @!method initialize(amount:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_for_creditor_agent:, instruction_identification:, purpose:, transfer_id:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
9029
9035
  # An Inbound Wire Transfer Intention object. This field will be present in the
9030
9036
  # JSON response if and only if `category` is equal to `inbound_wire_transfer`. An
9031
9037
  # Inbound Wire Transfer Intention is created when a wire transfer is initiated at
@@ -9063,6 +9069,9 @@ module Increase
9063
9069
  # The American Bankers' Association (ABA) routing number of the bank that sent the
9064
9070
  # wire.
9065
9071
  #
9072
+ # @param instruction_for_creditor_agent [String, nil]
9073
+ # A free-form instruction for the receiving bank set by the sender.
9074
+ #
9066
9075
  # @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
9067
9076
  #
9068
9077
  # @param purpose [String, nil] The reason for the wire transfer, as set by the sender.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.353.0"
4
+ VERSION = "1.354.0"
5
5
  end
@@ -468,13 +468,13 @@ module Increase
468
468
 
469
469
  # When the Federal Reserve acknowledged the submitted file containing this
470
470
  # transfer.
471
- sig { returns(String) }
471
+ sig { returns(Time) }
472
472
  attr_accessor :acknowledged_at
473
473
 
474
474
  # After the transfer is acknowledged by FedACH, this will contain supplemental
475
475
  # details. The Federal Reserve sends an acknowledgement message for each file that
476
476
  # Increase submits.
477
- sig { params(acknowledged_at: String).returns(T.attached_class) }
477
+ sig { params(acknowledged_at: Time).returns(T.attached_class) }
478
478
  def self.new(
479
479
  # When the Federal Reserve acknowledged the submitted file containing this
480
480
  # transfer.
@@ -482,7 +482,7 @@ module Increase
482
482
  )
483
483
  end
484
484
 
485
- sig { override.returns({ acknowledged_at: String }) }
485
+ sig { override.returns({ acknowledged_at: Time }) }
486
486
  def to_hash
487
487
  end
488
488
  end
@@ -443,7 +443,7 @@ module Increase
443
443
  Increase::BeneficialOwnerCreateParams::Individual::Identification::Method::TaggedSymbol
444
444
  )
445
445
 
446
- # The last four digits of a social security number.
446
+ # The last four digits of a social security number. Not all programs can use this method.
447
447
  SOCIAL_SECURITY_NUMBER_LAST4 =
448
448
  T.let(
449
449
  :social_security_number_last4,
@@ -401,7 +401,7 @@ module Increase
401
401
  Increase::BeneficialOwnerUpdateParams::Identification::Method::TaggedSymbol
402
402
  )
403
403
 
404
- # The last four digits of a social security number.
404
+ # The last four digits of a social security number. Not all programs can use this method.
405
405
  SOCIAL_SECURITY_NUMBER_LAST4 =
406
406
  T.let(
407
407
  :social_security_number_last4,
@@ -10287,6 +10287,13 @@ module Increase
10287
10287
  Increase::CardPayment::Element::CardDecline::RealTimeDecisionReason::TaggedSymbol
10288
10288
  )
10289
10289
 
10290
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
10291
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
10292
+ T.let(
10293
+ :additional_customer_authentication_required,
10294
+ Increase::CardPayment::Element::CardDecline::RealTimeDecisionReason::TaggedSymbol
10295
+ )
10296
+
10290
10297
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
10291
10298
  OTHER =
10292
10299
  T.let(