increase 1.327.0 → 1.329.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d36faa6689d625616fb444c8e0b092bf61598aa7af5fb332f0922072de0c5e90
4
- data.tar.gz: 70a08c3143fa8b753696a0bb07db89be29d1056ca6617973b348bdbb9e24198b
3
+ metadata.gz: afba565f9871dafc4096655feed6e70cd01411b001ee61c2626497921c186e8d
4
+ data.tar.gz: 78374f01810590bbd2294d29a87c534eb33edfee7b7b446ea779167ca7eb008c
5
5
  SHA512:
6
- metadata.gz: dfd74bb1ff35124816775308d39a497e7aaebe099eec7ba3733b2cc224a6b63e297512ad72b7572265adcbb82e3e49e4da3b6d738e2bd1747f43dc9289b5c6f5
7
- data.tar.gz: '041688c0534faba7adb2120c0fdf4d0cb6a04907b0b0e14c4e3e902b2c3a6b47c345823d9777a9897085f4e67c9c4c7d97dc7c495e5c9b3028f6587ff04c2932'
6
+ metadata.gz: 0ba878a5e8e118a9cc4ca68bd40e9b2c21ff4c1c3409c0b44a6c84569f4e129408a9883c2523b0bcdeb7ed509c51001c9c0e63558bb1e1b14f27c9bf14383686
7
+ data.tar.gz: 1c1179ac16aba12658c7065ff0eeb4b6ce4587567c0228bf50bd03484dceccabb82c8dc800d8bc6e8a08cf256cf01c2429f547cbb29590a33e5fe7344e14e66a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.329.0 (2026-05-16)
4
+
5
+ Full Changelog: [v1.328.0...v1.329.0](https://github.com/Increase/increase-ruby/compare/v1.328.0...v1.329.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([361c5d3](https://github.com/Increase/increase-ruby/commit/361c5d399bed89ff87d5c448ea9da49a0b5a55e1))
10
+
11
+ ## 1.328.0 (2026-05-15)
12
+
13
+ Full Changelog: [v1.327.0...v1.328.0](https://github.com/Increase/increase-ruby/compare/v1.327.0...v1.328.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([0339026](https://github.com/Increase/increase-ruby/commit/0339026919681f0c46eb7d5589498ba2c4c7ebac))
18
+
3
19
  ## 1.327.0 (2026-05-14)
4
20
 
5
21
  Full Changelog: [v1.326.0...v1.327.0](https://github.com/Increase/increase-ruby/compare/v1.326.0...v1.327.0)
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.327.0"
18
+ gem "increase", "~> 1.329.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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 corrected_data
212
- # The corrected data that should be used in future ACHs to this account. This may
213
- # contain the suggested new account number or routing number. When the
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 [String]
219
- required :corrected_data, String
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:, corrected_data:, created_at:)
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 corrected_data [String] The corrected data that should be used in future ACHs to this account. This may
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 corrected_data
833
- # The corrected data that should be used in future ACHs to this account. This may
834
- # contain the suggested new account number or routing number. When the
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 [String]
840
- required :corrected_data, String
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:, corrected_data:, created_at:)
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 corrected_data [String] The corrected data that should be used in future ACHs to this account. This may
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
@@ -620,9 +620,6 @@ module Increase
620
620
  module Status
621
621
  extend Increase::Internal::Type::Enum
622
622
 
623
- # The transfer has been canceled.
624
- CANCELED = :canceled
625
-
626
623
  # The transfer is pending settlement at Increase.
627
624
  PENDING_SETTLEMENT = :pending_settlement
628
625
 
@@ -15,98 +15,60 @@ module Increase
15
15
  # @return [String]
16
16
  required :ach_transfer_id, String
17
17
 
18
- # @!attribute change_code
19
- # The reason for the notification of change.
18
+ # @!attribute corrected_account_funding
19
+ # The corrected account funding type.
20
20
  #
21
- # @return [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode]
22
- required :change_code,
23
- enum: -> { Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode }
21
+ # @return [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding, nil]
22
+ optional :corrected_account_funding,
23
+ enum: -> { Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding }
24
24
 
25
- # @!attribute corrected_data
26
- # The corrected data for the notification of change (e.g., a new routing number).
25
+ # @!attribute corrected_account_number
26
+ # The corrected account number.
27
27
  #
28
- # @return [String]
29
- required :corrected_data, String
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
- # @!method initialize(ach_transfer_id:, change_code:, corrected_data:, request_options: {})
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 change_code [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] The reason for the notification of change.
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 corrected_data [String] The corrected data for the notification of change (e.g., a new routing number).
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 reason for the notification of change.
45
- module ChangeCode
60
+ # The corrected account funding type.
61
+ module CorrectedAccountFunding
46
62
  extend Increase::Internal::Type::Enum
47
63
 
48
- # The account number was incorrect.
49
- INCORRECT_ACCOUNT_NUMBER = :incorrect_account_number
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
- # The depository financial institution account number was not from the original entry detail record.
104
- DEPOSITORY_FINANCIAL_INSTITUTION_ACCOUNT_NUMBER_NOT_FROM_ORIGINAL_ENTRY_DETAIL_RECORD =
105
- :depository_financial_institution_account_number_not_from_original_entry_detail_record
67
+ # A savings account.
68
+ SAVINGS = :savings
106
69
 
107
- # The transaction code was incorrect, initiated by the originating depository financial institution.
108
- INCORRECT_TRANSACTION_CODE_BY_ORIGINATING_DEPOSITORY_FINANCIAL_INSTITUTION =
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>]
@@ -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, change_code:, corrected_data:, request_options: {})
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 change_code [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] The reason for the notification of change.
43
+ # @param corrected_account_funding [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding] The corrected account funding type.
44
44
  #
45
- # @param corrected_data [String] The corrected data for the notification of change (e.g., a new routing number).
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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.327.0"
4
+ VERSION = "1.329.0"
5
5
  end
@@ -302,13 +302,28 @@ module Increase
302
302
  end
303
303
  attr_accessor :change_code
304
304
 
305
- # The corrected data that should be used in future ACHs to this account. This may
306
- # contain the suggested new account number or routing number. When the
307
- # `change_code` is `incorrect_transaction_code`, this field contains an integer.
308
- # Numbers starting with a 2 encourage changing the `funding` parameter to
309
- # checking; numbers starting with a 3 encourage changing to savings.
310
- sig { returns(String) }
311
- attr_accessor :corrected_data
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
- corrected_data: String,
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 data that should be used in future ACHs to this account. This may
331
- # contain the suggested new account number or routing number. When the
332
- # `change_code` is `incorrect_transaction_code`, this field contains an integer.
333
- # Numbers starting with a 2 encourage changing the `funding` parameter to
334
- # checking; numbers starting with a 3 encourage changing to savings.
335
- corrected_data:,
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
- corrected_data: String,
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