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.
@@ -4,8 +4,10 @@ module Increase
4
4
  type ach_transfer_create_notification_of_change_params =
5
5
  {
6
6
  ach_transfer_id: String,
7
- change_code: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::change_code,
8
- corrected_data: String
7
+ corrected_account_funding: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding,
8
+ corrected_account_number: String,
9
+ corrected_individual_id: String,
10
+ corrected_routing_number: String
9
11
  }
10
12
  & Increase::Internal::Type::request_parameters
11
13
 
@@ -15,106 +17,57 @@ module Increase
15
17
 
16
18
  attr_accessor ach_transfer_id: String
17
19
 
18
- attr_accessor change_code: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::change_code
20
+ attr_reader corrected_account_funding: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding?
19
21
 
20
- attr_accessor corrected_data: String
22
+ def corrected_account_funding=: (
23
+ Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding
24
+ ) -> Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding
25
+
26
+ attr_reader corrected_account_number: String?
27
+
28
+ def corrected_account_number=: (String) -> String
29
+
30
+ attr_reader corrected_individual_id: String?
31
+
32
+ def corrected_individual_id=: (String) -> String
33
+
34
+ attr_reader corrected_routing_number: String?
35
+
36
+ def corrected_routing_number=: (String) -> String
21
37
 
22
38
  def initialize: (
23
39
  ach_transfer_id: String,
24
- change_code: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::change_code,
25
- corrected_data: String,
40
+ ?corrected_account_funding: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding,
41
+ ?corrected_account_number: String,
42
+ ?corrected_individual_id: String,
43
+ ?corrected_routing_number: String,
26
44
  ?request_options: Increase::request_opts
27
45
  ) -> void
28
46
 
29
47
  def to_hash: -> {
30
48
  ach_transfer_id: String,
31
- change_code: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::change_code,
32
- corrected_data: String,
49
+ corrected_account_funding: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding,
50
+ corrected_account_number: String,
51
+ corrected_individual_id: String,
52
+ corrected_routing_number: String,
33
53
  request_options: Increase::RequestOptions
34
54
  }
35
55
 
36
- type change_code =
37
- :incorrect_account_number
38
- | :incorrect_routing_number
39
- | :incorrect_routing_number_and_account_number
40
- | :incorrect_transaction_code
41
- | :incorrect_account_number_and_transaction_code
42
- | :incorrect_routing_number_account_number_and_transaction_code
43
- | :incorrect_receiving_depository_financial_institution_identification
44
- | :incorrect_individual_identification_number
45
- | :addenda_format_error
46
- | :incorrect_standard_entry_class_code_for_outbound_international_payment
47
- | :misrouted_notification_of_change
48
- | :incorrect_trace_number
49
- | :incorrect_company_identification_number
50
- | :incorrect_identification_number
51
- | :incorrectly_formatted_corrected_data
52
- | :incorrect_discretionary_data
53
- | :routing_number_not_from_original_entry_detail_record
54
- | :depository_financial_institution_account_number_not_from_original_entry_detail_record
55
- | :incorrect_transaction_code_by_originating_depository_financial_institution
56
-
57
- module ChangeCode
58
- extend Increase::Internal::Type::Enum
59
-
60
- # The account number was incorrect.
61
- INCORRECT_ACCOUNT_NUMBER: :incorrect_account_number
62
-
63
- # The routing number was incorrect.
64
- INCORRECT_ROUTING_NUMBER: :incorrect_routing_number
65
-
66
- # Both the routing number and the account number were incorrect.
67
- INCORRECT_ROUTING_NUMBER_AND_ACCOUNT_NUMBER: :incorrect_routing_number_and_account_number
68
-
69
- # The transaction code was incorrect. Try changing the `funding` parameter from checking to savings or vice-versa.
70
- INCORRECT_TRANSACTION_CODE: :incorrect_transaction_code
71
-
72
- # The account number and the transaction code were incorrect.
73
- INCORRECT_ACCOUNT_NUMBER_AND_TRANSACTION_CODE: :incorrect_account_number_and_transaction_code
56
+ type corrected_account_funding = :checking | :savings | :general_ledger
74
57
 
75
- # The routing number, account number, and transaction code were incorrect.
76
- INCORRECT_ROUTING_NUMBER_ACCOUNT_NUMBER_AND_TRANSACTION_CODE: :incorrect_routing_number_account_number_and_transaction_code
77
-
78
- # The receiving depository financial institution identification was incorrect.
79
- INCORRECT_RECEIVING_DEPOSITORY_FINANCIAL_INSTITUTION_IDENTIFICATION: :incorrect_receiving_depository_financial_institution_identification
80
-
81
- # The individual identification number was incorrect.
82
- INCORRECT_INDIVIDUAL_IDENTIFICATION_NUMBER: :incorrect_individual_identification_number
83
-
84
- # The addenda had an incorrect format.
85
- ADDENDA_FORMAT_ERROR: :addenda_format_error
86
-
87
- # The standard entry class code was incorrect for an outbound international payment.
88
- INCORRECT_STANDARD_ENTRY_CLASS_CODE_FOR_OUTBOUND_INTERNATIONAL_PAYMENT: :incorrect_standard_entry_class_code_for_outbound_international_payment
89
-
90
- # The notification of change was misrouted.
91
- MISROUTED_NOTIFICATION_OF_CHANGE: :misrouted_notification_of_change
92
-
93
- # The trace number was incorrect.
94
- INCORRECT_TRACE_NUMBER: :incorrect_trace_number
95
-
96
- # The company identification number was incorrect.
97
- INCORRECT_COMPANY_IDENTIFICATION_NUMBER: :incorrect_company_identification_number
98
-
99
- # The individual identification number or identification number was incorrect.
100
- INCORRECT_IDENTIFICATION_NUMBER: :incorrect_identification_number
101
-
102
- # The corrected data was incorrectly formatted.
103
- INCORRECTLY_FORMATTED_CORRECTED_DATA: :incorrectly_formatted_corrected_data
104
-
105
- # The discretionary data was incorrect.
106
- INCORRECT_DISCRETIONARY_DATA: :incorrect_discretionary_data
58
+ module CorrectedAccountFunding
59
+ extend Increase::Internal::Type::Enum
107
60
 
108
- # The routing number was not from the original entry detail record.
109
- ROUTING_NUMBER_NOT_FROM_ORIGINAL_ENTRY_DETAIL_RECORD: :routing_number_not_from_original_entry_detail_record
61
+ # A checking account.
62
+ CHECKING: :checking
110
63
 
111
- # The depository financial institution account number was not from the original entry detail record.
112
- DEPOSITORY_FINANCIAL_INSTITUTION_ACCOUNT_NUMBER_NOT_FROM_ORIGINAL_ENTRY_DETAIL_RECORD: :depository_financial_institution_account_number_not_from_original_entry_detail_record
64
+ # A savings account.
65
+ SAVINGS: :savings
113
66
 
114
- # The transaction code was incorrect, initiated by the originating depository financial institution.
115
- INCORRECT_TRANSACTION_CODE_BY_ORIGINATING_DEPOSITORY_FINANCIAL_INSTITUTION: :incorrect_transaction_code_by_originating_depository_financial_institution
67
+ # A bank's general ledger. Uncommon.
68
+ GENERAL_LEDGER: :general_ledger
116
69
 
117
- def self?.values: -> ::Array[Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::change_code]
70
+ def self?.values: -> ::Array[Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding]
118
71
  end
119
72
  end
120
73
  end
@@ -9,8 +9,10 @@ module Increase
9
9
 
10
10
  def create_notification_of_change: (
11
11
  String ach_transfer_id,
12
- change_code: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::change_code,
13
- corrected_data: String,
12
+ ?corrected_account_funding: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding,
13
+ ?corrected_account_number: String,
14
+ ?corrected_individual_id: String,
15
+ ?corrected_routing_number: String,
14
16
  ?request_options: Increase::request_opts
15
17
  ) -> Increase::ACHTransfer
16
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.327.0
4
+ version: 1.329.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-14 00:00:00.000000000 Z
11
+ date: 2026-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi