increase 1.171.0 → 1.172.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.rb +40 -1
- data/lib/increase/models/entity_create_params.rb +41 -1
- data/lib/increase/resources/entities.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity.rbi +54 -0
- data/rbi/increase/models/entity_create_params.rbi +71 -0
- data/rbi/increase/resources/entities.rbi +5 -0
- data/sig/increase/models/entity.rbs +28 -0
- data/sig/increase/models/entity_create_params.rbs +32 -0
- data/sig/increase/resources/entities.rbs +1 -0
- 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: 696d6faeb6bfaf95281d200c37e7e0e28bfd6145ef8fd194a8315a5b4cd5453c
|
|
4
|
+
data.tar.gz: 983f68aa2c6761e3776e7ff02274c3e29faf3393b7ccd54a0b0675c789a08448
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 319a9335aa94c991d4b84181698bc3f9f18a5d01b5f938978cbee2ea808b2a3e7a3028208d9213453f06b4ca693e8b27467730ee6d382e03a194e25336f9d064
|
|
7
|
+
data.tar.gz: '090a53e190de622af2d54026463c784e692c8a6a4e350b96b7a321df2b34cefeac23607a9d2cf326303bb5bcb00cdfb855d5075616925d6fd6a0d236a9d01d0c'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.172.0 (2026-01-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.171.0...v1.172.0](https://github.com/Increase/increase-ruby/compare/v1.171.0...v1.172.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([f7bc3df](https://github.com/Increase/increase-ruby/commit/f7bc3df6db78f863f763caf487a6ee1e0ae0d190))
|
|
10
|
+
|
|
3
11
|
## 1.171.0 (2026-01-05)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.170.0...v1.171.0](https://github.com/Increase/increase-ruby/compare/v1.170.0...v1.171.0)
|
data/README.md
CHANGED
|
@@ -93,6 +93,13 @@ module Increase
|
|
|
93
93
|
required :supplemental_documents,
|
|
94
94
|
-> { Increase::Internal::Type::ArrayOf[Increase::EntitySupplementalDocument] }
|
|
95
95
|
|
|
96
|
+
# @!attribute terms_agreements
|
|
97
|
+
# The terms that the Entity agreed to. Not all programs are required to submit
|
|
98
|
+
# this data.
|
|
99
|
+
#
|
|
100
|
+
# @return [Array<Increase::Models::Entity::TermsAgreement>]
|
|
101
|
+
required :terms_agreements, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::TermsAgreement] }
|
|
102
|
+
|
|
96
103
|
# @!attribute third_party_verification
|
|
97
104
|
# If you are using a third-party service for identity verification, you can use
|
|
98
105
|
# this field to associate this Entity with the identifier that represents them in
|
|
@@ -114,7 +121,7 @@ module Increase
|
|
|
114
121
|
# @return [Symbol, Increase::Models::Entity::Type]
|
|
115
122
|
required :type, enum: -> { Increase::Entity::Type }
|
|
116
123
|
|
|
117
|
-
# @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, third_party_verification:, trust:, type:)
|
|
124
|
+
# @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:)
|
|
118
125
|
# Some parameter documentations has been truncated, see {Increase::Models::Entity}
|
|
119
126
|
# for more details.
|
|
120
127
|
#
|
|
@@ -147,6 +154,8 @@ module Increase
|
|
|
147
154
|
#
|
|
148
155
|
# @param supplemental_documents [Array<Increase::Models::EntitySupplementalDocument>] Additional documentation associated with the entity. This is limited to the firs
|
|
149
156
|
#
|
|
157
|
+
# @param terms_agreements [Array<Increase::Models::Entity::TermsAgreement>] The terms that the Entity agreed to. Not all programs are required to submit thi
|
|
158
|
+
#
|
|
150
159
|
# @param third_party_verification [Increase::Models::Entity::ThirdPartyVerification, nil] If you are using a third-party service for identity verification, you can use th
|
|
151
160
|
#
|
|
152
161
|
# @param trust [Increase::Models::Entity::Trust, nil] Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
|
@@ -1027,6 +1036,36 @@ module Increase
|
|
|
1027
1036
|
# @return [Array<Symbol>]
|
|
1028
1037
|
end
|
|
1029
1038
|
|
|
1039
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
1040
|
+
# @!attribute agreed_at
|
|
1041
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
1042
|
+
#
|
|
1043
|
+
# @return [Time]
|
|
1044
|
+
required :agreed_at, Time
|
|
1045
|
+
|
|
1046
|
+
# @!attribute ip_address
|
|
1047
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
1048
|
+
#
|
|
1049
|
+
# @return [String]
|
|
1050
|
+
required :ip_address, String
|
|
1051
|
+
|
|
1052
|
+
# @!attribute terms_url
|
|
1053
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1054
|
+
#
|
|
1055
|
+
# @return [String]
|
|
1056
|
+
required :terms_url, String
|
|
1057
|
+
|
|
1058
|
+
# @!method initialize(agreed_at:, ip_address:, terms_url:)
|
|
1059
|
+
# Some parameter documentations has been truncated, see
|
|
1060
|
+
# {Increase::Models::Entity::TermsAgreement} for more details.
|
|
1061
|
+
#
|
|
1062
|
+
# @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
|
|
1063
|
+
#
|
|
1064
|
+
# @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
|
|
1065
|
+
#
|
|
1066
|
+
# @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1030
1069
|
# @see Increase::Models::Entity#third_party_verification
|
|
1031
1070
|
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
|
1032
1071
|
# @!attribute reference
|
|
@@ -63,6 +63,14 @@ module Increase
|
|
|
63
63
|
optional :supplemental_documents,
|
|
64
64
|
-> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::SupplementalDocument] }
|
|
65
65
|
|
|
66
|
+
# @!attribute terms_agreements
|
|
67
|
+
# The terms that the Entity agreed to. Not all programs are required to submit
|
|
68
|
+
# this data.
|
|
69
|
+
#
|
|
70
|
+
# @return [Array<Increase::Models::EntityCreateParams::TermsAgreement>, nil]
|
|
71
|
+
optional :terms_agreements,
|
|
72
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::TermsAgreement] }
|
|
73
|
+
|
|
66
74
|
# @!attribute third_party_verification
|
|
67
75
|
# If you are using a third-party service for identity verification, you can use
|
|
68
76
|
# this field to associate this Entity with the identifier that represents them in
|
|
@@ -78,7 +86,7 @@ module Increase
|
|
|
78
86
|
# @return [Increase::Models::EntityCreateParams::Trust, nil]
|
|
79
87
|
optional :trust, -> { Increase::EntityCreateParams::Trust }
|
|
80
88
|
|
|
81
|
-
# @!method initialize(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
89
|
+
# @!method initialize(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
82
90
|
# Some parameter documentations has been truncated, see
|
|
83
91
|
# {Increase::Models::EntityCreateParams} for more details.
|
|
84
92
|
#
|
|
@@ -98,6 +106,8 @@ module Increase
|
|
|
98
106
|
#
|
|
99
107
|
# @param supplemental_documents [Array<Increase::Models::EntityCreateParams::SupplementalDocument>] Additional documentation associated with the entity.
|
|
100
108
|
#
|
|
109
|
+
# @param terms_agreements [Array<Increase::Models::EntityCreateParams::TermsAgreement>] The terms that the Entity agreed to. Not all programs are required to submit thi
|
|
110
|
+
#
|
|
101
111
|
# @param third_party_verification [Increase::Models::EntityCreateParams::ThirdPartyVerification] If you are using a third-party service for identity verification, you can use th
|
|
102
112
|
#
|
|
103
113
|
# @param trust [Increase::Models::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus
|
|
@@ -1514,6 +1524,36 @@ module Increase
|
|
|
1514
1524
|
# @param file_id [String] The identifier of the File containing the document.
|
|
1515
1525
|
end
|
|
1516
1526
|
|
|
1527
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
1528
|
+
# @!attribute agreed_at
|
|
1529
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
1530
|
+
#
|
|
1531
|
+
# @return [Time]
|
|
1532
|
+
required :agreed_at, Time
|
|
1533
|
+
|
|
1534
|
+
# @!attribute ip_address
|
|
1535
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
1536
|
+
#
|
|
1537
|
+
# @return [String]
|
|
1538
|
+
required :ip_address, String
|
|
1539
|
+
|
|
1540
|
+
# @!attribute terms_url
|
|
1541
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1542
|
+
#
|
|
1543
|
+
# @return [String]
|
|
1544
|
+
required :terms_url, String
|
|
1545
|
+
|
|
1546
|
+
# @!method initialize(agreed_at:, ip_address:, terms_url:)
|
|
1547
|
+
# Some parameter documentations has been truncated, see
|
|
1548
|
+
# {Increase::Models::EntityCreateParams::TermsAgreement} for more details.
|
|
1549
|
+
#
|
|
1550
|
+
# @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
|
|
1551
|
+
#
|
|
1552
|
+
# @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
|
|
1553
|
+
#
|
|
1554
|
+
# @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1555
|
+
end
|
|
1556
|
+
|
|
1517
1557
|
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
|
1518
1558
|
# @!attribute reference
|
|
1519
1559
|
# The reference identifier for the third party verification.
|
|
@@ -8,7 +8,7 @@ module Increase
|
|
|
8
8
|
#
|
|
9
9
|
# Create an Entity
|
|
10
10
|
#
|
|
11
|
-
# @overload create(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
11
|
+
# @overload create(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param structure [Symbol, Increase::Models::EntityCreateParams::Structure] The type of Entity to create.
|
|
14
14
|
#
|
|
@@ -26,6 +26,8 @@ module Increase
|
|
|
26
26
|
#
|
|
27
27
|
# @param supplemental_documents [Array<Increase::Models::EntityCreateParams::SupplementalDocument>] Additional documentation associated with the entity.
|
|
28
28
|
#
|
|
29
|
+
# @param terms_agreements [Array<Increase::Models::EntityCreateParams::TermsAgreement>] The terms that the Entity agreed to. Not all programs are required to submit thi
|
|
30
|
+
#
|
|
29
31
|
# @param third_party_verification [Increase::Models::EntityCreateParams::ThirdPartyVerification] If you are using a third-party service for identity verification, you can use th
|
|
30
32
|
#
|
|
31
33
|
# @param trust [Increase::Models::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus
|
data/lib/increase/version.rb
CHANGED
|
@@ -100,6 +100,11 @@ module Increase
|
|
|
100
100
|
sig { returns(T::Array[Increase::EntitySupplementalDocument]) }
|
|
101
101
|
attr_accessor :supplemental_documents
|
|
102
102
|
|
|
103
|
+
# The terms that the Entity agreed to. Not all programs are required to submit
|
|
104
|
+
# this data.
|
|
105
|
+
sig { returns(T::Array[Increase::Entity::TermsAgreement]) }
|
|
106
|
+
attr_accessor :terms_agreements
|
|
107
|
+
|
|
103
108
|
# If you are using a third-party service for identity verification, you can use
|
|
104
109
|
# this field to associate this Entity with the identifier that represents them in
|
|
105
110
|
# that service.
|
|
@@ -145,6 +150,7 @@ module Increase
|
|
|
145
150
|
structure: Increase::Entity::Structure::OrSymbol,
|
|
146
151
|
supplemental_documents:
|
|
147
152
|
T::Array[Increase::EntitySupplementalDocument::OrHash],
|
|
153
|
+
terms_agreements: T::Array[Increase::Entity::TermsAgreement::OrHash],
|
|
148
154
|
third_party_verification:
|
|
149
155
|
T.nilable(Increase::Entity::ThirdPartyVerification::OrHash),
|
|
150
156
|
trust: T.nilable(Increase::Entity::Trust::OrHash),
|
|
@@ -188,6 +194,9 @@ module Increase
|
|
|
188
194
|
# first 10 documents for an entity. If an entity has more than 10 documents, use
|
|
189
195
|
# the GET /entity_supplemental_documents list endpoint to retrieve them.
|
|
190
196
|
supplemental_documents:,
|
|
197
|
+
# The terms that the Entity agreed to. Not all programs are required to submit
|
|
198
|
+
# this data.
|
|
199
|
+
terms_agreements:,
|
|
191
200
|
# If you are using a third-party service for identity verification, you can use
|
|
192
201
|
# this field to associate this Entity with the identifier that represents them in
|
|
193
202
|
# that service.
|
|
@@ -218,6 +227,7 @@ module Increase
|
|
|
218
227
|
structure: Increase::Entity::Structure::TaggedSymbol,
|
|
219
228
|
supplemental_documents:
|
|
220
229
|
T::Array[Increase::EntitySupplementalDocument],
|
|
230
|
+
terms_agreements: T::Array[Increase::Entity::TermsAgreement],
|
|
221
231
|
third_party_verification:
|
|
222
232
|
T.nilable(Increase::Entity::ThirdPartyVerification),
|
|
223
233
|
trust: T.nilable(Increase::Entity::Trust),
|
|
@@ -1730,6 +1740,50 @@ module Increase
|
|
|
1730
1740
|
end
|
|
1731
1741
|
end
|
|
1732
1742
|
|
|
1743
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
1744
|
+
OrHash =
|
|
1745
|
+
T.type_alias do
|
|
1746
|
+
T.any(Increase::Entity::TermsAgreement, Increase::Internal::AnyHash)
|
|
1747
|
+
end
|
|
1748
|
+
|
|
1749
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
1750
|
+
sig { returns(Time) }
|
|
1751
|
+
attr_accessor :agreed_at
|
|
1752
|
+
|
|
1753
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
1754
|
+
sig { returns(String) }
|
|
1755
|
+
attr_accessor :ip_address
|
|
1756
|
+
|
|
1757
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1758
|
+
sig { returns(String) }
|
|
1759
|
+
attr_accessor :terms_url
|
|
1760
|
+
|
|
1761
|
+
sig do
|
|
1762
|
+
params(
|
|
1763
|
+
agreed_at: Time,
|
|
1764
|
+
ip_address: String,
|
|
1765
|
+
terms_url: String
|
|
1766
|
+
).returns(T.attached_class)
|
|
1767
|
+
end
|
|
1768
|
+
def self.new(
|
|
1769
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
1770
|
+
agreed_at:,
|
|
1771
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
1772
|
+
ip_address:,
|
|
1773
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1774
|
+
terms_url:
|
|
1775
|
+
)
|
|
1776
|
+
end
|
|
1777
|
+
|
|
1778
|
+
sig do
|
|
1779
|
+
override.returns(
|
|
1780
|
+
{ agreed_at: Time, ip_address: String, terms_url: String }
|
|
1781
|
+
)
|
|
1782
|
+
end
|
|
1783
|
+
def to_hash
|
|
1784
|
+
end
|
|
1785
|
+
end
|
|
1786
|
+
|
|
1733
1787
|
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
|
1734
1788
|
OrHash =
|
|
1735
1789
|
T.type_alias do
|
|
@@ -101,6 +101,23 @@ module Increase
|
|
|
101
101
|
end
|
|
102
102
|
attr_writer :supplemental_documents
|
|
103
103
|
|
|
104
|
+
# The terms that the Entity agreed to. Not all programs are required to submit
|
|
105
|
+
# this data.
|
|
106
|
+
sig do
|
|
107
|
+
returns(
|
|
108
|
+
T.nilable(T::Array[Increase::EntityCreateParams::TermsAgreement])
|
|
109
|
+
)
|
|
110
|
+
end
|
|
111
|
+
attr_reader :terms_agreements
|
|
112
|
+
|
|
113
|
+
sig do
|
|
114
|
+
params(
|
|
115
|
+
terms_agreements:
|
|
116
|
+
T::Array[Increase::EntityCreateParams::TermsAgreement::OrHash]
|
|
117
|
+
).void
|
|
118
|
+
end
|
|
119
|
+
attr_writer :terms_agreements
|
|
120
|
+
|
|
104
121
|
# If you are using a third-party service for identity verification, you can use
|
|
105
122
|
# this field to associate this Entity with the identifier that represents them in
|
|
106
123
|
# that service.
|
|
@@ -139,6 +156,8 @@ module Increase
|
|
|
139
156
|
T::Array[
|
|
140
157
|
Increase::EntityCreateParams::SupplementalDocument::OrHash
|
|
141
158
|
],
|
|
159
|
+
terms_agreements:
|
|
160
|
+
T::Array[Increase::EntityCreateParams::TermsAgreement::OrHash],
|
|
142
161
|
third_party_verification:
|
|
143
162
|
Increase::EntityCreateParams::ThirdPartyVerification::OrHash,
|
|
144
163
|
trust: Increase::EntityCreateParams::Trust::OrHash,
|
|
@@ -169,6 +188,9 @@ module Increase
|
|
|
169
188
|
risk_rating: nil,
|
|
170
189
|
# Additional documentation associated with the entity.
|
|
171
190
|
supplemental_documents: nil,
|
|
191
|
+
# The terms that the Entity agreed to. Not all programs are required to submit
|
|
192
|
+
# this data.
|
|
193
|
+
terms_agreements: nil,
|
|
172
194
|
# If you are using a third-party service for identity verification, you can use
|
|
173
195
|
# this field to associate this Entity with the identifier that represents them in
|
|
174
196
|
# that service.
|
|
@@ -193,6 +215,8 @@ module Increase
|
|
|
193
215
|
risk_rating: Increase::EntityCreateParams::RiskRating,
|
|
194
216
|
supplemental_documents:
|
|
195
217
|
T::Array[Increase::EntityCreateParams::SupplementalDocument],
|
|
218
|
+
terms_agreements:
|
|
219
|
+
T::Array[Increase::EntityCreateParams::TermsAgreement],
|
|
196
220
|
third_party_verification:
|
|
197
221
|
Increase::EntityCreateParams::ThirdPartyVerification,
|
|
198
222
|
trust: Increase::EntityCreateParams::Trust,
|
|
@@ -2785,6 +2809,53 @@ module Increase
|
|
|
2785
2809
|
end
|
|
2786
2810
|
end
|
|
2787
2811
|
|
|
2812
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
2813
|
+
OrHash =
|
|
2814
|
+
T.type_alias do
|
|
2815
|
+
T.any(
|
|
2816
|
+
Increase::EntityCreateParams::TermsAgreement,
|
|
2817
|
+
Increase::Internal::AnyHash
|
|
2818
|
+
)
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2821
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
2822
|
+
sig { returns(Time) }
|
|
2823
|
+
attr_accessor :agreed_at
|
|
2824
|
+
|
|
2825
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
2826
|
+
sig { returns(String) }
|
|
2827
|
+
attr_accessor :ip_address
|
|
2828
|
+
|
|
2829
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
2830
|
+
sig { returns(String) }
|
|
2831
|
+
attr_accessor :terms_url
|
|
2832
|
+
|
|
2833
|
+
sig do
|
|
2834
|
+
params(
|
|
2835
|
+
agreed_at: Time,
|
|
2836
|
+
ip_address: String,
|
|
2837
|
+
terms_url: String
|
|
2838
|
+
).returns(T.attached_class)
|
|
2839
|
+
end
|
|
2840
|
+
def self.new(
|
|
2841
|
+
# The timestamp of when the Entity agreed to the terms.
|
|
2842
|
+
agreed_at:,
|
|
2843
|
+
# The IP address the Entity accessed reviewed the terms from.
|
|
2844
|
+
ip_address:,
|
|
2845
|
+
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
2846
|
+
terms_url:
|
|
2847
|
+
)
|
|
2848
|
+
end
|
|
2849
|
+
|
|
2850
|
+
sig do
|
|
2851
|
+
override.returns(
|
|
2852
|
+
{ agreed_at: Time, ip_address: String, terms_url: String }
|
|
2853
|
+
)
|
|
2854
|
+
end
|
|
2855
|
+
def to_hash
|
|
2856
|
+
end
|
|
2857
|
+
end
|
|
2858
|
+
|
|
2788
2859
|
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
|
2789
2860
|
OrHash =
|
|
2790
2861
|
T.type_alias do
|
|
@@ -18,6 +18,8 @@ module Increase
|
|
|
18
18
|
T::Array[
|
|
19
19
|
Increase::EntityCreateParams::SupplementalDocument::OrHash
|
|
20
20
|
],
|
|
21
|
+
terms_agreements:
|
|
22
|
+
T::Array[Increase::EntityCreateParams::TermsAgreement::OrHash],
|
|
21
23
|
third_party_verification:
|
|
22
24
|
Increase::EntityCreateParams::ThirdPartyVerification::OrHash,
|
|
23
25
|
trust: Increase::EntityCreateParams::Trust::OrHash,
|
|
@@ -48,6 +50,9 @@ module Increase
|
|
|
48
50
|
risk_rating: nil,
|
|
49
51
|
# Additional documentation associated with the entity.
|
|
50
52
|
supplemental_documents: nil,
|
|
53
|
+
# The terms that the Entity agreed to. Not all programs are required to submit
|
|
54
|
+
# this data.
|
|
55
|
+
terms_agreements: nil,
|
|
51
56
|
# If you are using a third-party service for identity verification, you can use
|
|
52
57
|
# this field to associate this Entity with the identifier that represents them in
|
|
53
58
|
# that service.
|
|
@@ -15,6 +15,7 @@ module Increase
|
|
|
15
15
|
status: Increase::Models::Entity::status,
|
|
16
16
|
structure: Increase::Models::Entity::structure,
|
|
17
17
|
supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
|
|
18
|
+
terms_agreements: ::Array[Increase::Entity::TermsAgreement],
|
|
18
19
|
third_party_verification: Increase::Entity::ThirdPartyVerification?,
|
|
19
20
|
trust: Increase::Entity::Trust?,
|
|
20
21
|
type: Increase::Models::Entity::type_
|
|
@@ -47,6 +48,8 @@ module Increase
|
|
|
47
48
|
|
|
48
49
|
attr_accessor supplemental_documents: ::Array[Increase::EntitySupplementalDocument]
|
|
49
50
|
|
|
51
|
+
attr_accessor terms_agreements: ::Array[Increase::Entity::TermsAgreement]
|
|
52
|
+
|
|
50
53
|
attr_accessor third_party_verification: Increase::Entity::ThirdPartyVerification?
|
|
51
54
|
|
|
52
55
|
attr_accessor trust: Increase::Entity::Trust?
|
|
@@ -67,6 +70,7 @@ module Increase
|
|
|
67
70
|
status: Increase::Models::Entity::status,
|
|
68
71
|
structure: Increase::Models::Entity::structure,
|
|
69
72
|
supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
|
|
73
|
+
terms_agreements: ::Array[Increase::Entity::TermsAgreement],
|
|
70
74
|
third_party_verification: Increase::Entity::ThirdPartyVerification?,
|
|
71
75
|
trust: Increase::Entity::Trust?,
|
|
72
76
|
type: Increase::Models::Entity::type_
|
|
@@ -86,6 +90,7 @@ module Increase
|
|
|
86
90
|
status: Increase::Models::Entity::status,
|
|
87
91
|
structure: Increase::Models::Entity::structure,
|
|
88
92
|
supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
|
|
93
|
+
terms_agreements: ::Array[Increase::Entity::TermsAgreement],
|
|
89
94
|
third_party_verification: Increase::Entity::ThirdPartyVerification?,
|
|
90
95
|
trust: Increase::Entity::Trust?,
|
|
91
96
|
type: Increase::Models::Entity::type_
|
|
@@ -799,6 +804,29 @@ module Increase
|
|
|
799
804
|
def self?.values: -> ::Array[Increase::Models::Entity::structure]
|
|
800
805
|
end
|
|
801
806
|
|
|
807
|
+
type terms_agreement =
|
|
808
|
+
{ agreed_at: Time, ip_address: String, terms_url: String }
|
|
809
|
+
|
|
810
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
811
|
+
attr_accessor agreed_at: Time
|
|
812
|
+
|
|
813
|
+
attr_accessor ip_address: String
|
|
814
|
+
|
|
815
|
+
attr_accessor terms_url: String
|
|
816
|
+
|
|
817
|
+
def initialize: (
|
|
818
|
+
agreed_at: Time,
|
|
819
|
+
ip_address: String,
|
|
820
|
+
terms_url: String
|
|
821
|
+
) -> void
|
|
822
|
+
|
|
823
|
+
def to_hash: -> {
|
|
824
|
+
agreed_at: Time,
|
|
825
|
+
ip_address: String,
|
|
826
|
+
terms_url: String
|
|
827
|
+
}
|
|
828
|
+
end
|
|
829
|
+
|
|
802
830
|
type third_party_verification =
|
|
803
831
|
{
|
|
804
832
|
reference: String,
|
|
@@ -10,6 +10,7 @@ module Increase
|
|
|
10
10
|
natural_person: Increase::EntityCreateParams::NaturalPerson,
|
|
11
11
|
risk_rating: Increase::EntityCreateParams::RiskRating,
|
|
12
12
|
supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
|
|
13
|
+
terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
|
|
13
14
|
third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
|
|
14
15
|
trust: Increase::EntityCreateParams::Trust
|
|
15
16
|
}
|
|
@@ -61,6 +62,12 @@ module Increase
|
|
|
61
62
|
::Array[Increase::EntityCreateParams::SupplementalDocument]
|
|
62
63
|
) -> ::Array[Increase::EntityCreateParams::SupplementalDocument]
|
|
63
64
|
|
|
65
|
+
attr_reader terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement]?
|
|
66
|
+
|
|
67
|
+
def terms_agreements=: (
|
|
68
|
+
::Array[Increase::EntityCreateParams::TermsAgreement]
|
|
69
|
+
) -> ::Array[Increase::EntityCreateParams::TermsAgreement]
|
|
70
|
+
|
|
64
71
|
attr_reader third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification?
|
|
65
72
|
|
|
66
73
|
def third_party_verification=: (
|
|
@@ -82,6 +89,7 @@ module Increase
|
|
|
82
89
|
?natural_person: Increase::EntityCreateParams::NaturalPerson,
|
|
83
90
|
?risk_rating: Increase::EntityCreateParams::RiskRating,
|
|
84
91
|
?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
|
|
92
|
+
?terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
|
|
85
93
|
?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
|
|
86
94
|
?trust: Increase::EntityCreateParams::Trust,
|
|
87
95
|
?request_options: Increase::request_opts
|
|
@@ -96,6 +104,7 @@ module Increase
|
|
|
96
104
|
natural_person: Increase::EntityCreateParams::NaturalPerson,
|
|
97
105
|
risk_rating: Increase::EntityCreateParams::RiskRating,
|
|
98
106
|
supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
|
|
107
|
+
terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
|
|
99
108
|
third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
|
|
100
109
|
trust: Increase::EntityCreateParams::Trust,
|
|
101
110
|
request_options: Increase::RequestOptions
|
|
@@ -1248,6 +1257,29 @@ module Increase
|
|
|
1248
1257
|
def to_hash: -> { file_id: String }
|
|
1249
1258
|
end
|
|
1250
1259
|
|
|
1260
|
+
type terms_agreement =
|
|
1261
|
+
{ agreed_at: Time, ip_address: String, terms_url: String }
|
|
1262
|
+
|
|
1263
|
+
class TermsAgreement < Increase::Internal::Type::BaseModel
|
|
1264
|
+
attr_accessor agreed_at: Time
|
|
1265
|
+
|
|
1266
|
+
attr_accessor ip_address: String
|
|
1267
|
+
|
|
1268
|
+
attr_accessor terms_url: String
|
|
1269
|
+
|
|
1270
|
+
def initialize: (
|
|
1271
|
+
agreed_at: Time,
|
|
1272
|
+
ip_address: String,
|
|
1273
|
+
terms_url: String
|
|
1274
|
+
) -> void
|
|
1275
|
+
|
|
1276
|
+
def to_hash: -> {
|
|
1277
|
+
agreed_at: Time,
|
|
1278
|
+
ip_address: String,
|
|
1279
|
+
terms_url: String
|
|
1280
|
+
}
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1251
1283
|
type third_party_verification =
|
|
1252
1284
|
{
|
|
1253
1285
|
reference: String,
|
|
@@ -10,6 +10,7 @@ module Increase
|
|
|
10
10
|
?natural_person: Increase::EntityCreateParams::NaturalPerson,
|
|
11
11
|
?risk_rating: Increase::EntityCreateParams::RiskRating,
|
|
12
12
|
?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
|
|
13
|
+
?terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
|
|
13
14
|
?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
|
|
14
15
|
?trust: Increase::EntityCreateParams::Trust,
|
|
15
16
|
?request_options: Increase::request_opts
|
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.172.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-01-
|
|
11
|
+
date: 2026-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|