increase 1.63.0 → 1.65.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.
@@ -11,6 +11,7 @@ module Increase
11
11
  idempotency_key: String?,
12
12
  joint: Increase::Entity::Joint?,
13
13
  natural_person: Increase::Entity::NaturalPerson?,
14
+ risk_rating: Increase::Entity::RiskRating?,
14
15
  status: Increase::Models::Entity::status,
15
16
  structure: Increase::Models::Entity::structure,
16
17
  supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
@@ -38,6 +39,8 @@ module Increase
38
39
 
39
40
  attr_accessor natural_person: Increase::Entity::NaturalPerson?
40
41
 
42
+ attr_accessor risk_rating: Increase::Entity::RiskRating?
43
+
41
44
  attr_accessor status: Increase::Models::Entity::status
42
45
 
43
46
  attr_accessor structure: Increase::Models::Entity::structure
@@ -60,6 +63,7 @@ module Increase
60
63
  idempotency_key: String?,
61
64
  joint: Increase::Entity::Joint?,
62
65
  natural_person: Increase::Entity::NaturalPerson?,
66
+ risk_rating: Increase::Entity::RiskRating?,
63
67
  status: Increase::Models::Entity::status,
64
68
  structure: Increase::Models::Entity::structure,
65
69
  supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
@@ -78,6 +82,7 @@ module Increase
78
82
  idempotency_key: String?,
79
83
  joint: Increase::Entity::Joint?,
80
84
  natural_person: Increase::Entity::NaturalPerson?,
85
+ risk_rating: Increase::Entity::RiskRating?,
81
86
  status: Increase::Models::Entity::status,
82
87
  structure: Increase::Models::Entity::structure,
83
88
  supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
@@ -712,6 +717,42 @@ module Increase
712
717
  end
713
718
  end
714
719
 
720
+ type risk_rating =
721
+ { rated_at: Time, rating: Increase::Models::Entity::RiskRating::rating }
722
+
723
+ class RiskRating < Increase::Internal::Type::BaseModel
724
+ attr_accessor rated_at: Time
725
+
726
+ attr_accessor rating: Increase::Models::Entity::RiskRating::rating
727
+
728
+ def initialize: (
729
+ rated_at: Time,
730
+ rating: Increase::Models::Entity::RiskRating::rating
731
+ ) -> void
732
+
733
+ def to_hash: -> {
734
+ rated_at: Time,
735
+ rating: Increase::Models::Entity::RiskRating::rating
736
+ }
737
+
738
+ type rating = :low | :medium | :high
739
+
740
+ module Rating
741
+ extend Increase::Internal::Type::Enum
742
+
743
+ # Low
744
+ LOW: :low
745
+
746
+ # Medium
747
+ MEDIUM: :medium
748
+
749
+ # High
750
+ HIGH: :high
751
+
752
+ def self?.values: -> ::Array[Increase::Models::Entity::RiskRating::rating]
753
+ end
754
+ end
755
+
715
756
  type status = :active | :archived | :disabled
716
757
 
717
758
  module Status
@@ -8,6 +8,7 @@ module Increase
8
8
  government_authority: Increase::EntityCreateParams::GovernmentAuthority,
9
9
  joint: Increase::EntityCreateParams::Joint,
10
10
  natural_person: Increase::EntityCreateParams::NaturalPerson,
11
+ risk_rating: Increase::EntityCreateParams::RiskRating,
11
12
  supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
12
13
  third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
13
14
  trust: Increase::EntityCreateParams::Trust
@@ -48,6 +49,12 @@ module Increase
48
49
  Increase::EntityCreateParams::NaturalPerson
49
50
  ) -> Increase::EntityCreateParams::NaturalPerson
50
51
 
52
+ attr_reader risk_rating: Increase::EntityCreateParams::RiskRating?
53
+
54
+ def risk_rating=: (
55
+ Increase::EntityCreateParams::RiskRating
56
+ ) -> Increase::EntityCreateParams::RiskRating
57
+
51
58
  attr_reader supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument]?
52
59
 
53
60
  def supplemental_documents=: (
@@ -73,6 +80,7 @@ module Increase
73
80
  ?government_authority: Increase::EntityCreateParams::GovernmentAuthority,
74
81
  ?joint: Increase::EntityCreateParams::Joint,
75
82
  ?natural_person: Increase::EntityCreateParams::NaturalPerson,
83
+ ?risk_rating: Increase::EntityCreateParams::RiskRating,
76
84
  ?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
77
85
  ?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
78
86
  ?trust: Increase::EntityCreateParams::Trust,
@@ -86,6 +94,7 @@ module Increase
86
94
  government_authority: Increase::EntityCreateParams::GovernmentAuthority,
87
95
  joint: Increase::EntityCreateParams::Joint,
88
96
  natural_person: Increase::EntityCreateParams::NaturalPerson,
97
+ risk_rating: Increase::EntityCreateParams::RiskRating,
89
98
  supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
90
99
  third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
91
100
  trust: Increase::EntityCreateParams::Trust,
@@ -1179,6 +1188,45 @@ module Increase
1179
1188
  end
1180
1189
  end
1181
1190
 
1191
+ type risk_rating =
1192
+ {
1193
+ rated_at: Time,
1194
+ rating: Increase::Models::EntityCreateParams::RiskRating::rating
1195
+ }
1196
+
1197
+ class RiskRating < Increase::Internal::Type::BaseModel
1198
+ attr_accessor rated_at: Time
1199
+
1200
+ attr_accessor rating: Increase::Models::EntityCreateParams::RiskRating::rating
1201
+
1202
+ def initialize: (
1203
+ rated_at: Time,
1204
+ rating: Increase::Models::EntityCreateParams::RiskRating::rating
1205
+ ) -> void
1206
+
1207
+ def to_hash: -> {
1208
+ rated_at: Time,
1209
+ rating: Increase::Models::EntityCreateParams::RiskRating::rating
1210
+ }
1211
+
1212
+ type rating = :low | :medium | :high
1213
+
1214
+ module Rating
1215
+ extend Increase::Internal::Type::Enum
1216
+
1217
+ # Low
1218
+ LOW: :low
1219
+
1220
+ # Medium
1221
+ MEDIUM: :medium
1222
+
1223
+ # High
1224
+ HIGH: :high
1225
+
1226
+ def self?.values: -> ::Array[Increase::Models::EntityCreateParams::RiskRating::rating]
1227
+ end
1228
+ end
1229
+
1182
1230
  type supplemental_document = { file_id: String }
1183
1231
 
1184
1232
  class SupplementalDocument < Increase::Internal::Type::BaseModel
@@ -0,0 +1,201 @@
1
+ module Increase
2
+ module Models
3
+ type entity_update_params =
4
+ {
5
+ corporation: Increase::EntityUpdateParams::Corporation,
6
+ government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
7
+ natural_person: Increase::EntityUpdateParams::NaturalPerson,
8
+ risk_rating: Increase::EntityUpdateParams::RiskRating,
9
+ third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
10
+ trust: Increase::EntityUpdateParams::Trust
11
+ }
12
+ & Increase::Internal::Type::request_parameters
13
+
14
+ class EntityUpdateParams < Increase::Internal::Type::BaseModel
15
+ extend Increase::Internal::Type::RequestParameters::Converter
16
+ include Increase::Internal::Type::RequestParameters
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
+
36
+ attr_reader risk_rating: Increase::EntityUpdateParams::RiskRating?
37
+
38
+ def risk_rating=: (
39
+ Increase::EntityUpdateParams::RiskRating
40
+ ) -> Increase::EntityUpdateParams::RiskRating
41
+
42
+ attr_reader third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification?
43
+
44
+ def third_party_verification=: (
45
+ Increase::EntityUpdateParams::ThirdPartyVerification
46
+ ) -> Increase::EntityUpdateParams::ThirdPartyVerification
47
+
48
+ attr_reader trust: Increase::EntityUpdateParams::Trust?
49
+
50
+ def trust=: (
51
+ Increase::EntityUpdateParams::Trust
52
+ ) -> Increase::EntityUpdateParams::Trust
53
+
54
+ def initialize: (
55
+ ?corporation: Increase::EntityUpdateParams::Corporation,
56
+ ?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
57
+ ?natural_person: Increase::EntityUpdateParams::NaturalPerson,
58
+ ?risk_rating: Increase::EntityUpdateParams::RiskRating,
59
+ ?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
60
+ ?trust: Increase::EntityUpdateParams::Trust,
61
+ ?request_options: Increase::request_opts
62
+ ) -> void
63
+
64
+ def to_hash: -> {
65
+ corporation: Increase::EntityUpdateParams::Corporation,
66
+ government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
67
+ natural_person: Increase::EntityUpdateParams::NaturalPerson,
68
+ risk_rating: Increase::EntityUpdateParams::RiskRating,
69
+ third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
70
+ trust: Increase::EntityUpdateParams::Trust,
71
+ request_options: Increase::RequestOptions
72
+ }
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
+
110
+ type risk_rating =
111
+ {
112
+ rated_at: Time,
113
+ rating: Increase::Models::EntityUpdateParams::RiskRating::rating
114
+ }
115
+
116
+ class RiskRating < Increase::Internal::Type::BaseModel
117
+ attr_accessor rated_at: Time
118
+
119
+ attr_accessor rating: Increase::Models::EntityUpdateParams::RiskRating::rating
120
+
121
+ def initialize: (
122
+ rated_at: Time,
123
+ rating: Increase::Models::EntityUpdateParams::RiskRating::rating
124
+ ) -> void
125
+
126
+ def to_hash: -> {
127
+ rated_at: Time,
128
+ rating: Increase::Models::EntityUpdateParams::RiskRating::rating
129
+ }
130
+
131
+ type rating = :low | :medium | :high
132
+
133
+ module Rating
134
+ extend Increase::Internal::Type::Enum
135
+
136
+ # Low
137
+ LOW: :low
138
+
139
+ # Medium
140
+ MEDIUM: :medium
141
+
142
+ # High
143
+ HIGH: :high
144
+
145
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::RiskRating::rating]
146
+ end
147
+ end
148
+
149
+ type third_party_verification =
150
+ {
151
+ reference: String,
152
+ vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
153
+ }
154
+
155
+ class ThirdPartyVerification < Increase::Internal::Type::BaseModel
156
+ attr_accessor reference: String
157
+
158
+ attr_accessor vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
159
+
160
+ def initialize: (
161
+ reference: String,
162
+ vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
163
+ ) -> void
164
+
165
+ def to_hash: -> {
166
+ reference: String,
167
+ vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
168
+ }
169
+
170
+ type vendor = :alloy | :middesk | :oscilar
171
+
172
+ module Vendor
173
+ extend Increase::Internal::Type::Enum
174
+
175
+ # Alloy. See https://alloy.com for more information.
176
+ ALLOY: :alloy
177
+
178
+ # Middesk. See https://middesk.com for more information.
179
+ MIDDESK: :middesk
180
+
181
+ # Oscilar. See https://oscilar.com for more information.
182
+ OSCILAR: :oscilar
183
+
184
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor]
185
+ end
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
199
+ end
200
+ end
201
+ end
@@ -235,6 +235,8 @@ module Increase
235
235
 
236
236
  class EntityUpdateIndustryCodeParams = Increase::Models::EntityUpdateIndustryCodeParams
237
237
 
238
+ class EntityUpdateParams = Increase::Models::EntityUpdateParams
239
+
238
240
  class Event = Increase::Models::Event
239
241
 
240
242
  class EventListParams = Increase::Models::EventListParams
@@ -8,6 +8,7 @@ module Increase
8
8
  ?government_authority: Increase::EntityCreateParams::GovernmentAuthority,
9
9
  ?joint: Increase::EntityCreateParams::Joint,
10
10
  ?natural_person: Increase::EntityCreateParams::NaturalPerson,
11
+ ?risk_rating: Increase::EntityCreateParams::RiskRating,
11
12
  ?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
12
13
  ?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
13
14
  ?trust: Increase::EntityCreateParams::Trust,
@@ -19,6 +20,17 @@ module Increase
19
20
  ?request_options: Increase::request_opts
20
21
  ) -> Increase::Entity
21
22
 
23
+ def update: (
24
+ String entity_id,
25
+ ?corporation: Increase::EntityUpdateParams::Corporation,
26
+ ?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
27
+ ?natural_person: Increase::EntityUpdateParams::NaturalPerson,
28
+ ?risk_rating: Increase::EntityUpdateParams::RiskRating,
29
+ ?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
30
+ ?trust: Increase::EntityUpdateParams::Trust,
31
+ ?request_options: Increase::request_opts
32
+ ) -> Increase::Entity
33
+
22
34
  def list: (
23
35
  ?created_at: Increase::EntityListParams::CreatedAt,
24
36
  ?cursor: String,
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.63.0
4
+ version: 1.65.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-04 00:00:00.000000000 Z
11
+ date: 2025-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -174,6 +174,7 @@ files:
174
174
  - lib/increase/models/entity_update_address_params.rb
175
175
  - lib/increase/models/entity_update_beneficial_owner_address_params.rb
176
176
  - lib/increase/models/entity_update_industry_code_params.rb
177
+ - lib/increase/models/entity_update_params.rb
177
178
  - lib/increase/models/event.rb
178
179
  - lib/increase/models/event_list_params.rb
179
180
  - lib/increase/models/event_retrieve_params.rb
@@ -558,6 +559,7 @@ files:
558
559
  - rbi/increase/models/entity_update_address_params.rbi
559
560
  - rbi/increase/models/entity_update_beneficial_owner_address_params.rbi
560
561
  - rbi/increase/models/entity_update_industry_code_params.rbi
562
+ - rbi/increase/models/entity_update_params.rbi
561
563
  - rbi/increase/models/event.rbi
562
564
  - rbi/increase/models/event_list_params.rbi
563
565
  - rbi/increase/models/event_retrieve_params.rbi
@@ -941,6 +943,7 @@ files:
941
943
  - sig/increase/models/entity_update_address_params.rbs
942
944
  - sig/increase/models/entity_update_beneficial_owner_address_params.rbs
943
945
  - sig/increase/models/entity_update_industry_code_params.rbs
946
+ - sig/increase/models/entity_update_params.rbs
944
947
  - sig/increase/models/event.rbs
945
948
  - sig/increase/models/event_list_params.rbs
946
949
  - sig/increase/models/event_retrieve_params.rbs