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
|
@@ -555,26 +555,41 @@ module Increase
|
|
|
555
555
|
type notifications_of_change =
|
|
556
556
|
{
|
|
557
557
|
change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code,
|
|
558
|
-
|
|
558
|
+
corrected_account_funding: Increase::Models::ACHTransfer::NotificationsOfChange::corrected_account_funding?,
|
|
559
|
+
corrected_account_number: String?,
|
|
560
|
+
corrected_individual_id: String?,
|
|
561
|
+
corrected_routing_number: String?,
|
|
559
562
|
created_at: Time
|
|
560
563
|
}
|
|
561
564
|
|
|
562
565
|
class NotificationsOfChange < Increase::Internal::Type::BaseModel
|
|
563
566
|
attr_accessor change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code
|
|
564
567
|
|
|
565
|
-
attr_accessor
|
|
568
|
+
attr_accessor corrected_account_funding: Increase::Models::ACHTransfer::NotificationsOfChange::corrected_account_funding?
|
|
569
|
+
|
|
570
|
+
attr_accessor corrected_account_number: String?
|
|
571
|
+
|
|
572
|
+
attr_accessor corrected_individual_id: String?
|
|
573
|
+
|
|
574
|
+
attr_accessor corrected_routing_number: String?
|
|
566
575
|
|
|
567
576
|
attr_accessor created_at: Time
|
|
568
577
|
|
|
569
578
|
def initialize: (
|
|
570
579
|
change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code,
|
|
571
|
-
|
|
580
|
+
corrected_account_funding: Increase::Models::ACHTransfer::NotificationsOfChange::corrected_account_funding?,
|
|
581
|
+
corrected_account_number: String?,
|
|
582
|
+
corrected_individual_id: String?,
|
|
583
|
+
corrected_routing_number: String?,
|
|
572
584
|
created_at: Time
|
|
573
585
|
) -> void
|
|
574
586
|
|
|
575
587
|
def to_hash: -> {
|
|
576
588
|
change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code,
|
|
577
|
-
|
|
589
|
+
corrected_account_funding: Increase::Models::ACHTransfer::NotificationsOfChange::corrected_account_funding?,
|
|
590
|
+
corrected_account_number: String?,
|
|
591
|
+
corrected_individual_id: String?,
|
|
592
|
+
corrected_routing_number: String?,
|
|
578
593
|
created_at: Time
|
|
579
594
|
}
|
|
580
595
|
|
|
@@ -661,6 +676,23 @@ module Increase
|
|
|
661
676
|
|
|
662
677
|
def self?.values: -> ::Array[Increase::Models::ACHTransfer::NotificationsOfChange::change_code]
|
|
663
678
|
end
|
|
679
|
+
|
|
680
|
+
type corrected_account_funding = :checking | :savings | :general_ledger
|
|
681
|
+
|
|
682
|
+
module CorrectedAccountFunding
|
|
683
|
+
extend Increase::Internal::Type::Enum
|
|
684
|
+
|
|
685
|
+
# A checking account.
|
|
686
|
+
CHECKING: :checking
|
|
687
|
+
|
|
688
|
+
# A savings account.
|
|
689
|
+
SAVINGS: :savings
|
|
690
|
+
|
|
691
|
+
# A bank's general ledger. Uncommon.
|
|
692
|
+
GENERAL_LEDGER: :general_ledger
|
|
693
|
+
|
|
694
|
+
def self?.values: -> ::Array[Increase::Models::ACHTransfer::NotificationsOfChange::corrected_account_funding]
|
|
695
|
+
end
|
|
664
696
|
end
|
|
665
697
|
|
|
666
698
|
type preferred_effective_date =
|
|
@@ -6,7 +6,8 @@ module Increase
|
|
|
6
6
|
address: Increase::BeneficialOwnerUpdateParams::Address,
|
|
7
7
|
confirmed_no_us_tax_id: bool,
|
|
8
8
|
identification: Increase::BeneficialOwnerUpdateParams::Identification,
|
|
9
|
-
name: String
|
|
9
|
+
name: String,
|
|
10
|
+
prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
|
|
10
11
|
}
|
|
11
12
|
& Increase::Internal::Type::request_parameters
|
|
12
13
|
|
|
@@ -36,12 +37,19 @@ module Increase
|
|
|
36
37
|
|
|
37
38
|
def name=: (String) -> String
|
|
38
39
|
|
|
40
|
+
attr_reader prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]?
|
|
41
|
+
|
|
42
|
+
def prongs=: (
|
|
43
|
+
::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
|
|
44
|
+
) -> ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
|
|
45
|
+
|
|
39
46
|
def initialize: (
|
|
40
47
|
entity_beneficial_owner_id: String,
|
|
41
48
|
?address: Increase::BeneficialOwnerUpdateParams::Address,
|
|
42
49
|
?confirmed_no_us_tax_id: bool,
|
|
43
50
|
?identification: Increase::BeneficialOwnerUpdateParams::Identification,
|
|
44
51
|
?name: String,
|
|
52
|
+
?prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
|
|
45
53
|
?request_options: Increase::request_opts
|
|
46
54
|
) -> void
|
|
47
55
|
|
|
@@ -51,6 +59,7 @@ module Increase
|
|
|
51
59
|
confirmed_no_us_tax_id: bool,
|
|
52
60
|
identification: Increase::BeneficialOwnerUpdateParams::Identification,
|
|
53
61
|
name: String,
|
|
62
|
+
prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
|
|
54
63
|
request_options: Increase::RequestOptions
|
|
55
64
|
}
|
|
56
65
|
|
|
@@ -276,6 +285,20 @@ module Increase
|
|
|
276
285
|
}
|
|
277
286
|
end
|
|
278
287
|
end
|
|
288
|
+
|
|
289
|
+
type prong = :ownership | :control
|
|
290
|
+
|
|
291
|
+
module Prong
|
|
292
|
+
extend Increase::Internal::Type::Enum
|
|
293
|
+
|
|
294
|
+
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
295
|
+
OWNERSHIP: :ownership
|
|
296
|
+
|
|
297
|
+
# A person who manages, directs, or has significant control of the entity.
|
|
298
|
+
CONTROL: :control
|
|
299
|
+
|
|
300
|
+
def self?.values: -> ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
|
|
301
|
+
end
|
|
279
302
|
end
|
|
280
303
|
end
|
|
281
304
|
end
|
|
@@ -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
|
-
|
|
8
|
-
|
|
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
|
-
|
|
20
|
+
attr_reader corrected_account_funding: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding?
|
|
19
21
|
|
|
20
|
-
|
|
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
|
-
|
|
25
|
-
|
|
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
|
-
|
|
32
|
-
|
|
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
|
|
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
|
-
|
|
76
|
-
|
|
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
|
-
#
|
|
109
|
-
|
|
61
|
+
# A checking account.
|
|
62
|
+
CHECKING: :checking
|
|
110
63
|
|
|
111
|
-
#
|
|
112
|
-
|
|
64
|
+
# A savings account.
|
|
65
|
+
SAVINGS: :savings
|
|
113
66
|
|
|
114
|
-
#
|
|
115
|
-
|
|
67
|
+
# A bank's general ledger. Uncommon.
|
|
68
|
+
GENERAL_LEDGER: :general_ledger
|
|
116
69
|
|
|
117
|
-
def self?.values: -> ::Array[Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
70
|
+
def self?.values: -> ::Array[Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::corrected_account_funding]
|
|
118
71
|
end
|
|
119
72
|
end
|
|
120
73
|
end
|
|
@@ -20,6 +20,7 @@ module Increase
|
|
|
20
20
|
?confirmed_no_us_tax_id: bool,
|
|
21
21
|
?identification: Increase::BeneficialOwnerUpdateParams::Identification,
|
|
22
22
|
?name: String,
|
|
23
|
+
?prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
|
|
23
24
|
?request_options: Increase::request_opts
|
|
24
25
|
) -> Increase::EntityBeneficialOwner
|
|
25
26
|
|
|
@@ -9,8 +9,10 @@ module Increase
|
|
|
9
9
|
|
|
10
10
|
def create_notification_of_change: (
|
|
11
11
|
String ach_transfer_id,
|
|
12
|
-
|
|
13
|
-
|
|
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.
|
|
4
|
+
version: 1.330.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-
|
|
11
|
+
date: 2026-05-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|