increase 1.302.0 → 1.303.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/entity_update_params.rb +41 -1
- data/lib/increase/resources/entities.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity_update_params.rbi +71 -0
- data/rbi/increase/resources/entities.rbi +5 -0
- data/sig/increase/models/entity_update_params.rbs +32 -0
- data/sig/increase/resources/entities.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d6f5d3a29c14a9277df04326bd8a9ac8e1d489c0e41e23a602e0e333021d5f9
|
|
4
|
+
data.tar.gz: 0210b3572cd3b418a453398f714ed4bfc891dfdddb71873dfacf8f1e3032c935
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d8684dbf25052b35191954ad8dca34f3608a38495967f5637bc318a95926d4aaf030aa374827b67d69fc6c20ddf78063fe182d7081857d2df64c98d1a8a03ca
|
|
7
|
+
data.tar.gz: 00eddb439ee5cbfa4ee278bf821310d6a59afdf8d65589c3e242ec2c5208016d4ce6e1b92dea1c97625ce72df28d68f621e5d3479624719ae8cde54a970a000e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.303.0 (2026-04-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.302.0...v1.303.0](https://github.com/Increase/increase-ruby/compare/v1.302.0...v1.303.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([7f85493](https://github.com/Increase/increase-ruby/commit/7f854936a7995053a52553acf09a532dada55a7b))
|
|
10
|
+
|
|
3
11
|
## 1.302.0 (2026-04-20)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.301.0...v1.302.0](https://github.com/Increase/increase-ruby/compare/v1.301.0...v1.302.0)
|
data/README.md
CHANGED
|
@@ -49,6 +49,14 @@ module Increase
|
|
|
49
49
|
# @return [Increase::Models::EntityUpdateParams::RiskRating, nil]
|
|
50
50
|
optional :risk_rating, -> { Increase::EntityUpdateParams::RiskRating }
|
|
51
51
|
|
|
52
|
+
# @!attribute terms_agreements
|
|
53
|
+
# New terms that the Entity agreed to. Not all programs are required to submit
|
|
54
|
+
# this data. This will not archive previously submitted terms.
|
|
55
|
+
#
|
|
56
|
+
# @return [Array<Increase::Models::EntityUpdateParams::TermsAgreement>, nil]
|
|
57
|
+
optional :terms_agreements,
|
|
58
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::EntityUpdateParams::TermsAgreement] }
|
|
59
|
+
|
|
52
60
|
# @!attribute third_party_verification
|
|
53
61
|
# If you are using a third-party service for identity verification, you can use
|
|
54
62
|
# this field to associate this Entity with the identifier that represents them in
|
|
@@ -64,7 +72,7 @@ module Increase
|
|
|
64
72
|
# @return [Increase::Models::EntityUpdateParams::Trust, nil]
|
|
65
73
|
optional :trust, -> { Increase::EntityUpdateParams::Trust }
|
|
66
74
|
|
|
67
|
-
# @!method initialize(entity_id:, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
75
|
+
# @!method initialize(entity_id:, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
68
76
|
# Some parameter documentations has been truncated, see
|
|
69
77
|
# {Increase::Models::EntityUpdateParams} for more details.
|
|
70
78
|
#
|
|
@@ -80,6 +88,8 @@ module Increase
|
|
|
80
88
|
#
|
|
81
89
|
# @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
82
90
|
#
|
|
91
|
+
# @param terms_agreements [Array<Increase::Models::EntityUpdateParams::TermsAgreement>] New terms that the Entity agreed to. Not all programs are required to submit thi
|
|
92
|
+
#
|
|
83
93
|
# @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] If you are using a third-party service for identity verification, you can use th
|
|
84
94
|
#
|
|
85
95
|
# @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent
|
|
@@ -685,6 +695,36 @@ module Increase
|
|
|
685
695
|
end
|
|
686
696
|
end
|
|
687
697
|
|
|
698
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
699
|
+
# @!attribute agreed_at
|
|
700
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
701
|
+
#
|
|
702
|
+
# @return [Time]
|
|
703
|
+
required :agreed_at, Time
|
|
704
|
+
|
|
705
|
+
# @!attribute ip_address
|
|
706
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
707
|
+
#
|
|
708
|
+
# @return [String]
|
|
709
|
+
required :ip_address, String
|
|
710
|
+
|
|
711
|
+
# @!attribute terms_url
|
|
712
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
713
|
+
#
|
|
714
|
+
# @return [String]
|
|
715
|
+
required :terms_url, String
|
|
716
|
+
|
|
717
|
+
# @!method initialize(agreed_at:, ip_address:, terms_url:)
|
|
718
|
+
# Some parameter documentations has been truncated, see
|
|
719
|
+
# {Increase::Models::EntityUpdateParams::TermsAgreement} for more details.
|
|
720
|
+
#
|
|
721
|
+
# @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
|
|
722
|
+
#
|
|
723
|
+
# @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
|
|
724
|
+
#
|
|
725
|
+
# @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
|
|
726
|
+
end
|
|
727
|
+
|
|
688
728
|
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
|
689
729
|
# @!attribute reference
|
|
690
730
|
# The reference identifier for the third party verification.
|
|
@@ -73,7 +73,7 @@ module Increase
|
|
|
73
73
|
#
|
|
74
74
|
# Update an Entity
|
|
75
75
|
#
|
|
76
|
-
# @overload update(entity_id, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
76
|
+
# @overload update(entity_id, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
77
77
|
#
|
|
78
78
|
# @param entity_id [String] The entity identifier.
|
|
79
79
|
#
|
|
@@ -87,6 +87,8 @@ module Increase
|
|
|
87
87
|
#
|
|
88
88
|
# @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
89
89
|
#
|
|
90
|
+
# @param terms_agreements [Array<Increase::Models::EntityUpdateParams::TermsAgreement>] New terms that the Entity agreed to. Not all programs are required to submit thi
|
|
91
|
+
#
|
|
90
92
|
# @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] If you are using a third-party service for identity verification, you can use th
|
|
91
93
|
#
|
|
92
94
|
# @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent
|
data/lib/increase/version.rb
CHANGED
|
@@ -75,6 +75,23 @@ module Increase
|
|
|
75
75
|
end
|
|
76
76
|
attr_writer :risk_rating
|
|
77
77
|
|
|
78
|
+
# New terms that the Entity agreed to. Not all programs are required to submit
|
|
79
|
+
# this data. This will not archive previously submitted terms.
|
|
80
|
+
sig do
|
|
81
|
+
returns(
|
|
82
|
+
T.nilable(T::Array[Increase::EntityUpdateParams::TermsAgreement])
|
|
83
|
+
)
|
|
84
|
+
end
|
|
85
|
+
attr_reader :terms_agreements
|
|
86
|
+
|
|
87
|
+
sig do
|
|
88
|
+
params(
|
|
89
|
+
terms_agreements:
|
|
90
|
+
T::Array[Increase::EntityUpdateParams::TermsAgreement::OrHash]
|
|
91
|
+
).void
|
|
92
|
+
end
|
|
93
|
+
attr_writer :terms_agreements
|
|
94
|
+
|
|
78
95
|
# If you are using a third-party service for identity verification, you can use
|
|
79
96
|
# this field to associate this Entity with the identifier that represents them in
|
|
80
97
|
# that service.
|
|
@@ -108,6 +125,8 @@ module Increase
|
|
|
108
125
|
Increase::EntityUpdateParams::GovernmentAuthority::OrHash,
|
|
109
126
|
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash,
|
|
110
127
|
risk_rating: Increase::EntityUpdateParams::RiskRating::OrHash,
|
|
128
|
+
terms_agreements:
|
|
129
|
+
T::Array[Increase::EntityUpdateParams::TermsAgreement::OrHash],
|
|
111
130
|
third_party_verification:
|
|
112
131
|
Increase::EntityUpdateParams::ThirdPartyVerification::OrHash,
|
|
113
132
|
trust: Increase::EntityUpdateParams::Trust::OrHash,
|
|
@@ -133,6 +152,9 @@ module Increase
|
|
|
133
152
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
134
153
|
# such as money laundering.
|
|
135
154
|
risk_rating: nil,
|
|
155
|
+
# New terms that the Entity agreed to. Not all programs are required to submit
|
|
156
|
+
# this data. This will not archive previously submitted terms.
|
|
157
|
+
terms_agreements: nil,
|
|
136
158
|
# If you are using a third-party service for identity verification, you can use
|
|
137
159
|
# this field to associate this Entity with the identifier that represents them in
|
|
138
160
|
# that service.
|
|
@@ -154,6 +176,8 @@ module Increase
|
|
|
154
176
|
Increase::EntityUpdateParams::GovernmentAuthority,
|
|
155
177
|
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
156
178
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
179
|
+
terms_agreements:
|
|
180
|
+
T::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
157
181
|
third_party_verification:
|
|
158
182
|
Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
159
183
|
trust: Increase::EntityUpdateParams::Trust,
|
|
@@ -1285,6 +1309,53 @@ module Increase
|
|
|
1285
1309
|
end
|
|
1286
1310
|
end
|
|
1287
1311
|
|
|
1312
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
1313
|
+
OrHash =
|
|
1314
|
+
T.type_alias do
|
|
1315
|
+
T.any(
|
|
1316
|
+
Increase::EntityUpdateParams::TermsAgreement,
|
|
1317
|
+
Increase::Internal::AnyHash
|
|
1318
|
+
)
|
|
1319
|
+
end
|
|
1320
|
+
|
|
1321
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
1322
|
+
sig { returns(Time) }
|
|
1323
|
+
attr_accessor :agreed_at
|
|
1324
|
+
|
|
1325
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
1326
|
+
sig { returns(String) }
|
|
1327
|
+
attr_accessor :ip_address
|
|
1328
|
+
|
|
1329
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1330
|
+
sig { returns(String) }
|
|
1331
|
+
attr_accessor :terms_url
|
|
1332
|
+
|
|
1333
|
+
sig do
|
|
1334
|
+
params(
|
|
1335
|
+
agreed_at: Time,
|
|
1336
|
+
ip_address: String,
|
|
1337
|
+
terms_url: String
|
|
1338
|
+
).returns(T.attached_class)
|
|
1339
|
+
end
|
|
1340
|
+
def self.new(
|
|
1341
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
1342
|
+
agreed_at:,
|
|
1343
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
1344
|
+
ip_address:,
|
|
1345
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1346
|
+
terms_url:
|
|
1347
|
+
)
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1350
|
+
sig do
|
|
1351
|
+
override.returns(
|
|
1352
|
+
{ agreed_at: Time, ip_address: String, terms_url: String }
|
|
1353
|
+
)
|
|
1354
|
+
end
|
|
1355
|
+
def to_hash
|
|
1356
|
+
end
|
|
1357
|
+
end
|
|
1358
|
+
|
|
1288
1359
|
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
|
1289
1360
|
OrHash =
|
|
1290
1361
|
T.type_alias do
|
|
@@ -88,6 +88,8 @@ module Increase
|
|
|
88
88
|
Increase::EntityUpdateParams::GovernmentAuthority::OrHash,
|
|
89
89
|
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash,
|
|
90
90
|
risk_rating: Increase::EntityUpdateParams::RiskRating::OrHash,
|
|
91
|
+
terms_agreements:
|
|
92
|
+
T::Array[Increase::EntityUpdateParams::TermsAgreement::OrHash],
|
|
91
93
|
third_party_verification:
|
|
92
94
|
Increase::EntityUpdateParams::ThirdPartyVerification::OrHash,
|
|
93
95
|
trust: Increase::EntityUpdateParams::Trust::OrHash,
|
|
@@ -113,6 +115,9 @@ module Increase
|
|
|
113
115
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
114
116
|
# such as money laundering.
|
|
115
117
|
risk_rating: nil,
|
|
118
|
+
# New terms that the Entity agreed to. Not all programs are required to submit
|
|
119
|
+
# this data. This will not archive previously submitted terms.
|
|
120
|
+
terms_agreements: nil,
|
|
116
121
|
# If you are using a third-party service for identity verification, you can use
|
|
117
122
|
# this field to associate this Entity with the identifier that represents them in
|
|
118
123
|
# that service.
|
|
@@ -8,6 +8,7 @@ module Increase
|
|
|
8
8
|
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
|
9
9
|
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
10
10
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
11
|
+
terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
11
12
|
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
12
13
|
trust: Increase::EntityUpdateParams::Trust
|
|
13
14
|
}
|
|
@@ -47,6 +48,12 @@ module Increase
|
|
|
47
48
|
Increase::EntityUpdateParams::RiskRating
|
|
48
49
|
) -> Increase::EntityUpdateParams::RiskRating
|
|
49
50
|
|
|
51
|
+
attr_reader terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement]?
|
|
52
|
+
|
|
53
|
+
def terms_agreements=: (
|
|
54
|
+
::Array[Increase::EntityUpdateParams::TermsAgreement]
|
|
55
|
+
) -> ::Array[Increase::EntityUpdateParams::TermsAgreement]
|
|
56
|
+
|
|
50
57
|
attr_reader third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification?
|
|
51
58
|
|
|
52
59
|
def third_party_verification=: (
|
|
@@ -66,6 +73,7 @@ module Increase
|
|
|
66
73
|
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
|
67
74
|
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
68
75
|
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
76
|
+
?terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
69
77
|
?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
70
78
|
?trust: Increase::EntityUpdateParams::Trust,
|
|
71
79
|
?request_options: Increase::request_opts
|
|
@@ -78,6 +86,7 @@ module Increase
|
|
|
78
86
|
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
|
79
87
|
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
80
88
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
89
|
+
terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
81
90
|
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
82
91
|
trust: Increase::EntityUpdateParams::Trust,
|
|
83
92
|
request_options: Increase::RequestOptions
|
|
@@ -602,6 +611,29 @@ module Increase
|
|
|
602
611
|
end
|
|
603
612
|
end
|
|
604
613
|
|
|
614
|
+
type terms_agreement =
|
|
615
|
+
{ agreed_at: Time, ip_address: String, terms_url: String }
|
|
616
|
+
|
|
617
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
618
|
+
attr_accessor agreed_at: Time
|
|
619
|
+
|
|
620
|
+
attr_accessor ip_address: String
|
|
621
|
+
|
|
622
|
+
attr_accessor terms_url: String
|
|
623
|
+
|
|
624
|
+
def initialize: (
|
|
625
|
+
agreed_at: Time,
|
|
626
|
+
ip_address: String,
|
|
627
|
+
terms_url: String
|
|
628
|
+
) -> void
|
|
629
|
+
|
|
630
|
+
def to_hash: -> {
|
|
631
|
+
agreed_at: Time,
|
|
632
|
+
ip_address: String,
|
|
633
|
+
terms_url: String
|
|
634
|
+
}
|
|
635
|
+
end
|
|
636
|
+
|
|
605
637
|
type third_party_verification =
|
|
606
638
|
{
|
|
607
639
|
reference: String,
|
|
@@ -28,6 +28,7 @@ module Increase
|
|
|
28
28
|
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
|
29
29
|
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
30
30
|
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
31
|
+
?terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
31
32
|
?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
32
33
|
?trust: Increase::EntityUpdateParams::Trust,
|
|
33
34
|
?request_options: Increase::request_opts
|