increase 1.64.0 → 1.66.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/client.rb +4 -4
- data/lib/increase/models/entity_update_params.rb +85 -1
- data/lib/increase/resources/entities.rb +9 -1
- data/lib/increase/resources/simulations.rb +4 -4
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/client.rbi +3 -3
- data/rbi/increase/models/entity_update_params.rbi +177 -0
- data/rbi/increase/resources/entities.rbi +13 -0
- data/rbi/increase/resources/simulations.rbi +3 -3
- data/sig/increase/client.rbs +2 -2
- data/sig/increase/models/entity_update_params.rbs +85 -1
- data/sig/increase/resources/entities.rbs +4 -0
- data/sig/increase/resources/simulations.rbs +2 -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: 3279bfab4dd6ff3032815df6317752e7136e79b2c9b2b06646151f8cb312713f
|
4
|
+
data.tar.gz: 598ae9bba9db28a1225d09b669e1036d774e51aa35bfd6bfd39a5da380b96807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05bb5ee8eed7ef086378a628ef0304e6da44d207912b80f6e92b423a195c1ad30d54793f3d1c5dedd79fac8b349a1193e6ae35cbe0537bc1390431da1c6b319a
|
7
|
+
data.tar.gz: 66fbc098bf7de179f2d7da5e589dc00cdef14c3521a751edf296d78d3b450a439f8f72aaaefc9aec73e5a28a96bf568e794a3e964afdde99c146fc168f0f5f91
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.66.0 (2025-09-05)
|
4
|
+
|
5
|
+
Full Changelog: [v1.65.0...v1.66.0](https://github.com/Increase/increase-ruby/compare/v1.65.0...v1.66.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([a456344](https://github.com/Increase/increase-ruby/commit/a456344ef7dd123a819153711709dec13edc30ef))
|
10
|
+
|
11
|
+
## 1.65.0 (2025-09-05)
|
12
|
+
|
13
|
+
Full Changelog: [v1.64.0...v1.65.0](https://github.com/Increase/increase-ruby/compare/v1.64.0...v1.65.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([ebb31b6](https://github.com/Increase/increase-ruby/commit/ebb31b6d4f44e5148de250a6231a96bdd2d978bd))
|
18
|
+
|
3
19
|
## 1.64.0 (2025-09-04)
|
4
20
|
|
5
21
|
Full Changelog: [v1.63.0...v1.64.0](https://github.com/Increase/increase-ruby/compare/v1.63.0...v1.64.0)
|
data/README.md
CHANGED
data/lib/increase/client.rb
CHANGED
@@ -29,6 +29,9 @@ module Increase
|
|
29
29
|
# @return [Increase::Resources::AccountNumbers]
|
30
30
|
attr_reader :account_numbers
|
31
31
|
|
32
|
+
# @return [Increase::Resources::AccountTransfers]
|
33
|
+
attr_reader :account_transfers
|
34
|
+
|
32
35
|
# @return [Increase::Resources::Cards]
|
33
36
|
attr_reader :cards
|
34
37
|
|
@@ -62,9 +65,6 @@ module Increase
|
|
62
65
|
# @return [Increase::Resources::DeclinedTransactions]
|
63
66
|
attr_reader :declined_transactions
|
64
67
|
|
65
|
-
# @return [Increase::Resources::AccountTransfers]
|
66
|
-
attr_reader :account_transfers
|
67
|
-
|
68
68
|
# @return [Increase::Resources::ACHTransfers]
|
69
69
|
attr_reader :ach_transfers
|
70
70
|
|
@@ -252,6 +252,7 @@ module Increase
|
|
252
252
|
|
253
253
|
@accounts = Increase::Resources::Accounts.new(client: self)
|
254
254
|
@account_numbers = Increase::Resources::AccountNumbers.new(client: self)
|
255
|
+
@account_transfers = Increase::Resources::AccountTransfers.new(client: self)
|
255
256
|
@cards = Increase::Resources::Cards.new(client: self)
|
256
257
|
@card_payments = Increase::Resources::CardPayments.new(client: self)
|
257
258
|
@card_purchase_supplements = Increase::Resources::CardPurchaseSupplements.new(client: self)
|
@@ -263,7 +264,6 @@ module Increase
|
|
263
264
|
@transactions = Increase::Resources::Transactions.new(client: self)
|
264
265
|
@pending_transactions = Increase::Resources::PendingTransactions.new(client: self)
|
265
266
|
@declined_transactions = Increase::Resources::DeclinedTransactions.new(client: self)
|
266
|
-
@account_transfers = Increase::Resources::AccountTransfers.new(client: self)
|
267
267
|
@ach_transfers = Increase::Resources::ACHTransfers.new(client: self)
|
268
268
|
@ach_prenotifications = Increase::Resources::ACHPrenotifications.new(client: self)
|
269
269
|
@inbound_ach_transfers = Increase::Resources::InboundACHTransfers.new(client: self)
|
@@ -7,6 +7,24 @@ module Increase
|
|
7
7
|
extend Increase::Internal::Type::RequestParameters::Converter
|
8
8
|
include Increase::Internal::Type::RequestParameters
|
9
9
|
|
10
|
+
# @!attribute corporation
|
11
|
+
# Details of the corporation entity to update.
|
12
|
+
#
|
13
|
+
# @return [Increase::Models::EntityUpdateParams::Corporation, nil]
|
14
|
+
optional :corporation, -> { Increase::EntityUpdateParams::Corporation }
|
15
|
+
|
16
|
+
# @!attribute government_authority
|
17
|
+
# Details of the government authority entity to update.
|
18
|
+
#
|
19
|
+
# @return [Increase::Models::EntityUpdateParams::GovernmentAuthority, nil]
|
20
|
+
optional :government_authority, -> { Increase::EntityUpdateParams::GovernmentAuthority }
|
21
|
+
|
22
|
+
# @!attribute natural_person
|
23
|
+
# Details of the natural person entity to update.
|
24
|
+
#
|
25
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson, nil]
|
26
|
+
optional :natural_person, -> { Increase::EntityUpdateParams::NaturalPerson }
|
27
|
+
|
10
28
|
# @!attribute risk_rating
|
11
29
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
12
30
|
# such as money laundering.
|
@@ -21,16 +39,69 @@ module Increase
|
|
21
39
|
# @return [Increase::Models::EntityUpdateParams::ThirdPartyVerification, nil]
|
22
40
|
optional :third_party_verification, -> { Increase::EntityUpdateParams::ThirdPartyVerification }
|
23
41
|
|
24
|
-
# @!
|
42
|
+
# @!attribute trust
|
43
|
+
# Details of the trust entity to update.
|
44
|
+
#
|
45
|
+
# @return [Increase::Models::EntityUpdateParams::Trust, nil]
|
46
|
+
optional :trust, -> { Increase::EntityUpdateParams::Trust }
|
47
|
+
|
48
|
+
# @!method initialize(corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
25
49
|
# Some parameter documentations has been truncated, see
|
26
50
|
# {Increase::Models::EntityUpdateParams} for more details.
|
27
51
|
#
|
52
|
+
# @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update.
|
53
|
+
#
|
54
|
+
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
|
55
|
+
#
|
56
|
+
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
|
57
|
+
#
|
28
58
|
# @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
|
29
59
|
#
|
30
60
|
# @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati
|
31
61
|
#
|
62
|
+
# @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update.
|
63
|
+
#
|
32
64
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
33
65
|
|
66
|
+
class Corporation < Increase::Internal::Type::BaseModel
|
67
|
+
# @!attribute name
|
68
|
+
# The legal name of the corporation.
|
69
|
+
#
|
70
|
+
# @return [String, nil]
|
71
|
+
optional :name, String
|
72
|
+
|
73
|
+
# @!method initialize(name: nil)
|
74
|
+
# Details of the corporation entity to update.
|
75
|
+
#
|
76
|
+
# @param name [String] The legal name of the corporation.
|
77
|
+
end
|
78
|
+
|
79
|
+
class GovernmentAuthority < Increase::Internal::Type::BaseModel
|
80
|
+
# @!attribute name
|
81
|
+
# The legal name of the government authority.
|
82
|
+
#
|
83
|
+
# @return [String, nil]
|
84
|
+
optional :name, String
|
85
|
+
|
86
|
+
# @!method initialize(name: nil)
|
87
|
+
# Details of the government authority entity to update.
|
88
|
+
#
|
89
|
+
# @param name [String] The legal name of the government authority.
|
90
|
+
end
|
91
|
+
|
92
|
+
class NaturalPerson < Increase::Internal::Type::BaseModel
|
93
|
+
# @!attribute name
|
94
|
+
# The legal name of the natural person.
|
95
|
+
#
|
96
|
+
# @return [String, nil]
|
97
|
+
optional :name, String
|
98
|
+
|
99
|
+
# @!method initialize(name: nil)
|
100
|
+
# Details of the natural person entity to update.
|
101
|
+
#
|
102
|
+
# @param name [String] The legal name of the natural person.
|
103
|
+
end
|
104
|
+
|
34
105
|
class RiskRating < Increase::Internal::Type::BaseModel
|
35
106
|
# @!attribute rated_at
|
36
107
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
@@ -116,6 +187,19 @@ module Increase
|
|
116
187
|
# @return [Array<Symbol>]
|
117
188
|
end
|
118
189
|
end
|
190
|
+
|
191
|
+
class Trust < Increase::Internal::Type::BaseModel
|
192
|
+
# @!attribute name
|
193
|
+
# The legal name of the trust.
|
194
|
+
#
|
195
|
+
# @return [String, nil]
|
196
|
+
optional :name, String
|
197
|
+
|
198
|
+
# @!method initialize(name: nil)
|
199
|
+
# Details of the trust entity to update.
|
200
|
+
#
|
201
|
+
# @param name [String] The legal name of the trust.
|
202
|
+
end
|
119
203
|
end
|
120
204
|
end
|
121
205
|
end
|
@@ -71,14 +71,22 @@ module Increase
|
|
71
71
|
#
|
72
72
|
# Update an Entity
|
73
73
|
#
|
74
|
-
# @overload update(entity_id, risk_rating: nil, third_party_verification: nil, request_options: {})
|
74
|
+
# @overload update(entity_id, corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
75
75
|
#
|
76
76
|
# @param entity_id [String] The entity identifier.
|
77
77
|
#
|
78
|
+
# @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update.
|
79
|
+
#
|
80
|
+
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
|
81
|
+
#
|
82
|
+
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
|
83
|
+
#
|
78
84
|
# @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
|
79
85
|
#
|
80
86
|
# @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati
|
81
87
|
#
|
88
|
+
# @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update.
|
89
|
+
#
|
82
90
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
83
91
|
#
|
84
92
|
# @return [Increase::Models::Entity]
|
@@ -6,6 +6,9 @@ module Increase
|
|
6
6
|
# @return [Increase::Resources::Simulations::InterestPayments]
|
7
7
|
attr_reader :interest_payments
|
8
8
|
|
9
|
+
# @return [Increase::Resources::Simulations::AccountTransfers]
|
10
|
+
attr_reader :account_transfers
|
11
|
+
|
9
12
|
# @return [Increase::Resources::Simulations::CardAuthorizations]
|
10
13
|
attr_reader :card_authorizations
|
11
14
|
|
@@ -39,9 +42,6 @@ module Increase
|
|
39
42
|
# @return [Increase::Resources::Simulations::PendingTransactions]
|
40
43
|
attr_reader :pending_transactions
|
41
44
|
|
42
|
-
# @return [Increase::Resources::Simulations::AccountTransfers]
|
43
|
-
attr_reader :account_transfers
|
44
|
-
|
45
45
|
# @return [Increase::Resources::Simulations::ACHTransfers]
|
46
46
|
attr_reader :ach_transfers
|
47
47
|
|
@@ -96,6 +96,7 @@ module Increase
|
|
96
96
|
def initialize(client:)
|
97
97
|
@client = client
|
98
98
|
@interest_payments = Increase::Resources::Simulations::InterestPayments.new(client: client)
|
99
|
+
@account_transfers = Increase::Resources::Simulations::AccountTransfers.new(client: client)
|
99
100
|
@card_authorizations = Increase::Resources::Simulations::CardAuthorizations.new(client: client)
|
100
101
|
@card_authorization_expirations =
|
101
102
|
Increase::Resources::Simulations::CardAuthorizationExpirations.new(client: client)
|
@@ -109,7 +110,6 @@ module Increase
|
|
109
110
|
@digital_wallet_token_requests =
|
110
111
|
Increase::Resources::Simulations::DigitalWalletTokenRequests.new(client: client)
|
111
112
|
@pending_transactions = Increase::Resources::Simulations::PendingTransactions.new(client: client)
|
112
|
-
@account_transfers = Increase::Resources::Simulations::AccountTransfers.new(client: client)
|
113
113
|
@ach_transfers = Increase::Resources::Simulations::ACHTransfers.new(client: client)
|
114
114
|
@inbound_ach_transfers = Increase::Resources::Simulations::InboundACHTransfers.new(client: client)
|
115
115
|
@wire_transfers = Increase::Resources::Simulations::WireTransfers.new(client: client)
|
data/lib/increase/version.rb
CHANGED
data/rbi/increase/client.rbi
CHANGED
@@ -28,6 +28,9 @@ module Increase
|
|
28
28
|
sig { returns(Increase::Resources::AccountNumbers) }
|
29
29
|
attr_reader :account_numbers
|
30
30
|
|
31
|
+
sig { returns(Increase::Resources::AccountTransfers) }
|
32
|
+
attr_reader :account_transfers
|
33
|
+
|
31
34
|
sig { returns(Increase::Resources::Cards) }
|
32
35
|
attr_reader :cards
|
33
36
|
|
@@ -61,9 +64,6 @@ module Increase
|
|
61
64
|
sig { returns(Increase::Resources::DeclinedTransactions) }
|
62
65
|
attr_reader :declined_transactions
|
63
66
|
|
64
|
-
sig { returns(Increase::Resources::AccountTransfers) }
|
65
|
-
attr_reader :account_transfers
|
66
|
-
|
67
67
|
sig { returns(Increase::Resources::ACHTransfers) }
|
68
68
|
attr_reader :ach_transfers
|
69
69
|
|
@@ -11,6 +11,42 @@ module Increase
|
|
11
11
|
T.any(Increase::EntityUpdateParams, Increase::Internal::AnyHash)
|
12
12
|
end
|
13
13
|
|
14
|
+
# Details of the corporation entity to update.
|
15
|
+
sig { returns(T.nilable(Increase::EntityUpdateParams::Corporation)) }
|
16
|
+
attr_reader :corporation
|
17
|
+
|
18
|
+
sig do
|
19
|
+
params(
|
20
|
+
corporation: Increase::EntityUpdateParams::Corporation::OrHash
|
21
|
+
).void
|
22
|
+
end
|
23
|
+
attr_writer :corporation
|
24
|
+
|
25
|
+
# Details of the government authority entity to update.
|
26
|
+
sig do
|
27
|
+
returns(T.nilable(Increase::EntityUpdateParams::GovernmentAuthority))
|
28
|
+
end
|
29
|
+
attr_reader :government_authority
|
30
|
+
|
31
|
+
sig do
|
32
|
+
params(
|
33
|
+
government_authority:
|
34
|
+
Increase::EntityUpdateParams::GovernmentAuthority::OrHash
|
35
|
+
).void
|
36
|
+
end
|
37
|
+
attr_writer :government_authority
|
38
|
+
|
39
|
+
# Details of the natural person entity to update.
|
40
|
+
sig { returns(T.nilable(Increase::EntityUpdateParams::NaturalPerson)) }
|
41
|
+
attr_reader :natural_person
|
42
|
+
|
43
|
+
sig do
|
44
|
+
params(
|
45
|
+
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash
|
46
|
+
).void
|
47
|
+
end
|
48
|
+
attr_writer :natural_person
|
49
|
+
|
14
50
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
15
51
|
# such as money laundering.
|
16
52
|
sig { returns(T.nilable(Increase::EntityUpdateParams::RiskRating)) }
|
@@ -38,21 +74,41 @@ module Increase
|
|
38
74
|
end
|
39
75
|
attr_writer :third_party_verification
|
40
76
|
|
77
|
+
# Details of the trust entity to update.
|
78
|
+
sig { returns(T.nilable(Increase::EntityUpdateParams::Trust)) }
|
79
|
+
attr_reader :trust
|
80
|
+
|
81
|
+
sig { params(trust: Increase::EntityUpdateParams::Trust::OrHash).void }
|
82
|
+
attr_writer :trust
|
83
|
+
|
41
84
|
sig do
|
42
85
|
params(
|
86
|
+
corporation: Increase::EntityUpdateParams::Corporation::OrHash,
|
87
|
+
government_authority:
|
88
|
+
Increase::EntityUpdateParams::GovernmentAuthority::OrHash,
|
89
|
+
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash,
|
43
90
|
risk_rating: Increase::EntityUpdateParams::RiskRating::OrHash,
|
44
91
|
third_party_verification:
|
45
92
|
Increase::EntityUpdateParams::ThirdPartyVerification::OrHash,
|
93
|
+
trust: Increase::EntityUpdateParams::Trust::OrHash,
|
46
94
|
request_options: Increase::RequestOptions::OrHash
|
47
95
|
).returns(T.attached_class)
|
48
96
|
end
|
49
97
|
def self.new(
|
98
|
+
# Details of the corporation entity to update.
|
99
|
+
corporation: nil,
|
100
|
+
# Details of the government authority entity to update.
|
101
|
+
government_authority: nil,
|
102
|
+
# Details of the natural person entity to update.
|
103
|
+
natural_person: nil,
|
50
104
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
51
105
|
# such as money laundering.
|
52
106
|
risk_rating: nil,
|
53
107
|
# A reference to data stored in a third-party verification service. Your
|
54
108
|
# integration may or may not use this field.
|
55
109
|
third_party_verification: nil,
|
110
|
+
# Details of the trust entity to update.
|
111
|
+
trust: nil,
|
56
112
|
request_options: {}
|
57
113
|
)
|
58
114
|
end
|
@@ -60,9 +116,14 @@ module Increase
|
|
60
116
|
sig do
|
61
117
|
override.returns(
|
62
118
|
{
|
119
|
+
corporation: Increase::EntityUpdateParams::Corporation,
|
120
|
+
government_authority:
|
121
|
+
Increase::EntityUpdateParams::GovernmentAuthority,
|
122
|
+
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
63
123
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
64
124
|
third_party_verification:
|
65
125
|
Increase::EntityUpdateParams::ThirdPartyVerification,
|
126
|
+
trust: Increase::EntityUpdateParams::Trust,
|
66
127
|
request_options: Increase::RequestOptions
|
67
128
|
}
|
68
129
|
)
|
@@ -70,6 +131,93 @@ module Increase
|
|
70
131
|
def to_hash
|
71
132
|
end
|
72
133
|
|
134
|
+
class Corporation < Increase::Internal::Type::BaseModel
|
135
|
+
OrHash =
|
136
|
+
T.type_alias do
|
137
|
+
T.any(
|
138
|
+
Increase::EntityUpdateParams::Corporation,
|
139
|
+
Increase::Internal::AnyHash
|
140
|
+
)
|
141
|
+
end
|
142
|
+
|
143
|
+
# The legal name of the corporation.
|
144
|
+
sig { returns(T.nilable(String)) }
|
145
|
+
attr_reader :name
|
146
|
+
|
147
|
+
sig { params(name: String).void }
|
148
|
+
attr_writer :name
|
149
|
+
|
150
|
+
# Details of the corporation entity to update.
|
151
|
+
sig { params(name: String).returns(T.attached_class) }
|
152
|
+
def self.new(
|
153
|
+
# The legal name of the corporation.
|
154
|
+
name: nil
|
155
|
+
)
|
156
|
+
end
|
157
|
+
|
158
|
+
sig { override.returns({ name: String }) }
|
159
|
+
def to_hash
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
class GovernmentAuthority < Increase::Internal::Type::BaseModel
|
164
|
+
OrHash =
|
165
|
+
T.type_alias do
|
166
|
+
T.any(
|
167
|
+
Increase::EntityUpdateParams::GovernmentAuthority,
|
168
|
+
Increase::Internal::AnyHash
|
169
|
+
)
|
170
|
+
end
|
171
|
+
|
172
|
+
# The legal name of the government authority.
|
173
|
+
sig { returns(T.nilable(String)) }
|
174
|
+
attr_reader :name
|
175
|
+
|
176
|
+
sig { params(name: String).void }
|
177
|
+
attr_writer :name
|
178
|
+
|
179
|
+
# Details of the government authority entity to update.
|
180
|
+
sig { params(name: String).returns(T.attached_class) }
|
181
|
+
def self.new(
|
182
|
+
# The legal name of the government authority.
|
183
|
+
name: nil
|
184
|
+
)
|
185
|
+
end
|
186
|
+
|
187
|
+
sig { override.returns({ name: String }) }
|
188
|
+
def to_hash
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
class NaturalPerson < Increase::Internal::Type::BaseModel
|
193
|
+
OrHash =
|
194
|
+
T.type_alias do
|
195
|
+
T.any(
|
196
|
+
Increase::EntityUpdateParams::NaturalPerson,
|
197
|
+
Increase::Internal::AnyHash
|
198
|
+
)
|
199
|
+
end
|
200
|
+
|
201
|
+
# The legal name of the natural person.
|
202
|
+
sig { returns(T.nilable(String)) }
|
203
|
+
attr_reader :name
|
204
|
+
|
205
|
+
sig { params(name: String).void }
|
206
|
+
attr_writer :name
|
207
|
+
|
208
|
+
# Details of the natural person entity to update.
|
209
|
+
sig { params(name: String).returns(T.attached_class) }
|
210
|
+
def self.new(
|
211
|
+
# The legal name of the natural person.
|
212
|
+
name: nil
|
213
|
+
)
|
214
|
+
end
|
215
|
+
|
216
|
+
sig { override.returns({ name: String }) }
|
217
|
+
def to_hash
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
73
221
|
class RiskRating < Increase::Internal::Type::BaseModel
|
74
222
|
OrHash =
|
75
223
|
T.type_alias do
|
@@ -256,6 +404,35 @@ module Increase
|
|
256
404
|
end
|
257
405
|
end
|
258
406
|
end
|
407
|
+
|
408
|
+
class Trust < Increase::Internal::Type::BaseModel
|
409
|
+
OrHash =
|
410
|
+
T.type_alias do
|
411
|
+
T.any(
|
412
|
+
Increase::EntityUpdateParams::Trust,
|
413
|
+
Increase::Internal::AnyHash
|
414
|
+
)
|
415
|
+
end
|
416
|
+
|
417
|
+
# The legal name of the trust.
|
418
|
+
sig { returns(T.nilable(String)) }
|
419
|
+
attr_reader :name
|
420
|
+
|
421
|
+
sig { params(name: String).void }
|
422
|
+
attr_writer :name
|
423
|
+
|
424
|
+
# Details of the trust entity to update.
|
425
|
+
sig { params(name: String).returns(T.attached_class) }
|
426
|
+
def self.new(
|
427
|
+
# The legal name of the trust.
|
428
|
+
name: nil
|
429
|
+
)
|
430
|
+
end
|
431
|
+
|
432
|
+
sig { override.returns({ name: String }) }
|
433
|
+
def to_hash
|
434
|
+
end
|
435
|
+
end
|
259
436
|
end
|
260
437
|
end
|
261
438
|
end
|
@@ -76,21 +76,34 @@ module Increase
|
|
76
76
|
sig do
|
77
77
|
params(
|
78
78
|
entity_id: String,
|
79
|
+
corporation: Increase::EntityUpdateParams::Corporation::OrHash,
|
80
|
+
government_authority:
|
81
|
+
Increase::EntityUpdateParams::GovernmentAuthority::OrHash,
|
82
|
+
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash,
|
79
83
|
risk_rating: Increase::EntityUpdateParams::RiskRating::OrHash,
|
80
84
|
third_party_verification:
|
81
85
|
Increase::EntityUpdateParams::ThirdPartyVerification::OrHash,
|
86
|
+
trust: Increase::EntityUpdateParams::Trust::OrHash,
|
82
87
|
request_options: Increase::RequestOptions::OrHash
|
83
88
|
).returns(Increase::Entity)
|
84
89
|
end
|
85
90
|
def update(
|
86
91
|
# The entity identifier.
|
87
92
|
entity_id,
|
93
|
+
# Details of the corporation entity to update.
|
94
|
+
corporation: nil,
|
95
|
+
# Details of the government authority entity to update.
|
96
|
+
government_authority: nil,
|
97
|
+
# Details of the natural person entity to update.
|
98
|
+
natural_person: nil,
|
88
99
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
89
100
|
# such as money laundering.
|
90
101
|
risk_rating: nil,
|
91
102
|
# A reference to data stored in a third-party verification service. Your
|
92
103
|
# integration may or may not use this field.
|
93
104
|
third_party_verification: nil,
|
105
|
+
# Details of the trust entity to update.
|
106
|
+
trust: nil,
|
94
107
|
request_options: {}
|
95
108
|
)
|
96
109
|
end
|
@@ -6,6 +6,9 @@ module Increase
|
|
6
6
|
sig { returns(Increase::Resources::Simulations::InterestPayments) }
|
7
7
|
attr_reader :interest_payments
|
8
8
|
|
9
|
+
sig { returns(Increase::Resources::Simulations::AccountTransfers) }
|
10
|
+
attr_reader :account_transfers
|
11
|
+
|
9
12
|
sig { returns(Increase::Resources::Simulations::CardAuthorizations) }
|
10
13
|
attr_reader :card_authorizations
|
11
14
|
|
@@ -43,9 +46,6 @@ module Increase
|
|
43
46
|
sig { returns(Increase::Resources::Simulations::PendingTransactions) }
|
44
47
|
attr_reader :pending_transactions
|
45
48
|
|
46
|
-
sig { returns(Increase::Resources::Simulations::AccountTransfers) }
|
47
|
-
attr_reader :account_transfers
|
48
|
-
|
49
49
|
sig { returns(Increase::Resources::Simulations::ACHTransfers) }
|
50
50
|
attr_reader :ach_transfers
|
51
51
|
|
data/sig/increase/client.rbs
CHANGED
@@ -19,6 +19,8 @@ module Increase
|
|
19
19
|
|
20
20
|
attr_reader account_numbers: Increase::Resources::AccountNumbers
|
21
21
|
|
22
|
+
attr_reader account_transfers: Increase::Resources::AccountTransfers
|
23
|
+
|
22
24
|
attr_reader cards: Increase::Resources::Cards
|
23
25
|
|
24
26
|
attr_reader card_payments: Increase::Resources::CardPayments
|
@@ -41,8 +43,6 @@ module Increase
|
|
41
43
|
|
42
44
|
attr_reader declined_transactions: Increase::Resources::DeclinedTransactions
|
43
45
|
|
44
|
-
attr_reader account_transfers: Increase::Resources::AccountTransfers
|
45
|
-
|
46
46
|
attr_reader ach_transfers: Increase::Resources::ACHTransfers
|
47
47
|
|
48
48
|
attr_reader ach_prenotifications: Increase::Resources::ACHPrenotifications
|
@@ -2,8 +2,12 @@ module Increase
|
|
2
2
|
module Models
|
3
3
|
type entity_update_params =
|
4
4
|
{
|
5
|
+
corporation: Increase::EntityUpdateParams::Corporation,
|
6
|
+
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
7
|
+
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
5
8
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
6
|
-
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification
|
9
|
+
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
10
|
+
trust: Increase::EntityUpdateParams::Trust
|
7
11
|
}
|
8
12
|
& Increase::Internal::Type::request_parameters
|
9
13
|
|
@@ -11,6 +15,24 @@ module Increase
|
|
11
15
|
extend Increase::Internal::Type::RequestParameters::Converter
|
12
16
|
include Increase::Internal::Type::RequestParameters
|
13
17
|
|
18
|
+
attr_reader corporation: Increase::EntityUpdateParams::Corporation?
|
19
|
+
|
20
|
+
def corporation=: (
|
21
|
+
Increase::EntityUpdateParams::Corporation
|
22
|
+
) -> Increase::EntityUpdateParams::Corporation
|
23
|
+
|
24
|
+
attr_reader government_authority: Increase::EntityUpdateParams::GovernmentAuthority?
|
25
|
+
|
26
|
+
def government_authority=: (
|
27
|
+
Increase::EntityUpdateParams::GovernmentAuthority
|
28
|
+
) -> Increase::EntityUpdateParams::GovernmentAuthority
|
29
|
+
|
30
|
+
attr_reader natural_person: Increase::EntityUpdateParams::NaturalPerson?
|
31
|
+
|
32
|
+
def natural_person=: (
|
33
|
+
Increase::EntityUpdateParams::NaturalPerson
|
34
|
+
) -> Increase::EntityUpdateParams::NaturalPerson
|
35
|
+
|
14
36
|
attr_reader risk_rating: Increase::EntityUpdateParams::RiskRating?
|
15
37
|
|
16
38
|
def risk_rating=: (
|
@@ -23,18 +45,68 @@ module Increase
|
|
23
45
|
Increase::EntityUpdateParams::ThirdPartyVerification
|
24
46
|
) -> Increase::EntityUpdateParams::ThirdPartyVerification
|
25
47
|
|
48
|
+
attr_reader trust: Increase::EntityUpdateParams::Trust?
|
49
|
+
|
50
|
+
def trust=: (
|
51
|
+
Increase::EntityUpdateParams::Trust
|
52
|
+
) -> Increase::EntityUpdateParams::Trust
|
53
|
+
|
26
54
|
def initialize: (
|
55
|
+
?corporation: Increase::EntityUpdateParams::Corporation,
|
56
|
+
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
57
|
+
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
27
58
|
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
28
59
|
?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
60
|
+
?trust: Increase::EntityUpdateParams::Trust,
|
29
61
|
?request_options: Increase::request_opts
|
30
62
|
) -> void
|
31
63
|
|
32
64
|
def to_hash: -> {
|
65
|
+
corporation: Increase::EntityUpdateParams::Corporation,
|
66
|
+
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
67
|
+
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
33
68
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
34
69
|
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
70
|
+
trust: Increase::EntityUpdateParams::Trust,
|
35
71
|
request_options: Increase::RequestOptions
|
36
72
|
}
|
37
73
|
|
74
|
+
type corporation = { name: String }
|
75
|
+
|
76
|
+
class Corporation < Increase::Internal::Type::BaseModel
|
77
|
+
attr_reader name: String?
|
78
|
+
|
79
|
+
def name=: (String) -> String
|
80
|
+
|
81
|
+
def initialize: (?name: String) -> void
|
82
|
+
|
83
|
+
def to_hash: -> { name: String }
|
84
|
+
end
|
85
|
+
|
86
|
+
type government_authority = { name: String }
|
87
|
+
|
88
|
+
class GovernmentAuthority < Increase::Internal::Type::BaseModel
|
89
|
+
attr_reader name: String?
|
90
|
+
|
91
|
+
def name=: (String) -> String
|
92
|
+
|
93
|
+
def initialize: (?name: String) -> void
|
94
|
+
|
95
|
+
def to_hash: -> { name: String }
|
96
|
+
end
|
97
|
+
|
98
|
+
type natural_person = { name: String }
|
99
|
+
|
100
|
+
class NaturalPerson < Increase::Internal::Type::BaseModel
|
101
|
+
attr_reader name: String?
|
102
|
+
|
103
|
+
def name=: (String) -> String
|
104
|
+
|
105
|
+
def initialize: (?name: String) -> void
|
106
|
+
|
107
|
+
def to_hash: -> { name: String }
|
108
|
+
end
|
109
|
+
|
38
110
|
type risk_rating =
|
39
111
|
{
|
40
112
|
rated_at: Time,
|
@@ -112,6 +184,18 @@ module Increase
|
|
112
184
|
def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor]
|
113
185
|
end
|
114
186
|
end
|
187
|
+
|
188
|
+
type trust = { name: String }
|
189
|
+
|
190
|
+
class Trust < Increase::Internal::Type::BaseModel
|
191
|
+
attr_reader name: String?
|
192
|
+
|
193
|
+
def name=: (String) -> String
|
194
|
+
|
195
|
+
def initialize: (?name: String) -> void
|
196
|
+
|
197
|
+
def to_hash: -> { name: String }
|
198
|
+
end
|
115
199
|
end
|
116
200
|
end
|
117
201
|
end
|
@@ -22,8 +22,12 @@ module Increase
|
|
22
22
|
|
23
23
|
def update: (
|
24
24
|
String entity_id,
|
25
|
+
?corporation: Increase::EntityUpdateParams::Corporation,
|
26
|
+
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
27
|
+
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
25
28
|
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
26
29
|
?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
30
|
+
?trust: Increase::EntityUpdateParams::Trust,
|
27
31
|
?request_options: Increase::request_opts
|
28
32
|
) -> Increase::Entity
|
29
33
|
|
@@ -3,6 +3,8 @@ module Increase
|
|
3
3
|
class Simulations
|
4
4
|
attr_reader interest_payments: Increase::Resources::Simulations::InterestPayments
|
5
5
|
|
6
|
+
attr_reader account_transfers: Increase::Resources::Simulations::AccountTransfers
|
7
|
+
|
6
8
|
attr_reader card_authorizations: Increase::Resources::Simulations::CardAuthorizations
|
7
9
|
|
8
10
|
attr_reader card_authorization_expirations: Increase::Resources::Simulations::CardAuthorizationExpirations
|
@@ -25,8 +27,6 @@ module Increase
|
|
25
27
|
|
26
28
|
attr_reader pending_transactions: Increase::Resources::Simulations::PendingTransactions
|
27
29
|
|
28
|
-
attr_reader account_transfers: Increase::Resources::Simulations::AccountTransfers
|
29
|
-
|
30
30
|
attr_reader ach_transfers: Increase::Resources::Simulations::ACHTransfers
|
31
31
|
|
32
32
|
attr_reader inbound_ach_transfers: Increase::Resources::Simulations::InboundACHTransfers
|
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.66.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|