increase 1.312.0 → 1.314.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2782e2fd1c73102681a3bbb623c1c0b7758a7a3f74af2fe64cbf922604c67c97
4
- data.tar.gz: 00b804b7e40057aea878ee32c60398baf510f467c646b549a212262e32fbde5e
3
+ metadata.gz: e55aa79f2953937e96e59bbdd7a12c4548824872f68ad8d4f9411b742701c87b
4
+ data.tar.gz: 90877136d3ea16e22707d2797d2d8053b6a2b7f5e1a412641ac4506cca8b7635
5
5
  SHA512:
6
- metadata.gz: c45258decb50839c0cc74decb1d94c525ffb10978ae5cc52c3b687328a009bb7eb313c76fc25874687d795e4146b9e48fb79eaf85b94db4f9520ff78bcc17d29
7
- data.tar.gz: e91c883e393031d836a33a3d2bfb984a3c99bcb2d3f9b4032a790d5e28459412b3313921dd576d30649ebc69cf4514dc3663cdcebc87eba196b626f5b8aedace
6
+ metadata.gz: 9f05af3d4f8ab65b5bc1e6c62f5b5d4ff99fc7f7659af5eceb8275b33bd91d84c01248cab3ccb72758e8860dd3fb3096425f58bfbb497e72221f24c38111bbb0
7
+ data.tar.gz: 44787bf6fa5d1db649dc2a417a6e60a56b8d9b634b15b66642071bbd66712cb8bd433eb13846937c82cf4672a45465fc1c06ed7d2630db795355b5989c5f0208
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.314.0 (2026-05-01)
4
+
5
+ Full Changelog: [v1.313.0...v1.314.0](https://github.com/Increase/increase-ruby/compare/v1.313.0...v1.314.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([df045c6](https://github.com/Increase/increase-ruby/commit/df045c6966ec939d85b180f7de21b712bf52fc4f))
10
+ * **api:** api update ([bb71bdb](https://github.com/Increase/increase-ruby/commit/bb71bdb0c9b4fd386aff1f14a91990dbf0f79790))
11
+
12
+ ## 1.313.0 (2026-04-30)
13
+
14
+ Full Changelog: [v1.312.0...v1.313.0](https://github.com/Increase/increase-ruby/compare/v1.312.0...v1.313.0)
15
+
16
+ ### Features
17
+
18
+ * **api:** api update ([be3412f](https://github.com/Increase/increase-ruby/commit/be3412f1d7174d2e204d880a03bad033596a5b67))
19
+
3
20
  ## 1.312.0 (2026-04-30)
4
21
 
5
22
  Full Changelog: [v1.311.0...v1.312.0](https://github.com/Increase/increase-ruby/compare/v1.311.0...v1.312.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.312.0"
18
+ gem "increase", "~> 1.314.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -71,12 +71,12 @@ module Increase
71
71
  # @return [Increase::Resources::ACHTransfers]
72
72
  attr_reader :ach_transfers
73
73
 
74
- # @return [Increase::Resources::ACHPrenotifications]
75
- attr_reader :ach_prenotifications
76
-
77
74
  # @return [Increase::Resources::InboundACHTransfers]
78
75
  attr_reader :inbound_ach_transfers
79
76
 
77
+ # @return [Increase::Resources::ACHPrenotifications]
78
+ attr_reader :ach_prenotifications
79
+
80
80
  # @return [Increase::Resources::WireTransfers]
81
81
  attr_reader :wire_transfers
82
82
 
@@ -292,8 +292,8 @@ module Increase
292
292
  @pending_transactions = Increase::Resources::PendingTransactions.new(client: self)
293
293
  @declined_transactions = Increase::Resources::DeclinedTransactions.new(client: self)
294
294
  @ach_transfers = Increase::Resources::ACHTransfers.new(client: self)
295
- @ach_prenotifications = Increase::Resources::ACHPrenotifications.new(client: self)
296
295
  @inbound_ach_transfers = Increase::Resources::InboundACHTransfers.new(client: self)
296
+ @ach_prenotifications = Increase::Resources::ACHPrenotifications.new(client: self)
297
297
  @wire_transfers = Increase::Resources::WireTransfers.new(client: self)
298
298
  @inbound_wire_transfers = Increase::Resources::InboundWireTransfers.new(client: self)
299
299
  @wire_drawdown_requests = Increase::Resources::WireDrawdownRequests.new(client: self)
@@ -0,0 +1,91 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ module Simulations
6
+ # @see Increase::Resources::Simulations::Entities#validation
7
+ class EntityValidationParams < Increase::Internal::Type::BaseModel
8
+ extend Increase::Internal::Type::RequestParameters::Converter
9
+ include Increase::Internal::Type::RequestParameters
10
+
11
+ # @!attribute entity_id
12
+ # The identifier of the Entity to set the validation on.
13
+ #
14
+ # @return [String]
15
+ required :entity_id, String
16
+
17
+ # @!attribute issues
18
+ # The issues to attach to the new managed compliance validation.
19
+ #
20
+ # @return [Array<Increase::Models::Simulations::EntityValidationParams::Issue>]
21
+ required :issues,
22
+ -> { Increase::Internal::Type::ArrayOf[Increase::Simulations::EntityValidationParams::Issue] }
23
+
24
+ # @!attribute status
25
+ # The status to set on the new managed compliance validation.
26
+ #
27
+ # @return [Symbol, Increase::Models::Simulations::EntityValidationParams::Status]
28
+ required :status, enum: -> { Increase::Simulations::EntityValidationParams::Status }
29
+
30
+ # @!method initialize(entity_id:, issues:, status:, request_options: {})
31
+ # @param entity_id [String] The identifier of the Entity to set the validation on.
32
+ #
33
+ # @param issues [Array<Increase::Models::Simulations::EntityValidationParams::Issue>] The issues to attach to the new managed compliance validation.
34
+ #
35
+ # @param status [Symbol, Increase::Models::Simulations::EntityValidationParams::Status] The status to set on the new managed compliance validation.
36
+ #
37
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
38
+
39
+ class Issue < Increase::Internal::Type::BaseModel
40
+ # @!attribute category
41
+ # The category of the issue.
42
+ #
43
+ # @return [Symbol, Increase::Models::Simulations::EntityValidationParams::Issue::Category]
44
+ required :category, enum: -> { Increase::Simulations::EntityValidationParams::Issue::Category }
45
+
46
+ # @!method initialize(category:)
47
+ # @param category [Symbol, Increase::Models::Simulations::EntityValidationParams::Issue::Category] The category of the issue.
48
+
49
+ # The category of the issue.
50
+ #
51
+ # @see Increase::Models::Simulations::EntityValidationParams::Issue#category
52
+ module Category
53
+ extend Increase::Internal::Type::Enum
54
+
55
+ # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
56
+ ENTITY_TAX_IDENTIFIER = :entity_tax_identifier
57
+
58
+ # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
59
+ ENTITY_ADDRESS = :entity_address
60
+
61
+ # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
62
+ BENEFICIAL_OWNER_IDENTITY = :beneficial_owner_identity
63
+
64
+ # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
65
+ BENEFICIAL_OWNER_ADDRESS = :beneficial_owner_address
66
+
67
+ # @!method self.values
68
+ # @return [Array<Symbol>]
69
+ end
70
+ end
71
+
72
+ # The status to set on the new managed compliance validation.
73
+ module Status
74
+ extend Increase::Internal::Type::Enum
75
+
76
+ # The submitted data is valid.
77
+ VALID = :valid
78
+
79
+ # Additional information is required to validate the data.
80
+ INVALID = :invalid
81
+
82
+ # The submitted data is being validated.
83
+ PENDING = :pending
84
+
85
+ # @!method self.values
86
+ # @return [Array<Symbol>]
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Resources
5
+ class Simulations
6
+ class Entities
7
+ # Set the status for an
8
+ # [Entity's validation](/documentation/api/entities#entity-object.validation). In
9
+ # production, Know Your Customer validations
10
+ # [run automatically](/documentation/entity-validation#entity-validation). While
11
+ # developing, it can be helpful to override the behavior in Sandbox.
12
+ #
13
+ # @overload validation(entity_id, issues:, status:, request_options: {})
14
+ #
15
+ # @param entity_id [String] The identifier of the Entity to set the validation on.
16
+ #
17
+ # @param issues [Array<Increase::Models::Simulations::EntityValidationParams::Issue>] The issues to attach to the new managed compliance validation.
18
+ #
19
+ # @param status [Symbol, Increase::Models::Simulations::EntityValidationParams::Status] The status to set on the new managed compliance validation.
20
+ #
21
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
22
+ #
23
+ # @return [Increase::Models::Entity]
24
+ #
25
+ # @see Increase::Models::Simulations::EntityValidationParams
26
+ def validation(entity_id, params)
27
+ parsed, options = Increase::Simulations::EntityValidationParams.dump_request(params)
28
+ @client.request(
29
+ method: :post,
30
+ path: ["simulations/entities/%1$s/validation", entity_id],
31
+ body: parsed,
32
+ model: Increase::Entity,
33
+ options: options
34
+ )
35
+ end
36
+
37
+ # @api private
38
+ #
39
+ # @param client [Increase::Client]
40
+ def initialize(client:)
41
+ @client = client
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -90,6 +90,9 @@ module Increase
90
90
  # @return [Increase::Resources::Simulations::InboundMailItems]
91
91
  attr_reader :inbound_mail_items
92
92
 
93
+ # @return [Increase::Resources::Simulations::Entities]
94
+ attr_reader :entities
95
+
93
96
  # @return [Increase::Resources::Simulations::EntityOnboardingSessions]
94
97
  attr_reader :entity_onboarding_sessions
95
98
 
@@ -145,6 +148,7 @@ module Increase
145
148
  @inbound_fednow_transfers = Increase::Resources::Simulations::InboundFednowTransfers.new(client: client)
146
149
  @check_deposits = Increase::Resources::Simulations::CheckDeposits.new(client: client)
147
150
  @inbound_mail_items = Increase::Resources::Simulations::InboundMailItems.new(client: client)
151
+ @entities = Increase::Resources::Simulations::Entities.new(client: client)
148
152
  @entity_onboarding_sessions =
149
153
  Increase::Resources::Simulations::EntityOnboardingSessions.new(client: client)
150
154
  @programs = Increase::Resources::Simulations::Programs.new(client: client)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.312.0"
4
+ VERSION = "1.314.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -314,6 +314,7 @@ require_relative "increase/models/simulations/check_transfer_mail_params"
314
314
  require_relative "increase/models/simulations/digital_wallet_token_request_create_params"
315
315
  require_relative "increase/models/simulations/digital_wallet_token_request_create_response"
316
316
  require_relative "increase/models/simulations/entity_onboarding_session_submit_params"
317
+ require_relative "increase/models/simulations/entity_validation_params"
317
318
  require_relative "increase/models/simulations/export_create_params"
318
319
  require_relative "increase/models/simulations/inbound_ach_transfer_create_params"
319
320
  require_relative "increase/models/simulations/inbound_check_deposit_adjustment_params"
@@ -426,6 +427,7 @@ require_relative "increase/resources/simulations/card_tokens"
426
427
  require_relative "increase/resources/simulations/check_deposits"
427
428
  require_relative "increase/resources/simulations/check_transfers"
428
429
  require_relative "increase/resources/simulations/digital_wallet_token_requests"
430
+ require_relative "increase/resources/simulations/entities"
429
431
  require_relative "increase/resources/simulations/entity_onboarding_sessions"
430
432
  require_relative "increase/resources/simulations/exports"
431
433
  require_relative "increase/resources/simulations/inbound_ach_transfers"
@@ -70,12 +70,12 @@ module Increase
70
70
  sig { returns(Increase::Resources::ACHTransfers) }
71
71
  attr_reader :ach_transfers
72
72
 
73
- sig { returns(Increase::Resources::ACHPrenotifications) }
74
- attr_reader :ach_prenotifications
75
-
76
73
  sig { returns(Increase::Resources::InboundACHTransfers) }
77
74
  attr_reader :inbound_ach_transfers
78
75
 
76
+ sig { returns(Increase::Resources::ACHPrenotifications) }
77
+ attr_reader :ach_prenotifications
78
+
79
79
  sig { returns(Increase::Resources::WireTransfers) }
80
80
  attr_reader :wire_transfers
81
81
 
@@ -0,0 +1,216 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ module Simulations
6
+ class EntityValidationParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ OrHash =
11
+ T.type_alias do
12
+ T.any(
13
+ Increase::Simulations::EntityValidationParams,
14
+ Increase::Internal::AnyHash
15
+ )
16
+ end
17
+
18
+ # The identifier of the Entity to set the validation on.
19
+ sig { returns(String) }
20
+ attr_accessor :entity_id
21
+
22
+ # The issues to attach to the new managed compliance validation.
23
+ sig do
24
+ returns(
25
+ T::Array[Increase::Simulations::EntityValidationParams::Issue]
26
+ )
27
+ end
28
+ attr_accessor :issues
29
+
30
+ # The status to set on the new managed compliance validation.
31
+ sig do
32
+ returns(
33
+ Increase::Simulations::EntityValidationParams::Status::OrSymbol
34
+ )
35
+ end
36
+ attr_accessor :status
37
+
38
+ sig do
39
+ params(
40
+ entity_id: String,
41
+ issues:
42
+ T::Array[
43
+ Increase::Simulations::EntityValidationParams::Issue::OrHash
44
+ ],
45
+ status:
46
+ Increase::Simulations::EntityValidationParams::Status::OrSymbol,
47
+ request_options: Increase::RequestOptions::OrHash
48
+ ).returns(T.attached_class)
49
+ end
50
+ def self.new(
51
+ # The identifier of the Entity to set the validation on.
52
+ entity_id:,
53
+ # The issues to attach to the new managed compliance validation.
54
+ issues:,
55
+ # The status to set on the new managed compliance validation.
56
+ status:,
57
+ request_options: {}
58
+ )
59
+ end
60
+
61
+ sig do
62
+ override.returns(
63
+ {
64
+ entity_id: String,
65
+ issues:
66
+ T::Array[Increase::Simulations::EntityValidationParams::Issue],
67
+ status:
68
+ Increase::Simulations::EntityValidationParams::Status::OrSymbol,
69
+ request_options: Increase::RequestOptions
70
+ }
71
+ )
72
+ end
73
+ def to_hash
74
+ end
75
+
76
+ class Issue < Increase::Internal::Type::BaseModel
77
+ OrHash =
78
+ T.type_alias do
79
+ T.any(
80
+ Increase::Simulations::EntityValidationParams::Issue,
81
+ Increase::Internal::AnyHash
82
+ )
83
+ end
84
+
85
+ # The category of the issue.
86
+ sig do
87
+ returns(
88
+ Increase::Simulations::EntityValidationParams::Issue::Category::OrSymbol
89
+ )
90
+ end
91
+ attr_accessor :category
92
+
93
+ sig do
94
+ params(
95
+ category:
96
+ Increase::Simulations::EntityValidationParams::Issue::Category::OrSymbol
97
+ ).returns(T.attached_class)
98
+ end
99
+ def self.new(
100
+ # The category of the issue.
101
+ category:
102
+ )
103
+ end
104
+
105
+ sig do
106
+ override.returns(
107
+ {
108
+ category:
109
+ Increase::Simulations::EntityValidationParams::Issue::Category::OrSymbol
110
+ }
111
+ )
112
+ end
113
+ def to_hash
114
+ end
115
+
116
+ # The category of the issue.
117
+ module Category
118
+ extend Increase::Internal::Type::Enum
119
+
120
+ TaggedSymbol =
121
+ T.type_alias do
122
+ T.all(
123
+ Symbol,
124
+ Increase::Simulations::EntityValidationParams::Issue::Category
125
+ )
126
+ end
127
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
128
+
129
+ # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
130
+ ENTITY_TAX_IDENTIFIER =
131
+ T.let(
132
+ :entity_tax_identifier,
133
+ Increase::Simulations::EntityValidationParams::Issue::Category::TaggedSymbol
134
+ )
135
+
136
+ # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
137
+ ENTITY_ADDRESS =
138
+ T.let(
139
+ :entity_address,
140
+ Increase::Simulations::EntityValidationParams::Issue::Category::TaggedSymbol
141
+ )
142
+
143
+ # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
144
+ BENEFICIAL_OWNER_IDENTITY =
145
+ T.let(
146
+ :beneficial_owner_identity,
147
+ Increase::Simulations::EntityValidationParams::Issue::Category::TaggedSymbol
148
+ )
149
+
150
+ # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
151
+ BENEFICIAL_OWNER_ADDRESS =
152
+ T.let(
153
+ :beneficial_owner_address,
154
+ Increase::Simulations::EntityValidationParams::Issue::Category::TaggedSymbol
155
+ )
156
+
157
+ sig do
158
+ override.returns(
159
+ T::Array[
160
+ Increase::Simulations::EntityValidationParams::Issue::Category::TaggedSymbol
161
+ ]
162
+ )
163
+ end
164
+ def self.values
165
+ end
166
+ end
167
+ end
168
+
169
+ # The status to set on the new managed compliance validation.
170
+ module Status
171
+ extend Increase::Internal::Type::Enum
172
+
173
+ TaggedSymbol =
174
+ T.type_alias do
175
+ T.all(
176
+ Symbol,
177
+ Increase::Simulations::EntityValidationParams::Status
178
+ )
179
+ end
180
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
181
+
182
+ # The submitted data is valid.
183
+ VALID =
184
+ T.let(
185
+ :valid,
186
+ Increase::Simulations::EntityValidationParams::Status::TaggedSymbol
187
+ )
188
+
189
+ # Additional information is required to validate the data.
190
+ INVALID =
191
+ T.let(
192
+ :invalid,
193
+ Increase::Simulations::EntityValidationParams::Status::TaggedSymbol
194
+ )
195
+
196
+ # The submitted data is being validated.
197
+ PENDING =
198
+ T.let(
199
+ :pending,
200
+ Increase::Simulations::EntityValidationParams::Status::TaggedSymbol
201
+ )
202
+
203
+ sig do
204
+ override.returns(
205
+ T::Array[
206
+ Increase::Simulations::EntityValidationParams::Status::TaggedSymbol
207
+ ]
208
+ )
209
+ end
210
+ def self.values
211
+ end
212
+ end
213
+ end
214
+ end
215
+ end
216
+ end
@@ -0,0 +1,42 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Resources
5
+ class Simulations
6
+ class Entities
7
+ # Set the status for an
8
+ # [Entity's validation](/documentation/api/entities#entity-object.validation). In
9
+ # production, Know Your Customer validations
10
+ # [run automatically](/documentation/entity-validation#entity-validation). While
11
+ # developing, it can be helpful to override the behavior in Sandbox.
12
+ sig do
13
+ params(
14
+ entity_id: String,
15
+ issues:
16
+ T::Array[
17
+ Increase::Simulations::EntityValidationParams::Issue::OrHash
18
+ ],
19
+ status:
20
+ Increase::Simulations::EntityValidationParams::Status::OrSymbol,
21
+ request_options: Increase::RequestOptions::OrHash
22
+ ).returns(Increase::Entity)
23
+ end
24
+ def validation(
25
+ # The identifier of the Entity to set the validation on.
26
+ entity_id,
27
+ # The issues to attach to the new managed compliance validation.
28
+ issues:,
29
+ # The status to set on the new managed compliance validation.
30
+ status:,
31
+ request_options: {}
32
+ )
33
+ end
34
+
35
+ # @api private
36
+ sig { params(client: Increase::Client).returns(T.attached_class) }
37
+ def self.new(client:)
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -102,6 +102,9 @@ module Increase
102
102
  sig { returns(Increase::Resources::Simulations::InboundMailItems) }
103
103
  attr_reader :inbound_mail_items
104
104
 
105
+ sig { returns(Increase::Resources::Simulations::Entities) }
106
+ attr_reader :entities
107
+
105
108
  sig do
106
109
  returns(Increase::Resources::Simulations::EntityOnboardingSessions)
107
110
  end
@@ -47,10 +47,10 @@ module Increase
47
47
 
48
48
  attr_reader ach_transfers: Increase::Resources::ACHTransfers
49
49
 
50
- attr_reader ach_prenotifications: Increase::Resources::ACHPrenotifications
51
-
52
50
  attr_reader inbound_ach_transfers: Increase::Resources::InboundACHTransfers
53
51
 
52
+ attr_reader ach_prenotifications: Increase::Resources::ACHPrenotifications
53
+
54
54
  attr_reader wire_transfers: Increase::Resources::WireTransfers
55
55
 
56
56
  attr_reader inbound_wire_transfers: Increase::Resources::InboundWireTransfers
@@ -0,0 +1,96 @@
1
+ module Increase
2
+ module Models
3
+ module Simulations
4
+ type entity_validation_params =
5
+ {
6
+ entity_id: String,
7
+ issues: ::Array[Increase::Simulations::EntityValidationParams::Issue],
8
+ status: Increase::Models::Simulations::EntityValidationParams::status
9
+ }
10
+ & Increase::Internal::Type::request_parameters
11
+
12
+ class EntityValidationParams < Increase::Internal::Type::BaseModel
13
+ extend Increase::Internal::Type::RequestParameters::Converter
14
+ include Increase::Internal::Type::RequestParameters
15
+
16
+ attr_accessor entity_id: String
17
+
18
+ attr_accessor issues: ::Array[Increase::Simulations::EntityValidationParams::Issue]
19
+
20
+ attr_accessor status: Increase::Models::Simulations::EntityValidationParams::status
21
+
22
+ def initialize: (
23
+ entity_id: String,
24
+ issues: ::Array[Increase::Simulations::EntityValidationParams::Issue],
25
+ status: Increase::Models::Simulations::EntityValidationParams::status,
26
+ ?request_options: Increase::request_opts
27
+ ) -> void
28
+
29
+ def to_hash: -> {
30
+ entity_id: String,
31
+ issues: ::Array[Increase::Simulations::EntityValidationParams::Issue],
32
+ status: Increase::Models::Simulations::EntityValidationParams::status,
33
+ request_options: Increase::RequestOptions
34
+ }
35
+
36
+ type issue =
37
+ {
38
+ category: Increase::Models::Simulations::EntityValidationParams::Issue::category
39
+ }
40
+
41
+ class Issue < Increase::Internal::Type::BaseModel
42
+ attr_accessor category: Increase::Models::Simulations::EntityValidationParams::Issue::category
43
+
44
+ def initialize: (
45
+ category: Increase::Models::Simulations::EntityValidationParams::Issue::category
46
+ ) -> void
47
+
48
+ def to_hash: -> {
49
+ category: Increase::Models::Simulations::EntityValidationParams::Issue::category
50
+ }
51
+
52
+ type category =
53
+ :entity_tax_identifier
54
+ | :entity_address
55
+ | :beneficial_owner_identity
56
+ | :beneficial_owner_address
57
+
58
+ module Category
59
+ extend Increase::Internal::Type::Enum
60
+
61
+ # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
62
+ ENTITY_TAX_IDENTIFIER: :entity_tax_identifier
63
+
64
+ # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
65
+ ENTITY_ADDRESS: :entity_address
66
+
67
+ # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
68
+ BENEFICIAL_OWNER_IDENTITY: :beneficial_owner_identity
69
+
70
+ # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
71
+ BENEFICIAL_OWNER_ADDRESS: :beneficial_owner_address
72
+
73
+ def self?.values: -> ::Array[Increase::Models::Simulations::EntityValidationParams::Issue::category]
74
+ end
75
+ end
76
+
77
+ type status = :valid | :invalid | :pending
78
+
79
+ module Status
80
+ extend Increase::Internal::Type::Enum
81
+
82
+ # The submitted data is valid.
83
+ VALID: :valid
84
+
85
+ # Additional information is required to validate the data.
86
+ INVALID: :invalid
87
+
88
+ # The submitted data is being validated.
89
+ PENDING: :pending
90
+
91
+ def self?.values: -> ::Array[Increase::Models::Simulations::EntityValidationParams::status]
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end
@@ -0,0 +1,16 @@
1
+ module Increase
2
+ module Resources
3
+ class Simulations
4
+ class Entities
5
+ def validation: (
6
+ String entity_id,
7
+ issues: ::Array[Increase::Simulations::EntityValidationParams::Issue],
8
+ status: Increase::Models::Simulations::EntityValidationParams::status,
9
+ ?request_options: Increase::request_opts
10
+ ) -> Increase::Entity
11
+
12
+ def initialize: (client: Increase::Client) -> void
13
+ end
14
+ end
15
+ end
16
+ end
@@ -59,6 +59,8 @@ module Increase
59
59
 
60
60
  attr_reader inbound_mail_items: Increase::Resources::Simulations::InboundMailItems
61
61
 
62
+ attr_reader entities: Increase::Resources::Simulations::Entities
63
+
62
64
  attr_reader entity_onboarding_sessions: Increase::Resources::Simulations::EntityOnboardingSessions
63
65
 
64
66
  attr_reader programs: Increase::Resources::Simulations::Programs
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.312.0
4
+ version: 1.314.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-04-30 00:00:00.000000000 Z
11
+ date: 2026-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi
@@ -344,6 +344,7 @@ files:
344
344
  - lib/increase/models/simulations/digital_wallet_token_request_create_params.rb
345
345
  - lib/increase/models/simulations/digital_wallet_token_request_create_response.rb
346
346
  - lib/increase/models/simulations/entity_onboarding_session_submit_params.rb
347
+ - lib/increase/models/simulations/entity_validation_params.rb
347
348
  - lib/increase/models/simulations/export_create_params.rb
348
349
  - lib/increase/models/simulations/inbound_ach_transfer_create_params.rb
349
350
  - lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb
@@ -456,6 +457,7 @@ files:
456
457
  - lib/increase/resources/simulations/check_deposits.rb
457
458
  - lib/increase/resources/simulations/check_transfers.rb
458
459
  - lib/increase/resources/simulations/digital_wallet_token_requests.rb
460
+ - lib/increase/resources/simulations/entities.rb
459
461
  - lib/increase/resources/simulations/entity_onboarding_sessions.rb
460
462
  - lib/increase/resources/simulations/exports.rb
461
463
  - lib/increase/resources/simulations/inbound_ach_transfers.rb
@@ -759,6 +761,7 @@ files:
759
761
  - rbi/increase/models/simulations/digital_wallet_token_request_create_params.rbi
760
762
  - rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi
761
763
  - rbi/increase/models/simulations/entity_onboarding_session_submit_params.rbi
764
+ - rbi/increase/models/simulations/entity_validation_params.rbi
762
765
  - rbi/increase/models/simulations/export_create_params.rbi
763
766
  - rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi
764
767
  - rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi
@@ -871,6 +874,7 @@ files:
871
874
  - rbi/increase/resources/simulations/check_deposits.rbi
872
875
  - rbi/increase/resources/simulations/check_transfers.rbi
873
876
  - rbi/increase/resources/simulations/digital_wallet_token_requests.rbi
877
+ - rbi/increase/resources/simulations/entities.rbi
874
878
  - rbi/increase/resources/simulations/entity_onboarding_sessions.rbi
875
879
  - rbi/increase/resources/simulations/exports.rbi
876
880
  - rbi/increase/resources/simulations/inbound_ach_transfers.rbi
@@ -1173,6 +1177,7 @@ files:
1173
1177
  - sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs
1174
1178
  - sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs
1175
1179
  - sig/increase/models/simulations/entity_onboarding_session_submit_params.rbs
1180
+ - sig/increase/models/simulations/entity_validation_params.rbs
1176
1181
  - sig/increase/models/simulations/export_create_params.rbs
1177
1182
  - sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs
1178
1183
  - sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs
@@ -1285,6 +1290,7 @@ files:
1285
1290
  - sig/increase/resources/simulations/check_deposits.rbs
1286
1291
  - sig/increase/resources/simulations/check_transfers.rbs
1287
1292
  - sig/increase/resources/simulations/digital_wallet_token_requests.rbs
1293
+ - sig/increase/resources/simulations/entities.rbs
1288
1294
  - sig/increase/resources/simulations/entity_onboarding_sessions.rbs
1289
1295
  - sig/increase/resources/simulations/exports.rbs
1290
1296
  - sig/increase/resources/simulations/inbound_ach_transfers.rbs