increase 1.62.0 → 1.64.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.
@@ -71,6 +71,18 @@ module Increase
71
71
  end
72
72
  attr_writer :natural_person
73
73
 
74
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
75
+ # such as money laundering.
76
+ sig { returns(T.nilable(Increase::EntityCreateParams::RiskRating)) }
77
+ attr_reader :risk_rating
78
+
79
+ sig do
80
+ params(
81
+ risk_rating: Increase::EntityCreateParams::RiskRating::OrHash
82
+ ).void
83
+ end
84
+ attr_writer :risk_rating
85
+
74
86
  # Additional documentation associated with the entity.
75
87
  sig do
76
88
  returns(
@@ -121,6 +133,7 @@ module Increase
121
133
  Increase::EntityCreateParams::GovernmentAuthority::OrHash,
122
134
  joint: Increase::EntityCreateParams::Joint::OrHash,
123
135
  natural_person: Increase::EntityCreateParams::NaturalPerson::OrHash,
136
+ risk_rating: Increase::EntityCreateParams::RiskRating::OrHash,
124
137
  supplemental_documents:
125
138
  T::Array[
126
139
  Increase::EntityCreateParams::SupplementalDocument::OrHash
@@ -150,6 +163,9 @@ module Increase
150
163
  # `social_security_number` or `individual_taxpayer_identification_number`
151
164
  # identification methods.
152
165
  natural_person: nil,
166
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
167
+ # such as money laundering.
168
+ risk_rating: nil,
153
169
  # Additional documentation associated with the entity.
154
170
  supplemental_documents: nil,
155
171
  # A reference to data stored in a third-party verification service. Your
@@ -172,6 +188,7 @@ module Increase
172
188
  Increase::EntityCreateParams::GovernmentAuthority,
173
189
  joint: Increase::EntityCreateParams::Joint,
174
190
  natural_person: Increase::EntityCreateParams::NaturalPerson,
191
+ risk_rating: Increase::EntityCreateParams::RiskRating,
175
192
  supplemental_documents:
176
193
  T::Array[Increase::EntityCreateParams::SupplementalDocument],
177
194
  third_party_verification:
@@ -2630,6 +2647,97 @@ module Increase
2630
2647
  end
2631
2648
  end
2632
2649
 
2650
+ class RiskRating < Increase::Internal::Type::BaseModel
2651
+ OrHash =
2652
+ T.type_alias do
2653
+ T.any(
2654
+ Increase::EntityCreateParams::RiskRating,
2655
+ Increase::Internal::AnyHash
2656
+ )
2657
+ end
2658
+
2659
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
2660
+ # rating was performed.
2661
+ sig { returns(Time) }
2662
+ attr_accessor :rated_at
2663
+
2664
+ # The rating given to this entity.
2665
+ sig do
2666
+ returns(Increase::EntityCreateParams::RiskRating::Rating::OrSymbol)
2667
+ end
2668
+ attr_accessor :rating
2669
+
2670
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
2671
+ # such as money laundering.
2672
+ sig do
2673
+ params(
2674
+ rated_at: Time,
2675
+ rating: Increase::EntityCreateParams::RiskRating::Rating::OrSymbol
2676
+ ).returns(T.attached_class)
2677
+ end
2678
+ def self.new(
2679
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
2680
+ # rating was performed.
2681
+ rated_at:,
2682
+ # The rating given to this entity.
2683
+ rating:
2684
+ )
2685
+ end
2686
+
2687
+ sig do
2688
+ override.returns(
2689
+ {
2690
+ rated_at: Time,
2691
+ rating: Increase::EntityCreateParams::RiskRating::Rating::OrSymbol
2692
+ }
2693
+ )
2694
+ end
2695
+ def to_hash
2696
+ end
2697
+
2698
+ # The rating given to this entity.
2699
+ module Rating
2700
+ extend Increase::Internal::Type::Enum
2701
+
2702
+ TaggedSymbol =
2703
+ T.type_alias do
2704
+ T.all(Symbol, Increase::EntityCreateParams::RiskRating::Rating)
2705
+ end
2706
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2707
+
2708
+ # Low
2709
+ LOW =
2710
+ T.let(
2711
+ :low,
2712
+ Increase::EntityCreateParams::RiskRating::Rating::TaggedSymbol
2713
+ )
2714
+
2715
+ # Medium
2716
+ MEDIUM =
2717
+ T.let(
2718
+ :medium,
2719
+ Increase::EntityCreateParams::RiskRating::Rating::TaggedSymbol
2720
+ )
2721
+
2722
+ # High
2723
+ HIGH =
2724
+ T.let(
2725
+ :high,
2726
+ Increase::EntityCreateParams::RiskRating::Rating::TaggedSymbol
2727
+ )
2728
+
2729
+ sig do
2730
+ override.returns(
2731
+ T::Array[
2732
+ Increase::EntityCreateParams::RiskRating::Rating::TaggedSymbol
2733
+ ]
2734
+ )
2735
+ end
2736
+ def self.values
2737
+ end
2738
+ end
2739
+ end
2740
+
2633
2741
  class SupplementalDocument < Increase::Internal::Type::BaseModel
2634
2742
  OrHash =
2635
2743
  T.type_alias do
@@ -0,0 +1,261 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class EntityUpdateParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(Increase::EntityUpdateParams, Increase::Internal::AnyHash)
12
+ end
13
+
14
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
15
+ # such as money laundering.
16
+ sig { returns(T.nilable(Increase::EntityUpdateParams::RiskRating)) }
17
+ attr_reader :risk_rating
18
+
19
+ sig do
20
+ params(
21
+ risk_rating: Increase::EntityUpdateParams::RiskRating::OrHash
22
+ ).void
23
+ end
24
+ attr_writer :risk_rating
25
+
26
+ # A reference to data stored in a third-party verification service. Your
27
+ # integration may or may not use this field.
28
+ sig do
29
+ returns(T.nilable(Increase::EntityUpdateParams::ThirdPartyVerification))
30
+ end
31
+ attr_reader :third_party_verification
32
+
33
+ sig do
34
+ params(
35
+ third_party_verification:
36
+ Increase::EntityUpdateParams::ThirdPartyVerification::OrHash
37
+ ).void
38
+ end
39
+ attr_writer :third_party_verification
40
+
41
+ sig do
42
+ params(
43
+ risk_rating: Increase::EntityUpdateParams::RiskRating::OrHash,
44
+ third_party_verification:
45
+ Increase::EntityUpdateParams::ThirdPartyVerification::OrHash,
46
+ request_options: Increase::RequestOptions::OrHash
47
+ ).returns(T.attached_class)
48
+ end
49
+ def self.new(
50
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
51
+ # such as money laundering.
52
+ risk_rating: nil,
53
+ # A reference to data stored in a third-party verification service. Your
54
+ # integration may or may not use this field.
55
+ third_party_verification: nil,
56
+ request_options: {}
57
+ )
58
+ end
59
+
60
+ sig do
61
+ override.returns(
62
+ {
63
+ risk_rating: Increase::EntityUpdateParams::RiskRating,
64
+ third_party_verification:
65
+ Increase::EntityUpdateParams::ThirdPartyVerification,
66
+ request_options: Increase::RequestOptions
67
+ }
68
+ )
69
+ end
70
+ def to_hash
71
+ end
72
+
73
+ class RiskRating < Increase::Internal::Type::BaseModel
74
+ OrHash =
75
+ T.type_alias do
76
+ T.any(
77
+ Increase::EntityUpdateParams::RiskRating,
78
+ Increase::Internal::AnyHash
79
+ )
80
+ end
81
+
82
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
83
+ # rating was performed.
84
+ sig { returns(Time) }
85
+ attr_accessor :rated_at
86
+
87
+ # The rating given to this entity.
88
+ sig do
89
+ returns(Increase::EntityUpdateParams::RiskRating::Rating::OrSymbol)
90
+ end
91
+ attr_accessor :rating
92
+
93
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
94
+ # such as money laundering.
95
+ sig do
96
+ params(
97
+ rated_at: Time,
98
+ rating: Increase::EntityUpdateParams::RiskRating::Rating::OrSymbol
99
+ ).returns(T.attached_class)
100
+ end
101
+ def self.new(
102
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
103
+ # rating was performed.
104
+ rated_at:,
105
+ # The rating given to this entity.
106
+ rating:
107
+ )
108
+ end
109
+
110
+ sig do
111
+ override.returns(
112
+ {
113
+ rated_at: Time,
114
+ rating: Increase::EntityUpdateParams::RiskRating::Rating::OrSymbol
115
+ }
116
+ )
117
+ end
118
+ def to_hash
119
+ end
120
+
121
+ # The rating given to this entity.
122
+ module Rating
123
+ extend Increase::Internal::Type::Enum
124
+
125
+ TaggedSymbol =
126
+ T.type_alias do
127
+ T.all(Symbol, Increase::EntityUpdateParams::RiskRating::Rating)
128
+ end
129
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
130
+
131
+ # Low
132
+ LOW =
133
+ T.let(
134
+ :low,
135
+ Increase::EntityUpdateParams::RiskRating::Rating::TaggedSymbol
136
+ )
137
+
138
+ # Medium
139
+ MEDIUM =
140
+ T.let(
141
+ :medium,
142
+ Increase::EntityUpdateParams::RiskRating::Rating::TaggedSymbol
143
+ )
144
+
145
+ # High
146
+ HIGH =
147
+ T.let(
148
+ :high,
149
+ Increase::EntityUpdateParams::RiskRating::Rating::TaggedSymbol
150
+ )
151
+
152
+ sig do
153
+ override.returns(
154
+ T::Array[
155
+ Increase::EntityUpdateParams::RiskRating::Rating::TaggedSymbol
156
+ ]
157
+ )
158
+ end
159
+ def self.values
160
+ end
161
+ end
162
+ end
163
+
164
+ class ThirdPartyVerification < Increase::Internal::Type::BaseModel
165
+ OrHash =
166
+ T.type_alias do
167
+ T.any(
168
+ Increase::EntityUpdateParams::ThirdPartyVerification,
169
+ Increase::Internal::AnyHash
170
+ )
171
+ end
172
+
173
+ # The reference identifier for the third party verification.
174
+ sig { returns(String) }
175
+ attr_accessor :reference
176
+
177
+ # The vendor that was used to perform the verification.
178
+ sig do
179
+ returns(
180
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::OrSymbol
181
+ )
182
+ end
183
+ attr_accessor :vendor
184
+
185
+ # A reference to data stored in a third-party verification service. Your
186
+ # integration may or may not use this field.
187
+ sig do
188
+ params(
189
+ reference: String,
190
+ vendor:
191
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::OrSymbol
192
+ ).returns(T.attached_class)
193
+ end
194
+ def self.new(
195
+ # The reference identifier for the third party verification.
196
+ reference:,
197
+ # The vendor that was used to perform the verification.
198
+ vendor:
199
+ )
200
+ end
201
+
202
+ sig do
203
+ override.returns(
204
+ {
205
+ reference: String,
206
+ vendor:
207
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::OrSymbol
208
+ }
209
+ )
210
+ end
211
+ def to_hash
212
+ end
213
+
214
+ # The vendor that was used to perform the verification.
215
+ module Vendor
216
+ extend Increase::Internal::Type::Enum
217
+
218
+ TaggedSymbol =
219
+ T.type_alias do
220
+ T.all(
221
+ Symbol,
222
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor
223
+ )
224
+ end
225
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
226
+
227
+ # Alloy. See https://alloy.com for more information.
228
+ ALLOY =
229
+ T.let(
230
+ :alloy,
231
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::TaggedSymbol
232
+ )
233
+
234
+ # Middesk. See https://middesk.com for more information.
235
+ MIDDESK =
236
+ T.let(
237
+ :middesk,
238
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::TaggedSymbol
239
+ )
240
+
241
+ # Oscilar. See https://oscilar.com for more information.
242
+ OSCILAR =
243
+ T.let(
244
+ :oscilar,
245
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::TaggedSymbol
246
+ )
247
+
248
+ sig do
249
+ override.returns(
250
+ T::Array[
251
+ Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::TaggedSymbol
252
+ ]
253
+ )
254
+ end
255
+ def self.values
256
+ end
257
+ end
258
+ end
259
+ end
260
+ end
261
+ end
@@ -34,6 +34,22 @@ module Increase
34
34
  sig { returns(String) }
35
35
  attr_accessor :program_id
36
36
 
37
+ # A reference ID provided by the fulfillment provider for the card stock used.
38
+ # Only used if you've ordered card stock separately.
39
+ sig { returns(T.nilable(String)) }
40
+ attr_reader :card_stock_reference
41
+
42
+ sig { params(card_stock_reference: String).void }
43
+ attr_writer :card_stock_reference
44
+
45
+ # A reference ID provided by the fulfillment provider for the carrier stock used.
46
+ # Only used if you've ordered carrier stock separately.
47
+ sig { returns(T.nilable(String)) }
48
+ attr_reader :carrier_stock_reference
49
+
50
+ sig { params(carrier_stock_reference: String).void }
51
+ attr_writer :carrier_stock_reference
52
+
37
53
  # Text printed on the front of the card. Reach out to
38
54
  # [support@increase.com](mailto:support@increase.com) for more information.
39
55
  sig do
@@ -56,6 +72,8 @@ module Increase
56
72
  description: String,
57
73
  front_image_file_id: String,
58
74
  program_id: String,
75
+ card_stock_reference: String,
76
+ carrier_stock_reference: String,
59
77
  front_text:
60
78
  Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
61
79
  request_options: Increase::RequestOptions::OrHash
@@ -72,6 +90,12 @@ module Increase
72
90
  front_image_file_id:,
73
91
  # The identifier for the Program that this Physical Card Profile falls under.
74
92
  program_id:,
93
+ # A reference ID provided by the fulfillment provider for the card stock used.
94
+ # Only used if you've ordered card stock separately.
95
+ card_stock_reference: nil,
96
+ # A reference ID provided by the fulfillment provider for the carrier stock used.
97
+ # Only used if you've ordered carrier stock separately.
98
+ carrier_stock_reference: nil,
75
99
  # Text printed on the front of the card. Reach out to
76
100
  # [support@increase.com](mailto:support@increase.com) for more information.
77
101
  front_text: nil,
@@ -87,6 +111,8 @@ module Increase
87
111
  description: String,
88
112
  front_image_file_id: String,
89
113
  program_id: String,
114
+ card_stock_reference: String,
115
+ carrier_stock_reference: String,
90
116
  front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
91
117
  request_options: Increase::RequestOptions
92
118
  }
@@ -265,6 +265,8 @@ module Increase
265
265
  EntityUpdateIndustryCodeParams =
266
266
  Increase::Models::EntityUpdateIndustryCodeParams
267
267
 
268
+ EntityUpdateParams = Increase::Models::EntityUpdateParams
269
+
268
270
  Event = Increase::Models::Event
269
271
 
270
272
  EventListParams = Increase::Models::EventListParams
@@ -13,6 +13,7 @@ module Increase
13
13
  Increase::EntityCreateParams::GovernmentAuthority::OrHash,
14
14
  joint: Increase::EntityCreateParams::Joint::OrHash,
15
15
  natural_person: Increase::EntityCreateParams::NaturalPerson::OrHash,
16
+ risk_rating: Increase::EntityCreateParams::RiskRating::OrHash,
16
17
  supplemental_documents:
17
18
  T::Array[
18
19
  Increase::EntityCreateParams::SupplementalDocument::OrHash
@@ -42,6 +43,9 @@ module Increase
42
43
  # `social_security_number` or `individual_taxpayer_identification_number`
43
44
  # identification methods.
44
45
  natural_person: nil,
46
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
47
+ # such as money laundering.
48
+ risk_rating: nil,
45
49
  # Additional documentation associated with the entity.
46
50
  supplemental_documents: nil,
47
51
  # A reference to data stored in a third-party verification service. Your
@@ -68,6 +72,29 @@ module Increase
68
72
  )
69
73
  end
70
74
 
75
+ # Update an Entity
76
+ sig do
77
+ params(
78
+ entity_id: String,
79
+ risk_rating: Increase::EntityUpdateParams::RiskRating::OrHash,
80
+ third_party_verification:
81
+ Increase::EntityUpdateParams::ThirdPartyVerification::OrHash,
82
+ request_options: Increase::RequestOptions::OrHash
83
+ ).returns(Increase::Entity)
84
+ end
85
+ def update(
86
+ # The entity identifier.
87
+ entity_id,
88
+ # An assessment of the entity’s potential risk of involvement in financial crimes,
89
+ # such as money laundering.
90
+ risk_rating: nil,
91
+ # A reference to data stored in a third-party verification service. Your
92
+ # integration may or may not use this field.
93
+ third_party_verification: nil,
94
+ request_options: {}
95
+ )
96
+ end
97
+
71
98
  # List Entities
72
99
  sig do
73
100
  params(
@@ -11,6 +11,8 @@ module Increase
11
11
  description: String,
12
12
  front_image_file_id: String,
13
13
  program_id: String,
14
+ card_stock_reference: String,
15
+ carrier_stock_reference: String,
14
16
  front_text:
15
17
  Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
16
18
  request_options: Increase::RequestOptions::OrHash
@@ -27,6 +29,12 @@ module Increase
27
29
  front_image_file_id:,
28
30
  # The identifier for the Program that this Physical Card Profile falls under.
29
31
  program_id:,
32
+ # A reference ID provided by the fulfillment provider for the card stock used.
33
+ # Only used if you've ordered card stock separately.
34
+ card_stock_reference: nil,
35
+ # A reference ID provided by the fulfillment provider for the carrier stock used.
36
+ # Only used if you've ordered carrier stock separately.
37
+ carrier_stock_reference: nil,
30
38
  # Text printed on the front of the card. Reach out to
31
39
  # [support@increase.com](mailto:support@increase.com) for more information.
32
40
  front_text: nil,
@@ -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