increase 1.328.0 → 1.330.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/ach_prenotification.rb +53 -10
- data/lib/increase/models/ach_transfer.rb +53 -10
- data/lib/increase/models/beneficial_owner_update_params.rb +26 -1
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +36 -74
- data/lib/increase/resources/beneficial_owners.rb +3 -1
- data/lib/increase/resources/simulations/ach_transfers.rb +8 -4
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +91 -15
- data/rbi/increase/models/ach_transfer.rbi +91 -15
- data/rbi/increase/models/beneficial_owner_update_params.rbi +62 -0
- data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +67 -144
- data/rbi/increase/resources/beneficial_owners.rbi +7 -0
- data/rbi/increase/resources/simulations/ach_transfers.rbi +13 -7
- data/sig/increase/models/ach_prenotification.rbs +36 -4
- data/sig/increase/models/ach_transfer.rbs +36 -4
- data/sig/increase/models/beneficial_owner_update_params.rbs +24 -1
- data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +38 -85
- data/sig/increase/resources/beneficial_owners.rbs +1 -0
- data/sig/increase/resources/simulations/ach_transfers.rbs +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b20eb0b5d907399fbb949a4503a622fcd33632d9980a736d42f05ca6a5301be1
|
|
4
|
+
data.tar.gz: 742164b33bea4e5ce9b490dd06e640375d96c635e08d981ef7b4215b64538a30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66d9debb16fdecd229ebed4182ff900e59223726dd4d638cb56924427e113b6830604795a543e30141a3a25bf38347f4f9215b1c5a7077f896e77d398c072400
|
|
7
|
+
data.tar.gz: 464894df51daed58b1d30c867fe4ee198ca756a765fff8c7f61f0e81d3aab58bc73cae9f6501a5315b46cfe9919164118bf494cc91aa860810d35eb31453252e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.330.0 (2026-05-17)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.329.0...v1.330.0](https://github.com/Increase/increase-ruby/compare/v1.329.0...v1.330.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([1497039](https://github.com/Increase/increase-ruby/commit/1497039cf8b717ee110089273f944f7446554935))
|
|
10
|
+
|
|
11
|
+
## 1.329.0 (2026-05-16)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.328.0...v1.329.0](https://github.com/Increase/increase-ruby/compare/v1.328.0...v1.329.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([361c5d3](https://github.com/Increase/increase-ruby/commit/361c5d399bed89ff87d5c448ea9da49a0b5a55e1))
|
|
18
|
+
|
|
3
19
|
## 1.328.0 (2026-05-15)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.327.0...v1.328.0](https://github.com/Increase/increase-ruby/compare/v1.327.0...v1.328.0)
|
data/README.md
CHANGED
|
@@ -208,15 +208,32 @@ module Increase
|
|
|
208
208
|
# @return [Symbol, Increase::Models::ACHPrenotification::NotificationsOfChange::ChangeCode]
|
|
209
209
|
required :change_code, enum: -> { Increase::ACHPrenotification::NotificationsOfChange::ChangeCode }
|
|
210
210
|
|
|
211
|
-
# @!attribute
|
|
212
|
-
# The corrected
|
|
213
|
-
#
|
|
214
|
-
# `change_code` is `incorrect_transaction_code`, this field contains an integer.
|
|
215
|
-
# Numbers starting with a 2 encourage changing the `funding` parameter to
|
|
216
|
-
# checking; numbers starting with a 3 encourage changing to savings.
|
|
211
|
+
# @!attribute corrected_account_funding
|
|
212
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
213
|
+
# account. This is derived from the corrected transaction code.
|
|
217
214
|
#
|
|
218
|
-
# @return [
|
|
219
|
-
required :
|
|
215
|
+
# @return [Symbol, Increase::Models::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding, nil]
|
|
216
|
+
required :corrected_account_funding,
|
|
217
|
+
enum: -> { Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding },
|
|
218
|
+
nil?: true
|
|
219
|
+
|
|
220
|
+
# @!attribute corrected_account_number
|
|
221
|
+
# The corrected account number that should be used in future ACHs to this account.
|
|
222
|
+
#
|
|
223
|
+
# @return [String, nil]
|
|
224
|
+
required :corrected_account_number, String, nil?: true
|
|
225
|
+
|
|
226
|
+
# @!attribute corrected_individual_id
|
|
227
|
+
# The corrected individual identifier that should be used in future ACHs.
|
|
228
|
+
#
|
|
229
|
+
# @return [String, nil]
|
|
230
|
+
required :corrected_individual_id, String, nil?: true
|
|
231
|
+
|
|
232
|
+
# @!attribute corrected_routing_number
|
|
233
|
+
# The corrected routing number that should be used in future ACHs to this account.
|
|
234
|
+
#
|
|
235
|
+
# @return [String, nil]
|
|
236
|
+
required :corrected_routing_number, String, nil?: true
|
|
220
237
|
|
|
221
238
|
# @!attribute created_at
|
|
222
239
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -225,13 +242,19 @@ module Increase
|
|
|
225
242
|
# @return [Time]
|
|
226
243
|
required :created_at, Time
|
|
227
244
|
|
|
228
|
-
# @!method initialize(change_code:,
|
|
245
|
+
# @!method initialize(change_code:, corrected_account_funding:, corrected_account_number:, corrected_individual_id:, corrected_routing_number:, created_at:)
|
|
229
246
|
# Some parameter documentations has been truncated, see
|
|
230
247
|
# {Increase::Models::ACHPrenotification::NotificationsOfChange} for more details.
|
|
231
248
|
#
|
|
232
249
|
# @param change_code [Symbol, Increase::Models::ACHPrenotification::NotificationsOfChange::ChangeCode] The required type of change that is being signaled by the receiving financial in
|
|
233
250
|
#
|
|
234
|
-
# @param
|
|
251
|
+
# @param corrected_account_funding [Symbol, Increase::Models::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding, nil] The corrected account funding type that should be used in future ACHs to this ac
|
|
252
|
+
#
|
|
253
|
+
# @param corrected_account_number [String, nil] The corrected account number that should be used in future ACHs to this account.
|
|
254
|
+
#
|
|
255
|
+
# @param corrected_individual_id [String, nil] The corrected individual identifier that should be used in future ACHs.
|
|
256
|
+
#
|
|
257
|
+
# @param corrected_routing_number [String, nil] The corrected routing number that should be used in future ACHs to this account.
|
|
235
258
|
#
|
|
236
259
|
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
|
|
237
260
|
|
|
@@ -308,6 +331,26 @@ module Increase
|
|
|
308
331
|
# @!method self.values
|
|
309
332
|
# @return [Array<Symbol>]
|
|
310
333
|
end
|
|
334
|
+
|
|
335
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
336
|
+
# account. This is derived from the corrected transaction code.
|
|
337
|
+
#
|
|
338
|
+
# @see Increase::Models::ACHPrenotification::NotificationsOfChange#corrected_account_funding
|
|
339
|
+
module CorrectedAccountFunding
|
|
340
|
+
extend Increase::Internal::Type::Enum
|
|
341
|
+
|
|
342
|
+
# A checking account.
|
|
343
|
+
CHECKING = :checking
|
|
344
|
+
|
|
345
|
+
# A savings account.
|
|
346
|
+
SAVINGS = :savings
|
|
347
|
+
|
|
348
|
+
# A bank's general ledger. Uncommon.
|
|
349
|
+
GENERAL_LEDGER = :general_ledger
|
|
350
|
+
|
|
351
|
+
# @!method self.values
|
|
352
|
+
# @return [Array<Symbol>]
|
|
353
|
+
end
|
|
311
354
|
end
|
|
312
355
|
|
|
313
356
|
# @see Increase::Models::ACHPrenotification#prenotification_return
|
|
@@ -829,15 +829,32 @@ module Increase
|
|
|
829
829
|
# @return [Symbol, Increase::Models::ACHTransfer::NotificationsOfChange::ChangeCode]
|
|
830
830
|
required :change_code, enum: -> { Increase::ACHTransfer::NotificationsOfChange::ChangeCode }
|
|
831
831
|
|
|
832
|
-
# @!attribute
|
|
833
|
-
# The corrected
|
|
834
|
-
#
|
|
835
|
-
# `change_code` is `incorrect_transaction_code`, this field contains an integer.
|
|
836
|
-
# Numbers starting with a 2 encourage changing the `funding` parameter to
|
|
837
|
-
# checking; numbers starting with a 3 encourage changing to savings.
|
|
832
|
+
# @!attribute corrected_account_funding
|
|
833
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
834
|
+
# account. This is derived from the corrected transaction code.
|
|
838
835
|
#
|
|
839
|
-
# @return [
|
|
840
|
-
required :
|
|
836
|
+
# @return [Symbol, Increase::Models::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding, nil]
|
|
837
|
+
required :corrected_account_funding,
|
|
838
|
+
enum: -> { Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding },
|
|
839
|
+
nil?: true
|
|
840
|
+
|
|
841
|
+
# @!attribute corrected_account_number
|
|
842
|
+
# The corrected account number that should be used in future ACHs to this account.
|
|
843
|
+
#
|
|
844
|
+
# @return [String, nil]
|
|
845
|
+
required :corrected_account_number, String, nil?: true
|
|
846
|
+
|
|
847
|
+
# @!attribute corrected_individual_id
|
|
848
|
+
# The corrected individual identifier that should be used in future ACHs.
|
|
849
|
+
#
|
|
850
|
+
# @return [String, nil]
|
|
851
|
+
required :corrected_individual_id, String, nil?: true
|
|
852
|
+
|
|
853
|
+
# @!attribute corrected_routing_number
|
|
854
|
+
# The corrected routing number that should be used in future ACHs to this account.
|
|
855
|
+
#
|
|
856
|
+
# @return [String, nil]
|
|
857
|
+
required :corrected_routing_number, String, nil?: true
|
|
841
858
|
|
|
842
859
|
# @!attribute created_at
|
|
843
860
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -846,13 +863,19 @@ module Increase
|
|
|
846
863
|
# @return [Time]
|
|
847
864
|
required :created_at, Time
|
|
848
865
|
|
|
849
|
-
# @!method initialize(change_code:,
|
|
866
|
+
# @!method initialize(change_code:, corrected_account_funding:, corrected_account_number:, corrected_individual_id:, corrected_routing_number:, created_at:)
|
|
850
867
|
# Some parameter documentations has been truncated, see
|
|
851
868
|
# {Increase::Models::ACHTransfer::NotificationsOfChange} for more details.
|
|
852
869
|
#
|
|
853
870
|
# @param change_code [Symbol, Increase::Models::ACHTransfer::NotificationsOfChange::ChangeCode] The required type of change that is being signaled by the receiving financial in
|
|
854
871
|
#
|
|
855
|
-
# @param
|
|
872
|
+
# @param corrected_account_funding [Symbol, Increase::Models::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding, nil] The corrected account funding type that should be used in future ACHs to this ac
|
|
873
|
+
#
|
|
874
|
+
# @param corrected_account_number [String, nil] The corrected account number that should be used in future ACHs to this account.
|
|
875
|
+
#
|
|
876
|
+
# @param corrected_individual_id [String, nil] The corrected individual identifier that should be used in future ACHs.
|
|
877
|
+
#
|
|
878
|
+
# @param corrected_routing_number [String, nil] The corrected routing number that should be used in future ACHs to this account.
|
|
856
879
|
#
|
|
857
880
|
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
|
|
858
881
|
|
|
@@ -929,6 +952,26 @@ module Increase
|
|
|
929
952
|
# @!method self.values
|
|
930
953
|
# @return [Array<Symbol>]
|
|
931
954
|
end
|
|
955
|
+
|
|
956
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
957
|
+
# account. This is derived from the corrected transaction code.
|
|
958
|
+
#
|
|
959
|
+
# @see Increase::Models::ACHTransfer::NotificationsOfChange#corrected_account_funding
|
|
960
|
+
module CorrectedAccountFunding
|
|
961
|
+
extend Increase::Internal::Type::Enum
|
|
962
|
+
|
|
963
|
+
# A checking account.
|
|
964
|
+
CHECKING = :checking
|
|
965
|
+
|
|
966
|
+
# A savings account.
|
|
967
|
+
SAVINGS = :savings
|
|
968
|
+
|
|
969
|
+
# A bank's general ledger. Uncommon.
|
|
970
|
+
GENERAL_LEDGER = :general_ledger
|
|
971
|
+
|
|
972
|
+
# @!method self.values
|
|
973
|
+
# @return [Array<Symbol>]
|
|
974
|
+
end
|
|
932
975
|
end
|
|
933
976
|
|
|
934
977
|
# @see Increase::Models::ACHTransfer#preferred_effective_date
|
|
@@ -41,7 +41,17 @@ module Increase
|
|
|
41
41
|
# @return [String, nil]
|
|
42
42
|
optional :name, String
|
|
43
43
|
|
|
44
|
-
# @!
|
|
44
|
+
# @!attribute prongs
|
|
45
|
+
# Why this person is considered a beneficial owner of the entity. At least one
|
|
46
|
+
# option is required, if a person is both a control person and owner, submit an
|
|
47
|
+
# array containing both. Providing this replaces the beneficial owner's current
|
|
48
|
+
# prongs.
|
|
49
|
+
#
|
|
50
|
+
# @return [Array<Symbol, Increase::Models::BeneficialOwnerUpdateParams::Prong>, nil]
|
|
51
|
+
optional :prongs,
|
|
52
|
+
-> { Increase::Internal::Type::ArrayOf[enum: Increase::BeneficialOwnerUpdateParams::Prong] }
|
|
53
|
+
|
|
54
|
+
# @!method initialize(entity_beneficial_owner_id:, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, prongs: nil, request_options: {})
|
|
45
55
|
# Some parameter documentations has been truncated, see
|
|
46
56
|
# {Increase::Models::BeneficialOwnerUpdateParams} for more details.
|
|
47
57
|
#
|
|
@@ -55,6 +65,8 @@ module Increase
|
|
|
55
65
|
#
|
|
56
66
|
# @param name [String] The individual's legal name.
|
|
57
67
|
#
|
|
68
|
+
# @param prongs [Array<Symbol, Increase::Models::BeneficialOwnerUpdateParams::Prong>] Why this person is considered a beneficial owner of the entity. At least one opt
|
|
69
|
+
#
|
|
58
70
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
59
71
|
|
|
60
72
|
class Address < Increase::Internal::Type::BaseModel
|
|
@@ -324,6 +336,19 @@ module Increase
|
|
|
324
336
|
# @param file_id [String] The identifier of the File containing the passport.
|
|
325
337
|
end
|
|
326
338
|
end
|
|
339
|
+
|
|
340
|
+
module Prong
|
|
341
|
+
extend Increase::Internal::Type::Enum
|
|
342
|
+
|
|
343
|
+
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
344
|
+
OWNERSHIP = :ownership
|
|
345
|
+
|
|
346
|
+
# A person who manages, directs, or has significant control of the entity.
|
|
347
|
+
CONTROL = :control
|
|
348
|
+
|
|
349
|
+
# @!method self.values
|
|
350
|
+
# @return [Array<Symbol>]
|
|
351
|
+
end
|
|
327
352
|
end
|
|
328
353
|
end
|
|
329
354
|
end
|
|
@@ -15,98 +15,60 @@ module Increase
|
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :ach_transfer_id, String
|
|
17
17
|
|
|
18
|
-
# @!attribute
|
|
19
|
-
# The
|
|
18
|
+
# @!attribute corrected_account_funding
|
|
19
|
+
# The corrected account funding type.
|
|
20
20
|
#
|
|
21
|
-
# @return [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
22
|
-
|
|
23
|
-
enum: -> { Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
21
|
+
# @return [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding, nil]
|
|
22
|
+
optional :corrected_account_funding,
|
|
23
|
+
enum: -> { Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding }
|
|
24
24
|
|
|
25
|
-
# @!attribute
|
|
26
|
-
# The corrected
|
|
25
|
+
# @!attribute corrected_account_number
|
|
26
|
+
# The corrected account number.
|
|
27
27
|
#
|
|
28
|
-
# @return [String]
|
|
29
|
-
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :corrected_account_number, String
|
|
30
|
+
|
|
31
|
+
# @!attribute corrected_individual_id
|
|
32
|
+
# The corrected individual identifier.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :corrected_individual_id, String
|
|
30
36
|
|
|
31
|
-
# @!
|
|
37
|
+
# @!attribute corrected_routing_number
|
|
38
|
+
# The corrected routing number.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :corrected_routing_number, String
|
|
42
|
+
|
|
43
|
+
# @!method initialize(ach_transfer_id:, corrected_account_funding: nil, corrected_account_number: nil, corrected_individual_id: nil, corrected_routing_number: nil, request_options: {})
|
|
32
44
|
# Some parameter documentations has been truncated, see
|
|
33
45
|
# {Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams} for
|
|
34
46
|
# more details.
|
|
35
47
|
#
|
|
36
48
|
# @param ach_transfer_id [String] The identifier of the ACH Transfer you wish to create a notification of change f
|
|
37
49
|
#
|
|
38
|
-
# @param
|
|
50
|
+
# @param corrected_account_funding [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding] The corrected account funding type.
|
|
51
|
+
#
|
|
52
|
+
# @param corrected_account_number [String] The corrected account number.
|
|
39
53
|
#
|
|
40
|
-
# @param
|
|
54
|
+
# @param corrected_individual_id [String] The corrected individual identifier.
|
|
55
|
+
#
|
|
56
|
+
# @param corrected_routing_number [String] The corrected routing number.
|
|
41
57
|
#
|
|
42
58
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
43
59
|
|
|
44
|
-
# The
|
|
45
|
-
module
|
|
60
|
+
# The corrected account funding type.
|
|
61
|
+
module CorrectedAccountFunding
|
|
46
62
|
extend Increase::Internal::Type::Enum
|
|
47
63
|
|
|
48
|
-
#
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
# The routing number was incorrect.
|
|
52
|
-
INCORRECT_ROUTING_NUMBER = :incorrect_routing_number
|
|
53
|
-
|
|
54
|
-
# Both the routing number and the account number were incorrect.
|
|
55
|
-
INCORRECT_ROUTING_NUMBER_AND_ACCOUNT_NUMBER = :incorrect_routing_number_and_account_number
|
|
56
|
-
|
|
57
|
-
# The transaction code was incorrect. Try changing the `funding` parameter from checking to savings or vice-versa.
|
|
58
|
-
INCORRECT_TRANSACTION_CODE = :incorrect_transaction_code
|
|
59
|
-
|
|
60
|
-
# The account number and the transaction code were incorrect.
|
|
61
|
-
INCORRECT_ACCOUNT_NUMBER_AND_TRANSACTION_CODE = :incorrect_account_number_and_transaction_code
|
|
62
|
-
|
|
63
|
-
# The routing number, account number, and transaction code were incorrect.
|
|
64
|
-
INCORRECT_ROUTING_NUMBER_ACCOUNT_NUMBER_AND_TRANSACTION_CODE =
|
|
65
|
-
:incorrect_routing_number_account_number_and_transaction_code
|
|
66
|
-
|
|
67
|
-
# The receiving depository financial institution identification was incorrect.
|
|
68
|
-
INCORRECT_RECEIVING_DEPOSITORY_FINANCIAL_INSTITUTION_IDENTIFICATION =
|
|
69
|
-
:incorrect_receiving_depository_financial_institution_identification
|
|
70
|
-
|
|
71
|
-
# The individual identification number was incorrect.
|
|
72
|
-
INCORRECT_INDIVIDUAL_IDENTIFICATION_NUMBER = :incorrect_individual_identification_number
|
|
73
|
-
|
|
74
|
-
# The addenda had an incorrect format.
|
|
75
|
-
ADDENDA_FORMAT_ERROR = :addenda_format_error
|
|
76
|
-
|
|
77
|
-
# The standard entry class code was incorrect for an outbound international payment.
|
|
78
|
-
INCORRECT_STANDARD_ENTRY_CLASS_CODE_FOR_OUTBOUND_INTERNATIONAL_PAYMENT =
|
|
79
|
-
:incorrect_standard_entry_class_code_for_outbound_international_payment
|
|
80
|
-
|
|
81
|
-
# The notification of change was misrouted.
|
|
82
|
-
MISROUTED_NOTIFICATION_OF_CHANGE = :misrouted_notification_of_change
|
|
83
|
-
|
|
84
|
-
# The trace number was incorrect.
|
|
85
|
-
INCORRECT_TRACE_NUMBER = :incorrect_trace_number
|
|
86
|
-
|
|
87
|
-
# The company identification number was incorrect.
|
|
88
|
-
INCORRECT_COMPANY_IDENTIFICATION_NUMBER = :incorrect_company_identification_number
|
|
89
|
-
|
|
90
|
-
# The individual identification number or identification number was incorrect.
|
|
91
|
-
INCORRECT_IDENTIFICATION_NUMBER = :incorrect_identification_number
|
|
92
|
-
|
|
93
|
-
# The corrected data was incorrectly formatted.
|
|
94
|
-
INCORRECTLY_FORMATTED_CORRECTED_DATA = :incorrectly_formatted_corrected_data
|
|
95
|
-
|
|
96
|
-
# The discretionary data was incorrect.
|
|
97
|
-
INCORRECT_DISCRETIONARY_DATA = :incorrect_discretionary_data
|
|
98
|
-
|
|
99
|
-
# The routing number was not from the original entry detail record.
|
|
100
|
-
ROUTING_NUMBER_NOT_FROM_ORIGINAL_ENTRY_DETAIL_RECORD =
|
|
101
|
-
:routing_number_not_from_original_entry_detail_record
|
|
64
|
+
# A checking account.
|
|
65
|
+
CHECKING = :checking
|
|
102
66
|
|
|
103
|
-
#
|
|
104
|
-
|
|
105
|
-
:depository_financial_institution_account_number_not_from_original_entry_detail_record
|
|
67
|
+
# A savings account.
|
|
68
|
+
SAVINGS = :savings
|
|
106
69
|
|
|
107
|
-
#
|
|
108
|
-
|
|
109
|
-
:incorrect_transaction_code_by_originating_depository_financial_institution
|
|
70
|
+
# A bank's general ledger. Uncommon.
|
|
71
|
+
GENERAL_LEDGER = :general_ledger
|
|
110
72
|
|
|
111
73
|
# @!method self.values
|
|
112
74
|
# @return [Array<Symbol>]
|
|
@@ -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, request_options: {})
|
|
62
|
+
# @overload update(entity_beneficial_owner_id, address: nil, confirmed_no_us_tax_id: 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
|
#
|
|
@@ -71,6 +71,8 @@ module Increase
|
|
|
71
71
|
#
|
|
72
72
|
# @param name [String] The individual's legal name.
|
|
73
73
|
#
|
|
74
|
+
# @param prongs [Array<Symbol, Increase::Models::BeneficialOwnerUpdateParams::Prong>] Why this person is considered a beneficial owner of the entity. At least one opt
|
|
75
|
+
#
|
|
74
76
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
75
77
|
#
|
|
76
78
|
# @return [Increase::Models::EntityBeneficialOwner]
|
|
@@ -36,20 +36,24 @@ module Increase
|
|
|
36
36
|
# Simulates receiving a Notification of Change for an
|
|
37
37
|
# [ACH Transfer](#ach-transfers).
|
|
38
38
|
#
|
|
39
|
-
# @overload create_notification_of_change(ach_transfer_id,
|
|
39
|
+
# @overload create_notification_of_change(ach_transfer_id, corrected_account_funding: nil, corrected_account_number: nil, corrected_individual_id: nil, corrected_routing_number: nil, request_options: {})
|
|
40
40
|
#
|
|
41
41
|
# @param ach_transfer_id [String] The identifier of the ACH Transfer you wish to create a notification of change f
|
|
42
42
|
#
|
|
43
|
-
# @param
|
|
43
|
+
# @param corrected_account_funding [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding] The corrected account funding type.
|
|
44
44
|
#
|
|
45
|
-
# @param
|
|
45
|
+
# @param corrected_account_number [String] The corrected account number.
|
|
46
|
+
#
|
|
47
|
+
# @param corrected_individual_id [String] The corrected individual identifier.
|
|
48
|
+
#
|
|
49
|
+
# @param corrected_routing_number [String] The corrected routing number.
|
|
46
50
|
#
|
|
47
51
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
48
52
|
#
|
|
49
53
|
# @return [Increase::Models::ACHTransfer]
|
|
50
54
|
#
|
|
51
55
|
# @see Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams
|
|
52
|
-
def create_notification_of_change(ach_transfer_id, params)
|
|
56
|
+
def create_notification_of_change(ach_transfer_id, params = {})
|
|
53
57
|
parsed, options = Increase::Simulations::ACHTransferCreateNotificationOfChangeParams.dump_request(params)
|
|
54
58
|
@client.request(
|
|
55
59
|
method: :post,
|
data/lib/increase/version.rb
CHANGED
|
@@ -302,13 +302,28 @@ module Increase
|
|
|
302
302
|
end
|
|
303
303
|
attr_accessor :change_code
|
|
304
304
|
|
|
305
|
-
# The corrected
|
|
306
|
-
#
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
305
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
306
|
+
# account. This is derived from the corrected transaction code.
|
|
307
|
+
sig do
|
|
308
|
+
returns(
|
|
309
|
+
T.nilable(
|
|
310
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
311
|
+
)
|
|
312
|
+
)
|
|
313
|
+
end
|
|
314
|
+
attr_accessor :corrected_account_funding
|
|
315
|
+
|
|
316
|
+
# The corrected account number that should be used in future ACHs to this account.
|
|
317
|
+
sig { returns(T.nilable(String)) }
|
|
318
|
+
attr_accessor :corrected_account_number
|
|
319
|
+
|
|
320
|
+
# The corrected individual identifier that should be used in future ACHs.
|
|
321
|
+
sig { returns(T.nilable(String)) }
|
|
322
|
+
attr_accessor :corrected_individual_id
|
|
323
|
+
|
|
324
|
+
# The corrected routing number that should be used in future ACHs to this account.
|
|
325
|
+
sig { returns(T.nilable(String)) }
|
|
326
|
+
attr_accessor :corrected_routing_number
|
|
312
327
|
|
|
313
328
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
314
329
|
# the notification occurred.
|
|
@@ -319,7 +334,13 @@ module Increase
|
|
|
319
334
|
params(
|
|
320
335
|
change_code:
|
|
321
336
|
Increase::ACHPrenotification::NotificationsOfChange::ChangeCode::OrSymbol,
|
|
322
|
-
|
|
337
|
+
corrected_account_funding:
|
|
338
|
+
T.nilable(
|
|
339
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::OrSymbol
|
|
340
|
+
),
|
|
341
|
+
corrected_account_number: T.nilable(String),
|
|
342
|
+
corrected_individual_id: T.nilable(String),
|
|
343
|
+
corrected_routing_number: T.nilable(String),
|
|
323
344
|
created_at: Time
|
|
324
345
|
).returns(T.attached_class)
|
|
325
346
|
end
|
|
@@ -327,12 +348,15 @@ module Increase
|
|
|
327
348
|
# The required type of change that is being signaled by the receiving financial
|
|
328
349
|
# institution.
|
|
329
350
|
change_code:,
|
|
330
|
-
# The corrected
|
|
331
|
-
#
|
|
332
|
-
|
|
333
|
-
#
|
|
334
|
-
|
|
335
|
-
|
|
351
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
352
|
+
# account. This is derived from the corrected transaction code.
|
|
353
|
+
corrected_account_funding:,
|
|
354
|
+
# The corrected account number that should be used in future ACHs to this account.
|
|
355
|
+
corrected_account_number:,
|
|
356
|
+
# The corrected individual identifier that should be used in future ACHs.
|
|
357
|
+
corrected_individual_id:,
|
|
358
|
+
# The corrected routing number that should be used in future ACHs to this account.
|
|
359
|
+
corrected_routing_number:,
|
|
336
360
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
337
361
|
# the notification occurred.
|
|
338
362
|
created_at:
|
|
@@ -344,7 +368,13 @@ module Increase
|
|
|
344
368
|
{
|
|
345
369
|
change_code:
|
|
346
370
|
Increase::ACHPrenotification::NotificationsOfChange::ChangeCode::TaggedSymbol,
|
|
347
|
-
|
|
371
|
+
corrected_account_funding:
|
|
372
|
+
T.nilable(
|
|
373
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
374
|
+
),
|
|
375
|
+
corrected_account_number: T.nilable(String),
|
|
376
|
+
corrected_individual_id: T.nilable(String),
|
|
377
|
+
corrected_routing_number: T.nilable(String),
|
|
348
378
|
created_at: Time
|
|
349
379
|
}
|
|
350
380
|
)
|
|
@@ -509,6 +539,52 @@ module Increase
|
|
|
509
539
|
def self.values
|
|
510
540
|
end
|
|
511
541
|
end
|
|
542
|
+
|
|
543
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
544
|
+
# account. This is derived from the corrected transaction code.
|
|
545
|
+
module CorrectedAccountFunding
|
|
546
|
+
extend Increase::Internal::Type::Enum
|
|
547
|
+
|
|
548
|
+
TaggedSymbol =
|
|
549
|
+
T.type_alias do
|
|
550
|
+
T.all(
|
|
551
|
+
Symbol,
|
|
552
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding
|
|
553
|
+
)
|
|
554
|
+
end
|
|
555
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
556
|
+
|
|
557
|
+
# A checking account.
|
|
558
|
+
CHECKING =
|
|
559
|
+
T.let(
|
|
560
|
+
:checking,
|
|
561
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
562
|
+
)
|
|
563
|
+
|
|
564
|
+
# A savings account.
|
|
565
|
+
SAVINGS =
|
|
566
|
+
T.let(
|
|
567
|
+
:savings,
|
|
568
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
569
|
+
)
|
|
570
|
+
|
|
571
|
+
# A bank's general ledger. Uncommon.
|
|
572
|
+
GENERAL_LEDGER =
|
|
573
|
+
T.let(
|
|
574
|
+
:general_ledger,
|
|
575
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
576
|
+
)
|
|
577
|
+
|
|
578
|
+
sig do
|
|
579
|
+
override.returns(
|
|
580
|
+
T::Array[
|
|
581
|
+
Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
582
|
+
]
|
|
583
|
+
)
|
|
584
|
+
end
|
|
585
|
+
def self.values
|
|
586
|
+
end
|
|
587
|
+
end
|
|
512
588
|
end
|
|
513
589
|
|
|
514
590
|
class PrenotificationReturn < Increase::Internal::Type::BaseModel
|